@supernova-studio/model 0.55.29 → 0.55.31
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 +18 -2
- package/dist/index.d.ts +18 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/elements/raw-element.ts +2 -2
- package/src/dsm/membership/design-system-membership.ts +1 -0
- package/src/dsm/membership/invitations.ts +2 -0
- package/src/utils/common.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -29739,7 +29739,7 @@ declare function trimLeadingSlash(string: string): string;
|
|
|
29739
29739
|
declare function trimTrailingSlash(string: string): string;
|
|
29740
29740
|
declare function tryParseUrl(url: string): URL | null;
|
|
29741
29741
|
declare function parseUrl(url: string): URL;
|
|
29742
|
-
declare function mapByUnique<V, K>(items: V
|
|
29742
|
+
declare function mapByUnique<V, K>(items: Iterable<V>, keyFn: (item: V) => K): Map<K, V>;
|
|
29743
29743
|
declare function groupBy<V, K>(items: V[], keyFn: (item: V) => K): Map<K, V[]>;
|
|
29744
29744
|
declare function filterNonNullish<T>(items: Nullish<T>[]): T[];
|
|
29745
29745
|
declare function nonNullishFilter<T>(item: Nullish<T>): item is T;
|
|
@@ -57694,7 +57694,7 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
57694
57694
|
type PageBlockEditorModelV2 = z.infer<typeof PageBlockEditorModelV2>;
|
|
57695
57695
|
|
|
57696
57696
|
type CreateDesignElement = DbCreateInputOmit<DesignElement>;
|
|
57697
|
-
type UpdateDesignElement = OmitStrict<DbUpdate<DesignElement>, "brandPersistentId" | "childType" | "designSystemVersionId" | "shortPersistentId"
|
|
57697
|
+
type UpdateDesignElement = OmitStrict<DbUpdate<DesignElement>, "brandPersistentId" | "childType" | "designSystemVersionId" | "shortPersistentId">;
|
|
57698
57698
|
declare const tokenElementTypes: DesignTokenType[];
|
|
57699
57699
|
declare const DesignTokenType: z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>;
|
|
57700
57700
|
type DesignTokenType = z.infer<typeof DesignTokenType>;
|
|
@@ -134029,17 +134029,20 @@ declare const DesignSystemMembership: z.ZodObject<{
|
|
|
134029
134029
|
designSystemId: z.ZodString;
|
|
134030
134030
|
designSystemRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
134031
134031
|
workspaceMembershipId: z.ZodString;
|
|
134032
|
+
workspaceRole: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
134032
134033
|
}, "strip", z.ZodTypeAny, {
|
|
134033
134034
|
id: string;
|
|
134034
134035
|
designSystemId: string;
|
|
134035
134036
|
userId: string;
|
|
134036
134037
|
workspaceMembershipId: string;
|
|
134038
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134037
134039
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134038
134040
|
}, {
|
|
134039
134041
|
id: string;
|
|
134040
134042
|
designSystemId: string;
|
|
134041
134043
|
userId: string;
|
|
134042
134044
|
workspaceMembershipId: string;
|
|
134045
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134043
134046
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134044
134047
|
}>;
|
|
134045
134048
|
type DesignSystemMembership = z.infer<typeof DesignSystemMembership>;
|
|
@@ -134066,17 +134069,20 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134066
134069
|
designSystemId: z.ZodString;
|
|
134067
134070
|
designSystemRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
134068
134071
|
workspaceMembershipId: z.ZodString;
|
|
134072
|
+
workspaceRole: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
134069
134073
|
}, "strip", z.ZodTypeAny, {
|
|
134070
134074
|
id: string;
|
|
134071
134075
|
designSystemId: string;
|
|
134072
134076
|
userId: string;
|
|
134073
134077
|
workspaceMembershipId: string;
|
|
134078
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134074
134079
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134075
134080
|
}, {
|
|
134076
134081
|
id: string;
|
|
134077
134082
|
designSystemId: string;
|
|
134078
134083
|
userId: string;
|
|
134079
134084
|
workspaceMembershipId: string;
|
|
134085
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134080
134086
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134081
134087
|
}>, "many">;
|
|
134082
134088
|
invitations: z.ZodArray<z.ZodObject<{
|
|
@@ -134084,15 +134090,18 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134084
134090
|
designSystemId: z.ZodString;
|
|
134085
134091
|
workspaceInvitationId: z.ZodString;
|
|
134086
134092
|
designSystemRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
134093
|
+
workspaceRole: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
134087
134094
|
}, "strip", z.ZodTypeAny, {
|
|
134088
134095
|
id: string;
|
|
134089
134096
|
designSystemId: string;
|
|
134090
134097
|
workspaceInvitationId: string;
|
|
134098
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134091
134099
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134092
134100
|
}, {
|
|
134093
134101
|
id: string;
|
|
134094
134102
|
designSystemId: string;
|
|
134095
134103
|
workspaceInvitationId: string;
|
|
134104
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134096
134105
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134097
134106
|
}>, "many">;
|
|
134098
134107
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -134100,6 +134109,7 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134100
134109
|
id: string;
|
|
134101
134110
|
designSystemId: string;
|
|
134102
134111
|
workspaceInvitationId: string;
|
|
134112
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134103
134113
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134104
134114
|
}[];
|
|
134105
134115
|
members: {
|
|
@@ -134107,6 +134117,7 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134107
134117
|
designSystemId: string;
|
|
134108
134118
|
userId: string;
|
|
134109
134119
|
workspaceMembershipId: string;
|
|
134120
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134110
134121
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134111
134122
|
}[];
|
|
134112
134123
|
}, {
|
|
@@ -134114,6 +134125,7 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134114
134125
|
id: string;
|
|
134115
134126
|
designSystemId: string;
|
|
134116
134127
|
workspaceInvitationId: string;
|
|
134128
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134117
134129
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134118
134130
|
}[];
|
|
134119
134131
|
members: {
|
|
@@ -134121,6 +134133,7 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134121
134133
|
designSystemId: string;
|
|
134122
134134
|
userId: string;
|
|
134123
134135
|
workspaceMembershipId: string;
|
|
134136
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134124
134137
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134125
134138
|
}[];
|
|
134126
134139
|
}>;
|
|
@@ -134311,15 +134324,18 @@ declare const DesignSystemInvitation: z.ZodObject<{
|
|
|
134311
134324
|
designSystemId: z.ZodString;
|
|
134312
134325
|
workspaceInvitationId: z.ZodString;
|
|
134313
134326
|
designSystemRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
134327
|
+
workspaceRole: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
134314
134328
|
}, "strip", z.ZodTypeAny, {
|
|
134315
134329
|
id: string;
|
|
134316
134330
|
designSystemId: string;
|
|
134317
134331
|
workspaceInvitationId: string;
|
|
134332
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134318
134333
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134319
134334
|
}, {
|
|
134320
134335
|
id: string;
|
|
134321
134336
|
designSystemId: string;
|
|
134322
134337
|
workspaceInvitationId: string;
|
|
134338
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134323
134339
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134324
134340
|
}>;
|
|
134325
134341
|
type DesignSystemInvitation = z.infer<typeof DesignSystemInvitation>;
|
package/dist/index.d.ts
CHANGED
|
@@ -29739,7 +29739,7 @@ declare function trimLeadingSlash(string: string): string;
|
|
|
29739
29739
|
declare function trimTrailingSlash(string: string): string;
|
|
29740
29740
|
declare function tryParseUrl(url: string): URL | null;
|
|
29741
29741
|
declare function parseUrl(url: string): URL;
|
|
29742
|
-
declare function mapByUnique<V, K>(items: V
|
|
29742
|
+
declare function mapByUnique<V, K>(items: Iterable<V>, keyFn: (item: V) => K): Map<K, V>;
|
|
29743
29743
|
declare function groupBy<V, K>(items: V[], keyFn: (item: V) => K): Map<K, V[]>;
|
|
29744
29744
|
declare function filterNonNullish<T>(items: Nullish<T>[]): T[];
|
|
29745
29745
|
declare function nonNullishFilter<T>(item: Nullish<T>): item is T;
|
|
@@ -57694,7 +57694,7 @@ declare const PageBlockEditorModelV2: z.ZodObject<{
|
|
|
57694
57694
|
type PageBlockEditorModelV2 = z.infer<typeof PageBlockEditorModelV2>;
|
|
57695
57695
|
|
|
57696
57696
|
type CreateDesignElement = DbCreateInputOmit<DesignElement>;
|
|
57697
|
-
type UpdateDesignElement = OmitStrict<DbUpdate<DesignElement>, "brandPersistentId" | "childType" | "designSystemVersionId" | "shortPersistentId"
|
|
57697
|
+
type UpdateDesignElement = OmitStrict<DbUpdate<DesignElement>, "brandPersistentId" | "childType" | "designSystemVersionId" | "shortPersistentId">;
|
|
57698
57698
|
declare const tokenElementTypes: DesignTokenType[];
|
|
57699
57699
|
declare const DesignTokenType: z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>;
|
|
57700
57700
|
type DesignTokenType = z.infer<typeof DesignTokenType>;
|
|
@@ -134029,17 +134029,20 @@ declare const DesignSystemMembership: z.ZodObject<{
|
|
|
134029
134029
|
designSystemId: z.ZodString;
|
|
134030
134030
|
designSystemRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
134031
134031
|
workspaceMembershipId: z.ZodString;
|
|
134032
|
+
workspaceRole: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
134032
134033
|
}, "strip", z.ZodTypeAny, {
|
|
134033
134034
|
id: string;
|
|
134034
134035
|
designSystemId: string;
|
|
134035
134036
|
userId: string;
|
|
134036
134037
|
workspaceMembershipId: string;
|
|
134038
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134037
134039
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134038
134040
|
}, {
|
|
134039
134041
|
id: string;
|
|
134040
134042
|
designSystemId: string;
|
|
134041
134043
|
userId: string;
|
|
134042
134044
|
workspaceMembershipId: string;
|
|
134045
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134043
134046
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134044
134047
|
}>;
|
|
134045
134048
|
type DesignSystemMembership = z.infer<typeof DesignSystemMembership>;
|
|
@@ -134066,17 +134069,20 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134066
134069
|
designSystemId: z.ZodString;
|
|
134067
134070
|
designSystemRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
134068
134071
|
workspaceMembershipId: z.ZodString;
|
|
134072
|
+
workspaceRole: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
134069
134073
|
}, "strip", z.ZodTypeAny, {
|
|
134070
134074
|
id: string;
|
|
134071
134075
|
designSystemId: string;
|
|
134072
134076
|
userId: string;
|
|
134073
134077
|
workspaceMembershipId: string;
|
|
134078
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134074
134079
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134075
134080
|
}, {
|
|
134076
134081
|
id: string;
|
|
134077
134082
|
designSystemId: string;
|
|
134078
134083
|
userId: string;
|
|
134079
134084
|
workspaceMembershipId: string;
|
|
134085
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134080
134086
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134081
134087
|
}>, "many">;
|
|
134082
134088
|
invitations: z.ZodArray<z.ZodObject<{
|
|
@@ -134084,15 +134090,18 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134084
134090
|
designSystemId: z.ZodString;
|
|
134085
134091
|
workspaceInvitationId: z.ZodString;
|
|
134086
134092
|
designSystemRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
134093
|
+
workspaceRole: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
134087
134094
|
}, "strip", z.ZodTypeAny, {
|
|
134088
134095
|
id: string;
|
|
134089
134096
|
designSystemId: string;
|
|
134090
134097
|
workspaceInvitationId: string;
|
|
134098
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134091
134099
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134092
134100
|
}, {
|
|
134093
134101
|
id: string;
|
|
134094
134102
|
designSystemId: string;
|
|
134095
134103
|
workspaceInvitationId: string;
|
|
134104
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134096
134105
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134097
134106
|
}>, "many">;
|
|
134098
134107
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -134100,6 +134109,7 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134100
134109
|
id: string;
|
|
134101
134110
|
designSystemId: string;
|
|
134102
134111
|
workspaceInvitationId: string;
|
|
134112
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134103
134113
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134104
134114
|
}[];
|
|
134105
134115
|
members: {
|
|
@@ -134107,6 +134117,7 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134107
134117
|
designSystemId: string;
|
|
134108
134118
|
userId: string;
|
|
134109
134119
|
workspaceMembershipId: string;
|
|
134120
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134110
134121
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134111
134122
|
}[];
|
|
134112
134123
|
}, {
|
|
@@ -134114,6 +134125,7 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134114
134125
|
id: string;
|
|
134115
134126
|
designSystemId: string;
|
|
134116
134127
|
workspaceInvitationId: string;
|
|
134128
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134117
134129
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134118
134130
|
}[];
|
|
134119
134131
|
members: {
|
|
@@ -134121,6 +134133,7 @@ declare const DesignSystemMembers: z.ZodObject<{
|
|
|
134121
134133
|
designSystemId: string;
|
|
134122
134134
|
userId: string;
|
|
134123
134135
|
workspaceMembershipId: string;
|
|
134136
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134124
134137
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134125
134138
|
}[];
|
|
134126
134139
|
}>;
|
|
@@ -134311,15 +134324,18 @@ declare const DesignSystemInvitation: z.ZodObject<{
|
|
|
134311
134324
|
designSystemId: z.ZodString;
|
|
134312
134325
|
workspaceInvitationId: z.ZodString;
|
|
134313
134326
|
designSystemRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
134327
|
+
workspaceRole: z.ZodOptional<z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
134314
134328
|
}, "strip", z.ZodTypeAny, {
|
|
134315
134329
|
id: string;
|
|
134316
134330
|
designSystemId: string;
|
|
134317
134331
|
workspaceInvitationId: string;
|
|
134332
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134318
134333
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134319
134334
|
}, {
|
|
134320
134335
|
id: string;
|
|
134321
134336
|
designSystemId: string;
|
|
134322
134337
|
workspaceInvitationId: string;
|
|
134338
|
+
workspaceRole?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
134323
134339
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
134324
134340
|
}>;
|
|
134325
134341
|
type DesignSystemInvitation = z.infer<typeof DesignSystemInvitation>;
|
package/dist/index.js
CHANGED
|
@@ -4346,7 +4346,8 @@ var DesignSystemInvitation = _zod.z.object({
|
|
|
4346
4346
|
id: _zod.z.string(),
|
|
4347
4347
|
designSystemId: _zod.z.string(),
|
|
4348
4348
|
workspaceInvitationId: _zod.z.string(),
|
|
4349
|
-
designSystemRole: DesignSystemRole.optional()
|
|
4349
|
+
designSystemRole: DesignSystemRole.optional(),
|
|
4350
|
+
workspaceRole: WorkspaceRoleSchema.optional()
|
|
4350
4351
|
});
|
|
4351
4352
|
|
|
4352
4353
|
// src/dsm/membership/design-system-membership.ts
|
|
@@ -4355,7 +4356,8 @@ var DesignSystemMembership = _zod.z.object({
|
|
|
4355
4356
|
userId: _zod.z.string(),
|
|
4356
4357
|
designSystemId: _zod.z.string(),
|
|
4357
4358
|
designSystemRole: DesignSystemRole.optional(),
|
|
4358
|
-
workspaceMembershipId: _zod.z.string()
|
|
4359
|
+
workspaceMembershipId: _zod.z.string(),
|
|
4360
|
+
workspaceRole: WorkspaceRoleSchema.optional()
|
|
4359
4361
|
});
|
|
4360
4362
|
var DesignSystemMembers = _zod.z.object({
|
|
4361
4363
|
members: DesignSystemMembership.array(),
|