@platforma-open/milaboratories.antibody-variant-designer.block 1.2.1 → 1.2.3

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/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/author_marker.d.ts
2
- //#region src/author_marker.d.ts
1
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/author_marker.d.ts
3
2
  /** Structure to help resolve conflicts if multiple participants writes to
4
3
  * the same state */
5
4
  interface AuthorMarker {
@@ -10,6 +9,33 @@ interface AuthorMarker {
10
9
  localVersion: number;
11
10
  }
12
11
  //#endregion
12
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/interfaces.d.ts
13
+ /**
14
+ * Intended to match web.Blob, node.Blob, node-fetch.Blob, etc.
15
+ */
16
+ interface BlobLike {
17
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size) */
18
+ readonly size: number;
19
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type) */
20
+ readonly type: string;
21
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text) */
22
+ text(): Promise<string>;
23
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
24
+ slice(start?: number, end?: number): BlobLike;
25
+ }
26
+ /**
27
+ * Intended to match web.File, node.File, node-fetch.File, etc.
28
+ */
29
+ interface FileLike extends BlobLike {
30
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified) */
31
+ readonly lastModified: number;
32
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name) */
33
+ readonly name: string;
34
+ }
35
+ //#endregion
36
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/branding.d.ts
37
+ type Brand<B, K extends string = "__pl_model_brand__"> = { [key in K]: B; };
38
+ type Branded$1<T, B, K extends string = "__pl_model_brand__"> = T & Brand<B, K>;
13
39
  //#endregion
14
40
  //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.d.cts
15
41
  type Primitive = string | number | symbol | bigint | boolean | null | undefined;
@@ -1432,82 +1458,115 @@ declare namespace external_d_exports {
1432
1458
  export { AnyZodObject, AnyZodTuple, ArrayCardinality, ArrayKeys, AssertArray, AsyncParseReturnType, BRAND, CatchallInput, CatchallOutput, CustomErrorParams, DIRTY, DenormalizedError, EMPTY_PATH, Effect, EnumLike, EnumValues, ErrorMapCtx, FilterEnum, INVALID, Indices, InnerTypeOfFunction, InputTypeOfTuple, InputTypeOfTupleWithRest, IpVersion, IssueData, KeySchema, NEVER, OK, ObjectPair, OuterTypeOfFunction, OutputTypeOfTuple, OutputTypeOfTupleWithRest, ParseContext, ParseInput, ParseParams, ParsePath, ParsePathComponent, ParseResult, ParseReturnType, ParseStatus, PassthroughType, PreprocessEffect, Primitive, ProcessedCreateParams, RawCreateParams, RecordType, Refinement, RefinementCtx, RefinementEffect, SafeParseError, SafeParseReturnType, SafeParseSuccess, Scalars, ZodType as Schema, SomeZodObject, StringValidation, SuperRefinement, SyncParseReturnType, TransformEffect, TypeOf, UnknownKeysParam, Values, Writeable, ZodAny, ZodAnyDef, ZodArray, ZodArrayDef, ZodBigInt, ZodBigIntCheck, ZodBigIntDef, ZodBoolean, ZodBooleanDef, ZodBranded, ZodBrandedDef, ZodCatch, ZodCatchDef, ZodCustomIssue, ZodDate, ZodDateCheck, ZodDateDef, ZodDefault, ZodDefaultDef, ZodDiscriminatedUnion, ZodDiscriminatedUnionDef, ZodDiscriminatedUnionOption, ZodEffects, ZodEffectsDef, ZodEnum, ZodEnumDef, ZodError, ZodErrorMap, ZodFirstPartySchemaTypes, ZodFirstPartyTypeKind, ZodFormattedError, ZodFunction, ZodFunctionDef, ZodIntersection, ZodIntersectionDef, ZodInvalidArgumentsIssue, ZodInvalidDateIssue, ZodInvalidEnumValueIssue, ZodInvalidIntersectionTypesIssue, ZodInvalidLiteralIssue, ZodInvalidReturnTypeIssue, ZodInvalidStringIssue, ZodInvalidTypeIssue, ZodInvalidUnionDiscriminatorIssue, ZodInvalidUnionIssue, ZodIssue, ZodIssueBase, ZodIssueCode, ZodIssueOptionalMessage, ZodLazy, ZodLazyDef, ZodLiteral, ZodLiteralDef, ZodMap, ZodMapDef, ZodNaN, ZodNaNDef, ZodNativeEnum, ZodNativeEnumDef, ZodNever, ZodNeverDef, ZodNonEmptyArray, ZodNotFiniteIssue, ZodNotMultipleOfIssue, ZodNull, ZodNullDef, ZodNullable, ZodNullableDef, ZodNullableType, ZodNumber, ZodNumberCheck, ZodNumberDef, ZodObject, ZodObjectDef, ZodOptional, ZodOptionalDef, ZodOptionalType, ZodParsedType, ZodPipeline, ZodPipelineDef, ZodPromise, ZodPromiseDef, ZodRawShape, ZodReadonly, ZodReadonlyDef, ZodRecord, ZodRecordDef, ZodType as ZodSchema, ZodSet, ZodSetDef, ZodString, ZodStringCheck, ZodStringDef, ZodSymbol, ZodSymbolDef, ZodTooBigIssue, ZodTooSmallIssue, ZodEffects as ZodTransformer, ZodTuple, ZodTupleDef, ZodTupleItems, ZodType, ZodTypeAny, ZodTypeDef, ZodUndefined, ZodUndefinedDef, ZodUnion, ZodUnionDef, ZodUnionOptions, ZodUnknown, ZodUnknownDef, ZodUnrecognizedKeysIssue, ZodVoid, ZodVoidDef, addIssueToContext, anyType as any, arrayType as array, arrayOutputType, baseObjectInputType, baseObjectOutputType, bigIntType as bigint, booleanType as boolean, coerce, custom, dateType as date, datetimeRegex, errorMap as defaultErrorMap, deoptional, discriminatedUnionType as discriminatedUnion, effectsType as effect, enumType as enum, functionType as function, getErrorMap, getParsedType, TypeOf as infer, inferFlattenedErrors, inferFormattedError, input, instanceOfType as instanceof, intersectionType as intersection, isAborted, isAsync, isDirty, isValid, late, lazyType as lazy, literalType as literal, makeIssue, mapType as map, mergeTypes, nanType as nan, nativeEnumType as nativeEnum, neverType as never, noUnrecognized, nullType as null, nullableType as nullable, numberType as number, objectType as object, objectInputType, objectOutputType, objectUtil, oboolean, onumber, optionalType as optional, ostring, output, pipelineType as pipeline, preprocessType as preprocess, promiseType as promise, quotelessJson, recordType as record, setType as set, setErrorMap, strictObjectType as strictObject, stringType as string, symbolType as symbol, effectsType as transformer, tupleType as tuple, typeToFlattenedError, typecast, undefinedType as undefined, unionType as union, unknownType as unknown, util, voidType as void };
1433
1459
  }
1434
1460
  //#endregion
1435
- //#region ../node_modules/.pnpm/@milaboratories+pl-error-like@1.12.10/node_modules/@milaboratories/pl-error-like/dist/error_like_shape.d.ts
1436
- //#region src/error_like_shape.d.ts
1437
- declare const BasePlErrorLike: ZodObject<{
1438
- type: ZodLiteral<"PlError">;
1439
- name: ZodString;
1440
- message: ZodString; /** The message with all details needed for SDK developers. */
1441
- fullMessage: ZodOptional<ZodString>;
1442
- stack: ZodOptional<ZodString>;
1443
- }, "strip", ZodTypeAny, {
1444
- type: "PlError";
1445
- message: string;
1446
- name: string;
1447
- fullMessage?: string | undefined;
1448
- stack?: string | undefined;
1449
- }, {
1450
- type: "PlError";
1451
- message: string;
1452
- name: string;
1453
- fullMessage?: string | undefined;
1454
- stack?: string | undefined;
1455
- }>;
1456
- /** Known Pl backend and ML errors. */
1457
- type PlErrorLike = TypeOf<typeof BasePlErrorLike> & {
1458
- cause?: ErrorLike;
1459
- errors?: ErrorLike[];
1460
- };
1461
- declare const PlErrorLike: ZodType<PlErrorLike>;
1462
- declare const BaseStandardErrorLike: ZodObject<{
1463
- type: ZodLiteral<"StandardError">;
1464
- name: ZodString;
1465
- message: ZodString;
1466
- stack: ZodOptional<ZodString>;
1461
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/blob.d.ts
1462
+ /** Handle of locally downloaded blob. This handle is issued only after the
1463
+ * blob's content is downloaded locally, and ready for quick access. */
1464
+ type LocalBlobHandle = Branded$1<string, "LocalBlobHandle">;
1465
+ /** Handle of remote blob. This handle is issued as soon as the data becomes
1466
+ * available on the remote server. */
1467
+ type RemoteBlobHandle = Branded$1<string, "RemoteBlobHandle">;
1468
+ /** Being configured inside the output structure provides information about
1469
+ * blob's content and means to retrieve it when needed. */
1470
+ interface BlobHandleAndSize<H extends LocalBlobHandle | RemoteBlobHandle = LocalBlobHandle | RemoteBlobHandle> {
1471
+ /** Handle to retrieve block content using {@link BlobDriver.getContent()} */
1472
+ readonly handle: H;
1473
+ /** Blob size in bytes. */
1474
+ readonly size: number;
1475
+ }
1476
+ /** Range in bytes, from should be less than to. */
1477
+ declare const RangeBytes: ZodObject<{
1478
+ /** Included left border. */
1479
+ from: ZodNumber;
1480
+ /** Excluded right border. */
1481
+ to: ZodNumber;
1467
1482
  }, "strip", ZodTypeAny, {
1468
- type: "StandardError";
1469
- message: string;
1470
- name: string;
1471
- stack?: string | undefined;
1483
+ from: number;
1484
+ to: number;
1472
1485
  }, {
1473
- type: "StandardError";
1474
- message: string;
1475
- name: string;
1476
- stack?: string | undefined;
1486
+ from: number;
1487
+ to: number;
1477
1488
  }>;
1478
- /** Others unknown errors that could be thrown by the client. */
1479
- type StandardErrorLike = TypeOf<typeof BaseStandardErrorLike> & {
1480
- cause?: ErrorLike;
1481
- errors?: ErrorLike[];
1482
- };
1483
- declare const StandardErrorLike: ZodType<StandardErrorLike>;
1484
- declare const ErrorLike: ZodUnion<[ZodType<StandardErrorLike, ZodTypeDef, StandardErrorLike>, ZodType<PlErrorLike, ZodTypeDef, PlErrorLike>]>;
1485
- type ErrorLike = TypeOf<typeof ErrorLike>;
1489
+ type RangeBytes = TypeOf<typeof RangeBytes>;
1490
+ /** Being configured inside the output structure provides information about
1491
+ * remote blob and means to retrieve it's content when needed. This structure
1492
+ * is created as soon as remote blob becomes available. */
1493
+ type RemoteBlobHandleAndSize = BlobHandleAndSize<RemoteBlobHandle>;
1494
+ /** Defines API of blob driver as it is seen from the block UI code. */
1495
+ interface BlobDriver {
1496
+ /**
1497
+ * Given the blob handle returns its content.
1498
+ * Depending on the handle type, content will be served from locally downloaded file,
1499
+ * or directly from remote platforma storage.
1500
+ */
1501
+ getContent(handle: LocalBlobHandle | RemoteBlobHandle, range?: RangeBytes): Promise<Uint8Array>;
1502
+ }
1486
1503
  //#endregion
1487
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/common_types.d.ts
1488
- type OutputWithStatus<T> = {
1489
- ok: true;
1490
- value: T;
1491
- stable: boolean;
1492
- } | {
1493
- ok: false;
1494
- errors: ErrorLike[];
1495
- moreErrors: boolean;
1504
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/log.d.ts
1505
+ /** Prefix constants — single source of truth for handle format. */
1506
+ declare const LIVE_LOG_PREFIX = "log+live://log/";
1507
+ declare const READY_LOG_PREFIX = "log+ready://log/";
1508
+ /** Handle of the live logs of a program.
1509
+ * The resource that represents a log can be deleted,
1510
+ * in this case the handle should be refreshed. */
1511
+ type LiveLogHandle = Branded$1<`${typeof LIVE_LOG_PREFIX}${string}`, "LiveLogHandle">;
1512
+ /** Handle of the ready logs of a program. */
1513
+ type ReadyLogHandle = Branded$1<`${typeof READY_LOG_PREFIX}${string}`, "ReadyLogHandle">;
1514
+ /** Handle of logs. This handle should be passed
1515
+ * to the driver for retrieving logs. */
1516
+ type AnyLogHandle = LiveLogHandle | ReadyLogHandle;
1517
+ /** Driver to retrieve logs given log handle */
1518
+ interface LogsDriver {
1519
+ lastLines(
1520
+ /** A handle that was issued previously. */
1521
+ handle: AnyLogHandle,
1522
+ /** Allows client to limit total data sent from server. */
1523
+ lineCount: number,
1524
+ /** Makes streamer to perform seek operation to given offset before sending the contents.
1525
+ * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
1526
+ * If undefined, then starts from the end. */
1527
+ offsetBytes?: number,
1528
+ /** Is substring for line search pattern.
1529
+ * This option makes controller to send to the client only lines, that
1530
+ * have given substring. */
1531
+ searchStr?: string): Promise<StreamingApiResponse>;
1532
+ readText(
1533
+ /** A handle that was issued previously. */
1534
+ handle: AnyLogHandle,
1535
+ /** Allows client to limit total data sent from server. */
1536
+ lineCount: number,
1537
+ /** Makes streamer to perform seek operation to given offset before sending the contents.
1538
+ * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
1539
+ * If undefined of 0, then starts from the beginning. */
1540
+ offsetBytes?: number,
1541
+ /** Is substring for line search pattern.
1542
+ * This option makes controller to send to the client only lines, that
1543
+ * have given substring. */
1544
+ searchStr?: string): Promise<StreamingApiResponse>;
1545
+ }
1546
+ /** Response of the driver.
1547
+ * The caller should give a handle to retrieve it.
1548
+ * It can be OK or outdated, in which case the handle
1549
+ * should be issued again. */
1550
+ type StreamingApiResponse = StreamingApiResponseOk | StreamingApiResponseHandleOutdated;
1551
+ type StreamingApiResponseOk = {
1552
+ /** The handle don't have to be updated,
1553
+ * the response is OK. */
1554
+ shouldUpdateHandle: false;
1555
+ /** Whether the log can still grow or it's in a final state. */
1556
+ live: boolean;
1557
+ /** Data of the response, in bytes. */
1558
+ data: Uint8Array;
1559
+ /** Current size of the file. It can grow if it's still live. */
1560
+ size: number;
1561
+ /** Offset in bytes from the beginning of a file. */
1562
+ newOffset: number;
1496
1563
  };
1497
- /** Base type for block outputs */
1498
- type BlockOutputsBase = Record<string, OutputWithStatus<unknown>>;
1499
- //#endregion
1500
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/navigation.d.ts
1501
- /**
1502
- * Part of the block state, representing current navigation information
1503
- * (i.e. currently selected section)
1504
- */
1505
- type NavigationState<Href extends `/${string}` = `/${string}`> = {
1506
- readonly href: Href;
1564
+ /** The handle should be issued again, this one is done. */
1565
+ type StreamingApiResponseHandleOutdated = {
1566
+ shouldUpdateHandle: true;
1507
1567
  };
1508
1568
  //#endregion
1509
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/json.d.ts
1510
- //#region src/json.d.ts
1569
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/json.d.ts
1511
1570
  type JsonPrimitive = string | number | boolean | null;
1512
1571
  type JsonValue = JsonPrimitive | JsonValue[] | {
1513
1572
  [key: string]: JsonValue;
@@ -1521,81 +1580,7 @@ type CanonicalizedJson<T = unknown> = JsonCompatible<T> extends never ? never :
1521
1580
  __json_canonicalized: T;
1522
1581
  };
1523
1582
  //#endregion
1524
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/block_state.d.ts
1525
- //#region src/block_state.d.ts
1526
- /**
1527
- * @template Args sets type of block arguments passed to the workflow
1528
- * @template Outputs type of the outputs returned by the workflow and rendered
1529
- * according to the output configuration specified for the block
1530
- * @template UiState data that stores only UI related state, that is not passed
1531
- * to the workflow
1532
- * @template Href typed href to represent navigation state
1533
- */
1534
- type BlockState<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> = {
1535
- /** Block arguments passed to the workflow */
1536
- args: Args;
1537
- /** UI State persisted in the block state but not passed to the backend
1538
- * template */
1539
- ui: UiState;
1540
- /** Outputs rendered with block config */
1541
- outputs: Outputs;
1542
- /** Current navigation state */
1543
- navigationState: NavigationState<Href>;
1544
- readonly author: AuthorMarker | undefined;
1545
- };
1546
- type BlockStateV3<_Data = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, Href extends `/${string}` = `/${string}`> = {
1547
- /** Block storage persisted in the block state */
1548
- blockStorage: StringifiedJson;
1549
- /** Outputs rendered with block config */
1550
- outputs: Outputs;
1551
- /** Current navigation state */
1552
- navigationState: NavigationState<Href>;
1553
- readonly author: AuthorMarker | undefined;
1554
- };
1555
- //#endregion
1556
- //#endregion
1557
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/branding.d.ts
1558
- //#region src/branding.d.ts
1559
- type Brand<B, K extends string = "__pl_model_brand__"> = { [key in K]: B; };
1560
- type Branded$1<T, B, K extends string = "__pl_model_brand__"> = T & Brand<B, K>;
1561
- //#endregion
1562
- //#endregion
1563
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/dialog/index.d.ts
1564
- //#region src/dialog/index.d.ts
1565
- /**
1566
- * File filter passed to the native save dialog. Matches Electron's
1567
- * `FileFilter` shape so desktop runtimes can forward it verbatim.
1568
- */
1569
- interface FileFilter {
1570
- name: string;
1571
- extensions: string[];
1572
- }
1573
- /**
1574
- * Options accepted by `Dialog.showSaveDialog`. The UI supplies only a
1575
- * default file name; the main-process handler decides the default
1576
- * directory (e.g. `~/Downloads`).
1577
- */
1578
- interface ShowSaveDialogOptions {
1579
- defaultFileName?: string;
1580
- filters?: FileFilter[];
1581
- title?: string;
1582
- }
1583
- /** Result of `Dialog.showSaveDialog`. */
1584
- interface ShowSaveDialogResult {
1585
- canceled: boolean;
1586
- path?: string;
1587
- }
1588
- /**
1589
- * UI-facing save-dialog service. Implemented by desktop runtimes that
1590
- * can open a native file picker; absent in web/preview environments.
1591
- */
1592
- interface DialogService {
1593
- showSaveDialog(options: ShowSaveDialogOptions): Promise<ShowSaveDialogResult>;
1594
- }
1595
- //#endregion
1596
- //#endregion
1597
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/pool_entry.d.ts
1598
- //#region src/pool_entry.d.ts
1583
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/pool_entry.d.ts
1599
1584
  interface PoolEntry<K extends string = string, R extends {} = {}> extends Disposable {
1600
1585
  /** Resource key, calculated using provided `calculateParamsKey` function */
1601
1586
  readonly key: K;
@@ -1609,8 +1594,7 @@ interface PoolEntry<K extends string = string, R extends {} = {}> extends Dispos
1609
1594
  readonly unref: () => void;
1610
1595
  }
1611
1596
  //#endregion
1612
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/table_common.d.ts
1613
- //#region src/drivers/pframe/table_common.d.ts
1597
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/table_common.d.ts
1614
1598
  type PTableColumnSpecAxis = {
1615
1599
  type: "axis";
1616
1600
  id: AxisId;
@@ -1641,8 +1625,7 @@ type PTableColumnIdColumn = {
1641
1625
  /** Unified PTable column identifier */
1642
1626
  type PTableColumnId = PTableColumnIdAxis | PTableColumnIdColumn;
1643
1627
  //#endregion
1644
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/data_types.d.ts
1645
- //#region src/drivers/pframe/data_types.d.ts
1628
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/data_types.d.ts
1646
1629
  type PVectorDataInt = Int32Array;
1647
1630
  type PVectorDataLong = BigInt64Array;
1648
1631
  type PVectorDataFloat = Float32Array;
@@ -1737,9 +1720,7 @@ interface ExportPTableOptions {
1737
1720
  headerNames?: string[];
1738
1721
  }
1739
1722
  //#endregion
1740
- //#endregion
1741
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/data_info.d.ts
1742
- //#region src/drivers/pframe/data_info.d.ts
1723
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/data_info.d.ts
1743
1724
  /**
1744
1725
  * Represents a JavaScript representation of a value in a PColumn. Can be null, a number, or a string.
1745
1726
  * These are the primitive types that can be stored directly in PColumns.
@@ -1831,65 +1812,33 @@ type PColumnValuesEntry = {
1831
1812
  */
1832
1813
  type PColumnValues = PColumnValuesEntry[];
1833
1814
  //#endregion
1834
- //#region ../node_modules/.pnpm/@milaboratories+helpers@1.14.5/node_modules/@milaboratories/helpers/dist/types/brand.d.ts
1835
- //#region src/types/brand.d.ts
1836
- /**
1837
- * Phantom-property brand. The key is a plain string literal rather than a
1838
- * `unique symbol` so the resulting type stays fully nameable across packages.
1839
- *
1840
- * A `unique symbol` key forces TS, when forced to expand `Branded<T, B>` into
1841
- * its structural form (e.g. inside `Record<BrandedUnion, V>` index signatures
1842
- * during dts emit), to write out `typeof __brand` — a value-level reference
1843
- * to the symbol. If the symbol's declaring module isn't reachable from the
1844
- * compilation root, dts emit fails with TS4023 ("cannot be named"). Using a
1845
- * string key sidesteps this entirely: `{ __brand: B }` is a plain structural
1846
- * type, nameable from anywhere.
1847
- *
1848
- * Phantom keys provide compile-time discrimination only — two different brand
1849
- * tags `B1 ≠ B2` make `Branded<T, B1>` and `Branded<T, B2>` mutually
1850
- * incompatible regardless of whether the key is a symbol or a string.
1851
- */
1852
- type Branded<T, B> = T & {
1853
- readonly __brand: B;
1854
- };
1855
- //#endregion
1856
- //#region ../node_modules/.pnpm/@milaboratories+helpers@1.14.5/node_modules/@milaboratories/helpers/dist/types/index.d.ts
1857
- //#region src/types/index.d.ts
1858
- type Nil = null | undefined;
1859
- //#endregion
1860
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/overridden.d.ts
1861
- //#region src/drivers/pframe/spec/overridden.d.ts
1862
- type SpecOverrides = Pick<PColumnSpec, "domain" | "contextDomain" | "annotations"> & {
1863
- axesSpec?: AxisPatches;
1864
- };
1865
- /**
1866
- * `source` can reference a leaf or a Filtered/Discovered id, but never another
1867
- * Overridden id — there is no `Overridden<Overridden<...>>`. Repeated overrides
1868
- * merge at the outer wrapper via {@link mergeSpecOverrides}.
1869
- */
1870
- interface ColumnOverriddenKey {
1871
- __isOverridden: true;
1872
- source: Exclude<ColumnUniversalId, ColumnOverriddenId>;
1873
- specOverrides: SpecOverrides;
1874
- }
1875
- type ColumnOverriddenId = Branded<CanonicalizedJson<ColumnOverriddenKey>, "ColumnOverriddenId">;
1876
- //#endregion
1877
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/ref.d.ts
1878
- //#region src/ref.d.ts
1815
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/ref.d.ts
1816
+ /** One output of one block: the block and the name of the output in its output context. */
1817
+ declare const BlockOutput: ZodObject<{
1818
+ blockId: ZodString;
1819
+ name: ZodString;
1820
+ }, "strip", ZodTypeAny, {
1821
+ blockId: string;
1822
+ name: string;
1823
+ }, {
1824
+ blockId: string;
1825
+ name: string;
1826
+ }>;
1827
+ type BlockOutput = Readonly<TypeOf<typeof BlockOutput>>;
1879
1828
  declare const PlRef$1: ZodReadonly<ZodObject<{
1880
- __isRef: ZodLiteral<true>;
1881
1829
  blockId: ZodString;
1882
1830
  name: ZodString;
1831
+ __isRef: ZodLiteral<true>;
1883
1832
  requireEnrichments: ZodOptional<ZodLiteral<true>>;
1884
1833
  }, "strip", ZodTypeAny, {
1885
- __isRef: true;
1886
1834
  blockId: string;
1887
1835
  name: string;
1836
+ __isRef: true;
1888
1837
  requireEnrichments?: true | undefined;
1889
1838
  }, {
1890
- __isRef: true;
1891
1839
  blockId: string;
1892
1840
  name: string;
1841
+ __isRef: true;
1893
1842
  requireEnrichments?: true | undefined;
1894
1843
  }>>;
1895
1844
  type PlRef$1 = TypeOf<typeof PlRef$1>;
@@ -1906,165 +1855,73 @@ type EnrichmentLinkerStep = {
1906
1855
  };
1907
1856
  /** Step from primary to hit. `path[0]` applied first. */
1908
1857
  type EnrichmentStep = EnrichmentLinkerStep;
1909
- /**
1910
- * Enrichment column reached via {@link path} linker hops; omitted means zero-hop.
1911
- * `hit` and `path[].linker` are global-form {@link PObjectId}s
1912
- * (`canonicalize({ __isRef: true, blockId, name })`) which the workflow decodes
1913
- * to a PlRef before resolving. For a prerun-sourced hop, supply a resolved
1914
- * `{spec, data}` map in place of the id — `tableBuilder` accepts both.
1915
- */
1916
- type EnrichmentRef = {
1917
- readonly __isEnrichment: "v1";
1918
- readonly hit: PObjectId;
1919
- readonly path?: readonly EnrichmentStep[];
1920
- readonly qualifications?: readonly AxisQualification[];
1921
- };
1922
- /** {@link EnrichmentRef} plus the export header label. */
1923
- type LabeledEnrichmentRef = {
1924
- readonly ref: EnrichmentRef;
1925
- readonly label: string;
1926
- };
1927
- /** Auto-attached enrichment payload; not user-picked. */
1928
- type LabeledEnrichmentRefs = readonly LabeledEnrichmentRef[];
1929
- //#endregion
1930
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/interfaces.d.ts
1931
- //#region src/drivers/interfaces.d.ts
1932
- /**
1933
- * Intended to match web.Blob, node.Blob, node-fetch.Blob, etc.
1934
- */
1935
- interface BlobLike {
1936
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size) */
1937
- readonly size: number;
1938
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type) */
1939
- readonly type: string;
1940
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text) */
1941
- text(): Promise<string>;
1942
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
1943
- slice(start?: number, end?: number): BlobLike;
1944
- }
1945
- /**
1946
- * Intended to match web.File, node.File, node-fetch.File, etc.
1947
- */
1948
- interface FileLike extends BlobLike {
1949
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified) */
1950
- readonly lastModified: number;
1951
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name) */
1952
- readonly name: string;
1953
- }
1954
- //#endregion
1955
- //#endregion
1956
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/blob.d.ts
1957
- //#region src/drivers/blob.d.ts
1958
- /** Handle of locally downloaded blob. This handle is issued only after the
1959
- * blob's content is downloaded locally, and ready for quick access. */
1960
- type LocalBlobHandle = Branded$1<string, "LocalBlobHandle">;
1961
- /** Handle of remote blob. This handle is issued as soon as the data becomes
1962
- * available on the remote server. */
1963
- type RemoteBlobHandle = Branded$1<string, "RemoteBlobHandle">;
1964
- /** Being configured inside the output structure provides information about
1965
- * blob's content and means to retrieve it when needed. */
1966
- interface BlobHandleAndSize<H extends LocalBlobHandle | RemoteBlobHandle = LocalBlobHandle | RemoteBlobHandle> {
1967
- /** Handle to retrieve block content using {@link BlobDriver.getContent()} */
1968
- readonly handle: H;
1969
- /** Blob size in bytes. */
1970
- readonly size: number;
1971
- }
1972
- /** Range in bytes, from should be less than to. */
1973
- declare const RangeBytes: ZodObject<{
1974
- /** Included left border. */
1975
- from: ZodNumber;
1976
- /** Excluded right border. */
1977
- to: ZodNumber;
1978
- }, "strip", ZodTypeAny, {
1979
- from: number;
1980
- to: number;
1981
- }, {
1982
- from: number;
1983
- to: number;
1984
- }>;
1985
- type RangeBytes = TypeOf<typeof RangeBytes>;
1986
- /** Being configured inside the output structure provides information about
1987
- * remote blob and means to retrieve it's content when needed. This structure
1988
- * is created as soon as remote blob becomes available. */
1989
- type RemoteBlobHandleAndSize = BlobHandleAndSize<RemoteBlobHandle>;
1990
- /** Defines API of blob driver as it is seen from the block UI code. */
1991
- interface BlobDriver {
1992
- /**
1993
- * Given the blob handle returns its content.
1994
- * Depending on the handle type, content will be served from locally downloaded file,
1995
- * or directly from remote platforma storage.
1996
- */
1997
- getContent(handle: LocalBlobHandle | RemoteBlobHandle, range?: RangeBytes): Promise<Uint8Array>;
1998
- }
1999
- //#endregion
2000
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/log.d.ts
2001
- //#region src/drivers/log.d.ts
2002
- /** Prefix constants — single source of truth for handle format. */
2003
- declare const LIVE_LOG_PREFIX = "log+live://log/";
2004
- declare const READY_LOG_PREFIX = "log+ready://log/";
2005
- /** Handle of the live logs of a program.
2006
- * The resource that represents a log can be deleted,
2007
- * in this case the handle should be refreshed. */
2008
- type LiveLogHandle = Branded$1<`${typeof LIVE_LOG_PREFIX}${string}`, "LiveLogHandle">;
2009
- /** Handle of the ready logs of a program. */
2010
- type ReadyLogHandle = Branded$1<`${typeof READY_LOG_PREFIX}${string}`, "ReadyLogHandle">;
2011
- /** Handle of logs. This handle should be passed
2012
- * to the driver for retrieving logs. */
2013
- type AnyLogHandle = LiveLogHandle | ReadyLogHandle;
2014
- /** Driver to retrieve logs given log handle */
2015
- interface LogsDriver {
2016
- lastLines(
2017
- /** A handle that was issued previously. */
2018
- handle: AnyLogHandle,
2019
- /** Allows client to limit total data sent from server. */
2020
- lineCount: number,
2021
- /** Makes streamer to perform seek operation to given offset before sending the contents.
2022
- * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
2023
- * If undefined, then starts from the end. */
2024
- offsetBytes?: number,
2025
- /** Is substring for line search pattern.
2026
- * This option makes controller to send to the client only lines, that
2027
- * have given substring. */
2028
- searchStr?: string): Promise<StreamingApiResponse>;
2029
- readText(
2030
- /** A handle that was issued previously. */
2031
- handle: AnyLogHandle,
2032
- /** Allows client to limit total data sent from server. */
2033
- lineCount: number,
2034
- /** Makes streamer to perform seek operation to given offset before sending the contents.
2035
- * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
2036
- * If undefined of 0, then starts from the beginning. */
2037
- offsetBytes?: number,
2038
- /** Is substring for line search pattern.
2039
- * This option makes controller to send to the client only lines, that
2040
- * have given substring. */
2041
- searchStr?: string): Promise<StreamingApiResponse>;
2042
- }
2043
- /** Response of the driver.
2044
- * The caller should give a handle to retrieve it.
2045
- * It can be OK or outdated, in which case the handle
2046
- * should be issued again. */
2047
- type StreamingApiResponse = StreamingApiResponseOk | StreamingApiResponseHandleOutdated;
2048
- type StreamingApiResponseOk = {
2049
- /** The handle don't have to be updated,
2050
- * the response is OK. */
2051
- shouldUpdateHandle: false;
2052
- /** Whether the log can still grow or it's in a final state. */
2053
- live: boolean;
2054
- /** Data of the response, in bytes. */
2055
- data: Uint8Array;
2056
- /** Current size of the file. It can grow if it's still live. */
2057
- size: number;
2058
- /** Offset in bytes from the beginning of a file. */
2059
- newOffset: number;
1858
+ /**
1859
+ * Enrichment column reached via {@link path} linker hops; omitted means zero-hop.
1860
+ * `hit` and `path[].linker` are global-form {@link PObjectId}s
1861
+ * (`canonicalize({ __isRef: true, blockId, name })`) which the workflow decodes
1862
+ * to a PlRef before resolving. For a prerun-sourced hop, supply a resolved
1863
+ * `{spec, data}` map in place of the id — `tableBuilder` accepts both.
1864
+ */
1865
+ type EnrichmentRef = {
1866
+ readonly __isEnrichment: "v1";
1867
+ readonly hit: PObjectId;
1868
+ readonly path?: readonly EnrichmentStep[];
1869
+ readonly qualifications?: readonly AxisQualification[];
2060
1870
  };
2061
- /** The handle should be issued again, this one is done. */
2062
- type StreamingApiResponseHandleOutdated = {
2063
- shouldUpdateHandle: true;
1871
+ /** {@link EnrichmentRef} plus the export header label. */
1872
+ type LabeledEnrichmentRef = {
1873
+ readonly ref: EnrichmentRef;
1874
+ readonly label: string;
1875
+ };
1876
+ /** Auto-attached enrichment payload; not user-picked. */
1877
+ type LabeledEnrichmentRefs = readonly LabeledEnrichmentRef[];
1878
+ //#endregion
1879
+ //#region ../node_modules/.pnpm/@milaboratories+helpers@1.14.7/node_modules/@milaboratories/helpers/dist/types/brand.d.ts
1880
+ /**
1881
+ * Phantom-property brand. The key is a plain string literal rather than a
1882
+ * `unique symbol` so the resulting type stays fully nameable across packages.
1883
+ *
1884
+ * A `unique symbol` key forces TS, when forced to expand `Branded<T, B>` into
1885
+ * its structural form (e.g. inside `Record<BrandedUnion, V>` index signatures
1886
+ * during dts emit), to write out `typeof __brand` — a value-level reference
1887
+ * to the symbol. If the symbol's declaring module isn't reachable from the
1888
+ * compilation root, dts emit fails with TS4023 ("cannot be named"). Using a
1889
+ * string key sidesteps this entirely: `{ __brand: B }` is a plain structural
1890
+ * type, nameable from anywhere.
1891
+ *
1892
+ * Phantom keys provide compile-time discrimination only — two different brand
1893
+ * tags `B1 ≠ B2` make `Branded<T, B1>` and `Branded<T, B2>` mutually
1894
+ * incompatible regardless of whether the key is a symbol or a string.
1895
+ */
1896
+ type Branded<T, B> = T & {
1897
+ readonly __brand: B;
2064
1898
  };
2065
1899
  //#endregion
2066
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/column_filter.d.ts
2067
- //#region src/drivers/pframe/column_filter.d.ts
1900
+ //#region ../node_modules/.pnpm/@milaboratories+helpers@1.14.7/node_modules/@milaboratories/helpers/dist/types/index.d.ts
1901
+ type Nil = null | undefined;
1902
+ //#endregion
1903
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/column_value.d.ts
1904
+ /**
1905
+ * A picked value of a column, as a block passes it to its workflow: always text. A number cell
1906
+ * is picked as its decimal string (`String(cell)`), so a value picked from a number column and
1907
+ * the same value picked as text are one value.
1908
+ */
1909
+ type ColumnValue = string;
1910
+ //#endregion
1911
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/column_references.d.ts
1912
+ /** A column a block's args reference, with the values of it they picked. */
1913
+ interface ColumnReference {
1914
+ /**
1915
+ * The column id in canonical form. A plain output is the bare
1916
+ * `{ __isRef, blockId, name }` id whether the args held it with `requireEnrichments` or
1917
+ * without, as an object or as a string.
1918
+ */
1919
+ ref: ColumnUniversalId;
1920
+ /** Distinct picked values in the order first met; `null` when the args picked none. */
1921
+ values: null | ColumnValue[];
1922
+ }
1923
+ //#endregion
1924
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/column_filter.d.ts
2068
1925
  /** Allows to search multiple columns in different contexts. */
2069
1926
  interface ColumnFilter {
2070
1927
  /** Match any of the types listed here. If undefined, will be ignored during
@@ -2082,9 +1939,7 @@ interface ColumnFilter {
2082
1939
  readonly annotationPattern?: Record<string, string>;
2083
1940
  }
2084
1941
  //#endregion
2085
- //#endregion
2086
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/filter_spec.d.ts
2087
- //#region src/drivers/pframe/filter_spec.d.ts
1942
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/filter_spec.d.ts
2088
1943
  type FilterSpecNode<Leaf, CommonNode = {}, CommonLeaf = {}> = (CommonLeaf & Leaf) | (CommonNode & {
2089
1944
  type: "not";
2090
1945
  filter: FilterSpecNode<Leaf, CommonNode, CommonLeaf>;
@@ -2204,8 +2059,7 @@ type RootFilterSpec<Leaf extends FilterSpecLeaf<unknown> = FilterSpecLeaf<SUnive
2204
2059
  type: "or" | "and";
2205
2060
  }>;
2206
2061
  //#endregion
2207
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/find_columns.d.ts
2208
- //#region src/drivers/pframe/find_columns.d.ts
2062
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/find_columns.d.ts
2209
2063
  /**
2210
2064
  * Request to search among existing columns in the PFrame. Two filtering
2211
2065
  * criteria can be used: (1) column ашдеук, to search for columns with
@@ -2231,9 +2085,7 @@ interface FindColumnsResponse {
2231
2085
  readonly hits: PColumnIdAndSpec[];
2232
2086
  }
2233
2087
  //#endregion
2234
- //#endregion
2235
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/unique_values.d.ts
2236
- //#region src/drivers/pframe/unique_values.d.ts
2088
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/unique_values.d.ts
2237
2089
  /** Calculate set of unique values for a specific axis for the filtered set of records */
2238
2090
  interface UniqueValuesRequest {
2239
2091
  /** Target axis id */
@@ -2252,14 +2104,11 @@ interface UniqueValuesResponse {
2252
2104
  readonly overflow: boolean;
2253
2105
  }
2254
2106
  //#endregion
2255
- //#endregion
2256
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/pframe.d.ts
2107
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/pframe.d.ts
2257
2108
  /** Information required to instantiate a PFrame. */
2258
2109
  type PFrameDef<Col> = Col[];
2259
2110
  //#endregion
2260
- //#endregion
2261
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/driver.d.ts
2262
- //#region src/drivers/pframe/driver.d.ts
2111
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/driver.d.ts
2263
2112
  /** PFrame handle */
2264
2113
  type PFrameHandle = Branded$1<string, "PFrame">;
2265
2114
  /** PFrame handle */
@@ -2326,9 +2175,7 @@ interface PFrameDriver {
2326
2175
  exportPTable(handle: PTableHandle, options: ExportPTableOptions): Promise<void>;
2327
2176
  }
2328
2177
  //#endregion
2329
- //#endregion
2330
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/ls.d.ts
2331
- //#region src/drivers/ls.d.ts
2178
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/ls.d.ts
2332
2179
  type ImportFileHandleUpload = `upload://upload/${string}`;
2333
2180
  type ImportFileHandleIndex = `index://index/${string}`;
2334
2181
  type ImportFileHandle = ImportFileHandleUpload | ImportFileHandleIndex;
@@ -2408,8 +2255,7 @@ interface LsDriver {
2408
2255
  exportToPdf?(): Promise<void>;
2409
2256
  }
2410
2257
  //#endregion
2411
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/columns/column_selector.d.ts
2412
- //#region src/columns/column_selector.d.ts
2258
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/columns/column_selector.d.ts
2413
2259
  /** Relaxed string matcher input: plain string, single matcher, or array of mixed. */
2414
2260
  type RelaxedStringMatchers = string | StringMatcher | (string | StringMatcher)[];
2415
2261
  /** Relaxed record matcher: values can be plain strings or relaxed matchers. */
@@ -2435,8 +2281,7 @@ interface RelaxedColumnSelector {
2435
2281
  /** One or many relaxed column selectors; normalizes to MultiColumnSelector[]. */
2436
2282
  type ColumnSelector = RelaxedColumnSelector | RelaxedColumnSelector[];
2437
2283
  //#endregion
2438
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/columns/discover_columns_options.d.ts
2439
- //#region src/drivers/columns/discover_columns_options.d.ts
2284
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/columns/discover_columns_options.d.ts
2440
2285
  /**
2441
2286
  * Axis matching behaviour applied to `discover` requests.
2442
2287
  *
@@ -2483,8 +2328,7 @@ type ColumnsDiscoverOptions = DiscoverColumnsOptions;
2483
2328
  */
2484
2329
  type ColumnsFilterOptions = Omit<DiscoverColumnsOptions, "mode" | "maxHops">;
2485
2330
  //#endregion
2486
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/columns/types.d.ts
2487
- //#region src/columns/types.d.ts
2331
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/columns/types.d.ts
2488
2332
  /**
2489
2333
  * Opaque sandbox/host accessor handle.
2490
2334
  *
@@ -2564,8 +2408,7 @@ interface AccessorLike<Self extends AccessorLike<Self>> {
2564
2408
  getDataAsJson<T = unknown>(): T | undefined;
2565
2409
  }
2566
2410
  //#endregion
2567
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/columns/columns_collection_driver.d.ts
2568
- //#region src/drivers/columns/columns_collection_driver.d.ts
2411
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/columns/columns_collection_driver.d.ts
2569
2412
  /**
2570
2413
  * Opaque host-owned handle for a `ColumnsCollection` instance. Issued by
2571
2414
  * {@link ColumnsCollectionDriver.create}, refcounted by the driver, and
@@ -2623,13 +2466,14 @@ interface ColumnsCollectionDriverHost<A extends AccessorLike<A> = AccessorLike<a
2623
2466
  */
2624
2467
  getSpecDriver(): PFrameSpecDriver;
2625
2468
  /**
2626
- * Resolve the canonical {@link PColumnSpec} for a leaf {@link PObjectId}.
2469
+ * Resolve the {@link PObjectSpec} for a leaf {@link PObjectId}.
2627
2470
  * Returns `undefined` when the id is not present in the active registry
2628
2471
  * (e.g. handed to the driver via a `{kind:"ids"}` source whose underlying
2629
- * column has since left the visible scope). Override-wrapped ids are
2630
- * unwrapped by the caller — this method only resolves the underlying leaf.
2472
+ * column has since left the visible scope) or when its spec is not readable
2473
+ * yet. Override-wrapped ids are unwrapped by the caller — this method
2474
+ * only resolves the underlying leaf.
2631
2475
  */
2632
- resolveSpec(id: PObjectId): PColumnSpec | undefined;
2476
+ resolveSpec(id: PObjectId): PObjectSpec | undefined;
2633
2477
  }
2634
2478
  /**
2635
2479
  * Sandbox / UI view of the `ColumnsCollection` driver. Same methods as
@@ -2670,7 +2514,7 @@ interface ColumnsCollectionDriverModel {
2670
2514
  */
2671
2515
  interface ColumnsCollectionDriver {
2672
2516
  create(sources: ReadonlyArray<SerializedColumnsSource>, host: ColumnsCollectionDriverHost): PoolEntry<CollectionHandle>;
2673
- isEmpty(handle: CollectionHandle): boolean;
2517
+ isEmpty(handle: CollectionHandle, host: ColumnsCollectionDriverHost): boolean;
2674
2518
  isFinal(handle: CollectionHandle): boolean;
2675
2519
  getColumns(handle: CollectionHandle, host: ColumnsCollectionDriverHost): ColumnUniversalId[];
2676
2520
  addSource(handle: CollectionHandle, sources: ReadonlyArray<SerializedColumnsSource>, host: ColumnsCollectionDriverHost): PoolEntry<CollectionHandle>;
@@ -2678,9 +2522,7 @@ interface ColumnsCollectionDriver {
2678
2522
  filter(handle: CollectionHandle, options: ColumnsFilterOptions, host: ColumnsCollectionDriverHost): PoolEntry<CollectionHandle>;
2679
2523
  }
2680
2524
  //#endregion
2681
- //#endregion
2682
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/query/query_common.d.ts
2683
- //#region src/drivers/pframe/query/query_common.d.ts
2525
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/query/query_common.d.ts
2684
2526
  /**
2685
2527
  * Structural type information for a single column: the axis value types (in
2686
2528
  * order) and the single column value type. Mirrors the self-contained
@@ -3731,9 +3573,7 @@ interface QuerySpecOverride<Q, SO> {
3731
3573
  override: SO;
3732
3574
  }
3733
3575
  //#endregion
3734
- //#endregion
3735
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/query/query_data.d.ts
3736
- //#region src/drivers/pframe/query/query_data.d.ts
3576
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/query/query_data.d.ts
3737
3577
  /**
3738
3578
  * Column identifier with type specification.
3739
3579
  *
@@ -3817,9 +3657,7 @@ type DataExprColumnRef = ExprColumnRef<number>;
3817
3657
  type DataQueryExpression = DataExprColumnRef | DataExprAxisRef | ExprConstant | ExprNumericBinary<DataQueryExpression> | ExprNumericComparison<DataQueryExpression> | ExprNumericUnary<DataQueryExpression> | ExprStringEquals<DataQueryExpression> | ExprStringContains<DataQueryExpression> | ExprStringRegex<DataQueryExpression> | ExprStringContainsFuzzy<DataQueryExpression> | ExprIsNull<DataQueryExpression> | ExprFillNull<DataQueryExpression> | ExprLogicalUnary<DataQueryExpression> | ExprLogicalVariadic<DataQueryExpression> | ExprIsIn<DataQueryExpression, string> | ExprIsIn<DataQueryExpression, number> | ExprCast<DataQueryExpression> | ExprConditional<DataQueryExpression> | ExprRanking<DataQueryExpression, number, number>;
3818
3658
  type DataQueryBooleanExpression = InferBooleanExpressionUnion<DataQueryExpression>;
3819
3659
  //#endregion
3820
- //#endregion
3821
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec_driver.d.ts
3822
- //#region src/drivers/pframe/spec_driver.d.ts
3660
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec_driver.d.ts
3823
3661
  /** Matches a string value either exactly or by regex pattern */
3824
3662
  type StringMatcher = {
3825
3663
  type: "exact";
@@ -4037,8 +3875,7 @@ interface PFrameSpecDriver {
4037
3875
  }): DataQueryBooleanExpression[];
4038
3876
  }
4039
3877
  //#endregion
4040
- //#endregion
4041
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/selectors.d.ts
3878
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/selectors.d.ts
4042
3879
  /** Single axis selector */
4043
3880
  interface SingleAxisSelector {
4044
3881
  /** Axis name (required) */
@@ -4060,8 +3897,7 @@ interface AxisQualification {
4060
3897
  readonly contextDomain: Record<string, string>;
4061
3898
  }
4062
3899
  //#endregion
4063
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/filtered_column.d.ts
4064
- //#region src/drivers/pframe/spec/filtered_column.d.ts
3900
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/filtered_column.d.ts
4065
3901
  /** Value of an axis filter */
4066
3902
  type AxisFilterValue = number | string;
4067
3903
  /** Axis filter by index */
@@ -4078,8 +3914,7 @@ interface ColumnFilteredKey {
4078
3914
  }
4079
3915
  type ColumnFilteredId = Branded<CanonicalizedJson<ColumnFilteredKey>, "ColumnFilteredId">;
4080
3916
  //#endregion
4081
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/query/query_spec.d.ts
4082
- //#region src/drivers/pframe/query/query_spec.d.ts
3917
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/query/query_spec.d.ts
4083
3918
  /**
4084
3919
  * Join entry for spec-layer queries — the base join entry extended with
4085
3920
  * per-axis domain constraints. Absent `qualifications` is equivalent to `[]`.
@@ -4149,9 +3984,7 @@ type SpecExprColumnRef = ExprColumnRef<ColumnUniversalId>;
4149
3984
  type SpecQueryExpression = SpecExprColumnRef | SpecExprAxisRef | ExprConstant | ExprNumericBinary<SpecQueryExpression> | ExprNumericComparison<SpecQueryExpression> | ExprNumericUnary<SpecQueryExpression> | ExprStringEquals<SpecQueryExpression> | ExprStringContains<SpecQueryExpression> | ExprStringRegex<SpecQueryExpression> | ExprStringContainsFuzzy<SpecQueryExpression> | ExprIsNull<SpecQueryExpression> | ExprFillNull<SpecQueryExpression> | ExprLogicalUnary<SpecQueryExpression> | ExprLogicalVariadic<SpecQueryExpression> | ExprIsIn<SpecQueryExpression, string> | ExprIsIn<SpecQueryExpression, number> | ExprCast<SpecQueryExpression> | ExprConditional<SpecQueryExpression> | ExprRanking<SpecQueryExpression, SingleAxisSelector, PObjectId>;
4150
3985
  type SpecQueryBooleanExpression = InferBooleanExpressionUnion<SpecQueryExpression>;
4151
3986
  //#endregion
4152
- //#endregion
4153
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/table_calculate.d.ts
4154
- //#region src/drivers/pframe/table_calculate.d.ts
3987
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/table_calculate.d.ts
4155
3988
  /** Defines a terminal column node in the join request tree */
4156
3989
  interface ColumnJoinEntry<Col> {
4157
3990
  /** Node type discriminator */
@@ -4439,8 +4272,7 @@ type CalculateTableDataRequest<Col> = {
4439
4272
  /** Response for {@link CalculateTableDataRequest} */
4440
4273
  type CalculateTableDataResponse = FullPTableColumnData[];
4441
4274
  //#endregion
4442
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/pool/spec.d.ts
4443
- //#region src/pool/spec.d.ts
4275
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/pool/spec.d.ts
4444
4276
  /** Any object exported into the result pool by the block always have spec attached to it */
4445
4277
  type PObjectSpec = {
4446
4278
  /** PObject kind discriminator */
@@ -4478,8 +4310,7 @@ interface PObject<Data> {
4478
4310
  readonly data: Data;
4479
4311
  }
4480
4312
  //#endregion
4481
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.d.ts
4482
- //#region src/drivers/pframe/spec/spec.d.ts
4313
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.d.ts
4483
4314
  declare const ValueType: {
4484
4315
  readonly Int: "Int";
4485
4316
  readonly Long: "Long";
@@ -4629,8 +4460,23 @@ interface AxisId {
4629
4460
  /** Array of axis ids */
4630
4461
  type AxesId = AxisId[];
4631
4462
  //#endregion
4632
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/ids.d.ts
4633
- //#region src/drivers/pframe/spec/ids.d.ts
4463
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/overridden.d.ts
4464
+ type SpecOverrides = Pick<PColumnSpec, "domain" | "contextDomain" | "annotations"> & {
4465
+ axesSpec?: AxisPatches;
4466
+ };
4467
+ /**
4468
+ * `source` can reference a leaf or a Filtered/Discovered id, but never another
4469
+ * Overridden id — there is no `Overridden<Overridden<...>>`. Repeated overrides
4470
+ * merge at the outer wrapper via {@link mergeSpecOverrides}.
4471
+ */
4472
+ interface ColumnOverriddenKey {
4473
+ __isOverridden: true;
4474
+ source: Exclude<ColumnUniversalId, ColumnOverriddenId>;
4475
+ specOverrides: SpecOverrides;
4476
+ }
4477
+ type ColumnOverriddenId = Branded<CanonicalizedJson<ColumnOverriddenKey>, "ColumnOverriddenId">;
4478
+ //#endregion
4479
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/ids.d.ts
4634
4480
  /**
4635
4481
  * Per-axis patches keyed by positional index in the base spec's `axesSpec`.
4636
4482
  *
@@ -4648,8 +4494,7 @@ type AxisPatches = Record<number, Partial<AxisSpec>>;
4648
4494
  type SUniversalPColumnId = ColumnUniversalId;
4649
4495
  type ColumnUniversalId = LocalPObjectId | GlobalPObjectId | ColumnFilteredId | ColumnDiscoveredId | ColumnOverriddenId;
4650
4496
  //#endregion
4651
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/discovered_column.d.ts
4652
- //#region src/drivers/pframe/spec/discovered_column.d.ts
4497
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/discovered_column.d.ts
4653
4498
  interface ColumnDiscoveredKey {
4654
4499
  __isDiscovered: true;
4655
4500
  column: ColumnUniversalId;
@@ -4663,8 +4508,207 @@ type PathItem = {
4663
4508
  column: ColumnUniversalId;
4664
4509
  };
4665
4510
  //#endregion
4666
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/services/service_types.d.ts
4667
- //#region src/services/service_types.d.ts
4511
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/block_links/types.d.ts
4512
+ /**
4513
+ * How a reference an args holds fares against what the last run of the producing block exports:
4514
+ * - `ok` — the output is exported and holds every picked value, or the reference picks none;
4515
+ * - `pending` — the producer's run, or the column data, is still being computed;
4516
+ * - `notRun` — the producer has no last run, so it exports nothing yet;
4517
+ * - `unreadable` — the output is exported, but its values cannot be read: the spec does not list
4518
+ * them and the data is not JSON, or looking up or reading the column failed;
4519
+ * - `unavailable` — the output is not exported: the producer is deleted, is not above the block
4520
+ * holding the reference, or its run no longer exports the output;
4521
+ * - `missingValues` — the output is exported, but lacks the listed picked values.
4522
+ */
4523
+ type LinkCheck = {
4524
+ type: "ok";
4525
+ } | {
4526
+ type: "pending";
4527
+ } | {
4528
+ type: "notRun";
4529
+ } | {
4530
+ type: "unreadable";
4531
+ } | {
4532
+ type: "unavailable";
4533
+ } | {
4534
+ type: "missingValues";
4535
+ values: ColumnValue[];
4536
+ };
4537
+ /** A column of another block that a block's args reference, with the values picked from it. */
4538
+ interface OutgoingReference extends ColumnReference {
4539
+ /** The block output the column is computed from. */
4540
+ producer: BlockOutput;
4541
+ }
4542
+ /**
4543
+ * How a reference fares against the last run of its producer, with the label of the column:
4544
+ * `pl7.app/label` of the exported column, or, when the last run does not export it, of the
4545
+ * column the producer prepares before it is run; `null` when neither has one.
4546
+ */
4547
+ interface ExportVerdict {
4548
+ check: LinkCheck;
4549
+ columnLabel: null | string;
4550
+ }
4551
+ /** A reference one block's args hold to a column another block exports, as it was checked. */
4552
+ interface ColumnLink extends OutgoingReference, ExportVerdict {
4553
+ /** The block whose args hold the reference. */
4554
+ holderBlockId: string;
4555
+ }
4556
+ /**
4557
+ * Column links of block `blockId`: `dependencies` — outputs of other blocks its args reference,
4558
+ * its current args, else those of its last run; `dependents` — references the args of other
4559
+ * blocks hold to its outputs. Each is checked against the last run of the block exporting the
4560
+ * column. `labels` maps the other blocks the links name to their labels, for those that have one.
4561
+ */
4562
+ interface BlockColumnLinks {
4563
+ blockId: string;
4564
+ dependencies: ColumnLink[];
4565
+ dependents: ColumnLink[];
4566
+ labels: Record<string, string>;
4567
+ }
4568
+ //#endregion
4569
+ //#region ../node_modules/.pnpm/@milaboratories+pl-error-like@1.12.11/node_modules/@milaboratories/pl-error-like/dist/error_like_shape.d.ts
4570
+ declare const BasePlErrorLike: ZodObject<{
4571
+ type: ZodLiteral<"PlError">;
4572
+ name: ZodString;
4573
+ message: ZodString;
4574
+ /** The message with all details needed for SDK developers. */
4575
+ fullMessage: ZodOptional<ZodString>;
4576
+ stack: ZodOptional<ZodString>;
4577
+ }, "strip", ZodTypeAny, {
4578
+ type: "PlError";
4579
+ name: string;
4580
+ message: string;
4581
+ fullMessage?: string | undefined;
4582
+ stack?: string | undefined;
4583
+ }, {
4584
+ type: "PlError";
4585
+ name: string;
4586
+ message: string;
4587
+ fullMessage?: string | undefined;
4588
+ stack?: string | undefined;
4589
+ }>;
4590
+ /** Known Pl backend and ML errors. */
4591
+ type PlErrorLike = TypeOf<typeof BasePlErrorLike> & {
4592
+ cause?: ErrorLike;
4593
+ errors?: ErrorLike[];
4594
+ };
4595
+ declare const PlErrorLike: ZodType<PlErrorLike>;
4596
+ declare const BaseStandardErrorLike: ZodObject<{
4597
+ type: ZodLiteral<"StandardError">;
4598
+ name: ZodString;
4599
+ message: ZodString;
4600
+ stack: ZodOptional<ZodString>;
4601
+ }, "strip", ZodTypeAny, {
4602
+ type: "StandardError";
4603
+ name: string;
4604
+ message: string;
4605
+ stack?: string | undefined;
4606
+ }, {
4607
+ type: "StandardError";
4608
+ name: string;
4609
+ message: string;
4610
+ stack?: string | undefined;
4611
+ }>;
4612
+ /** Others unknown errors that could be thrown by the client. */
4613
+ type StandardErrorLike = TypeOf<typeof BaseStandardErrorLike> & {
4614
+ cause?: ErrorLike;
4615
+ errors?: ErrorLike[];
4616
+ };
4617
+ declare const StandardErrorLike: ZodType<StandardErrorLike>;
4618
+ declare const ErrorLike: ZodUnion<[ZodType<StandardErrorLike, ZodTypeDef, StandardErrorLike>, ZodType<PlErrorLike, ZodTypeDef, PlErrorLike>]>;
4619
+ type ErrorLike = TypeOf<typeof ErrorLike>;
4620
+ //#endregion
4621
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/common_types.d.ts
4622
+ type OutputWithStatus<T> = {
4623
+ ok: true;
4624
+ value: T;
4625
+ stable: boolean;
4626
+ } | {
4627
+ ok: false;
4628
+ errors: ErrorLike[];
4629
+ moreErrors: boolean;
4630
+ };
4631
+ /** Base type for block outputs */
4632
+ type BlockOutputsBase = Record<string, OutputWithStatus<unknown>>;
4633
+ //#endregion
4634
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/navigation.d.ts
4635
+ /**
4636
+ * Part of the block state, representing current navigation information
4637
+ * (i.e. currently selected section)
4638
+ */
4639
+ type NavigationState<Href extends `/${string}` = `/${string}`> = {
4640
+ readonly href: Href;
4641
+ };
4642
+ //#endregion
4643
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/block_state.d.ts
4644
+ /**
4645
+ * @template Args sets type of block arguments passed to the workflow
4646
+ * @template Outputs type of the outputs returned by the workflow and rendered
4647
+ * according to the output configuration specified for the block
4648
+ * @template UiState data that stores only UI related state, that is not passed
4649
+ * to the workflow
4650
+ * @template Href typed href to represent navigation state
4651
+ */
4652
+ type BlockState<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> = {
4653
+ /** Block arguments passed to the workflow */
4654
+ args: Args;
4655
+ /** UI State persisted in the block state but not passed to the backend
4656
+ * template */
4657
+ ui: UiState;
4658
+ /** Outputs rendered with block config */
4659
+ outputs: Outputs;
4660
+ /** Current navigation state */
4661
+ navigationState: NavigationState<Href>;
4662
+ readonly author: AuthorMarker | undefined;
4663
+ };
4664
+ type BlockStateV3<_Data = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, Href extends `/${string}` = `/${string}`> = {
4665
+ /** Block storage persisted in the block state */
4666
+ blockStorage: StringifiedJson;
4667
+ /** Outputs rendered with block config */
4668
+ outputs: Outputs;
4669
+ /** Current navigation state */
4670
+ navigationState: NavigationState<Href>;
4671
+ readonly author: AuthorMarker | undefined;
4672
+ /**
4673
+ * Column links of the block: outputs of other blocks its args reference, and blocks whose args
4674
+ * reference its outputs. `undefined` in app versions that do not compute them.
4675
+ */
4676
+ readonly columnLinks: BlockColumnLinks | undefined;
4677
+ };
4678
+ //#endregion
4679
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/dialog/index.d.ts
4680
+ /**
4681
+ * File filter passed to the native save dialog. Matches Electron's
4682
+ * `FileFilter` shape so desktop runtimes can forward it verbatim.
4683
+ */
4684
+ interface FileFilter {
4685
+ name: string;
4686
+ extensions: string[];
4687
+ }
4688
+ /**
4689
+ * Options accepted by `Dialog.showSaveDialog`. The UI supplies only a
4690
+ * default file name; the main-process handler decides the default
4691
+ * directory (e.g. `~/Downloads`).
4692
+ */
4693
+ interface ShowSaveDialogOptions {
4694
+ defaultFileName?: string;
4695
+ filters?: FileFilter[];
4696
+ title?: string;
4697
+ }
4698
+ /** Result of `Dialog.showSaveDialog`. */
4699
+ interface ShowSaveDialogResult {
4700
+ canceled: boolean;
4701
+ path?: string;
4702
+ }
4703
+ /**
4704
+ * UI-facing save-dialog service. Implemented by desktop runtimes that
4705
+ * can open a native file picker; absent in web/preview environments.
4706
+ */
4707
+ interface DialogService {
4708
+ showSaveDialog(options: ShowSaveDialogOptions): Promise<ShowSaveDialogResult>;
4709
+ }
4710
+ //#endregion
4711
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/services/service_types.d.ts
4668
4712
  type ServiceTypesLike<Model = unknown, Ui = unknown, Kind extends ServiceType = ServiceType, ModelHost = Model, UiHost = Ui> = {
4669
4713
  readonly __types?: {
4670
4714
  model: Model;
@@ -4693,8 +4737,7 @@ type ServiceNameLiterals = { [K in keyof TServices]: ExtractServiceName<TService
4693
4737
  /** Auto-derived requires* feature flags from Services keys. */
4694
4738
  type ServiceRequireFlags = { [K in keyof TServices as `requires${K & string}`]?: boolean; };
4695
4739
  //#endregion
4696
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/services/service_declarations.d.ts
4697
- //#region src/services/service_declarations.d.ts
4740
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/services/service_declarations.d.ts
4698
4741
  declare const Services: {
4699
4742
  PFrameSpec: Branded$1<"pframeSpec", ServiceTypesLike<PFrameSpecDriver, PFrameSpecDriver, "wasm", PFrameSpecDriver, PFrameSpecDriver>>;
4700
4743
  PFrame: Branded$1<"pframe", ServiceTypesLike<PFrameModelDriver<PColumn<string | PColumnValues | DataInfo<string>>>, PFrameDriver, "node", PFrameModelDriver<PColumn<string | PColumnValues | DataInfo<string>>>, PFrameDriver>>;
@@ -4702,9 +4745,7 @@ declare const Services: {
4702
4745
  ColumnsCollection: Branded$1<"columnsCollection", ServiceTypesLike<ColumnsCollectionDriverModel, ColumnsCollectionDriverModel, "wasm", ColumnsCollectionDriver, ColumnsCollectionDriver>>;
4703
4746
  };
4704
4747
  //#endregion
4705
- //#endregion
4706
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/driver_kit.d.ts
4707
- //#region src/driver_kit.d.ts
4748
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/driver_kit.d.ts
4708
4749
  /** Set of all drivers exposed in UI SDK via the platforma object. */
4709
4750
  interface DriverKit {
4710
4751
  /** Driver allowing to retrieve blob data */
@@ -4724,21 +4765,28 @@ interface DriverKit {
4724
4765
  readonly pFrameDriver: PFrameDriver;
4725
4766
  }
4726
4767
  //#endregion
4727
- //#endregion
4728
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/flags/block_flags.d.ts
4768
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/flags/block_flags.d.ts
4729
4769
  /**
4730
4770
  * Known block flags. Flags are set during model compilation, see `BlockModelV3` feature flags for more details and for initial values.
4731
4771
  */
4732
4772
  type BlockCodeKnownFeatureFlags = {
4733
4773
  readonly supportsLazyState?: boolean;
4734
4774
  readonly supportsPframeQueryRanking?: boolean;
4775
+ /** The block UI reads `columnLinks` from the block state, so the app computes them for it. */
4776
+ readonly supportsColumnLinks?: boolean;
4735
4777
  readonly requiresModelAPIVersion?: number;
4736
4778
  readonly requiresUIAPIVersion?: number;
4737
4779
  readonly requiresCreatePTable?: number;
4738
4780
  readonly requiresPFramesVersion?: number;
4781
+ /**
4782
+ * The block may derive args while they are incomplete and keep them from running with
4783
+ * `argsIssues`. Set for every block the SDK builds. A runtime that does not know this flag
4784
+ * would run such incomplete args, so it must refuse the block.
4785
+ */
4786
+ readonly requiresArgsIssues?: boolean;
4739
4787
  } & ServiceRequireFlags;
4740
4788
  //#endregion
4741
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/errors.d.ts
4789
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/errors.d.ts
4742
4790
  type ResultOrError<S, F = Error> = {
4743
4791
  value: S;
4744
4792
  error?: undefined;
@@ -4746,8 +4794,7 @@ type ResultOrError<S, F = Error> = {
4746
4794
  error: F;
4747
4795
  };
4748
4796
  //#endregion
4749
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.51.0/node_modules/@milaboratories/pl-model-common/dist/utag.d.ts
4750
- //#region src/utag.d.ts
4797
+ //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.55.2/node_modules/@milaboratories/pl-model-common/dist/utag.d.ts
4751
4798
  /** Value returned for changing states supporting reactive listening for changes */
4752
4799
  interface ValueWithUTag<V> {
4753
4800
  /** Value snapshot. */
@@ -4765,9 +4812,7 @@ interface ValueWithUTagAndAuthor<V> extends ValueWithUTag<V> {
4765
4812
  readonly author?: AuthorMarker;
4766
4813
  }
4767
4814
  //#endregion
4768
- //#endregion
4769
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/block_state_patch.d.ts
4770
- //#region src/block_state_patch.d.ts
4815
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/block_state_patch.d.ts
4771
4816
  /** Patch for the structural object */
4772
4817
  type Patch<K, V> = {
4773
4818
  /** Field name to patch */
@@ -4780,9 +4825,7 @@ type Unionize<T extends Record<string, unknown>> = { [K in keyof T]: Patch<K, T[
4780
4825
  /** Patch for the BlockState, pushed by onStateUpdates method in SDK. */
4781
4826
  type BlockStatePatch<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> = Unionize<BlockState<Args, Outputs, UiState, Href>>;
4782
4827
  //#endregion
4783
- //#endregion
4784
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/plugin_handle.d.ts
4785
- //#region src/plugin_handle.d.ts
4828
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/plugin_handle.d.ts
4786
4829
  /**
4787
4830
  * Phantom-only base type for constraining PluginHandle's type parameter.
4788
4831
  *
@@ -4808,7 +4851,7 @@ interface PluginFactoryLike<Data extends Record<string, unknown> = Record<string
4808
4851
  */
4809
4852
  type PluginHandle<F extends PluginFactoryLike = PluginFactoryLike> = Branded<string, F>;
4810
4853
  //#endregion
4811
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/block_storage.d.ts
4854
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/block_storage.d.ts
4812
4855
  /** Payload for storage mutation operations. SDK defines specific operations. */
4813
4856
  type MutateStoragePayload<T = unknown> = {
4814
4857
  operation: "update-block-data";
@@ -4819,7 +4862,7 @@ type MutateStoragePayload<T = unknown> = {
4819
4862
  value: unknown;
4820
4863
  };
4821
4864
  //#endregion
4822
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/bconfig/lambdas.d.ts
4865
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/bconfig/lambdas.d.ts
4823
4866
  /** Additional information that may alter lambda rendering procedure. */
4824
4867
  type ConfigRenderLambdaFlags = {
4825
4868
  /**
@@ -4855,9 +4898,7 @@ type InferOutputsFromLambdas<OutputsCfg extends Record<string, ConfigRenderLambd
4855
4898
  } ? false : true;
4856
4899
  }; };
4857
4900
  //#endregion
4858
- //#endregion
4859
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/block_api_v1.d.ts
4860
- //#region src/block_api_v1.d.ts
4901
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/block_api_v1.d.ts
4861
4902
  /** Returned by state subscription methods to be able to cancel the subscription. */
4862
4903
  type CancelSubscription = () => void;
4863
4904
  /** Defines methods to read and write current block data. */
@@ -4918,7 +4959,6 @@ interface BlockApiV1<Args = unknown, Outputs extends BlockOutputsBase = BlockOut
4918
4959
  setNavigationState(state: NavigationState<Href>): Promise<void>;
4919
4960
  }
4920
4961
  //#endregion
4921
- //#endregion
4922
4962
  //#region ../node_modules/.pnpm/fast-json-patch@3.1.1/node_modules/fast-json-patch/module/core.d.ts
4923
4963
  declare type Operation = AddOperation<any> | RemoveOperation | ReplaceOperation<any> | MoveOperation | CopyOperation | TestOperation<any> | GetOperation<any>;
4924
4964
  interface BaseOperation {
@@ -4952,8 +4992,7 @@ interface GetOperation<T> extends BaseOperation {
4952
4992
  value: T;
4953
4993
  }
4954
4994
  //#endregion
4955
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/block_api_v2.d.ts
4956
- //#region src/block_api_v2.d.ts
4995
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/block_api_v2.d.ts
4957
4996
  /** Defines methods to read and write current block data. */
4958
4997
  interface BlockApiV2<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> {
4959
4998
  /**
@@ -5002,14 +5041,12 @@ interface BlockApiV2<Args = unknown, Outputs extends BlockOutputsBase = BlockOut
5002
5041
  dispose(): Promise<ResultOrError<void>>;
5003
5042
  }
5004
5043
  //#endregion
5005
- //#endregion
5006
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/version.d.ts
5044
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/version.d.ts
5007
5045
  type SdkInfo = {
5008
5046
  readonly sdkVersion: string;
5009
5047
  };
5010
5048
  //#endregion
5011
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/services/block_services.d.ts
5012
- //#region src/services/block_services.d.ts
5049
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/services/block_services.d.ts
5013
5050
  /**
5014
5051
  * Services required by all V3 blocks by default.
5015
5052
  * Edit this when a new service should be available to all blocks.
@@ -5025,14 +5062,13 @@ declare const BLOCK_SERVICE_FLAGS: {
5025
5062
  };
5026
5063
  type BlockServiceFlags = typeof BLOCK_SERVICE_FLAGS;
5027
5064
  //#endregion
5028
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/services/service_resolve.d.ts
5029
- //#region src/services/service_resolve.d.ts
5065
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/services/service_resolve.d.ts
5030
5066
  type FlagToName<Flag extends string> = Flag extends `requires${infer K}` ? K extends keyof ServiceNameLiterals ? ServiceNameLiterals[K] : never : never;
5031
5067
  type RequiredServiceNames<Flags> = { [K in keyof Flags & `requires${string}`]: Flags[K] extends true ? FlagToName<K & string> : never; }[keyof Flags & `requires${string}`];
5032
5068
  type ResolveUiServices<Flags> = Pick<UiServices$1, RequiredServiceNames<Flags> & keyof UiServices$1>;
5033
5069
  type BlockDefaultUiServices = ResolveUiServices<BlockServiceFlags>;
5034
5070
  //#endregion
5035
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/plugin_model.d.ts
5071
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/plugin_model.d.ts
5036
5072
  /**
5037
5073
  * Runtime definition for a single public output field.
5038
5074
  * Stored in PluginModel and passed through BlockModelInfo to the UI layer.
@@ -5041,8 +5077,7 @@ type PublicOutputFieldDef = {
5041
5077
  readonly getter: (data: unknown) => unknown;
5042
5078
  };
5043
5079
  //#endregion
5044
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/block_api_v3.d.ts
5045
- //#region src/block_api_v3.d.ts
5080
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/block_api_v3.d.ts
5046
5081
  /** Defines methods to read and write current block data. */
5047
5082
  interface BlockApiV3<_Data = unknown, _Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, Href extends `/${string}` = `/${string}`> {
5048
5083
  /**
@@ -5066,15 +5101,22 @@ interface BlockApiV3<_Data = unknown, _Args = unknown, Outputs extends BlockOutp
5066
5101
  * Sets block navigation state.
5067
5102
  * */
5068
5103
  setNavigationState(state: NavigationState<Href>): Promise<ResultOrError<void>>;
5104
+ /**
5105
+ * Opens another block of the same project in the app, as selecting it in the project does.
5106
+ * Resolves once the app has accepted the request, which may hide this block's UI; an error
5107
+ * result when the project has no block with this id.
5108
+ *
5109
+ * Absent in app versions that cannot open blocks on a block's request: check for it before
5110
+ * offering the user to open a block.
5111
+ * */
5112
+ openBlock?(blockId: string): Promise<ResultOrError<void>>;
5069
5113
  /**
5070
5114
  * Disposes the block API.
5071
5115
  * */
5072
5116
  dispose(): Promise<ResultOrError<void>>;
5073
5117
  }
5074
5118
  //#endregion
5075
- //#endregion
5076
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/platforma.d.ts
5077
- //#region src/platforma.d.ts
5119
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/platforma.d.ts
5078
5120
  /** Defines all methods to interact with the platform environment from within a block UI. @deprecated */
5079
5121
  interface PlatformaV1<Args = unknown, Outputs extends Record<string, OutputWithStatus<unknown>> = Record<string, OutputWithStatus<unknown>>, UiState = unknown, Href extends `/${string}` = `/${string}`> extends BlockApiV1<Args, Outputs, UiState, Href>, DriverKit {
5080
5122
  /** Information about SDK version current platforma environment was compiled with. */
@@ -5114,7 +5156,7 @@ type InferOutputsType<Pl extends Platforma> = Pl extends Platforma<unknown, infe
5114
5156
  type InferDataType<Pl extends Platforma> = Pl extends Platforma<unknown, Record<string, OutputWithStatus<unknown>>, infer Data> ? Data : never;
5115
5157
  type InferHrefType<Pl extends Platforma> = Pl extends Platforma<unknown, BlockOutputsBase, unknown, infer Href> ? Href : never;
5116
5158
  //#endregion
5117
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/components/PlDatasetSelector/dataset_selection.d.ts
5159
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/components/PlDatasetSelector/dataset_selection.d.ts
5118
5160
  /**
5119
5161
  * Picked dataset bundle emitted by `PlDatasetSelector`. Stored opaquely in
5120
5162
  * block data; block authors unbundle inside their args resolver.
@@ -5125,8 +5167,7 @@ type DatasetSelection = {
5125
5167
  readonly enrichments?: LabeledEnrichmentRefs;
5126
5168
  };
5127
5169
  //#endregion
5128
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV8.d.ts
5129
- //#region src/components/PlDataTable/typesV8.d.ts
5170
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV8.d.ts
5130
5171
  type PlTableColumnIdJson$1 = CanonicalizedJson<PTableColumnId>;
5131
5172
  type PlDataTableGridStateCore$1 = {
5132
5173
  /** Includes column ordering */
@@ -5194,16 +5235,15 @@ type PTableParamsV2$1 = {
5194
5235
  defaultFilters: null | PlDataTableFilters$1;
5195
5236
  };
5196
5237
  type PlDataTableStateV2Normalized$1 = {
5197
- /** Version for upgrades */
5198
- version: 8;
5238
+ /** Version for upgrades. v9 has the v8 shape; it marks column ids rewritten to the current form. */
5239
+ version: 9;
5199
5240
  /** Internal states, LRU cache for 5 sourceId-s */
5200
5241
  stateCache: PlDataTableStateV2CacheEntry$1[];
5201
5242
  /** PTable params derived from the cache state for the current sourceId */
5202
5243
  pTableParams: PTableParamsV2$1;
5203
5244
  };
5204
5245
  //#endregion
5205
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV4.d.ts
5206
- //#region src/components/PlDataTable/typesV4.d.ts
5246
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV4.d.ts
5207
5247
  type PlDataTableFilterState = {
5208
5248
  id: PTableColumnId;
5209
5249
  alphabetic: boolean;
@@ -5354,9 +5394,7 @@ type PlTableFilterString = PlTableFilterCommon | PlTableFilterStringEquals | PlT
5354
5394
  /** All PlTableFilters filter entries */
5355
5395
  type PlTableFilter = PlTableFilterNumber | PlTableFilterString;
5356
5396
  //#endregion
5357
- //#endregion
5358
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV7.d.ts
5359
- //#region src/components/PlDataTable/typesV7.d.ts
5397
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV7.d.ts
5360
5398
  type PlTableColumnIdJson = CanonicalizedJson<PTableColumnId>;
5361
5399
  type PlDataTableGridStateCore = {
5362
5400
  /** Includes column ordering */
@@ -5432,9 +5470,7 @@ type PlDataTableStateV2Normalized = {
5432
5470
  pTableParams: PTableParamsV2;
5433
5471
  };
5434
5472
  //#endregion
5435
- //#endregion
5436
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV6.d.ts
5437
- //#region src/components/PlDataTable/typesV6.d.ts
5473
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV6.d.ts
5438
5474
  /**
5439
5475
  * v6 colId scheme: bare canonicalized `PTableColumnSpec` (full spec including
5440
5476
  * all annotations and `pl7.app/trace`). v7 dropped the spec body and now uses
@@ -5469,9 +5505,7 @@ type PlDataTableStateV2V6 = {
5469
5505
  pTableParams: PTableParamsV2;
5470
5506
  };
5471
5507
  //#endregion
5472
- //#endregion
5473
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV5.d.ts
5474
- //#region src/components/PlDataTable/typesV5.d.ts
5508
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV5.d.ts
5475
5509
  /**
5476
5510
  * v5 colId wrapper. v5 stored every grid colId as `{ source, labeled }` —
5477
5511
  * `source` was the original column spec, `labeled` was the spec with
@@ -5498,9 +5532,7 @@ type PlDataTableGridStateV5 = {
5498
5532
  };
5499
5533
  };
5500
5534
  //#endregion
5501
- //#endregion
5502
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/components/PlDataTable/state-migration.d.ts
5503
- //#region src/components/PlDataTable/state-migration.d.ts
5535
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/components/PlDataTable/state-migration.d.ts
5504
5536
  /**
5505
5537
  * PlDataTableV2 persisted state
5506
5538
  */
@@ -5597,9 +5629,13 @@ type PlDataTableStateV2 = {
5597
5629
  searchString?: string;
5598
5630
  }[];
5599
5631
  pTableParams: PTableParamsV2;
5600
- } | PlDataTableStateV2V6 | PlDataTableStateV2Normalized | PlDataTableStateV2Normalized$1;
5632
+ } | PlDataTableStateV2V6 | PlDataTableStateV2Normalized | PlDataTableStateV2V8 | PlDataTableStateV2Normalized$1;
5633
+ /** v8 state: the current shape, column ids not yet checked for the pre-rework form. */
5634
+ type PlDataTableStateV2V8 = Omit<PlDataTableStateV2Normalized$1, "version"> & {
5635
+ version: 8;
5636
+ };
5601
5637
  //#endregion
5602
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.1/node_modules/@platforma-sdk/model/dist/components/PlMultiSequenceAlignment.d.ts
5638
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.88.16/node_modules/@platforma-sdk/model/dist/components/PlMultiSequenceAlignment.d.ts
5603
5639
  interface PlMultiSequenceAlignmentSettings {
5604
5640
  sequenceColumnIds?: PObjectId[];
5605
5641
  labelColumnIds?: PTableColumnId[];
@@ -5750,18 +5786,18 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, Block
5750
5786
  datasetOptions: ConfigRenderLambda<{
5751
5787
  readonly primary: {
5752
5788
  readonly ref: {
5753
- readonly __isRef: true;
5754
5789
  readonly blockId: string;
5755
5790
  readonly name: string;
5791
+ readonly __isRef: true;
5756
5792
  readonly requireEnrichments?: true | undefined;
5757
5793
  };
5758
5794
  readonly label: string;
5759
5795
  };
5760
5796
  readonly filters?: readonly {
5761
5797
  readonly ref: {
5762
- readonly __isRef: true;
5763
5798
  readonly blockId: string;
5764
5799
  readonly name: string;
5800
+ readonly __isRef: true;
5765
5801
  readonly requireEnrichments?: true | undefined;
5766
5802
  };
5767
5803
  readonly label: string;
@@ -5820,6 +5856,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, Block
5820
5856
  visibility?: "default" | "optional" | "hidden";
5821
5857
  order?: number;
5822
5858
  status?: AnnotationDataStatus;
5859
+ linkHint?: string;
5823
5860
  };
5824
5861
  [x: string & {
5825
5862
  __json_canonicalized: ColumnFilteredKey;
@@ -5830,6 +5867,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, Block
5830
5867
  visibility?: "default" | "optional" | "hidden";
5831
5868
  order?: number;
5832
5869
  status?: AnnotationDataStatus;
5870
+ linkHint?: string;
5833
5871
  };
5834
5872
  [x: string & {
5835
5873
  __json_canonicalized: ColumnOverriddenKey;
@@ -5840,6 +5878,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, Block
5840
5878
  visibility?: "default" | "optional" | "hidden";
5841
5879
  order?: number;
5842
5880
  status?: AnnotationDataStatus;
5881
+ linkHint?: string;
5843
5882
  };
5844
5883
  [x: string & {
5845
5884
  __json_canonicalized: LocalPObjectKey;
@@ -5850,12 +5889,13 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, Block
5850
5889
  visibility?: "default" | "optional" | "hidden";
5851
5890
  order?: number;
5852
5891
  status?: AnnotationDataStatus;
5892
+ linkHint?: string;
5853
5893
  };
5854
5894
  [x: string & {
5855
5895
  __json_canonicalized: Readonly<{
5856
- __isRef: true;
5857
5896
  blockId: string;
5858
5897
  name: string;
5898
+ __isRef: true;
5859
5899
  requireEnrichments?: true | undefined;
5860
5900
  }>;
5861
5901
  } & {
@@ -5865,6 +5905,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, Block
5865
5905
  visibility?: "default" | "optional" | "hidden";
5866
5906
  order?: number;
5867
5907
  status?: AnnotationDataStatus;
5908
+ linkHint?: string;
5868
5909
  };
5869
5910
  };
5870
5911
  axes: {
@@ -5896,6 +5937,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, Block
5896
5937
  visibility?: "default" | "optional" | "hidden";
5897
5938
  order?: number;
5898
5939
  status?: AnnotationDataStatus;
5940
+ linkHint?: string;
5899
5941
  };
5900
5942
  [x: string & {
5901
5943
  __json_canonicalized: ColumnFilteredKey;
@@ -5906,6 +5948,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, Block
5906
5948
  visibility?: "default" | "optional" | "hidden";
5907
5949
  order?: number;
5908
5950
  status?: AnnotationDataStatus;
5951
+ linkHint?: string;
5909
5952
  };
5910
5953
  [x: string & {
5911
5954
  __json_canonicalized: ColumnOverriddenKey;
@@ -5916,6 +5959,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, Block
5916
5959
  visibility?: "default" | "optional" | "hidden";
5917
5960
  order?: number;
5918
5961
  status?: AnnotationDataStatus;
5962
+ linkHint?: string;
5919
5963
  };
5920
5964
  [x: string & {
5921
5965
  __json_canonicalized: LocalPObjectKey;
@@ -5926,12 +5970,13 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, Block
5926
5970
  visibility?: "default" | "optional" | "hidden";
5927
5971
  order?: number;
5928
5972
  status?: AnnotationDataStatus;
5973
+ linkHint?: string;
5929
5974
  };
5930
5975
  [x: string & {
5931
5976
  __json_canonicalized: Readonly<{
5932
- __isRef: true;
5933
5977
  blockId: string;
5934
5978
  name: string;
5979
+ __isRef: true;
5935
5980
  requireEnrichments?: true | undefined;
5936
5981
  }>;
5937
5982
  } & {
@@ -5941,6 +5986,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, Block
5941
5986
  visibility?: "default" | "optional" | "hidden";
5942
5987
  order?: number;
5943
5988
  status?: AnnotationDataStatus;
5989
+ linkHint?: string;
5944
5990
  };
5945
5991
  };
5946
5992
  axes: {