UNPKG

@martinmilo/verve

Version:

TypeScript domain modeling library with field-level authorization, business rule validation, and context-aware access control

13 lines 762 B
import type { WithFieldBuilder } from "../types"; export type WithNullableProp<T> = T; export declare function WithNullable<T extends WithFieldBuilder>(Base: T): { new (...args: any[]): { readonly nullable: /*elided*/ any; Field: import("../../core/types").FieldClass<any>; options: import("../../core/types").FieldOptions; getOption<K extends keyof import("../../core/types").FieldOptions>(option: K): import("../../core/types").FieldOptions[K]; setOption<K extends keyof import("../../core/types").FieldOptions>(option: K, value: import("../../core/types").FieldOptions[K]): void; toField(model?: import("../../..").Model): import("../..").Field<any>; }; } & T; //# sourceMappingURL=WithNullable.d.ts.map