@platforma-sdk/model 1.31.14 → 1.31.16
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/components/PlDataTable.d.ts +3 -0
- package/dist/components/PlDataTable.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/pframe.d.ts +2 -2
- package/dist/pframe.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +5 -5
- package/src/components/PlDataTable.ts +3 -0
- package/src/pframe.ts +3 -1
package/dist/pframe.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CalculateTableDataRequest, CalculateTableDataResponse, FindColumnsRequest, FindColumnsResponse, PColumnIdAndSpec, PColumnSpec, PFrame, PFrameHandle, PObjectId, UniqueValuesRequest, UniqueValuesResponse } from '@milaboratories/pl-model-common';
|
|
1
|
+
import { CalculateTableDataRequest, CalculateTableDataResponse, FindColumnsRequest, FindColumnsResponse, PColumnIdAndSpec, PColumnSpec, PFrame, PFrameHandle, PObjectId, TableRange, UniqueValuesRequest, UniqueValuesResponse } from '@milaboratories/pl-model-common';
|
|
2
2
|
export declare class PFrameImpl implements PFrame {
|
|
3
3
|
private readonly handle;
|
|
4
4
|
constructor(handle: PFrameHandle);
|
|
5
5
|
findColumns(request: FindColumnsRequest): Promise<FindColumnsResponse>;
|
|
6
6
|
getColumnSpec(columnId: PObjectId): Promise<PColumnSpec>;
|
|
7
7
|
listColumns(): Promise<PColumnIdAndSpec[]>;
|
|
8
|
-
calculateTableData(request: CalculateTableDataRequest<PObjectId
|
|
8
|
+
calculateTableData(request: CalculateTableDataRequest<PObjectId>, range?: TableRange): Promise<CalculateTableDataResponse>;
|
|
9
9
|
getUniqueValues(request: UniqueValuesRequest): Promise<UniqueValuesResponse>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=pframe.d.ts.map
|
package/dist/pframe.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pframe.d.ts","sourceRoot":"","sources":["../src/pframe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAC1B,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,YAAY,EACZ,SAAS,EACT,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAEzC,qBAAa,UAAW,YAAW,MAAM;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,YAAY;IAEpC,WAAW,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAItE,aAAa,CAAC,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,WAAW,CAAC;IAIxD,WAAW,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAI1C,kBAAkB,CAC7B,OAAO,EAAE,yBAAyB,CAAC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"pframe.d.ts","sourceRoot":"","sources":["../src/pframe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAC1B,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,YAAY,EACZ,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAEzC,qBAAa,UAAW,YAAW,MAAM;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,YAAY;IAEpC,WAAW,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAItE,aAAa,CAAC,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,WAAW,CAAC;IAIxD,WAAW,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAI1C,kBAAkB,CAC7B,OAAO,EAAE,yBAAyB,CAAC,SAAS,CAAC,EAC7C,KAAK,CAAC,EAAE,UAAU,GACjB,OAAO,CAAC,0BAA0B,CAAC;IAIzB,eAAe,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAG1F"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PlatformaSDKVersion = "1.31.
|
|
1
|
+
export declare const PlatformaSDKVersion = "1.31.16";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-sdk/model",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.16",
|
|
4
4
|
"description": "Platforma.bio SDK / Block Model",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"utility-types": "^3.11.0",
|
|
22
22
|
"canonicalize": "~2.1.0",
|
|
23
23
|
"zod": "~3.23.8",
|
|
24
|
-
"@milaboratories/pl-
|
|
25
|
-
"@milaboratories/pl-
|
|
24
|
+
"@milaboratories/pl-error-like": "^1.12.1",
|
|
25
|
+
"@milaboratories/pl-model-common": "^1.15.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"typescript": "~5.5.4",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"jest": "^29.7.0",
|
|
32
32
|
"@jest/globals": "^29.7.0",
|
|
33
33
|
"ts-jest": "^29.2.6",
|
|
34
|
-
"@platforma-
|
|
35
|
-
"@
|
|
34
|
+
"@milaboratories/platforma-build-configs": "1.0.3",
|
|
35
|
+
"@platforma-sdk/eslint-config": "1.0.3"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"type-check": "node ./scripts/save-package-version.cjs && tsc --noEmit --composite false",
|
|
@@ -323,6 +323,9 @@ export type PlTableFiltersState = PlTableFiltersStateEntry[];
|
|
|
323
323
|
export type PlTableFiltersModel = {
|
|
324
324
|
/** Internal PlTableFilters component state, do not change! */
|
|
325
325
|
state?: PlTableFiltersState;
|
|
326
|
+
/** Internal PlTableFilters component state, do not change!
|
|
327
|
+
* Defaults filters applied to the table */
|
|
328
|
+
defaultsApplied?: boolean;
|
|
326
329
|
/** Resulting filters which should be used in Join */
|
|
327
330
|
filters?: PTableRecordFilter[];
|
|
328
331
|
};
|
package/src/pframe.ts
CHANGED
|
@@ -8,6 +8,7 @@ import type {
|
|
|
8
8
|
PFrame,
|
|
9
9
|
PFrameHandle,
|
|
10
10
|
PObjectId,
|
|
11
|
+
TableRange,
|
|
11
12
|
UniqueValuesRequest,
|
|
12
13
|
UniqueValuesResponse,
|
|
13
14
|
} from '@milaboratories/pl-model-common';
|
|
@@ -29,8 +30,9 @@ export class PFrameImpl implements PFrame {
|
|
|
29
30
|
|
|
30
31
|
public async calculateTableData(
|
|
31
32
|
request: CalculateTableDataRequest<PObjectId>,
|
|
33
|
+
range?: TableRange,
|
|
32
34
|
): Promise<CalculateTableDataResponse> {
|
|
33
|
-
return await platforma.pFrameDriver.calculateTableData(this.handle, request);
|
|
35
|
+
return await platforma.pFrameDriver.calculateTableData(this.handle, request, range);
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
public async getUniqueValues(request: UniqueValuesRequest): Promise<UniqueValuesResponse> {
|