Comparing version 1.5.1 to 1.6.0
@@ -538,2 +538,4 @@ export interface Global { | ||
export interface Component { | ||
/** The componens key */ | ||
readonly key: string; | ||
/** The name of the component */ | ||
@@ -544,2 +546,13 @@ readonly name: string; | ||
} | ||
/** | ||
* A description of styles used in a file. | ||
*/ | ||
export interface Style { | ||
/** The name of the stlye */ | ||
readonly name: string; | ||
/** The unique identifier of the style */ | ||
readonly key: string; | ||
/** The type of style */ | ||
readonly styleType: 'FILL' | 'TEXT' | 'EFFECT' | 'GRID'; | ||
} | ||
/** A comment or reply left by a user */ | ||
@@ -584,2 +597,5 @@ export interface Comment { | ||
}; | ||
readonly styles: { | ||
readonly [key: string]: Style; | ||
}; | ||
readonly document: Document; | ||
@@ -586,0 +602,0 @@ readonly lastModified: string; |
@@ -538,2 +538,4 @@ export interface Global { | ||
export interface Component { | ||
/** The componens key */ | ||
readonly key: string; | ||
/** The name of the component */ | ||
@@ -544,2 +546,13 @@ readonly name: string; | ||
} | ||
/** | ||
* A description of styles used in a file. | ||
*/ | ||
export interface Style { | ||
/** The name of the stlye */ | ||
readonly name: string; | ||
/** The unique identifier of the style */ | ||
readonly key: string; | ||
/** The type of style */ | ||
readonly styleType: 'FILL' | 'TEXT' | 'EFFECT' | 'GRID'; | ||
} | ||
/** A comment or reply left by a user */ | ||
@@ -584,2 +597,5 @@ export interface Comment { | ||
}; | ||
readonly styles: { | ||
readonly [key: string]: Style; | ||
}; | ||
readonly document: Document; | ||
@@ -586,0 +602,0 @@ readonly lastModified: string; |
{ | ||
"name": "figma-js", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"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
74712
1633