-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(stark-core): avoid circular dependencies by moving state names in…
… a constants file
- Loading branch information
1 parent
8ee3938
commit abe7fe2
Showing
8 changed files
with
52 additions
and
50 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
2 changes: 1 addition & 1 deletion
2
packages/stark-core/src/modules/session/components/app-container.component.ts
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,44 @@ | ||
/** | ||
* Name of the initialization states of the application | ||
*/ | ||
export const starkAppInitStateName: string = "starkAppInit"; | ||
/** | ||
* Name of the exit states of the application | ||
*/ | ||
export const starkAppExitStateName: string = "starkAppExit"; | ||
|
||
/** | ||
* Name of the login state of the application | ||
*/ | ||
export const starkLoginStateName: string = starkAppInitStateName + ".starkLogin"; | ||
/** | ||
* URL of the login state of the application | ||
*/ | ||
export const starkLoginStateUrl: string = "/starkLogin"; | ||
|
||
/** | ||
* Name of the Preloading state of the application | ||
*/ | ||
export const starkPreloadingStateName: string = starkAppInitStateName + ".starkPreloading"; | ||
/** | ||
* URL of the Preloading state of the application | ||
*/ | ||
export const starkPreloadingStateUrl: string = "/starkPreloading"; | ||
|
||
/** | ||
* Name of the SessionExpired state of the application | ||
*/ | ||
export const starkSessionExpiredStateName: string = starkAppExitStateName + ".starkSessionExpired"; | ||
/** | ||
* URL of the SessionExpired state of the application | ||
*/ | ||
export const starkSessionExpiredStateUrl: string = "/starkSessionExpired"; | ||
|
||
/** | ||
* Name of the SessionLogout state of the application | ||
*/ | ||
export const starkSessionLogoutStateName: string = starkAppExitStateName + ".starkSessionLogout"; | ||
/** | ||
* URL of the SessionLogout state of the application | ||
*/ | ||
export const starkSessionLogoutStateUrl: string = "/starkSessionLogout"; |
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