@supernova-studio/client 1.96.2 → 1.96.4
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/dist/index.d.mts +1712 -0
- package/dist/index.d.ts +1712 -0
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5503,6 +5503,11 @@ var Brand = _zod.z.object({
|
|
|
5503
5503
|
// ../model/src/dsm/design-system.ts
|
|
5504
5504
|
|
|
5505
5505
|
var DesignSystemAccessMode = _zod.z.enum(["Open", "InviteOnly"]);
|
|
5506
|
+
var DOC_USER_SLUG_REGEX = /^[a-z0-9](?:[a-z0-9-]{0,30}[a-z0-9])?$/;
|
|
5507
|
+
var DocUserSlugSchema = _zod.z.string().min(1).max(32).regex(
|
|
5508
|
+
DOC_USER_SLUG_REGEX,
|
|
5509
|
+
"Documentation slug can only contain lowercase letters, digits, and hyphens, and cannot start or end with a hyphen."
|
|
5510
|
+
);
|
|
5506
5511
|
var DesignSystemSwitcher = _zod.z.object({
|
|
5507
5512
|
isEnabled: _zod.z.boolean(),
|
|
5508
5513
|
designSystemIds: _zod.z.array(_zod.z.string())
|
|
@@ -5514,7 +5519,7 @@ var DesignSystem = _zod.z.object({
|
|
|
5514
5519
|
description: _zod.z.string(),
|
|
5515
5520
|
docExporterId: nullishToOptional(_zod.z.string()),
|
|
5516
5521
|
docSlug: _zod.z.string(),
|
|
5517
|
-
docUserSlug: nullishToOptional(
|
|
5522
|
+
docUserSlug: nullishToOptional(DocUserSlugSchema),
|
|
5518
5523
|
docSlugDeprecated: _zod.z.string(),
|
|
5519
5524
|
isMultibrand: _zod.z.boolean(),
|
|
5520
5525
|
docViewUrl: nullishToOptional(_zod.z.string()),
|
|
@@ -11534,6 +11539,7 @@ var DTOForgeProjectContextV2 = _zod.z.object({
|
|
|
11534
11539
|
isArchived: _zod.z.boolean(),
|
|
11535
11540
|
themePreset: _zod.z.string().optional(),
|
|
11536
11541
|
tokenThemeSets: _zod.z.array(DTOForgeTokenThemeSet).optional(),
|
|
11542
|
+
metadata: DTOObjectMetadata.optional(),
|
|
11537
11543
|
componentSet: DTOForgeComponentSet,
|
|
11538
11544
|
iconSet: DTOForgeIconSet,
|
|
11539
11545
|
theme: DTOForgeProjectTheme,
|