@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/dist/index.d.mts +108 -36
- package/dist/index.d.ts +108 -36
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/data-sources/data-source.ts +3 -2
- package/src/users/user-profile.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -365,7 +365,9 @@ var UserOnboarding = _zod.z.object({
|
|
|
365
365
|
jobTitle: _zod.z.string().optional(),
|
|
366
366
|
phase: _zod.z.string().optional(),
|
|
367
367
|
jobLevel: UserOnboardingJobLevel.optional(),
|
|
368
|
-
designSystemName: _zod.z.string().optional()
|
|
368
|
+
designSystemName: _zod.z.string().optional(),
|
|
369
|
+
defaultDestination: _zod.z.string().optional(),
|
|
370
|
+
figmaUrl: _zod.z.string().optional()
|
|
369
371
|
});
|
|
370
372
|
var UserProfile = _zod.z.object({
|
|
371
373
|
name: _zod.z.string(),
|
|
@@ -517,8 +519,11 @@ var DataSourceFigmaImportMetadata = _zod.z.object({
|
|
|
517
519
|
var DataSourceFigmaRemote = _zod.z.object({
|
|
518
520
|
type: _zod.z.literal(DataSourceRemoteType.Enum.Figma),
|
|
519
521
|
fileId: _zod.z.string(),
|
|
522
|
+
preferredCredentialId: _zod.z.string().optional(),
|
|
520
523
|
ownerId: _zod.z.string(),
|
|
524
|
+
// todo remove or keep to reference who created data source
|
|
521
525
|
ownerName: _zod.z.string(),
|
|
526
|
+
// todo probably remove
|
|
522
527
|
scope: DataSourceFigmaScope,
|
|
523
528
|
state: DataSourceFigmaState,
|
|
524
529
|
requiresSync: _zod.z.boolean().optional().transform((v) => _nullishCoalesce(v, () => ( false))),
|