@skmtc/core 0.0.678 → 0.0.679
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/types/Settings.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "../_dnt.polyfills.js";
|
|
2
|
+
import { type GeneratorEnrichments } from './Enrichments.js';
|
|
2
3
|
import * as v from 'valibot';
|
|
3
4
|
export declare const modulePackage: v.ObjectSchema<{
|
|
4
5
|
readonly rootPath: v.StringSchema<undefined>;
|
|
@@ -14,12 +15,43 @@ export declare const clientSettings: v.ObjectSchema<{
|
|
|
14
15
|
readonly rootPath: v.StringSchema<undefined>;
|
|
15
16
|
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
16
17
|
}, undefined>, undefined>, undefined>;
|
|
17
|
-
readonly enrichments: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.
|
|
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>;
|
|
27
|
+
}, undefined>, undefined>;
|
|
28
|
+
readonly form: v.ObjectSchema<{
|
|
29
|
+
readonly title: v.StringSchema<undefined>;
|
|
30
|
+
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
31
|
+
readonly id: v.StringSchema<undefined>;
|
|
32
|
+
readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
33
|
+
readonly input: v.ObjectSchema<{
|
|
34
|
+
readonly exportName: v.StringSchema<undefined>;
|
|
35
|
+
readonly exportPath: v.StringSchema<undefined>;
|
|
36
|
+
}, undefined>;
|
|
37
|
+
readonly label: v.StringSchema<undefined>;
|
|
38
|
+
readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
39
|
+
}, undefined>, undefined>;
|
|
40
|
+
}, undefined>;
|
|
41
|
+
readonly optionLabel: v.ObjectSchema<{
|
|
42
|
+
readonly id: v.StringSchema<undefined>;
|
|
43
|
+
readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
44
|
+
readonly formatter: v.ObjectSchema<{
|
|
45
|
+
readonly exportName: v.StringSchema<undefined>;
|
|
46
|
+
readonly exportPath: v.StringSchema<undefined>;
|
|
47
|
+
}, undefined>;
|
|
48
|
+
}, undefined>;
|
|
49
|
+
}, undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
18
50
|
}, undefined>;
|
|
19
51
|
export type ClientSettings = {
|
|
20
52
|
basePath?: string;
|
|
21
53
|
packages?: ModulePackage[];
|
|
22
|
-
enrichments?:
|
|
54
|
+
enrichments?: GeneratorEnrichments;
|
|
23
55
|
};
|
|
24
56
|
export type SkmtcClientConfig = {
|
|
25
57
|
accountName?: string;
|
|
@@ -35,7 +67,38 @@ export declare const skmtcClientConfig: v.ObjectSchema<{
|
|
|
35
67
|
readonly rootPath: v.StringSchema<undefined>;
|
|
36
68
|
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
37
69
|
}, undefined>, undefined>, undefined>;
|
|
38
|
-
readonly enrichments: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.
|
|
70
|
+
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>;
|
|
79
|
+
}, undefined>, undefined>;
|
|
80
|
+
readonly form: v.ObjectSchema<{
|
|
81
|
+
readonly title: v.StringSchema<undefined>;
|
|
82
|
+
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
83
|
+
readonly id: v.StringSchema<undefined>;
|
|
84
|
+
readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
85
|
+
readonly input: v.ObjectSchema<{
|
|
86
|
+
readonly exportName: v.StringSchema<undefined>;
|
|
87
|
+
readonly exportPath: v.StringSchema<undefined>;
|
|
88
|
+
}, undefined>;
|
|
89
|
+
readonly label: v.StringSchema<undefined>;
|
|
90
|
+
readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
91
|
+
}, undefined>, undefined>;
|
|
92
|
+
}, undefined>;
|
|
93
|
+
readonly optionLabel: v.ObjectSchema<{
|
|
94
|
+
readonly id: v.StringSchema<undefined>;
|
|
95
|
+
readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
96
|
+
readonly formatter: v.ObjectSchema<{
|
|
97
|
+
readonly exportName: v.StringSchema<undefined>;
|
|
98
|
+
readonly exportPath: v.StringSchema<undefined>;
|
|
99
|
+
}, undefined>;
|
|
100
|
+
}, undefined>;
|
|
101
|
+
}, undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
39
102
|
}, undefined>;
|
|
40
103
|
}, undefined>;
|
|
41
104
|
export declare const skmtcStackConfig: v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../src/types/Settings.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,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
|
|
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/esm/types/Settings.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "../_dnt.polyfills.js";
|
|
2
|
+
import { generatorEnrichments } from './Enrichments.js';
|
|
2
3
|
import * as v from 'valibot';
|
|
3
4
|
export const modulePackage = v.object({
|
|
4
5
|
rootPath: v.string(),
|
|
@@ -7,7 +8,7 @@ export const modulePackage = v.object({
|
|
|
7
8
|
export const clientSettings = v.object({
|
|
8
9
|
basePath: v.optional(v.string()),
|
|
9
10
|
packages: v.optional(v.array(modulePackage)),
|
|
10
|
-
enrichments: v.optional(
|
|
11
|
+
enrichments: v.optional(generatorEnrichments)
|
|
11
12
|
});
|
|
12
13
|
export const skmtcClientConfig = v.object({
|
|
13
14
|
accountName: v.optional(v.string()),
|
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "../_dnt.polyfills.js";
|
|
2
|
+
import { type GeneratorEnrichments } from './Enrichments.js';
|
|
2
3
|
import * as v from 'valibot';
|
|
3
4
|
export declare const modulePackage: v.ObjectSchema<{
|
|
4
5
|
readonly rootPath: v.StringSchema<undefined>;
|
|
@@ -14,12 +15,43 @@ export declare const clientSettings: v.ObjectSchema<{
|
|
|
14
15
|
readonly rootPath: v.StringSchema<undefined>;
|
|
15
16
|
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
16
17
|
}, undefined>, undefined>, undefined>;
|
|
17
|
-
readonly enrichments: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.
|
|
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>;
|
|
27
|
+
}, undefined>, undefined>;
|
|
28
|
+
readonly form: v.ObjectSchema<{
|
|
29
|
+
readonly title: v.StringSchema<undefined>;
|
|
30
|
+
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
31
|
+
readonly id: v.StringSchema<undefined>;
|
|
32
|
+
readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
33
|
+
readonly input: v.ObjectSchema<{
|
|
34
|
+
readonly exportName: v.StringSchema<undefined>;
|
|
35
|
+
readonly exportPath: v.StringSchema<undefined>;
|
|
36
|
+
}, undefined>;
|
|
37
|
+
readonly label: v.StringSchema<undefined>;
|
|
38
|
+
readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
39
|
+
}, undefined>, undefined>;
|
|
40
|
+
}, undefined>;
|
|
41
|
+
readonly optionLabel: v.ObjectSchema<{
|
|
42
|
+
readonly id: v.StringSchema<undefined>;
|
|
43
|
+
readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
44
|
+
readonly formatter: v.ObjectSchema<{
|
|
45
|
+
readonly exportName: v.StringSchema<undefined>;
|
|
46
|
+
readonly exportPath: v.StringSchema<undefined>;
|
|
47
|
+
}, undefined>;
|
|
48
|
+
}, undefined>;
|
|
49
|
+
}, undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
18
50
|
}, undefined>;
|
|
19
51
|
export type ClientSettings = {
|
|
20
52
|
basePath?: string;
|
|
21
53
|
packages?: ModulePackage[];
|
|
22
|
-
enrichments?:
|
|
54
|
+
enrichments?: GeneratorEnrichments;
|
|
23
55
|
};
|
|
24
56
|
export type SkmtcClientConfig = {
|
|
25
57
|
accountName?: string;
|
|
@@ -35,7 +67,38 @@ export declare const skmtcClientConfig: v.ObjectSchema<{
|
|
|
35
67
|
readonly rootPath: v.StringSchema<undefined>;
|
|
36
68
|
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
37
69
|
}, undefined>, undefined>, undefined>;
|
|
38
|
-
readonly enrichments: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.
|
|
70
|
+
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>;
|
|
79
|
+
}, undefined>, undefined>;
|
|
80
|
+
readonly form: v.ObjectSchema<{
|
|
81
|
+
readonly title: v.StringSchema<undefined>;
|
|
82
|
+
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
83
|
+
readonly id: v.StringSchema<undefined>;
|
|
84
|
+
readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
85
|
+
readonly input: v.ObjectSchema<{
|
|
86
|
+
readonly exportName: v.StringSchema<undefined>;
|
|
87
|
+
readonly exportPath: v.StringSchema<undefined>;
|
|
88
|
+
}, undefined>;
|
|
89
|
+
readonly label: v.StringSchema<undefined>;
|
|
90
|
+
readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
91
|
+
}, undefined>, undefined>;
|
|
92
|
+
}, undefined>;
|
|
93
|
+
readonly optionLabel: v.ObjectSchema<{
|
|
94
|
+
readonly id: v.StringSchema<undefined>;
|
|
95
|
+
readonly accessorPath: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
96
|
+
readonly formatter: v.ObjectSchema<{
|
|
97
|
+
readonly exportName: v.StringSchema<undefined>;
|
|
98
|
+
readonly exportPath: v.StringSchema<undefined>;
|
|
99
|
+
}, undefined>;
|
|
100
|
+
}, undefined>;
|
|
101
|
+
}, undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
39
102
|
}, undefined>;
|
|
40
103
|
}, undefined>;
|
|
41
104
|
export declare const skmtcStackConfig: v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../src/types/Settings.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,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
|
|
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/script/types/Settings.js
CHANGED
|
@@ -35,6 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.skmtcStackConfig = exports.skmtcClientConfig = exports.clientSettings = exports.modulePackage = void 0;
|
|
37
37
|
require("../_dnt.polyfills.js");
|
|
38
|
+
const Enrichments_js_1 = require("./Enrichments.js");
|
|
38
39
|
const v = __importStar(require("valibot"));
|
|
39
40
|
exports.modulePackage = v.object({
|
|
40
41
|
rootPath: v.string(),
|
|
@@ -43,7 +44,7 @@ exports.modulePackage = v.object({
|
|
|
43
44
|
exports.clientSettings = v.object({
|
|
44
45
|
basePath: v.optional(v.string()),
|
|
45
46
|
packages: v.optional(v.array(exports.modulePackage)),
|
|
46
|
-
enrichments: v.optional(
|
|
47
|
+
enrichments: v.optional(Enrichments_js_1.generatorEnrichments)
|
|
47
48
|
});
|
|
48
49
|
exports.skmtcClientConfig = v.object({
|
|
49
50
|
accountName: v.optional(v.string()),
|