@storm-software/untyped 0.24.140 → 0.24.142
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/README.md +1 -1
- package/bin/untyped.cjs +17 -28
- package/bin/untyped.js +17 -28
- package/dist/{chunk-2QXYKXJH.js → chunk-2SQOGXXW.js} +1 -1
- package/dist/{chunk-42BW2V75.js → chunk-6ICZFPBE.js} +4 -4
- package/dist/{chunk-RFQVKOZZ.js → chunk-CGUOYQRT.js} +17 -28
- package/dist/{chunk-73YXHPUU.cjs → chunk-DUGCV565.cjs} +3 -3
- package/dist/{chunk-DWXQWSAF.cjs → chunk-KALLFA4S.cjs} +23 -23
- package/dist/{chunk-EX3ITOQ3.cjs → chunk-LHYAYO72.cjs} +3 -3
- package/dist/{chunk-FY574UY5.js → chunk-UQHYOHNO.js} +1 -1
- package/dist/{chunk-ABFPY6JS.js → chunk-VH355W76.js} +1 -1
- package/dist/{chunk-2RPXNOIR.cjs → chunk-X6IHBBFY.cjs} +3 -3
- package/dist/{chunk-QIOIKJ3P.cjs → chunk-YEL7HQVG.cjs} +17 -28
- package/dist/generate.cjs +6 -6
- package/dist/generate.d.cts +1 -1
- package/dist/generate.d.ts +1 -1
- package/dist/generate.js +5 -5
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/types-Dug-2iKz.d.cts +243 -0
- package/dist/types-Dug-2iKz.d.ts +243 -0
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkYEL7HQVGcjs = require('./chunk-YEL7HQVG.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk4G3IU22Jcjs = require('./chunk-4G3IU22J.cjs');
|
|
@@ -45,10 +45,10 @@ function generateMarkdownLevel(schema, title, level) {
|
|
|
45
45
|
function generateMarkdownFile(schema, file, generatedBy = "@storm-software/untyped", config) {
|
|
46
46
|
try {
|
|
47
47
|
const declarations = _chunk4G3IU22Jcjs.getOutputFile.call(void 0, file, "md");
|
|
48
|
-
|
|
48
|
+
_chunkYEL7HQVGcjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
|
|
49
49
|
return _promises.writeFile.call(void 0, declarations, generateMarkdown(schema, generatedBy));
|
|
50
50
|
} catch (error) {
|
|
51
|
-
|
|
51
|
+
_chunkYEL7HQVGcjs.writeError.call(void 0,
|
|
52
52
|
`Error writing markdown file for ${file.name}
|
|
53
53
|
|
|
54
54
|
Error:
|
|
@@ -126,8 +126,8 @@ var CONSOLE_ICONS = {
|
|
|
126
126
|
};
|
|
127
127
|
|
|
128
128
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
129
|
-
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
130
|
-
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
129
|
+
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
130
|
+
return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
// ../config-tools/src/logger/get-log-level.ts
|
|
@@ -157,7 +157,12 @@ var getLogLevel = (label) => {
|
|
|
157
157
|
};
|
|
158
158
|
|
|
159
159
|
// ../config-tools/src/logger/console.ts
|
|
160
|
-
var getLogFn = (logLevel = LogLevel.INFO, config = {},
|
|
160
|
+
var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
|
|
161
|
+
const {
|
|
162
|
+
chalk: _chalk = getChalk(),
|
|
163
|
+
fullDateTime = false,
|
|
164
|
+
hideDateTime = false
|
|
165
|
+
} = options;
|
|
161
166
|
const colors = !_optionalChain([config, 'access', _8 => _8.colors, 'optionalAccess', _9 => _9.dark]) && !_optionalChain([config, 'access', _10 => _10.colors, 'optionalAccess', _11 => _11["base"]]) && !_optionalChain([config, 'access', _12 => _12.colors, 'optionalAccess', _13 => _13["base"], 'optionalAccess', _14 => _14.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _15 => _15.colors, 'optionalAccess', _16 => _16.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _17 => _17.colors, 'optionalAccess', _18 => _18["base"], 'optionalAccess', _19 => _19.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _20 => _20.colors, 'optionalAccess', _21 => _21["base"]]) ? _optionalChain([config, 'access', _22 => _22.colors, 'optionalAccess', _23 => _23["base"]]) : DEFAULT_COLOR_CONFIG;
|
|
162
167
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
163
168
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
@@ -168,9 +173,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
|
168
173
|
return (message) => {
|
|
169
174
|
console.error(
|
|
170
175
|
`
|
|
171
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
172
|
-
_nullishCoalesce(colors.fatal, () => ( DEFAULT_COLOR_CONFIG.dark.fatal))
|
|
173
|
-
)(
|
|
176
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( DEFAULT_COLOR_CONFIG.dark.fatal)))(
|
|
174
177
|
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
175
178
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
176
179
|
`
|
|
@@ -181,9 +184,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
181
184
|
return (message) => {
|
|
182
185
|
console.error(
|
|
183
186
|
`
|
|
184
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
185
|
-
_nullishCoalesce(colors.danger, () => ( DEFAULT_COLOR_CONFIG.dark.danger))
|
|
186
|
-
)(
|
|
187
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.danger, () => ( DEFAULT_COLOR_CONFIG.dark.danger)))(
|
|
187
188
|
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
188
189
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
189
190
|
`
|
|
@@ -194,9 +195,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
194
195
|
return (message) => {
|
|
195
196
|
console.warn(
|
|
196
197
|
`
|
|
197
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
198
|
-
_nullishCoalesce(colors.warning, () => ( DEFAULT_COLOR_CONFIG.dark.warning))
|
|
199
|
-
)(
|
|
198
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.warning, () => ( DEFAULT_COLOR_CONFIG.dark.warning)))(
|
|
200
199
|
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
201
200
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
202
201
|
`
|
|
@@ -207,9 +206,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
207
206
|
return (message) => {
|
|
208
207
|
console.info(
|
|
209
208
|
`
|
|
210
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
211
|
-
_nullishCoalesce(colors.success, () => ( DEFAULT_COLOR_CONFIG.dark.success))
|
|
212
|
-
)(
|
|
209
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.success, () => ( DEFAULT_COLOR_CONFIG.dark.success)))(
|
|
213
210
|
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
214
211
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
215
212
|
`
|
|
@@ -220,9 +217,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
220
217
|
return (message) => {
|
|
221
218
|
console.info(
|
|
222
219
|
`
|
|
223
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
224
|
-
_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info))
|
|
225
|
-
)(
|
|
220
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(
|
|
226
221
|
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
227
222
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
228
223
|
`
|
|
@@ -233,9 +228,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
233
228
|
return (message) => {
|
|
234
229
|
console.debug(
|
|
235
230
|
`
|
|
236
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
237
|
-
_nullishCoalesce(colors.performance, () => ( DEFAULT_COLOR_CONFIG.dark.performance))
|
|
238
|
-
)(
|
|
231
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.performance, () => ( DEFAULT_COLOR_CONFIG.dark.performance)))(
|
|
239
232
|
`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
|
|
240
233
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
241
234
|
`
|
|
@@ -246,9 +239,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
246
239
|
return (message) => {
|
|
247
240
|
console.debug(
|
|
248
241
|
`
|
|
249
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
250
|
-
_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug))
|
|
251
|
-
)(
|
|
242
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug)))(
|
|
252
243
|
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
253
244
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
254
245
|
`
|
|
@@ -259,7 +250,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
259
250
|
return (message) => {
|
|
260
251
|
console.debug(
|
|
261
252
|
`
|
|
262
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
253
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
|
|
263
254
|
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
264
255
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
265
256
|
`
|
|
@@ -269,9 +260,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
|
269
260
|
return (message) => {
|
|
270
261
|
console.log(
|
|
271
262
|
`
|
|
272
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
273
|
-
_nullishCoalesce(colors.brand, () => ( DEFAULT_COLOR_CONFIG.dark.brand))
|
|
274
|
-
)(
|
|
263
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.brand, () => ( DEFAULT_COLOR_CONFIG.dark.brand)))(
|
|
275
264
|
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
276
265
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
277
266
|
`
|
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-
|
|
3
|
+
var _chunkKALLFA4Scjs = require('./chunk-KALLFA4S.cjs');
|
|
4
|
+
require('./chunk-DUGCV565.cjs');
|
|
5
|
+
require('./chunk-LHYAYO72.cjs');
|
|
6
|
+
require('./chunk-X6IHBBFY.cjs');
|
|
7
|
+
require('./chunk-YEL7HQVG.cjs');
|
|
8
8
|
require('./chunk-4G3IU22J.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.getGenerateAction =
|
|
11
|
+
exports.getGenerateAction = _chunkKALLFA4Scjs.getGenerateAction;
|
package/dist/generate.d.cts
CHANGED
package/dist/generate.d.ts
CHANGED
package/dist/generate.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGenerateAction
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6ICZFPBE.js";
|
|
4
|
+
import "./chunk-VH355W76.js";
|
|
5
|
+
import "./chunk-UQHYOHNO.js";
|
|
6
|
+
import "./chunk-2SQOGXXW.js";
|
|
7
|
+
import "./chunk-CGUOYQRT.js";
|
|
8
8
|
import "./chunk-NTN5YK5X.js";
|
|
9
9
|
export {
|
|
10
10
|
getGenerateAction
|
package/dist/index.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkKALLFA4Scjs = require('./chunk-KALLFA4S.cjs');
|
|
4
4
|
require('./chunk-TQVHFPJA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkDUGCV565cjs = require('./chunk-DUGCV565.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkLHYAYO72cjs = require('./chunk-LHYAYO72.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
15
|
+
var _chunkX6IHBBFYcjs = require('./chunk-X6IHBBFY.cjs');
|
|
16
|
+
require('./chunk-YEL7HQVG.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunk4G3IU22Jcjs = require('./chunk-4G3IU22J.cjs');
|
|
@@ -25,4 +25,4 @@ var _chunk4G3IU22Jcjs = require('./chunk-4G3IU22J.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
exports.generateDeclaration =
|
|
28
|
+
exports.generateDeclaration = _chunkDUGCV565cjs.generateDeclaration; exports.generateDeclarationFile = _chunkDUGCV565cjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkLHYAYO72cjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkX6IHBBFYcjs.generateMarkdown; exports.generateMarkdownFile = _chunkX6IHBBFYcjs.generateMarkdownFile; exports.getGenerateAction = _chunkKALLFA4Scjs.getGenerateAction; exports.getOutputFile = _chunk4G3IU22Jcjs.getOutputFile;
|
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ export { generateDeclaration, generateDeclarationFile } from './generators/dts.c
|
|
|
3
3
|
export { generateJsonSchemaFile } from './generators/json-schema.cjs';
|
|
4
4
|
export { generateMarkdown, generateMarkdownFile } from './generators/markdown.cjs';
|
|
5
5
|
export { getOutputFile } from './utilities.cjs';
|
|
6
|
-
import './types-
|
|
6
|
+
import './types-Dug-2iKz.cjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'zod/v4/mini';
|
|
9
9
|
import 'glob';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { generateDeclaration, generateDeclarationFile } from './generators/dts.j
|
|
|
3
3
|
export { generateJsonSchemaFile } from './generators/json-schema.js';
|
|
4
4
|
export { generateMarkdown, generateMarkdownFile } from './generators/markdown.js';
|
|
5
5
|
export { getOutputFile } from './utilities.js';
|
|
6
|
-
import './types-
|
|
6
|
+
import './types-Dug-2iKz.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'zod/v4/mini';
|
|
9
9
|
import 'glob';
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGenerateAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6ICZFPBE.js";
|
|
4
4
|
import "./chunk-BY5UJMXQ.js";
|
|
5
5
|
import {
|
|
6
6
|
generateDeclaration,
|
|
7
7
|
generateDeclarationFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VH355W76.js";
|
|
9
9
|
import {
|
|
10
10
|
generateJsonSchemaFile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UQHYOHNO.js";
|
|
12
12
|
import {
|
|
13
13
|
generateMarkdown,
|
|
14
14
|
generateMarkdownFile
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-2SQOGXXW.js";
|
|
16
|
+
import "./chunk-CGUOYQRT.js";
|
|
17
17
|
import {
|
|
18
18
|
getOutputFile
|
|
19
19
|
} from "./chunk-NTN5YK5X.js";
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import * as z$1 from 'zod';
|
|
2
|
+
import * as z from 'zod/v4/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
|
+
debug: "debug";
|
|
85
|
+
fatal: "fatal";
|
|
86
|
+
performance: "performance";
|
|
87
|
+
silent: "silent";
|
|
88
|
+
error: "error";
|
|
89
|
+
warn: "warn";
|
|
90
|
+
trace: "trace";
|
|
91
|
+
all: "all";
|
|
92
|
+
}>>;
|
|
93
|
+
skipConfigLogging: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
94
|
+
registry: z.ZodMiniDefault<z.ZodMiniObject<{
|
|
95
|
+
github: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
96
|
+
npm: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
97
|
+
cargo: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
98
|
+
cyclone: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
99
|
+
container: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
configFile: z.ZodMiniDefault<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
102
|
+
colors: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
103
|
+
dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
104
|
+
light: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
105
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
106
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
107
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
108
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
109
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
110
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
111
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
112
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
113
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
114
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
115
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
116
|
+
performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
117
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
118
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
119
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
120
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
121
|
+
dark: z.ZodMiniObject<{
|
|
122
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
123
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
124
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
125
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
126
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
127
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
128
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
129
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
130
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
131
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
132
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
133
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
134
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
135
|
+
performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
136
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
137
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
138
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
139
|
+
}, z.core.$strip>;
|
|
140
|
+
light: z.ZodMiniObject<{
|
|
141
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
142
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
143
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
144
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
145
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
146
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
147
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
148
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
149
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
150
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
151
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
152
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
153
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
154
|
+
performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
155
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
156
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
157
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
158
|
+
}, z.core.$strip>;
|
|
159
|
+
}, 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<{
|
|
160
|
+
dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
161
|
+
light: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
162
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
163
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
164
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
165
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
166
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
167
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
168
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
169
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
170
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
171
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
172
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
173
|
+
performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
174
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
175
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
176
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
177
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
178
|
+
dark: z.ZodMiniObject<{
|
|
179
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
180
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
181
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
182
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
183
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
184
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
185
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
186
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
187
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
188
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
189
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
190
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
191
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
192
|
+
performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
193
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
194
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
195
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
196
|
+
}, z.core.$strip>;
|
|
197
|
+
light: z.ZodMiniObject<{
|
|
198
|
+
foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
199
|
+
background: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
200
|
+
brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
201
|
+
alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
202
|
+
accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
203
|
+
link: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
204
|
+
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
205
|
+
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
206
|
+
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
207
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
208
|
+
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
209
|
+
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
210
|
+
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
211
|
+
performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
212
|
+
positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
213
|
+
negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
214
|
+
gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
215
|
+
}, z.core.$strip>;
|
|
216
|
+
}, z.core.$strip>]>>]>;
|
|
217
|
+
extensions: z.ZodMiniDefault<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniAny>>;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
|
|
220
|
+
type TStormWorkspaceConfig = z$1.infer<typeof workspaceConfigSchema>;
|
|
221
|
+
/**
|
|
222
|
+
* The Storm workspace's configuration object
|
|
223
|
+
*
|
|
224
|
+
* @remarks
|
|
225
|
+
* 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`.
|
|
226
|
+
*
|
|
227
|
+
* @deprecated
|
|
228
|
+
* This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
|
|
229
|
+
*/
|
|
230
|
+
type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
|
|
231
|
+
extensions: (TStormWorkspaceConfig["extensions"] & {
|
|
232
|
+
[extensionName in TExtensionName]: TExtensionConfig;
|
|
233
|
+
}) | NonNullable<Record<string, any>>;
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* The Storm workspace's configuration object
|
|
237
|
+
*
|
|
238
|
+
* @remarks
|
|
239
|
+
* 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`.
|
|
240
|
+
*/
|
|
241
|
+
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
242
|
+
|
|
243
|
+
export type { StormWorkspaceConfig as S };
|