@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 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, type Handler } from '@domain-first/handlers'
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, type Handler } from '@domain-first/handlers'
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, type Handler } from '@domain-first/handlers'
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, type Handler } from '@domain-first/handlers'
799
+ import { defineHandler } from '@domain-first/handlers'
800
800
 
801
801
  export class ${naming.ClassName}Query {
802
802
  static inputSchema = {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@domain-first/project-structure",
3
3
  "description": "Build and manage your Domain-First project structure with CLI",
4
- "version": "1.1.2",
4
+ "version": "1.1.3",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",