UNPKG

@grapi/server

Version:

Grapi Schema Generator For GraphQL Server

33 lines (32 loc) 797 B
export declare const enum FilterListObject { SOME = "some", NONE = "none", EVERY = "every" } export declare const enum FilterListScalar { HAS = "has", HASNOT = "hasNot" } export declare enum DirectiveModelAction { Create = "Create", Read = "Read", Update = "Update", Delete = "Delete" } export declare enum DataModelType { STRING = "String", BOOLEAN = "Boolean", INT = "Int", FLOAT = "Float", ID = "ID", ENUM = "ENUM", OBJECT = "OBJECT", RELATION = "RELATION", CUSTOM_SCALAR = "CUSTOM_SCALAR", JSON = "Json", EMAIL = "Email", URL = "Url", DATE_TIME = "DateTime" } export declare const isScalarType: (type: DataModelType) => boolean; export declare const isValidScalarFilter: (type: DataModelType) => boolean;