@budibase/shared-core 3.41.0 → 3.41.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/api.d.ts +1 -1
- package/dist/filters.d.ts +2 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +3 -3
- package/dist/sdk/documents/index.d.ts +1 -1
- package/dist/sdk/documents/users.d.ts +4 -4
- package/dist/sdk/documents/workspaces.d.ts +5 -0
- package/package.json +3 -4
- package/dist/globFilters.d.ts +0 -4
- package/dist/sdk/documents/applications.d.ts +0 -5
package/dist/constants/api.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare enum Header {
|
|
|
5
5
|
API_KEY = "x-budibase-api-key",
|
|
6
6
|
LICENSE_KEY = "x-budibase-license-key",
|
|
7
7
|
API_VER = "x-budibase-api-version",
|
|
8
|
-
|
|
8
|
+
WORKSPACE_ID = "x-budibase-app-id",
|
|
9
9
|
SESSION_ID = "x-budibase-session-id",
|
|
10
10
|
CLIENT = "x-budibase-client",
|
|
11
11
|
TYPE = "x-budibase-type",
|
package/dist/filters.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Datasource, EmptyFilterOption, FieldConstraints, FieldType, FieldSubType, FormulaType, LegacyFilter, RowSearchParams, SearchFilter, SearchFilters, SearchQueryFields, SearchResponse, SortOrder, SortType, Table, UISearchFilter } from "@budibase/types";
|
|
1
|
+
import { Datasource, EmptyFilterOption, FieldConstraints, FieldType, FieldSubType, FormulaType, LegacyFilter, RowSearchParams, SearchFilter, SearchFilters, SearchQueryFields, SearchResponse, SortJson, SortOrder, SortType, Table, UISearchFilter } from "@budibase/types";
|
|
2
2
|
/**
|
|
3
3
|
* Returns the valid operator options for a certain data type
|
|
4
4
|
*/
|
|
@@ -90,6 +90,7 @@ export declare function runQuery<T extends Record<string, any>>(docs: T[], query
|
|
|
90
90
|
* @param sortType the type of sort ("string" or "number")
|
|
91
91
|
*/
|
|
92
92
|
export declare function sort<T extends Record<string, any>>(docs: T[], sort: keyof T, sortOrder: SortOrder, sortType?: SortType): T[];
|
|
93
|
+
export declare function multiSort<T extends Record<string, any>>(docs: T[], sorts: SortJson): T[];
|
|
93
94
|
/**
|
|
94
95
|
* Limits the specified docs to the specified number of rows from the equivalent
|
|
95
96
|
* server-side lucene limit parameters.
|
package/dist/index.d.ts
CHANGED