@skmtc/core 0.0.343 → 0.0.344

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.
@@ -27,8 +27,8 @@ export declare const toModelConfig: ({ id, entityType, toName, toExportPath, isS
27
27
  generatorKey: import("../../types/GeneratorKeys.js").GeneratorKey | undefined;
28
28
  };
29
29
  id: string;
30
- type: string;
31
- _class: string;
30
+ type: "model";
31
+ _class: "ModelInsertable";
32
32
  entityType: EntityType;
33
33
  toName: ({ refName, baseSettings }: ToModelNameArgs) => string;
34
34
  toExportPath: ({ refName, baseSettings }: ToModelExportPathArgs) => string;
@@ -41,8 +41,8 @@ export declare const toModelConfig: ({ id, entityType, toName, toExportPath, isS
41
41
  context: GenerateContext;
42
42
  };
43
43
  id: string;
44
- type: string;
45
- _class: string;
44
+ type: "model";
45
+ _class: "ModelGateway";
46
46
  pinnable: boolean;
47
47
  isSupported: () => boolean;
48
48
  };
@@ -37,8 +37,8 @@ export declare const toOperationConfig: ({ id, entityType, toName, toExportPath,
37
37
  generatorKey: import("../../types/GeneratorKeys.js").GeneratorKey | undefined;
38
38
  };
39
39
  id: string;
40
- type: string;
41
- _class: string;
40
+ type: "operation";
41
+ _class: "OperationInsertable";
42
42
  entityType: EntityType;
43
43
  toName: ({ operation, baseSettings }: ToOperationNameArgs) => string;
44
44
  toExportPath: ({ operation, baseSettings }: ToOperationExportPathArgs) => string;
@@ -51,8 +51,8 @@ export declare const toOperationConfig: ({ id, entityType, toName, toExportPath,
51
51
  context: GenerateContext;
52
52
  };
53
53
  id: string;
54
- type: string;
55
- _class: string;
54
+ type: "operation";
55
+ _class: "OperationGateway";
56
56
  isSupported: (operation: OasOperation) => boolean;
57
57
  pinnable: boolean;
58
58
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skmtc/core",
3
- "version": "0.0.343",
3
+ "version": "0.0.344",
4
4
  "main": "./script/mod.js",
5
5
  "module": "./esm/mod.js",
6
6
  "exports": {
@@ -27,8 +27,8 @@ export declare const toModelConfig: ({ id, entityType, toName, toExportPath, isS
27
27
  generatorKey: import("../../types/GeneratorKeys.js").GeneratorKey | undefined;
28
28
  };
29
29
  id: string;
30
- type: string;
31
- _class: string;
30
+ type: "model";
31
+ _class: "ModelInsertable";
32
32
  entityType: EntityType;
33
33
  toName: ({ refName, baseSettings }: ToModelNameArgs) => string;
34
34
  toExportPath: ({ refName, baseSettings }: ToModelExportPathArgs) => string;
@@ -41,8 +41,8 @@ export declare const toModelConfig: ({ id, entityType, toName, toExportPath, isS
41
41
  context: GenerateContext;
42
42
  };
43
43
  id: string;
44
- type: string;
45
- _class: string;
44
+ type: "model";
45
+ _class: "ModelGateway";
46
46
  pinnable: boolean;
47
47
  isSupported: () => boolean;
48
48
  };
@@ -37,8 +37,8 @@ export declare const toOperationConfig: ({ id, entityType, toName, toExportPath,
37
37
  generatorKey: import("../../types/GeneratorKeys.js").GeneratorKey | undefined;
38
38
  };
39
39
  id: string;
40
- type: string;
41
- _class: string;
40
+ type: "operation";
41
+ _class: "OperationInsertable";
42
42
  entityType: EntityType;
43
43
  toName: ({ operation, baseSettings }: ToOperationNameArgs) => string;
44
44
  toExportPath: ({ operation, baseSettings }: ToOperationExportPathArgs) => string;
@@ -51,8 +51,8 @@ export declare const toOperationConfig: ({ id, entityType, toName, toExportPath,
51
51
  context: GenerateContext;
52
52
  };
53
53
  id: string;
54
- type: string;
55
- _class: string;
54
+ type: "operation";
55
+ _class: "OperationGateway";
56
56
  isSupported: (operation: OasOperation) => boolean;
57
57
  pinnable: boolean;
58
58
  };