function __cfHardenFn(fn: Function) { Object.freeze(fn); const prototype = fn.prototype; if (prototype && typeof prototype === "object") { Object.freeze(prototype); } return fn; } import { __cfHelpers } from "commonfabric"; import { SELF, pattern } from "commonfabric"; const define = undefined; const runtimeDeps = undefined; const __cfAmdHooks = undefined; interface Input { value: string; } const _p = pattern((__cf_pattern_input) => { const self = __cf_pattern_input[__cfHelpers.SELF]; const _value = __cf_pattern_input.key("value"); return self; }, { type: "object", properties: { value: { type: "string" } }, required: ["value"] } as const satisfies __cfHelpers.JSONSchema, { type: "object", properties: { value: { type: "string" } }, required: ["value"] } as const satisfies __cfHelpers.JSONSchema); // @ts-ignore: Internals function h(...args: any[]) { return __cfHelpers.h.apply(null, args); } __cfHardenFn(h); __cfReg({ _p });