@supernova-studio/client 1.48.2 → 1.48.4
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 +19 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -167385,6 +167385,7 @@ declare const DTOForgeProject: z.ZodObject<{
|
|
|
167385
167385
|
tokenThemeIds: string[];
|
|
167386
167386
|
}[] | undefined;
|
|
167387
167387
|
}>>;
|
|
167388
|
+
liveblocksRoomId: z.ZodOptional<z.ZodString>;
|
|
167388
167389
|
}, "strip", z.ZodTypeAny, {
|
|
167389
167390
|
id: string;
|
|
167390
167391
|
createdAt: Date;
|
|
@@ -167441,6 +167442,7 @@ declare const DTOForgeProject: z.ZodObject<{
|
|
|
167441
167442
|
numberOfFeatures: number;
|
|
167442
167443
|
description?: string | undefined;
|
|
167443
167444
|
emoji?: string | undefined;
|
|
167445
|
+
liveblocksRoomId?: string | undefined;
|
|
167444
167446
|
createdByUserId?: string | undefined;
|
|
167445
167447
|
context?: {
|
|
167446
167448
|
id: string;
|
|
@@ -168475,6 +168477,7 @@ declare const DTOForgeProject: z.ZodObject<{
|
|
|
168475
168477
|
description?: string | undefined;
|
|
168476
168478
|
emoji?: string | undefined;
|
|
168477
168479
|
tags?: string[] | undefined;
|
|
168480
|
+
liveblocksRoomId?: string | undefined;
|
|
168478
168481
|
createdByUserId?: string | undefined;
|
|
168479
168482
|
context?: {
|
|
168480
168483
|
id: string;
|
|
@@ -178253,6 +178256,7 @@ declare const DTOForgeProjectCreate: z.ZodObject<Pick<{
|
|
|
178253
178256
|
tokenThemeIds: string[];
|
|
178254
178257
|
}[] | undefined;
|
|
178255
178258
|
}>>;
|
|
178259
|
+
liveblocksRoomId: z.ZodOptional<z.ZodString>;
|
|
178256
178260
|
}, "name" | "description" | "emoji" | "tags" | "accessMode" | "instruction" | "defaultRole" | "tokenThemeSetId"> & {
|
|
178257
178261
|
/** @deprecated use `name` and `description` properties on project */
|
|
178258
178262
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -188132,6 +188136,7 @@ declare const DTOForgeProjectResponse: z.ZodObject<{
|
|
|
188132
188136
|
tokenThemeIds: string[];
|
|
188133
188137
|
}[] | undefined;
|
|
188134
188138
|
}>>;
|
|
188139
|
+
liveblocksRoomId: z.ZodOptional<z.ZodString>;
|
|
188135
188140
|
} & {
|
|
188136
188141
|
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
188137
188142
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -188191,6 +188196,7 @@ declare const DTOForgeProjectResponse: z.ZodObject<{
|
|
|
188191
188196
|
numberOfFeatures: number;
|
|
188192
188197
|
description?: string | undefined;
|
|
188193
188198
|
emoji?: string | undefined;
|
|
188199
|
+
liveblocksRoomId?: string | undefined;
|
|
188194
188200
|
createdByUserId?: string | undefined;
|
|
188195
188201
|
context?: {
|
|
188196
188202
|
id: string;
|
|
@@ -189226,6 +189232,7 @@ declare const DTOForgeProjectResponse: z.ZodObject<{
|
|
|
189226
189232
|
description?: string | undefined;
|
|
189227
189233
|
emoji?: string | undefined;
|
|
189228
189234
|
tags?: string[] | undefined;
|
|
189235
|
+
liveblocksRoomId?: string | undefined;
|
|
189229
189236
|
createdByUserId?: string | undefined;
|
|
189230
189237
|
context?: {
|
|
189231
189238
|
id: string;
|
|
@@ -190265,6 +190272,7 @@ declare const DTOForgeProjectResponse: z.ZodObject<{
|
|
|
190265
190272
|
numberOfFeatures: number;
|
|
190266
190273
|
description?: string | undefined;
|
|
190267
190274
|
emoji?: string | undefined;
|
|
190275
|
+
liveblocksRoomId?: string | undefined;
|
|
190268
190276
|
createdByUserId?: string | undefined;
|
|
190269
190277
|
context?: {
|
|
190270
190278
|
id: string;
|
|
@@ -191302,6 +191310,7 @@ declare const DTOForgeProjectResponse: z.ZodObject<{
|
|
|
191302
191310
|
description?: string | undefined;
|
|
191303
191311
|
emoji?: string | undefined;
|
|
191304
191312
|
tags?: string[] | undefined;
|
|
191313
|
+
liveblocksRoomId?: string | undefined;
|
|
191305
191314
|
createdByUserId?: string | undefined;
|
|
191306
191315
|
context?: {
|
|
191307
191316
|
id: string;
|
|
@@ -201082,6 +201091,7 @@ declare const DTOForgeProjectListResponse: z.ZodObject<{
|
|
|
201082
201091
|
tokenThemeIds: string[];
|
|
201083
201092
|
}[] | undefined;
|
|
201084
201093
|
}>>;
|
|
201094
|
+
liveblocksRoomId: z.ZodOptional<z.ZodString>;
|
|
201085
201095
|
} & {
|
|
201086
201096
|
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
201087
201097
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -201141,6 +201151,7 @@ declare const DTOForgeProjectListResponse: z.ZodObject<{
|
|
|
201141
201151
|
numberOfFeatures: number;
|
|
201142
201152
|
description?: string | undefined;
|
|
201143
201153
|
emoji?: string | undefined;
|
|
201154
|
+
liveblocksRoomId?: string | undefined;
|
|
201144
201155
|
createdByUserId?: string | undefined;
|
|
201145
201156
|
context?: {
|
|
201146
201157
|
id: string;
|
|
@@ -202176,6 +202187,7 @@ declare const DTOForgeProjectListResponse: z.ZodObject<{
|
|
|
202176
202187
|
description?: string | undefined;
|
|
202177
202188
|
emoji?: string | undefined;
|
|
202178
202189
|
tags?: string[] | undefined;
|
|
202190
|
+
liveblocksRoomId?: string | undefined;
|
|
202179
202191
|
createdByUserId?: string | undefined;
|
|
202180
202192
|
context?: {
|
|
202181
202193
|
id: string;
|
|
@@ -203215,6 +203227,7 @@ declare const DTOForgeProjectListResponse: z.ZodObject<{
|
|
|
203215
203227
|
numberOfFeatures: number;
|
|
203216
203228
|
description?: string | undefined;
|
|
203217
203229
|
emoji?: string | undefined;
|
|
203230
|
+
liveblocksRoomId?: string | undefined;
|
|
203218
203231
|
createdByUserId?: string | undefined;
|
|
203219
203232
|
context?: {
|
|
203220
203233
|
id: string;
|
|
@@ -204252,6 +204265,7 @@ declare const DTOForgeProjectListResponse: z.ZodObject<{
|
|
|
204252
204265
|
description?: string | undefined;
|
|
204253
204266
|
emoji?: string | undefined;
|
|
204254
204267
|
tags?: string[] | undefined;
|
|
204268
|
+
liveblocksRoomId?: string | undefined;
|
|
204255
204269
|
createdByUserId?: string | undefined;
|
|
204256
204270
|
context?: {
|
|
204257
204271
|
id: string;
|
|
@@ -252004,6 +252018,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
252004
252018
|
numberOfFeatures: number;
|
|
252005
252019
|
description?: string | undefined;
|
|
252006
252020
|
emoji?: string | undefined;
|
|
252021
|
+
liveblocksRoomId?: string | undefined;
|
|
252007
252022
|
createdByUserId?: string | undefined;
|
|
252008
252023
|
context?: {
|
|
252009
252024
|
id: string;
|
|
@@ -253043,6 +253058,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
253043
253058
|
numberOfFeatures: number;
|
|
253044
253059
|
description?: string | undefined;
|
|
253045
253060
|
emoji?: string | undefined;
|
|
253061
|
+
liveblocksRoomId?: string | undefined;
|
|
253046
253062
|
createdByUserId?: string | undefined;
|
|
253047
253063
|
context?: {
|
|
253048
253064
|
id: string;
|
|
@@ -254082,6 +254098,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
254082
254098
|
numberOfFeatures: number;
|
|
254083
254099
|
description?: string | undefined;
|
|
254084
254100
|
emoji?: string | undefined;
|
|
254101
|
+
liveblocksRoomId?: string | undefined;
|
|
254085
254102
|
createdByUserId?: string | undefined;
|
|
254086
254103
|
context?: {
|
|
254087
254104
|
id: string;
|
|
@@ -255121,6 +255138,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
255121
255138
|
numberOfFeatures: number;
|
|
255122
255139
|
description?: string | undefined;
|
|
255123
255140
|
emoji?: string | undefined;
|
|
255141
|
+
liveblocksRoomId?: string | undefined;
|
|
255124
255142
|
createdByUserId?: string | undefined;
|
|
255125
255143
|
context?: {
|
|
255126
255144
|
id: string;
|
|
@@ -256160,6 +256178,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
256160
256178
|
numberOfFeatures: number;
|
|
256161
256179
|
description?: string | undefined;
|
|
256162
256180
|
emoji?: string | undefined;
|
|
256181
|
+
liveblocksRoomId?: string | undefined;
|
|
256163
256182
|
createdByUserId?: string | undefined;
|
|
256164
256183
|
context?: {
|
|
256165
256184
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -167385,6 +167385,7 @@ declare const DTOForgeProject: z.ZodObject<{
|
|
|
167385
167385
|
tokenThemeIds: string[];
|
|
167386
167386
|
}[] | undefined;
|
|
167387
167387
|
}>>;
|
|
167388
|
+
liveblocksRoomId: z.ZodOptional<z.ZodString>;
|
|
167388
167389
|
}, "strip", z.ZodTypeAny, {
|
|
167389
167390
|
id: string;
|
|
167390
167391
|
createdAt: Date;
|
|
@@ -167441,6 +167442,7 @@ declare const DTOForgeProject: z.ZodObject<{
|
|
|
167441
167442
|
numberOfFeatures: number;
|
|
167442
167443
|
description?: string | undefined;
|
|
167443
167444
|
emoji?: string | undefined;
|
|
167445
|
+
liveblocksRoomId?: string | undefined;
|
|
167444
167446
|
createdByUserId?: string | undefined;
|
|
167445
167447
|
context?: {
|
|
167446
167448
|
id: string;
|
|
@@ -168475,6 +168477,7 @@ declare const DTOForgeProject: z.ZodObject<{
|
|
|
168475
168477
|
description?: string | undefined;
|
|
168476
168478
|
emoji?: string | undefined;
|
|
168477
168479
|
tags?: string[] | undefined;
|
|
168480
|
+
liveblocksRoomId?: string | undefined;
|
|
168478
168481
|
createdByUserId?: string | undefined;
|
|
168479
168482
|
context?: {
|
|
168480
168483
|
id: string;
|
|
@@ -178253,6 +178256,7 @@ declare const DTOForgeProjectCreate: z.ZodObject<Pick<{
|
|
|
178253
178256
|
tokenThemeIds: string[];
|
|
178254
178257
|
}[] | undefined;
|
|
178255
178258
|
}>>;
|
|
178259
|
+
liveblocksRoomId: z.ZodOptional<z.ZodString>;
|
|
178256
178260
|
}, "name" | "description" | "emoji" | "tags" | "accessMode" | "instruction" | "defaultRole" | "tokenThemeSetId"> & {
|
|
178257
178261
|
/** @deprecated use `name` and `description` properties on project */
|
|
178258
178262
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -188132,6 +188136,7 @@ declare const DTOForgeProjectResponse: z.ZodObject<{
|
|
|
188132
188136
|
tokenThemeIds: string[];
|
|
188133
188137
|
}[] | undefined;
|
|
188134
188138
|
}>>;
|
|
188139
|
+
liveblocksRoomId: z.ZodOptional<z.ZodString>;
|
|
188135
188140
|
} & {
|
|
188136
188141
|
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
188137
188142
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -188191,6 +188196,7 @@ declare const DTOForgeProjectResponse: z.ZodObject<{
|
|
|
188191
188196
|
numberOfFeatures: number;
|
|
188192
188197
|
description?: string | undefined;
|
|
188193
188198
|
emoji?: string | undefined;
|
|
188199
|
+
liveblocksRoomId?: string | undefined;
|
|
188194
188200
|
createdByUserId?: string | undefined;
|
|
188195
188201
|
context?: {
|
|
188196
188202
|
id: string;
|
|
@@ -189226,6 +189232,7 @@ declare const DTOForgeProjectResponse: z.ZodObject<{
|
|
|
189226
189232
|
description?: string | undefined;
|
|
189227
189233
|
emoji?: string | undefined;
|
|
189228
189234
|
tags?: string[] | undefined;
|
|
189235
|
+
liveblocksRoomId?: string | undefined;
|
|
189229
189236
|
createdByUserId?: string | undefined;
|
|
189230
189237
|
context?: {
|
|
189231
189238
|
id: string;
|
|
@@ -190265,6 +190272,7 @@ declare const DTOForgeProjectResponse: z.ZodObject<{
|
|
|
190265
190272
|
numberOfFeatures: number;
|
|
190266
190273
|
description?: string | undefined;
|
|
190267
190274
|
emoji?: string | undefined;
|
|
190275
|
+
liveblocksRoomId?: string | undefined;
|
|
190268
190276
|
createdByUserId?: string | undefined;
|
|
190269
190277
|
context?: {
|
|
190270
190278
|
id: string;
|
|
@@ -191302,6 +191310,7 @@ declare const DTOForgeProjectResponse: z.ZodObject<{
|
|
|
191302
191310
|
description?: string | undefined;
|
|
191303
191311
|
emoji?: string | undefined;
|
|
191304
191312
|
tags?: string[] | undefined;
|
|
191313
|
+
liveblocksRoomId?: string | undefined;
|
|
191305
191314
|
createdByUserId?: string | undefined;
|
|
191306
191315
|
context?: {
|
|
191307
191316
|
id: string;
|
|
@@ -201082,6 +201091,7 @@ declare const DTOForgeProjectListResponse: z.ZodObject<{
|
|
|
201082
201091
|
tokenThemeIds: string[];
|
|
201083
201092
|
}[] | undefined;
|
|
201084
201093
|
}>>;
|
|
201094
|
+
liveblocksRoomId: z.ZodOptional<z.ZodString>;
|
|
201085
201095
|
} & {
|
|
201086
201096
|
effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
|
|
201087
201097
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -201141,6 +201151,7 @@ declare const DTOForgeProjectListResponse: z.ZodObject<{
|
|
|
201141
201151
|
numberOfFeatures: number;
|
|
201142
201152
|
description?: string | undefined;
|
|
201143
201153
|
emoji?: string | undefined;
|
|
201154
|
+
liveblocksRoomId?: string | undefined;
|
|
201144
201155
|
createdByUserId?: string | undefined;
|
|
201145
201156
|
context?: {
|
|
201146
201157
|
id: string;
|
|
@@ -202176,6 +202187,7 @@ declare const DTOForgeProjectListResponse: z.ZodObject<{
|
|
|
202176
202187
|
description?: string | undefined;
|
|
202177
202188
|
emoji?: string | undefined;
|
|
202178
202189
|
tags?: string[] | undefined;
|
|
202190
|
+
liveblocksRoomId?: string | undefined;
|
|
202179
202191
|
createdByUserId?: string | undefined;
|
|
202180
202192
|
context?: {
|
|
202181
202193
|
id: string;
|
|
@@ -203215,6 +203227,7 @@ declare const DTOForgeProjectListResponse: z.ZodObject<{
|
|
|
203215
203227
|
numberOfFeatures: number;
|
|
203216
203228
|
description?: string | undefined;
|
|
203217
203229
|
emoji?: string | undefined;
|
|
203230
|
+
liveblocksRoomId?: string | undefined;
|
|
203218
203231
|
createdByUserId?: string | undefined;
|
|
203219
203232
|
context?: {
|
|
203220
203233
|
id: string;
|
|
@@ -204252,6 +204265,7 @@ declare const DTOForgeProjectListResponse: z.ZodObject<{
|
|
|
204252
204265
|
description?: string | undefined;
|
|
204253
204266
|
emoji?: string | undefined;
|
|
204254
204267
|
tags?: string[] | undefined;
|
|
204268
|
+
liveblocksRoomId?: string | undefined;
|
|
204255
204269
|
createdByUserId?: string | undefined;
|
|
204256
204270
|
context?: {
|
|
204257
204271
|
id: string;
|
|
@@ -252004,6 +252018,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
252004
252018
|
numberOfFeatures: number;
|
|
252005
252019
|
description?: string | undefined;
|
|
252006
252020
|
emoji?: string | undefined;
|
|
252021
|
+
liveblocksRoomId?: string | undefined;
|
|
252007
252022
|
createdByUserId?: string | undefined;
|
|
252008
252023
|
context?: {
|
|
252009
252024
|
id: string;
|
|
@@ -253043,6 +253058,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
253043
253058
|
numberOfFeatures: number;
|
|
253044
253059
|
description?: string | undefined;
|
|
253045
253060
|
emoji?: string | undefined;
|
|
253061
|
+
liveblocksRoomId?: string | undefined;
|
|
253046
253062
|
createdByUserId?: string | undefined;
|
|
253047
253063
|
context?: {
|
|
253048
253064
|
id: string;
|
|
@@ -254082,6 +254098,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
254082
254098
|
numberOfFeatures: number;
|
|
254083
254099
|
description?: string | undefined;
|
|
254084
254100
|
emoji?: string | undefined;
|
|
254101
|
+
liveblocksRoomId?: string | undefined;
|
|
254085
254102
|
createdByUserId?: string | undefined;
|
|
254086
254103
|
context?: {
|
|
254087
254104
|
id: string;
|
|
@@ -255121,6 +255138,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
255121
255138
|
numberOfFeatures: number;
|
|
255122
255139
|
description?: string | undefined;
|
|
255123
255140
|
emoji?: string | undefined;
|
|
255141
|
+
liveblocksRoomId?: string | undefined;
|
|
255124
255142
|
createdByUserId?: string | undefined;
|
|
255125
255143
|
context?: {
|
|
255126
255144
|
id: string;
|
|
@@ -256160,6 +256178,7 @@ declare class ForgeProjectsEndpoint {
|
|
|
256160
256178
|
numberOfFeatures: number;
|
|
256161
256179
|
description?: string | undefined;
|
|
256162
256180
|
emoji?: string | undefined;
|
|
256181
|
+
liveblocksRoomId?: string | undefined;
|
|
256163
256182
|
createdByUserId?: string | undefined;
|
|
256164
256183
|
context?: {
|
|
256165
256184
|
id: string;
|
package/dist/index.js
CHANGED
|
@@ -10547,7 +10547,8 @@ var DTOForgeProject = _zod.z.object({
|
|
|
10547
10547
|
/** @deprecated use documents.length */
|
|
10548
10548
|
numberOfDocuments: _zod.z.number().int().nonnegative().optional(),
|
|
10549
10549
|
/** @deprecated prefer fetching from project contexts endpoint separately */
|
|
10550
|
-
context: DTOForgeProjectContextV2.optional()
|
|
10550
|
+
context: DTOForgeProjectContextV2.optional(),
|
|
10551
|
+
liveblocksRoomId: _zod.z.string().optional()
|
|
10551
10552
|
});
|
|
10552
10553
|
var DTOForgeProjectCreate = DTOForgeProject.pick({
|
|
10553
10554
|
name: true,
|