Interface References
CrudFiltersβ
CrudFilterβ
Key | Type |
---|---|
field | string |
operator | CrudOperators |
value | any |
CrudOperatorsβ
"eq" |
"ne" |
"lt" |
"gt" |
"lte" |
"gte" |
"in" |
"nin" |
"contains" |
"ncontains" |
"containss" |
"ncontainss" |
"null";
Type | Description |
---|---|
"eq" | Equal |
"ne" | Not equal |
"lt" | Less than |
"gt" | Greater than |
"lte" | Less than or equal to |
"gte" | Greater than or equal to |
"in" | Included in an array |
"nin" | Not included in an array |
"contains" | Contains |
"ncontains" | Doesn't contain |
"containss" | Contains, case sensitive |
"ncontainss" | Doesn't contain, case sensitive |
"null" | Is null or not null |
CrudSortingβ
CrudSortβ
Key | Type |
---|---|
field | string |
order | "asc" | "desc" |
order type | Description |
---|---|
"asc" | Ascending order |
"desc" | Descending order |
Paginationβ
Key | Type |
---|---|
current | number |
pageSize | number |
BaseRecordβ
Key | Type |
---|---|
id? | string | number |
[key: string] | any |
HttpErrorβ
Key | Type |
---|---|
message | string |
statusCode | number |
Delete Button Propsβ
ButtonProps
Key | Type |
---|---|
resourceName? | string |
recordItemId? | string | number |
onSuccess? | <TData = BaseRecord>(value: { data: TData; }) => void; |
mutationMode? | MutationMode |
hideText? | boolean |
MutationModeβ
"pessimistic" | "optimistic" | "undoable";
UploadedFileβ
Key | Type |
---|---|
uid | string |
name | string |
url | string |
type | string |
size | number |
percent | number |
status | "error" | "success" | "done" | "uploading" | "removed" |
SuccessErrorNotificationβ
Key | Type |
---|---|
successNotification | Notification Properties & false |
errorNotification | Notification Properties & false |
MetaDataQueryβ
Key | Type |
---|---|
[k: string] | any |
operation? | string |
fields? | Array<string | object | NestedField> |
variables? | VariableOptions |
NestedFieldβ
Key | Type |
---|---|
operation | string |
variables | VariableOptions[] |
fields | Array<string | object | NestedField> |
QueryBuilderOptionsβ
Key | Type |
---|---|
operation | string |
variables | VariableOptions |
fields | Array<string | object | NestedField> |
VariableOptionsβ
Key | Type |
---|---|
type? | string |
name? | string |
value? | any |
list? | bool |
required? | bool |
[k: string] | any |
PromptPropsβ
Key | Type |
---|---|
message | string |
when? | boolean |
setWarnWhen? | (warnWhen: boolean) => void |
CanParamsβ
Key | Type |
---|---|
resource | string |
action | string |
params? | any |
CanReturnTypeβ
Key | Type |
---|---|
can | boolean |
reason? | string |
LiveEventβ
Key | Type |
---|---|
channel | string |
types | Array<"deleted" | "updated" | "created" | "* " | string > |
payload | {ids?: string[]; [x: string]: any; } |
date | Date |
LiveModePropsβ
Key | Type |
---|---|
liveMode? | "auto" Β | "manual" | "off" |
liveParams? | {ids?: string[]; [x: string]: any; } |
onLiveEvent? | (event: LiveEvent) => void |