@supernova-studio/client 1.40.2 → 1.40.3
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 +53122 -259
- package/dist/index.d.ts +53122 -259
- package/dist/index.js +101 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +102 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9660,25 +9660,114 @@ var DTOForgeProjectArtifactRoomResponse = z319.object({
|
|
|
9660
9660
|
|
|
9661
9661
|
// src/api/dto/forge/project-context-v2.ts
|
|
9662
9662
|
import { z as z320 } from "zod";
|
|
9663
|
-
var
|
|
9663
|
+
var DTOForgeComponentSetTypeV2 = z320.enum(["Shadcn"]);
|
|
9664
9664
|
var DTOForgeComponentSet = z320.object({
|
|
9665
|
-
type:
|
|
9665
|
+
type: DTOForgeComponentSetTypeV2
|
|
9666
9666
|
});
|
|
9667
|
-
var
|
|
9667
|
+
var DTOForgeIconSetTypeV2 = z320.enum(["Phosphor", "Lucide", "Tabler"]);
|
|
9668
9668
|
var DTOForgeIconSet = z320.object({
|
|
9669
|
-
type:
|
|
9670
|
-
|
|
9669
|
+
type: DTOForgeIconSetTypeV2,
|
|
9670
|
+
variant: z320.string().nullable()
|
|
9671
|
+
});
|
|
9672
|
+
var DTOForgeProjectTheme = z320.object({
|
|
9673
|
+
// Colors
|
|
9674
|
+
background: ColorTokenData,
|
|
9675
|
+
foreground: ColorTokenData,
|
|
9676
|
+
card: ColorTokenData,
|
|
9677
|
+
cardForeground: ColorTokenData,
|
|
9678
|
+
popover: ColorTokenData,
|
|
9679
|
+
popoverForeground: ColorTokenData,
|
|
9680
|
+
primary: ColorTokenData,
|
|
9681
|
+
primaryForeground: ColorTokenData,
|
|
9682
|
+
secondary: ColorTokenData,
|
|
9683
|
+
secondaryForeground: ColorTokenData,
|
|
9684
|
+
muted: ColorTokenData,
|
|
9685
|
+
mutedForeground: ColorTokenData,
|
|
9686
|
+
accent: ColorTokenData,
|
|
9687
|
+
accentForeground: ColorTokenData,
|
|
9688
|
+
destructive: ColorTokenData,
|
|
9689
|
+
border: ColorTokenData,
|
|
9690
|
+
input: ColorTokenData,
|
|
9691
|
+
ring: ColorTokenData,
|
|
9692
|
+
chart1: ColorTokenData,
|
|
9693
|
+
chart2: ColorTokenData,
|
|
9694
|
+
chart3: ColorTokenData,
|
|
9695
|
+
chart4: ColorTokenData,
|
|
9696
|
+
chart5: ColorTokenData,
|
|
9697
|
+
sidebar: ColorTokenData,
|
|
9698
|
+
sidebarForeground: ColorTokenData,
|
|
9699
|
+
sidebarPrimary: ColorTokenData,
|
|
9700
|
+
sidebarPrimaryForeground: ColorTokenData,
|
|
9701
|
+
sidebarAccent: ColorTokenData,
|
|
9702
|
+
sidebarAccentForeground: ColorTokenData,
|
|
9703
|
+
sidebarBorder: ColorTokenData,
|
|
9704
|
+
sidebarRing: ColorTokenData,
|
|
9705
|
+
// Font family
|
|
9706
|
+
fontFamily: FontFamilyTokenData,
|
|
9707
|
+
// Font sizes
|
|
9708
|
+
textXs: FontSizeTokenData,
|
|
9709
|
+
textSm: FontSizeTokenData,
|
|
9710
|
+
textBase: FontSizeTokenData,
|
|
9711
|
+
textLg: FontSizeTokenData,
|
|
9712
|
+
textXl: FontSizeTokenData,
|
|
9713
|
+
text2xl: FontSizeTokenData,
|
|
9714
|
+
text3xl: FontSizeTokenData,
|
|
9715
|
+
text4xl: FontSizeTokenData,
|
|
9716
|
+
text5xl: FontSizeTokenData,
|
|
9717
|
+
text6xl: FontSizeTokenData,
|
|
9718
|
+
text7xl: FontSizeTokenData,
|
|
9719
|
+
text8xl: FontSizeTokenData,
|
|
9720
|
+
text9xl: FontSizeTokenData,
|
|
9721
|
+
// Line heights
|
|
9722
|
+
textXsLineHeight: LineHeightTokenData,
|
|
9723
|
+
textSmLineHeight: LineHeightTokenData,
|
|
9724
|
+
textBaseLineHeight: LineHeightTokenData,
|
|
9725
|
+
textLgLineHeight: LineHeightTokenData,
|
|
9726
|
+
textXlLineHeight: LineHeightTokenData,
|
|
9727
|
+
text2xlLineHeight: LineHeightTokenData,
|
|
9728
|
+
text3xlLineHeight: LineHeightTokenData,
|
|
9729
|
+
text4xlLineHeight: LineHeightTokenData,
|
|
9730
|
+
text5xlLineHeight: LineHeightTokenData,
|
|
9731
|
+
text6xlLineHeight: LineHeightTokenData,
|
|
9732
|
+
text7xlLineHeight: LineHeightTokenData,
|
|
9733
|
+
text8xlLineHeight: LineHeightTokenData,
|
|
9734
|
+
text9xlLineHeight: LineHeightTokenData,
|
|
9735
|
+
// Font weights
|
|
9736
|
+
fontWeightThin: FontWeightTokenData,
|
|
9737
|
+
fontWeightExtralight: FontWeightTokenData,
|
|
9738
|
+
fontWeightLight: FontWeightTokenData,
|
|
9739
|
+
fontWeightNormal: FontWeightTokenData,
|
|
9740
|
+
fontWeightMedium: FontWeightTokenData,
|
|
9741
|
+
fontWeightSemibold: FontWeightTokenData,
|
|
9742
|
+
fontWeightBold: FontWeightTokenData,
|
|
9743
|
+
fontWeightExtrabold: FontWeightTokenData,
|
|
9744
|
+
fontWeightBlack: FontWeightTokenData,
|
|
9745
|
+
// Other dimensions
|
|
9746
|
+
radius: BorderRadiusTokenData,
|
|
9747
|
+
spacing: SpaceTokenData,
|
|
9748
|
+
// Shadows
|
|
9749
|
+
shadow2xs: ShadowTokenData,
|
|
9750
|
+
shadowXs: ShadowTokenData,
|
|
9751
|
+
shadowSm: ShadowTokenData,
|
|
9752
|
+
shadowMd: ShadowTokenData,
|
|
9753
|
+
shadowLg: ShadowTokenData,
|
|
9754
|
+
shadowXl: ShadowTokenData,
|
|
9755
|
+
shadow2xl: ShadowTokenData
|
|
9671
9756
|
});
|
|
9672
9757
|
var DTOForgeProjectContextV2 = z320.object({
|
|
9758
|
+
id: z320.string(),
|
|
9673
9759
|
name: z320.string(),
|
|
9674
|
-
|
|
9675
|
-
|
|
9760
|
+
workspaceId: z320.string(),
|
|
9761
|
+
designSystemId: z320.string().optional(),
|
|
9762
|
+
description: z320.string().optional(),
|
|
9763
|
+
productContext: z320.string().optional(),
|
|
9764
|
+
additionalContext: z320.string().optional(),
|
|
9676
9765
|
componentSet: DTOForgeComponentSet,
|
|
9677
9766
|
iconSet: DTOForgeIconSet,
|
|
9678
|
-
|
|
9767
|
+
theme: DTOForgeProjectTheme
|
|
9679
9768
|
});
|
|
9680
|
-
var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2;
|
|
9681
|
-
var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.partial();
|
|
9769
|
+
var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({ id: true });
|
|
9770
|
+
var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({ id: true }).partial();
|
|
9682
9771
|
var DTOForgeProjectContextResponseV2 = z320.object({ context: DTOForgeProjectContextV2 });
|
|
9683
9772
|
var DTOForgeProjectContextListQueryV2 = z320.object({ workspaceId: z320.string() });
|
|
9684
9773
|
var DTOForgeProjectContextListResponseV2 = z320.object({ contexts: z320.array(DTOForgeProjectContextV2) });
|
|
@@ -18935,13 +19024,13 @@ export {
|
|
|
18935
19024
|
DTOForgeChatThreadUpdateInput,
|
|
18936
19025
|
DTOForgeChatThreadUpdateResponse,
|
|
18937
19026
|
DTOForgeComponentSet,
|
|
18938
|
-
|
|
19027
|
+
DTOForgeComponentSetTypeV2,
|
|
18939
19028
|
DTOForgeFeatureRoom,
|
|
18940
19029
|
DTOForgeFeatureRoomResponse,
|
|
18941
19030
|
DTOForgeFigmaArtifact,
|
|
18942
19031
|
DTOForgeFileArtifact,
|
|
18943
19032
|
DTOForgeIconSet,
|
|
18944
|
-
|
|
19033
|
+
DTOForgeIconSetTypeV2,
|
|
18945
19034
|
DTOForgeIterationMessage,
|
|
18946
19035
|
DTOForgeIterationMessagesListResponse,
|
|
18947
19036
|
DTOForgeParticipant,
|
|
@@ -19025,6 +19114,7 @@ export {
|
|
|
19025
19114
|
DTOForgeProjectRemoveResponse,
|
|
19026
19115
|
DTOForgeProjectRoom,
|
|
19027
19116
|
DTOForgeProjectRoomResponse,
|
|
19117
|
+
DTOForgeProjectTheme,
|
|
19028
19118
|
DTOForgeProjectUpdate,
|
|
19029
19119
|
DTOForgeProjectUpdateResponse,
|
|
19030
19120
|
DTOForgeSection,
|