@supernova-studio/model 1.9.13 → 1.9.14

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.mjs CHANGED
@@ -6250,20 +6250,34 @@ var NpmProxyTokenPayload = z193.object({
6250
6250
  npmProxyRegistryConfigId: z193.string()
6251
6251
  });
6252
6252
 
6253
- // src/tokens/personal-access-token.ts
6253
+ // src/portal/portal-settings.ts
6254
6254
  import { z as z194 } from "zod";
6255
- var PersonalAccessToken = z194.object({
6255
+ var PortalSettingsTheme = nullishToOptional(UserTheme);
6256
+ var PortalSettings = z194.object({
6256
6257
  id: z194.string(),
6257
- userId: z194.string(),
6258
- workspaceId: z194.string().optional(),
6259
- designSystemId: z194.string().optional(),
6260
- workspaceRole: WorkspaceRoleSchema.optional(),
6261
- name: z194.string(),
6262
- hidden: z194.boolean(),
6263
- token: z194.string(),
6264
- scope: z194.string().optional(),
6258
+ workspaceId: z194.string(),
6259
+ enabledDesignSystemIds: z194.array(z194.string()),
6260
+ enabledBrandPersistentIds: z194.array(z194.string()),
6261
+ theme: PortalSettingsTheme,
6262
+ sidebar: nullishToOptional(z194.any()),
6265
6263
  createdAt: z194.coerce.date(),
6266
- expireAt: z194.coerce.date().optional()
6264
+ updatedAt: z194.coerce.date()
6265
+ });
6266
+
6267
+ // src/tokens/personal-access-token.ts
6268
+ import { z as z195 } from "zod";
6269
+ var PersonalAccessToken = z195.object({
6270
+ id: z195.string(),
6271
+ userId: z195.string(),
6272
+ workspaceId: z195.string().optional(),
6273
+ designSystemId: z195.string().optional(),
6274
+ workspaceRole: WorkspaceRoleSchema.optional(),
6275
+ name: z195.string(),
6276
+ hidden: z195.boolean(),
6277
+ token: z195.string(),
6278
+ scope: z195.string().optional(),
6279
+ createdAt: z195.coerce.date(),
6280
+ expireAt: z195.coerce.date().optional()
6267
6281
  });
6268
6282
  export {
6269
6283
  Address,
@@ -6806,6 +6820,8 @@ export {
6806
6820
  PipelineEventType,
6807
6821
  PluginOAuthRequestSchema,
6808
6822
  Point2D,
6823
+ PortalSettings,
6824
+ PortalSettingsTheme,
6809
6825
  PostStripeCheckoutBodyInputSchema,
6810
6826
  PostStripeCheckoutOutputSchema,
6811
6827
  PostStripePortalSessionBodyInputSchema,