@supernova-studio/client 0.47.8 → 0.47.10
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.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -577,8 +577,11 @@ var DataSourceFigmaImportMetadata = _zod.z.object({
|
|
|
577
577
|
var DataSourceFigmaRemote = _zod.z.object({
|
|
578
578
|
type: _zod.z.literal(DataSourceRemoteType.Enum.Figma),
|
|
579
579
|
fileId: _zod.z.string(),
|
|
580
|
+
preferredCredentialId: _zod.z.string().optional(),
|
|
580
581
|
ownerId: _zod.z.string(),
|
|
582
|
+
// todo remove or keep to reference who created data source
|
|
581
583
|
ownerName: _zod.z.string(),
|
|
584
|
+
// todo probably remove
|
|
582
585
|
scope: DataSourceFigmaScope,
|
|
583
586
|
state: DataSourceFigmaState,
|
|
584
587
|
requiresSync: _zod.z.boolean().optional().transform((v) => _nullishCoalesce(v, () => ( false))),
|
|
@@ -3254,7 +3257,7 @@ var SupernovaException = class _SupernovaException extends Error {
|
|
|
3254
3257
|
return new _SupernovaException("MissingExporterPermission", message);
|
|
3255
3258
|
}
|
|
3256
3259
|
static missingIntegration(message) {
|
|
3257
|
-
return new _SupernovaException("
|
|
3260
|
+
return new _SupernovaException("MissingIntegration", message);
|
|
3258
3261
|
}
|
|
3259
3262
|
static noAccess(message) {
|
|
3260
3263
|
return new _SupernovaException("NoAccess", message);
|