Vanessa 2023-07-06 18:56:16 +08:00
parent 886b5fdc8c
commit 06a6f7c486
3 changed files with 213 additions and 84 deletions

View file

@ -826,7 +826,7 @@ interface IBazaarItem {
interface IAV {
columns: IAVColumn[],
filters: [],
filters: IAVFilter[],
sorts: IAVSort[],
name: string,
type: "table"
@ -834,6 +834,12 @@ interface IAV {
id: string
}
interface IAVFilter {
column: string,
operator: "=" | "!=" | ">" | ">=" | "<" | "<=" | "Contains" | "Does not contains" | "Is empty" | "Is not empty" | "Starts with" | "Ends with" | "Is between" | "Is relative to today"
value: string
}
interface IAVSort {
column: string,
order: "ASC" | "DESC"