@supernova-studio/model 0.48.23 → 0.48.24
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 +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/design-system-update.ts +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -124571,7 +124571,7 @@ declare const DesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
124571
124571
|
} | null | undefined>>;
|
|
124572
124572
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
124573
124573
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
124574
|
-
}, "id" | "createdAt" | "updatedAt" | "
|
|
124574
|
+
}, "id" | "createdAt" | "updatedAt" | "workspaceId" | "docSlug" | "docViewUrl">, {
|
|
124575
124575
|
meta: z.ZodOptional<z.ZodObject<{
|
|
124576
124576
|
name: z.ZodOptional<z.ZodString>;
|
|
124577
124577
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -124589,13 +124589,16 @@ declare const DesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
124589
124589
|
name?: string | undefined;
|
|
124590
124590
|
description?: string | undefined;
|
|
124591
124591
|
} | undefined;
|
|
124592
|
-
workspaceId?: string | undefined;
|
|
124593
124592
|
docExporterId?: string | undefined;
|
|
124594
124593
|
docUserSlug?: string | undefined;
|
|
124595
124594
|
docSlugDeprecated?: string | undefined;
|
|
124596
124595
|
isPublic?: boolean | undefined;
|
|
124597
124596
|
isMultibrand?: boolean | undefined;
|
|
124598
124597
|
basePrefixes?: string[] | undefined;
|
|
124598
|
+
designSystemSwitcher?: {
|
|
124599
|
+
isEnabled: boolean;
|
|
124600
|
+
designSystemIds: string[];
|
|
124601
|
+
} | undefined;
|
|
124599
124602
|
}, {
|
|
124600
124603
|
name?: string | undefined;
|
|
124601
124604
|
description?: string | undefined;
|
|
@@ -124603,13 +124606,16 @@ declare const DesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
124603
124606
|
name?: string | undefined;
|
|
124604
124607
|
description?: string | undefined;
|
|
124605
124608
|
} | undefined;
|
|
124606
|
-
workspaceId?: string | undefined;
|
|
124607
124609
|
docExporterId?: string | null | undefined;
|
|
124608
124610
|
docUserSlug?: string | null | undefined;
|
|
124609
124611
|
docSlugDeprecated?: string | undefined;
|
|
124610
124612
|
isPublic?: boolean | undefined;
|
|
124611
124613
|
isMultibrand?: boolean | undefined;
|
|
124612
124614
|
basePrefixes?: string[] | undefined;
|
|
124615
|
+
designSystemSwitcher?: {
|
|
124616
|
+
isEnabled: boolean;
|
|
124617
|
+
designSystemIds: string[];
|
|
124618
|
+
} | null | undefined;
|
|
124613
124619
|
}>;
|
|
124614
124620
|
type DesignSystemUpdateInput = z.infer<typeof DesignSystemUpdateInput>;
|
|
124615
124621
|
declare const DesignSystemUpdateInputMetadata: z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -124571,7 +124571,7 @@ declare const DesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
124571
124571
|
} | null | undefined>>;
|
|
124572
124572
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
124573
124573
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
124574
|
-
}, "id" | "createdAt" | "updatedAt" | "
|
|
124574
|
+
}, "id" | "createdAt" | "updatedAt" | "workspaceId" | "docSlug" | "docViewUrl">, {
|
|
124575
124575
|
meta: z.ZodOptional<z.ZodObject<{
|
|
124576
124576
|
name: z.ZodOptional<z.ZodString>;
|
|
124577
124577
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -124589,13 +124589,16 @@ declare const DesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
124589
124589
|
name?: string | undefined;
|
|
124590
124590
|
description?: string | undefined;
|
|
124591
124591
|
} | undefined;
|
|
124592
|
-
workspaceId?: string | undefined;
|
|
124593
124592
|
docExporterId?: string | undefined;
|
|
124594
124593
|
docUserSlug?: string | undefined;
|
|
124595
124594
|
docSlugDeprecated?: string | undefined;
|
|
124596
124595
|
isPublic?: boolean | undefined;
|
|
124597
124596
|
isMultibrand?: boolean | undefined;
|
|
124598
124597
|
basePrefixes?: string[] | undefined;
|
|
124598
|
+
designSystemSwitcher?: {
|
|
124599
|
+
isEnabled: boolean;
|
|
124600
|
+
designSystemIds: string[];
|
|
124601
|
+
} | undefined;
|
|
124599
124602
|
}, {
|
|
124600
124603
|
name?: string | undefined;
|
|
124601
124604
|
description?: string | undefined;
|
|
@@ -124603,13 +124606,16 @@ declare const DesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
124603
124606
|
name?: string | undefined;
|
|
124604
124607
|
description?: string | undefined;
|
|
124605
124608
|
} | undefined;
|
|
124606
|
-
workspaceId?: string | undefined;
|
|
124607
124609
|
docExporterId?: string | null | undefined;
|
|
124608
124610
|
docUserSlug?: string | null | undefined;
|
|
124609
124611
|
docSlugDeprecated?: string | undefined;
|
|
124610
124612
|
isPublic?: boolean | undefined;
|
|
124611
124613
|
isMultibrand?: boolean | undefined;
|
|
124612
124614
|
basePrefixes?: string[] | undefined;
|
|
124615
|
+
designSystemSwitcher?: {
|
|
124616
|
+
isEnabled: boolean;
|
|
124617
|
+
designSystemIds: string[];
|
|
124618
|
+
} | null | undefined;
|
|
124613
124619
|
}>;
|
|
124614
124620
|
type DesignSystemUpdateInput = z.infer<typeof DesignSystemUpdateInput>;
|
|
124615
124621
|
declare const DesignSystemUpdateInputMetadata: z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -3976,18 +3976,18 @@ var DesignSystemWithWorkspace = _zod.z.object({
|
|
|
3976
3976
|
// src/dsm/design-system-update.ts
|
|
3977
3977
|
var DS_NAME_MIN_LENGTH = 2;
|
|
3978
3978
|
var DS_NAME_MAX_LENGTH = 64;
|
|
3979
|
-
var DS_DESC_MAX_LENGTH =
|
|
3979
|
+
var DS_DESC_MAX_LENGTH = 2048;
|
|
3980
3980
|
var DesignSystemUpdateInputMetadata = _zod.z.object({
|
|
3981
3981
|
name: _zod.z.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim().optional(),
|
|
3982
3982
|
description: _zod.z.string().max(DS_DESC_MAX_LENGTH).trim().optional()
|
|
3983
3983
|
});
|
|
3984
3984
|
var DesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
3985
3985
|
id: true,
|
|
3986
|
+
workspaceId: true,
|
|
3986
3987
|
createdAt: true,
|
|
3987
3988
|
updatedAt: true,
|
|
3988
3989
|
docSlug: true,
|
|
3989
|
-
docViewUrl: true
|
|
3990
|
-
designSystemSwitcher: true
|
|
3990
|
+
docViewUrl: true
|
|
3991
3991
|
}).extend({
|
|
3992
3992
|
meta: DesignSystemUpdateInputMetadata.optional()
|
|
3993
3993
|
});
|