@milaboratories/pl-middle-layer 1.10.25 → 1.10.26
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,3 +1,4 @@
|
|
|
1
1
|
import { PlTreeNodeAccessor } from '@milaboratories/pl-tree';
|
|
2
|
-
|
|
2
|
+
import { BlockConfig, TypedConfigOrFunctionHandle } from '@platforma-sdk/model';
|
|
3
|
+
export declare function getBlockCfg(prj: PlTreeNodeAccessor, blockId: string): BlockConfig<unknown, Record<string, TypedConfigOrFunctionHandle>> | undefined;
|
|
3
4
|
//# sourceMappingURL=util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/middle_layer/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAO7D,wBAAgB,WAAW,CAAC,GAAG,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,+IAcnE"}
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/middle_layer/util.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAO7D,wBAAgB,WAAW,CAAC,GAAG,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,+IAcnE"}
|
package/dist/pool/data.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { PObjectId, PObjectSpec } from '@platforma-sdk/model';
|
|
2
2
|
import { PFrameInternal } from '@milaboratories/pl-model-middle-layer';
|
|
3
3
|
import { PlTreeNodeAccessor, ResourceInfo } from '@milaboratories/pl-tree';
|
|
4
|
+
import { ResourceType } from '@milaboratories/pl-client';
|
|
4
5
|
export declare function allBlobs<B>(data: PFrameInternal.DataInfo<B>): Generator<B>;
|
|
5
6
|
export declare function mapBlobs<B1, B2>(data: PFrameInternal.DataInfo<B1>, mapping: (blob: B1) => B2): PFrameInternal.DataInfo<B2>;
|
|
6
|
-
export declare const PColumnDataJsonPartitioned:
|
|
7
|
-
export declare const PColumnDataJsonSuperPartitioned:
|
|
8
|
-
export declare const PColumnDataBinaryPartitioned:
|
|
9
|
-
export declare const PColumnDataBinarySuperPartitioned:
|
|
10
|
-
export declare const PColumnDataJson:
|
|
7
|
+
export declare const PColumnDataJsonPartitioned: ResourceType;
|
|
8
|
+
export declare const PColumnDataJsonSuperPartitioned: ResourceType;
|
|
9
|
+
export declare const PColumnDataBinaryPartitioned: ResourceType;
|
|
10
|
+
export declare const PColumnDataBinarySuperPartitioned: ResourceType;
|
|
11
|
+
export declare const PColumnDataJson: ResourceType;
|
|
11
12
|
export type PColumnDataJsonResourceValue = {
|
|
12
13
|
keyLength: number;
|
|
13
14
|
data: Record<string, PFrameInternal.JsonDataValue>;
|
package/dist/pool/data.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../src/pool/data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAY3E,wBAAiB,QAAQ,CAAC,CAAC,EAAE,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAgB3E;AAWD,wBAAgB,QAAQ,CAAC,EAAE,EAAE,EAAE,EAC7B,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC,EACjC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,GACxB,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC,CAiB7B;AAED,eAAO,MAAM,0BAA0B,kDAAmD,CAAC;AAC3F,eAAO,MAAM,+BA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,CAAC,EAAE,CAAC,CAiB7B;AAED,eAAO,MAAM,0BAA0B,kDAAmD,CAAC;AAC3F,eAAO,MAAM,+BAA+B,kDAG3C,CAAC;AACF,eAAO,MAAM,4BAA4B,kDAAqD,CAAC;AAC/F,eAAO,MAAM,iCAAiC,kDAG7C,CAAC;AACF,eAAO,MAAM,eAAe,kDAAwC,CAAC;AAErE,MAAM,MAAM,4BAA4B,GAAG;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,wCAAwC,GAAG;IACrD,uBAAuB,EAAE,MAAM,CAAC;IAChC,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,kBAAkB,GACvB,cAAc,CAAC,QAAQ,CAAC,YAAY,CAAC,CA4IvC;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,kBAAkB,GAAG,SAAS,CAKtF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/pl-middle-layer",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.26",
|
|
4
4
|
"description": "Pl Middle Layer",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"zod": "^3.23.8",
|
|
30
30
|
"@milaboratories/computable": "^2.1.7",
|
|
31
31
|
"@milaboratories/resolve-helper": "^1.0.1",
|
|
32
|
-
"@platforma-sdk/block-tools": "^2.3.
|
|
32
|
+
"@platforma-sdk/block-tools": "^2.3.2",
|
|
33
33
|
"@milaboratories/pl-client": "^2.4.15",
|
|
34
34
|
"@milaboratories/pl-drivers": "^1.2.22",
|
|
35
35
|
"@milaboratories/pl-model-common": "^1.3.13",
|
|
@@ -301,7 +301,7 @@ test('simple project manipulations test', async () => {
|
|
|
301
301
|
expect(overviewSnapshot2.blocks.find((b) => b.id === block3Id)?.stale).toEqual(true);
|
|
302
302
|
expect(overviewSnapshot2.blocks.find((b) => b.id === block2Id)?.stale).toEqual(true);
|
|
303
303
|
});
|
|
304
|
-
});
|
|
304
|
+
}, 20000);
|
|
305
305
|
|
|
306
306
|
test('reorder & rename blocks', async () => {
|
|
307
307
|
await withMl(async (ml) => {
|
|
@@ -441,7 +441,7 @@ test('limbo test', async () => {
|
|
|
441
441
|
expect(overview4Block1.calculationStatus).toEqual('Done');
|
|
442
442
|
expect(overview4Block2.calculationStatus).toEqual('Done');
|
|
443
443
|
});
|
|
444
|
-
}
|
|
444
|
+
});
|
|
445
445
|
|
|
446
446
|
test('block update test', async () => {
|
|
447
447
|
await withMl(async (ml, workFolder) => {
|