-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from leomorpho/createRouterPkg
Create routenames pkg for better reusability
- Loading branch information
Showing
82 changed files
with
598 additions
and
622 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
package routenames | ||
|
||
const ( | ||
RouteNameForgotPassword = "forgot_password" | ||
RouteNameForgotPasswordSubmit = "forgot_password.submit" | ||
RouteNameLogin = "login" | ||
RouteNameLoginSubmit = "login.submit" | ||
RouteNameLogout = "logout" | ||
RouteNameRegister = "register" | ||
RouteNameRegisterSubmit = "register.submit" | ||
RouteNameResetPassword = "reset_password" | ||
RouteNameResetPasswordSubmit = "reset_password.submit" | ||
RouteNameVerifyEmail = "verify_email" | ||
RouteNameContact = "contact" | ||
RouteNameContactSubmit = "contact.submit" | ||
RouteNameAboutUs = "about" | ||
RouteNameLandingPage = "landing_page" | ||
RouteNamePreferences = "preferences" | ||
RouteNameGetPhone = "phone.get" | ||
RouteNameUpdatePhoneNum = "phone.save" | ||
RouteNameGetDisplayName = "display_name.get" | ||
RouteNameUpdateDisplayName = "display_name.save" | ||
RouteNameGetPhoneVerification = "phone.verification" | ||
RouteNameSubmitPhoneVerification = "phone.verification.submit" | ||
RouteNameDeleteAccountPage = "delete_account.page" | ||
RouteNameDeleteAccountRequest = "delete_account.request" | ||
RouteNamePrivacyPolicy = "privacy_policy" | ||
|
||
RouteNameHomeFeed = "home_feed" | ||
RouteNameGetHomeFeedButtons = "home_feed.buttons" | ||
RouteNameGetHomeFeedStats = "home_feed.stats" | ||
|
||
RouteNameProfile = "profile" | ||
RouteNameInstallApp = "install_app" | ||
|
||
RouteNameMarkNotificationsAsRead = "markNormalNotificationRead" | ||
RouteNameMarkAllNotificationsAsRead = "normalNotificationsMarkAllAsRead" | ||
|
||
RouteNameRealtime = "realtime" | ||
|
||
RouteNameFinishOnboarding = "finish_onboarding" | ||
RouteNameGetBio = "profileBio.get" | ||
RouteNameUpdateBio = "profileBio.post" | ||
|
||
RouteNameGetPushSubscriptions = "push_subscriptions.get" | ||
RouteNameRegisterSubscription = "notification_subscriptions.register" | ||
RouteNameDeleteSubscription = "notification_subscriptions.delete" | ||
RouteNameDeleteEmailSubscriptionWithToken = "email_subscriptions.delete_with_token" | ||
|
||
RouteNamePaymentProcessorGetPublicKey = "payment_processor.get_public_key" | ||
RouteNameCreateCheckoutSession = "stripe.create_checkout_session" | ||
RouteNameCreatePortalSession = "stripe.create_portal_session" | ||
RouteNamePaymentProcessorWebhook = "stripe.webhook" | ||
RouteNamePricingPage = "pricing_page" | ||
RouteNamePaymentProcessorSuccess = "stripe.success" | ||
|
||
// NOTE: docs route is being actively worked on. Refer to Readme for up to date documentation. | ||
RouteNameDocs = "docs" | ||
RouteNameDocsGettingStarted = "docs.getting_started" | ||
RouteNameDocsGuidedTour = "docs.guided_tour" | ||
RouteNameDocsArchitecture = "docs.architecture" | ||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.