Comparing version 1.8.4 to 1.8.5
@@ -515,2 +515,8 @@ export interface Global { | ||
readonly imageRef?: string; | ||
/** | ||
* A reference to the GIF embedded in this node, if the image is a GIF. | ||
* To download the image using this reference, | ||
* use the GET file images endpoint to retrieve the mapping from image references to image URLs | ||
*/ | ||
readonly gifRef?: string; | ||
} | ||
@@ -599,2 +605,9 @@ export interface Path { | ||
} | ||
/** A relative offset within a frame */ | ||
export interface FrameOffset { | ||
/** Unique id specifying the frame */ | ||
readonly node_id: string; | ||
/** 2d vector offset within the frame */ | ||
readonly node_offset: Vector2; | ||
} | ||
interface SharedElement extends ComponentMetadata { | ||
@@ -659,3 +672,3 @@ /** The unique identifier of the figma file which contains the element */ | ||
readonly message: string; | ||
readonly client_meta: Vector2; | ||
readonly client_meta: Vector2 | FrameOffset; | ||
/** | ||
@@ -662,0 +675,0 @@ * Only set for top level comments. The number displayed with the |
@@ -63,3 +63,3 @@ import * as Figma from './figmaTypes'; | ||
/** The absolute canvas position of where to place the comment */ | ||
readonly client_meta: Figma.Vector2; | ||
readonly client_meta: Figma.Vector2 | Figma.FrameOffset; | ||
} | ||
@@ -66,0 +66,0 @@ export interface PaginationParams { |
@@ -515,2 +515,8 @@ export interface Global { | ||
readonly imageRef?: string; | ||
/** | ||
* A reference to the GIF embedded in this node, if the image is a GIF. | ||
* To download the image using this reference, | ||
* use the GET file images endpoint to retrieve the mapping from image references to image URLs | ||
*/ | ||
readonly gifRef?: string; | ||
} | ||
@@ -599,2 +605,9 @@ export interface Path { | ||
} | ||
/** A relative offset within a frame */ | ||
export interface FrameOffset { | ||
/** Unique id specifying the frame */ | ||
readonly node_id: string; | ||
/** 2d vector offset within the frame */ | ||
readonly node_offset: Vector2; | ||
} | ||
interface SharedElement extends ComponentMetadata { | ||
@@ -659,3 +672,3 @@ /** The unique identifier of the figma file which contains the element */ | ||
readonly message: string; | ||
readonly client_meta: Vector2; | ||
readonly client_meta: Vector2 | FrameOffset; | ||
/** | ||
@@ -662,0 +675,0 @@ * Only set for top level comments. The number displayed with the |
@@ -63,3 +63,3 @@ import * as Figma from './figmaTypes'; | ||
/** The absolute canvas position of where to place the comment */ | ||
readonly client_meta: Figma.Vector2; | ||
readonly client_meta: Figma.Vector2 | Figma.FrameOffset; | ||
} | ||
@@ -66,0 +66,0 @@ export interface PaginationParams { |
{ | ||
"name": "figma-js", | ||
"version": "1.8.4", | ||
"version": "1.8.5", | ||
"description": "A simple wrapper for the Figma API", | ||
@@ -5,0 +5,0 @@ "main": "build/main/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98220
2127