UNPKG

@nodescript/core

Version:

Visual programming language for Browser and Node

24 lines 737 B
import { Schema } from 'airtight'; import { PointSchema } from './Point.js'; export const NodeMetadataSchema = new Schema({ id: 'NodeMetadada', type: 'object', properties: { pos: PointSchema.schema, w: { type: 'number', default: 5 }, h: { type: 'number', default: 5 }, label: { type: 'string', default: '' }, collapsed: { type: 'boolean', default: false }, docked: { type: 'boolean', default: false }, listedProps: { type: 'object', properties: {}, additionalProperties: { type: 'boolean' }, default: {}, } }, additionalProperties: { type: 'any' }, }); //# sourceMappingURL=NodeMetadata.js.map