@kosdev-code/kos-nx-plugin 2.1.3 → 2.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosdev-code/kos-nx-plugin",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "type": "commonjs",
5
5
  "generators": "./generators.json",
6
6
  "publishConfig": {
@@ -19,7 +19,7 @@
19
19
  "main": "./src/index.js",
20
20
  "kos": {
21
21
  "build": {
22
- "gitHash": "22bfa6b003918abbc473ab6b5cae1728e473a7e9"
22
+ "gitHash": "d24832f71862884b1d13ebabfb7a7e1a88713b8a"
23
23
  }
24
24
  }
25
25
  }
@@ -62,4 +62,7 @@ export class <%= nameProperCase %>ModelImpl implements IKosIdentifiable, IKosDat
62
62
 
63
63
 
64
64
  }
65
+ export const <%= nameProperCase %> = <%= nameProperCase %>ModelImpl.Registration;
65
66
 
67
+
68
+ <%= nameProperCase %>.addRelatedModel(<%= modelNameProperCase %>);
@@ -1,21 +1,13 @@
1
- // Import implementation class but don't export it directly
2
- import { <%= nameProperCase %>ModelImpl } from "./<%= nameDashCase %>-model";
3
1
 
4
- // Import container implementation class but don't export it directly
5
- import { <%= modelNameProperCase %>ModelImpl } from "./<%= modelNameDashCase %>-model";
2
+ export { <%= nameProperCase %>Model } from "./<%= nameDashCase %>-model";
3
+
4
+ export { <%= modelNameProperCase %>Model } from "./<%= modelNameDashCase %>-model";
6
5
 
7
6
  // Export types
8
7
  export type { <%= nameProperCase %>Model } from "./<%= nameDashCase %>-model";
9
8
  export type { <%= modelNameProperCase %>Model } from "./<%= modelNameDashCase %>-model";
10
9
  export type * from "./types";
11
10
 
12
- // Export Registration as the public API
13
- export const <%= nameProperCase %> = <%= nameProperCase %>ModelImpl.Registration;
14
-
15
- // Export Registration as the public API
16
- export const <%= modelNameProperCase %> = <%= modelNameProperCase %>ModelImpl.Registration;
17
-
18
11
  <% if (dataServices) { %>// Export services if configured
19
12
  export * as <%= modelNameProperCase %>Services from "./services";<% } %>
20
13
 
21
- <%= nameProperCase %>.addRelatedModel(<%= modelNameProperCase %>);
@@ -132,3 +132,5 @@ export class <%= nameProperCase %>ModelImpl implements IKosDataModel, IKosIdent
132
132
 
133
133
  }
134
134
 
135
+ export const <%= nameProperCase %> = <%= nameProperCase %>ModelImpl.Registration;
136
+
@@ -1,12 +1,9 @@
1
1
  // Import implementation class but don't export it directly
2
- import { <%= nameProperCase %>ModelImpl } from "./<%= nameDashCase %>-model";
2
+ export { <%= nameProperCase %>Model } from "./<%= nameDashCase %>-model";
3
3
 
4
4
  // Export types
5
5
  export type { <%= nameProperCase %>Model } from "./<%= nameDashCase %>-model";
6
6
  export type * from "./types";
7
7
 
8
- // Export Registration as the public API
9
- export const <%= nameProperCase %> = <%= nameProperCase %>ModelImpl.Registration;
10
-
11
8
  <% if (dataServices) { %>// Export services if configured
12
9
  export * as <%= nameProperCase %>Services from "./services";<% } %>