@@ -281,6 +281,78 @@ export type HasLayoutTrait = {
281
281
* - `FILL`: only valid on auto-layout frame children
282
282
*/
283
283
layoutSizingVertical ?: 'FIXED' | 'HUG' | 'FILL'
284
+
285
+ /**
286
+ * The number of rows in the grid layout. This property is only applicable for auto-layout frames
287
+ * with `layoutMode: "GRID"`.
288
+ */
289
+ gridRowCount ?: number
290
+
291
+ /**
292
+ * The number of columns in the grid layout. This property is only applicable for auto-layout frames
293
+ * with `layoutMode: "GRID"`.
294
+ */
295
+ gridColumnCount ?: number
296
+
297
+ /**
298
+ * The distance between rows in the grid layout. This property is only applicable for auto-layout
299
+ * frames with `layoutMode: "GRID"`.
300
+ */
301
+ gridRowGap ?: number
302
+
303
+ /**
304
+ * The distance between columns in the grid layout. This property is only applicable for auto-layout
305
+ * frames with `layoutMode: "GRID"`.
306
+ */
307
+ gridColumnGap ?: number
308
+
309
+ /**
310
+ * The string for the CSS grid-template-columns property. This property is only applicable for
311
+ * auto-layout frames with `layoutMode: "GRID"`.
312
+ */
313
+ gridColumnsSizing ?: string
314
+
315
+ /**
316
+ * The string for the CSS grid-template-rows property. This property is only applicable for
317
+ * auto-layout frames with `layoutMode: "GRID"`.
318
+ */
319
+ gridRowsSizing ?: string
320
+
321
+ /**
322
+ * Determines how a GRID frame's child should be aligned in the horizontal direction within its grid
323
+ * area. This property is only applicable for direct children of frames with `layoutMode: "GRID"`.
324
+ */
325
+ gridChildHorizontalAlign ?: 'AUTO' | 'MIN' | 'CENTER' | 'MAX'
326
+
327
+ /**
328
+ * Determines how a GRID frame's child should be aligned in the vertical direction within its grid
329
+ * area. This property is only applicable for direct children of frames with `layoutMode: "GRID"`.
330
+ */
331
+ gridChildVerticalAlign ?: 'AUTO' | 'MIN' | 'CENTER' | 'MAX'
332
+
333
+ /**
334
+ * The number of rows that a GRID frame's child should span. This property is only applicable for
335
+ * direct children of frames with `layoutMode: "GRID"`.
336
+ */
337
+ gridRowSpan ?: number
338
+
339
+ /**
340
+ * The number of columns that a GRID frame's child should span. This property is only applicable for
341
+ * direct children of frames with `layoutMode: "GRID"`.
342
+ */
343
+ gridColumnSpan ?: number
344
+
345
+ /**
346
+ * The index of the row that a GRID frame's child should be anchored to. This property is only
347
+ * applicable for direct children of frames with `layoutMode: "GRID"`.
348
+ */
349
+ gridRowAnchorIndex ?: number
350
+
351
+ /**
352
+ * The index of the column that a GRID frame's child should be anchored to. This property is only
353
+ * applicable for direct children of frames with `layoutMode: "GRID"`.
354
+ */
355
+ gridColumnAnchorIndex ?: number
284
356
}
285
357
286
358
export type HasFramePropertiesTrait = {
@@ -323,7 +395,7 @@ export type HasFramePropertiesTrait = {
323
395
/**
324
396
* Whether this layer uses auto-layout to position its children.
325
397
*/
326
- layoutMode ?: 'NONE' | 'HORIZONTAL' | 'VERTICAL'
398
+ layoutMode ?: 'NONE' | 'HORIZONTAL' | 'VERTICAL' | 'GRID'
327
399
328
400
/**
329
401
* Whether the primary axis has a fixed length (determined by the user) or an automatic length
@@ -1868,6 +1940,11 @@ export type TextureEffect = {
1868
1940
*/
1869
1941
type : 'TEXTURE'
1870
1942
1943
+ /**
1944
+ * Whether the texture effect is visible.
1945
+ */
1946
+ visible : boolean
1947
+
1871
1948
/**
1872
1949
* The size of the texture effect
1873
1950
*/
@@ -1925,6 +2002,16 @@ export type BaseNoiseEffect = {
1925
2002
*/
1926
2003
type : 'NOISE'
1927
2004
2005
+ /**
2006
+ * The color of the noise effect
2007
+ */
2008
+ color : RGBA
2009
+
2010
+ /**
2011
+ * Whether the noise effect is visible.
2012
+ */
2013
+ visible : boolean
2014
+
1928
2015
/**
1929
2016
* Blend mode of the noise effect
1930
2017
*/
@@ -5450,7 +5537,7 @@ export type GetFileMetaResponse = {
5450
5537
/**
5451
5538
* The type of editor associated with this file.
5452
5539
*/
5453
- editorType : 'figma' | 'figjam' | 'slides'
5540
+ editorType : 'figma' | 'figjam' | 'slides' | 'buzz' | 'sites' | 'make'
5454
5541
5455
5542
/**
5456
5543
* The role of the user making the API request in relation to the file.
0 commit comments