@supernova-studio/model 1.48.10 → 1.48.12
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 +16 -2
- package/dist/index.d.ts +16 -2
- package/dist/index.js +17 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -963,9 +963,11 @@ var SupernovaException = class _SupernovaException extends Error {
|
|
|
963
963
|
function errorToString(error) {
|
|
964
964
|
if (error instanceof Error) {
|
|
965
965
|
const errorAny = error;
|
|
966
|
-
const stderr = errorAny.result?.stderr ?? errorAny.stderr ?? "";
|
|
967
|
-
|
|
968
|
-
|
|
966
|
+
const stderr = (errorAny.result?.stderr ?? errorAny.stderr ?? "").trim();
|
|
967
|
+
const stdout = (errorAny.result?.stdout ?? errorAny.stdout ?? "").trim();
|
|
968
|
+
const output = [stderr, stdout].filter(Boolean).join("\n");
|
|
969
|
+
return output ? `${error.message}
|
|
970
|
+
${output}` : error.message;
|
|
969
971
|
}
|
|
970
972
|
return String(error);
|
|
971
973
|
}
|
|
@@ -5568,7 +5570,8 @@ var WorkspaceMembership = z163.object({
|
|
|
5568
5570
|
workspaceRole: z163.nativeEnum(WorkspaceRole),
|
|
5569
5571
|
seatType: WorkspaceSeatType,
|
|
5570
5572
|
notificationSettings: UserNotificationSettings,
|
|
5571
|
-
isPrimaryOwner: z163.boolean().nullish()
|
|
5573
|
+
isPrimaryOwner: z163.boolean().nullish(),
|
|
5574
|
+
isDeactivated: z163.boolean()
|
|
5572
5575
|
});
|
|
5573
5576
|
var UpdateMembershipRolesInput = z163.object({
|
|
5574
5577
|
members: z163.array(
|
|
@@ -5623,7 +5626,8 @@ var DesignSystemMembership = z166.object({
|
|
|
5623
5626
|
designSystemId: z166.string(),
|
|
5624
5627
|
designSystemRole: DesignSystemRole.optional(),
|
|
5625
5628
|
workspaceMembershipId: z166.string(),
|
|
5626
|
-
workspaceRole: WorkspaceRoleSchema
|
|
5629
|
+
workspaceRole: WorkspaceRoleSchema,
|
|
5630
|
+
isDeactivated: z166.boolean()
|
|
5627
5631
|
});
|
|
5628
5632
|
var DesignSystemMembers = z166.object({
|
|
5629
5633
|
members: DesignSystemMembership.array(),
|