@domain-first/project-structure 1.1.2 → 1.1.3
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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -532,7 +532,7 @@ const scaffoldNewCommand = async (boundedContextFolder)=>{
|
|
|
532
532
|
return;
|
|
533
533
|
}
|
|
534
534
|
if (ConfigFile.Instance.data.domainFirstPackages.includes('@domain-first/handlers')) commandsFolder.createFile(`${naming.fileName}-command.ts`, `
|
|
535
|
-
import { defineHandler
|
|
535
|
+
import { defineHandler } from '@domain-first/handlers'
|
|
536
536
|
|
|
537
537
|
export class ${naming.ClassName}Command {
|
|
538
538
|
static inputSchema = {}
|
|
@@ -826,7 +826,7 @@ const scaffoldNewQuery = async (boundedContextFolder)=>{
|
|
|
826
826
|
return;
|
|
827
827
|
}
|
|
828
828
|
if (ConfigFile.Instance.data.domainFirstPackages.includes('@domain-first/handlers')) queriesFolder.createFile(`${naming.fileName}-query.ts`, `
|
|
829
|
-
import { defineHandler
|
|
829
|
+
import { defineHandler } from '@domain-first/handlers'
|
|
830
830
|
|
|
831
831
|
export class ${naming.ClassName}Query {
|
|
832
832
|
static inputSchema = {}
|
package/dist/index.js
CHANGED
|
@@ -502,7 +502,7 @@ const scaffoldNewCommand = async (boundedContextFolder)=>{
|
|
|
502
502
|
return;
|
|
503
503
|
}
|
|
504
504
|
if (ConfigFile.Instance.data.domainFirstPackages.includes('@domain-first/handlers')) commandsFolder.createFile(`${naming.fileName}-command.ts`, `
|
|
505
|
-
import { defineHandler
|
|
505
|
+
import { defineHandler } from '@domain-first/handlers'
|
|
506
506
|
|
|
507
507
|
export class ${naming.ClassName}Command {
|
|
508
508
|
static inputSchema = {}
|
|
@@ -796,7 +796,7 @@ const scaffoldNewQuery = async (boundedContextFolder)=>{
|
|
|
796
796
|
return;
|
|
797
797
|
}
|
|
798
798
|
if (ConfigFile.Instance.data.domainFirstPackages.includes('@domain-first/handlers')) queriesFolder.createFile(`${naming.fileName}-query.ts`, `
|
|
799
|
-
import { defineHandler
|
|
799
|
+
import { defineHandler } from '@domain-first/handlers'
|
|
800
800
|
|
|
801
801
|
export class ${naming.ClassName}Query {
|
|
802
802
|
static inputSchema = {}
|