@storm-software/config 1.99.3 → 1.99.5

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.
@@ -0,0 +1,203 @@
1
+ import { StormConfigInput } from './types.cjs';
2
+ import 'zod';
3
+ import './schema.cjs';
4
+
5
+ /**
6
+ * Type the config values for the current Storm workspace
7
+ *
8
+ * @param input - The config values for the current Storm workspace
9
+ * @returns The config values for the current Storm workspace
10
+ */
11
+ declare const defineConfig: (input: StormConfigInput) => {
12
+ bot: {
13
+ name?: string | undefined;
14
+ email?: string | undefined;
15
+ };
16
+ directories: {
17
+ cache?: string | undefined;
18
+ data?: string | undefined;
19
+ config?: string | undefined;
20
+ temp?: string | undefined;
21
+ log?: string | undefined;
22
+ build?: string | undefined;
23
+ };
24
+ colors: {
25
+ fatal?: string | undefined;
26
+ success?: string | undefined;
27
+ info?: string | undefined;
28
+ dark?: string | undefined;
29
+ light?: string | undefined;
30
+ brand?: string | undefined;
31
+ alternate?: string | undefined;
32
+ accent?: string | undefined;
33
+ link?: string | undefined;
34
+ help?: string | undefined;
35
+ warning?: string | undefined;
36
+ danger?: string | undefined;
37
+ positive?: string | undefined;
38
+ negative?: string | undefined;
39
+ } | {
40
+ dark: {
41
+ fatal?: string | undefined;
42
+ success?: string | undefined;
43
+ info?: string | undefined;
44
+ brand?: string | undefined;
45
+ alternate?: string | undefined;
46
+ accent?: string | undefined;
47
+ link?: string | undefined;
48
+ help?: string | undefined;
49
+ warning?: string | undefined;
50
+ danger?: string | undefined;
51
+ positive?: string | undefined;
52
+ negative?: string | undefined;
53
+ foreground?: string | undefined;
54
+ background?: string | undefined;
55
+ };
56
+ light: {
57
+ fatal?: string | undefined;
58
+ success?: string | undefined;
59
+ info?: string | undefined;
60
+ brand?: string | undefined;
61
+ alternate?: string | undefined;
62
+ accent?: string | undefined;
63
+ link?: string | undefined;
64
+ help?: string | undefined;
65
+ warning?: string | undefined;
66
+ danger?: string | undefined;
67
+ positive?: string | undefined;
68
+ negative?: string | undefined;
69
+ foreground?: string | undefined;
70
+ background?: string | undefined;
71
+ };
72
+ } | {
73
+ base: {
74
+ fatal?: string | undefined;
75
+ success?: string | undefined;
76
+ info?: string | undefined;
77
+ dark?: string | undefined;
78
+ light?: string | undefined;
79
+ brand?: string | undefined;
80
+ alternate?: string | undefined;
81
+ accent?: string | undefined;
82
+ link?: string | undefined;
83
+ help?: string | undefined;
84
+ warning?: string | undefined;
85
+ danger?: string | undefined;
86
+ positive?: string | undefined;
87
+ negative?: string | undefined;
88
+ } | {
89
+ dark: {
90
+ fatal?: string | undefined;
91
+ success?: string | undefined;
92
+ info?: string | undefined;
93
+ brand?: string | undefined;
94
+ alternate?: string | undefined;
95
+ accent?: string | undefined;
96
+ link?: string | undefined;
97
+ help?: string | undefined;
98
+ warning?: string | undefined;
99
+ danger?: string | undefined;
100
+ positive?: string | undefined;
101
+ negative?: string | undefined;
102
+ foreground?: string | undefined;
103
+ background?: string | undefined;
104
+ };
105
+ light: {
106
+ fatal?: string | undefined;
107
+ success?: string | undefined;
108
+ info?: string | undefined;
109
+ brand?: string | undefined;
110
+ alternate?: string | undefined;
111
+ accent?: string | undefined;
112
+ link?: string | undefined;
113
+ help?: string | undefined;
114
+ warning?: string | undefined;
115
+ danger?: string | undefined;
116
+ positive?: string | undefined;
117
+ negative?: string | undefined;
118
+ foreground?: string | undefined;
119
+ background?: string | undefined;
120
+ };
121
+ };
122
+ } | Record<string, {
123
+ fatal?: string | undefined;
124
+ success?: string | undefined;
125
+ info?: string | undefined;
126
+ dark?: string | undefined;
127
+ light?: string | undefined;
128
+ brand?: string | undefined;
129
+ alternate?: string | undefined;
130
+ accent?: string | undefined;
131
+ link?: string | undefined;
132
+ help?: string | undefined;
133
+ warning?: string | undefined;
134
+ danger?: string | undefined;
135
+ positive?: string | undefined;
136
+ negative?: string | undefined;
137
+ } | {
138
+ dark: {
139
+ fatal?: string | undefined;
140
+ success?: string | undefined;
141
+ info?: string | undefined;
142
+ brand?: string | undefined;
143
+ alternate?: string | undefined;
144
+ accent?: string | undefined;
145
+ link?: string | undefined;
146
+ help?: string | undefined;
147
+ warning?: string | undefined;
148
+ danger?: string | undefined;
149
+ positive?: string | undefined;
150
+ negative?: string | undefined;
151
+ foreground?: string | undefined;
152
+ background?: string | undefined;
153
+ };
154
+ light: {
155
+ fatal?: string | undefined;
156
+ success?: string | undefined;
157
+ info?: string | undefined;
158
+ brand?: string | undefined;
159
+ alternate?: string | undefined;
160
+ accent?: string | undefined;
161
+ link?: string | undefined;
162
+ help?: string | undefined;
163
+ warning?: string | undefined;
164
+ danger?: string | undefined;
165
+ positive?: string | undefined;
166
+ negative?: string | undefined;
167
+ foreground?: string | undefined;
168
+ background?: string | undefined;
169
+ };
170
+ }>;
171
+ $schema?: string | null | undefined;
172
+ extends?: string | string[] | undefined;
173
+ name?: string | undefined;
174
+ namespace?: string | undefined;
175
+ organization?: string | undefined;
176
+ repository?: string | undefined;
177
+ license?: string | undefined;
178
+ homepage?: string | undefined;
179
+ docs?: string | undefined;
180
+ licensing?: string | undefined;
181
+ branch?: string | undefined;
182
+ preid?: string | undefined;
183
+ owner?: string | undefined;
184
+ env?: "development" | "staging" | "production" | undefined;
185
+ workspaceRoot?: string | undefined;
186
+ externalPackagePatterns?: string[] | undefined;
187
+ skipCache?: boolean | undefined;
188
+ packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
189
+ timezone?: string | undefined;
190
+ locale?: string | undefined;
191
+ logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
192
+ registry?: {
193
+ npm?: string | undefined;
194
+ github?: string | undefined;
195
+ cargo?: string | undefined;
196
+ cyclone?: string | undefined;
197
+ container?: string | undefined;
198
+ } | undefined;
199
+ configFile?: string | null | undefined;
200
+ extensions?: Record<string, any> | undefined;
201
+ };
202
+
203
+ export { defineConfig };
@@ -0,0 +1,203 @@
1
+ import { StormConfigInput } from './types.js';
2
+ import 'zod';
3
+ import './schema.js';
4
+
5
+ /**
6
+ * Type the config values for the current Storm workspace
7
+ *
8
+ * @param input - The config values for the current Storm workspace
9
+ * @returns The config values for the current Storm workspace
10
+ */
11
+ declare const defineConfig: (input: StormConfigInput) => {
12
+ bot: {
13
+ name?: string | undefined;
14
+ email?: string | undefined;
15
+ };
16
+ directories: {
17
+ cache?: string | undefined;
18
+ data?: string | undefined;
19
+ config?: string | undefined;
20
+ temp?: string | undefined;
21
+ log?: string | undefined;
22
+ build?: string | undefined;
23
+ };
24
+ colors: {
25
+ fatal?: string | undefined;
26
+ success?: string | undefined;
27
+ info?: string | undefined;
28
+ dark?: string | undefined;
29
+ light?: string | undefined;
30
+ brand?: string | undefined;
31
+ alternate?: string | undefined;
32
+ accent?: string | undefined;
33
+ link?: string | undefined;
34
+ help?: string | undefined;
35
+ warning?: string | undefined;
36
+ danger?: string | undefined;
37
+ positive?: string | undefined;
38
+ negative?: string | undefined;
39
+ } | {
40
+ dark: {
41
+ fatal?: string | undefined;
42
+ success?: string | undefined;
43
+ info?: string | undefined;
44
+ brand?: string | undefined;
45
+ alternate?: string | undefined;
46
+ accent?: string | undefined;
47
+ link?: string | undefined;
48
+ help?: string | undefined;
49
+ warning?: string | undefined;
50
+ danger?: string | undefined;
51
+ positive?: string | undefined;
52
+ negative?: string | undefined;
53
+ foreground?: string | undefined;
54
+ background?: string | undefined;
55
+ };
56
+ light: {
57
+ fatal?: string | undefined;
58
+ success?: string | undefined;
59
+ info?: string | undefined;
60
+ brand?: string | undefined;
61
+ alternate?: string | undefined;
62
+ accent?: string | undefined;
63
+ link?: string | undefined;
64
+ help?: string | undefined;
65
+ warning?: string | undefined;
66
+ danger?: string | undefined;
67
+ positive?: string | undefined;
68
+ negative?: string | undefined;
69
+ foreground?: string | undefined;
70
+ background?: string | undefined;
71
+ };
72
+ } | {
73
+ base: {
74
+ fatal?: string | undefined;
75
+ success?: string | undefined;
76
+ info?: string | undefined;
77
+ dark?: string | undefined;
78
+ light?: string | undefined;
79
+ brand?: string | undefined;
80
+ alternate?: string | undefined;
81
+ accent?: string | undefined;
82
+ link?: string | undefined;
83
+ help?: string | undefined;
84
+ warning?: string | undefined;
85
+ danger?: string | undefined;
86
+ positive?: string | undefined;
87
+ negative?: string | undefined;
88
+ } | {
89
+ dark: {
90
+ fatal?: string | undefined;
91
+ success?: string | undefined;
92
+ info?: string | undefined;
93
+ brand?: string | undefined;
94
+ alternate?: string | undefined;
95
+ accent?: string | undefined;
96
+ link?: string | undefined;
97
+ help?: string | undefined;
98
+ warning?: string | undefined;
99
+ danger?: string | undefined;
100
+ positive?: string | undefined;
101
+ negative?: string | undefined;
102
+ foreground?: string | undefined;
103
+ background?: string | undefined;
104
+ };
105
+ light: {
106
+ fatal?: string | undefined;
107
+ success?: string | undefined;
108
+ info?: string | undefined;
109
+ brand?: string | undefined;
110
+ alternate?: string | undefined;
111
+ accent?: string | undefined;
112
+ link?: string | undefined;
113
+ help?: string | undefined;
114
+ warning?: string | undefined;
115
+ danger?: string | undefined;
116
+ positive?: string | undefined;
117
+ negative?: string | undefined;
118
+ foreground?: string | undefined;
119
+ background?: string | undefined;
120
+ };
121
+ };
122
+ } | Record<string, {
123
+ fatal?: string | undefined;
124
+ success?: string | undefined;
125
+ info?: string | undefined;
126
+ dark?: string | undefined;
127
+ light?: string | undefined;
128
+ brand?: string | undefined;
129
+ alternate?: string | undefined;
130
+ accent?: string | undefined;
131
+ link?: string | undefined;
132
+ help?: string | undefined;
133
+ warning?: string | undefined;
134
+ danger?: string | undefined;
135
+ positive?: string | undefined;
136
+ negative?: string | undefined;
137
+ } | {
138
+ dark: {
139
+ fatal?: string | undefined;
140
+ success?: string | undefined;
141
+ info?: string | undefined;
142
+ brand?: string | undefined;
143
+ alternate?: string | undefined;
144
+ accent?: string | undefined;
145
+ link?: string | undefined;
146
+ help?: string | undefined;
147
+ warning?: string | undefined;
148
+ danger?: string | undefined;
149
+ positive?: string | undefined;
150
+ negative?: string | undefined;
151
+ foreground?: string | undefined;
152
+ background?: string | undefined;
153
+ };
154
+ light: {
155
+ fatal?: string | undefined;
156
+ success?: string | undefined;
157
+ info?: string | undefined;
158
+ brand?: string | undefined;
159
+ alternate?: string | undefined;
160
+ accent?: string | undefined;
161
+ link?: string | undefined;
162
+ help?: string | undefined;
163
+ warning?: string | undefined;
164
+ danger?: string | undefined;
165
+ positive?: string | undefined;
166
+ negative?: string | undefined;
167
+ foreground?: string | undefined;
168
+ background?: string | undefined;
169
+ };
170
+ }>;
171
+ $schema?: string | null | undefined;
172
+ extends?: string | string[] | undefined;
173
+ name?: string | undefined;
174
+ namespace?: string | undefined;
175
+ organization?: string | undefined;
176
+ repository?: string | undefined;
177
+ license?: string | undefined;
178
+ homepage?: string | undefined;
179
+ docs?: string | undefined;
180
+ licensing?: string | undefined;
181
+ branch?: string | undefined;
182
+ preid?: string | undefined;
183
+ owner?: string | undefined;
184
+ env?: "development" | "staging" | "production" | undefined;
185
+ workspaceRoot?: string | undefined;
186
+ externalPackagePatterns?: string[] | undefined;
187
+ skipCache?: boolean | undefined;
188
+ packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
189
+ timezone?: string | undefined;
190
+ locale?: string | undefined;
191
+ logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
192
+ registry?: {
193
+ npm?: string | undefined;
194
+ github?: string | undefined;
195
+ cargo?: string | undefined;
196
+ cyclone?: string | undefined;
197
+ container?: string | undefined;
198
+ } | undefined;
199
+ configFile?: string | null | undefined;
200
+ extensions?: Record<string, any> | undefined;
201
+ };
202
+
203
+ export { defineConfig };
@@ -0,0 +1,7 @@
1
+ import {
2
+ defineConfig
3
+ } from "./chunk-5KAGNCTX.js";
4
+ import "./chunk-SHUYVCID.js";
5
+ export {
6
+ defineConfig
7
+ };
package/dist/index.cjs ADDED
@@ -0,0 +1,47 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkSNJKI2QWcjs = require('./chunk-SNJKI2QW.cjs');
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ var _chunkE2EZJIOYcjs = require('./chunk-E2EZJIOY.cjs');
18
+
19
+
20
+
21
+
22
+
23
+ var _chunkAVMOBJJQcjs = require('./chunk-AVMOBJJQ.cjs');
24
+
25
+
26
+ var _chunkWRJN6ED4cjs = require('./chunk-WRJN6ED4.cjs');
27
+ require('./chunk-USNT2KNT.cjs');
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+ exports.COLOR_KEYS = _chunkWRJN6ED4cjs.COLOR_KEYS; exports.ColorConfigMapSchema = _chunkE2EZJIOYcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunkE2EZJIOYcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunkE2EZJIOYcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunkE2EZJIOYcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunkE2EZJIOYcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunkE2EZJIOYcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunkE2EZJIOYcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunkE2EZJIOYcjs.RegistryUrlConfigSchema; exports.STORM_DEFAULT_DOCS = _chunkAVMOBJJQcjs.STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_HOMEPAGE = _chunkAVMOBJJQcjs.STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_LICENSE = _chunkAVMOBJJQcjs.STORM_DEFAULT_LICENSE; exports.STORM_DEFAULT_LICENSING = _chunkAVMOBJJQcjs.STORM_DEFAULT_LICENSING; exports.SingleThemeColorConfigSchema = _chunkE2EZJIOYcjs.SingleThemeColorConfigSchema; exports.StormConfigSchema = _chunkE2EZJIOYcjs.StormConfigSchema; exports.WorkspaceBotConfigSchema = _chunkE2EZJIOYcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunkE2EZJIOYcjs.WorkspaceDirectoryConfigSchema; exports.defineConfig = _chunkSNJKI2QWcjs.defineConfig;
@@ -0,0 +1,5 @@
1
+ export { STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING } from './constants.cjs';
2
+ export { defineConfig } from './define-config.cjs';
3
+ export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, StormConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema } from './schema.cjs';
4
+ export { COLOR_KEYS, ColorConfig, ColorConfigInput, ColorConfigMap, ColorConfigMapInput, DarkThemeColorConfig, DarkThemeColorConfigInput, LightThemeColorConfig, LightThemeColorConfigInput, MultiThemeColorConfig, MultiThemeColorConfigInput, SingleThemeColorConfig, SingleThemeColorConfigInput, StormConfig, StormConfigInput } from './types.cjs';
5
+ import 'zod';
@@ -0,0 +1,5 @@
1
+ export { STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING } from './constants.js';
2
+ export { defineConfig } from './define-config.js';
3
+ export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, StormConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema } from './schema.js';
4
+ export { COLOR_KEYS, ColorConfig, ColorConfigInput, ColorConfigMap, ColorConfigMapInput, DarkThemeColorConfig, DarkThemeColorConfigInput, LightThemeColorConfig, LightThemeColorConfigInput, MultiThemeColorConfig, MultiThemeColorConfigInput, SingleThemeColorConfig, SingleThemeColorConfigInput, StormConfig, StormConfigInput } from './types.js';
5
+ import 'zod';
package/dist/index.js ADDED
@@ -0,0 +1,47 @@
1
+ import {
2
+ defineConfig
3
+ } from "./chunk-5KAGNCTX.js";
4
+ import {
5
+ ColorConfigMapSchema,
6
+ ColorConfigSchema,
7
+ DarkThemeColorConfigSchema,
8
+ ExtendsSchema,
9
+ LightThemeColorConfigSchema,
10
+ MultiThemeColorConfigSchema,
11
+ RegistryConfigSchema,
12
+ RegistryUrlConfigSchema,
13
+ SingleThemeColorConfigSchema,
14
+ StormConfigSchema,
15
+ WorkspaceBotConfigSchema,
16
+ WorkspaceDirectoryConfigSchema
17
+ } from "./chunk-W7MRCX7I.js";
18
+ import {
19
+ STORM_DEFAULT_DOCS,
20
+ STORM_DEFAULT_HOMEPAGE,
21
+ STORM_DEFAULT_LICENSE,
22
+ STORM_DEFAULT_LICENSING
23
+ } from "./chunk-PQYQEEST.js";
24
+ import {
25
+ COLOR_KEYS
26
+ } from "./chunk-HFZRRAQB.js";
27
+ import "./chunk-SHUYVCID.js";
28
+ export {
29
+ COLOR_KEYS,
30
+ ColorConfigMapSchema,
31
+ ColorConfigSchema,
32
+ DarkThemeColorConfigSchema,
33
+ ExtendsSchema,
34
+ LightThemeColorConfigSchema,
35
+ MultiThemeColorConfigSchema,
36
+ RegistryConfigSchema,
37
+ RegistryUrlConfigSchema,
38
+ STORM_DEFAULT_DOCS,
39
+ STORM_DEFAULT_HOMEPAGE,
40
+ STORM_DEFAULT_LICENSE,
41
+ STORM_DEFAULT_LICENSING,
42
+ SingleThemeColorConfigSchema,
43
+ StormConfigSchema,
44
+ WorkspaceBotConfigSchema,
45
+ WorkspaceDirectoryConfigSchema,
46
+ defineConfig
47
+ };
@@ -0,0 +1,30 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+ var _chunkE2EZJIOYcjs = require('./chunk-E2EZJIOY.cjs');
15
+ require('./chunk-AVMOBJJQ.cjs');
16
+ require('./chunk-USNT2KNT.cjs');
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+ exports.ColorConfigMapSchema = _chunkE2EZJIOYcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunkE2EZJIOYcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunkE2EZJIOYcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunkE2EZJIOYcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunkE2EZJIOYcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunkE2EZJIOYcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunkE2EZJIOYcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunkE2EZJIOYcjs.RegistryUrlConfigSchema; exports.SingleThemeColorConfigSchema = _chunkE2EZJIOYcjs.SingleThemeColorConfigSchema; exports.StormConfigSchema = _chunkE2EZJIOYcjs.StormConfigSchema; exports.WorkspaceBotConfigSchema = _chunkE2EZJIOYcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunkE2EZJIOYcjs.WorkspaceDirectoryConfigSchema;