Skip to content

Commit 887d806

Browse files
Update rest-api-spec to version 0.36.0 (#85)
1 parent 5112a5c commit 887d806

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

dist/api_types.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4404,6 +4404,14 @@ export type LocalVariableCollection = {
44044404
*/
44054405
parentVariableCollectionId?: string
44064406

4407+
/**
4408+
* The id of the root variable collection in the extension chain. This is the ID of the original
4409+
* (non-extended) collection at the top of the parent chain. For example, if Collection C extends B
4410+
* which extends A (root), then `rootVariableCollectionId` is A's ID. If this variable collection is
4411+
* not an extension, this value will be `undefined`.
4412+
*/
4413+
rootVariableCollectionId?: string
4414+
44074415
/**
44084416
* The overrides for the variables in this variable collection as a map of variable ids to a map of
44094417
* mode ids to variable values.

openapi/openapi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.1.0
22
info:
33
title: Figma API
4-
version: 0.35.0
4+
version: 0.36.0
55
description: |-
66
This is the OpenAPI specification for the [Figma REST API](https://www.figma.com/developers/api).
77
@@ -7687,6 +7687,14 @@ components:
76877687
description: The id of the parent variable collection that this variable
76887688
collection is an extension of. If this variable collection is not an
76897689
extension, this value will be `undefined`.
7690+
rootVariableCollectionId:
7691+
type: string
7692+
description: The id of the root variable collection in the extension chain. This
7693+
is the ID of the original (non-extended) collection at the top of
7694+
the parent chain. For example, if Collection C extends B which
7695+
extends A (root), then `rootVariableCollectionId` is A's ID. If this
7696+
variable collection is not an extension, this value will be
7697+
`undefined`.
76907698
variableOverrides:
76917699
type: object
76927700
description: The overrides for the variables in this variable collection as a

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@figma/rest-api-spec",
3-
"version": "0.35.0",
3+
"version": "0.36.0",
44
"description": "Typings for the Figma REST API",
55
"main": "dist/api_types.ts",
66
"repository": {

0 commit comments

Comments
 (0)