@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.mjs
CHANGED
|
@@ -3976,18 +3976,18 @@ var DesignSystemWithWorkspace = z115.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 = z116.object({
|
|
3981
3981
|
name: z116.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim().optional(),
|
|
3982
3982
|
description: z116.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
|
});
|