figma-api-stub
Advanced tools
Comparing version 0.0.36 to 0.0.37
@@ -197,2 +197,11 @@ "use strict"; | ||
}()); | ||
var ExportMixinStub = /** @class */ (function () { | ||
function ExportMixinStub() { | ||
} | ||
ExportMixinStub.prototype.exportAsync = function (settings) { | ||
// "exportAsync" is not implemented in stubs | ||
return Promise.resolve(new Uint8Array()); | ||
}; | ||
return ExportMixinStub; | ||
}()); | ||
var RectangleNodeStub = /** @class */ (function () { | ||
@@ -204,3 +213,7 @@ function RectangleNodeStub() { | ||
}()); | ||
applyMixins_1.applyMixins(RectangleNodeStub, [BaseNodeMixinStub, LayoutMixinStub]); | ||
applyMixins_1.applyMixins(RectangleNodeStub, [ | ||
BaseNodeMixinStub, | ||
LayoutMixinStub, | ||
ExportMixinStub | ||
]); | ||
var TextNodeStub = /** @class */ (function () { | ||
@@ -251,3 +264,7 @@ function TextNodeStub() { | ||
}()); | ||
applyMixins_1.applyMixins(TextNodeStub, [BaseNodeMixinStub, LayoutMixinStub]); | ||
applyMixins_1.applyMixins(TextNodeStub, [ | ||
BaseNodeMixinStub, | ||
LayoutMixinStub, | ||
ExportMixinStub | ||
]); | ||
var DocumentNodeStub = /** @class */ (function () { | ||
@@ -279,3 +296,7 @@ function DocumentNodeStub() { | ||
}()); | ||
applyMixins_1.applyMixins(PageNodeStub, [BaseNodeMixinStub, ChildrenMixinStub]); | ||
applyMixins_1.applyMixins(PageNodeStub, [ | ||
BaseNodeMixinStub, | ||
ChildrenMixinStub, | ||
ExportMixinStub | ||
]); | ||
var FrameNodeStub = /** @class */ (function () { | ||
@@ -291,3 +312,4 @@ function FrameNodeStub() { | ||
ChildrenMixinStub, | ||
LayoutMixinStub | ||
LayoutMixinStub, | ||
ExportMixinStub | ||
]); | ||
@@ -303,2 +325,3 @@ var GroupNodeStub = /** @class */ (function () { | ||
ChildrenMixinStub, | ||
ExportMixinStub, | ||
LayoutMixinStub | ||
@@ -318,3 +341,7 @@ ]); | ||
}()); | ||
applyMixins_1.applyMixins(ComponentNodeStub, [BaseNodeMixinStub, ChildrenMixinStub]); | ||
applyMixins_1.applyMixins(ComponentNodeStub, [ | ||
BaseNodeMixinStub, | ||
ChildrenMixinStub, | ||
ExportMixinStub | ||
]); | ||
var InstanceNodeStub = /** @class */ (function () { | ||
@@ -326,3 +353,3 @@ function InstanceNodeStub() { | ||
}()); | ||
applyMixins_1.applyMixins(InstanceNodeStub, [BaseNodeMixinStub]); | ||
applyMixins_1.applyMixins(InstanceNodeStub, [BaseNodeMixinStub, ExportMixinStub]); | ||
// @ts-ignore | ||
@@ -329,0 +356,0 @@ var PluginApiStub = /** @class */ (function () { |
{ | ||
"name": "figma-api-stub", | ||
"version": "0.0.36", | ||
"version": "0.0.37", | ||
"description": "Figma API stub", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
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
59127
1229