@supernova-studio/model 0.47.7 → 0.47.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernova-studio/model",
3
- "version": "0.47.7",
3
+ "version": "0.47.9",
4
4
  "description": "Supernova Data Models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -62,8 +62,9 @@ export const DataSourceFigmaImportMetadata = z.object({
62
62
  export const DataSourceFigmaRemote = z.object({
63
63
  type: z.literal(DataSourceRemoteType.Enum.Figma),
64
64
  fileId: z.string(),
65
- ownerId: z.string(),
66
- ownerName: z.string(),
65
+ preferredCredentialId: z.string().optional(),
66
+ ownerId: z.string(), // todo remove or keep to reference who created data source
67
+ ownerName: z.string(), // todo probably remove
67
68
  scope: DataSourceFigmaScope,
68
69
  state: DataSourceFigmaState,
69
70
  requiresSync: z
@@ -13,6 +13,8 @@ export const UserOnboarding = z.object({
13
13
  phase: z.string().optional(),
14
14
  jobLevel: UserOnboardingJobLevel.optional(),
15
15
  designSystemName: z.string().optional(),
16
+ defaultDestination: z.string().optional(),
17
+ figmaUrl: z.string().optional(),
16
18
  });
17
19
 
18
20
  export type UserOnboarding = z.infer<typeof UserOnboarding>;