forked from tsai/budibase
19 changed files with 120 additions and 116 deletions
@ -1,10 +1,65 @@ |
|||||
|
/** |
||||
|
* Operator options for lucene queries |
||||
|
*/ |
||||
|
export const OperatorOptions = { |
||||
|
Equals: { |
||||
|
value: "equal", |
||||
|
label: "Equals", |
||||
|
}, |
||||
|
NotEquals: { |
||||
|
value: "notEqual", |
||||
|
label: "Not equals", |
||||
|
}, |
||||
|
Empty: { |
||||
|
value: "empty", |
||||
|
label: "Is empty", |
||||
|
}, |
||||
|
NotEmpty: { |
||||
|
value: "notEmpty", |
||||
|
label: "Is not empty", |
||||
|
}, |
||||
|
StartsWith: { |
||||
|
value: "string", |
||||
|
label: "Starts with", |
||||
|
}, |
||||
|
Like: { |
||||
|
value: "fuzzy", |
||||
|
label: "Like", |
||||
|
}, |
||||
|
MoreThan: { |
||||
|
value: "rangeLow", |
||||
|
label: "More than", |
||||
|
}, |
||||
|
LessThan: { |
||||
|
value: "rangeHigh", |
||||
|
label: "Less than", |
||||
|
}, |
||||
|
Contains: { |
||||
|
value: "equal", |
||||
|
label: "Contains", |
||||
|
}, |
||||
|
NotContains: { |
||||
|
value: "notEqual", |
||||
|
label: "Does Not Contain", |
||||
|
}, |
||||
|
} |
||||
|
|
||||
|
// Cookie names
|
||||
|
export const Cookies = { |
||||
|
Auth: "budibase:auth", |
||||
|
CurrentApp: "budibase:currentapp", |
||||
|
ReturnUrl: "budibase:returnurl", |
||||
|
} |
||||
|
|
||||
|
// Table names
|
||||
export const TableNames = { |
export const TableNames = { |
||||
USERS: "ta_users", |
USERS: "ta_users", |
||||
} |
} |
||||
|
|
||||
export const ApiVersion = "1" |
|
||||
/** |
/** |
||||
* API Version Changelog |
* API version header attached to all requests. |
||||
|
* Version changelog: |
||||
* v1: |
* v1: |
||||
* - Coerce types for search endpoint |
* - Coerce types for search endpoint |
||||
*/ |
*/ |
||||
|
export const ApiVersion = "1" |
||||
|
|||||
Loading…
Reference in new issue