File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
packages/common/src/types Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,18 @@ export type SmallSandbox = {
162
162
git : GitInfo | null ;
163
163
} ;
164
164
165
+ export type ForkedSandbox = {
166
+ id : string ;
167
+ alias : string | null ;
168
+ title : string | null ;
169
+ customTemplate : CustomTemplate | null ;
170
+ insertedAt : string ;
171
+ updatedAt : string ;
172
+ template : string ;
173
+ privacy : 0 | 1 | 2 ;
174
+ git : GitInfo | null ;
175
+ } ;
176
+
165
177
export type PaginatedSandboxes = {
166
178
[ page : number ] : Array < SmallSandbox > ;
167
179
} ;
@@ -304,7 +316,7 @@ export type Sandbox = {
304
316
/**
305
317
* Sandbox the forked template is from
306
318
*/
307
- forkedTemplateSandbox : SmallSandbox | null ;
319
+ forkedTemplateSandbox : ForkedSandbox | null ;
308
320
externalResources : string [ ] ;
309
321
team : {
310
322
id : string ;
@@ -313,7 +325,7 @@ export type Sandbox = {
313
325
roomId : string | null ;
314
326
privacy : 0 | 1 | 2 ;
315
327
author : User | null ;
316
- forkedFromSandbox : SmallSandbox | null ;
328
+ forkedFromSandbox : ForkedSandbox | null ;
317
329
git : GitInfo | null ;
318
330
tags : string [ ] ;
319
331
isFrozen : boolean ;
You can’t perform that action at this time.
0 commit comments