fql-toolkit
Version:
10 lines • 550 B
TypeScript
export declare const FQL_VALID_TYPES: readonly ["text", "number", "boolean", "password", "email", "date", "reference"];
export type FQLType = typeof FQL_VALID_TYPES[number];
export declare const FQL_DURING_EVENTS: readonly ["create", "remove", "modify"];
export type FQLDuringEvent = typeof FQL_DURING_EVENTS[number];
/**
* Normalizes a type name: passes valid FQL types through unchanged,
* resolves JS aliases, and throws on unknown values.
*/
export declare function normalizeType(type: string): FQLType;
//# sourceMappingURL=constants.d.ts.map