@bisondesk/core-sdk 1.0.81 → 1.0.82
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.
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import { BusinessEntityIds } from '../constants';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { ComplexFilter } from './search';
|
|
3
|
+
declare type SavedFilterQuery = {
|
|
4
|
+
conditions: {
|
|
5
|
+
[fieldId: string]: ComplexFilter;
|
|
6
|
+
};
|
|
7
|
+
fullText?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare type SavedFilter = SavedFilterQuery & {
|
|
4
10
|
id: string;
|
|
5
11
|
businessEntityId: BusinessEntityIds;
|
|
6
|
-
searchRequest: SearchRequest;
|
|
7
12
|
name: string;
|
|
8
13
|
};
|
|
9
|
-
export declare type NewSavedFilterRequest = {
|
|
14
|
+
export declare type NewSavedFilterRequest = SavedFilterQuery & {
|
|
10
15
|
businessEntityId: BusinessEntityIds;
|
|
11
|
-
searchRequest: SearchRequest;
|
|
12
16
|
name: string;
|
|
13
17
|
};
|
|
18
|
+
export {};
|
|
14
19
|
//# sourceMappingURL=saved-filters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saved-filters.d.ts","sourceRoot":"","sources":["../../src/types/saved-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,
|
|
1
|
+
{"version":3,"file":"saved-filters.d.ts","sourceRoot":"","sources":["../../src/types/saved-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,aAAK,gBAAgB,GAAG;IACtB,UAAU,EAAE;QACV,CAAC,OAAO,EAAE,MAAM,GAAG,aAAa,CAAC;KAClC,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,oBAAY,WAAW,GAAG,gBAAgB,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,oBAAY,qBAAqB,GAAG,gBAAgB,GAAG;IACrD,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bisondesk/core-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.82",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf build dist lib *.tsbuildinfo",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "Ivo Anastácio",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@bisondesk/commons-sdk": "1.0.
|
|
14
|
+
"@bisondesk/commons-sdk": "1.0.82",
|
|
15
15
|
"joi": "17.4.0",
|
|
16
16
|
"lru-cache": "6.0.0"
|
|
17
17
|
},
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { BusinessEntityIds } from '../constants';
|
|
2
|
-
import {
|
|
2
|
+
import { ComplexFilter } from './search';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
type SavedFilterQuery = {
|
|
5
|
+
conditions: {
|
|
6
|
+
[fieldId: string]: ComplexFilter;
|
|
7
|
+
};
|
|
8
|
+
fullText?: string;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export type SavedFilter = SavedFilterQuery & {
|
|
5
12
|
id: string;
|
|
6
13
|
businessEntityId: BusinessEntityIds;
|
|
7
|
-
searchRequest: SearchRequest;
|
|
8
14
|
name: string;
|
|
9
15
|
};
|
|
10
16
|
|
|
11
|
-
export type NewSavedFilterRequest = {
|
|
17
|
+
export type NewSavedFilterRequest = SavedFilterQuery & {
|
|
12
18
|
businessEntityId: BusinessEntityIds;
|
|
13
|
-
searchRequest: SearchRequest;
|
|
14
19
|
name: string;
|
|
15
20
|
};
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -592,8 +592,8 @@
|
|
|
592
592
|
"affectsGlobalScope": false
|
|
593
593
|
},
|
|
594
594
|
"./src/types/saved-filters.ts": {
|
|
595
|
-
"version": "
|
|
596
|
-
"signature": "
|
|
595
|
+
"version": "bdc5c10f1f7f38b10162e93ebe34e81d8fe3581ff486b5925310e2202f8eeb1b",
|
|
596
|
+
"signature": "ed69971bf16039d47d449a217ac9378b91c22835783382ac8a2c8b1a36ca576e",
|
|
597
597
|
"affectsGlobalScope": false
|
|
598
598
|
},
|
|
599
599
|
"./src/types/settings.ts": {
|