This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(refactor): Updated folder structure and change config type for mo…
…dels to inject config token
- Loading branch information
1 parent
ea31593
commit f42ee5f
Showing
133 changed files
with
403 additions
and
483 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
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,25 @@ | ||
import { Provider } from '@angular/core'; | ||
import { CONTENT_TYPES_CONFIG_TOKEN, defaultContentTypesConfig } from './content-types.config'; | ||
import { defaultGroupsConfig, GROUP_CONFIG_TOKEN } from './groups.config'; | ||
import { defaultPermissionsConfig, PERMISSIONS_CONFIG_TOKEN } from './permissions.config'; | ||
import { defaultUsersConfig, USERS_CONFIG_TOKEN } from './users.config'; | ||
|
||
|
||
export const entitiesProviders: Provider[] = [ | ||
{ | ||
provide: CONTENT_TYPES_CONFIG_TOKEN, | ||
useValue: defaultContentTypesConfig | ||
}, | ||
{ | ||
provide: GROUP_CONFIG_TOKEN, | ||
useValue: defaultGroupsConfig | ||
}, | ||
{ | ||
provide: PERMISSIONS_CONFIG_TOKEN, | ||
useValue: defaultPermissionsConfig | ||
}, | ||
{ | ||
provide: USERS_CONFIG_TOKEN, | ||
useValue: defaultUsersConfig | ||
} | ||
]; |
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
...ore/src/lib/shared/models/content-type.ts → ...e/src/lib/entities/models/content-type.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
Oops, something went wrong.