@supernova-studio/client 1.43.4 → 1.43.6

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
@@ -4588,11 +4588,11 @@ var UserOnboarding = z143.object({
4588
4588
  });
4589
4589
  var UserProfile = z143.object({
4590
4590
  name: z143.string(),
4591
- avatar: z143.string().optional(),
4592
- nickname: z143.string().optional(),
4593
- onboarding: UserOnboarding.optional(),
4594
- theme: UserTheme.optional(),
4595
- portalTheme: PortalTheme.optional()
4591
+ avatar: nullishToOptional(z143.string()),
4592
+ nickname: nullishToOptional(z143.string()),
4593
+ onboarding: nullishToOptional(UserOnboarding),
4594
+ theme: nullishToOptional(UserTheme),
4595
+ portalTheme: nullishToOptional(PortalTheme)
4596
4596
  });
4597
4597
  var UserProfileUpdate = UserProfile.partial().omit({
4598
4598
  avatar: true
@@ -9974,7 +9974,7 @@ var DTOForgeComponentSet = z321.object({
9974
9974
  type: DTOForgeComponentSetTypeV2
9975
9975
  });
9976
9976
  var DTOForgeIconSetTypeV2 = z321.enum(["Phosphor", "Lucide", "Tabler"]);
9977
- var DTOForgeThemePreset = z321.enum(["Default", "Airbnb", "Spotify", "Windows98"]);
9977
+ var DTOForgeThemeKnownPreset = z321.enum(["Default", "Airbnb", "Spotify", "Windows98"]);
9978
9978
  var DTOForgeIconSet = z321.object({
9979
9979
  type: DTOForgeIconSetTypeV2,
9980
9980
  variant: z321.string().optional()
@@ -10073,7 +10073,7 @@ var DTOForgeProjectContextV2 = z321.object({
10073
10073
  productContext: z321.string().optional(),
10074
10074
  additionalContext: z321.string().optional(),
10075
10075
  isArchived: z321.boolean(),
10076
- themePreset: DTOForgeThemePreset.optional(),
10076
+ themePreset: z321.string().optional(),
10077
10077
  componentSet: DTOForgeComponentSet,
10078
10078
  iconSet: DTOForgeIconSet,
10079
10079
  theme: DTOForgeProjectTheme,
@@ -10086,9 +10086,17 @@ var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
10086
10086
  updatedAt: true,
10087
10087
  isArchived: true
10088
10088
  });
10089
- var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({ id: true, workspaceId: true }).partial();
10089
+ var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({
10090
+ id: true,
10091
+ workspaceId: true,
10092
+ createdAt: true,
10093
+ updatedAt: true
10094
+ }).partial();
10090
10095
  var DTOForgeProjectContextResponseV2 = z321.object({ context: DTOForgeProjectContextV2 });
10091
- var DTOForgeProjectContextListQueryV2 = z321.object({ workspaceId: z321.string() });
10096
+ var DTOForgeProjectContextListQueryV2 = z321.object({
10097
+ workspaceId: z321.string(),
10098
+ isArchived: z321.coerce.boolean().optional()
10099
+ });
10092
10100
  var DTOForgeProjectContextListResponseV2 = z321.object({ contexts: z321.array(DTOForgeProjectContextV2) });
10093
10101
 
10094
10102
  // src/api/dto/forge/project-context.ts
@@ -11997,15 +12005,6 @@ var ForgeProjectContextsEndpoint = class {
11997
12005
  }
11998
12006
  );
11999
12007
  }
12000
- delete(workspaceId, contextId) {
12001
- return this.requestExecutor.json(
12002
- `/workspaces/${workspaceId}/forge/project-contexts/${contextId}`,
12003
- DTOForgeProjectContextRemoveResponse,
12004
- {
12005
- method: "DELETE"
12006
- }
12007
- );
12008
- }
12009
12008
  };
12010
12009
 
12011
12010
  // src/api/endpoints/forge/project-files.ts
@@ -19541,7 +19540,7 @@ export {
19541
19540
  DTOForgeSectionMoveInput,
19542
19541
  DTOForgeSectionUpdateInput,
19543
19542
  DTOForgeSpecArtifact,
19544
- DTOForgeThemePreset,
19543
+ DTOForgeThemeKnownPreset,
19545
19544
  DTOFrameNodeStructure,
19546
19545
  DTOFrameNodeStructureListResponse,
19547
19546
  DTOGetBlockDefinitionsOutput,