@domain-first/project-structure 2.10.3 → 2.10.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/dist/index.cjs +6 -2
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -700,6 +700,8 @@ export const wire${naming.ClassName}Command = envBranchedWire({
|
|
|
700
700
|
import { defineHandler } from '@domain-first/handlers'
|
|
701
701
|
|
|
702
702
|
export class ${naming.ClassName}Command {
|
|
703
|
+
constructor() {}
|
|
704
|
+
|
|
703
705
|
static inputSchema = {}
|
|
704
706
|
static outputSchema = {}
|
|
705
707
|
|
|
@@ -716,7 +718,7 @@ export class ${naming.ClassName}Command {
|
|
|
716
718
|
'orchestration'
|
|
717
719
|
]).createFile(`${naming.fileName}-command.ts`, `
|
|
718
720
|
export class ${naming.ClassName}Command {
|
|
719
|
-
|
|
721
|
+
constructor() {}
|
|
720
722
|
}`.trim());
|
|
721
723
|
if (ConfigFile.Instance.data.domainFirstPackages.includes('@domain-first/wire')) boundedContextFolder.subitem([
|
|
722
724
|
'wiring',
|
|
@@ -1223,6 +1225,8 @@ export const wire${naming.ClassName}Query = envBranchedWire({
|
|
|
1223
1225
|
import { defineHandler } from '@domain-first/handlers'
|
|
1224
1226
|
|
|
1225
1227
|
export class ${naming.ClassName}Query {
|
|
1228
|
+
constructor() {}
|
|
1229
|
+
|
|
1226
1230
|
static inputSchema = {}
|
|
1227
1231
|
static outputSchema = {}
|
|
1228
1232
|
|
|
@@ -1239,7 +1243,7 @@ export class ${naming.ClassName}Query {
|
|
|
1239
1243
|
'orchestration'
|
|
1240
1244
|
]).createFile(`${naming.fileName}-query.ts`, `
|
|
1241
1245
|
export class ${naming.ClassName}Query {
|
|
1242
|
-
|
|
1246
|
+
constructor() {}
|
|
1243
1247
|
}`.trim());
|
|
1244
1248
|
if (ConfigFile.Instance.data.domainFirstPackages.includes('@domain-first/wire')) boundedContextFolder.subitem([
|
|
1245
1249
|
'wiring',
|
package/dist/index.js
CHANGED
|
@@ -670,6 +670,8 @@ export const wire${naming.ClassName}Command = envBranchedWire({
|
|
|
670
670
|
import { defineHandler } from '@domain-first/handlers'
|
|
671
671
|
|
|
672
672
|
export class ${naming.ClassName}Command {
|
|
673
|
+
constructor() {}
|
|
674
|
+
|
|
673
675
|
static inputSchema = {}
|
|
674
676
|
static outputSchema = {}
|
|
675
677
|
|
|
@@ -686,7 +688,7 @@ export class ${naming.ClassName}Command {
|
|
|
686
688
|
'orchestration'
|
|
687
689
|
]).createFile(`${naming.fileName}-command.ts`, `
|
|
688
690
|
export class ${naming.ClassName}Command {
|
|
689
|
-
|
|
691
|
+
constructor() {}
|
|
690
692
|
}`.trim());
|
|
691
693
|
if (ConfigFile.Instance.data.domainFirstPackages.includes('@domain-first/wire')) boundedContextFolder.subitem([
|
|
692
694
|
'wiring',
|
|
@@ -1193,6 +1195,8 @@ export const wire${naming.ClassName}Query = envBranchedWire({
|
|
|
1193
1195
|
import { defineHandler } from '@domain-first/handlers'
|
|
1194
1196
|
|
|
1195
1197
|
export class ${naming.ClassName}Query {
|
|
1198
|
+
constructor() {}
|
|
1199
|
+
|
|
1196
1200
|
static inputSchema = {}
|
|
1197
1201
|
static outputSchema = {}
|
|
1198
1202
|
|
|
@@ -1209,7 +1213,7 @@ export class ${naming.ClassName}Query {
|
|
|
1209
1213
|
'orchestration'
|
|
1210
1214
|
]).createFile(`${naming.fileName}-query.ts`, `
|
|
1211
1215
|
export class ${naming.ClassName}Query {
|
|
1212
|
-
|
|
1216
|
+
constructor() {}
|
|
1213
1217
|
}`.trim());
|
|
1214
1218
|
if (ConfigFile.Instance.data.domainFirstPackages.includes('@domain-first/wire')) boundedContextFolder.subitem([
|
|
1215
1219
|
'wiring',
|