@ddd-tool/domain-designer-cli 0.1.0-beta.12 → 0.1.0-beta.13

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.
@@ -13529,7 +13529,7 @@ function onCancel() {
13529
13529
  // src/utils/package-info.ts
13530
13530
  var package_info_default = {
13531
13531
  "name": "@ddd-tool/domain-designer-cli",
13532
- "version": "0.1.0-beta.12",
13532
+ "version": "0.1.0-beta.13",
13533
13533
  "private": true,
13534
13534
  "type": "module",
13535
13535
  "files": [
@@ -13544,7 +13544,7 @@ var package_info_default = {
13544
13544
  },
13545
13545
  "readme": "ERROR: No README data found!",
13546
13546
  "homepage": "https://github.com/ddd-tool/domain-designer-cli-node#readme",
13547
- "_id": "@ddd-tool/domain-designer-cli@0.1.0-beta.12"
13547
+ "_id": "@ddd-tool/domain-designer-cli@0.1.0-beta.13"
13548
13548
  };
13549
13549
 
13550
13550
  // src/domain/environment-agg/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-tool/domain-designer-cli",
3
- "version": "0.1.0-beta.12",
3
+ "version": "0.1.0-beta.13",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "type": "module",
@@ -68,11 +68,11 @@ export interface DomainDesignActor extends DomainDesignObject {
68
68
  readonly note?: DomainDesignNote;
69
69
  };
70
70
  command<COMMAND extends DomainDesignCommand<any>>(command: COMMAND): COMMAND;
71
- command<G_NAME extends string, ARR extends NonEmptyArray<DomainDesignInfo<DomainDesignInfoType, G_NAME> | G_NAME>>(name: string, infos: ARR, note?: string | DomainDesignNote): DomainDesignCommand<CustomInfoArrayToInfoObject<ARR>>;
71
+ command<G_NAME extends string, ARR extends NonEmptyArray<CustomInfo<G_NAME>>>(name: string, infos: ARR, note?: string | DomainDesignNote): DomainDesignCommand<CustomInfoArrayToInfoObject<ARR>>;
72
72
  facadeCmd<FACADECMD extends DomainDesignFacadeCommand<any>>(command: FACADECMD): FACADECMD;
73
- facadeCmd<G_NAME extends string, ARR extends NonEmptyArray<DomainDesignInfo<DomainDesignInfoType, G_NAME> | G_NAME>>(name: string, infos: ARR, note?: string | DomainDesignNote): DomainDesignFacadeCommand<CustomInfoArrayToInfoObject<ARR>>;
73
+ facadeCmd<G_NAME extends string, ARR extends NonEmptyArray<CustomInfo<G_NAME>>>(name: string, infos: ARR, note?: string | DomainDesignNote): DomainDesignFacadeCommand<CustomInfoArrayToInfoObject<ARR>>;
74
74
  readModel<READ_MODEL extends DomainDesignReadModel<any>>(readModel: READ_MODEL): READ_MODEL;
75
- readModel<G_NAME extends string, ARR extends NonEmptyArray<DomainDesignInfo<DomainDesignInfoType, G_NAME> | G_NAME>>(name: string, infos: ARR | NonEmptyInitFunc<() => ARR>): DomainDesignReadModel<CustomInfoArrayToInfoObject<ARR>>;
75
+ readModel<G_NAME extends string, ARR extends NonEmptyArray<CustomInfo<G_NAME>>>(name: string, infos: ARR | NonEmptyInitFunc<() => ARR>): DomainDesignReadModel<CustomInfoArrayToInfoObject<ARR>>;
76
76
  toFormat(): string;
77
77
  }
78
78
  export type DomainDesignCommandProvider = {
@@ -155,6 +155,10 @@ export interface DomainDesignPolicy extends DomainDesignObject {
155
155
  readonly name: string;
156
156
  readonly note?: DomainDesignNote;
157
157
  };
158
+ command<COMMAND extends DomainDesignCommand<any>>(command: COMMAND): COMMAND;
159
+ command<G_NAME extends string, ARR extends NonEmptyArray<CustomInfo<G_NAME>>>(name: string, infos: ARR, note?: string | DomainDesignNote): DomainDesignCommand<CustomInfoArrayToInfoObject<ARR>>;
160
+ facadeCmd<FACADECMD extends DomainDesignFacadeCommand<any>>(command: FACADECMD): FACADECMD;
161
+ facadeCmd<G_NAME extends string, ARR extends NonEmptyArray<CustomInfo<G_NAME>>>(name: string, infos: ARR, note?: string | DomainDesignNote): DomainDesignFacadeCommand<CustomInfoArrayToInfoObject<ARR>>;
158
162
  service(service: DomainDesignService): DomainDesignService;
159
163
  service(name: string, note?: string | DomainDesignNote): DomainDesignService;
160
164
  toFormat(): string;
@@ -1 +1 @@
1
- 0.1.0-beta.12
1
+ 0.1.0-beta.13