@storm-software/untyped 0.22.7 → 0.22.8
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/bin/untyped.cjs +2 -2
- package/bin/untyped.js +2 -2
- package/dist/{chunk-BJ6SVM2E.js → chunk-B26HJOXF.js} +1 -1
- package/dist/{chunk-JI46OGEO.js → chunk-C6AJJTVS.js} +2 -2
- package/dist/{chunk-LHEMJ6IS.cjs → chunk-CXW3JZSH.cjs} +2 -2
- package/dist/chunk-FGS7VZLO.cjs +6 -0
- package/dist/{chunk-2J7OIEFZ.js → chunk-IPDQQ6HY.js} +2 -2
- package/dist/{chunk-CXLHG65F.cjs → chunk-JCJQ4BLO.cjs} +17 -17
- package/dist/{chunk-3WMJUUN6.js → chunk-JV3PRQV2.js} +2 -2
- package/dist/{chunk-SWEAUQFP.cjs → chunk-NLD5AJGJ.cjs} +6 -6
- package/dist/{chunk-4J7EWWDE.cjs → chunk-OCMBULYZ.cjs} +6 -6
- package/dist/{chunk-3KEFAE5M.js → chunk-PME5YG7U.js} +2 -2
- package/dist/{chunk-LUXIIKNH.js → chunk-TAT2SQV2.js} +1 -1
- package/dist/{chunk-D7AD543C.cjs → chunk-TZULROJ5.cjs} +6 -6
- package/dist/{chunk-43FWSHY7.cjs → chunk-WABJAWTZ.cjs} +32 -32
- package/dist/{chunk-E7JPIYDH.js → chunk-WBOENAND.js} +5 -5
- package/dist/generate.cjs +7 -7
- package/dist/generate.js +6 -6
- package/dist/index.cjs +9 -9
- package/dist/index.js +7 -7
- package/dist/utilities.cjs +2 -2
- package/dist/utilities.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-3EPBXHMO.cjs +0 -6
- package/dist/types-D6xEA_pB.d.cts +0 -230
- package/dist/types-D6xEA_pB.d.ts +0 -230
package/bin/untyped.cjs
CHANGED
|
@@ -32,10 +32,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
32
|
mod
|
|
33
33
|
));
|
|
34
34
|
|
|
35
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
35
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__36e205425e4a551755fc84e115d00745/node_modules/tsup/assets/cjs_shims.js
|
|
36
36
|
var getImportMetaUrl, importMetaUrl;
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__36e205425e4a551755fc84e115d00745/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
40
40
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
41
41
|
}
|
package/bin/untyped.js
CHANGED
|
@@ -38,9 +38,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
mod
|
|
39
39
|
));
|
|
40
40
|
|
|
41
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
41
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__36e205425e4a551755fc84e115d00745/node_modules/tsup/assets/esm_shims.js
|
|
42
42
|
var init_esm_shims = __esm({
|
|
43
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
43
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__36e205425e4a551755fc84e115d00745/node_modules/tsup/assets/esm_shims.js"() {
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TAT2SQV2.js";
|
|
5
5
|
import {
|
|
6
6
|
getOutputFile,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PME5YG7U.js";
|
|
9
9
|
|
|
10
10
|
// src/generators/json-schema.ts
|
|
11
11
|
init_esm_shims();
|
|
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
mod
|
|
34
34
|
));
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__36e205425e4a551755fc84e115d00745/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__36e205425e4a551755fc84e115d00745/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TAT2SQV2.js";
|
|
5
5
|
import {
|
|
6
6
|
getOutputFile,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PME5YG7U.js";
|
|
9
9
|
|
|
10
10
|
// src/generators/markdown.ts
|
|
11
11
|
init_esm_shims();
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNLD5AJGJcjs = require('./chunk-NLD5AJGJ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkTZULROJ5cjs = require('./chunk-TZULROJ5.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkOCMBULYZcjs = require('./chunk-OCMBULYZ.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkWABJAWTZcjs = require('./chunk-WABJAWTZ.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkCXW3JZSHcjs = require('./chunk-CXW3JZSH.cjs');
|
|
18
18
|
|
|
19
19
|
// src/generate.ts
|
|
20
|
-
|
|
20
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
21
21
|
var _glob = require('glob');
|
|
22
22
|
var _loader = require('untyped/loader');
|
|
23
23
|
var getGenerateAction = (config) => async (options) => {
|
|
24
|
-
|
|
24
|
+
_chunkWABJAWTZcjs.writeTrace.call(void 0,
|
|
25
25
|
`Running Storm Untyped with options: ${JSON.stringify(options)}`,
|
|
26
26
|
config
|
|
27
27
|
);
|
|
@@ -40,16 +40,16 @@ var getGenerateAction = (config) => async (options) => {
|
|
|
40
40
|
});
|
|
41
41
|
await Promise.all(
|
|
42
42
|
files.map(async (file) => {
|
|
43
|
-
|
|
44
|
-
`Generating files for schema file: ${
|
|
43
|
+
_chunkWABJAWTZcjs.writeTrace.call(void 0,
|
|
44
|
+
`Generating files for schema file: ${_chunkCXW3JZSHcjs.joinPaths.call(void 0, file.parentPath, file.name)}`,
|
|
45
45
|
config
|
|
46
46
|
);
|
|
47
47
|
let schema;
|
|
48
48
|
try {
|
|
49
|
-
schema = await _loader.loadSchema.call(void 0,
|
|
49
|
+
schema = await _loader.loadSchema.call(void 0, _chunkCXW3JZSHcjs.joinPaths.call(void 0, file.parentPath, file.name), {
|
|
50
50
|
jiti: {
|
|
51
|
-
fsCache: config.skipCache ? false :
|
|
52
|
-
config.directories.cache ||
|
|
51
|
+
fsCache: config.skipCache ? false : _chunkCXW3JZSHcjs.joinPaths.call(void 0,
|
|
52
|
+
config.directories.cache || _chunkCXW3JZSHcjs.joinPaths.call(void 0,
|
|
53
53
|
config.workspaceRoot,
|
|
54
54
|
"node_modules/.cache/storm"
|
|
55
55
|
),
|
|
@@ -59,8 +59,8 @@ var getGenerateAction = (config) => async (options) => {
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
} catch (error) {
|
|
62
|
-
|
|
63
|
-
`Error while parsing schema file: ${
|
|
62
|
+
_chunkWABJAWTZcjs.writeError.call(void 0,
|
|
63
|
+
`Error while parsing schema file: ${_chunkCXW3JZSHcjs.joinPaths.call(void 0, file.parentPath, file.name)}
|
|
64
64
|
|
|
65
65
|
Error:
|
|
66
66
|
${_optionalChain([error, 'optionalAccess', _ => _.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _2 => _2.stack]) ? `
|
|
@@ -74,9 +74,9 @@ ${JSON.stringify(schema)}
|
|
|
74
74
|
throw error;
|
|
75
75
|
}
|
|
76
76
|
const promises = [];
|
|
77
|
-
promises.push(
|
|
78
|
-
promises.push(
|
|
79
|
-
promises.push(
|
|
77
|
+
promises.push(_chunkNLD5AJGJcjs.generateDeclarationFile.call(void 0, schema, file, config));
|
|
78
|
+
promises.push(_chunkOCMBULYZcjs.generateMarkdownFile.call(void 0, schema, file, config));
|
|
79
|
+
promises.push(_chunkTZULROJ5cjs.generateJsonSchemaFile.call(void 0, schema, file, config));
|
|
80
80
|
return Promise.all(promises);
|
|
81
81
|
})
|
|
82
82
|
);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TAT2SQV2.js";
|
|
5
5
|
import {
|
|
6
6
|
getOutputFile,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PME5YG7U.js";
|
|
9
9
|
|
|
10
10
|
// src/generators/dts.ts
|
|
11
11
|
init_esm_shims();
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWABJAWTZcjs = require('./chunk-WABJAWTZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkCXW3JZSHcjs = require('./chunk-CXW3JZSH.cjs');
|
|
9
9
|
|
|
10
10
|
// src/generators/dts.ts
|
|
11
|
-
|
|
11
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
var _promises = require('fs/promises');
|
|
13
13
|
var _untyped = require('untyped');
|
|
14
14
|
function generateDeclaration(schema) {
|
|
@@ -26,11 +26,11 @@ ${_untyped.generateTypes.call(void 0, schema, {
|
|
|
26
26
|
}
|
|
27
27
|
function generateDeclarationFile(schema, file, config) {
|
|
28
28
|
try {
|
|
29
|
-
const declarations =
|
|
30
|
-
|
|
29
|
+
const declarations = _chunkCXW3JZSHcjs.getOutputFile.call(void 0, file, "d.ts");
|
|
30
|
+
_chunkWABJAWTZcjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
|
|
31
31
|
return _promises.writeFile.call(void 0, declarations, generateDeclaration(schema));
|
|
32
32
|
} catch (error) {
|
|
33
|
-
|
|
33
|
+
_chunkWABJAWTZcjs.writeError.call(void 0,
|
|
34
34
|
`Error writing declaration file for ${file.name}
|
|
35
35
|
|
|
36
36
|
Error:
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWABJAWTZcjs = require('./chunk-WABJAWTZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkCXW3JZSHcjs = require('./chunk-CXW3JZSH.cjs');
|
|
9
9
|
|
|
10
10
|
// src/generators/markdown.ts
|
|
11
|
-
|
|
11
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
var _promises = require('fs/promises');
|
|
13
13
|
function generateMarkdown(schema) {
|
|
14
14
|
return `
|
|
@@ -46,11 +46,11 @@ function generateMarkdownLevel(schema, title, level) {
|
|
|
46
46
|
}
|
|
47
47
|
function generateMarkdownFile(schema, file, config) {
|
|
48
48
|
try {
|
|
49
|
-
const declarations =
|
|
50
|
-
|
|
49
|
+
const declarations = _chunkCXW3JZSHcjs.getOutputFile.call(void 0, file, "md");
|
|
50
|
+
_chunkWABJAWTZcjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
|
|
51
51
|
return _promises.writeFile.call(void 0, declarations, generateMarkdown(schema));
|
|
52
52
|
} catch (error) {
|
|
53
|
-
|
|
53
|
+
_chunkWABJAWTZcjs.writeError.call(void 0,
|
|
54
54
|
`Error writing markdown file for ${file.name}
|
|
55
55
|
|
|
56
56
|
Error:
|
|
@@ -27,9 +27,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
mod
|
|
28
28
|
));
|
|
29
29
|
|
|
30
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__36e205425e4a551755fc84e115d00745/node_modules/tsup/assets/esm_shims.js
|
|
31
31
|
var init_esm_shims = __esm({
|
|
32
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
32
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__36e205425e4a551755fc84e115d00745/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWABJAWTZcjs = require('./chunk-WABJAWTZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkCXW3JZSHcjs = require('./chunk-CXW3JZSH.cjs');
|
|
9
9
|
|
|
10
10
|
// src/generators/json-schema.ts
|
|
11
|
-
|
|
11
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
var _promises = require('fs/promises');
|
|
13
13
|
function generateJsonSchemaFile(schema, file, config) {
|
|
14
14
|
try {
|
|
15
|
-
const jsonSchema =
|
|
16
|
-
|
|
15
|
+
const jsonSchema = _chunkCXW3JZSHcjs.getOutputFile.call(void 0, file, "json");
|
|
16
|
+
_chunkWABJAWTZcjs.writeTrace.call(void 0, `Writing JSON schema file ${jsonSchema}`, config);
|
|
17
17
|
return _promises.writeFile.call(void 0, jsonSchema, JSON.stringify(schema, null, 2));
|
|
18
18
|
} catch (error) {
|
|
19
|
-
|
|
19
|
+
_chunkWABJAWTZcjs.writeError.call(void 0,
|
|
20
20
|
`Error writing JSON schema file for ${file.name}
|
|
21
21
|
|
|
22
22
|
Error:
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkCXW3JZSHcjs = require('./chunk-CXW3JZSH.cjs');
|
|
7
7
|
|
|
8
8
|
// ../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
|
|
9
|
-
var require_color_name =
|
|
9
|
+
var require_color_name = _chunkCXW3JZSHcjs.__commonJS.call(void 0, {
|
|
10
10
|
"../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js"(exports, module) {
|
|
11
11
|
"use strict";
|
|
12
|
-
|
|
12
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
module.exports = {
|
|
14
14
|
"aliceblue": [240, 248, 255],
|
|
15
15
|
"antiquewhite": [250, 235, 215],
|
|
@@ -164,9 +164,9 @@ var require_color_name = _chunkLHEMJ6IScjs.__commonJS.call(void 0, {
|
|
|
164
164
|
});
|
|
165
165
|
|
|
166
166
|
// ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js
|
|
167
|
-
var require_conversions =
|
|
167
|
+
var require_conversions = _chunkCXW3JZSHcjs.__commonJS.call(void 0, {
|
|
168
168
|
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js"(exports, module) {
|
|
169
|
-
|
|
169
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
170
170
|
var cssKeywords = require_color_name();
|
|
171
171
|
var reverseKeywords = {};
|
|
172
172
|
for (const key of Object.keys(cssKeywords)) {
|
|
@@ -836,9 +836,9 @@ var require_conversions = _chunkLHEMJ6IScjs.__commonJS.call(void 0, {
|
|
|
836
836
|
});
|
|
837
837
|
|
|
838
838
|
// ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js
|
|
839
|
-
var require_route =
|
|
839
|
+
var require_route = _chunkCXW3JZSHcjs.__commonJS.call(void 0, {
|
|
840
840
|
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js"(exports, module) {
|
|
841
|
-
|
|
841
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
842
842
|
var conversions = require_conversions();
|
|
843
843
|
function buildGraph() {
|
|
844
844
|
const graph = {};
|
|
@@ -907,9 +907,9 @@ var require_route = _chunkLHEMJ6IScjs.__commonJS.call(void 0, {
|
|
|
907
907
|
});
|
|
908
908
|
|
|
909
909
|
// ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js
|
|
910
|
-
var require_color_convert =
|
|
910
|
+
var require_color_convert = _chunkCXW3JZSHcjs.__commonJS.call(void 0, {
|
|
911
911
|
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js"(exports, module) {
|
|
912
|
-
|
|
912
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
913
913
|
var conversions = require_conversions();
|
|
914
914
|
var route = require_route();
|
|
915
915
|
var convert = {};
|
|
@@ -969,10 +969,10 @@ var require_color_convert = _chunkLHEMJ6IScjs.__commonJS.call(void 0, {
|
|
|
969
969
|
});
|
|
970
970
|
|
|
971
971
|
// ../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js
|
|
972
|
-
var require_ansi_styles =
|
|
972
|
+
var require_ansi_styles = _chunkCXW3JZSHcjs.__commonJS.call(void 0, {
|
|
973
973
|
"../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js"(exports, module) {
|
|
974
974
|
"use strict";
|
|
975
|
-
|
|
975
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
976
976
|
var wrapAnsi16 = (fn, offset) => (...args) => {
|
|
977
977
|
const code = fn(...args);
|
|
978
978
|
return `\x1B[${code + offset}m`;
|
|
@@ -1112,10 +1112,10 @@ var require_ansi_styles = _chunkLHEMJ6IScjs.__commonJS.call(void 0, {
|
|
|
1112
1112
|
});
|
|
1113
1113
|
|
|
1114
1114
|
// ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
|
|
1115
|
-
var require_has_flag =
|
|
1115
|
+
var require_has_flag = _chunkCXW3JZSHcjs.__commonJS.call(void 0, {
|
|
1116
1116
|
"../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module) {
|
|
1117
1117
|
"use strict";
|
|
1118
|
-
|
|
1118
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1119
1119
|
module.exports = (flag, argv = process.argv) => {
|
|
1120
1120
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
1121
1121
|
const position = argv.indexOf(prefix + flag);
|
|
@@ -1126,12 +1126,12 @@ var require_has_flag = _chunkLHEMJ6IScjs.__commonJS.call(void 0, {
|
|
|
1126
1126
|
});
|
|
1127
1127
|
|
|
1128
1128
|
// ../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
|
|
1129
|
-
var require_supports_color =
|
|
1129
|
+
var require_supports_color = _chunkCXW3JZSHcjs.__commonJS.call(void 0, {
|
|
1130
1130
|
"../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports, module) {
|
|
1131
1131
|
"use strict";
|
|
1132
|
-
|
|
1133
|
-
var os =
|
|
1134
|
-
var tty =
|
|
1132
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1133
|
+
var os = _chunkCXW3JZSHcjs.__require.call(void 0, "os");
|
|
1134
|
+
var tty = _chunkCXW3JZSHcjs.__require.call(void 0, "tty");
|
|
1135
1135
|
var hasFlag = require_has_flag();
|
|
1136
1136
|
var { env } = process;
|
|
1137
1137
|
var forceColor;
|
|
@@ -1229,10 +1229,10 @@ var require_supports_color = _chunkLHEMJ6IScjs.__commonJS.call(void 0, {
|
|
|
1229
1229
|
});
|
|
1230
1230
|
|
|
1231
1231
|
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js
|
|
1232
|
-
var require_util =
|
|
1232
|
+
var require_util = _chunkCXW3JZSHcjs.__commonJS.call(void 0, {
|
|
1233
1233
|
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js"(exports, module) {
|
|
1234
1234
|
"use strict";
|
|
1235
|
-
|
|
1235
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1236
1236
|
var stringReplaceAll = (string, substring, replacer) => {
|
|
1237
1237
|
let index = string.indexOf(substring);
|
|
1238
1238
|
if (index === -1) {
|
|
@@ -1269,10 +1269,10 @@ var require_util = _chunkLHEMJ6IScjs.__commonJS.call(void 0, {
|
|
|
1269
1269
|
});
|
|
1270
1270
|
|
|
1271
1271
|
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js
|
|
1272
|
-
var require_templates =
|
|
1272
|
+
var require_templates = _chunkCXW3JZSHcjs.__commonJS.call(void 0, {
|
|
1273
1273
|
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js"(exports, module) {
|
|
1274
1274
|
"use strict";
|
|
1275
|
-
|
|
1275
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1276
1276
|
var TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
|
|
1277
1277
|
var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
|
|
1278
1278
|
var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
|
|
@@ -1384,10 +1384,10 @@ var require_templates = _chunkLHEMJ6IScjs.__commonJS.call(void 0, {
|
|
|
1384
1384
|
});
|
|
1385
1385
|
|
|
1386
1386
|
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js
|
|
1387
|
-
var require_source =
|
|
1387
|
+
var require_source = _chunkCXW3JZSHcjs.__commonJS.call(void 0, {
|
|
1388
1388
|
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"(exports, module) {
|
|
1389
1389
|
"use strict";
|
|
1390
|
-
|
|
1390
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1391
1391
|
var ansiStyles = require_ansi_styles();
|
|
1392
1392
|
var { stdout: stdoutColor, stderr: stderrColor } = require_supports_color();
|
|
1393
1393
|
var {
|
|
@@ -1563,10 +1563,10 @@ var require_source = _chunkLHEMJ6IScjs.__commonJS.call(void 0, {
|
|
|
1563
1563
|
});
|
|
1564
1564
|
|
|
1565
1565
|
// ../config-tools/src/logger/console.ts
|
|
1566
|
-
|
|
1566
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1567
1567
|
|
|
1568
1568
|
// ../config-tools/src/types.ts
|
|
1569
|
-
|
|
1569
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1570
1570
|
var LogLevel = {
|
|
1571
1571
|
SILENT: 0,
|
|
1572
1572
|
FATAL: 10,
|
|
@@ -1591,7 +1591,7 @@ var LogLevelLabel = {
|
|
|
1591
1591
|
};
|
|
1592
1592
|
|
|
1593
1593
|
// ../config-tools/src/utilities/colors.ts
|
|
1594
|
-
|
|
1594
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1595
1595
|
var DEFAULT_COLOR_CONFIG = {
|
|
1596
1596
|
light: {
|
|
1597
1597
|
background: "#fafafa",
|
|
@@ -1628,8 +1628,8 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
1628
1628
|
};
|
|
1629
1629
|
|
|
1630
1630
|
// ../config-tools/src/logger/chalk.ts
|
|
1631
|
-
|
|
1632
|
-
var import_chalk =
|
|
1631
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1632
|
+
var import_chalk = _chunkCXW3JZSHcjs.__toESM.call(void 0, require_source(), 1);
|
|
1633
1633
|
var chalkDefault = {
|
|
1634
1634
|
hex: (_) => (message) => message,
|
|
1635
1635
|
bgHex: (_) => ({
|
|
@@ -1662,10 +1662,10 @@ var getChalk = () => {
|
|
|
1662
1662
|
};
|
|
1663
1663
|
|
|
1664
1664
|
// ../config-tools/src/logger/console-icons.ts
|
|
1665
|
-
|
|
1665
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1666
1666
|
|
|
1667
1667
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
1668
|
-
|
|
1668
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1669
1669
|
function isUnicodeSupported() {
|
|
1670
1670
|
if (process.platform !== "win32") {
|
|
1671
1671
|
return process.env.TERM !== "linux";
|
|
@@ -1690,13 +1690,13 @@ var CONSOLE_ICONS = {
|
|
|
1690
1690
|
};
|
|
1691
1691
|
|
|
1692
1692
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
1693
|
-
|
|
1693
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1694
1694
|
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
1695
1695
|
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
1696
1696
|
};
|
|
1697
1697
|
|
|
1698
1698
|
// ../config-tools/src/logger/get-log-level.ts
|
|
1699
|
-
|
|
1699
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
1700
1700
|
var getLogLevel = (label) => {
|
|
1701
1701
|
switch (label) {
|
|
1702
1702
|
case "all":
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateDeclarationFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JV3PRQV2.js";
|
|
4
4
|
import {
|
|
5
5
|
generateJsonSchemaFile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-C6AJJTVS.js";
|
|
7
7
|
import {
|
|
8
8
|
generateMarkdownFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IPDQQ6HY.js";
|
|
10
10
|
import {
|
|
11
11
|
writeError,
|
|
12
12
|
writeTrace
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TAT2SQV2.js";
|
|
14
14
|
import {
|
|
15
15
|
init_esm_shims,
|
|
16
16
|
joinPaths
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PME5YG7U.js";
|
|
18
18
|
|
|
19
19
|
// src/generate.ts
|
|
20
20
|
init_esm_shims();
|
package/dist/generate.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
3
|
+
var _chunkJCJQ4BLOcjs = require('./chunk-JCJQ4BLO.cjs');
|
|
4
|
+
require('./chunk-NLD5AJGJ.cjs');
|
|
5
|
+
require('./chunk-TZULROJ5.cjs');
|
|
6
|
+
require('./chunk-OCMBULYZ.cjs');
|
|
7
|
+
require('./chunk-WABJAWTZ.cjs');
|
|
8
|
+
require('./chunk-CXW3JZSH.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.getGenerateAction =
|
|
11
|
+
exports.getGenerateAction = _chunkJCJQ4BLOcjs.getGenerateAction;
|
package/dist/generate.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGenerateAction
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-WBOENAND.js";
|
|
4
|
+
import "./chunk-JV3PRQV2.js";
|
|
5
|
+
import "./chunk-C6AJJTVS.js";
|
|
6
|
+
import "./chunk-IPDQQ6HY.js";
|
|
7
|
+
import "./chunk-TAT2SQV2.js";
|
|
8
|
+
import "./chunk-PME5YG7U.js";
|
|
9
9
|
export {
|
|
10
10
|
getGenerateAction
|
|
11
11
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkJCJQ4BLOcjs = require('./chunk-JCJQ4BLO.cjs');
|
|
4
|
+
require('./chunk-FGS7VZLO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNLD5AJGJcjs = require('./chunk-NLD5AJGJ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkTZULROJ5cjs = require('./chunk-TZULROJ5.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
15
|
+
var _chunkOCMBULYZcjs = require('./chunk-OCMBULYZ.cjs');
|
|
16
|
+
require('./chunk-WABJAWTZ.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkCXW3JZSHcjs = require('./chunk-CXW3JZSH.cjs');
|
|
21
21
|
|
|
22
22
|
// src/index.ts
|
|
23
|
-
|
|
23
|
+
_chunkCXW3JZSHcjs.init_cjs_shims.call(void 0, );
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -29,4 +29,4 @@ _chunkLHEMJ6IScjs.init_cjs_shims.call(void 0, );
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
exports.generateDeclaration =
|
|
32
|
+
exports.generateDeclaration = _chunkNLD5AJGJcjs.generateDeclaration; exports.generateDeclarationFile = _chunkNLD5AJGJcjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkTZULROJ5cjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkOCMBULYZcjs.generateMarkdown; exports.generateMarkdownFile = _chunkOCMBULYZcjs.generateMarkdownFile; exports.getGenerateAction = _chunkJCJQ4BLOcjs.getGenerateAction; exports.getOutputFile = _chunkCXW3JZSHcjs.getOutputFile;
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGenerateAction
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-WBOENAND.js";
|
|
4
|
+
import "./chunk-B26HJOXF.js";
|
|
5
5
|
import {
|
|
6
6
|
generateDeclaration,
|
|
7
7
|
generateDeclarationFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JV3PRQV2.js";
|
|
9
9
|
import {
|
|
10
10
|
generateJsonSchemaFile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-C6AJJTVS.js";
|
|
12
12
|
import {
|
|
13
13
|
generateMarkdown,
|
|
14
14
|
generateMarkdownFile
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-IPDQQ6HY.js";
|
|
16
|
+
import "./chunk-TAT2SQV2.js";
|
|
17
17
|
import {
|
|
18
18
|
getOutputFile,
|
|
19
19
|
init_esm_shims
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PME5YG7U.js";
|
|
21
21
|
|
|
22
22
|
// src/index.ts
|
|
23
23
|
init_esm_shims();
|
package/dist/utilities.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCXW3JZSHcjs = require('./chunk-CXW3JZSH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.getOutputFile =
|
|
6
|
+
exports.getOutputFile = _chunkCXW3JZSHcjs.getOutputFile;
|
package/dist/utilities.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/untyped",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `untyped` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -197,5 +197,5 @@
|
|
|
197
197
|
},
|
|
198
198
|
"publishConfig": { "access": "public" },
|
|
199
199
|
"sideEffects": false,
|
|
200
|
-
"gitHead": "
|
|
200
|
+
"gitHead": "0841267dc509f78180467408b62a1b9f5abd6c43"
|
|
201
201
|
}
|
package/dist/chunk-3EPBXHMO.cjs
DELETED
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import * as z$1 from 'zod';
|
|
2
|
-
import * as z from 'zod/mini';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
6
|
-
*/
|
|
7
|
-
declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
8
|
-
$schema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
9
|
-
extends: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
10
|
-
name: z.ZodMiniString<string>;
|
|
11
|
-
variant: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
12
|
-
minimal: "minimal";
|
|
13
|
-
monorepo: "monorepo";
|
|
14
|
-
}>>;
|
|
15
|
-
namespace: z.ZodMiniString<string>;
|
|
16
|
-
organization: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
17
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
18
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
19
|
-
logo: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
20
|
-
icon: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
21
|
-
url: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
22
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>;
|
|
23
|
-
repository: z.ZodMiniString<string>;
|
|
24
|
-
license: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
25
|
-
homepage: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
26
|
-
docs: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
27
|
-
portal: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
28
|
-
licensing: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
29
|
-
contact: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
30
|
-
support: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
31
|
-
branch: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
32
|
-
preid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
33
|
-
owner: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
34
|
-
bot: z.ZodMiniObject<{
|
|
35
|
-
name: z.ZodMiniString<string>;
|
|
36
|
-
email: z.ZodMiniString<string>;
|
|
37
|
-
}, z.core.$strip>;
|
|
38
|
-
release: z.ZodMiniObject<{
|
|
39
|
-
banner: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
40
|
-
url: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
41
|
-
alt: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
42
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>;
|
|
43
|
-
header: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
44
|
-
footer: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
45
|
-
}, z.core.$strip>;
|
|
46
|
-
socials: z.ZodMiniObject<{
|
|
47
|
-
twitter: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
48
|
-
discord: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
49
|
-
telegram: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
50
|
-
slack: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
51
|
-
medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
52
|
-
github: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
53
|
-
}, z.core.$strip>;
|
|
54
|
-
error: z.ZodMiniObject<{
|
|
55
|
-
codesFile: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
56
|
-
url: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
57
|
-
}, z.core.$strip>;
|
|
58
|
-
mode: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
59
|
-
development: "development";
|
|
60
|
-
staging: "staging";
|
|
61
|
-
production: "production";
|
|
62
|
-
}>>;
|
|
63
|
-
workspaceRoot: z.ZodMiniString<string>;
|
|
64
|
-
skipCache: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
65
|
-
directories: z.ZodMiniObject<{
|
|
66
|
-
cache: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
67
|
-
data: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
68
|
-
config: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
69
|
-
temp: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
70
|
-
log: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
71
|
-
build: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
72
|
-
}, z.core.$strip>;
|
|
73
|
-
packageManager: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
74
|
-
npm: "npm";
|
|
75
|
-
yarn: "yarn";
|
|
76
|
-
pnpm: "pnpm";
|
|
77
|
-
bun: "bun";
|
|
78
|
-
}>>;
|
|
79
|
-
timezone: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
80
|
-
locale: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
81
|
-
logLevel: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
82
|
-
success: "success";
|
|
83
|
-
info: "info";
|
|
84
|
-
fatal: "fatal";
|
|
85
|
-
silent: "silent";
|
|
86
|
-
error: "error";
|
|
87
|
-
warn: "warn";
|
|
88
|
-
debug: "debug";
|
|
89
|
-
trace: "trace";
|
|
90
|
-
all: "all";
|
|
91
|
-
}>>;
|
|
92
|
-
skipConfigLogging: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
93
|
-
registry: z.ZodMiniDefault<z.ZodMiniObject<{
|
|
94
|
-
github: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
95
|
-
npm: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
96
|
-
cargo: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
97
|
-
cyclone: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
98
|
-
container: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
99
|
-
}, z.core.$strip>>;
|
|
100
|
-
configFile: z.ZodMiniDefault<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
101
|
-
colors: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
102
|
-
dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
103
|
-
light: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
104
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
105
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
106
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
107
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
108
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
109
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
110
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
111
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
112
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
113
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
114
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
115
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
116
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
117
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
118
|
-
dark: z.ZodMiniObject<{
|
|
119
|
-
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
120
|
-
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
121
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
122
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
123
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
124
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
125
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
126
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
127
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
128
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
129
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
130
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
131
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
132
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
133
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
134
|
-
}, z.core.$strip>;
|
|
135
|
-
light: z.ZodMiniObject<{
|
|
136
|
-
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
137
|
-
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
138
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
139
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
140
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
141
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
142
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
143
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
144
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
145
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
146
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
147
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
148
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
149
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
150
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
151
|
-
}, z.core.$strip>;
|
|
152
|
-
}, z.core.$strip>]>, z.ZodMiniRecord<z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"base">, z.ZodMiniString<string>]>, z.ZodMiniString<string>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
153
|
-
dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
154
|
-
light: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
155
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
156
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
157
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
158
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
159
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
160
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
161
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
162
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
163
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
164
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
165
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
166
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
167
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
168
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
169
|
-
dark: z.ZodMiniObject<{
|
|
170
|
-
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
171
|
-
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
172
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
173
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
174
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
175
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
176
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
177
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
178
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
179
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
180
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
181
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
182
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
183
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
184
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
185
|
-
}, z.core.$strip>;
|
|
186
|
-
light: z.ZodMiniObject<{
|
|
187
|
-
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
188
|
-
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
189
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
190
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
191
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
192
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
193
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
194
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
195
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
196
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
197
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
198
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
199
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
200
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
201
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
202
|
-
}, z.core.$strip>;
|
|
203
|
-
}, z.core.$strip>]>>]>;
|
|
204
|
-
extensions: z.ZodMiniDefault<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniAny>>;
|
|
205
|
-
}, z.core.$strip>;
|
|
206
|
-
|
|
207
|
-
type TStormWorkspaceConfig = z$1.infer<typeof workspaceConfigSchema>;
|
|
208
|
-
/**
|
|
209
|
-
* The Storm workspace's configuration object
|
|
210
|
-
*
|
|
211
|
-
* @remarks
|
|
212
|
-
* This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
|
|
213
|
-
*
|
|
214
|
-
* @deprecated
|
|
215
|
-
* This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
|
|
216
|
-
*/
|
|
217
|
-
type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
|
|
218
|
-
extensions: (TStormWorkspaceConfig["extensions"] & {
|
|
219
|
-
[extensionName in TExtensionName]: TExtensionConfig;
|
|
220
|
-
}) | NonNullable<Record<string, any>>;
|
|
221
|
-
};
|
|
222
|
-
/**
|
|
223
|
-
* The Storm workspace's configuration object
|
|
224
|
-
*
|
|
225
|
-
* @remarks
|
|
226
|
-
* This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
|
|
227
|
-
*/
|
|
228
|
-
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
229
|
-
|
|
230
|
-
export type { StormWorkspaceConfig as S };
|
package/dist/types-D6xEA_pB.d.ts
DELETED
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import * as z$1 from 'zod';
|
|
2
|
-
import * as z from 'zod/mini';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
6
|
-
*/
|
|
7
|
-
declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
8
|
-
$schema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
9
|
-
extends: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
10
|
-
name: z.ZodMiniString<string>;
|
|
11
|
-
variant: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
12
|
-
minimal: "minimal";
|
|
13
|
-
monorepo: "monorepo";
|
|
14
|
-
}>>;
|
|
15
|
-
namespace: z.ZodMiniString<string>;
|
|
16
|
-
organization: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
17
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
18
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
19
|
-
logo: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
20
|
-
icon: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
21
|
-
url: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
22
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>;
|
|
23
|
-
repository: z.ZodMiniString<string>;
|
|
24
|
-
license: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
25
|
-
homepage: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
26
|
-
docs: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
27
|
-
portal: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
28
|
-
licensing: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
29
|
-
contact: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
30
|
-
support: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
31
|
-
branch: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
32
|
-
preid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
33
|
-
owner: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
34
|
-
bot: z.ZodMiniObject<{
|
|
35
|
-
name: z.ZodMiniString<string>;
|
|
36
|
-
email: z.ZodMiniString<string>;
|
|
37
|
-
}, z.core.$strip>;
|
|
38
|
-
release: z.ZodMiniObject<{
|
|
39
|
-
banner: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
40
|
-
url: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
41
|
-
alt: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
42
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>;
|
|
43
|
-
header: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
44
|
-
footer: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
45
|
-
}, z.core.$strip>;
|
|
46
|
-
socials: z.ZodMiniObject<{
|
|
47
|
-
twitter: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
48
|
-
discord: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
49
|
-
telegram: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
50
|
-
slack: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
51
|
-
medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
52
|
-
github: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
53
|
-
}, z.core.$strip>;
|
|
54
|
-
error: z.ZodMiniObject<{
|
|
55
|
-
codesFile: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
56
|
-
url: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
57
|
-
}, z.core.$strip>;
|
|
58
|
-
mode: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
59
|
-
development: "development";
|
|
60
|
-
staging: "staging";
|
|
61
|
-
production: "production";
|
|
62
|
-
}>>;
|
|
63
|
-
workspaceRoot: z.ZodMiniString<string>;
|
|
64
|
-
skipCache: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
65
|
-
directories: z.ZodMiniObject<{
|
|
66
|
-
cache: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
67
|
-
data: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
68
|
-
config: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
69
|
-
temp: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
70
|
-
log: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
71
|
-
build: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
72
|
-
}, z.core.$strip>;
|
|
73
|
-
packageManager: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
74
|
-
npm: "npm";
|
|
75
|
-
yarn: "yarn";
|
|
76
|
-
pnpm: "pnpm";
|
|
77
|
-
bun: "bun";
|
|
78
|
-
}>>;
|
|
79
|
-
timezone: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
80
|
-
locale: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
81
|
-
logLevel: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
82
|
-
success: "success";
|
|
83
|
-
info: "info";
|
|
84
|
-
fatal: "fatal";
|
|
85
|
-
silent: "silent";
|
|
86
|
-
error: "error";
|
|
87
|
-
warn: "warn";
|
|
88
|
-
debug: "debug";
|
|
89
|
-
trace: "trace";
|
|
90
|
-
all: "all";
|
|
91
|
-
}>>;
|
|
92
|
-
skipConfigLogging: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
93
|
-
registry: z.ZodMiniDefault<z.ZodMiniObject<{
|
|
94
|
-
github: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
95
|
-
npm: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
96
|
-
cargo: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
97
|
-
cyclone: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
98
|
-
container: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
99
|
-
}, z.core.$strip>>;
|
|
100
|
-
configFile: z.ZodMiniDefault<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
101
|
-
colors: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
102
|
-
dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
103
|
-
light: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
104
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
105
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
106
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
107
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
108
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
109
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
110
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
111
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
112
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
113
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
114
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
115
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
116
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
117
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
118
|
-
dark: z.ZodMiniObject<{
|
|
119
|
-
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
120
|
-
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
121
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
122
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
123
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
124
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
125
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
126
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
127
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
128
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
129
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
130
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
131
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
132
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
133
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
134
|
-
}, z.core.$strip>;
|
|
135
|
-
light: z.ZodMiniObject<{
|
|
136
|
-
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
137
|
-
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
138
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
139
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
140
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
141
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
142
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
143
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
144
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
145
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
146
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
147
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
148
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
149
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
150
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
151
|
-
}, z.core.$strip>;
|
|
152
|
-
}, z.core.$strip>]>, z.ZodMiniRecord<z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"base">, z.ZodMiniString<string>]>, z.ZodMiniString<string>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
153
|
-
dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
154
|
-
light: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
155
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
156
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
157
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
158
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
159
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
160
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
161
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
162
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
163
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
164
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
165
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
166
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
167
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
168
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
169
|
-
dark: z.ZodMiniObject<{
|
|
170
|
-
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
171
|
-
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
172
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
173
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
174
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
175
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
176
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
177
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
178
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
179
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
180
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
181
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
182
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
183
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
184
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
185
|
-
}, z.core.$strip>;
|
|
186
|
-
light: z.ZodMiniObject<{
|
|
187
|
-
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
188
|
-
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
189
|
-
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
190
|
-
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
191
|
-
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
192
|
-
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
193
|
-
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
194
|
-
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
195
|
-
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
196
|
-
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
197
|
-
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
198
|
-
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
199
|
-
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
200
|
-
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
201
|
-
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
202
|
-
}, z.core.$strip>;
|
|
203
|
-
}, z.core.$strip>]>>]>;
|
|
204
|
-
extensions: z.ZodMiniDefault<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniAny>>;
|
|
205
|
-
}, z.core.$strip>;
|
|
206
|
-
|
|
207
|
-
type TStormWorkspaceConfig = z$1.infer<typeof workspaceConfigSchema>;
|
|
208
|
-
/**
|
|
209
|
-
* The Storm workspace's configuration object
|
|
210
|
-
*
|
|
211
|
-
* @remarks
|
|
212
|
-
* This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
|
|
213
|
-
*
|
|
214
|
-
* @deprecated
|
|
215
|
-
* This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
|
|
216
|
-
*/
|
|
217
|
-
type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
|
|
218
|
-
extensions: (TStormWorkspaceConfig["extensions"] & {
|
|
219
|
-
[extensionName in TExtensionName]: TExtensionConfig;
|
|
220
|
-
}) | NonNullable<Record<string, any>>;
|
|
221
|
-
};
|
|
222
|
-
/**
|
|
223
|
-
* The Storm workspace's configuration object
|
|
224
|
-
*
|
|
225
|
-
* @remarks
|
|
226
|
-
* This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
|
|
227
|
-
*/
|
|
228
|
-
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
229
|
-
|
|
230
|
-
export type { StormWorkspaceConfig as S };
|