openpencil/tests/engine/figma/api
Danila Poyarkov 105032153e
feat(core): name the node type createInstance and detachInstance return (#918)
Both factories know what they built, but returned the bare proxy, so a
caller reading componentProperties, setProperties or isExposedInstance
had to narrow first — the instance surface is only spelled out on the
node types. Two test suites had each grown their own cast for it.

FigmaInstanceNode joins the other node types and is exported, and the
compatibility check names it instead of respelling the intersection.

Narrowing a return type is not a breaking change: a caller that held
the result as a FigmaNodeProxy still compiles.
2026-10-06 09:35:03 +00:00
..
absolute fix(figma-api): expose node transforms 2026-08-03 20:17:32 +03:00
auto-layout test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
corner test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
create test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
document test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
find test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
frozen test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
internals test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
layout test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
min-max test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
node test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
property test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
stroke test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
text test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
tree test: move prefixed splits into domain folders 2026-05-06 14:27:21 +03:00
vector test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
clone.test.ts test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
components.test.ts feat(core): name the node type createInstance and detachInstance return (#918) 2026-10-06 09:35:03 +00:00
expanded.test.ts
flatten-renderer.test.ts feat(text): wrap styled outline text 2026-05-17 20:23:55 +03:00
grouping-compat.test.ts test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
grouping.test.ts
helpers.ts feat(core): name the node type createInstance and detachInstance return (#918) 2026-10-06 09:35:03 +00:00
images.test.ts chore: format codebase 2026-05-24 12:15:29 +03:00
mask.test.ts
selection.test.ts
serialization.test.ts test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
stubs.test.ts
traversal.test.ts
variable-binding-extended.test.ts test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
variables.test.ts feat(figma-api): expose vector paths and modes 2026-07-22 15:07:20 +03:00