@supernova-studio/model 0.50.0 → 0.51.1
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 +366 -0
- package/dist/index.d.ts +366 -0
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/billing/features.ts +1 -0
- package/src/dsm/design-system.ts +1 -0
- package/src/liveblocks/rooms/design-system-version-room.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -135,7 +135,8 @@ var FeaturesSummary = _zod.z.object({
|
|
|
135
135
|
workspacePaidSeats: featureLimitedSchema,
|
|
136
136
|
workspaceViewers: featureLimitedSchema,
|
|
137
137
|
customDocumentationExporter: featureToggleSchema,
|
|
138
|
-
protectedPages: featureToggleSchema
|
|
138
|
+
protectedPages: featureToggleSchema,
|
|
139
|
+
approvals: featureToggleSchema
|
|
139
140
|
});
|
|
140
141
|
|
|
141
142
|
// src/billing/invoice.ts
|
|
@@ -4096,6 +4097,7 @@ var DesignSystem = _zod.z.object({
|
|
|
4096
4097
|
basePrefixes: _zod.z.array(_zod.z.string()),
|
|
4097
4098
|
designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
|
|
4098
4099
|
isApprovalFeatureEnabled: _zod.z.boolean(),
|
|
4100
|
+
approvalRequiredForPublishing: _zod.z.boolean(),
|
|
4099
4101
|
createdAt: _zod.z.coerce.date(),
|
|
4100
4102
|
updatedAt: _zod.z.coerce.date()
|
|
4101
4103
|
});
|
|
@@ -4358,7 +4360,8 @@ var DesignSystemVersionRoom = Entity.extend({
|
|
|
4358
4360
|
var DesignSystemVersionRoomInternalSettings = _zod.z.object({
|
|
4359
4361
|
routingVersion: _zod.z.string(),
|
|
4360
4362
|
isDraftFeatureAdopted: _zod.z.boolean(),
|
|
4361
|
-
isApprovalFeatureEnabled: _zod.z.boolean()
|
|
4363
|
+
isApprovalFeatureEnabled: _zod.z.boolean(),
|
|
4364
|
+
approvalRequiredForPublishing: _zod.z.boolean()
|
|
4362
4365
|
});
|
|
4363
4366
|
var DesignSystemVersionRoomInitialState = _zod.z.object({
|
|
4364
4367
|
pages: _zod.z.array(DocumentationPageV2),
|