mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-08 07:38:26 -05:00
paginated steps on GenericModelList
paginate CustomFilter api and GenericModelList paginate Automation api and GenericModelList
This commit is contained in:
@@ -518,6 +518,7 @@ export class Models {
|
||||
header_component: {
|
||||
name: "BetaWarning",
|
||||
},
|
||||
params: ["page", "pageSize", "options"],
|
||||
},
|
||||
create: {
|
||||
params: [["name", "description", "type", "param_1", "param_2", "param_3", "order", "disabled"]],
|
||||
@@ -620,7 +621,7 @@ export class Models {
|
||||
},
|
||||
form_function: "AutomationOrderDefault",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
static UNIT_CONVERSION = {
|
||||
@@ -1032,7 +1033,7 @@ export class Models {
|
||||
static CUSTOM_FILTER = {
|
||||
name: "Custom Filter",
|
||||
apiName: "CustomFilter",
|
||||
|
||||
paginated: true,
|
||||
create: {
|
||||
params: [["name", "search", "shared"]],
|
||||
form: {
|
||||
@@ -1055,6 +1056,9 @@ export class Models {
|
||||
},
|
||||
},
|
||||
},
|
||||
list: {
|
||||
params: ["page", "pageSize", "options"],
|
||||
},
|
||||
}
|
||||
static USER_NAME = {
|
||||
name: "User",
|
||||
@@ -1228,6 +1232,7 @@ export class Models {
|
||||
static STEP = {
|
||||
name: "Step",
|
||||
apiName: "Step",
|
||||
paginated: true,
|
||||
list: {
|
||||
params: ["recipe", "query", "page", "pageSize", "options"],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user