@storm-software/untyped 0.24.53 → 0.24.54
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 +1911 -45201
- package/bin/untyped.js +1912 -45408
- package/dist/{chunk-N77CW7VO.cjs → chunk-4G3IU22J.cjs} +2 -51
- package/dist/chunk-4U6ARZBV.js +259 -0
- package/dist/{chunk-VZDVVM3H.cjs → chunk-AA55W4PI.cjs} +5 -7
- package/dist/{chunk-SEXIX2W6.js → chunk-AXIV4HBX.js} +3 -5
- package/dist/chunk-BY5UJMXQ.js +0 -0
- package/dist/{chunk-EOEWGN5V.cjs → chunk-DNUXDRL4.cjs} +5 -7
- package/dist/chunk-DUNUNFJ4.cjs +259 -0
- package/dist/{chunk-R7JBK4EB.js → chunk-EF33M72U.js} +8 -80
- package/dist/{chunk-2YNZOLYK.cjs → chunk-GXKBPF6R.cjs} +13 -79
- package/dist/{chunk-RRGVVEU6.cjs → chunk-NS7A3OHM.cjs} +33 -105
- package/dist/{chunk-7WW4JGOJ.js → chunk-NTN5YK5X.js} +0 -42
- package/dist/{chunk-H6DCXSE3.js → chunk-OKI3BIEA.js} +3 -5
- package/dist/chunk-TQVHFPJA.cjs +1 -0
- package/dist/{chunk-LWOW6NBO.js → chunk-USMEAXKV.js} +5 -71
- package/dist/generate.cjs +7 -7
- package/dist/generate.js +6 -6
- package/dist/index.cjs +8 -12
- package/dist/index.js +8 -12
- package/dist/types-DeaeRt7S.d.cts +230 -0
- package/dist/types-DeaeRt7S.d.ts +230 -0
- package/dist/utilities.cjs +2 -2
- package/dist/utilities.js +1 -1
- package/package.json +3 -2
- package/dist/chunk-GNDAXJ3C.js +0 -6
- package/dist/chunk-H3BI2RS6.js +0 -1840
- package/dist/chunk-OFYCXEXT.cjs +0 -1832
- package/dist/chunk-X4AHMOF6.cjs +0 -6
|
@@ -1,83 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4U6ARZBV.js";
|
|
5
5
|
import {
|
|
6
|
-
getOutputFile
|
|
7
|
-
|
|
8
|
-
} from "./chunk-7WW4JGOJ.js";
|
|
6
|
+
getOutputFile
|
|
7
|
+
} from "./chunk-NTN5YK5X.js";
|
|
9
8
|
|
|
10
9
|
// src/generators/dts.ts
|
|
11
|
-
init_esm_shims();
|
|
12
10
|
import { writeFile } from "node:fs/promises";
|
|
13
11
|
|
|
14
|
-
// ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/index.mjs
|
|
15
|
-
init_esm_shims();
|
|
16
|
-
|
|
17
|
-
// ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/shared/untyped.BTwOq8Jl.mjs
|
|
18
|
-
init_esm_shims();
|
|
19
|
-
|
|
20
|
-
// ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/shared/untyped.Br_uXjZG.mjs
|
|
21
|
-
init_esm_shims();
|
|
22
|
-
|
|
23
|
-
// ../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs
|
|
24
|
-
init_esm_shims();
|
|
25
|
-
var NUMBER_CHAR_RE = /\d/;
|
|
26
|
-
var STR_SPLITTERS = ["-", "_", "/", "."];
|
|
27
|
-
function isUppercase(char = "") {
|
|
28
|
-
if (NUMBER_CHAR_RE.test(char)) {
|
|
29
|
-
return void 0;
|
|
30
|
-
}
|
|
31
|
-
return char !== char.toLowerCase();
|
|
32
|
-
}
|
|
33
|
-
function splitByCase(str, separators) {
|
|
34
|
-
const splitters = separators ?? STR_SPLITTERS;
|
|
35
|
-
const parts = [];
|
|
36
|
-
if (!str || typeof str !== "string") {
|
|
37
|
-
return parts;
|
|
38
|
-
}
|
|
39
|
-
let buff = "";
|
|
40
|
-
let previousUpper;
|
|
41
|
-
let previousSplitter;
|
|
42
|
-
for (const char of str) {
|
|
43
|
-
const isSplitter = splitters.includes(char);
|
|
44
|
-
if (isSplitter === true) {
|
|
45
|
-
parts.push(buff);
|
|
46
|
-
buff = "";
|
|
47
|
-
previousUpper = void 0;
|
|
48
|
-
continue;
|
|
49
|
-
}
|
|
50
|
-
const isUpper = isUppercase(char);
|
|
51
|
-
if (previousSplitter === false) {
|
|
52
|
-
if (previousUpper === false && isUpper === true) {
|
|
53
|
-
parts.push(buff);
|
|
54
|
-
buff = char;
|
|
55
|
-
previousUpper = isUpper;
|
|
56
|
-
continue;
|
|
57
|
-
}
|
|
58
|
-
if (previousUpper === true && isUpper === false && buff.length > 1) {
|
|
59
|
-
const lastChar = buff.at(-1);
|
|
60
|
-
parts.push(buff.slice(0, Math.max(0, buff.length - 1)));
|
|
61
|
-
buff = lastChar + char;
|
|
62
|
-
previousUpper = isUpper;
|
|
63
|
-
continue;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
buff += char;
|
|
67
|
-
previousUpper = isUpper;
|
|
68
|
-
previousSplitter = isSplitter;
|
|
69
|
-
}
|
|
70
|
-
parts.push(buff);
|
|
71
|
-
return parts;
|
|
72
|
-
}
|
|
73
|
-
function upperFirst(str) {
|
|
74
|
-
return str ? str[0].toUpperCase() + str.slice(1) : "";
|
|
75
|
-
}
|
|
76
|
-
function pascalCase(str, opts) {
|
|
77
|
-
return str ? (Array.isArray(str) ? str : splitByCase(str)).map((p) => upperFirst(opts?.normalize ? p.toLowerCase() : p)).join("") : "";
|
|
78
|
-
}
|
|
79
|
-
|
|
80
12
|
// ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/shared/untyped.Br_uXjZG.mjs
|
|
13
|
+
import { pascalCase } from "scule";
|
|
81
14
|
function getType(val) {
|
|
82
15
|
const type = typeof val;
|
|
83
16
|
if (type === "undefined" || val === null) {
|
|
@@ -303,6 +236,7 @@ function normalizeSchema(schema, options) {
|
|
|
303
236
|
|
|
304
237
|
// ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/index.mjs
|
|
305
238
|
import { genObjectKey } from "knitwork";
|
|
239
|
+
import "scule";
|
|
306
240
|
var GenerateTypesDefaults = {
|
|
307
241
|
interfaceName: "Untyped",
|
|
308
242
|
addExport: true,
|
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 _chunkNS7A3OHMcjs = require('./chunk-NS7A3OHM.cjs');
|
|
4
|
+
require('./chunk-GXKBPF6R.cjs');
|
|
5
|
+
require('./chunk-DNUXDRL4.cjs');
|
|
6
|
+
require('./chunk-AA55W4PI.cjs');
|
|
7
|
+
require('./chunk-DUNUNFJ4.cjs');
|
|
8
|
+
require('./chunk-4G3IU22J.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.getGenerateAction =
|
|
11
|
+
exports.getGenerateAction = _chunkNS7A3OHMcjs.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-EF33M72U.js";
|
|
4
|
+
import "./chunk-USMEAXKV.js";
|
|
5
|
+
import "./chunk-AXIV4HBX.js";
|
|
6
|
+
import "./chunk-OKI3BIEA.js";
|
|
7
|
+
import "./chunk-4U6ARZBV.js";
|
|
8
|
+
import "./chunk-NTN5YK5X.js";
|
|
9
9
|
export {
|
|
10
10
|
getGenerateAction
|
|
11
11
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1,32 +1,28 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkNS7A3OHMcjs = require('./chunk-NS7A3OHM.cjs');
|
|
4
|
+
require('./chunk-TQVHFPJA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkGXKBPF6Rcjs = require('./chunk-GXKBPF6R.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkDNUXDRL4cjs = require('./chunk-DNUXDRL4.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
15
|
+
var _chunkAA55W4PIcjs = require('./chunk-AA55W4PI.cjs');
|
|
16
|
+
require('./chunk-DUNUNFJ4.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
+
var _chunk4G3IU22Jcjs = require('./chunk-4G3IU22J.cjs');
|
|
19
20
|
|
|
20
|
-
var _chunkN77CW7VOcjs = require('./chunk-N77CW7VO.cjs');
|
|
21
21
|
|
|
22
|
-
// src/index.ts
|
|
23
|
-
_chunkN77CW7VOcjs.init_cjs_shims.call(void 0, );
|
|
24
22
|
|
|
25
23
|
|
|
26
24
|
|
|
27
25
|
|
|
28
26
|
|
|
29
27
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
exports.generateDeclaration = _chunk2YNZOLYKcjs.generateDeclaration; exports.generateDeclarationFile = _chunk2YNZOLYKcjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkEOEWGN5Vcjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkVZDVVM3Hcjs.generateMarkdown; exports.generateMarkdownFile = _chunkVZDVVM3Hcjs.generateMarkdownFile; exports.getGenerateAction = _chunkRRGVVEU6cjs.getGenerateAction; exports.getOutputFile = _chunkN77CW7VOcjs.getOutputFile;
|
|
28
|
+
exports.generateDeclaration = _chunkGXKBPF6Rcjs.generateDeclaration; exports.generateDeclarationFile = _chunkGXKBPF6Rcjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkDNUXDRL4cjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkAA55W4PIcjs.generateMarkdown; exports.generateMarkdownFile = _chunkAA55W4PIcjs.generateMarkdownFile; exports.getGenerateAction = _chunkNS7A3OHMcjs.getGenerateAction; exports.getOutputFile = _chunk4G3IU22Jcjs.getOutputFile;
|
package/dist/index.js
CHANGED
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGenerateAction
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-EF33M72U.js";
|
|
4
|
+
import "./chunk-BY5UJMXQ.js";
|
|
5
5
|
import {
|
|
6
6
|
generateDeclaration,
|
|
7
7
|
generateDeclarationFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-USMEAXKV.js";
|
|
9
9
|
import {
|
|
10
10
|
generateJsonSchemaFile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AXIV4HBX.js";
|
|
12
12
|
import {
|
|
13
13
|
generateMarkdown,
|
|
14
14
|
generateMarkdownFile
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-OKI3BIEA.js";
|
|
16
|
+
import "./chunk-4U6ARZBV.js";
|
|
17
17
|
import {
|
|
18
|
-
getOutputFile
|
|
19
|
-
|
|
20
|
-
} from "./chunk-7WW4JGOJ.js";
|
|
21
|
-
|
|
22
|
-
// src/index.ts
|
|
23
|
-
init_esm_shims();
|
|
18
|
+
getOutputFile
|
|
19
|
+
} from "./chunk-NTN5YK5X.js";
|
|
24
20
|
export {
|
|
25
21
|
generateDeclaration,
|
|
26
22
|
generateDeclarationFile,
|
|
@@ -0,0 +1,230 @@
|
|
|
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
|
+
test: "test";
|
|
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 };
|