@teispace/next-maker 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +196 -272
- package/dist/index.js +341 -223
- package/dist/index.js.map +4 -4
- package/dist/src/commands/component.d.ts +3 -0
- package/dist/src/commands/component.d.ts.map +1 -0
- package/dist/src/commands/feature.d.ts.map +1 -1
- package/dist/src/commands/hook.d.ts +3 -0
- package/dist/src/commands/hook.d.ts.map +1 -0
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/locale.d.ts +3 -0
- package/dist/src/commands/locale.d.ts.map +1 -0
- package/dist/src/commands/page.d.ts +3 -0
- package/dist/src/commands/page.d.ts.map +1 -0
- package/dist/src/commands/service.d.ts.map +1 -1
- package/dist/src/commands/slice.d.ts.map +1 -1
- package/dist/src/config/paths.d.ts +4 -0
- package/dist/src/config/paths.d.ts.map +1 -1
- package/dist/src/detection/existence.checker.d.ts +9 -0
- package/dist/src/detection/existence.checker.d.ts.map +1 -0
- package/dist/src/detection/index.d.ts +4 -0
- package/dist/src/detection/index.d.ts.map +1 -0
- package/dist/src/{services/feature/detection.service.d.ts → detection/project.detector.d.ts} +1 -2
- package/dist/src/detection/project.detector.d.ts.map +1 -0
- package/dist/src/generators/component.generator.d.ts +9 -0
- package/dist/src/generators/component.generator.d.ts.map +1 -0
- package/dist/src/generators/crud-service.generator.d.ts +6 -0
- package/dist/src/generators/crud-service.generator.d.ts.map +1 -0
- package/dist/src/generators/feature.generator.d.ts +7 -0
- package/dist/src/generators/feature.generator.d.ts.map +1 -0
- package/dist/src/generators/hook.generator.d.ts +8 -0
- package/dist/src/generators/hook.generator.d.ts.map +1 -0
- package/dist/src/generators/index.d.ts +14 -0
- package/dist/src/generators/index.d.ts.map +1 -0
- package/dist/src/generators/locale.generator.d.ts +10 -0
- package/dist/src/generators/locale.generator.d.ts.map +1 -0
- package/dist/src/generators/page.generator.d.ts +10 -0
- package/dist/src/generators/page.generator.d.ts.map +1 -0
- package/dist/src/generators/service.generator.d.ts +6 -0
- package/dist/src/generators/service.generator.d.ts.map +1 -0
- package/dist/src/generators/slice.generator.d.ts +11 -0
- package/dist/src/generators/slice.generator.d.ts.map +1 -0
- package/dist/src/generators/templates/barrel.template.d.ts +12 -0
- package/dist/src/generators/templates/barrel.template.d.ts.map +1 -0
- package/dist/src/generators/templates/component.template.d.ts +5 -0
- package/dist/src/generators/templates/component.template.d.ts.map +1 -0
- package/dist/src/generators/templates/crud-service.template.d.ts +10 -0
- package/dist/src/generators/templates/crud-service.template.d.ts.map +1 -0
- package/dist/src/generators/templates/custom-hook.template.d.ts +5 -0
- package/dist/src/generators/templates/custom-hook.template.d.ts.map +1 -0
- package/dist/src/generators/templates/hook.template.d.ts +9 -0
- package/dist/src/generators/templates/hook.template.d.ts.map +1 -0
- package/dist/src/generators/templates/page.template.d.ts +18 -0
- package/dist/src/generators/templates/page.template.d.ts.map +1 -0
- package/dist/src/generators/templates/persist.template.d.ts +6 -0
- package/dist/src/generators/templates/persist.template.d.ts.map +1 -0
- package/dist/src/generators/templates/selectors.template.d.ts +6 -0
- package/dist/src/generators/templates/selectors.template.d.ts.map +1 -0
- package/dist/src/generators/templates/service.template.d.ts +5 -0
- package/dist/src/generators/templates/service.template.d.ts.map +1 -0
- package/dist/src/generators/templates/shared-component.template.d.ts +10 -0
- package/dist/src/generators/templates/shared-component.template.d.ts.map +1 -0
- package/dist/src/generators/templates/slice.template.d.ts +6 -0
- package/dist/src/generators/templates/slice.template.d.ts.map +1 -0
- package/dist/src/generators/templates/types.template.d.ts +5 -0
- package/dist/src/generators/templates/types.template.d.ts.map +1 -0
- package/dist/src/generators/types.d.ts +19 -0
- package/dist/src/generators/types.d.ts.map +1 -0
- package/dist/src/modifiers/api-registration.modifier.d.ts +6 -0
- package/dist/src/modifiers/api-registration.modifier.d.ts.map +1 -0
- package/dist/src/modifiers/app-paths.modifier.d.ts +5 -0
- package/dist/src/modifiers/app-paths.modifier.d.ts.map +1 -0
- package/dist/src/modifiers/crud-api-registration.modifier.d.ts +5 -0
- package/dist/src/modifiers/crud-api-registration.modifier.d.ts.map +1 -0
- package/dist/src/modifiers/helpers.d.ts +14 -0
- package/dist/src/modifiers/helpers.d.ts.map +1 -0
- package/dist/src/modifiers/index.d.ts +7 -0
- package/dist/src/modifiers/index.d.ts.map +1 -0
- package/dist/src/modifiers/root-reducer.modifier.d.ts +7 -0
- package/dist/src/modifiers/root-reducer.modifier.d.ts.map +1 -0
- package/dist/src/modifiers/translation.modifier.d.ts +5 -0
- package/dist/src/modifiers/translation.modifier.d.ts.map +1 -0
- package/dist/src/modifiers/types.d.ts +15 -0
- package/dist/src/modifiers/types.d.ts.map +1 -0
- package/dist/src/pipelines/feature.pipeline.d.ts +14 -0
- package/dist/src/pipelines/feature.pipeline.d.ts.map +1 -0
- package/dist/src/pipelines/index.d.ts +9 -0
- package/dist/src/pipelines/index.d.ts.map +1 -0
- package/dist/src/pipelines/runner.d.ts +7 -0
- package/dist/src/pipelines/runner.d.ts.map +1 -0
- package/dist/src/pipelines/service.pipeline.d.ts +8 -0
- package/dist/src/pipelines/service.pipeline.d.ts.map +1 -0
- package/dist/src/pipelines/slice.pipeline.d.ts +9 -0
- package/dist/src/pipelines/slice.pipeline.d.ts.map +1 -0
- package/dist/src/pipelines/types.d.ts +12 -0
- package/dist/src/pipelines/types.d.ts.map +1 -0
- package/dist/src/prompts/component.prompt.d.ts +6 -0
- package/dist/src/prompts/component.prompt.d.ts.map +1 -0
- package/dist/src/prompts/hook.prompt.d.ts +5 -0
- package/dist/src/prompts/hook.prompt.d.ts.map +1 -0
- package/dist/src/prompts/locale.prompt.d.ts +9 -0
- package/dist/src/prompts/locale.prompt.d.ts.map +1 -0
- package/dist/src/prompts/page.prompt.d.ts +7 -0
- package/dist/src/prompts/page.prompt.d.ts.map +1 -0
- package/dist/src/services/init/cleanup/dark-mode.cleanup.d.ts +3 -0
- package/dist/src/services/init/cleanup/dark-mode.cleanup.d.ts.map +1 -0
- package/dist/src/services/init/cleanup/http.cleanup.d.ts +3 -0
- package/dist/src/services/init/cleanup/http.cleanup.d.ts.map +1 -0
- package/dist/src/services/init/cleanup/i18n.cleanup.d.ts +3 -0
- package/dist/src/services/init/cleanup/i18n.cleanup.d.ts.map +1 -0
- package/dist/src/services/init/cleanup/index.d.ts +3 -0
- package/dist/src/services/init/cleanup/index.d.ts.map +1 -0
- package/dist/src/services/init/cleanup/misc.cleanup.d.ts +13 -0
- package/dist/src/services/init/cleanup/misc.cleanup.d.ts.map +1 -0
- package/dist/src/services/init/cleanup/redux.cleanup.d.ts +3 -0
- package/dist/src/services/init/cleanup/redux.cleanup.d.ts.map +1 -0
- package/package.json +9 -7
- package/dist/src/services/common/api-registration.service.d.ts +0 -7
- package/dist/src/services/common/api-registration.service.d.ts.map +0 -1
- package/dist/src/services/feature/detection.service.d.ts.map +0 -1
- package/dist/src/services/feature/registration.service.d.ts +0 -6
- package/dist/src/services/feature/registration.service.d.ts.map +0 -1
- package/dist/src/services/feature/templates.service.d.ts +0 -11
- package/dist/src/services/feature/templates.service.d.ts.map +0 -1
- package/dist/src/services/init/cleanup.service.d.ts +0 -3
- package/dist/src/services/init/cleanup.service.d.ts.map +0 -1
- package/dist/src/services/service/detection.service.d.ts +0 -2
- package/dist/src/services/service/detection.service.d.ts.map +0 -1
- package/dist/src/services/service/service.service.d.ts +0 -8
- package/dist/src/services/service/service.service.d.ts.map +0 -1
- package/dist/src/services/slice/detection.service.d.ts +0 -2
- package/dist/src/services/slice/detection.service.d.ts.map +0 -1
- package/dist/src/services/slice/slice.service.d.ts +0 -7
- package/dist/src/services/slice/slice.service.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/commands/component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAcpC,eAAO,MAAM,wBAAwB,GAAI,SAAS,OAAO,SAmExD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../../../src/commands/feature.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../../../src/commands/feature.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBpC,eAAO,MAAM,sBAAsB,GAAI,SAAS,OAAO,SAoEtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../src/commands/hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAYpC,eAAO,MAAM,mBAAmB,GAAI,SAAS,OAAO,SA4CnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC,eAAO,MAAM,gBAAgB,GAAI,SAAS,OAAO,SAUhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../src/commands/locale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAapC,eAAO,MAAM,qBAAqB,GAAI,SAAS,OAAO,SAsErD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../src/commands/page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBpC,eAAO,MAAM,mBAAmB,GAAI,SAAS,OAAO,SAqFnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/commands/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/commands/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAmBpC,eAAO,MAAM,sBAAsB,GAAI,SAAS,OAAO,SAkGtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../src/commands/slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../src/commands/slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBpC,eAAO,MAAM,oBAAoB,GAAI,SAAS,OAAO,SAyEpD,CAAC"}
|
|
@@ -71,5 +71,9 @@ export declare const PROJECT_PATHS: {
|
|
|
71
71
|
readonly CODE_OF_CONDUCT: "CODE_OF_CONDUCT.md";
|
|
72
72
|
readonly CONTRIBUTING: "CONTRIBUTING.md";
|
|
73
73
|
readonly SECURITY: "SECURITY.md";
|
|
74
|
+
readonly SCRIPTS_DIR: "scripts";
|
|
75
|
+
readonly DOCS_DIR: "docs";
|
|
76
|
+
readonly CLAUDE_DIR: ".claude";
|
|
77
|
+
readonly VSCODE_DIR: ".vscode";
|
|
74
78
|
};
|
|
75
79
|
//# sourceMappingURL=paths.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../src/config/paths.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../src/config/paths.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4FhB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Check if a directory exists at projectPath/basePath/name.
|
|
3
|
+
*/
|
|
4
|
+
export declare const directoryExists: (projectPath: string, name: string, basePath: string) => Promise<boolean>;
|
|
5
|
+
/**
|
|
6
|
+
* Check if a specific file exists at projectPath/basePath/fileName.
|
|
7
|
+
*/
|
|
8
|
+
export declare const fileExistsAt: (projectPath: string, basePath: string, fileName: string) => boolean;
|
|
9
|
+
//# sourceMappingURL=existence.checker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"existence.checker.d.ts","sourceRoot":"","sources":["../../../src/detection/existence.checker.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,eAAe,GAC1B,aAAa,MAAM,EACnB,MAAM,MAAM,EACZ,UAAU,MAAM,KACf,OAAO,CAAC,OAAO,CAOjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,aAAa,MAAM,EAAE,UAAU,MAAM,EAAE,UAAU,MAAM,KAAG,OAEtF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/detection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/src/{services/feature/detection.service.d.ts → detection/project.detector.d.ts}
RENAMED
|
@@ -4,5 +4,4 @@ export interface ProjectDetection {
|
|
|
4
4
|
hasI18n: boolean;
|
|
5
5
|
}
|
|
6
6
|
export declare const detectProjectSetup: (projectPath: string) => Promise<ProjectDetection>;
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=detection.service.d.ts.map
|
|
7
|
+
//# sourceMappingURL=project.detector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.detector.d.ts","sourceRoot":"","sources":["../../../src/detection/project.detector.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAChD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,GAAU,aAAa,MAAM,KAAG,OAAO,CAAC,gBAAgB,CAgDtF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface ComponentGeneratorOptions {
|
|
2
|
+
name: string;
|
|
3
|
+
projectPath: string;
|
|
4
|
+
isClient: boolean;
|
|
5
|
+
hasI18n: boolean;
|
|
6
|
+
featurePath?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const generateComponent: (options: ComponentGeneratorOptions) => Promise<void>;
|
|
9
|
+
//# sourceMappingURL=component.generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.generator.d.ts","sourceRoot":"","sources":["../../../src/generators/component.generator.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,iBAAiB,GAAU,SAAS,yBAAyB,KAAG,OAAO,CAAC,IAAI,CASxF,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ServiceGeneratorOptions } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Generate a CRUD API service file with getAll, getById, create, update, delete methods + DTO types.
|
|
4
|
+
*/
|
|
5
|
+
export declare const generateCrudService: (options: ServiceGeneratorOptions) => Promise<void>;
|
|
6
|
+
//# sourceMappingURL=crud-service.generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crud-service.generator.d.ts","sourceRoot":"","sources":["../../../src/generators/crud-service.generator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAU,SAAS,uBAAuB,KAAG,OAAO,CAAC,IAAI,CASxF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { FeatureGeneratorOptions } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Generate a complete feature module with component, hook, types,
|
|
4
|
+
* and optionally store (slice) and service sub-modules.
|
|
5
|
+
*/
|
|
6
|
+
export declare const generateFeature: (options: FeatureGeneratorOptions) => Promise<void>;
|
|
7
|
+
//# sourceMappingURL=feature.generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.generator.d.ts","sourceRoot":"","sources":["../../../src/generators/feature.generator.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAU,SAAS,uBAAuB,KAAG,OAAO,CAAC,IAAI,CA8DpF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hook.generator.d.ts","sourceRoot":"","sources":["../../../src/generators/hook.generator.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,YAAY,GAAU,SAAS,oBAAoB,KAAG,OAAO,CAAC,IAAI,CAkB9E,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { generateFeature } from './feature.generator';
|
|
2
|
+
export { generateSlice } from './slice.generator';
|
|
3
|
+
export { generateService } from './service.generator';
|
|
4
|
+
export { generateCrudService } from './crud-service.generator';
|
|
5
|
+
export { generatePage } from './page.generator';
|
|
6
|
+
export { generateComponent } from './component.generator';
|
|
7
|
+
export { generateLocale } from './locale.generator';
|
|
8
|
+
export { generateHook } from './hook.generator';
|
|
9
|
+
export type { FeatureGeneratorOptions, SliceGeneratorOptions, ServiceGeneratorOptions, } from './types';
|
|
10
|
+
export type { PageGeneratorOptions } from './page.generator';
|
|
11
|
+
export type { ComponentGeneratorOptions } from './component.generator';
|
|
12
|
+
export type { LocaleGeneratorOptions } from './locale.generator';
|
|
13
|
+
export type { HookGeneratorOptions } from './hook.generator';
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,YAAY,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AACvE,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,YAAY,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface LocaleGeneratorOptions {
|
|
2
|
+
code: string;
|
|
3
|
+
name: string;
|
|
4
|
+
country: string;
|
|
5
|
+
flag: string;
|
|
6
|
+
projectPath: string;
|
|
7
|
+
copyTranslations: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const generateLocale: (options: LocaleGeneratorOptions) => Promise<void>;
|
|
10
|
+
//# sourceMappingURL=locale.generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locale.generator.d.ts","sourceRoot":"","sources":["../../../src/generators/locale.generator.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,GAAU,SAAS,sBAAsB,KAAG,OAAO,CAAC,IAAI,CAMlF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface PageGeneratorOptions {
|
|
2
|
+
name: string;
|
|
3
|
+
projectPath: string;
|
|
4
|
+
hasI18n: boolean;
|
|
5
|
+
dynamic?: string;
|
|
6
|
+
withLoading?: boolean;
|
|
7
|
+
withError?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const generatePage: (options: PageGeneratorOptions) => Promise<void>;
|
|
10
|
+
//# sourceMappingURL=page.generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.generator.d.ts","sourceRoot":"","sources":["../../../src/generators/page.generator.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,GAAU,SAAS,oBAAoB,KAAG,OAAO,CAAC,IAAI,CAqC9E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.generator.d.ts","sourceRoot":"","sources":["../../../src/generators/service.generator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,eAAe,GAAU,SAAS,uBAAuB,KAAG,OAAO,CAAC,IAAI,CAQpF,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SliceGeneratorOptions } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Generate a complete Redux slice with types, selectors, optional persist, and barrel export.
|
|
4
|
+
*
|
|
5
|
+
* Used by both the `slice` command (standalone) and the `feature` command (embedded in feature/store/).
|
|
6
|
+
* The `typesImportPath` controls whether types are imported from `../types/` (feature) or `./` (standalone).
|
|
7
|
+
*/
|
|
8
|
+
export declare const generateSlice: (options: SliceGeneratorOptions & {
|
|
9
|
+
typesImportPath?: string;
|
|
10
|
+
}) => Promise<void>;
|
|
11
|
+
//# sourceMappingURL=slice.generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slice.generator.d.ts","sourceRoot":"","sources":["../../../src/generators/slice.generator.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GACxB,SAAS,qBAAqB,GAAG;IAAE,eAAe,CAAC,EAAE,MAAM,CAAA;CAAE,KAC5D,OAAO,CAAC,IAAI,CAkCd,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const sliceBarrelTemplate: (params: {
|
|
2
|
+
sliceName: string;
|
|
3
|
+
withPersist: boolean;
|
|
4
|
+
}) => string;
|
|
5
|
+
export declare const featureBarrelTemplate: (params: {
|
|
6
|
+
featureName: string;
|
|
7
|
+
componentName: string;
|
|
8
|
+
hookName: string;
|
|
9
|
+
withStore: boolean;
|
|
10
|
+
withService: boolean;
|
|
11
|
+
}) => string;
|
|
12
|
+
//# sourceMappingURL=barrel.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barrel.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/barrel.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,GAAI,QAAQ;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;CACtB,KAAG,MAMH,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,QAAQ;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;CACtB,KAAG,MAMH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/component.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,GAAI,QAAQ;IAAE,aAAa,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,KAAG,MAkBvF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const crudServiceTemplate: (params: {
|
|
2
|
+
camelName: string;
|
|
3
|
+
pascalName: string;
|
|
4
|
+
httpClient: "axios" | "fetch";
|
|
5
|
+
}) => string;
|
|
6
|
+
export declare const crudApiConfigTemplate: (params: {
|
|
7
|
+
camelName: string;
|
|
8
|
+
kebabName: string;
|
|
9
|
+
}) => string;
|
|
10
|
+
//# sourceMappingURL=crud-service.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crud-service.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/crud-service.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,GAAI,QAAQ;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,GAAG,OAAO,CAAC;CAC/B,KAAG,MA+CH,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,QAAQ;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,KAAG,MAUxF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-hook.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/custom-hook.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,GAAI,QAAQ;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,KAAG,MAmCpF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const hookWithStoreTemplate: (params: {
|
|
2
|
+
hookName: string;
|
|
3
|
+
componentName: string;
|
|
4
|
+
featureName: string;
|
|
5
|
+
}) => string;
|
|
6
|
+
export declare const hookWithoutStoreTemplate: (params: {
|
|
7
|
+
hookName: string;
|
|
8
|
+
}) => string;
|
|
9
|
+
//# sourceMappingURL=hook.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hook.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/hook.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,GAAI,QAAQ;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB,KAAG,MA2BH,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,KAAG,MAevE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const pageTemplate: (params: {
|
|
2
|
+
componentName: string;
|
|
3
|
+
routePath: string;
|
|
4
|
+
hasI18n: boolean;
|
|
5
|
+
}) => string;
|
|
6
|
+
export declare const dynamicPageTemplate: (params: {
|
|
7
|
+
componentName: string;
|
|
8
|
+
routePath: string;
|
|
9
|
+
paramName: string;
|
|
10
|
+
hasI18n: boolean;
|
|
11
|
+
}) => string;
|
|
12
|
+
export declare const loadingTemplate: (params: {
|
|
13
|
+
componentName: string;
|
|
14
|
+
}) => string;
|
|
15
|
+
export declare const errorTemplate: (params: {
|
|
16
|
+
componentName: string;
|
|
17
|
+
}) => string;
|
|
18
|
+
//# sourceMappingURL=page.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/page.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,GAAI,QAAQ;IACnC,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB,KAAG,MAsDH,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,QAAQ;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB,KAAG,MA8DH,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,QAAQ;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,KAAG,MASnE,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,QAAQ;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,KAAG,MAmBjE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persist.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/persist.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,GAAI,QAAQ;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;CACzB,KAAG,MAYH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectors.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/selectors.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,GAAI,QAAQ;IACxC,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,KAAG,MAOH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/service.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,GAAI,QAAQ;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,OAAO,GAAG,OAAO,CAAC;CAC/B,KAAG,MAkBH,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const sharedComponentTemplate: (params: {
|
|
2
|
+
componentName: string;
|
|
3
|
+
isClient: boolean;
|
|
4
|
+
hasI18n: boolean;
|
|
5
|
+
translationNamespace?: string;
|
|
6
|
+
}) => string;
|
|
7
|
+
export declare const componentBarrelTemplate: (params: {
|
|
8
|
+
componentName: string;
|
|
9
|
+
}) => string;
|
|
10
|
+
//# sourceMappingURL=shared-component.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-component.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/shared-component.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,GAAI,QAAQ;IAC9C,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,KAAG,MAoCH,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,QAAQ;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,KAAG,MAE3E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slice.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/slice.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,GAAI,QAAQ;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;CACzB,KAAG,MAgCH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/types.template.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,GAAI,QAAQ;IACzC,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;CACpB,KAAG,MAMH,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface SliceGeneratorOptions {
|
|
2
|
+
name: string;
|
|
3
|
+
outputPath: string;
|
|
4
|
+
persist: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface ServiceGeneratorOptions {
|
|
7
|
+
name: string;
|
|
8
|
+
outputPath: string;
|
|
9
|
+
httpClient: 'axios' | 'fetch';
|
|
10
|
+
}
|
|
11
|
+
export interface FeatureGeneratorOptions {
|
|
12
|
+
name: string;
|
|
13
|
+
outputPath: string;
|
|
14
|
+
createStore: boolean;
|
|
15
|
+
persistStore: boolean;
|
|
16
|
+
createService: boolean;
|
|
17
|
+
httpClient?: 'axios' | 'fetch';
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/generators/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,GAAG,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-registration.modifier.d.ts","sourceRoot":"","sources":["../../../src/modifiers/api-registration.modifier.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAU,SAAS,kBAAkB,KAAG,OAAO,CAAC,IAAI,CA4BpF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-paths.modifier.d.ts","sourceRoot":"","sources":["../../../src/modifiers/app-paths.modifier.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,eAAe,GAC1B,aAAa,MAAM,EACnB,WAAW,MAAM,EACjB,WAAW,MAAM,KAChB,OAAO,CAAC,IAAI,CAgBd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crud-api-registration.modifier.d.ts","sourceRoot":"","sources":["../../../src/modifiers/crud-api-registration.modifier.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,wBAAwB,GACnC,aAAa,MAAM,EACnB,aAAa,MAAM,KAClB,OAAO,CAAC,IAAI,CAmBd,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Add an import statement after the last existing import in a file.
|
|
3
|
+
* If no imports exist, prepends to the file.
|
|
4
|
+
*/
|
|
5
|
+
export declare const addImportStatement: (fileContent: string, importStatement: string) => string;
|
|
6
|
+
/**
|
|
7
|
+
* Add a reducer entry to a combineReducers({...}) call.
|
|
8
|
+
*/
|
|
9
|
+
export declare const addToCombineReducers: (fileContent: string, reducerKey: string, reducerEntry: string) => string;
|
|
10
|
+
/**
|
|
11
|
+
* Insert a new endpoint object before the closing `} as const;` of AppApis.
|
|
12
|
+
*/
|
|
13
|
+
export declare const addToAppApis: (fileContent: string, endpointBlock: string) => string;
|
|
14
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/modifiers/helpers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAAI,aAAa,MAAM,EAAE,iBAAiB,MAAM,KAAG,MAgBjF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAC/B,aAAa,MAAM,EACnB,YAAY,MAAM,EAClB,cAAc,MAAM,KACnB,MAgBF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,aAAa,MAAM,EAAE,eAAe,MAAM,KAAG,MAUzE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { registerInRootReducer } from './root-reducer.modifier';
|
|
2
|
+
export { registerApiEndpoints } from './api-registration.modifier';
|
|
3
|
+
export { registerAppPath } from './app-paths.modifier';
|
|
4
|
+
export { addTranslationNamespace } from './translation.modifier';
|
|
5
|
+
export { addImportStatement, addToCombineReducers, addToAppApis } from './helpers';
|
|
6
|
+
export type { RegisterReducerOptions, RegisterApiOptions } from './types';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modifiers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACnF,YAAY,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RegisterReducerOptions } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Register a reducer in rootReducer.ts — unified handler for both
|
|
4
|
+
* feature-embedded slices (import from /store) and standalone slices.
|
|
5
|
+
*/
|
|
6
|
+
export declare const registerInRootReducer: (options: RegisterReducerOptions) => Promise<void>;
|
|
7
|
+
//# sourceMappingURL=root-reducer.modifier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-reducer.modifier.d.ts","sourceRoot":"","sources":["../../../src/modifiers/root-reducer.modifier.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,GAAU,SAAS,sBAAsB,KAAG,OAAO,CAAC,IAAI,CAkCzF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translation.modifier.d.ts","sourceRoot":"","sources":["../../../src/modifiers/translation.modifier.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAClC,aAAa,MAAM,EACnB,WAAW,MAAM,KAChB,OAAO,CAAC,IAAI,CAed,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface ModifyFileOptions {
|
|
2
|
+
filePath: string;
|
|
3
|
+
content: string;
|
|
4
|
+
}
|
|
5
|
+
export interface RegisterReducerOptions {
|
|
6
|
+
projectPath: string;
|
|
7
|
+
name: string;
|
|
8
|
+
persist: boolean;
|
|
9
|
+
importPath: string;
|
|
10
|
+
}
|
|
11
|
+
export interface RegisterApiOptions {
|
|
12
|
+
serviceName: string;
|
|
13
|
+
projectPath: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/modifiers/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ProjectDetection } from '../detection';
|
|
2
|
+
import type { PipelineContext, PipelineStep } from './types';
|
|
3
|
+
export interface FeaturePipelineContext extends PipelineContext {
|
|
4
|
+
featureName: string;
|
|
5
|
+
basePath: string;
|
|
6
|
+
featurePath: string;
|
|
7
|
+
createStore: boolean;
|
|
8
|
+
persistStore: boolean;
|
|
9
|
+
createService: boolean;
|
|
10
|
+
httpClient?: 'axios' | 'fetch';
|
|
11
|
+
detection: ProjectDetection;
|
|
12
|
+
}
|
|
13
|
+
export declare const createFeaturePipelineSteps: () => PipelineStep<FeaturePipelineContext>[];
|
|
14
|
+
//# sourceMappingURL=feature.pipeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.pipeline.d.ts","sourceRoot":"","sources":["../../../src/pipelines/feature.pipeline.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE7D,MAAM,WAAW,sBAAuB,SAAQ,eAAe;IAC7D,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC/B,SAAS,EAAE,gBAAgB,CAAC;CAC7B;AAED,eAAO,MAAM,0BAA0B,QAAO,YAAY,CAAC,sBAAsB,CAAC,EA8CjF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { executePipeline } from './runner';
|
|
2
|
+
export { createFeaturePipelineSteps } from './feature.pipeline';
|
|
3
|
+
export { createSlicePipelineSteps } from './slice.pipeline';
|
|
4
|
+
export { createServicePipelineSteps } from './service.pipeline';
|
|
5
|
+
export type { PipelineContext, PipelineStep } from './types';
|
|
6
|
+
export type { FeaturePipelineContext } from './feature.pipeline';
|
|
7
|
+
export type { SlicePipelineContext } from './slice.pipeline';
|
|
8
|
+
export type { ServicePipelineContext } from './service.pipeline';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pipelines/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC7D,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,YAAY,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PipelineContext, PipelineStep } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Execute a sequence of pipeline steps with spinner feedback.
|
|
4
|
+
* Each step gets the shared context and reports progress via the spinner.
|
|
5
|
+
*/
|
|
6
|
+
export declare const executePipeline: <T extends PipelineContext>(steps: PipelineStep<T>[], context: T) => Promise<void>;
|
|
7
|
+
//# sourceMappingURL=runner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../../../src/pipelines/runner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAU,CAAC,SAAS,eAAe,EAC7D,OAAO,YAAY,CAAC,CAAC,CAAC,EAAE,EACxB,SAAS,CAAC,KACT,OAAO,CAAC,IAAI,CAcd,CAAC"}
|