The actions object describes the actions that are possible at the current endpoint. Object property names are action names. Each property represents the object of the following structure:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
source | string | Optional. Data source. If not specified, taken from the parent item. | ||||||||
schema | string | Optional. The name of the SQL schema. If not specified, taken from the parent item. | ||||||||
model | string | Name of the model. If not specified, taken from the parent item. | ||||||||
merge | object |
Optional. An additional model that will be combined with the main one. It is possible to
specify a different schema and a different data source. If the schema or the source are
not specified, they are taken from the parent item.
The parameters object allows you to set additional parameters for the second
model. It is possible to reference values from the main model. To do this, specify in the
value the path to the property of the main model in double curly braces ({{....}}).
|
||||||||
index | boolean |
Whether the model for action is an index one. For the index model the stored procedure with
the '.Index' suffix is executed, for the regular - with the '.Load' suffix.
|
||||||||
copy | boolean |
Whether the action is copying. In this case, a saved procedure with the suffix '.Copy'
is executed to load the model. Copying in the index actions is not supported.
|
||||||||
template | string | Path to the template file for action. Learn more about templates. | ||||||||
view | string | Path to the view file for the action. | ||||||||
checkTypes | string | The name of the *.d.ts file for dynamic type checking. | ||||||||
indirect | boolean | Indirectness. The action is performed in two stages. | ||||||||
parameters | object | Object, static parameters that are passed to the saved model download procedure. The property name is the name of the parameter, the value is the value of the parameter. | ||||||||
export | object |
Oject that describes the action of exporting (loading) a data model. The object has the following parameters:
.Export suffix will be called.
|