yamlSortsToDeclarative()
Home > @gooddata/sdk-code-convertors > yamlSortsToDeclarative
yamlSortsToDeclarative() function
Signature:
export declare function yamlSortsToDeclarative(sort_by: Sorts | undefined, fields: Visualisation["query"]["fields"]): ISortItem[];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
sort_by |
Sorts | undefined | |
|
fields |
Visualisation["query"]["fields"] |
Returns: