mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 12:54:29 +00:00
36 lines
1.1 KiB
TypeScript
36 lines
1.1 KiB
TypeScript
/**
|
|
* Browser-safe variables entry (`@hyperframes/core/variables`) — the complete
|
|
* composition-variables surface in one import: schema types, the declaration
|
|
* parser, runtime value resolution, and value validation. Deliberately free of
|
|
* the Node-only modules reachable from the core/parsers root entries, so
|
|
* browser consumers (SDK, Studio, embedders) can bundle it.
|
|
*/
|
|
|
|
export type {
|
|
CompositionVariable,
|
|
CompositionVariableType,
|
|
CompositionVariableBase,
|
|
StringVariable,
|
|
NumberVariable,
|
|
ColorVariable,
|
|
BooleanVariable,
|
|
EnumVariable,
|
|
FontVariable,
|
|
ImageVariable,
|
|
} from "@hyperframes/parsers/composition";
|
|
export {
|
|
COMPOSITION_VARIABLE_TYPES,
|
|
parseCompositionVariables,
|
|
isCompositionVariable,
|
|
isScalarVariableValue,
|
|
scanVariableUsage,
|
|
} from "@hyperframes/parsers/composition";
|
|
export type { VariableUsageScan } from "@hyperframes/parsers/composition";
|
|
|
|
export { getVariables, readDeclaredDefaults } from "./runtime/getVariables.js";
|
|
export {
|
|
validateVariables,
|
|
formatVariableValidationIssue,
|
|
type VariableValidationIssue,
|
|
} from "./runtime/validateVariables.js";
|