Skip to content

fetchFigmaMetas

fetchFigmaMetas(token, fileKey, refs, options?): Promise<Map<string, DesignMeta>>

Defined in: api.ts:69

Fetch metadata for several refs of one file in at most two requests: one nodes?ids=a,b call for every node ref and one depth-1 file call when the whole file is linked. API failures map to a state per ref.

string

string

readonly DesignRef[]

DesignCallOptions = {}

Promise<Map<string, DesignMeta>>