@imolko/ultra-ddd 1.0.18 → 1.0.19

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.
@@ -1,5 +1,4 @@
1
- import { JsonSchema7Type } from "zod-to-json-schema/src/parseDef";
2
- import { JsonSchema7ObjectType } from "zod-to-json-schema/src/parsers/object";
1
+ import { JsonSchema7ObjectType, JsonSchema7Type } from "zod-to-json-schema";
3
2
  export type JsonSchemaForCloudEvent = JsonSchema7ObjectType & {
4
3
  $schema?: string | undefined;
5
4
  definitions?: {
@@ -1 +1 @@
1
- {"version":3,"file":"json-schema-for-cloud-event.type.d.ts","sourceRoot":"","sources":["../../../src/event/cloud-event-ddd/json-schema-for-cloud-event.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,GAAG;IAC5D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE;QACV,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC;KAClC,GAAG,SAAS,CAAC;CACf,CAAA"}
1
+ {"version":3,"file":"json-schema-for-cloud-event.type.d.ts","sourceRoot":"","sources":["../../../src/event/cloud-event-ddd/json-schema-for-cloud-event.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE5E,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,GAAG;IAC5D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE;QACV,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC;KAClC,GAAG,SAAS,CAAC;CACf,CAAA"}
@@ -19,10 +19,10 @@ export declare class Definition extends ValueObjectBase<Props, Primitive, Payloa
19
19
  * @returns {Payload}
20
20
  */
21
21
  getPayload(): Payload;
22
- jsonSchema(): import("zod-to-json-schema/src/parseDef").JsonSchema7Type & {
22
+ jsonSchema(): import("zod-to-json-schema").JsonSchema7Type & {
23
23
  $schema?: string | undefined;
24
24
  definitions?: {
25
- [key: string]: import("zod-to-json-schema/src/parseDef").JsonSchema7Type;
25
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
26
26
  } | undefined;
27
27
  };
28
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"track.template.d.ts","sourceRoot":"","sources":["../../../../src/scripts/get-event/templates/track.template.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ,EAAE,MA8Cf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"track.template.d.ts","sourceRoot":"","sources":["../../../../src/scripts/get-event/templates/track.template.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ,EAAE,MAoDf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -41,6 +41,12 @@ export function main() {
41
41
  const jsonFilePath = path.join(schemasFolderPath, 'schemes.json');
42
42
  fs.writeFileSync(jsonFilePath, JSON.stringify(schemify, null, 2));
43
43
  console.log(\`\\\\nJSON file created in: \${jsonFilePath}\`); // Escapar la barra invertida
44
+
45
+ // Crear el archivo TypeScript dentro de la carpeta schemas
46
+ const typesFilePath = path.join(schemasFolderPath, 'schemes.ts');
47
+ const typesFileContent = \`export const schemify = \${JSON.stringify(schemify, null, 2)};\`;
48
+ fs.writeFileSync(typesFilePath, typesFileContent);
49
+ console.log(\`\\\\nArchivo TypeScript creado en: \${typesFilePath}\`); // Escapar la barra invertida
44
50
  }
45
51
 
46
52
  main();
@@ -1 +1 @@
1
- {"version":3,"file":"track.template.js","sourceRoot":"","sources":["../../../../src/scripts/get-event/templates/track.template.ts"],"names":[],"mappings":"AAAA,MAAM,QAAQ,GAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CxB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"track.template.js","sourceRoot":"","sources":["../../../../src/scripts/get-event/templates/track.template.ts"],"names":[],"mappings":"AAAA,MAAM,QAAQ,GAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDxB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,5 +1,4 @@
1
- import { JsonSchema7Type } from "zod-to-json-schema/src/parseDef";
2
- import { JsonSchema7ObjectType } from "zod-to-json-schema/src/parsers/object";
1
+ import { JsonSchema7ObjectType, JsonSchema7Type } from "zod-to-json-schema";
3
2
  export type JsonSchemaForCloudEvent = JsonSchema7ObjectType & {
4
3
  $schema?: string | undefined;
5
4
  definitions?: {
@@ -1 +1 @@
1
- {"version":3,"file":"json-schema-for-cloud-event.type.d.ts","sourceRoot":"","sources":["../../../src/event/cloud-event-ddd/json-schema-for-cloud-event.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,GAAG;IAC5D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE;QACV,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC;KAClC,GAAG,SAAS,CAAC;CACf,CAAA"}
1
+ {"version":3,"file":"json-schema-for-cloud-event.type.d.ts","sourceRoot":"","sources":["../../../src/event/cloud-event-ddd/json-schema-for-cloud-event.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE5E,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,GAAG;IAC5D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE;QACV,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC;KAClC,GAAG,SAAS,CAAC;CACf,CAAA"}
@@ -19,10 +19,10 @@ export declare class Definition extends ValueObjectBase<Props, Primitive, Payloa
19
19
  * @returns {Payload}
20
20
  */
21
21
  getPayload(): Payload;
22
- jsonSchema(): import("zod-to-json-schema/src/parseDef").JsonSchema7Type & {
22
+ jsonSchema(): import("zod-to-json-schema").JsonSchema7Type & {
23
23
  $schema?: string | undefined;
24
24
  definitions?: {
25
- [key: string]: import("zod-to-json-schema/src/parseDef").JsonSchema7Type;
25
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
26
26
  } | undefined;
27
27
  };
28
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"track.template.d.ts","sourceRoot":"","sources":["../../../../src/scripts/get-event/templates/track.template.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ,EAAE,MA8Cf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"track.template.d.ts","sourceRoot":"","sources":["../../../../src/scripts/get-event/templates/track.template.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ,EAAE,MAoDf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -43,6 +43,12 @@ export function main() {
43
43
  const jsonFilePath = path.join(schemasFolderPath, 'schemes.json');
44
44
  fs.writeFileSync(jsonFilePath, JSON.stringify(schemify, null, 2));
45
45
  console.log(\`\\\\nJSON file created in: \${jsonFilePath}\`); // Escapar la barra invertida
46
+
47
+ // Crear el archivo TypeScript dentro de la carpeta schemas
48
+ const typesFilePath = path.join(schemasFolderPath, 'schemes.ts');
49
+ const typesFileContent = \`export const schemify = \${JSON.stringify(schemify, null, 2)};\`;
50
+ fs.writeFileSync(typesFilePath, typesFileContent);
51
+ console.log(\`\\\\nArchivo TypeScript creado en: \${typesFilePath}\`); // Escapar la barra invertida
46
52
  }
47
53
 
48
54
  main();
@@ -1 +1 @@
1
- {"version":3,"file":"track.template.js","sourceRoot":"","sources":["../../../../src/scripts/get-event/templates/track.template.ts"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CxB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"track.template.js","sourceRoot":"","sources":["../../../../src/scripts/get-event/templates/track.template.ts"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDxB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imolko/ultra-ddd",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "results",
@@ -63,22 +63,22 @@
63
63
  "test": "jest"
64
64
  },
65
65
  "devDependencies": {
66
- "@types/jest": "29.5.14",
67
- "jest": "29.7.0",
68
- "ts-jest": "29.2.5",
69
- "tslib": "2.8.1",
70
- "typescript": "5.4.5"
66
+ "@types/jest": "~29.5.14",
67
+ "jest": "~29.7.0",
68
+ "ts-jest": "~29.2.5",
69
+ "tslib": "~2.8.1",
70
+ "typescript": "~5.4.5"
71
71
  },
72
72
  "peerDependencies": {
73
+ "@imolko/ultra-result": "~2.0.5",
74
+ "@imolko/ultra-tsconfig": "~1.0.1",
75
+ "@imolko/ultra-v8n": "~1.0.8",
73
76
  "@types/jest": ">=29.0.0"
74
77
  },
75
78
  "dependencies": {
76
- "@imolko/ultra-result": "2.0.5",
77
- "@imolko/ultra-tsconfig": "1.0.1",
78
- "@imolko/ultra-v8n": "1.0.8",
79
- "ajv": "8.x.x",
80
- "ajv-formats": "x3.x.x",
81
- "uuid": "11.x.x",
82
- "zod-to-json-schema": "^3.x.x"
79
+ "ajv": "~8.17.1",
80
+ "ajv-formats": "~3.0.1",
81
+ "uuid": "~11.1.0",
82
+ "zod-to-json-schema": "~3.24.5"
83
83
  }
84
84
  }