-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(admin-ui): Allow shared & lazy UI plugins to be specified
Relates to #55
- Loading branch information
1 parent
1e41b92
commit 5daf756
Showing
10 changed files
with
101 additions
and
77 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
5 changes: 3 additions & 2 deletions
5
...i/src/app/extensions/extensions.module.ts → .../app/extensions/lazy-extensions.module.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
/** This file is generated by the createExtensionsModules() function in devkit/common.ts. Do not edit. */ | ||
import { CommonModule } from '@angular/common'; | ||
import { NgModule } from '@angular/core'; | ||
|
||
/** | ||
* This is a placeholder module for UI extensions provided by the AdminUiPlugin `extensions` option. | ||
* When the {@link compileUiExtensions} function is executed, this module gets temporarily replaced | ||
* When the {@link createExtensionsModules} function is executed, this module gets temporarily replaced | ||
* by a generated module which includes all of the configured extension modules. | ||
*/ | ||
@NgModule({ | ||
imports: [CommonModule], | ||
}) | ||
export class ExtensionsModule {} | ||
export class LazyExtensionsModule {} |
13 changes: 13 additions & 0 deletions
13
packages/admin-ui/src/app/extensions/shared-extensions.module.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** This file is generated by the createExtensionsModules() function in devkit/common.ts. Do not edit. */ | ||
import { CommonModule } from '@angular/common'; | ||
import { NgModule } from '@angular/core'; | ||
|
||
/** | ||
* This is a placeholder module for UI extensions provided by the AdminUiPlugin `extensions` option. | ||
* When the {@link createExtensionsModules} function is executed, this module gets temporarily replaced | ||
* by a generated module which includes all of the configured extension modules. | ||
*/ | ||
@NgModule({ | ||
imports: [CommonModule], | ||
}) | ||
export class SharedExtensionsModule {} |
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