xml-from-object
Version:
Easy, highly typed and customizable way to build your xml using JS/TS plain objects.
10 lines (8 loc) • 397 B
text/typescript
import { FromObjectSchema } from "./from-object-schema";
import { SchemaFieldAttributes } from "./schema-field-attributes";
import { SchemaFieldOptions } from "./schema-field-options";
export type SchemaFieldValue = {
value: string | string[] | boolean | number | null | undefined | FromObjectSchema | FromObjectSchema[];
options?: SchemaFieldOptions;
attributes?: SchemaFieldAttributes
};