@milaboratories/pl-model-middle-layer 1.10.4 → 1.10.6
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/pframe/internal_api/common.d.ts +1 -6
- package/dist/pframe/internal_api/common.d.ts.map +1 -1
- package/dist/pframe/internal_api/index.d.ts +1 -0
- package/dist/pframe/internal_api/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/pframe/internal_api/common.ts +2 -9
- package/src/pframe/internal_api/index.ts +2 -0
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import type { AxisSpec, PFrameHandle, PTableHandle,
|
|
1
|
+
import type { AxisSpec, PFrameHandle, PTableHandle, SingleAxisSelector } from '@milaboratories/pl-model-common';
|
|
2
2
|
export type Logger = (level: 'info' | 'warn' | 'error', message: string) => void;
|
|
3
3
|
export type PFrameId = PFrameHandle;
|
|
4
4
|
export type PTableId = PTableHandle;
|
|
5
|
-
export interface SingleAxisSelector {
|
|
6
|
-
name: string;
|
|
7
|
-
type?: ValueType;
|
|
8
|
-
domain?: Record<string, string>;
|
|
9
|
-
}
|
|
10
5
|
export interface AxisQualification {
|
|
11
6
|
axis: SingleAxisSelector;
|
|
12
7
|
additionalDomains: Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/pframe/internal_api/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/pframe/internal_api/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EAAE,YAAY,EACtB,YAAY,EACZ,kBAAkB,EACnB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,MAAM,GAAG,CACnB,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,EAChC,OAAO,EAAE,MAAM,KACZ,IAAI,CAAC;AAEV,MAAM,MAAM,QAAQ,GAAG,YAAY,CAAC;AAEpC,MAAM,MAAM,QAAQ,GAAG,YAAY,CAAC;AAEpC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,kBAAkB,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC3C;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,cAAc,EAAE,iBAAiB,EAAE,CAAC;CACrC;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,UAAU,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pframe/internal_api/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AAExB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pframe/internal_api/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AAExB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAE/B,YAAY,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/pl-model-middle-layer",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.6",
|
|
4
4
|
"description": "Common model between middle layer and non-block UI code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"remeda": "^2.28.0",
|
|
21
21
|
"zod": "~3.23.8",
|
|
22
22
|
"utility-types": "^3.11.0",
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
23
|
+
"@milaboratories/pl-model-common": "1.24.2",
|
|
24
|
+
"@platforma-sdk/model": "1.53.4"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"eslint": "^9.25.1",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"@types/node": "~24.5.2",
|
|
30
30
|
"@milaboratories/build-configs": "1.4.0",
|
|
31
31
|
"@milaboratories/ts-builder": "1.2.4",
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
32
|
+
"@milaboratories/ts-configs": "1.2.0",
|
|
33
|
+
"@platforma-sdk/eslint-config": "1.2.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"type-check": "ts-builder types --target node",
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
AxisSpec,
|
|
3
|
-
PFrameHandle,
|
|
2
|
+
AxisSpec, PFrameHandle,
|
|
4
3
|
PTableHandle,
|
|
5
|
-
|
|
4
|
+
SingleAxisSelector,
|
|
6
5
|
} from '@milaboratories/pl-model-common';
|
|
7
6
|
|
|
8
7
|
export type Logger = (
|
|
@@ -14,12 +13,6 @@ export type PFrameId = PFrameHandle;
|
|
|
14
13
|
|
|
15
14
|
export type PTableId = PTableHandle;
|
|
16
15
|
|
|
17
|
-
export interface SingleAxisSelector {
|
|
18
|
-
name: string;
|
|
19
|
-
type?: ValueType;
|
|
20
|
-
domain?: Record<string, string>;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
16
|
export interface AxisQualification {
|
|
24
17
|
axis: SingleAxisSelector;
|
|
25
18
|
additionalDomains: Record<string, string>;
|