@supernova-studio/model 0.47.6 → 0.47.8
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 +60 -1
- package/dist/index.d.ts +60 -1
- 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/users/user-profile.ts +2 -0
- package/src/utils/errors.ts +6 -1
package/dist/index.mjs
CHANGED
|
@@ -365,7 +365,9 @@ var UserOnboarding = z21.object({
|
|
|
365
365
|
jobTitle: z21.string().optional(),
|
|
366
366
|
phase: z21.string().optional(),
|
|
367
367
|
jobLevel: UserOnboardingJobLevel.optional(),
|
|
368
|
-
designSystemName: z21.string().optional()
|
|
368
|
+
designSystemName: z21.string().optional(),
|
|
369
|
+
defaultDestination: z21.string().optional(),
|
|
370
|
+
figmaUrl: z21.string().optional()
|
|
369
371
|
});
|
|
370
372
|
var UserProfile = z21.object({
|
|
371
373
|
name: z21.string(),
|
|
@@ -3732,6 +3734,9 @@ var SupernovaException = class _SupernovaException extends Error {
|
|
|
3732
3734
|
static wrongFormat(message) {
|
|
3733
3735
|
return new _SupernovaException("WrongFormat", message);
|
|
3734
3736
|
}
|
|
3737
|
+
static validationError(message) {
|
|
3738
|
+
return new _SupernovaException("ValidationError", message);
|
|
3739
|
+
}
|
|
3735
3740
|
static accessDenied(message) {
|
|
3736
3741
|
return new _SupernovaException("AccessDenied", message);
|
|
3737
3742
|
}
|