@nodescript/core
Version:
Visual programming language for Browser and Node
24 lines • 615 B
JavaScript
import { Schema } from 'airtight';
import { PropEntrySpecSchema } from './PropEntrySpec.js';
export const PropSpecSchema = new Schema({
id: 'PropSpec',
type: 'object',
properties: {
value: { type: 'string' },
linkId: {
type: 'string',
optional: true,
},
linkKey: {
type: 'string',
optional: true,
},
expand: { type: 'boolean' },
entries: {
type: 'array',
optional: true,
items: PropEntrySpecSchema.schema,
}
},
});
//# sourceMappingURL=PropSpec.js.map