@skmtc/core 0.0.679 → 0.0.680

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.
@@ -50,7 +50,23 @@ export type TableColumnItem = {
50
50
  formatter: ModuleExport;
51
51
  label: string;
52
52
  };
53
- export declare const inputOptionConfigItem: v.ObjectSchema<{
53
+ export declare const tableItem: v.ObjectSchema<{
54
+ readonly title: v.StringSchema<undefined>;
55
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
56
+ readonly id: v.StringSchema<undefined>;
57
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
58
+ readonly formatter: v.ObjectSchema<{
59
+ readonly exportName: v.StringSchema<undefined>;
60
+ readonly exportPath: v.StringSchema<undefined>;
61
+ }, undefined>;
62
+ readonly label: v.StringSchema<undefined>;
63
+ }, undefined>, undefined>;
64
+ }, undefined>;
65
+ export type TableItem = {
66
+ title: string;
67
+ columns: TableColumnItem[];
68
+ };
69
+ export declare const inputItem: v.ObjectSchema<{
54
70
  readonly id: v.StringSchema<undefined>;
55
71
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
56
72
  readonly formatter: v.ObjectSchema<{
@@ -58,22 +74,25 @@ export declare const inputOptionConfigItem: v.ObjectSchema<{
58
74
  readonly exportPath: v.StringSchema<undefined>;
59
75
  }, undefined>;
60
76
  }, undefined>;
61
- export type InputOptionConfigItem = {
77
+ export type InputItem = {
62
78
  id: string;
63
79
  accessorPath: string[];
64
80
  formatter: ModuleExport;
65
81
  };
66
82
  export declare const operationEnrichments: v.ObjectSchema<{
67
- readonly columns: v.ArraySchema<v.ObjectSchema<{
68
- readonly id: v.StringSchema<undefined>;
69
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
70
- readonly formatter: v.ObjectSchema<{
71
- readonly exportName: v.StringSchema<undefined>;
72
- readonly exportPath: v.StringSchema<undefined>;
73
- }, undefined>;
74
- readonly label: v.StringSchema<undefined>;
83
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
84
+ readonly title: v.StringSchema<undefined>;
85
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
86
+ readonly id: v.StringSchema<undefined>;
87
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
88
+ readonly formatter: v.ObjectSchema<{
89
+ readonly exportName: v.StringSchema<undefined>;
90
+ readonly exportPath: v.StringSchema<undefined>;
91
+ }, undefined>;
92
+ readonly label: v.StringSchema<undefined>;
93
+ }, undefined>, undefined>;
75
94
  }, undefined>, undefined>;
76
- readonly form: v.ObjectSchema<{
95
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
77
96
  readonly title: v.StringSchema<undefined>;
78
97
  readonly fields: v.ArraySchema<v.ObjectSchema<{
79
98
  readonly id: v.StringSchema<undefined>;
@@ -85,32 +104,35 @@ export declare const operationEnrichments: v.ObjectSchema<{
85
104
  readonly label: v.StringSchema<undefined>;
86
105
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
87
106
  }, undefined>, undefined>;
88
- }, undefined>;
89
- readonly optionLabel: v.ObjectSchema<{
107
+ }, undefined>, undefined>;
108
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
90
109
  readonly id: v.StringSchema<undefined>;
91
110
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
92
111
  readonly formatter: v.ObjectSchema<{
93
112
  readonly exportName: v.StringSchema<undefined>;
94
113
  readonly exportPath: v.StringSchema<undefined>;
95
114
  }, undefined>;
96
- }, undefined>;
115
+ }, undefined>, undefined>;
97
116
  }, undefined>;
98
117
  export type OperationEnrichments = {
99
- columns: TableColumnItem[];
100
- form: FormItem;
101
- optionLabel: InputOptionConfigItem;
118
+ table?: TableItem;
119
+ form?: FormItem;
120
+ input?: InputItem;
102
121
  };
103
122
  export declare const methodEnrichments: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
104
- readonly columns: v.ArraySchema<v.ObjectSchema<{
105
- readonly id: v.StringSchema<undefined>;
106
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
107
- readonly formatter: v.ObjectSchema<{
108
- readonly exportName: v.StringSchema<undefined>;
109
- readonly exportPath: v.StringSchema<undefined>;
110
- }, undefined>;
111
- readonly label: v.StringSchema<undefined>;
123
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
124
+ readonly title: v.StringSchema<undefined>;
125
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
126
+ readonly id: v.StringSchema<undefined>;
127
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
128
+ readonly formatter: v.ObjectSchema<{
129
+ readonly exportName: v.StringSchema<undefined>;
130
+ readonly exportPath: v.StringSchema<undefined>;
131
+ }, undefined>;
132
+ readonly label: v.StringSchema<undefined>;
133
+ }, undefined>, undefined>;
112
134
  }, undefined>, undefined>;
113
- readonly form: v.ObjectSchema<{
135
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
114
136
  readonly title: v.StringSchema<undefined>;
115
137
  readonly fields: v.ArraySchema<v.ObjectSchema<{
116
138
  readonly id: v.StringSchema<undefined>;
@@ -122,28 +144,31 @@ export declare const methodEnrichments: v.RecordSchema<v.StringSchema<undefined>
122
144
  readonly label: v.StringSchema<undefined>;
123
145
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
124
146
  }, undefined>, undefined>;
125
- }, undefined>;
126
- readonly optionLabel: v.ObjectSchema<{
147
+ }, undefined>, undefined>;
148
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
127
149
  readonly id: v.StringSchema<undefined>;
128
150
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
129
151
  readonly formatter: v.ObjectSchema<{
130
152
  readonly exportName: v.StringSchema<undefined>;
131
153
  readonly exportPath: v.StringSchema<undefined>;
132
154
  }, undefined>;
133
- }, undefined>;
155
+ }, undefined>, undefined>;
134
156
  }, undefined>, undefined>;
135
157
  export type MethodEnrichments = Record<string, OperationEnrichments>;
136
158
  export declare const pathEnrichments: v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
137
- readonly columns: v.ArraySchema<v.ObjectSchema<{
138
- readonly id: v.StringSchema<undefined>;
139
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
140
- readonly formatter: v.ObjectSchema<{
141
- readonly exportName: v.StringSchema<undefined>;
142
- readonly exportPath: v.StringSchema<undefined>;
143
- }, undefined>;
144
- readonly label: v.StringSchema<undefined>;
159
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
160
+ readonly title: v.StringSchema<undefined>;
161
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
162
+ readonly id: v.StringSchema<undefined>;
163
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
164
+ readonly formatter: v.ObjectSchema<{
165
+ readonly exportName: v.StringSchema<undefined>;
166
+ readonly exportPath: v.StringSchema<undefined>;
167
+ }, undefined>;
168
+ readonly label: v.StringSchema<undefined>;
169
+ }, undefined>, undefined>;
145
170
  }, undefined>, undefined>;
146
- readonly form: v.ObjectSchema<{
171
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
147
172
  readonly title: v.StringSchema<undefined>;
148
173
  readonly fields: v.ArraySchema<v.ObjectSchema<{
149
174
  readonly id: v.StringSchema<undefined>;
@@ -155,28 +180,31 @@ export declare const pathEnrichments: v.RecordSchema<v.StringSchema<undefined>,
155
180
  readonly label: v.StringSchema<undefined>;
156
181
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
157
182
  }, undefined>, undefined>;
158
- }, undefined>;
159
- readonly optionLabel: v.ObjectSchema<{
183
+ }, undefined>, undefined>;
184
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
160
185
  readonly id: v.StringSchema<undefined>;
161
186
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
162
187
  readonly formatter: v.ObjectSchema<{
163
188
  readonly exportName: v.StringSchema<undefined>;
164
189
  readonly exportPath: v.StringSchema<undefined>;
165
190
  }, undefined>;
166
- }, undefined>;
191
+ }, undefined>, undefined>;
167
192
  }, undefined>, undefined>, undefined>;
168
193
  export type PathEnrichments = Record<string, MethodEnrichments>;
169
194
  export declare const generatorEnrichments: v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
170
- readonly columns: v.ArraySchema<v.ObjectSchema<{
171
- readonly id: v.StringSchema<undefined>;
172
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
173
- readonly formatter: v.ObjectSchema<{
174
- readonly exportName: v.StringSchema<undefined>;
175
- readonly exportPath: v.StringSchema<undefined>;
176
- }, undefined>;
177
- readonly label: v.StringSchema<undefined>;
195
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
196
+ readonly title: v.StringSchema<undefined>;
197
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
198
+ readonly id: v.StringSchema<undefined>;
199
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
200
+ readonly formatter: v.ObjectSchema<{
201
+ readonly exportName: v.StringSchema<undefined>;
202
+ readonly exportPath: v.StringSchema<undefined>;
203
+ }, undefined>;
204
+ readonly label: v.StringSchema<undefined>;
205
+ }, undefined>, undefined>;
178
206
  }, undefined>, undefined>;
179
- readonly form: v.ObjectSchema<{
207
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
180
208
  readonly title: v.StringSchema<undefined>;
181
209
  readonly fields: v.ArraySchema<v.ObjectSchema<{
182
210
  readonly id: v.StringSchema<undefined>;
@@ -188,15 +216,15 @@ export declare const generatorEnrichments: v.RecordSchema<v.StringSchema<undefin
188
216
  readonly label: v.StringSchema<undefined>;
189
217
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
190
218
  }, undefined>, undefined>;
191
- }, undefined>;
192
- readonly optionLabel: v.ObjectSchema<{
219
+ }, undefined>, undefined>;
220
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
193
221
  readonly id: v.StringSchema<undefined>;
194
222
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
195
223
  readonly formatter: v.ObjectSchema<{
196
224
  readonly exportName: v.StringSchema<undefined>;
197
225
  readonly exportPath: v.StringSchema<undefined>;
198
226
  }, undefined>;
199
- }, undefined>;
227
+ }, undefined>, undefined>;
200
228
  }, undefined>, undefined>, undefined>, undefined>;
201
229
  export type GeneratorEnrichments = Record<string, PathEnrichments>;
202
230
  //# sourceMappingURL=Enrichments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Enrichments.d.ts","sourceRoot":"","sources":["../../src/types/Enrichments.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,aAAa;;;;;;;;;aAMxB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,KAAK,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;aAGnB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,aAAa,EAAE,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;aAK1B,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,SAAS,EAAE,YAAY,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AA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;;;;;;;;;;;;;;;qCAA0C,CAAA;AAEtE,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;AAE/D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAAwC,CAAA;AAEzE,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA"}
@@ -18,15 +18,19 @@ export const tableColumnItem = v.object({
18
18
  formatter: moduleExport,
19
19
  label: v.string()
20
20
  });
21
- export const inputOptionConfigItem = v.object({
21
+ export const tableItem = v.object({
22
+ title: v.string(),
23
+ columns: v.array(tableColumnItem)
24
+ });
25
+ export const inputItem = v.object({
22
26
  id: v.string(),
23
27
  accessorPath: v.array(v.string()),
24
28
  formatter: moduleExport
25
29
  });
26
30
  export const operationEnrichments = v.object({
27
- columns: v.array(tableColumnItem),
28
- form: formItem,
29
- optionLabel: inputOptionConfigItem
31
+ table: v.optional(tableItem),
32
+ form: v.optional(formItem),
33
+ input: v.optional(inputItem)
30
34
  });
31
35
  export const methodEnrichments = v.record(v.string(), operationEnrichments);
32
36
  export const pathEnrichments = v.record(v.string(), methodEnrichments);
@@ -16,16 +16,19 @@ export declare const clientSettings: v.ObjectSchema<{
16
16
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
17
17
  }, undefined>, undefined>, undefined>;
18
18
  readonly enrichments: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
19
- readonly columns: v.ArraySchema<v.ObjectSchema<{
20
- readonly id: v.StringSchema<undefined>;
21
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
22
- readonly formatter: v.ObjectSchema<{
23
- readonly exportName: v.StringSchema<undefined>;
24
- readonly exportPath: v.StringSchema<undefined>;
25
- }, undefined>;
26
- readonly label: v.StringSchema<undefined>;
19
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
20
+ readonly title: v.StringSchema<undefined>;
21
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
22
+ readonly id: v.StringSchema<undefined>;
23
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
24
+ readonly formatter: v.ObjectSchema<{
25
+ readonly exportName: v.StringSchema<undefined>;
26
+ readonly exportPath: v.StringSchema<undefined>;
27
+ }, undefined>;
28
+ readonly label: v.StringSchema<undefined>;
29
+ }, undefined>, undefined>;
27
30
  }, undefined>, undefined>;
28
- readonly form: v.ObjectSchema<{
31
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
29
32
  readonly title: v.StringSchema<undefined>;
30
33
  readonly fields: v.ArraySchema<v.ObjectSchema<{
31
34
  readonly id: v.StringSchema<undefined>;
@@ -37,15 +40,15 @@ export declare const clientSettings: v.ObjectSchema<{
37
40
  readonly label: v.StringSchema<undefined>;
38
41
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
39
42
  }, undefined>, undefined>;
40
- }, undefined>;
41
- readonly optionLabel: v.ObjectSchema<{
43
+ }, undefined>, undefined>;
44
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
42
45
  readonly id: v.StringSchema<undefined>;
43
46
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
44
47
  readonly formatter: v.ObjectSchema<{
45
48
  readonly exportName: v.StringSchema<undefined>;
46
49
  readonly exportPath: v.StringSchema<undefined>;
47
50
  }, undefined>;
48
- }, undefined>;
51
+ }, undefined>, undefined>;
49
52
  }, undefined>, undefined>, undefined>, undefined>, undefined>;
50
53
  }, undefined>;
51
54
  export type ClientSettings = {
@@ -68,16 +71,19 @@ export declare const skmtcClientConfig: v.ObjectSchema<{
68
71
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
69
72
  }, undefined>, undefined>, undefined>;
70
73
  readonly enrichments: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
71
- readonly columns: v.ArraySchema<v.ObjectSchema<{
72
- readonly id: v.StringSchema<undefined>;
73
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
74
- readonly formatter: v.ObjectSchema<{
75
- readonly exportName: v.StringSchema<undefined>;
76
- readonly exportPath: v.StringSchema<undefined>;
77
- }, undefined>;
78
- readonly label: v.StringSchema<undefined>;
74
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
75
+ readonly title: v.StringSchema<undefined>;
76
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
77
+ readonly id: v.StringSchema<undefined>;
78
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
79
+ readonly formatter: v.ObjectSchema<{
80
+ readonly exportName: v.StringSchema<undefined>;
81
+ readonly exportPath: v.StringSchema<undefined>;
82
+ }, undefined>;
83
+ readonly label: v.StringSchema<undefined>;
84
+ }, undefined>, undefined>;
79
85
  }, undefined>, undefined>;
80
- readonly form: v.ObjectSchema<{
86
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
81
87
  readonly title: v.StringSchema<undefined>;
82
88
  readonly fields: v.ArraySchema<v.ObjectSchema<{
83
89
  readonly id: v.StringSchema<undefined>;
@@ -89,15 +95,15 @@ export declare const skmtcClientConfig: v.ObjectSchema<{
89
95
  readonly label: v.StringSchema<undefined>;
90
96
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
91
97
  }, undefined>, undefined>;
92
- }, undefined>;
93
- readonly optionLabel: v.ObjectSchema<{
98
+ }, undefined>, undefined>;
99
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
94
100
  readonly id: v.StringSchema<undefined>;
95
101
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
96
102
  readonly formatter: v.ObjectSchema<{
97
103
  readonly exportName: v.StringSchema<undefined>;
98
104
  readonly exportPath: v.StringSchema<undefined>;
99
105
  }, undefined>;
100
- }, undefined>;
106
+ }, undefined>, undefined>;
101
107
  }, undefined>, undefined>, undefined>, undefined>, undefined>;
102
108
  }, undefined>;
103
109
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../src/types/Settings.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAwB,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAClF,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,aAAa;;;aAGxB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAIzB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAA;IAC1B,WAAW,CAAC,EAAE,oBAAoB,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,cAAc,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAI5B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;aAI3B,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA"}
1
+ {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../src/types/Settings.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAwB,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAClF,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,aAAa;;;aAGxB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAIzB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAA;IAC1B,WAAW,CAAC,EAAE,oBAAoB,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,cAAc,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAI5B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;aAI3B,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skmtc/core",
3
- "version": "0.0.679",
3
+ "version": "0.0.680",
4
4
  "main": "./script/mod.js",
5
5
  "module": "./esm/mod.js",
6
6
  "exports": {
@@ -50,7 +50,23 @@ export type TableColumnItem = {
50
50
  formatter: ModuleExport;
51
51
  label: string;
52
52
  };
53
- export declare const inputOptionConfigItem: v.ObjectSchema<{
53
+ export declare const tableItem: v.ObjectSchema<{
54
+ readonly title: v.StringSchema<undefined>;
55
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
56
+ readonly id: v.StringSchema<undefined>;
57
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
58
+ readonly formatter: v.ObjectSchema<{
59
+ readonly exportName: v.StringSchema<undefined>;
60
+ readonly exportPath: v.StringSchema<undefined>;
61
+ }, undefined>;
62
+ readonly label: v.StringSchema<undefined>;
63
+ }, undefined>, undefined>;
64
+ }, undefined>;
65
+ export type TableItem = {
66
+ title: string;
67
+ columns: TableColumnItem[];
68
+ };
69
+ export declare const inputItem: v.ObjectSchema<{
54
70
  readonly id: v.StringSchema<undefined>;
55
71
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
56
72
  readonly formatter: v.ObjectSchema<{
@@ -58,22 +74,25 @@ export declare const inputOptionConfigItem: v.ObjectSchema<{
58
74
  readonly exportPath: v.StringSchema<undefined>;
59
75
  }, undefined>;
60
76
  }, undefined>;
61
- export type InputOptionConfigItem = {
77
+ export type InputItem = {
62
78
  id: string;
63
79
  accessorPath: string[];
64
80
  formatter: ModuleExport;
65
81
  };
66
82
  export declare const operationEnrichments: v.ObjectSchema<{
67
- readonly columns: v.ArraySchema<v.ObjectSchema<{
68
- readonly id: v.StringSchema<undefined>;
69
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
70
- readonly formatter: v.ObjectSchema<{
71
- readonly exportName: v.StringSchema<undefined>;
72
- readonly exportPath: v.StringSchema<undefined>;
73
- }, undefined>;
74
- readonly label: v.StringSchema<undefined>;
83
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
84
+ readonly title: v.StringSchema<undefined>;
85
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
86
+ readonly id: v.StringSchema<undefined>;
87
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
88
+ readonly formatter: v.ObjectSchema<{
89
+ readonly exportName: v.StringSchema<undefined>;
90
+ readonly exportPath: v.StringSchema<undefined>;
91
+ }, undefined>;
92
+ readonly label: v.StringSchema<undefined>;
93
+ }, undefined>, undefined>;
75
94
  }, undefined>, undefined>;
76
- readonly form: v.ObjectSchema<{
95
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
77
96
  readonly title: v.StringSchema<undefined>;
78
97
  readonly fields: v.ArraySchema<v.ObjectSchema<{
79
98
  readonly id: v.StringSchema<undefined>;
@@ -85,32 +104,35 @@ export declare const operationEnrichments: v.ObjectSchema<{
85
104
  readonly label: v.StringSchema<undefined>;
86
105
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
87
106
  }, undefined>, undefined>;
88
- }, undefined>;
89
- readonly optionLabel: v.ObjectSchema<{
107
+ }, undefined>, undefined>;
108
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
90
109
  readonly id: v.StringSchema<undefined>;
91
110
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
92
111
  readonly formatter: v.ObjectSchema<{
93
112
  readonly exportName: v.StringSchema<undefined>;
94
113
  readonly exportPath: v.StringSchema<undefined>;
95
114
  }, undefined>;
96
- }, undefined>;
115
+ }, undefined>, undefined>;
97
116
  }, undefined>;
98
117
  export type OperationEnrichments = {
99
- columns: TableColumnItem[];
100
- form: FormItem;
101
- optionLabel: InputOptionConfigItem;
118
+ table?: TableItem;
119
+ form?: FormItem;
120
+ input?: InputItem;
102
121
  };
103
122
  export declare const methodEnrichments: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
104
- readonly columns: v.ArraySchema<v.ObjectSchema<{
105
- readonly id: v.StringSchema<undefined>;
106
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
107
- readonly formatter: v.ObjectSchema<{
108
- readonly exportName: v.StringSchema<undefined>;
109
- readonly exportPath: v.StringSchema<undefined>;
110
- }, undefined>;
111
- readonly label: v.StringSchema<undefined>;
123
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
124
+ readonly title: v.StringSchema<undefined>;
125
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
126
+ readonly id: v.StringSchema<undefined>;
127
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
128
+ readonly formatter: v.ObjectSchema<{
129
+ readonly exportName: v.StringSchema<undefined>;
130
+ readonly exportPath: v.StringSchema<undefined>;
131
+ }, undefined>;
132
+ readonly label: v.StringSchema<undefined>;
133
+ }, undefined>, undefined>;
112
134
  }, undefined>, undefined>;
113
- readonly form: v.ObjectSchema<{
135
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
114
136
  readonly title: v.StringSchema<undefined>;
115
137
  readonly fields: v.ArraySchema<v.ObjectSchema<{
116
138
  readonly id: v.StringSchema<undefined>;
@@ -122,28 +144,31 @@ export declare const methodEnrichments: v.RecordSchema<v.StringSchema<undefined>
122
144
  readonly label: v.StringSchema<undefined>;
123
145
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
124
146
  }, undefined>, undefined>;
125
- }, undefined>;
126
- readonly optionLabel: v.ObjectSchema<{
147
+ }, undefined>, undefined>;
148
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
127
149
  readonly id: v.StringSchema<undefined>;
128
150
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
129
151
  readonly formatter: v.ObjectSchema<{
130
152
  readonly exportName: v.StringSchema<undefined>;
131
153
  readonly exportPath: v.StringSchema<undefined>;
132
154
  }, undefined>;
133
- }, undefined>;
155
+ }, undefined>, undefined>;
134
156
  }, undefined>, undefined>;
135
157
  export type MethodEnrichments = Record<string, OperationEnrichments>;
136
158
  export declare const pathEnrichments: v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
137
- readonly columns: v.ArraySchema<v.ObjectSchema<{
138
- readonly id: v.StringSchema<undefined>;
139
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
140
- readonly formatter: v.ObjectSchema<{
141
- readonly exportName: v.StringSchema<undefined>;
142
- readonly exportPath: v.StringSchema<undefined>;
143
- }, undefined>;
144
- readonly label: v.StringSchema<undefined>;
159
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
160
+ readonly title: v.StringSchema<undefined>;
161
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
162
+ readonly id: v.StringSchema<undefined>;
163
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
164
+ readonly formatter: v.ObjectSchema<{
165
+ readonly exportName: v.StringSchema<undefined>;
166
+ readonly exportPath: v.StringSchema<undefined>;
167
+ }, undefined>;
168
+ readonly label: v.StringSchema<undefined>;
169
+ }, undefined>, undefined>;
145
170
  }, undefined>, undefined>;
146
- readonly form: v.ObjectSchema<{
171
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
147
172
  readonly title: v.StringSchema<undefined>;
148
173
  readonly fields: v.ArraySchema<v.ObjectSchema<{
149
174
  readonly id: v.StringSchema<undefined>;
@@ -155,28 +180,31 @@ export declare const pathEnrichments: v.RecordSchema<v.StringSchema<undefined>,
155
180
  readonly label: v.StringSchema<undefined>;
156
181
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
157
182
  }, undefined>, undefined>;
158
- }, undefined>;
159
- readonly optionLabel: v.ObjectSchema<{
183
+ }, undefined>, undefined>;
184
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
160
185
  readonly id: v.StringSchema<undefined>;
161
186
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
162
187
  readonly formatter: v.ObjectSchema<{
163
188
  readonly exportName: v.StringSchema<undefined>;
164
189
  readonly exportPath: v.StringSchema<undefined>;
165
190
  }, undefined>;
166
- }, undefined>;
191
+ }, undefined>, undefined>;
167
192
  }, undefined>, undefined>, undefined>;
168
193
  export type PathEnrichments = Record<string, MethodEnrichments>;
169
194
  export declare const generatorEnrichments: v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
170
- readonly columns: v.ArraySchema<v.ObjectSchema<{
171
- readonly id: v.StringSchema<undefined>;
172
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
173
- readonly formatter: v.ObjectSchema<{
174
- readonly exportName: v.StringSchema<undefined>;
175
- readonly exportPath: v.StringSchema<undefined>;
176
- }, undefined>;
177
- readonly label: v.StringSchema<undefined>;
195
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
196
+ readonly title: v.StringSchema<undefined>;
197
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
198
+ readonly id: v.StringSchema<undefined>;
199
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
200
+ readonly formatter: v.ObjectSchema<{
201
+ readonly exportName: v.StringSchema<undefined>;
202
+ readonly exportPath: v.StringSchema<undefined>;
203
+ }, undefined>;
204
+ readonly label: v.StringSchema<undefined>;
205
+ }, undefined>, undefined>;
178
206
  }, undefined>, undefined>;
179
- readonly form: v.ObjectSchema<{
207
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
180
208
  readonly title: v.StringSchema<undefined>;
181
209
  readonly fields: v.ArraySchema<v.ObjectSchema<{
182
210
  readonly id: v.StringSchema<undefined>;
@@ -188,15 +216,15 @@ export declare const generatorEnrichments: v.RecordSchema<v.StringSchema<undefin
188
216
  readonly label: v.StringSchema<undefined>;
189
217
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
190
218
  }, undefined>, undefined>;
191
- }, undefined>;
192
- readonly optionLabel: v.ObjectSchema<{
219
+ }, undefined>, undefined>;
220
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
193
221
  readonly id: v.StringSchema<undefined>;
194
222
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
195
223
  readonly formatter: v.ObjectSchema<{
196
224
  readonly exportName: v.StringSchema<undefined>;
197
225
  readonly exportPath: v.StringSchema<undefined>;
198
226
  }, undefined>;
199
- }, undefined>;
227
+ }, undefined>, undefined>;
200
228
  }, undefined>, undefined>, undefined>, undefined>;
201
229
  export type GeneratorEnrichments = Record<string, PathEnrichments>;
202
230
  //# sourceMappingURL=Enrichments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Enrichments.d.ts","sourceRoot":"","sources":["../../src/types/Enrichments.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,aAAa;;;;;;;;;aAMxB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,KAAK,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;aAGnB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,aAAa,EAAE,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;aAK1B,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,SAAS,EAAE,YAAY,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;aAIhC,CAAA;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,SAAS,EAAE,YAAY,CAAA;CACxB,CAAA;AAED,eAAO,MAA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MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA"}
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.generatorEnrichments = exports.pathEnrichments = exports.methodEnrichments = exports.operationEnrichments = exports.inputOptionConfigItem = exports.tableColumnItem = exports.formItem = exports.formFieldItem = void 0;
36
+ exports.generatorEnrichments = exports.pathEnrichments = exports.methodEnrichments = exports.operationEnrichments = exports.inputItem = exports.tableItem = exports.tableColumnItem = exports.formItem = exports.formFieldItem = void 0;
37
37
  require("../_dnt.polyfills.js");
38
38
  const ModuleExport_js_1 = require("./ModuleExport.js");
39
39
  const v = __importStar(require("valibot"));
@@ -54,15 +54,19 @@ exports.tableColumnItem = v.object({
54
54
  formatter: ModuleExport_js_1.moduleExport,
55
55
  label: v.string()
56
56
  });
57
- exports.inputOptionConfigItem = v.object({
57
+ exports.tableItem = v.object({
58
+ title: v.string(),
59
+ columns: v.array(exports.tableColumnItem)
60
+ });
61
+ exports.inputItem = v.object({
58
62
  id: v.string(),
59
63
  accessorPath: v.array(v.string()),
60
64
  formatter: ModuleExport_js_1.moduleExport
61
65
  });
62
66
  exports.operationEnrichments = v.object({
63
- columns: v.array(exports.tableColumnItem),
64
- form: exports.formItem,
65
- optionLabel: exports.inputOptionConfigItem
67
+ table: v.optional(exports.tableItem),
68
+ form: v.optional(exports.formItem),
69
+ input: v.optional(exports.inputItem)
66
70
  });
67
71
  exports.methodEnrichments = v.record(v.string(), exports.operationEnrichments);
68
72
  exports.pathEnrichments = v.record(v.string(), exports.methodEnrichments);
@@ -16,16 +16,19 @@ export declare const clientSettings: v.ObjectSchema<{
16
16
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
17
17
  }, undefined>, undefined>, undefined>;
18
18
  readonly enrichments: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
19
- readonly columns: v.ArraySchema<v.ObjectSchema<{
20
- readonly id: v.StringSchema<undefined>;
21
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
22
- readonly formatter: v.ObjectSchema<{
23
- readonly exportName: v.StringSchema<undefined>;
24
- readonly exportPath: v.StringSchema<undefined>;
25
- }, undefined>;
26
- readonly label: v.StringSchema<undefined>;
19
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
20
+ readonly title: v.StringSchema<undefined>;
21
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
22
+ readonly id: v.StringSchema<undefined>;
23
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
24
+ readonly formatter: v.ObjectSchema<{
25
+ readonly exportName: v.StringSchema<undefined>;
26
+ readonly exportPath: v.StringSchema<undefined>;
27
+ }, undefined>;
28
+ readonly label: v.StringSchema<undefined>;
29
+ }, undefined>, undefined>;
27
30
  }, undefined>, undefined>;
28
- readonly form: v.ObjectSchema<{
31
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
29
32
  readonly title: v.StringSchema<undefined>;
30
33
  readonly fields: v.ArraySchema<v.ObjectSchema<{
31
34
  readonly id: v.StringSchema<undefined>;
@@ -37,15 +40,15 @@ export declare const clientSettings: v.ObjectSchema<{
37
40
  readonly label: v.StringSchema<undefined>;
38
41
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
39
42
  }, undefined>, undefined>;
40
- }, undefined>;
41
- readonly optionLabel: v.ObjectSchema<{
43
+ }, undefined>, undefined>;
44
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
42
45
  readonly id: v.StringSchema<undefined>;
43
46
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
44
47
  readonly formatter: v.ObjectSchema<{
45
48
  readonly exportName: v.StringSchema<undefined>;
46
49
  readonly exportPath: v.StringSchema<undefined>;
47
50
  }, undefined>;
48
- }, undefined>;
51
+ }, undefined>, undefined>;
49
52
  }, undefined>, undefined>, undefined>, undefined>, undefined>;
50
53
  }, undefined>;
51
54
  export type ClientSettings = {
@@ -68,16 +71,19 @@ export declare const skmtcClientConfig: v.ObjectSchema<{
68
71
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
69
72
  }, undefined>, undefined>, undefined>;
70
73
  readonly enrichments: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
71
- readonly columns: v.ArraySchema<v.ObjectSchema<{
72
- readonly id: v.StringSchema<undefined>;
73
- readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
74
- readonly formatter: v.ObjectSchema<{
75
- readonly exportName: v.StringSchema<undefined>;
76
- readonly exportPath: v.StringSchema<undefined>;
77
- }, undefined>;
78
- readonly label: v.StringSchema<undefined>;
74
+ readonly table: v.OptionalSchema<v.ObjectSchema<{
75
+ readonly title: v.StringSchema<undefined>;
76
+ readonly columns: v.ArraySchema<v.ObjectSchema<{
77
+ readonly id: v.StringSchema<undefined>;
78
+ readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
79
+ readonly formatter: v.ObjectSchema<{
80
+ readonly exportName: v.StringSchema<undefined>;
81
+ readonly exportPath: v.StringSchema<undefined>;
82
+ }, undefined>;
83
+ readonly label: v.StringSchema<undefined>;
84
+ }, undefined>, undefined>;
79
85
  }, undefined>, undefined>;
80
- readonly form: v.ObjectSchema<{
86
+ readonly form: v.OptionalSchema<v.ObjectSchema<{
81
87
  readonly title: v.StringSchema<undefined>;
82
88
  readonly fields: v.ArraySchema<v.ObjectSchema<{
83
89
  readonly id: v.StringSchema<undefined>;
@@ -89,15 +95,15 @@ export declare const skmtcClientConfig: v.ObjectSchema<{
89
95
  readonly label: v.StringSchema<undefined>;
90
96
  readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
91
97
  }, undefined>, undefined>;
92
- }, undefined>;
93
- readonly optionLabel: v.ObjectSchema<{
98
+ }, undefined>, undefined>;
99
+ readonly input: v.OptionalSchema<v.ObjectSchema<{
94
100
  readonly id: v.StringSchema<undefined>;
95
101
  readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
96
102
  readonly formatter: v.ObjectSchema<{
97
103
  readonly exportName: v.StringSchema<undefined>;
98
104
  readonly exportPath: v.StringSchema<undefined>;
99
105
  }, undefined>;
100
- }, undefined>;
106
+ }, undefined>, undefined>;
101
107
  }, undefined>, undefined>, undefined>, undefined>, undefined>;
102
108
  }, undefined>;
103
109
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../src/types/Settings.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAwB,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAClF,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,aAAa;;;aAGxB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAIzB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAA;IAC1B,WAAW,CAAC,EAAE,oBAAoB,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,cAAc,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;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