@skmtc/core 0.0.219 → 0.0.221

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.
@@ -13,145 +13,145 @@ export declare const operationsGeneratorSettings: z.ZodObject<{
13
13
  id: z.ZodString;
14
14
  exportPath: z.ZodOptional<z.ZodString>;
15
15
  description: z.ZodOptional<z.ZodString>;
16
- operations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>>;
16
+ operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
17
17
  }, "strip", z.ZodTypeAny, {
18
18
  id: string;
19
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
19
20
  description?: string | undefined;
20
21
  exportPath?: string | undefined;
21
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
22
22
  }, {
23
23
  id: string;
24
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
24
25
  description?: string | undefined;
25
26
  exportPath?: string | undefined;
26
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
27
27
  }>;
28
28
  export type OperationsGeneratorSettings = {
29
29
  id: string;
30
30
  exportPath?: string;
31
31
  description?: string;
32
- operations?: Record<string, Partial<Record<Method, BaseSettings>>>;
32
+ operations: Record<string, Partial<Record<Method, 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
- models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
38
+ models: z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>;
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  id: string;
41
+ models: Record<string, BaseSettings>;
41
42
  description?: string | undefined;
42
43
  exportPath?: string | undefined;
43
- models?: Record<string, BaseSettings> | undefined;
44
44
  }, {
45
45
  id: string;
46
+ models: Record<string, BaseSettings>;
46
47
  description?: string | undefined;
47
48
  exportPath?: string | undefined;
48
- models?: Record<string, BaseSettings> | undefined;
49
49
  }>;
50
50
  export type ModelsGeneratorSettings = {
51
51
  id: string;
52
52
  exportPath?: string;
53
53
  description?: string;
54
- models?: Record<string, BaseSettings>;
54
+ models: Record<string, BaseSettings>;
55
55
  };
56
56
  export declare const clientGeneratorSettings: z.ZodUnion<[z.ZodObject<{
57
57
  id: z.ZodString;
58
58
  exportPath: z.ZodOptional<z.ZodString>;
59
59
  description: z.ZodOptional<z.ZodString>;
60
- operations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>>;
60
+ operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
61
61
  }, "strip", z.ZodTypeAny, {
62
62
  id: string;
63
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
63
64
  description?: string | undefined;
64
65
  exportPath?: string | undefined;
65
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
66
66
  }, {
67
67
  id: string;
68
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
68
69
  description?: string | undefined;
69
70
  exportPath?: string | undefined;
70
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
71
71
  }>, z.ZodObject<{
72
72
  id: z.ZodString;
73
73
  exportPath: z.ZodOptional<z.ZodString>;
74
74
  description: z.ZodOptional<z.ZodString>;
75
- models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
75
+ models: z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>;
76
76
  }, "strip", z.ZodTypeAny, {
77
77
  id: string;
78
+ models: Record<string, BaseSettings>;
78
79
  description?: string | undefined;
79
80
  exportPath?: string | undefined;
80
- models?: Record<string, BaseSettings> | undefined;
81
81
  }, {
82
82
  id: string;
83
+ models: Record<string, BaseSettings>;
83
84
  description?: string | undefined;
84
85
  exportPath?: string | undefined;
85
- models?: Record<string, BaseSettings> | undefined;
86
86
  }>]>;
87
87
  export type ClientGeneratorSettings = OperationsGeneratorSettings | ModelsGeneratorSettings;
88
88
  export declare const clientSettings: z.ZodObject<{
89
89
  basePath: z.ZodOptional<z.ZodString>;
90
90
  alias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
91
- generators: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
91
+ generators: z.ZodArray<z.ZodUnion<[z.ZodObject<{
92
92
  id: z.ZodString;
93
93
  exportPath: z.ZodOptional<z.ZodString>;
94
94
  description: z.ZodOptional<z.ZodString>;
95
- operations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>>;
95
+ operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  id: string;
98
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
98
99
  description?: string | undefined;
99
100
  exportPath?: string | undefined;
100
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
101
101
  }, {
102
102
  id: string;
103
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
103
104
  description?: string | undefined;
104
105
  exportPath?: string | undefined;
105
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
106
106
  }>, z.ZodObject<{
107
107
  id: z.ZodString;
108
108
  exportPath: z.ZodOptional<z.ZodString>;
109
109
  description: z.ZodOptional<z.ZodString>;
110
- models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
110
+ models: z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>;
111
111
  }, "strip", z.ZodTypeAny, {
112
112
  id: string;
113
+ models: Record<string, BaseSettings>;
113
114
  description?: string | undefined;
114
115
  exportPath?: string | undefined;
115
- models?: Record<string, BaseSettings> | undefined;
116
116
  }, {
117
117
  id: string;
118
+ models: Record<string, BaseSettings>;
118
119
  description?: string | undefined;
119
120
  exportPath?: string | undefined;
120
- models?: Record<string, BaseSettings> | undefined;
121
- }>]>, "many">>;
121
+ }>]>, "many">;
122
122
  }, "strip", z.ZodTypeAny, {
123
- alias?: Record<string, string> | undefined;
124
- basePath?: string | undefined;
125
- generators?: ({
123
+ generators: ({
126
124
  id: string;
125
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
127
126
  description?: string | undefined;
128
127
  exportPath?: string | undefined;
129
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
130
128
  } | {
131
129
  id: string;
130
+ models: Record<string, BaseSettings>;
132
131
  description?: string | undefined;
133
132
  exportPath?: string | undefined;
134
- models?: Record<string, BaseSettings> | undefined;
135
- })[] | undefined;
136
- }, {
133
+ })[];
137
134
  alias?: Record<string, string> | undefined;
138
135
  basePath?: string | undefined;
139
- generators?: ({
136
+ }, {
137
+ generators: ({
140
138
  id: string;
139
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
141
140
  description?: string | undefined;
142
141
  exportPath?: string | undefined;
143
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
144
142
  } | {
145
143
  id: string;
144
+ models: Record<string, BaseSettings>;
146
145
  description?: string | undefined;
147
146
  exportPath?: string | undefined;
148
- models?: Record<string, BaseSettings> | undefined;
149
- })[] | undefined;
147
+ })[];
148
+ alias?: Record<string, string> | undefined;
149
+ basePath?: string | undefined;
150
150
  }>;
151
151
  export type ClientSettings = {
152
152
  basePath?: string;
153
153
  alias?: Record<string, string>;
154
- generators?: ClientGeneratorSettings[];
154
+ generators: ClientGeneratorSettings[];
155
155
  };
156
156
  export type SkmtcClientConfig = {
157
157
  serverName?: string;
@@ -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,GAC3B,UAAU,GACV,MAAM,GACN,YAAY,GACZ,YAAY,CAAA;AAEhB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;CACnE,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,U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;;;;;;;;;;;;;;;;;;;;;;;;EAIzB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,UAAU,EAAE,uBAAuB,EAAE,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,cAAc,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAKzD,CAAA;AAEF,eAAO,MAAM,UAAU,mCAAiC,CAAA;AAExD,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,OAAO,CAAA;AAE9C,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"}
@@ -11,13 +11,13 @@ export const operationsGeneratorSettings = z.object({
11
11
  id: z.string(),
12
12
  exportPath: z.string().optional(),
13
13
  description: z.string().optional(),
14
- operations: z.record(z.record(method, baseSettings)).optional()
14
+ operations: z.record(z.record(method, 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).optional()
20
+ models: z.record(baseSettings)
21
21
  });
22
22
  export const clientGeneratorSettings = z.union([
23
23
  operationsGeneratorSettings,
@@ -26,7 +26,7 @@ export const clientGeneratorSettings = z.union([
26
26
  export const clientSettings = z.object({
27
27
  basePath: z.string().optional(),
28
28
  alias: z.record(z.string()).optional(),
29
- generators: z.array(clientGeneratorSettings).optional()
29
+ generators: z.array(clientGeneratorSettings)
30
30
  });
31
31
  export const skmtcClientConfig = z.object({
32
32
  serverName: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skmtc/core",
3
- "version": "0.0.219",
3
+ "version": "0.0.221",
4
4
  "main": "./script/mod.js",
5
5
  "module": "./esm/mod.js",
6
6
  "exports": {
@@ -13,145 +13,145 @@ export declare const operationsGeneratorSettings: z.ZodObject<{
13
13
  id: z.ZodString;
14
14
  exportPath: z.ZodOptional<z.ZodString>;
15
15
  description: z.ZodOptional<z.ZodString>;
16
- operations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>>;
16
+ operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
17
17
  }, "strip", z.ZodTypeAny, {
18
18
  id: string;
19
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
19
20
  description?: string | undefined;
20
21
  exportPath?: string | undefined;
21
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
22
22
  }, {
23
23
  id: string;
24
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
24
25
  description?: string | undefined;
25
26
  exportPath?: string | undefined;
26
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
27
27
  }>;
28
28
  export type OperationsGeneratorSettings = {
29
29
  id: string;
30
30
  exportPath?: string;
31
31
  description?: string;
32
- operations?: Record<string, Partial<Record<Method, BaseSettings>>>;
32
+ operations: Record<string, Partial<Record<Method, 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
- models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
38
+ models: z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>;
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  id: string;
41
+ models: Record<string, BaseSettings>;
41
42
  description?: string | undefined;
42
43
  exportPath?: string | undefined;
43
- models?: Record<string, BaseSettings> | undefined;
44
44
  }, {
45
45
  id: string;
46
+ models: Record<string, BaseSettings>;
46
47
  description?: string | undefined;
47
48
  exportPath?: string | undefined;
48
- models?: Record<string, BaseSettings> | undefined;
49
49
  }>;
50
50
  export type ModelsGeneratorSettings = {
51
51
  id: string;
52
52
  exportPath?: string;
53
53
  description?: string;
54
- models?: Record<string, BaseSettings>;
54
+ models: Record<string, BaseSettings>;
55
55
  };
56
56
  export declare const clientGeneratorSettings: z.ZodUnion<[z.ZodObject<{
57
57
  id: z.ZodString;
58
58
  exportPath: z.ZodOptional<z.ZodString>;
59
59
  description: z.ZodOptional<z.ZodString>;
60
- operations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>>;
60
+ operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
61
61
  }, "strip", z.ZodTypeAny, {
62
62
  id: string;
63
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
63
64
  description?: string | undefined;
64
65
  exportPath?: string | undefined;
65
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
66
66
  }, {
67
67
  id: string;
68
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
68
69
  description?: string | undefined;
69
70
  exportPath?: string | undefined;
70
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
71
71
  }>, z.ZodObject<{
72
72
  id: z.ZodString;
73
73
  exportPath: z.ZodOptional<z.ZodString>;
74
74
  description: z.ZodOptional<z.ZodString>;
75
- models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
75
+ models: z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>;
76
76
  }, "strip", z.ZodTypeAny, {
77
77
  id: string;
78
+ models: Record<string, BaseSettings>;
78
79
  description?: string | undefined;
79
80
  exportPath?: string | undefined;
80
- models?: Record<string, BaseSettings> | undefined;
81
81
  }, {
82
82
  id: string;
83
+ models: Record<string, BaseSettings>;
83
84
  description?: string | undefined;
84
85
  exportPath?: string | undefined;
85
- models?: Record<string, BaseSettings> | undefined;
86
86
  }>]>;
87
87
  export type ClientGeneratorSettings = OperationsGeneratorSettings | ModelsGeneratorSettings;
88
88
  export declare const clientSettings: z.ZodObject<{
89
89
  basePath: z.ZodOptional<z.ZodString>;
90
90
  alias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
91
- generators: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
91
+ generators: z.ZodArray<z.ZodUnion<[z.ZodObject<{
92
92
  id: z.ZodString;
93
93
  exportPath: z.ZodOptional<z.ZodString>;
94
94
  description: z.ZodOptional<z.ZodString>;
95
- operations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>>;
95
+ operations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodType<Method, z.ZodTypeDef, Method>, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  id: string;
98
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
98
99
  description?: string | undefined;
99
100
  exportPath?: string | undefined;
100
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
101
101
  }, {
102
102
  id: string;
103
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
103
104
  description?: string | undefined;
104
105
  exportPath?: string | undefined;
105
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
106
106
  }>, z.ZodObject<{
107
107
  id: z.ZodString;
108
108
  exportPath: z.ZodOptional<z.ZodString>;
109
109
  description: z.ZodOptional<z.ZodString>;
110
- models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>>;
110
+ models: z.ZodRecord<z.ZodString, z.ZodType<BaseSettings, z.ZodTypeDef, BaseSettings>>;
111
111
  }, "strip", z.ZodTypeAny, {
112
112
  id: string;
113
+ models: Record<string, BaseSettings>;
113
114
  description?: string | undefined;
114
115
  exportPath?: string | undefined;
115
- models?: Record<string, BaseSettings> | undefined;
116
116
  }, {
117
117
  id: string;
118
+ models: Record<string, BaseSettings>;
118
119
  description?: string | undefined;
119
120
  exportPath?: string | undefined;
120
- models?: Record<string, BaseSettings> | undefined;
121
- }>]>, "many">>;
121
+ }>]>, "many">;
122
122
  }, "strip", z.ZodTypeAny, {
123
- alias?: Record<string, string> | undefined;
124
- basePath?: string | undefined;
125
- generators?: ({
123
+ generators: ({
126
124
  id: string;
125
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
127
126
  description?: string | undefined;
128
127
  exportPath?: string | undefined;
129
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
130
128
  } | {
131
129
  id: string;
130
+ models: Record<string, BaseSettings>;
132
131
  description?: string | undefined;
133
132
  exportPath?: string | undefined;
134
- models?: Record<string, BaseSettings> | undefined;
135
- })[] | undefined;
136
- }, {
133
+ })[];
137
134
  alias?: Record<string, string> | undefined;
138
135
  basePath?: string | undefined;
139
- generators?: ({
136
+ }, {
137
+ generators: ({
140
138
  id: string;
139
+ operations: Record<string, Partial<Record<Method, BaseSettings>>>;
141
140
  description?: string | undefined;
142
141
  exportPath?: string | undefined;
143
- operations?: Record<string, Partial<Record<Method, BaseSettings>>> | undefined;
144
142
  } | {
145
143
  id: string;
144
+ models: Record<string, BaseSettings>;
146
145
  description?: string | undefined;
147
146
  exportPath?: string | undefined;
148
- models?: Record<string, BaseSettings> | undefined;
149
- })[] | undefined;
147
+ })[];
148
+ alias?: Record<string, string> | undefined;
149
+ basePath?: string | undefined;
150
150
  }>;
151
151
  export type ClientSettings = {
152
152
  basePath?: string;
153
153
  alias?: Record<string, string>;
154
- generators?: ClientGeneratorSettings[];
154
+ generators: ClientGeneratorSettings[];
155
155
  };
156
156
  export type SkmtcClientConfig = {
157
157
  serverName?: string;
@@ -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,GAC3B,UAAU,GACV,MAAM,GACN,YAAY,GACZ,YAAY,CAAA;AAEhB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,MA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AAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGlC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAC/B,2BAA2B,GAC3B,uBAAuB,CAAA;AAE3B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIzB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,UAAU,EAAE,uBAAuB,EAAE,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,cAAc,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAKzD,CAAA;AAEF,eAAO,MAAM,UAAU,mCAAiC,CAAA;AAExD,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,OAAO,CAAA;AAE9C,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"}
@@ -14,13 +14,13 @@ exports.operationsGeneratorSettings = zod_1.z.object({
14
14
  id: zod_1.z.string(),
15
15
  exportPath: zod_1.z.string().optional(),
16
16
  description: zod_1.z.string().optional(),
17
- operations: zod_1.z.record(zod_1.z.record(Method_js_1.method, exports.baseSettings)).optional()
17
+ operations: zod_1.z.record(zod_1.z.record(Method_js_1.method, exports.baseSettings))
18
18
  });
19
19
  exports.modelsGeneratorSettings = zod_1.z.object({
20
20
  id: zod_1.z.string(),
21
21
  exportPath: zod_1.z.string().optional(),
22
22
  description: zod_1.z.string().optional(),
23
- models: zod_1.z.record(exports.baseSettings).optional()
23
+ models: zod_1.z.record(exports.baseSettings)
24
24
  });
25
25
  exports.clientGeneratorSettings = zod_1.z.union([
26
26
  exports.operationsGeneratorSettings,
@@ -29,7 +29,7 @@ exports.clientGeneratorSettings = zod_1.z.union([
29
29
  exports.clientSettings = zod_1.z.object({
30
30
  basePath: zod_1.z.string().optional(),
31
31
  alias: zod_1.z.record(zod_1.z.string()).optional(),
32
- generators: zod_1.z.array(exports.clientGeneratorSettings).optional()
32
+ generators: zod_1.z.array(exports.clientGeneratorSettings)
33
33
  });
34
34
  exports.skmtcClientConfig = zod_1.z.object({
35
35
  serverName: zod_1.z.string().optional(),