@storm-software/config 1.122.7 → 1.123.0
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/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/dist/{chunk-RTIWPBE6.js → chunk-2ZLWK5GA.js} +13 -1
- package/dist/{chunk-YZ4LXHOB.cjs → chunk-OSCIEGSV.cjs} +14 -2
- package/dist/define-config.d.cts +7 -1
- package/dist/define-config.d.ts +7 -1
- package/dist/index.cjs +4 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/schema.cjs +4 -2
- package/dist/schema.d.cts +53 -4
- package/dist/schema.d.ts +53 -4
- package/dist/schema.js +3 -1
- package/dist/types.d.cts +4 -2
- package/dist/types.d.ts +4 -2
- package/package.json +1 -1
- package/presets/storm-software.json +7 -1
- package/schemas/storm-workspace.schema.json +38 -3
- package/src/define-config.d.ts +7 -1
- package/src/schema.d.ts +52 -3
- package/src/types.d.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Config
|
|
4
4
|
|
|
5
|
+
## [1.122.8](https://github.com/storm-software/storm-ops/releases/tag/config%401.122.8) (2025-06-18)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([0975b603d](https://github.com/storm-software/storm-ops/commit/0975b603d))
|
|
11
|
+
|
|
12
|
+
## [1.122.7](https://github.com/storm-software/storm-ops/releases/tag/config%401.122.7) (2025-06-18)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Regenerate README markdown files
|
|
17
|
+
([aa59eabdd](https://github.com/storm-software/storm-ops/commit/aa59eabdd))
|
|
18
|
+
|
|
5
19
|
## [1.122.6](https://github.com/storm-software/storm-ops/releases/tag/config%401.122.6) (2025-06-18)
|
|
6
20
|
|
|
7
21
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -152,6 +152,15 @@ var errorConfigSchema = z.object({
|
|
|
152
152
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
153
153
|
)
|
|
154
154
|
}).describe("The workspace's error config used during the error process");
|
|
155
|
+
var organizationConfigSchema = z.object({
|
|
156
|
+
name: z.string().trim().describe("The name of the organization"),
|
|
157
|
+
description: z.string().trim().optional().describe("A description of the organization"),
|
|
158
|
+
logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
|
|
159
|
+
icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
|
|
160
|
+
url: z.string().trim().url().optional().describe(
|
|
161
|
+
"A URL to a page that provides more information about the organization"
|
|
162
|
+
)
|
|
163
|
+
}).describe("The workspace's organization details");
|
|
155
164
|
var stormWorkspaceConfigSchema = z.object({
|
|
156
165
|
$schema: z.string().trim().default(
|
|
157
166
|
"https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
|
|
@@ -163,7 +172,9 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
163
172
|
"The name of the service/package/scope using this configuration"
|
|
164
173
|
),
|
|
165
174
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
166
|
-
organization: z.string().trim().
|
|
175
|
+
organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
|
|
176
|
+
"The organization of the workspace. This can be a string or an object containing the organization's details"
|
|
177
|
+
),
|
|
167
178
|
repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
168
179
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
169
180
|
homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
@@ -236,5 +247,6 @@ export {
|
|
|
236
247
|
WorkspaceAccountConfigSchema,
|
|
237
248
|
WorkspaceDirectoryConfigSchema,
|
|
238
249
|
errorConfigSchema,
|
|
250
|
+
organizationConfigSchema,
|
|
239
251
|
stormWorkspaceConfigSchema
|
|
240
252
|
};
|
|
@@ -152,6 +152,15 @@ var errorConfigSchema = _zod2.default.object({
|
|
|
152
152
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
153
153
|
)
|
|
154
154
|
}).describe("The workspace's error config used during the error process");
|
|
155
|
+
var organizationConfigSchema = _zod2.default.object({
|
|
156
|
+
name: _zod2.default.string().trim().describe("The name of the organization"),
|
|
157
|
+
description: _zod2.default.string().trim().optional().describe("A description of the organization"),
|
|
158
|
+
logo: _zod2.default.string().trim().url().optional().describe("A URL to the organization's logo image"),
|
|
159
|
+
icon: _zod2.default.string().trim().url().optional().describe("A URL to the organization's icon image"),
|
|
160
|
+
url: _zod2.default.string().trim().url().optional().describe(
|
|
161
|
+
"A URL to a page that provides more information about the organization"
|
|
162
|
+
)
|
|
163
|
+
}).describe("The workspace's organization details");
|
|
155
164
|
var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
156
165
|
$schema: _zod2.default.string().trim().default(
|
|
157
166
|
"https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
|
|
@@ -163,7 +172,9 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
|
163
172
|
"The name of the service/package/scope using this configuration"
|
|
164
173
|
),
|
|
165
174
|
namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
166
|
-
organization: _zod2.default.string().trim().
|
|
175
|
+
organization: organizationConfigSchema.or(_zod2.default.string().trim().describe("The organization of the workspace")).optional().describe(
|
|
176
|
+
"The organization of the workspace. This can be a string or an object containing the organization's details"
|
|
177
|
+
),
|
|
167
178
|
repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
168
179
|
license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
169
180
|
homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
@@ -237,4 +248,5 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
|
237
248
|
|
|
238
249
|
|
|
239
250
|
|
|
240
|
-
|
|
251
|
+
|
|
252
|
+
exports.DarkThemeColorConfigSchema = DarkThemeColorConfigSchema; exports.LightThemeColorConfigSchema = LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = MultiThemeColorConfigSchema; exports.SingleThemeColorConfigSchema = SingleThemeColorConfigSchema; exports.RegistryUrlConfigSchema = RegistryUrlConfigSchema; exports.RegistryConfigSchema = RegistryConfigSchema; exports.ColorConfigSchema = ColorConfigSchema; exports.ColorConfigMapSchema = ColorConfigMapSchema; exports.ExtendsSchema = ExtendsSchema; exports.WorkspaceBotConfigSchema = WorkspaceBotConfigSchema; exports.WorkspaceReleaseConfigSchema = WorkspaceReleaseConfigSchema; exports.WorkspaceAccountConfigSchema = WorkspaceAccountConfigSchema; exports.WorkspaceDirectoryConfigSchema = WorkspaceDirectoryConfigSchema; exports.errorConfigSchema = errorConfigSchema; exports.organizationConfigSchema = organizationConfigSchema; exports.stormWorkspaceConfigSchema = stormWorkspaceConfigSchema;
|
package/dist/define-config.d.cts
CHANGED
|
@@ -190,7 +190,13 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
190
190
|
$schema?: string | null | undefined;
|
|
191
191
|
extends?: string | string[] | undefined;
|
|
192
192
|
namespace?: string | undefined;
|
|
193
|
-
organization?: string |
|
|
193
|
+
organization?: string | {
|
|
194
|
+
name: string;
|
|
195
|
+
url?: string | undefined;
|
|
196
|
+
description?: string | undefined;
|
|
197
|
+
logo?: string | undefined;
|
|
198
|
+
icon?: string | undefined;
|
|
199
|
+
} | undefined;
|
|
194
200
|
repository?: string | undefined;
|
|
195
201
|
license?: string | undefined;
|
|
196
202
|
homepage?: string | undefined;
|
package/dist/define-config.d.ts
CHANGED
|
@@ -190,7 +190,13 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
190
190
|
$schema?: string | null | undefined;
|
|
191
191
|
extends?: string | string[] | undefined;
|
|
192
192
|
namespace?: string | undefined;
|
|
193
|
-
organization?: string |
|
|
193
|
+
organization?: string | {
|
|
194
|
+
name: string;
|
|
195
|
+
url?: string | undefined;
|
|
196
|
+
description?: string | undefined;
|
|
197
|
+
logo?: string | undefined;
|
|
198
|
+
icon?: string | undefined;
|
|
199
|
+
} | undefined;
|
|
194
200
|
repository?: string | undefined;
|
|
195
201
|
license?: string | undefined;
|
|
196
202
|
homepage?: string | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -17,7 +17,8 @@ var _chunkH6PQ7FMQcjs = require('./chunk-H6PQ7FMQ.cjs');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
|
|
21
|
+
var _chunkOSCIEGSVcjs = require('./chunk-OSCIEGSV.cjs');
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
|
|
@@ -71,4 +72,5 @@ var _chunkWRJN6ED4cjs = require('./chunk-WRJN6ED4.cjs');
|
|
|
71
72
|
|
|
72
73
|
|
|
73
74
|
|
|
74
|
-
|
|
75
|
+
|
|
76
|
+
exports.COLOR_KEYS = _chunkWRJN6ED4cjs.COLOR_KEYS; exports.ColorConfigMapSchema = _chunkOSCIEGSVcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunkOSCIEGSVcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunkOSCIEGSVcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunkOSCIEGSVcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunkOSCIEGSVcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunkOSCIEGSVcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunkOSCIEGSVcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunkOSCIEGSVcjs.RegistryUrlConfigSchema; exports.STORM_DEFAULT_ACCOUNT_DISCORD = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_DISCORD; exports.STORM_DEFAULT_ACCOUNT_GITHUB = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_GITHUB; exports.STORM_DEFAULT_ACCOUNT_MEDIUM = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_MEDIUM; exports.STORM_DEFAULT_ACCOUNT_SLACK = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_SLACK; exports.STORM_DEFAULT_ACCOUNT_TELEGRAM = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_TELEGRAM; exports.STORM_DEFAULT_ACCOUNT_TWITTER = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_TWITTER; exports.STORM_DEFAULT_CONTACT = _chunkHPEJ52UXcjs.STORM_DEFAULT_CONTACT; exports.STORM_DEFAULT_DOCS = _chunkHPEJ52UXcjs.STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_ERROR_CODES_FILE = _chunkHPEJ52UXcjs.STORM_DEFAULT_ERROR_CODES_FILE; exports.STORM_DEFAULT_HOMEPAGE = _chunkHPEJ52UXcjs.STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_LICENSE = _chunkHPEJ52UXcjs.STORM_DEFAULT_LICENSE; exports.STORM_DEFAULT_LICENSING = _chunkHPEJ52UXcjs.STORM_DEFAULT_LICENSING; exports.STORM_DEFAULT_RELEASE_BANNER = _chunkHPEJ52UXcjs.STORM_DEFAULT_RELEASE_BANNER; exports.STORM_DEFAULT_RELEASE_FOOTER = _chunkHPEJ52UXcjs.STORM_DEFAULT_RELEASE_FOOTER; exports.STORM_DEFAULT_SUPPORT = _chunkHPEJ52UXcjs.STORM_DEFAULT_SUPPORT; exports.SingleThemeColorConfigSchema = _chunkOSCIEGSVcjs.SingleThemeColorConfigSchema; exports.WorkspaceAccountConfigSchema = _chunkOSCIEGSVcjs.WorkspaceAccountConfigSchema; exports.WorkspaceBotConfigSchema = _chunkOSCIEGSVcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunkOSCIEGSVcjs.WorkspaceDirectoryConfigSchema; exports.WorkspaceReleaseConfigSchema = _chunkOSCIEGSVcjs.WorkspaceReleaseConfigSchema; exports.defineConfig = _chunkH6PQ7FMQcjs.defineConfig; exports.errorConfigSchema = _chunkOSCIEGSVcjs.errorConfigSchema; exports.organizationConfigSchema = _chunkOSCIEGSVcjs.organizationConfigSchema; exports.stormWorkspaceConfigSchema = _chunkOSCIEGSVcjs.stormWorkspaceConfigSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { STORM_DEFAULT_ACCOUNT_DISCORD, STORM_DEFAULT_ACCOUNT_GITHUB, STORM_DEFAULT_ACCOUNT_MEDIUM, STORM_DEFAULT_ACCOUNT_SLACK, STORM_DEFAULT_ACCOUNT_TELEGRAM, STORM_DEFAULT_ACCOUNT_TWITTER, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_ERROR_CODES_FILE, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER, STORM_DEFAULT_SUPPORT } from './constants.cjs';
|
|
2
2
|
export { defineConfig } from './define-config.cjs';
|
|
3
|
-
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, stormWorkspaceConfigSchema } from './schema.cjs';
|
|
4
|
-
export { COLOR_KEYS, ColorConfig, ColorConfigInput, ColorConfigMap, ColorConfigMapInput, DarkThemeColorConfig, DarkThemeColorConfigInput, LightThemeColorConfig, LightThemeColorConfigInput, MultiThemeColorConfig, MultiThemeColorConfigInput, SingleThemeColorConfig, SingleThemeColorConfigInput, StormConfig, StormWorkspaceConfig, StormWorkspaceConfigInput } from './types.cjs';
|
|
3
|
+
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, organizationConfigSchema, stormWorkspaceConfigSchema } from './schema.cjs';
|
|
4
|
+
export { COLOR_KEYS, ColorConfig, ColorConfigInput, ColorConfigMap, ColorConfigMapInput, DarkThemeColorConfig, DarkThemeColorConfigInput, LightThemeColorConfig, LightThemeColorConfigInput, MultiThemeColorConfig, MultiThemeColorConfigInput, OrganizationConfig, OrganizationConfigInput, SingleThemeColorConfig, SingleThemeColorConfigInput, StormConfig, StormWorkspaceConfig, StormWorkspaceConfigInput } from './types.cjs';
|
|
5
5
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { STORM_DEFAULT_ACCOUNT_DISCORD, STORM_DEFAULT_ACCOUNT_GITHUB, STORM_DEFAULT_ACCOUNT_MEDIUM, STORM_DEFAULT_ACCOUNT_SLACK, STORM_DEFAULT_ACCOUNT_TELEGRAM, STORM_DEFAULT_ACCOUNT_TWITTER, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_ERROR_CODES_FILE, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER, STORM_DEFAULT_SUPPORT } from './constants.js';
|
|
2
2
|
export { defineConfig } from './define-config.js';
|
|
3
|
-
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, stormWorkspaceConfigSchema } from './schema.js';
|
|
4
|
-
export { COLOR_KEYS, ColorConfig, ColorConfigInput, ColorConfigMap, ColorConfigMapInput, DarkThemeColorConfig, DarkThemeColorConfigInput, LightThemeColorConfig, LightThemeColorConfigInput, MultiThemeColorConfig, MultiThemeColorConfigInput, SingleThemeColorConfig, SingleThemeColorConfigInput, StormConfig, StormWorkspaceConfig, StormWorkspaceConfigInput } from './types.js';
|
|
3
|
+
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, organizationConfigSchema, stormWorkspaceConfigSchema } from './schema.js';
|
|
4
|
+
export { COLOR_KEYS, ColorConfig, ColorConfigInput, ColorConfigMap, ColorConfigMapInput, DarkThemeColorConfig, DarkThemeColorConfigInput, LightThemeColorConfig, LightThemeColorConfigInput, MultiThemeColorConfig, MultiThemeColorConfigInput, OrganizationConfig, OrganizationConfigInput, SingleThemeColorConfig, SingleThemeColorConfigInput, StormConfig, StormWorkspaceConfig, StormWorkspaceConfigInput } from './types.js';
|
|
5
5
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -16,8 +16,9 @@ import {
|
|
|
16
16
|
WorkspaceDirectoryConfigSchema,
|
|
17
17
|
WorkspaceReleaseConfigSchema,
|
|
18
18
|
errorConfigSchema,
|
|
19
|
+
organizationConfigSchema,
|
|
19
20
|
stormWorkspaceConfigSchema
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2ZLWK5GA.js";
|
|
21
22
|
import {
|
|
22
23
|
STORM_DEFAULT_ACCOUNT_DISCORD,
|
|
23
24
|
STORM_DEFAULT_ACCOUNT_GITHUB,
|
|
@@ -70,5 +71,6 @@ export {
|
|
|
70
71
|
WorkspaceReleaseConfigSchema,
|
|
71
72
|
defineConfig,
|
|
72
73
|
errorConfigSchema,
|
|
74
|
+
organizationConfigSchema,
|
|
73
75
|
stormWorkspaceConfigSchema
|
|
74
76
|
};
|
package/dist/schema.cjs
CHANGED
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
var _chunkOSCIEGSVcjs = require('./chunk-OSCIEGSV.cjs');
|
|
18
19
|
require('./chunk-HPEJ52UX.cjs');
|
|
19
20
|
|
|
20
21
|
|
|
@@ -32,4 +33,5 @@ require('./chunk-HPEJ52UX.cjs');
|
|
|
32
33
|
|
|
33
34
|
|
|
34
35
|
|
|
35
|
-
|
|
36
|
+
|
|
37
|
+
exports.ColorConfigMapSchema = _chunkOSCIEGSVcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunkOSCIEGSVcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunkOSCIEGSVcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunkOSCIEGSVcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunkOSCIEGSVcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunkOSCIEGSVcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunkOSCIEGSVcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunkOSCIEGSVcjs.RegistryUrlConfigSchema; exports.SingleThemeColorConfigSchema = _chunkOSCIEGSVcjs.SingleThemeColorConfigSchema; exports.WorkspaceAccountConfigSchema = _chunkOSCIEGSVcjs.WorkspaceAccountConfigSchema; exports.WorkspaceBotConfigSchema = _chunkOSCIEGSVcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunkOSCIEGSVcjs.WorkspaceDirectoryConfigSchema; exports.WorkspaceReleaseConfigSchema = _chunkOSCIEGSVcjs.WorkspaceReleaseConfigSchema; exports.errorConfigSchema = _chunkOSCIEGSVcjs.errorConfigSchema; exports.organizationConfigSchema = _chunkOSCIEGSVcjs.organizationConfigSchema; exports.stormWorkspaceConfigSchema = _chunkOSCIEGSVcjs.stormWorkspaceConfigSchema;
|
package/dist/schema.d.cts
CHANGED
|
@@ -1115,6 +1115,25 @@ declare const errorConfigSchema: z.ZodObject<{
|
|
|
1115
1115
|
codesFile?: string | undefined;
|
|
1116
1116
|
url?: string | undefined;
|
|
1117
1117
|
}>;
|
|
1118
|
+
declare const organizationConfigSchema: z.ZodObject<{
|
|
1119
|
+
name: z.ZodString;
|
|
1120
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
}, "strip", z.ZodTypeAny, {
|
|
1125
|
+
name: string;
|
|
1126
|
+
url?: string | undefined;
|
|
1127
|
+
description?: string | undefined;
|
|
1128
|
+
logo?: string | undefined;
|
|
1129
|
+
icon?: string | undefined;
|
|
1130
|
+
}, {
|
|
1131
|
+
name: string;
|
|
1132
|
+
url?: string | undefined;
|
|
1133
|
+
description?: string | undefined;
|
|
1134
|
+
logo?: string | undefined;
|
|
1135
|
+
icon?: string | undefined;
|
|
1136
|
+
}>;
|
|
1118
1137
|
/**
|
|
1119
1138
|
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
1120
1139
|
*/
|
|
@@ -1123,7 +1142,25 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1123
1142
|
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1124
1143
|
name: z.ZodOptional<z.ZodString>;
|
|
1125
1144
|
namespace: z.ZodOptional<z.ZodString>;
|
|
1126
|
-
organization: z.
|
|
1145
|
+
organization: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1146
|
+
name: z.ZodString;
|
|
1147
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
}, "strip", z.ZodTypeAny, {
|
|
1152
|
+
name: string;
|
|
1153
|
+
url?: string | undefined;
|
|
1154
|
+
description?: string | undefined;
|
|
1155
|
+
logo?: string | undefined;
|
|
1156
|
+
icon?: string | undefined;
|
|
1157
|
+
}, {
|
|
1158
|
+
name: string;
|
|
1159
|
+
url?: string | undefined;
|
|
1160
|
+
description?: string | undefined;
|
|
1161
|
+
logo?: string | undefined;
|
|
1162
|
+
icon?: string | undefined;
|
|
1163
|
+
}>, z.ZodString]>>;
|
|
1127
1164
|
repository: z.ZodOptional<z.ZodString>;
|
|
1128
1165
|
license: z.ZodDefault<z.ZodString>;
|
|
1129
1166
|
homepage: z.ZodOptional<z.ZodString>;
|
|
@@ -1958,7 +1995,6 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1958
1995
|
}>]>>]>]>;
|
|
1959
1996
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1960
1997
|
}, "strip", z.ZodTypeAny, {
|
|
1961
|
-
organization: string;
|
|
1962
1998
|
license: string;
|
|
1963
1999
|
branch: string;
|
|
1964
2000
|
owner: string;
|
|
@@ -2159,6 +2195,13 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2159
2195
|
$schema?: string | null | undefined;
|
|
2160
2196
|
extends?: string | string[] | undefined;
|
|
2161
2197
|
namespace?: string | undefined;
|
|
2198
|
+
organization?: string | {
|
|
2199
|
+
name: string;
|
|
2200
|
+
url?: string | undefined;
|
|
2201
|
+
description?: string | undefined;
|
|
2202
|
+
logo?: string | undefined;
|
|
2203
|
+
icon?: string | undefined;
|
|
2204
|
+
} | undefined;
|
|
2162
2205
|
repository?: string | undefined;
|
|
2163
2206
|
homepage?: string | undefined;
|
|
2164
2207
|
docs?: string | undefined;
|
|
@@ -2350,7 +2393,13 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2350
2393
|
$schema?: string | null | undefined;
|
|
2351
2394
|
extends?: string | string[] | undefined;
|
|
2352
2395
|
namespace?: string | undefined;
|
|
2353
|
-
organization?: string |
|
|
2396
|
+
organization?: string | {
|
|
2397
|
+
name: string;
|
|
2398
|
+
url?: string | undefined;
|
|
2399
|
+
description?: string | undefined;
|
|
2400
|
+
logo?: string | undefined;
|
|
2401
|
+
icon?: string | undefined;
|
|
2402
|
+
} | undefined;
|
|
2354
2403
|
repository?: string | undefined;
|
|
2355
2404
|
license?: string | undefined;
|
|
2356
2405
|
homepage?: string | undefined;
|
|
@@ -2381,4 +2430,4 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2381
2430
|
extensions?: Record<string, any> | undefined;
|
|
2382
2431
|
}>;
|
|
2383
2432
|
|
|
2384
|
-
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, stormWorkspaceConfigSchema };
|
|
2433
|
+
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, organizationConfigSchema, stormWorkspaceConfigSchema };
|
package/dist/schema.d.ts
CHANGED
|
@@ -1115,6 +1115,25 @@ declare const errorConfigSchema: z.ZodObject<{
|
|
|
1115
1115
|
codesFile?: string | undefined;
|
|
1116
1116
|
url?: string | undefined;
|
|
1117
1117
|
}>;
|
|
1118
|
+
declare const organizationConfigSchema: z.ZodObject<{
|
|
1119
|
+
name: z.ZodString;
|
|
1120
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
}, "strip", z.ZodTypeAny, {
|
|
1125
|
+
name: string;
|
|
1126
|
+
url?: string | undefined;
|
|
1127
|
+
description?: string | undefined;
|
|
1128
|
+
logo?: string | undefined;
|
|
1129
|
+
icon?: string | undefined;
|
|
1130
|
+
}, {
|
|
1131
|
+
name: string;
|
|
1132
|
+
url?: string | undefined;
|
|
1133
|
+
description?: string | undefined;
|
|
1134
|
+
logo?: string | undefined;
|
|
1135
|
+
icon?: string | undefined;
|
|
1136
|
+
}>;
|
|
1118
1137
|
/**
|
|
1119
1138
|
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
1120
1139
|
*/
|
|
@@ -1123,7 +1142,25 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1123
1142
|
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1124
1143
|
name: z.ZodOptional<z.ZodString>;
|
|
1125
1144
|
namespace: z.ZodOptional<z.ZodString>;
|
|
1126
|
-
organization: z.
|
|
1145
|
+
organization: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1146
|
+
name: z.ZodString;
|
|
1147
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
}, "strip", z.ZodTypeAny, {
|
|
1152
|
+
name: string;
|
|
1153
|
+
url?: string | undefined;
|
|
1154
|
+
description?: string | undefined;
|
|
1155
|
+
logo?: string | undefined;
|
|
1156
|
+
icon?: string | undefined;
|
|
1157
|
+
}, {
|
|
1158
|
+
name: string;
|
|
1159
|
+
url?: string | undefined;
|
|
1160
|
+
description?: string | undefined;
|
|
1161
|
+
logo?: string | undefined;
|
|
1162
|
+
icon?: string | undefined;
|
|
1163
|
+
}>, z.ZodString]>>;
|
|
1127
1164
|
repository: z.ZodOptional<z.ZodString>;
|
|
1128
1165
|
license: z.ZodDefault<z.ZodString>;
|
|
1129
1166
|
homepage: z.ZodOptional<z.ZodString>;
|
|
@@ -1958,7 +1995,6 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1958
1995
|
}>]>>]>]>;
|
|
1959
1996
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1960
1997
|
}, "strip", z.ZodTypeAny, {
|
|
1961
|
-
organization: string;
|
|
1962
1998
|
license: string;
|
|
1963
1999
|
branch: string;
|
|
1964
2000
|
owner: string;
|
|
@@ -2159,6 +2195,13 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2159
2195
|
$schema?: string | null | undefined;
|
|
2160
2196
|
extends?: string | string[] | undefined;
|
|
2161
2197
|
namespace?: string | undefined;
|
|
2198
|
+
organization?: string | {
|
|
2199
|
+
name: string;
|
|
2200
|
+
url?: string | undefined;
|
|
2201
|
+
description?: string | undefined;
|
|
2202
|
+
logo?: string | undefined;
|
|
2203
|
+
icon?: string | undefined;
|
|
2204
|
+
} | undefined;
|
|
2162
2205
|
repository?: string | undefined;
|
|
2163
2206
|
homepage?: string | undefined;
|
|
2164
2207
|
docs?: string | undefined;
|
|
@@ -2350,7 +2393,13 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2350
2393
|
$schema?: string | null | undefined;
|
|
2351
2394
|
extends?: string | string[] | undefined;
|
|
2352
2395
|
namespace?: string | undefined;
|
|
2353
|
-
organization?: string |
|
|
2396
|
+
organization?: string | {
|
|
2397
|
+
name: string;
|
|
2398
|
+
url?: string | undefined;
|
|
2399
|
+
description?: string | undefined;
|
|
2400
|
+
logo?: string | undefined;
|
|
2401
|
+
icon?: string | undefined;
|
|
2402
|
+
} | undefined;
|
|
2354
2403
|
repository?: string | undefined;
|
|
2355
2404
|
license?: string | undefined;
|
|
2356
2405
|
homepage?: string | undefined;
|
|
@@ -2381,4 +2430,4 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2381
2430
|
extensions?: Record<string, any> | undefined;
|
|
2382
2431
|
}>;
|
|
2383
2432
|
|
|
2384
|
-
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, stormWorkspaceConfigSchema };
|
|
2433
|
+
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, organizationConfigSchema, stormWorkspaceConfigSchema };
|
package/dist/schema.js
CHANGED
|
@@ -13,8 +13,9 @@ import {
|
|
|
13
13
|
WorkspaceDirectoryConfigSchema,
|
|
14
14
|
WorkspaceReleaseConfigSchema,
|
|
15
15
|
errorConfigSchema,
|
|
16
|
+
organizationConfigSchema,
|
|
16
17
|
stormWorkspaceConfigSchema
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2ZLWK5GA.js";
|
|
18
19
|
import "./chunk-X3RNGA5B.js";
|
|
19
20
|
export {
|
|
20
21
|
ColorConfigMapSchema,
|
|
@@ -31,5 +32,6 @@ export {
|
|
|
31
32
|
WorkspaceDirectoryConfigSchema,
|
|
32
33
|
WorkspaceReleaseConfigSchema,
|
|
33
34
|
errorConfigSchema,
|
|
35
|
+
organizationConfigSchema,
|
|
34
36
|
stormWorkspaceConfigSchema
|
|
35
37
|
};
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
import { stormWorkspaceConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema } from './schema.cjs';
|
|
2
|
+
import { stormWorkspaceConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema, organizationConfigSchema } from './schema.cjs';
|
|
3
3
|
|
|
4
4
|
type DarkThemeColorConfig = z.infer<typeof DarkThemeColorConfigSchema>;
|
|
5
5
|
type DarkThemeColorConfigInput = z.input<typeof DarkThemeColorConfigSchema>;
|
|
@@ -13,6 +13,8 @@ type ColorConfig = z.infer<typeof ColorConfigSchema>;
|
|
|
13
13
|
type ColorConfigInput = z.input<typeof ColorConfigSchema>;
|
|
14
14
|
type ColorConfigMap = z.infer<typeof ColorConfigMapSchema>;
|
|
15
15
|
type ColorConfigMapInput = z.input<typeof ColorConfigMapSchema>;
|
|
16
|
+
type OrganizationConfig = z.infer<typeof organizationConfigSchema>;
|
|
17
|
+
type OrganizationConfigInput = z.input<typeof organizationConfigSchema>;
|
|
16
18
|
type TStormWorkspaceConfig = z.infer<typeof stormWorkspaceConfigSchema>;
|
|
17
19
|
type StormWorkspaceConfigInput = z.input<typeof stormWorkspaceConfigSchema>;
|
|
18
20
|
/**
|
|
@@ -38,4 +40,4 @@ type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"
|
|
|
38
40
|
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
39
41
|
declare const COLOR_KEYS: string[];
|
|
40
42
|
|
|
41
|
-
export { COLOR_KEYS, type ColorConfig, type ColorConfigInput, type ColorConfigMap, type ColorConfigMapInput, type DarkThemeColorConfig, type DarkThemeColorConfigInput, type LightThemeColorConfig, type LightThemeColorConfigInput, type MultiThemeColorConfig, type MultiThemeColorConfigInput, type SingleThemeColorConfig, type SingleThemeColorConfigInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput };
|
|
43
|
+
export { COLOR_KEYS, type ColorConfig, type ColorConfigInput, type ColorConfigMap, type ColorConfigMapInput, type DarkThemeColorConfig, type DarkThemeColorConfigInput, type LightThemeColorConfig, type LightThemeColorConfigInput, type MultiThemeColorConfig, type MultiThemeColorConfigInput, type OrganizationConfig, type OrganizationConfigInput, type SingleThemeColorConfig, type SingleThemeColorConfigInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
import { stormWorkspaceConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema } from './schema.js';
|
|
2
|
+
import { stormWorkspaceConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema, organizationConfigSchema } from './schema.js';
|
|
3
3
|
|
|
4
4
|
type DarkThemeColorConfig = z.infer<typeof DarkThemeColorConfigSchema>;
|
|
5
5
|
type DarkThemeColorConfigInput = z.input<typeof DarkThemeColorConfigSchema>;
|
|
@@ -13,6 +13,8 @@ type ColorConfig = z.infer<typeof ColorConfigSchema>;
|
|
|
13
13
|
type ColorConfigInput = z.input<typeof ColorConfigSchema>;
|
|
14
14
|
type ColorConfigMap = z.infer<typeof ColorConfigMapSchema>;
|
|
15
15
|
type ColorConfigMapInput = z.input<typeof ColorConfigMapSchema>;
|
|
16
|
+
type OrganizationConfig = z.infer<typeof organizationConfigSchema>;
|
|
17
|
+
type OrganizationConfigInput = z.input<typeof organizationConfigSchema>;
|
|
16
18
|
type TStormWorkspaceConfig = z.infer<typeof stormWorkspaceConfigSchema>;
|
|
17
19
|
type StormWorkspaceConfigInput = z.input<typeof stormWorkspaceConfigSchema>;
|
|
18
20
|
/**
|
|
@@ -38,4 +40,4 @@ type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"
|
|
|
38
40
|
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
39
41
|
declare const COLOR_KEYS: string[];
|
|
40
42
|
|
|
41
|
-
export { COLOR_KEYS, type ColorConfig, type ColorConfigInput, type ColorConfigMap, type ColorConfigMapInput, type DarkThemeColorConfig, type DarkThemeColorConfigInput, type LightThemeColorConfig, type LightThemeColorConfigInput, type MultiThemeColorConfig, type MultiThemeColorConfigInput, type SingleThemeColorConfig, type SingleThemeColorConfigInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput };
|
|
43
|
+
export { COLOR_KEYS, type ColorConfig, type ColorConfigInput, type ColorConfigMap, type ColorConfigMapInput, type DarkThemeColorConfig, type DarkThemeColorConfigInput, type LightThemeColorConfig, type LightThemeColorConfigInput, type MultiThemeColorConfig, type MultiThemeColorConfigInput, type OrganizationConfig, type OrganizationConfigInput, type SingleThemeColorConfig, type SingleThemeColorConfigInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.123.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Configuration management tools and schemas for Storm Software projects, providing a standardized approach to handle project settings and presets.",
|
|
6
6
|
"repository": {
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json",
|
|
3
|
-
"organization":
|
|
3
|
+
"organization": {
|
|
4
|
+
"name": "storm-software",
|
|
5
|
+
"description": "An open source software development organization and the creator of the Stryke utilities, Storm Stack, Cyclone UI, Acidic, and Storm Cloud.",
|
|
6
|
+
"logo": "https://public.storm-cdn.com/logo.png",
|
|
7
|
+
"icon": "https://public.storm-cdn.com/icon-fill.png",
|
|
8
|
+
"url": "https://stormsoftware.com"
|
|
9
|
+
},
|
|
4
10
|
"owner": "@storm-software/admin",
|
|
5
11
|
"bot": { "name": "stormie-bot", "email": "bot@stormsoftware.com" },
|
|
6
12
|
"mode": "production",
|
|
@@ -47,9 +47,44 @@
|
|
|
47
47
|
"description": "The namespace of the package"
|
|
48
48
|
},
|
|
49
49
|
"organization": {
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
"anyOf": [
|
|
51
|
+
{
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"name": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "The name of the organization"
|
|
57
|
+
},
|
|
58
|
+
"description": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "A description of the organization"
|
|
61
|
+
},
|
|
62
|
+
"logo": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"format": "uri",
|
|
65
|
+
"description": "A URL to the organization's logo image"
|
|
66
|
+
},
|
|
67
|
+
"icon": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"format": "uri",
|
|
70
|
+
"description": "A URL to the organization's icon image"
|
|
71
|
+
},
|
|
72
|
+
"url": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"format": "uri",
|
|
75
|
+
"description": "A URL to a page that provides more information about the organization"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"required": ["name"],
|
|
79
|
+
"additionalProperties": false,
|
|
80
|
+
"description": "The workspace's organization details"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "The organization of the workspace"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"description": "The organization of the workspace. This can be a string or an object containing the organization's details"
|
|
53
88
|
},
|
|
54
89
|
"repository": {
|
|
55
90
|
"type": "string",
|
package/src/define-config.d.ts
CHANGED
|
@@ -187,7 +187,13 @@ export declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
187
187
|
$schema?: string | null | undefined;
|
|
188
188
|
extends?: string | string[] | undefined;
|
|
189
189
|
namespace?: string | undefined;
|
|
190
|
-
organization?: string |
|
|
190
|
+
organization?: string | {
|
|
191
|
+
name: string;
|
|
192
|
+
url?: string | undefined;
|
|
193
|
+
description?: string | undefined;
|
|
194
|
+
logo?: string | undefined;
|
|
195
|
+
icon?: string | undefined;
|
|
196
|
+
} | undefined;
|
|
191
197
|
repository?: string | undefined;
|
|
192
198
|
license?: string | undefined;
|
|
193
199
|
homepage?: string | undefined;
|
package/src/schema.d.ts
CHANGED
|
@@ -1114,6 +1114,25 @@ export declare const errorConfigSchema: z.ZodObject<{
|
|
|
1114
1114
|
codesFile?: string | undefined;
|
|
1115
1115
|
url?: string | undefined;
|
|
1116
1116
|
}>;
|
|
1117
|
+
export declare const organizationConfigSchema: z.ZodObject<{
|
|
1118
|
+
name: z.ZodString;
|
|
1119
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
}, "strip", z.ZodTypeAny, {
|
|
1124
|
+
name: string;
|
|
1125
|
+
url?: string | undefined;
|
|
1126
|
+
description?: string | undefined;
|
|
1127
|
+
logo?: string | undefined;
|
|
1128
|
+
icon?: string | undefined;
|
|
1129
|
+
}, {
|
|
1130
|
+
name: string;
|
|
1131
|
+
url?: string | undefined;
|
|
1132
|
+
description?: string | undefined;
|
|
1133
|
+
logo?: string | undefined;
|
|
1134
|
+
icon?: string | undefined;
|
|
1135
|
+
}>;
|
|
1117
1136
|
/**
|
|
1118
1137
|
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
1119
1138
|
*/
|
|
@@ -1122,7 +1141,25 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1122
1141
|
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1123
1142
|
name: z.ZodOptional<z.ZodString>;
|
|
1124
1143
|
namespace: z.ZodOptional<z.ZodString>;
|
|
1125
|
-
organization: z.
|
|
1144
|
+
organization: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1145
|
+
name: z.ZodString;
|
|
1146
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
}, "strip", z.ZodTypeAny, {
|
|
1151
|
+
name: string;
|
|
1152
|
+
url?: string | undefined;
|
|
1153
|
+
description?: string | undefined;
|
|
1154
|
+
logo?: string | undefined;
|
|
1155
|
+
icon?: string | undefined;
|
|
1156
|
+
}, {
|
|
1157
|
+
name: string;
|
|
1158
|
+
url?: string | undefined;
|
|
1159
|
+
description?: string | undefined;
|
|
1160
|
+
logo?: string | undefined;
|
|
1161
|
+
icon?: string | undefined;
|
|
1162
|
+
}>, z.ZodString]>>;
|
|
1126
1163
|
repository: z.ZodOptional<z.ZodString>;
|
|
1127
1164
|
license: z.ZodDefault<z.ZodString>;
|
|
1128
1165
|
homepage: z.ZodOptional<z.ZodString>;
|
|
@@ -1957,7 +1994,6 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1957
1994
|
}>]>>]>]>;
|
|
1958
1995
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1959
1996
|
}, "strip", z.ZodTypeAny, {
|
|
1960
|
-
organization: string;
|
|
1961
1997
|
license: string;
|
|
1962
1998
|
branch: string;
|
|
1963
1999
|
owner: string;
|
|
@@ -2158,6 +2194,13 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2158
2194
|
$schema?: string | null | undefined;
|
|
2159
2195
|
extends?: string | string[] | undefined;
|
|
2160
2196
|
namespace?: string | undefined;
|
|
2197
|
+
organization?: string | {
|
|
2198
|
+
name: string;
|
|
2199
|
+
url?: string | undefined;
|
|
2200
|
+
description?: string | undefined;
|
|
2201
|
+
logo?: string | undefined;
|
|
2202
|
+
icon?: string | undefined;
|
|
2203
|
+
} | undefined;
|
|
2161
2204
|
repository?: string | undefined;
|
|
2162
2205
|
homepage?: string | undefined;
|
|
2163
2206
|
docs?: string | undefined;
|
|
@@ -2349,7 +2392,13 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2349
2392
|
$schema?: string | null | undefined;
|
|
2350
2393
|
extends?: string | string[] | undefined;
|
|
2351
2394
|
namespace?: string | undefined;
|
|
2352
|
-
organization?: string |
|
|
2395
|
+
organization?: string | {
|
|
2396
|
+
name: string;
|
|
2397
|
+
url?: string | undefined;
|
|
2398
|
+
description?: string | undefined;
|
|
2399
|
+
logo?: string | undefined;
|
|
2400
|
+
icon?: string | undefined;
|
|
2401
|
+
} | undefined;
|
|
2353
2402
|
repository?: string | undefined;
|
|
2354
2403
|
license?: string | undefined;
|
|
2355
2404
|
homepage?: string | undefined;
|
package/src/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type z from "zod";
|
|
2
|
-
import type { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, stormWorkspaceConfigSchema } from "./schema";
|
|
2
|
+
import type { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, organizationConfigSchema, SingleThemeColorConfigSchema, stormWorkspaceConfigSchema } from "./schema";
|
|
3
3
|
export type DarkThemeColorConfig = z.infer<typeof DarkThemeColorConfigSchema>;
|
|
4
4
|
export type DarkThemeColorConfigInput = z.input<typeof DarkThemeColorConfigSchema>;
|
|
5
5
|
export type LightThemeColorConfig = z.infer<typeof LightThemeColorConfigSchema>;
|
|
@@ -12,6 +12,8 @@ export type ColorConfig = z.infer<typeof ColorConfigSchema>;
|
|
|
12
12
|
export type ColorConfigInput = z.input<typeof ColorConfigSchema>;
|
|
13
13
|
export type ColorConfigMap = z.infer<typeof ColorConfigMapSchema>;
|
|
14
14
|
export type ColorConfigMapInput = z.input<typeof ColorConfigMapSchema>;
|
|
15
|
+
export type OrganizationConfig = z.infer<typeof organizationConfigSchema>;
|
|
16
|
+
export type OrganizationConfigInput = z.input<typeof organizationConfigSchema>;
|
|
15
17
|
type TStormWorkspaceConfig = z.infer<typeof stormWorkspaceConfigSchema>;
|
|
16
18
|
export type StormWorkspaceConfigInput = z.input<typeof stormWorkspaceConfigSchema>;
|
|
17
19
|
/**
|