@skmtc/core 0.0.381 → 0.0.382
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/esm/context/CoreContext.d.ts +2 -2
- package/esm/context/CoreContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.d.ts +46 -14
- package/esm/context/GenerateContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.js +187 -76
- package/esm/context/RenderContext.d.ts +3 -3
- package/esm/context/RenderContext.d.ts.map +1 -1
- package/esm/context/types.d.ts +2 -2
- package/esm/context/types.d.ts.map +1 -1
- package/esm/dsl/model/ModelBase.d.ts.map +1 -1
- package/esm/dsl/model/ModelBase.js +1 -1
- package/esm/dsl/model/ModelInsertable.d.ts +13 -5
- package/esm/dsl/model/ModelInsertable.d.ts.map +1 -1
- package/esm/dsl/model/toModelGateway.d.ts +26 -0
- package/esm/dsl/model/toModelGateway.d.ts.map +1 -0
- package/esm/dsl/model/toModelGateway.js +70 -0
- package/esm/dsl/model/toModelInsertable.d.ts +36 -0
- package/esm/dsl/model/toModelInsertable.d.ts.map +1 -0
- package/esm/dsl/model/{toModelBase.js → toModelInsertable.js} +3 -41
- package/esm/dsl/operation/OperationBase.d.ts.map +1 -1
- package/esm/dsl/operation/OperationBase.js +1 -1
- package/esm/dsl/operation/OperationInsertable.d.ts +17 -5
- package/esm/dsl/operation/OperationInsertable.d.ts.map +1 -1
- package/esm/dsl/operation/toOperationGateway.d.ts +28 -0
- package/esm/dsl/operation/toOperationGateway.d.ts.map +1 -0
- package/esm/dsl/operation/toOperationGateway.js +70 -0
- package/esm/dsl/operation/toOperationInsertable.d.ts +43 -0
- package/esm/dsl/operation/toOperationInsertable.d.ts.map +1 -0
- package/esm/dsl/operation/{toOperationBase.js → toOperationInsertable.js} +3 -41
- package/esm/helpers/ResultsLog.d.ts +2 -2
- package/esm/helpers/ResultsLog.d.ts.map +1 -1
- package/esm/helpers/ResultsLog.js +11 -3
- package/esm/mod.d.ts +4 -2
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +4 -2
- package/esm/types/Results.d.ts +3 -3
- package/esm/types/Results.d.ts.map +1 -1
- package/esm/types/Results.js +2 -2
- package/esm/types/Settings.d.ts +24 -12
- package/esm/types/Settings.d.ts.map +1 -1
- package/esm/types/Settings.js +4 -3
- package/package.json +1 -1
- package/script/context/CoreContext.d.ts +2 -2
- package/script/context/CoreContext.d.ts.map +1 -1
- package/script/context/GenerateContext.d.ts +46 -14
- package/script/context/GenerateContext.d.ts.map +1 -1
- package/script/context/GenerateContext.js +187 -76
- package/script/context/RenderContext.d.ts +3 -3
- package/script/context/RenderContext.d.ts.map +1 -1
- package/script/context/types.d.ts +2 -2
- package/script/context/types.d.ts.map +1 -1
- package/script/dsl/model/ModelBase.d.ts.map +1 -1
- package/script/dsl/model/ModelBase.js +1 -1
- package/script/dsl/model/ModelInsertable.d.ts +13 -5
- package/script/dsl/model/ModelInsertable.d.ts.map +1 -1
- package/script/dsl/model/toModelGateway.d.ts +26 -0
- package/script/dsl/model/toModelGateway.d.ts.map +1 -0
- package/script/dsl/model/toModelGateway.js +74 -0
- package/script/dsl/model/toModelInsertable.d.ts +36 -0
- package/script/dsl/model/toModelInsertable.d.ts.map +1 -0
- package/script/dsl/model/{toModelBase.js → toModelInsertable.js} +5 -43
- package/script/dsl/operation/OperationBase.d.ts.map +1 -1
- package/script/dsl/operation/OperationBase.js +1 -1
- package/script/dsl/operation/OperationInsertable.d.ts +17 -5
- package/script/dsl/operation/OperationInsertable.d.ts.map +1 -1
- package/script/dsl/operation/toOperationGateway.d.ts +28 -0
- package/script/dsl/operation/toOperationGateway.d.ts.map +1 -0
- package/script/dsl/operation/toOperationGateway.js +74 -0
- package/script/dsl/operation/toOperationInsertable.d.ts +43 -0
- package/script/dsl/operation/toOperationInsertable.d.ts.map +1 -0
- package/script/dsl/operation/{toOperationBase.js → toOperationInsertable.js} +5 -43
- package/script/helpers/ResultsLog.d.ts +2 -2
- package/script/helpers/ResultsLog.d.ts.map +1 -1
- package/script/helpers/ResultsLog.js +11 -3
- package/script/mod.d.ts +4 -2
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +4 -2
- package/script/types/Results.d.ts +3 -3
- package/script/types/Results.d.ts.map +1 -1
- package/script/types/Results.js +3 -3
- package/script/types/Settings.d.ts +24 -12
- package/script/types/Settings.d.ts.map +1 -1
- package/script/types/Settings.js +4 -3
- package/esm/dsl/model/toModelBase.d.ts +0 -48
- package/esm/dsl/model/toModelBase.d.ts.map +0 -1
- package/esm/dsl/operation/toOperationBase.d.ts +0 -55
- package/esm/dsl/operation/toOperationBase.d.ts.map +0 -1
- package/script/dsl/model/toModelBase.d.ts +0 -48
- package/script/dsl/model/toModelBase.d.ts.map +0 -1
- package/script/dsl/operation/toOperationBase.d.ts +0 -55
- package/script/dsl/operation/toOperationBase.d.ts.map +0 -1
package/esm/mod.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,2BAA2B,CAAA;AACzC,cAAc,oBAAoB,CAAA;AAClC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,cAAc,0BAA0B,CAAA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jC,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uCAAuC,CAAA;AACrD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,iCAAiC,CAAA"}
|
package/esm/mod.js
CHANGED
|
@@ -14,12 +14,14 @@ export * from './dsl/Inserted.js';
|
|
|
14
14
|
export * from './dsl/model/ModelBase.js';
|
|
15
15
|
export * from './dsl/model/ModelDriver.js';
|
|
16
16
|
export * from './dsl/model/ModelInsertable.js';
|
|
17
|
-
export * from './dsl/model/
|
|
17
|
+
export * from './dsl/model/toModelInsertable.js';
|
|
18
|
+
export * from './dsl/model/toModelGateway.js';
|
|
18
19
|
export * from './dsl/operation/OperationBase.js';
|
|
19
20
|
export * from './dsl/operation/OperationBase.js';
|
|
20
21
|
export * from './dsl/operation/OperationDriver.js';
|
|
21
22
|
export * from './dsl/operation/OperationInsertable.js';
|
|
22
|
-
export * from './dsl/operation/
|
|
23
|
+
export * from './dsl/operation/toOperationInsertable.js';
|
|
24
|
+
export * from './dsl/operation/toOperationGateway.js';
|
|
23
25
|
export * from './dsl/Stringable.js';
|
|
24
26
|
export * from './dsl/ValueBase.js';
|
|
25
27
|
export * from './helpers/isImported.js';
|
package/esm/types/Results.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../_dnt.polyfills.js";
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
export type
|
|
3
|
+
export type ResultType = 'success' | 'warning' | 'error' | 'notSelected' | 'notSupported';
|
|
4
4
|
export type WarningError = 'warning' | 'error';
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const resultType: z.ZodEnum<["success", "warning", "error", "notSelected", "notSupported"]>;
|
|
6
6
|
export interface ResultsItem {
|
|
7
|
-
[key: string]:
|
|
7
|
+
[key: string]: ResultType | ResultsItem | Array<ResultsItem | null>;
|
|
8
8
|
}
|
|
9
9
|
export declare const resultsItem: z.ZodType<ResultsItem>;
|
|
10
10
|
//# sourceMappingURL=Results.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Results.d.ts","sourceRoot":"","sources":["../../src/types/Results.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Results.d.ts","sourceRoot":"","sources":["../../src/types/Results.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,CAAA;AAEzF,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,CAAA;AAE9C,eAAO,MAAM,UAAU,2EAAyE,CAAA;AAEhG,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;CACpE;AAED,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAE9C,CAAA"}
|
package/esm/types/Results.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../_dnt.polyfills.js";
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
export const
|
|
4
|
-
export const resultsItem = z.record(z.lazy(() => z.union([resultsItem,
|
|
3
|
+
export const resultType = z.enum(['success', 'warning', 'error', 'notSelected', 'notSupported']);
|
|
4
|
+
export const resultsItem = z.record(z.lazy(() => z.union([resultsItem, resultType, z.array(resultsItem.nullable())])));
|
package/esm/types/Settings.d.ts
CHANGED
|
@@ -11,38 +11,41 @@ export type BaseSettings = {
|
|
|
11
11
|
export type BaseSettingsKeyType = 'selected' | 'name' | 'importFrom' | 'exportPath';
|
|
12
12
|
export declare const operationsGeneratorSettings: z.ZodObject<{
|
|
13
13
|
id: z.ZodString;
|
|
14
|
-
exportPath: z.ZodOptional<z.ZodString>;
|
|
15
14
|
description: z.ZodOptional<z.ZodString>;
|
|
16
15
|
operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
|
|
16
|
+
baseSettings: z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
id: string;
|
|
19
19
|
operations: Record<string, Partial<Record<Method, BaseSettings>>>;
|
|
20
|
+
baseSettings: BaseSettings;
|
|
20
21
|
description?: string | undefined;
|
|
21
|
-
exportPath?: string | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
id: string;
|
|
24
24
|
operations: Record<string, Partial<Record<Method, BaseSettings>>>;
|
|
25
|
+
baseSettings: BaseSettings;
|
|
25
26
|
description?: string | undefined;
|
|
26
|
-
exportPath?: string | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
export type OperationsGeneratorSettings = {
|
|
29
29
|
id: string;
|
|
30
|
-
exportPath?: string;
|
|
31
30
|
description?: string;
|
|
32
31
|
operations: Record<string, Partial<Record<Method, BaseSettings>>>;
|
|
32
|
+
baseSettings: BaseSettings;
|
|
33
33
|
};
|
|
34
34
|
export declare const modelsGeneratorSettings: z.ZodObject<{
|
|
35
35
|
id: z.ZodString;
|
|
36
36
|
exportPath: z.ZodOptional<z.ZodString>;
|
|
37
37
|
description: z.ZodOptional<z.ZodString>;
|
|
38
38
|
models: z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>;
|
|
39
|
+
baseSettings: z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>;
|
|
39
40
|
}, "strip", z.ZodTypeAny, {
|
|
40
41
|
id: string;
|
|
42
|
+
baseSettings: BaseSettings;
|
|
41
43
|
models: Record<string, BaseSettings>;
|
|
42
44
|
description?: string | undefined;
|
|
43
45
|
exportPath?: string | undefined;
|
|
44
46
|
}, {
|
|
45
47
|
id: string;
|
|
48
|
+
baseSettings: BaseSettings;
|
|
46
49
|
models: Record<string, BaseSettings>;
|
|
47
50
|
description?: string | undefined;
|
|
48
51
|
exportPath?: string | undefined;
|
|
@@ -52,34 +55,38 @@ export type ModelsGeneratorSettings = {
|
|
|
52
55
|
exportPath?: string;
|
|
53
56
|
description?: string;
|
|
54
57
|
models: Record<string, BaseSettings>;
|
|
58
|
+
baseSettings: BaseSettings;
|
|
55
59
|
};
|
|
56
60
|
export declare const clientGeneratorSettings: z.ZodUnion<[z.ZodObject<{
|
|
57
61
|
id: z.ZodString;
|
|
58
|
-
exportPath: z.ZodOptional<z.ZodString>;
|
|
59
62
|
description: z.ZodOptional<z.ZodString>;
|
|
60
63
|
operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
|
|
64
|
+
baseSettings: z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>;
|
|
61
65
|
}, "strip", z.ZodTypeAny, {
|
|
62
66
|
id: string;
|
|
63
67
|
operations: Record<string, Partial<Record<Method, BaseSettings>>>;
|
|
68
|
+
baseSettings: BaseSettings;
|
|
64
69
|
description?: string | undefined;
|
|
65
|
-
exportPath?: string | undefined;
|
|
66
70
|
}, {
|
|
67
71
|
id: string;
|
|
68
72
|
operations: Record<string, Partial<Record<Method, BaseSettings>>>;
|
|
73
|
+
baseSettings: BaseSettings;
|
|
69
74
|
description?: string | undefined;
|
|
70
|
-
exportPath?: string | undefined;
|
|
71
75
|
}>, z.ZodObject<{
|
|
72
76
|
id: z.ZodString;
|
|
73
77
|
exportPath: z.ZodOptional<z.ZodString>;
|
|
74
78
|
description: z.ZodOptional<z.ZodString>;
|
|
75
79
|
models: z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>;
|
|
80
|
+
baseSettings: z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>;
|
|
76
81
|
}, "strip", z.ZodTypeAny, {
|
|
77
82
|
id: string;
|
|
83
|
+
baseSettings: BaseSettings;
|
|
78
84
|
models: Record<string, BaseSettings>;
|
|
79
85
|
description?: string | undefined;
|
|
80
86
|
exportPath?: string | undefined;
|
|
81
87
|
}, {
|
|
82
88
|
id: string;
|
|
89
|
+
baseSettings: BaseSettings;
|
|
83
90
|
models: Record<string, BaseSettings>;
|
|
84
91
|
description?: string | undefined;
|
|
85
92
|
exportPath?: string | undefined;
|
|
@@ -89,31 +96,34 @@ export declare const clientSettings: z.ZodObject<{
|
|
|
89
96
|
basePath: z.ZodOptional<z.ZodString>;
|
|
90
97
|
generators: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
91
98
|
id: z.ZodString;
|
|
92
|
-
exportPath: z.ZodOptional<z.ZodString>;
|
|
93
99
|
description: z.ZodOptional<z.ZodString>;
|
|
94
100
|
operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
|
|
101
|
+
baseSettings: z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>;
|
|
95
102
|
}, "strip", z.ZodTypeAny, {
|
|
96
103
|
id: string;
|
|
97
104
|
operations: Record<string, Partial<Record<Method, BaseSettings>>>;
|
|
105
|
+
baseSettings: BaseSettings;
|
|
98
106
|
description?: string | undefined;
|
|
99
|
-
exportPath?: string | undefined;
|
|
100
107
|
}, {
|
|
101
108
|
id: string;
|
|
102
109
|
operations: Record<string, Partial<Record<Method, BaseSettings>>>;
|
|
110
|
+
baseSettings: BaseSettings;
|
|
103
111
|
description?: string | undefined;
|
|
104
|
-
exportPath?: string | undefined;
|
|
105
112
|
}>, z.ZodObject<{
|
|
106
113
|
id: z.ZodString;
|
|
107
114
|
exportPath: z.ZodOptional<z.ZodString>;
|
|
108
115
|
description: z.ZodOptional<z.ZodString>;
|
|
109
116
|
models: z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>;
|
|
117
|
+
baseSettings: z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>;
|
|
110
118
|
}, "strip", z.ZodTypeAny, {
|
|
111
119
|
id: string;
|
|
120
|
+
baseSettings: BaseSettings;
|
|
112
121
|
models: Record<string, BaseSettings>;
|
|
113
122
|
description?: string | undefined;
|
|
114
123
|
exportPath?: string | undefined;
|
|
115
124
|
}, {
|
|
116
125
|
id: string;
|
|
126
|
+
baseSettings: BaseSettings;
|
|
117
127
|
models: Record<string, BaseSettings>;
|
|
118
128
|
description?: string | undefined;
|
|
119
129
|
exportPath?: string | undefined;
|
|
@@ -122,10 +132,11 @@ export declare const clientSettings: z.ZodObject<{
|
|
|
122
132
|
generators: ({
|
|
123
133
|
id: string;
|
|
124
134
|
operations: Record<string, Partial<Record<Method, BaseSettings>>>;
|
|
135
|
+
baseSettings: BaseSettings;
|
|
125
136
|
description?: string | undefined;
|
|
126
|
-
exportPath?: string | undefined;
|
|
127
137
|
} | {
|
|
128
138
|
id: string;
|
|
139
|
+
baseSettings: BaseSettings;
|
|
129
140
|
models: Record<string, BaseSettings>;
|
|
130
141
|
description?: string | undefined;
|
|
131
142
|
exportPath?: string | undefined;
|
|
@@ -135,10 +146,11 @@ export declare const clientSettings: z.ZodObject<{
|
|
|
135
146
|
generators: ({
|
|
136
147
|
id: string;
|
|
137
148
|
operations: Record<string, Partial<Record<Method, BaseSettings>>>;
|
|
149
|
+
baseSettings: BaseSettings;
|
|
138
150
|
description?: string | undefined;
|
|
139
|
-
exportPath?: string | undefined;
|
|
140
151
|
} | {
|
|
141
152
|
id: string;
|
|
153
|
+
baseSettings: BaseSettings;
|
|
142
154
|
models: Record<string, BaseSettings>;
|
|
143
155
|
description?: string | undefined;
|
|
144
156
|
exportPath?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../src/types/Settings.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,MAAM,EAAU,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAK/C,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../src/types/Settings.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,MAAM,EAAU,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAK/C,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,MAAM,GAAG,Y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AAC,iBAAiB,CAKzD,CAAA;AAEF,eAAO,MAAM,aAAa,mCAAiC,CAAA;AAE3D,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,OAAO,CAAA;AAEjD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA"}
|
package/esm/types/Settings.js
CHANGED
|
@@ -9,15 +9,16 @@ export const baseSettings = z.object({
|
|
|
9
9
|
});
|
|
10
10
|
export const operationsGeneratorSettings = z.object({
|
|
11
11
|
id: z.string(),
|
|
12
|
-
exportPath: z.string().optional(),
|
|
13
12
|
description: z.string().optional(),
|
|
14
|
-
operations: z.record(z.record(method, baseSettings))
|
|
13
|
+
operations: z.record(z.record(method, baseSettings)),
|
|
14
|
+
baseSettings: baseSettings
|
|
15
15
|
});
|
|
16
16
|
export const modelsGeneratorSettings = z.object({
|
|
17
17
|
id: z.string(),
|
|
18
18
|
exportPath: z.string().optional(),
|
|
19
19
|
description: z.string().optional(),
|
|
20
|
-
models: z.record(baseSettings)
|
|
20
|
+
models: z.record(baseSettings),
|
|
21
|
+
baseSettings: baseSettings
|
|
21
22
|
});
|
|
22
23
|
export const clientGeneratorSettings = z.union([
|
|
23
24
|
operationsGeneratorSettings,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import type { OasDocument } from '../oas/document/Document.js';
|
|
|
3
3
|
import type { ClientSettings } from '../types/Settings.js';
|
|
4
4
|
import type { OperationGateway, OperationInsertable } from '../dsl/operation/OperationInsertable.js';
|
|
5
5
|
import type { ModelGateway, ModelInsertable } from '../dsl/model/ModelInsertable.js';
|
|
6
|
-
import type {
|
|
6
|
+
import type { ResultType } from '../types/Results.js';
|
|
7
7
|
import * as log from '../deps/jsr.io/@std/log/0.224.7/mod.js';
|
|
8
8
|
import type { GeneratorKey } from '../types/GeneratorKeys.js';
|
|
9
9
|
import type { GeneratedValue } from '../types/GeneratedValue.js';
|
|
@@ -29,7 +29,7 @@ export declare class CoreContext {
|
|
|
29
29
|
artifacts: Record<string, string>;
|
|
30
30
|
};
|
|
31
31
|
trace<T>(token: string | string[], fn: () => T): T;
|
|
32
|
-
captureCurrentResult(result:
|
|
32
|
+
captureCurrentResult(result: ResultType): void;
|
|
33
33
|
}
|
|
34
34
|
export type JsonFormatterArgs = {
|
|
35
35
|
logRecord: log.LogRecord;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoreContext.d.ts","sourceRoot":"","sources":["../../src/context/CoreContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AACpG,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACpF,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"CoreContext.d.ts","sourceRoot":"","sources":["../../src/context/CoreContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AACpG,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACpF,OAAO,KAAK,EAAE,UAAU,EAAE,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type { OasDocument } from '../oas/document/Document.js';
|
|
|
4
4
|
import type { OasSchema } from '../oas/schema/Schema.js';
|
|
5
5
|
import type { OasRef } from '../oas/ref/Ref.js';
|
|
6
6
|
import type { FileContents } from './types.js';
|
|
7
|
-
import type {
|
|
7
|
+
import type { ClientSettings } from '../types/Settings.js';
|
|
8
8
|
import type { Method } from '../types/Method.js';
|
|
9
9
|
import type { OperationInsertable, OperationGateway } from '../dsl/operation/OperationInsertable.js';
|
|
10
10
|
import type { OasOperation } from '../oas/operation/Operation.js';
|
|
@@ -14,7 +14,7 @@ import { ContentSettings } from '../dsl/ContentSettings.js';
|
|
|
14
14
|
import type { RefName } from '../types/RefName.js';
|
|
15
15
|
import type * as log from '../deps/jsr.io/@std/log/0.224.7/mod.js';
|
|
16
16
|
import type { GeneratorKey } from '../types/GeneratorKeys.js';
|
|
17
|
-
import type {
|
|
17
|
+
import type { ResultType } from '../types/Results.js';
|
|
18
18
|
import type { StackTrail } from './StackTrail.js';
|
|
19
19
|
import type { Identifier } from '../dsl/Identifier.js';
|
|
20
20
|
import type { SchemaToValueFn, SchemaType, TypeSystemOutput } from '../types/TypeSystem.js';
|
|
@@ -25,7 +25,7 @@ type ConstructorArgs = {
|
|
|
25
25
|
logger: log.Logger;
|
|
26
26
|
callback: (generatorKey: GeneratorKey) => void;
|
|
27
27
|
stackTrail: StackTrail;
|
|
28
|
-
captureCurrentResult: (result:
|
|
28
|
+
captureCurrentResult: (result: ResultType) => void;
|
|
29
29
|
};
|
|
30
30
|
export type PickArgs = {
|
|
31
31
|
name: string;
|
|
@@ -42,6 +42,11 @@ export type CreateAndRegisterDefinition<Schema extends SchemaType> = {
|
|
|
42
42
|
destinationPath: string;
|
|
43
43
|
schemaToValueFn: SchemaToValueFn;
|
|
44
44
|
};
|
|
45
|
+
export type DefineAndRegisterArgs<V extends GeneratedValue> = {
|
|
46
|
+
identifier: Identifier;
|
|
47
|
+
value: V;
|
|
48
|
+
destinationPath: string;
|
|
49
|
+
};
|
|
45
50
|
export type GetOperationSettingsArgs = {
|
|
46
51
|
generatorId: string;
|
|
47
52
|
path: string;
|
|
@@ -56,12 +61,13 @@ export type GetModelSettingsArgs = {
|
|
|
56
61
|
generatorId: string;
|
|
57
62
|
refName: RefName;
|
|
58
63
|
};
|
|
59
|
-
export type
|
|
64
|
+
export type InsertOperationArgs<V extends GeneratedValue, T extends GenerationType> = {
|
|
60
65
|
insertable: OperationInsertable<V>;
|
|
61
66
|
operation: OasOperation;
|
|
62
67
|
generation?: T;
|
|
63
68
|
destinationPath?: string;
|
|
64
|
-
}
|
|
69
|
+
};
|
|
70
|
+
export type InsertModelArgs<V extends GeneratedValue, T extends GenerationType> = {
|
|
65
71
|
insertable: ModelInsertable<V>;
|
|
66
72
|
refName: RefName;
|
|
67
73
|
generation?: T;
|
|
@@ -82,7 +88,7 @@ export declare class GenerateContext {
|
|
|
82
88
|
settings: ClientSettings | undefined;
|
|
83
89
|
logger: log.Logger;
|
|
84
90
|
callback: (generatorKey: GeneratorKey) => void;
|
|
85
|
-
captureCurrentResult: (result:
|
|
91
|
+
captureCurrentResult: (result: ResultType) => void;
|
|
86
92
|
constructor({ oasDocument, settings, logger, callback, captureCurrentResult, stackTrail }: ConstructorArgs);
|
|
87
93
|
/**
|
|
88
94
|
* @internal
|
|
@@ -96,6 +102,8 @@ export declare class GenerateContext {
|
|
|
96
102
|
* If a definition with the same name already exists, it will be returned
|
|
97
103
|
* instead of creating a new one.
|
|
98
104
|
*
|
|
105
|
+
* @experimental
|
|
106
|
+
*
|
|
99
107
|
* @param schema - The schema to create the definition for.
|
|
100
108
|
* @param identifier - The identifier for the definition.
|
|
101
109
|
* @param destinationPath - The path to the file where the definition will be registered.
|
|
@@ -103,6 +111,12 @@ export declare class GenerateContext {
|
|
|
103
111
|
* @returns The created definition or cached definition if it already exists.
|
|
104
112
|
*/
|
|
105
113
|
createAndRegisterDefinition<Schema extends SchemaType>({ schema, identifier, destinationPath, schemaToValueFn }: CreateAndRegisterDefinition<Schema>): Definition<TypeSystemOutput<Schema['type']>>;
|
|
114
|
+
/**
|
|
115
|
+
* Create and register a definition with the given `identifier` at `destinationPath`.
|
|
116
|
+
*
|
|
117
|
+
* @experimental
|
|
118
|
+
*/
|
|
119
|
+
defineAndRegister<V extends GeneratedValue>({ identifier, value, destinationPath }: DefineAndRegisterArgs<V>): Definition<V>;
|
|
106
120
|
/**
|
|
107
121
|
* Insert supplied `imports` and `definitions` into file at `destinationPath`.
|
|
108
122
|
*
|
|
@@ -116,20 +130,35 @@ export declare class GenerateContext {
|
|
|
116
130
|
*/
|
|
117
131
|
register({ imports, definitions, destinationPath }: RegisterArgs): void;
|
|
118
132
|
/**
|
|
119
|
-
* Insert operation
|
|
133
|
+
* Insert operation into the output file with path `destinationPath`.
|
|
120
134
|
*
|
|
121
135
|
* Insert will perform the following steps:
|
|
122
|
-
* 1. Generate content settings for the supplied operation
|
|
136
|
+
* 1. Generate content settings for the supplied operation
|
|
123
137
|
* 2. Look up definition in file with path `destinationPath`
|
|
124
138
|
* 3. If definition is not found, it will create a new one and register it
|
|
125
139
|
* 4. If the definition is defined at a location that is different from
|
|
126
140
|
* the current file, it will add an import to the current file from
|
|
127
141
|
* that location
|
|
128
|
-
* 5. Use the content settings to generate the operation
|
|
142
|
+
* 5. Use the content settings to generate the operation using the
|
|
129
143
|
* insertable's driver
|
|
130
144
|
* @mutates this.files
|
|
131
145
|
*/
|
|
132
|
-
|
|
146
|
+
insertOperation<V extends GeneratedValue, T extends GenerationType>({ insertable, operation, generation, destinationPath }: InsertOperationArgs<V, T>): Inserted<V, T>;
|
|
147
|
+
/**
|
|
148
|
+
* Insert model into the output file with path `destinationPath`.
|
|
149
|
+
*
|
|
150
|
+
* Insert will perform the following steps:
|
|
151
|
+
* 1. Generate content settings for the supplied model
|
|
152
|
+
* 2. Look up definition in file with path `destinationPath`
|
|
153
|
+
* 3. If definition is not found, it will create a new one and register it
|
|
154
|
+
* 4. If the definition is defined at a location that is different from
|
|
155
|
+
* the current file, it will add an import to the current file from
|
|
156
|
+
* that location
|
|
157
|
+
* 5. Use the content settings to generate the model using the
|
|
158
|
+
* insertable's driver
|
|
159
|
+
* @mutates this.files
|
|
160
|
+
*/
|
|
161
|
+
insertModel<V extends GeneratedValue, T extends GenerationType>({ insertable, refName, generation, destinationPath }: InsertModelArgs<V, T>): Inserted<V, T>;
|
|
133
162
|
/**
|
|
134
163
|
* Generate and return content settings for operation insertable and
|
|
135
164
|
* operation.
|
|
@@ -152,11 +181,14 @@ export declare class GenerateContext {
|
|
|
152
181
|
*/
|
|
153
182
|
toModelContentSettings<V>({ refName, insertable }: BuildModelSettingsArgs<V>): ContentSettings;
|
|
154
183
|
/**
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
184
|
+
* Generate and return content settings for a gateway
|
|
185
|
+
*
|
|
186
|
+
* Content settings are produced by passing base settings
|
|
187
|
+
* through toIdentifier, toExportPath methods on the gateway
|
|
188
|
+
* @param gateway
|
|
189
|
+
* @returns Content settings for model
|
|
158
190
|
*/
|
|
159
|
-
|
|
191
|
+
toGatewayContentSetting(gateway: OperationGateway | ModelGateway): ContentSettings;
|
|
160
192
|
/**
|
|
161
193
|
* Perform one lookup of schema by `refName`.
|
|
162
194
|
* @param refName
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenerateContext.d.ts","sourceRoot":"","sources":["../../src/context/GenerateContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,YAAY,CAAA;AAC9D,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