alinea
Version:
Headless git-based CMS
22 lines (20 loc) • 457 B
JavaScript
import "../../chunks/chunk-NZLE2WMY.js";
// src/core/field/ScalarField.ts
import { Field } from "../Field.js";
import { ScalarShape } from "../shape/ScalarShape.js";
var ScalarField = class extends Field {
constructor(meta) {
super({
shape: new ScalarShape(
meta.options.label,
meta.options.initialValue,
meta.options.searchable
),
referencedViews: [],
...meta
});
}
};
export {
ScalarField
};