@platforma-open/milaboratories.mixcr-clonotyping-2 2.26.0 → 2.26.1

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,3 @@
1
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/author_marker.d.ts
2
- //#region src/author_marker.d.ts
3
1
  /** Structure to help resolve conflicts if multiple participants writes to
4
2
  * the same state */
5
3
  interface AuthorMarker {
@@ -9,13 +7,32 @@ interface AuthorMarker {
9
7
  /** Sequential version of the state local to the author */
10
8
  localVersion: number;
11
9
  }
12
- //#endregion
13
- //#endregion
14
- //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.d.cts
10
+ /**
11
+ * Intended to match web.Blob, node.Blob, node-fetch.Blob, etc.
12
+ */
13
+ interface BlobLike {
14
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size) */
15
+ readonly size: number;
16
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type) */
17
+ readonly type: string;
18
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text) */
19
+ text(): Promise<string>;
20
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
21
+ slice(start?: number, end?: number): BlobLike;
22
+ }
23
+ /**
24
+ * Intended to match web.File, node.File, node-fetch.File, etc.
25
+ */
26
+ interface FileLike extends BlobLike {
27
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified) */
28
+ readonly lastModified: number;
29
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name) */
30
+ readonly name: string;
31
+ }
32
+ type Brand<B, K extends string = "__pl_model_brand__"> = { [key in K]: B; };
33
+ type Branded$1<T, B, K extends string = "__pl_model_brand__"> = T & Brand<B, K>;
15
34
  type Primitive = string | number | symbol | bigint | boolean | null | undefined;
16
35
  type Scalars = Primitive | Primitive[];
17
- //#endregion
18
- //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.d.cts
19
36
  declare namespace util {
20
37
  type AssertEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends (<V>() => V extends U ? 1 : 2) ? true : false;
21
38
  export type isAny<T> = 0 extends 1 & T ? true : false;
@@ -77,8 +94,6 @@ declare const ZodParsedType: {
77
94
  };
78
95
  type ZodParsedType = keyof typeof ZodParsedType;
79
96
  declare const getParsedType: (data: any) => ZodParsedType;
80
- //#endregion
81
- //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.d.cts
82
97
  type allKeys<T> = T extends any ? keyof T : never;
83
98
  type inferFlattenedErrors<T extends ZodType<any, any, any>, U = string> = typeToFlattenedError<TypeOf<T>, U>;
84
99
  type typeToFlattenedError<T, U = string> = {
@@ -233,15 +248,9 @@ type ErrorMapCtx = {
233
248
  type ZodErrorMap = (issue: ZodIssueOptionalMessage, _ctx: ErrorMapCtx) => {
234
249
  message: string;
235
250
  };
236
- //#endregion
237
- //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.d.cts
238
251
  declare const errorMap: ZodErrorMap;
239
- //#endregion
240
- //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.d.cts
241
252
  declare function setErrorMap(map: ZodErrorMap): void;
242
253
  declare function getErrorMap(): ZodErrorMap;
243
- //#endregion
244
- //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.d.cts
245
254
  declare const makeIssue: (params: {
246
255
  data: any;
247
256
  path: (string | number)[];
@@ -318,8 +327,6 @@ declare const isAborted: (x: ParseReturnType<any>) => x is INVALID;
318
327
  declare const isDirty: <T>(x: ParseReturnType<T>) => x is OK<T> | DIRTY<T>;
319
328
  declare const isValid: <T>(x: ParseReturnType<T>) => x is OK<T>;
320
329
  declare const isAsync: <T>(x: ParseReturnType<T>) => x is AsyncParseReturnType<T>;
321
- //#endregion
322
- //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/enumUtil.d.cts
323
330
  declare namespace enumUtil {
324
331
  type UnionToIntersectionFn<T> = (T extends unknown ? (k: () => T) => void : never) extends ((k: infer Intersection) => void) ? Intersection : never;
325
332
  type GetUnionLast<T> = UnionToIntersectionFn<T> extends (() => infer Last) ? Last : never;
@@ -328,8 +335,6 @@ declare namespace enumUtil {
328
335
  export type UnionToTupleString<T> = CastToStringTuple<UnionToTuple<T>>;
329
336
  export {};
330
337
  }
331
- //#endregion
332
- //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.d.cts
333
338
  declare namespace errorUtil {
334
339
  type ErrMessage = string | {
335
340
  message?: string | undefined;
@@ -339,13 +344,9 @@ declare namespace errorUtil {
339
344
  };
340
345
  const toString: (message?: ErrMessage) => string | undefined;
341
346
  }
342
- //#endregion
343
- //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/partialUtil.d.cts
344
347
  declare namespace partialUtil {
345
348
  type DeepPartial<T extends ZodTypeAny> = T extends ZodObject<ZodRawShape> ? ZodObject<{ [k in keyof T["shape"]]: ZodOptional<DeepPartial<T["shape"][k]>>; }, T["_def"]["unknownKeys"], T["_def"]["catchall"]> : T extends ZodArray<infer Type, infer Card> ? ZodArray<DeepPartial<Type>, Card> : T extends ZodOptional<infer Type> ? ZodOptional<DeepPartial<Type>> : T extends ZodNullable<infer Type> ? ZodNullable<DeepPartial<Type>> : T extends ZodTuple<infer Items> ? { [k in keyof Items]: Items[k] extends ZodTypeAny ? DeepPartial<Items[k]> : never; } extends (infer PI) ? PI extends ZodTupleItems ? ZodTuple<PI> : never : never : T;
346
349
  }
347
- //#endregion
348
- //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/standard-schema.d.cts
349
350
  /**
350
351
  * The Standard Schema interface.
351
352
  */
@@ -448,8 +449,6 @@ declare namespace StandardSchemaV1 {
448
449
  export type InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
449
450
  export {};
450
451
  }
451
- //#endregion
452
- //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.d.cts
453
452
  interface RefinementCtx {
454
453
  addIssue: (arg: IssueData) => void;
455
454
  path: (string | number)[];
@@ -1431,83 +1430,136 @@ declare const NEVER: never;
1431
1430
  declare namespace external_d_exports {
1432
1431
  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
1432
  }
1434
- //#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>;
1433
+ /** Handle of locally downloaded blob. This handle is issued only after the
1434
+ * blob's content is downloaded locally, and ready for quick access. */
1435
+ type LocalBlobHandle = Branded$1<string, "LocalBlobHandle">;
1436
+ /** Handle of remote blob. This handle is issued as soon as the data becomes
1437
+ * available on the remote server. */
1438
+ type RemoteBlobHandle = Branded$1<string, "RemoteBlobHandle">;
1439
+ /** Being configured inside the output structure provides information about
1440
+ * blob's content and means to retrieve it when needed. */
1441
+ interface BlobHandleAndSize<H extends LocalBlobHandle | RemoteBlobHandle = LocalBlobHandle | RemoteBlobHandle> {
1442
+ /** Handle to retrieve block content using {@link BlobDriver.getContent()} */
1443
+ readonly handle: H;
1444
+ /** Blob size in bytes. */
1445
+ readonly size: number;
1446
+ }
1447
+ /** Range in bytes, from should be less than to. */
1448
+ declare const RangeBytes: ZodObject<{
1449
+ /** Included left border. */
1450
+ from: ZodNumber;
1451
+ /** Excluded right border. */
1452
+ to: ZodNumber;
1467
1453
  }, "strip", ZodTypeAny, {
1468
- type: "StandardError";
1469
- message: string;
1470
- name: string;
1471
- stack?: string | undefined;
1454
+ from: number;
1455
+ to: number;
1472
1456
  }, {
1473
- type: "StandardError";
1474
- message: string;
1475
- name: string;
1476
- stack?: string | undefined;
1457
+ from: number;
1458
+ to: number;
1477
1459
  }>;
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>;
1486
- //#endregion
1487
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.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;
1460
+ type RangeBytes = TypeOf<typeof RangeBytes>;
1461
+ /** Being configured inside the output structure provides information about
1462
+ * locally downloaded blob and means to retrieve it's content when needed. This
1463
+ * structure is created only after the blob's content is downloaded locally, and
1464
+ * ready for quick access. */
1465
+ type LocalBlobHandleAndSize = BlobHandleAndSize<LocalBlobHandle>;
1466
+ /** Being configured inside the output structure provides information about
1467
+ * remote blob and means to retrieve it's content when needed. This structure
1468
+ * is created as soon as remote blob becomes available. */
1469
+ type RemoteBlobHandleAndSize = BlobHandleAndSize<RemoteBlobHandle>;
1470
+ /** Defines API of blob driver as it is seen from the block UI code. */
1471
+ interface BlobDriver {
1472
+ /**
1473
+ * Given the blob handle returns its content.
1474
+ * Depending on the handle type, content will be served from locally downloaded file,
1475
+ * or directly from remote platforma storage.
1476
+ */
1477
+ getContent(handle: LocalBlobHandle | RemoteBlobHandle, range?: RangeBytes): Promise<Uint8Array>;
1478
+ }
1479
+ interface ImportProgress {
1480
+ done: boolean;
1481
+ /** Status of indexing/uploading got from platforma gRPC. */
1482
+ status?: ImportStatus;
1483
+ /** True if BlobUpload, false if BlobIndex. */
1484
+ readonly isUpload: boolean;
1485
+ /** True if signature matched. */
1486
+ isUploadSignMatch?: boolean;
1487
+ /** Exists when an upload failed and was restarted,
1488
+ * but the error was recoverable.
1489
+ * If the error was non-recoverable,
1490
+ * the driver's computable will throw an error instead. */
1491
+ lastError?: string;
1492
+ }
1493
+ /** Almost direct mapping from proto struct got from gRPC. */
1494
+ interface ImportStatus {
1495
+ /** A float from 0 to 1 and is equal to bytesProcessed / bytesTotal. */
1496
+ readonly progress: number;
1497
+ readonly bytesProcessed?: number;
1498
+ readonly bytesTotal?: number;
1499
+ }
1500
+ /** Prefix constants — single source of truth for handle format. */
1501
+ declare const LIVE_LOG_PREFIX = "log+live://log/";
1502
+ declare const READY_LOG_PREFIX = "log+ready://log/";
1503
+ /** Handle of the live logs of a program.
1504
+ * The resource that represents a log can be deleted,
1505
+ * in this case the handle should be refreshed. */
1506
+ type LiveLogHandle = Branded$1<`${typeof LIVE_LOG_PREFIX}${string}`, "LiveLogHandle">;
1507
+ /** Handle of the ready logs of a program. */
1508
+ type ReadyLogHandle = Branded$1<`${typeof READY_LOG_PREFIX}${string}`, "ReadyLogHandle">;
1509
+ /** Handle of logs. This handle should be passed
1510
+ * to the driver for retrieving logs. */
1511
+ type AnyLogHandle = LiveLogHandle | ReadyLogHandle;
1512
+ /** Driver to retrieve logs given log handle */
1513
+ interface LogsDriver {
1514
+ lastLines(
1515
+ /** A handle that was issued previously. */
1516
+ handle: AnyLogHandle,
1517
+ /** Allows client to limit total data sent from server. */
1518
+ lineCount: number,
1519
+ /** Makes streamer to perform seek operation to given offset before sending the contents.
1520
+ * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
1521
+ * If undefined, then starts from the end. */
1522
+ offsetBytes?: number,
1523
+ /** Is substring for line search pattern.
1524
+ * This option makes controller to send to the client only lines, that
1525
+ * have given substring. */
1526
+ searchStr?: string): Promise<StreamingApiResponse>;
1527
+ readText(
1528
+ /** A handle that was issued previously. */
1529
+ handle: AnyLogHandle,
1530
+ /** Allows client to limit total data sent from server. */
1531
+ lineCount: number,
1532
+ /** Makes streamer to perform seek operation to given offset before sending the contents.
1533
+ * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
1534
+ * If undefined of 0, then starts from the beginning. */
1535
+ offsetBytes?: number,
1536
+ /** Is substring for line search pattern.
1537
+ * This option makes controller to send to the client only lines, that
1538
+ * have given substring. */
1539
+ searchStr?: string): Promise<StreamingApiResponse>;
1540
+ }
1541
+ /** Response of the driver.
1542
+ * The caller should give a handle to retrieve it.
1543
+ * It can be OK or outdated, in which case the handle
1544
+ * should be issued again. */
1545
+ type StreamingApiResponse = StreamingApiResponseOk | StreamingApiResponseHandleOutdated;
1546
+ type StreamingApiResponseOk = {
1547
+ /** The handle don't have to be updated,
1548
+ * the response is OK. */
1549
+ shouldUpdateHandle: false;
1550
+ /** Whether the log can still grow or it's in a final state. */
1551
+ live: boolean;
1552
+ /** Data of the response, in bytes. */
1553
+ data: Uint8Array;
1554
+ /** Current size of the file. It can grow if it's still live. */
1555
+ size: number;
1556
+ /** Offset in bytes from the beginning of a file. */
1557
+ newOffset: number;
1496
1558
  };
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.52.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;
1559
+ /** The handle should be issued again, this one is done. */
1560
+ type StreamingApiResponseHandleOutdated = {
1561
+ shouldUpdateHandle: true;
1507
1562
  };
1508
- //#endregion
1509
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/json.d.ts
1510
- //#region src/json.d.ts
1511
1563
  type JsonPrimitive = string | number | boolean | null;
1512
1564
  type JsonValue = JsonPrimitive | JsonValue[] | {
1513
1565
  [key: string]: JsonValue;
@@ -1520,82 +1572,6 @@ type StringifiedJson<T = unknown> = JsonCompatible<T> extends never ? never : st
1520
1572
  type CanonicalizedJson<T = unknown> = JsonCompatible<T> extends never ? never : string & {
1521
1573
  __json_canonicalized: T;
1522
1574
  };
1523
- //#endregion
1524
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.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.52.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.52.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.52.0/node_modules/@milaboratories/pl-model-common/dist/pool_entry.d.ts
1598
- //#region src/pool_entry.d.ts
1599
1575
  interface PoolEntry<K extends string = string, R extends {} = {}> extends Disposable {
1600
1576
  /** Resource key, calculated using provided `calculateParamsKey` function */
1601
1577
  readonly key: K;
@@ -1608,9 +1584,6 @@ interface PoolEntry<K extends string = string, R extends {} = {}> extends Dispos
1608
1584
  */
1609
1585
  readonly unref: () => void;
1610
1586
  }
1611
- //#endregion
1612
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/table_common.d.ts
1613
- //#region src/drivers/pframe/table_common.d.ts
1614
1587
  type PTableColumnSpecAxis = {
1615
1588
  type: "axis";
1616
1589
  id: AxisId;
@@ -1640,9 +1613,6 @@ type PTableColumnIdColumn = {
1640
1613
  };
1641
1614
  /** Unified PTable column identifier */
1642
1615
  type PTableColumnId = PTableColumnIdAxis | PTableColumnIdColumn;
1643
- //#endregion
1644
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/data_types.d.ts
1645
- //#region src/drivers/pframe/data_types.d.ts
1646
1616
  type PVectorDataInt = Int32Array;
1647
1617
  type PVectorDataLong = BigInt64Array;
1648
1618
  type PVectorDataFloat = Float32Array;
@@ -1736,10 +1706,6 @@ interface ExportPTableOptions {
1736
1706
  */
1737
1707
  headerNames?: string[];
1738
1708
  }
1739
- //#endregion
1740
- //#endregion
1741
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/data_info.d.ts
1742
- //#region src/drivers/pframe/data_info.d.ts
1743
1709
  /**
1744
1710
  * Represents a JavaScript representation of a value in a PColumn. Can be null, a number, or a string.
1745
1711
  * These are the primitive types that can be stored directly in PColumns.
@@ -1823,245 +1789,79 @@ type DataInfo<Blob> = JsonDataInfo | JsonPartitionedDataInfo<Blob> | BinaryParti
1823
1789
  */
1824
1790
  type PColumnValuesEntry = {
1825
1791
  key: PColumnKey;
1826
- val: PColumnValue;
1827
- };
1828
- /**
1829
- * Array of key-value entries representing explicit column data.
1830
- * Used for lightweight explicit instantiation of PColumns.
1831
- */
1832
- type PColumnValues = PColumnValuesEntry[];
1833
- //#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.52.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.52.0/node_modules/@milaboratories/pl-model-common/dist/ref.d.ts
1878
- //#region src/ref.d.ts
1879
- declare const PlRef: ZodReadonly<ZodObject<{
1880
- __isRef: ZodLiteral<true>;
1881
- blockId: ZodString;
1882
- name: ZodString;
1883
- requireEnrichments: ZodOptional<ZodLiteral<true>>;
1884
- }, "strip", ZodTypeAny, {
1885
- __isRef: true;
1886
- blockId: string;
1887
- name: string;
1888
- requireEnrichments?: true | undefined;
1889
- }, {
1890
- __isRef: true;
1891
- blockId: string;
1892
- name: string;
1893
- requireEnrichments?: true | undefined;
1894
- }>>;
1895
- type PlRef = TypeOf<typeof PlRef>;
1896
- //#endregion
1897
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/interfaces.d.ts
1898
- //#region src/drivers/interfaces.d.ts
1899
- /**
1900
- * Intended to match web.Blob, node.Blob, node-fetch.Blob, etc.
1901
- */
1902
- interface BlobLike {
1903
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size) */
1904
- readonly size: number;
1905
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type) */
1906
- readonly type: string;
1907
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text) */
1908
- text(): Promise<string>;
1909
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
1910
- slice(start?: number, end?: number): BlobLike;
1911
- }
1912
- /**
1913
- * Intended to match web.File, node.File, node-fetch.File, etc.
1914
- */
1915
- interface FileLike extends BlobLike {
1916
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified) */
1917
- readonly lastModified: number;
1918
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name) */
1919
- readonly name: string;
1920
- }
1921
- //#endregion
1922
- //#endregion
1923
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/blob.d.ts
1924
- //#region src/drivers/blob.d.ts
1925
- /** Handle of locally downloaded blob. This handle is issued only after the
1926
- * blob's content is downloaded locally, and ready for quick access. */
1927
- type LocalBlobHandle = Branded$1<string, "LocalBlobHandle">;
1928
- /** Handle of remote blob. This handle is issued as soon as the data becomes
1929
- * available on the remote server. */
1930
- type RemoteBlobHandle = Branded$1<string, "RemoteBlobHandle">;
1931
- /** Being configured inside the output structure provides information about
1932
- * blob's content and means to retrieve it when needed. */
1933
- interface BlobHandleAndSize<H extends LocalBlobHandle | RemoteBlobHandle = LocalBlobHandle | RemoteBlobHandle> {
1934
- /** Handle to retrieve block content using {@link BlobDriver.getContent()} */
1935
- readonly handle: H;
1936
- /** Blob size in bytes. */
1937
- readonly size: number;
1938
- }
1939
- /** Range in bytes, from should be less than to. */
1940
- declare const RangeBytes: ZodObject<{
1941
- /** Included left border. */
1942
- from: ZodNumber;
1943
- /** Excluded right border. */
1944
- to: ZodNumber;
1945
- }, "strip", ZodTypeAny, {
1946
- from: number;
1947
- to: number;
1948
- }, {
1949
- from: number;
1950
- to: number;
1951
- }>;
1952
- type RangeBytes = TypeOf<typeof RangeBytes>;
1953
- /** Being configured inside the output structure provides information about
1954
- * locally downloaded blob and means to retrieve it's content when needed. This
1955
- * structure is created only after the blob's content is downloaded locally, and
1956
- * ready for quick access. */
1957
- type LocalBlobHandleAndSize = BlobHandleAndSize<LocalBlobHandle>;
1958
- /** Being configured inside the output structure provides information about
1959
- * remote blob and means to retrieve it's content when needed. This structure
1960
- * is created as soon as remote blob becomes available. */
1961
- type RemoteBlobHandleAndSize = BlobHandleAndSize<RemoteBlobHandle>;
1962
- /** Defines API of blob driver as it is seen from the block UI code. */
1963
- interface BlobDriver {
1964
- /**
1965
- * Given the blob handle returns its content.
1966
- * Depending on the handle type, content will be served from locally downloaded file,
1967
- * or directly from remote platforma storage.
1968
- */
1969
- getContent(handle: LocalBlobHandle | RemoteBlobHandle, range?: RangeBytes): Promise<Uint8Array>;
1970
- }
1971
- //#endregion
1972
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/upload.d.ts
1973
- //#region src/drivers/upload.d.ts
1974
- interface ImportProgress {
1975
- done: boolean;
1976
- /** Status of indexing/uploading got from platforma gRPC. */
1977
- status?: ImportStatus;
1978
- /** True if BlobUpload, false if BlobIndex. */
1979
- readonly isUpload: boolean;
1980
- /** True if signature matched. */
1981
- isUploadSignMatch?: boolean;
1982
- /** Exists when an upload failed and was restarted,
1983
- * but the error was recoverable.
1984
- * If the error was non-recoverable,
1985
- * the driver's computable will throw an error instead. */
1986
- lastError?: string;
1987
- }
1988
- /** Almost direct mapping from proto struct got from gRPC. */
1989
- interface ImportStatus {
1990
- /** A float from 0 to 1 and is equal to bytesProcessed / bytesTotal. */
1991
- readonly progress: number;
1992
- readonly bytesProcessed?: number;
1993
- readonly bytesTotal?: number;
1994
- }
1995
- //#endregion
1996
- //#endregion
1997
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/log.d.ts
1998
- //#region src/drivers/log.d.ts
1999
- /** Prefix constants — single source of truth for handle format. */
2000
- declare const LIVE_LOG_PREFIX = "log+live://log/";
2001
- declare const READY_LOG_PREFIX = "log+ready://log/";
2002
- /** Handle of the live logs of a program.
2003
- * The resource that represents a log can be deleted,
2004
- * in this case the handle should be refreshed. */
2005
- type LiveLogHandle = Branded$1<`${typeof LIVE_LOG_PREFIX}${string}`, "LiveLogHandle">;
2006
- /** Handle of the ready logs of a program. */
2007
- type ReadyLogHandle = Branded$1<`${typeof READY_LOG_PREFIX}${string}`, "ReadyLogHandle">;
2008
- /** Handle of logs. This handle should be passed
2009
- * to the driver for retrieving logs. */
2010
- type AnyLogHandle = LiveLogHandle | ReadyLogHandle;
2011
- /** Driver to retrieve logs given log handle */
2012
- interface LogsDriver {
2013
- lastLines(
2014
- /** A handle that was issued previously. */
2015
- handle: AnyLogHandle,
2016
- /** Allows client to limit total data sent from server. */
2017
- lineCount: number,
2018
- /** Makes streamer to perform seek operation to given offset before sending the contents.
2019
- * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
2020
- * If undefined, then starts from the end. */
2021
- offsetBytes?: number,
2022
- /** Is substring for line search pattern.
2023
- * This option makes controller to send to the client only lines, that
2024
- * have given substring. */
2025
- searchStr?: string): Promise<StreamingApiResponse>;
2026
- readText(
2027
- /** A handle that was issued previously. */
2028
- handle: AnyLogHandle,
2029
- /** Allows client to limit total data sent from server. */
2030
- lineCount: number,
2031
- /** Makes streamer to perform seek operation to given offset before sending the contents.
2032
- * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
2033
- * If undefined of 0, then starts from the beginning. */
2034
- offsetBytes?: number,
2035
- /** Is substring for line search pattern.
2036
- * This option makes controller to send to the client only lines, that
2037
- * have given substring. */
2038
- searchStr?: string): Promise<StreamingApiResponse>;
2039
- }
2040
- /** Response of the driver.
2041
- * The caller should give a handle to retrieve it.
2042
- * It can be OK or outdated, in which case the handle
2043
- * should be issued again. */
2044
- type StreamingApiResponse = StreamingApiResponseOk | StreamingApiResponseHandleOutdated;
2045
- type StreamingApiResponseOk = {
2046
- /** The handle don't have to be updated,
2047
- * the response is OK. */
2048
- shouldUpdateHandle: false;
2049
- /** Whether the log can still grow or it's in a final state. */
2050
- live: boolean;
2051
- /** Data of the response, in bytes. */
2052
- data: Uint8Array;
2053
- /** Current size of the file. It can grow if it's still live. */
2054
- size: number;
2055
- /** Offset in bytes from the beginning of a file. */
2056
- newOffset: number;
2057
- };
2058
- /** The handle should be issued again, this one is done. */
2059
- type StreamingApiResponseHandleOutdated = {
2060
- shouldUpdateHandle: true;
1792
+ val: PColumnValue;
1793
+ };
1794
+ /**
1795
+ * Array of key-value entries representing explicit column data.
1796
+ * Used for lightweight explicit instantiation of PColumns.
1797
+ */
1798
+ type PColumnValues = PColumnValuesEntry[];
1799
+ /** One output of one block: the block and the name of the output in its output context. */
1800
+ declare const BlockOutput: ZodObject<{
1801
+ blockId: ZodString;
1802
+ name: ZodString;
1803
+ }, "strip", ZodTypeAny, {
1804
+ blockId: string;
1805
+ name: string;
1806
+ }, {
1807
+ blockId: string;
1808
+ name: string;
1809
+ }>;
1810
+ type BlockOutput = Readonly<TypeOf<typeof BlockOutput>>;
1811
+ declare const PlRef: ZodReadonly<ZodObject<{
1812
+ blockId: ZodString;
1813
+ name: ZodString;
1814
+ __isRef: ZodLiteral<true>;
1815
+ requireEnrichments: ZodOptional<ZodLiteral<true>>;
1816
+ }, "strip", ZodTypeAny, {
1817
+ blockId: string;
1818
+ name: string;
1819
+ __isRef: true;
1820
+ requireEnrichments?: true | undefined;
1821
+ }, {
1822
+ blockId: string;
1823
+ name: string;
1824
+ __isRef: true;
1825
+ requireEnrichments?: true | undefined;
1826
+ }>>;
1827
+ type PlRef = TypeOf<typeof PlRef>;
1828
+ /**
1829
+ * Phantom-property brand. The key is a plain string literal rather than a
1830
+ * `unique symbol` so the resulting type stays fully nameable across packages.
1831
+ *
1832
+ * A `unique symbol` key forces TS, when forced to expand `Branded<T, B>` into
1833
+ * its structural form (e.g. inside `Record<BrandedUnion, V>` index signatures
1834
+ * during dts emit), to write out `typeof __brand` — a value-level reference
1835
+ * to the symbol. If the symbol's declaring module isn't reachable from the
1836
+ * compilation root, dts emit fails with TS4023 ("cannot be named"). Using a
1837
+ * string key sidesteps this entirely: `{ __brand: B }` is a plain structural
1838
+ * type, nameable from anywhere.
1839
+ *
1840
+ * Phantom keys provide compile-time discrimination only — two different brand
1841
+ * tags `B1 ≠ B2` make `Branded<T, B1>` and `Branded<T, B2>` mutually
1842
+ * incompatible regardless of whether the key is a symbol or a string.
1843
+ */
1844
+ type Branded<T, B> = T & {
1845
+ readonly __brand: B;
2061
1846
  };
2062
- //#endregion
2063
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/column_filter.d.ts
2064
- //#region src/drivers/pframe/column_filter.d.ts
1847
+ type Nil = null | undefined;
1848
+ /**
1849
+ * A picked value of a column, as a block passes it to its workflow: always text. A number cell
1850
+ * is picked as its decimal string (`String(cell)`), so a value picked from a number column and
1851
+ * the same value picked as text are one value.
1852
+ */
1853
+ type ColumnValue = string;
1854
+ /** A column a block's args reference, with the values of it they picked. */
1855
+ interface ColumnReference {
1856
+ /**
1857
+ * The column id in canonical form. A plain output is the bare
1858
+ * `{ __isRef, blockId, name }` id whether the args held it with `requireEnrichments` or
1859
+ * without, as an object or as a string.
1860
+ */
1861
+ ref: ColumnUniversalId;
1862
+ /** Distinct picked values in the order first met; `null` when the args picked none. */
1863
+ values: null | ColumnValue[];
1864
+ }
2065
1865
  /** Allows to search multiple columns in different contexts. */
2066
1866
  interface ColumnFilter {
2067
1867
  /** Match any of the types listed here. If undefined, will be ignored during
@@ -2078,10 +1878,6 @@ interface ColumnFilter {
2078
1878
  * pattern. */
2079
1879
  readonly annotationPattern?: Record<string, string>;
2080
1880
  }
2081
- //#endregion
2082
- //#endregion
2083
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/filter_spec.d.ts
2084
- //#region src/drivers/pframe/filter_spec.d.ts
2085
1881
  type FilterSpecNode<Leaf, CommonNode = {}, CommonLeaf = {}> = (CommonLeaf & Leaf) | (CommonNode & {
2086
1882
  type: "not";
2087
1883
  filter: FilterSpecNode<Leaf, CommonNode, CommonLeaf>;
@@ -2200,9 +1996,6 @@ type FilterSpec<Leaf extends FilterSpecLeaf<unknown> = FilterSpecLeaf<SUniversal
2200
1996
  type RootFilterSpec<Leaf extends FilterSpecLeaf<unknown> = FilterSpecLeaf<SUniversalPColumnId>, CommonNode = {}, CommonLeaf = CommonNode> = Extract<FilterSpec<Leaf, CommonNode, CommonLeaf>, {
2201
1997
  type: "or" | "and";
2202
1998
  }>;
2203
- //#endregion
2204
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/find_columns.d.ts
2205
- //#region src/drivers/pframe/find_columns.d.ts
2206
1999
  /**
2207
2000
  * Request to search among existing columns in the PFrame. Two filtering
2208
2001
  * criteria can be used: (1) column ашдеук, to search for columns with
@@ -2227,10 +2020,6 @@ interface FindColumnsResponse {
2227
2020
  /** Array of column ids found using request criteria. */
2228
2021
  readonly hits: PColumnIdAndSpec[];
2229
2022
  }
2230
- //#endregion
2231
- //#endregion
2232
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/unique_values.d.ts
2233
- //#region src/drivers/pframe/unique_values.d.ts
2234
2023
  /** Calculate set of unique values for a specific axis for the filtered set of records */
2235
2024
  interface UniqueValuesRequest {
2236
2025
  /** Target axis id */
@@ -2248,15 +2037,8 @@ interface UniqueValuesResponse {
2248
2037
  /** True if limit was reached and response contain non-exhaustive list of values. */
2249
2038
  readonly overflow: boolean;
2250
2039
  }
2251
- //#endregion
2252
- //#endregion
2253
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/pframe.d.ts
2254
2040
  /** Information required to instantiate a PFrame. */
2255
2041
  type PFrameDef<Col> = Col[];
2256
- //#endregion
2257
- //#endregion
2258
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/driver.d.ts
2259
- //#region src/drivers/pframe/driver.d.ts
2260
2042
  /** PFrame handle */
2261
2043
  type PFrameHandle = Branded$1<string, "PFrame">;
2262
2044
  /** PFrame handle */
@@ -2322,10 +2104,6 @@ interface PFrameDriver {
2322
2104
  */
2323
2105
  exportPTable(handle: PTableHandle, options: ExportPTableOptions): Promise<void>;
2324
2106
  }
2325
- //#endregion
2326
- //#endregion
2327
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/ls.d.ts
2328
- //#region src/drivers/ls.d.ts
2329
2107
  type ImportFileHandleUpload = `upload://upload/${string}`;
2330
2108
  type ImportFileHandleIndex = `index://index/${string}`;
2331
2109
  type ImportFileHandle = ImportFileHandleUpload | ImportFileHandleIndex;
@@ -2404,9 +2182,6 @@ interface LsDriver {
2404
2182
  /** Saves currently opened block webview as a PDF. */
2405
2183
  exportToPdf?(): Promise<void>;
2406
2184
  }
2407
- //#endregion
2408
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/columns/column_selector.d.ts
2409
- //#region src/columns/column_selector.d.ts
2410
2185
  /** Relaxed string matcher input: plain string, single matcher, or array of mixed. */
2411
2186
  type RelaxedStringMatchers = string | StringMatcher | (string | StringMatcher)[];
2412
2187
  /** Relaxed record matcher: values can be plain strings or relaxed matchers. */
@@ -2431,9 +2206,6 @@ interface RelaxedColumnSelector {
2431
2206
  }
2432
2207
  /** One or many relaxed column selectors; normalizes to MultiColumnSelector[]. */
2433
2208
  type ColumnSelector = RelaxedColumnSelector | RelaxedColumnSelector[];
2434
- //#endregion
2435
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/columns/discover_columns_options.d.ts
2436
- //#region src/drivers/columns/discover_columns_options.d.ts
2437
2209
  /**
2438
2210
  * Axis matching behaviour applied to `discover` requests.
2439
2211
  *
@@ -2479,9 +2251,6 @@ type ColumnsDiscoverOptions = DiscoverColumnsOptions;
2479
2251
  * of the filter surface — only `include` / `exclude` / `anchors`.
2480
2252
  */
2481
2253
  type ColumnsFilterOptions = Omit<DiscoverColumnsOptions, "mode" | "maxHops">;
2482
- //#endregion
2483
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/columns/types.d.ts
2484
- //#region src/columns/types.d.ts
2485
2254
  /**
2486
2255
  * Opaque sandbox/host accessor handle.
2487
2256
  *
@@ -2560,9 +2329,6 @@ interface AccessorLike<Self extends AccessorLike<Self>> {
2560
2329
  /** Decode the data payload as JSON. Returns `undefined` if no data. */
2561
2330
  getDataAsJson<T = unknown>(): T | undefined;
2562
2331
  }
2563
- //#endregion
2564
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/columns/columns_collection_driver.d.ts
2565
- //#region src/drivers/columns/columns_collection_driver.d.ts
2566
2332
  /**
2567
2333
  * Opaque host-owned handle for a `ColumnsCollection` instance. Issued by
2568
2334
  * {@link ColumnsCollectionDriver.create}, refcounted by the driver, and
@@ -2620,13 +2386,14 @@ interface ColumnsCollectionDriverHost<A extends AccessorLike<A> = AccessorLike<a
2620
2386
  */
2621
2387
  getSpecDriver(): PFrameSpecDriver;
2622
2388
  /**
2623
- * Resolve the canonical {@link PColumnSpec} for a leaf {@link PObjectId}.
2389
+ * Resolve the {@link PObjectSpec} for a leaf {@link PObjectId}.
2624
2390
  * Returns `undefined` when the id is not present in the active registry
2625
2391
  * (e.g. handed to the driver via a `{kind:"ids"}` source whose underlying
2626
- * column has since left the visible scope). Override-wrapped ids are
2627
- * unwrapped by the caller — this method only resolves the underlying leaf.
2392
+ * column has since left the visible scope) or when its spec is not readable
2393
+ * yet. Override-wrapped ids are unwrapped by the caller — this method
2394
+ * only resolves the underlying leaf.
2628
2395
  */
2629
- resolveSpec(id: PObjectId): PColumnSpec | undefined;
2396
+ resolveSpec(id: PObjectId): PObjectSpec | undefined;
2630
2397
  }
2631
2398
  /**
2632
2399
  * Sandbox / UI view of the `ColumnsCollection` driver. Same methods as
@@ -2667,17 +2434,13 @@ interface ColumnsCollectionDriverModel {
2667
2434
  */
2668
2435
  interface ColumnsCollectionDriver {
2669
2436
  create(sources: ReadonlyArray<SerializedColumnsSource>, host: ColumnsCollectionDriverHost): PoolEntry<CollectionHandle>;
2670
- isEmpty(handle: CollectionHandle): boolean;
2437
+ isEmpty(handle: CollectionHandle, host: ColumnsCollectionDriverHost): boolean;
2671
2438
  isFinal(handle: CollectionHandle): boolean;
2672
2439
  getColumns(handle: CollectionHandle, host: ColumnsCollectionDriverHost): ColumnUniversalId[];
2673
2440
  addSource(handle: CollectionHandle, sources: ReadonlyArray<SerializedColumnsSource>, host: ColumnsCollectionDriverHost): PoolEntry<CollectionHandle>;
2674
2441
  discover(handle: CollectionHandle, options: ColumnsDiscoverOptions, host: ColumnsCollectionDriverHost): PoolEntry<CollectionHandle>;
2675
2442
  filter(handle: CollectionHandle, options: ColumnsFilterOptions, host: ColumnsCollectionDriverHost): PoolEntry<CollectionHandle>;
2676
2443
  }
2677
- //#endregion
2678
- //#endregion
2679
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/query/query_common.d.ts
2680
- //#region src/drivers/pframe/query/query_common.d.ts
2681
2444
  /**
2682
2445
  * Structural type information for a single column: the axis value types (in
2683
2446
  * order) and the single column value type. Mirrors the self-contained
@@ -3727,10 +3490,6 @@ interface QuerySpecOverride<Q, SO> {
3727
3490
  /** Spec override patch to overlay on the inner spec. */
3728
3491
  override: SO;
3729
3492
  }
3730
- //#endregion
3731
- //#endregion
3732
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/query/query_data.d.ts
3733
- //#region src/drivers/pframe/query/query_data.d.ts
3734
3493
  /**
3735
3494
  * Column identifier with type specification.
3736
3495
  *
@@ -3813,10 +3572,6 @@ type DataExprAxisRef = ExprAxisRef<number>;
3813
3572
  type DataExprColumnRef = ExprColumnRef<number>;
3814
3573
  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>;
3815
3574
  type DataQueryBooleanExpression = InferBooleanExpressionUnion<DataQueryExpression>;
3816
- //#endregion
3817
- //#endregion
3818
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec_driver.d.ts
3819
- //#region src/drivers/pframe/spec_driver.d.ts
3820
3575
  /** Matches a string value either exactly or by regex pattern */
3821
3576
  type StringMatcher = {
3822
3577
  type: "exact";
@@ -4033,9 +3788,6 @@ interface PFrameSpecDriver {
4033
3788
  filters: PTableRecordFilter[];
4034
3789
  }): DataQueryBooleanExpression[];
4035
3790
  }
4036
- //#endregion
4037
- //#endregion
4038
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/selectors.d.ts
4039
3791
  /** Single axis selector */
4040
3792
  interface SingleAxisSelector {
4041
3793
  /** Axis name (required) */
@@ -4056,9 +3808,6 @@ interface AxisQualification {
4056
3808
  /** Additional context domain entries applied to the axis. */
4057
3809
  readonly contextDomain: Record<string, string>;
4058
3810
  }
4059
- //#endregion
4060
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/filtered_column.d.ts
4061
- //#region src/drivers/pframe/spec/filtered_column.d.ts
4062
3811
  /** Value of an axis filter */
4063
3812
  type AxisFilterValue = number | string;
4064
3813
  /** Axis filter by index */
@@ -4074,9 +3823,6 @@ interface ColumnFilteredKey {
4074
3823
  axisFilters: AxisFilterByIdx[];
4075
3824
  }
4076
3825
  type ColumnFilteredId = Branded<CanonicalizedJson<ColumnFilteredKey>, "ColumnFilteredId">;
4077
- //#endregion
4078
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/query/query_spec.d.ts
4079
- //#region src/drivers/pframe/query/query_spec.d.ts
4080
3826
  /**
4081
3827
  * Join entry for spec-layer queries — the base join entry extended with
4082
3828
  * per-axis domain constraints. Absent `qualifications` is equivalent to `[]`.
@@ -4145,10 +3891,6 @@ type SpecExprAxisRef = ExprAxisRef<SingleAxisSelector>;
4145
3891
  type SpecExprColumnRef = ExprColumnRef<ColumnUniversalId>;
4146
3892
  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>;
4147
3893
  type SpecQueryBooleanExpression = InferBooleanExpressionUnion<SpecQueryExpression>;
4148
- //#endregion
4149
- //#endregion
4150
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/table_calculate.d.ts
4151
- //#region src/drivers/pframe/table_calculate.d.ts
4152
3894
  /** Defines a terminal column node in the join request tree */
4153
3895
  interface ColumnJoinEntry<Col> {
4154
3896
  /** Node type discriminator */
@@ -4435,9 +4177,6 @@ type CalculateTableDataRequest<Col> = {
4435
4177
  };
4436
4178
  /** Response for {@link CalculateTableDataRequest} */
4437
4179
  type CalculateTableDataResponse = FullPTableColumnData[];
4438
- //#endregion
4439
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/pool/spec.d.ts
4440
- //#region src/pool/spec.d.ts
4441
4180
  /** Any object exported into the result pool by the block always have spec attached to it */
4442
4181
  type PObjectSpec = {
4443
4182
  /** PObject kind discriminator */
@@ -4474,9 +4213,6 @@ interface PObject<Data> {
4474
4213
  /** A handle to data object */
4475
4214
  readonly data: Data;
4476
4215
  }
4477
- //#endregion
4478
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/spec.d.ts
4479
- //#region src/drivers/pframe/spec/spec.d.ts
4480
4216
  declare const ValueType: {
4481
4217
  readonly Int: "Int";
4482
4218
  readonly Long: "Long";
@@ -4625,9 +4361,20 @@ interface AxisId {
4625
4361
  }
4626
4362
  /** Array of axis ids */
4627
4363
  type AxesId = AxisId[];
4628
- //#endregion
4629
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/ids.d.ts
4630
- //#region src/drivers/pframe/spec/ids.d.ts
4364
+ type SpecOverrides = Pick<PColumnSpec, "domain" | "contextDomain" | "annotations"> & {
4365
+ axesSpec?: AxisPatches;
4366
+ };
4367
+ /**
4368
+ * `source` can reference a leaf or a Filtered/Discovered id, but never another
4369
+ * Overridden id — there is no `Overridden<Overridden<...>>`. Repeated overrides
4370
+ * merge at the outer wrapper via {@link mergeSpecOverrides}.
4371
+ */
4372
+ interface ColumnOverriddenKey {
4373
+ __isOverridden: true;
4374
+ source: Exclude<ColumnUniversalId, ColumnOverriddenId>;
4375
+ specOverrides: SpecOverrides;
4376
+ }
4377
+ type ColumnOverriddenId = Branded<CanonicalizedJson<ColumnOverriddenKey>, "ColumnOverriddenId">;
4631
4378
  /**
4632
4379
  * Per-axis patches keyed by positional index in the base spec's `axesSpec`.
4633
4380
  *
@@ -4644,9 +4391,6 @@ type AxisPatches = Record<number, Partial<AxisSpec>>;
4644
4391
  */
4645
4392
  type SUniversalPColumnId = ColumnUniversalId;
4646
4393
  type ColumnUniversalId = LocalPObjectId | GlobalPObjectId | ColumnFilteredId | ColumnDiscoveredId | ColumnOverriddenId;
4647
- //#endregion
4648
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/discovered_column.d.ts
4649
- //#region src/drivers/pframe/spec/discovered_column.d.ts
4650
4394
  interface ColumnDiscoveredKey {
4651
4395
  __isDiscovered: true;
4652
4396
  column: ColumnUniversalId;
@@ -4659,9 +4403,194 @@ type PathItem = {
4659
4403
  type: "linker";
4660
4404
  column: ColumnUniversalId;
4661
4405
  };
4662
- //#endregion
4663
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/services/service_types.d.ts
4664
- //#region src/services/service_types.d.ts
4406
+ /**
4407
+ * How a reference an args holds fares against what the last run of the producing block exports:
4408
+ * - `ok` — the output is exported and holds every picked value, or the reference picks none;
4409
+ * - `pending` — the producer's run, or the column data, is still being computed;
4410
+ * - `notRun` — the producer has no last run, so it exports nothing yet;
4411
+ * - `unreadable` — the output is exported, but its values cannot be read: the spec does not list
4412
+ * them and the data is not JSON, or looking up or reading the column failed;
4413
+ * - `unavailable` — the output is not exported: the producer is deleted, is not above the block
4414
+ * holding the reference, or its run no longer exports the output;
4415
+ * - `missingValues` — the output is exported, but lacks the listed picked values.
4416
+ */
4417
+ type LinkCheck = {
4418
+ type: "ok";
4419
+ } | {
4420
+ type: "pending";
4421
+ } | {
4422
+ type: "notRun";
4423
+ } | {
4424
+ type: "unreadable";
4425
+ } | {
4426
+ type: "unavailable";
4427
+ } | {
4428
+ type: "missingValues";
4429
+ values: ColumnValue[];
4430
+ };
4431
+ /** A column of another block that a block's args reference, with the values picked from it. */
4432
+ interface OutgoingReference extends ColumnReference {
4433
+ /** The block output the column is computed from. */
4434
+ producer: BlockOutput;
4435
+ }
4436
+ /**
4437
+ * How a reference fares against the last run of its producer, with the label of the column:
4438
+ * `pl7.app/label` of the exported column, or, when the last run does not export it, of the
4439
+ * column the producer prepares before it is run; `null` when neither has one.
4440
+ */
4441
+ interface ExportVerdict {
4442
+ check: LinkCheck;
4443
+ columnLabel: null | string;
4444
+ }
4445
+ /** A reference one block's args hold to a column another block exports, as it was checked. */
4446
+ interface ColumnLink extends OutgoingReference, ExportVerdict {
4447
+ /** The block whose args hold the reference. */
4448
+ holderBlockId: string;
4449
+ }
4450
+ /**
4451
+ * Column links of block `blockId`: `dependencies` — outputs of other blocks its args reference,
4452
+ * its current args, else those of its last run; `dependents` — references the args of other
4453
+ * blocks hold to its outputs. Each is checked against the last run of the block exporting the
4454
+ * column. `labels` maps the other blocks the links name to their labels, for those that have one.
4455
+ */
4456
+ interface BlockColumnLinks {
4457
+ blockId: string;
4458
+ dependencies: ColumnLink[];
4459
+ dependents: ColumnLink[];
4460
+ labels: Record<string, string>;
4461
+ }
4462
+ declare const BasePlErrorLike: ZodObject<{
4463
+ type: ZodLiteral<"PlError">;
4464
+ name: ZodString;
4465
+ message: ZodString;
4466
+ /** The message with all details needed for SDK developers. */
4467
+ fullMessage: ZodOptional<ZodString>;
4468
+ stack: ZodOptional<ZodString>;
4469
+ }, "strip", ZodTypeAny, {
4470
+ type: "PlError";
4471
+ name: string;
4472
+ message: string;
4473
+ fullMessage?: string | undefined;
4474
+ stack?: string | undefined;
4475
+ }, {
4476
+ type: "PlError";
4477
+ name: string;
4478
+ message: string;
4479
+ fullMessage?: string | undefined;
4480
+ stack?: string | undefined;
4481
+ }>;
4482
+ /** Known Pl backend and ML errors. */
4483
+ type PlErrorLike = TypeOf<typeof BasePlErrorLike> & {
4484
+ cause?: ErrorLike;
4485
+ errors?: ErrorLike[];
4486
+ };
4487
+ declare const PlErrorLike: ZodType<PlErrorLike>;
4488
+ declare const BaseStandardErrorLike: ZodObject<{
4489
+ type: ZodLiteral<"StandardError">;
4490
+ name: ZodString;
4491
+ message: ZodString;
4492
+ stack: ZodOptional<ZodString>;
4493
+ }, "strip", ZodTypeAny, {
4494
+ type: "StandardError";
4495
+ name: string;
4496
+ message: string;
4497
+ stack?: string | undefined;
4498
+ }, {
4499
+ type: "StandardError";
4500
+ name: string;
4501
+ message: string;
4502
+ stack?: string | undefined;
4503
+ }>;
4504
+ /** Others unknown errors that could be thrown by the client. */
4505
+ type StandardErrorLike = TypeOf<typeof BaseStandardErrorLike> & {
4506
+ cause?: ErrorLike;
4507
+ errors?: ErrorLike[];
4508
+ };
4509
+ declare const StandardErrorLike: ZodType<StandardErrorLike>;
4510
+ declare const ErrorLike: ZodUnion<[ZodType<StandardErrorLike, ZodTypeDef, StandardErrorLike>, ZodType<PlErrorLike, ZodTypeDef, PlErrorLike>]>;
4511
+ type ErrorLike = TypeOf<typeof ErrorLike>;
4512
+ type OutputWithStatus<T> = {
4513
+ ok: true;
4514
+ value: T;
4515
+ stable: boolean;
4516
+ } | {
4517
+ ok: false;
4518
+ errors: ErrorLike[];
4519
+ moreErrors: boolean;
4520
+ };
4521
+ /** Base type for block outputs */
4522
+ type BlockOutputsBase = Record<string, OutputWithStatus<unknown>>;
4523
+ /**
4524
+ * Part of the block state, representing current navigation information
4525
+ * (i.e. currently selected section)
4526
+ */
4527
+ type NavigationState<Href extends `/${string}` = `/${string}`> = {
4528
+ readonly href: Href;
4529
+ };
4530
+ /**
4531
+ * @template Args sets type of block arguments passed to the workflow
4532
+ * @template Outputs type of the outputs returned by the workflow and rendered
4533
+ * according to the output configuration specified for the block
4534
+ * @template UiState data that stores only UI related state, that is not passed
4535
+ * to the workflow
4536
+ * @template Href typed href to represent navigation state
4537
+ */
4538
+ type BlockState<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> = {
4539
+ /** Block arguments passed to the workflow */
4540
+ args: Args;
4541
+ /** UI State persisted in the block state but not passed to the backend
4542
+ * template */
4543
+ ui: UiState;
4544
+ /** Outputs rendered with block config */
4545
+ outputs: Outputs;
4546
+ /** Current navigation state */
4547
+ navigationState: NavigationState<Href>;
4548
+ readonly author: AuthorMarker | undefined;
4549
+ };
4550
+ type BlockStateV3<_Data = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, Href extends `/${string}` = `/${string}`> = {
4551
+ /** Block storage persisted in the block state */
4552
+ blockStorage: StringifiedJson;
4553
+ /** Outputs rendered with block config */
4554
+ outputs: Outputs;
4555
+ /** Current navigation state */
4556
+ navigationState: NavigationState<Href>;
4557
+ readonly author: AuthorMarker | undefined;
4558
+ /**
4559
+ * Column links of the block: outputs of other blocks its args reference, and blocks whose args
4560
+ * reference its outputs. `undefined` in app versions that do not compute them.
4561
+ */
4562
+ readonly columnLinks: BlockColumnLinks | undefined;
4563
+ };
4564
+ /**
4565
+ * File filter passed to the native save dialog. Matches Electron's
4566
+ * `FileFilter` shape so desktop runtimes can forward it verbatim.
4567
+ */
4568
+ interface FileFilter {
4569
+ name: string;
4570
+ extensions: string[];
4571
+ }
4572
+ /**
4573
+ * Options accepted by `Dialog.showSaveDialog`. The UI supplies only a
4574
+ * default file name; the main-process handler decides the default
4575
+ * directory (e.g. `~/Downloads`).
4576
+ */
4577
+ interface ShowSaveDialogOptions {
4578
+ defaultFileName?: string;
4579
+ filters?: FileFilter[];
4580
+ title?: string;
4581
+ }
4582
+ /** Result of `Dialog.showSaveDialog`. */
4583
+ interface ShowSaveDialogResult {
4584
+ canceled: boolean;
4585
+ path?: string;
4586
+ }
4587
+ /**
4588
+ * UI-facing save-dialog service. Implemented by desktop runtimes that
4589
+ * can open a native file picker; absent in web/preview environments.
4590
+ */
4591
+ interface DialogService {
4592
+ showSaveDialog(options: ShowSaveDialogOptions): Promise<ShowSaveDialogResult>;
4593
+ }
4665
4594
  type ServiceTypesLike<Model = unknown, Ui = unknown, Kind extends ServiceType = ServiceType, ModelHost = Model, UiHost = Ui> = {
4666
4595
  readonly __types?: {
4667
4596
  model: Model;
@@ -4689,19 +4618,12 @@ type UiServices$1 = { [K in keyof TServices as ExtractServiceName<TServices[K]>]
4689
4618
  type ServiceNameLiterals = { [K in keyof TServices]: ExtractServiceName<TServices[K]>; };
4690
4619
  /** Auto-derived requires* feature flags from Services keys. */
4691
4620
  type ServiceRequireFlags = { [K in keyof TServices as `requires${K & string}`]?: boolean; };
4692
- //#endregion
4693
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/services/service_declarations.d.ts
4694
- //#region src/services/service_declarations.d.ts
4695
4621
  declare const Services: {
4696
4622
  PFrameSpec: Branded$1<"pframeSpec", ServiceTypesLike<PFrameSpecDriver, PFrameSpecDriver, "wasm", PFrameSpecDriver, PFrameSpecDriver>>;
4697
4623
  PFrame: Branded$1<"pframe", ServiceTypesLike<PFrameModelDriver<PColumn<string | PColumnValues | DataInfo<string>>>, PFrameDriver, "node", PFrameModelDriver<PColumn<string | PColumnValues | DataInfo<string>>>, PFrameDriver>>;
4698
4624
  Dialog: Branded$1<"dialog", ServiceTypesLike<Record<string, never>, DialogService, "main", Record<string, never>, DialogService>>;
4699
4625
  ColumnsCollection: Branded$1<"columnsCollection", ServiceTypesLike<ColumnsCollectionDriverModel, ColumnsCollectionDriverModel, "wasm", ColumnsCollectionDriver, ColumnsCollectionDriver>>;
4700
4626
  };
4701
- //#endregion
4702
- //#endregion
4703
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/driver_kit.d.ts
4704
- //#region src/driver_kit.d.ts
4705
4627
  /** Set of all drivers exposed in UI SDK via the platforma object. */
4706
4628
  interface DriverKit {
4707
4629
  /** Driver allowing to retrieve blob data */
@@ -4720,31 +4642,31 @@ interface DriverKit {
4720
4642
  /** Driver allowing to interact with PFrames and PTables */
4721
4643
  readonly pFrameDriver: PFrameDriver;
4722
4644
  }
4723
- //#endregion
4724
- //#endregion
4725
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/flags/block_flags.d.ts
4726
4645
  /**
4727
4646
  * Known block flags. Flags are set during model compilation, see `BlockModelV3` feature flags for more details and for initial values.
4728
4647
  */
4729
4648
  type BlockCodeKnownFeatureFlags = {
4730
4649
  readonly supportsLazyState?: boolean;
4731
4650
  readonly supportsPframeQueryRanking?: boolean;
4651
+ /** The block UI reads `columnLinks` from the block state, so the app computes them for it. */
4652
+ readonly supportsColumnLinks?: boolean;
4732
4653
  readonly requiresModelAPIVersion?: number;
4733
4654
  readonly requiresUIAPIVersion?: number;
4734
4655
  readonly requiresCreatePTable?: number;
4735
4656
  readonly requiresPFramesVersion?: number;
4657
+ /**
4658
+ * The block may derive args while they are incomplete and keep them from running with
4659
+ * `argsIssues`. Set for every block the SDK builds. A runtime that does not know this flag
4660
+ * would run such incomplete args, so it must refuse the block.
4661
+ */
4662
+ readonly requiresArgsIssues?: boolean;
4736
4663
  } & ServiceRequireFlags;
4737
- //#endregion
4738
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/errors.d.ts
4739
4664
  type ResultOrError<S, F = Error> = {
4740
4665
  value: S;
4741
4666
  error?: undefined;
4742
4667
  } | {
4743
4668
  error: F;
4744
4669
  };
4745
- //#endregion
4746
- //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.52.0/node_modules/@milaboratories/pl-model-common/dist/utag.d.ts
4747
- //#region src/utag.d.ts
4748
4670
  /** Value returned for changing states supporting reactive listening for changes */
4749
4671
  interface ValueWithUTag<V> {
4750
4672
  /** Value snapshot. */
@@ -4761,10 +4683,6 @@ interface ValueWithUTag<V> {
4761
4683
  interface ValueWithUTagAndAuthor<V> extends ValueWithUTag<V> {
4762
4684
  readonly author?: AuthorMarker;
4763
4685
  }
4764
- //#endregion
4765
- //#endregion
4766
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/block_state_patch.d.ts
4767
- //#region src/block_state_patch.d.ts
4768
4686
  /** Patch for the structural object */
4769
4687
  type Patch<K, V> = {
4770
4688
  /** Field name to patch */
@@ -4776,10 +4694,6 @@ type Patch<K, V> = {
4776
4694
  type Unionize<T extends Record<string, unknown>> = { [K in keyof T]: Patch<K, T[K]>; }[keyof T];
4777
4695
  /** Patch for the BlockState, pushed by onStateUpdates method in SDK. */
4778
4696
  type BlockStatePatch<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> = Unionize<BlockState<Args, Outputs, UiState, Href>>;
4779
- //#endregion
4780
- //#endregion
4781
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/plugin_handle.d.ts
4782
- //#region src/plugin_handle.d.ts
4783
4697
  /**
4784
4698
  * Phantom-only base type for constraining PluginHandle's type parameter.
4785
4699
  *
@@ -4804,8 +4718,6 @@ interface PluginFactoryLike<Data extends Record<string, unknown> = Record<string
4804
4718
  * Constrained with PluginFactoryLike (not PluginFactory) to avoid variance issues.
4805
4719
  */
4806
4720
  type PluginHandle<F extends PluginFactoryLike = PluginFactoryLike> = Branded<string, F>;
4807
- //#endregion
4808
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/block_storage.d.ts
4809
4721
  /** Payload for storage mutation operations. SDK defines specific operations. */
4810
4722
  type MutateStoragePayload<T = unknown> = {
4811
4723
  operation: "update-block-data";
@@ -4815,8 +4727,6 @@ type MutateStoragePayload<T = unknown> = {
4815
4727
  pluginId: PluginHandle;
4816
4728
  value: unknown;
4817
4729
  };
4818
- //#endregion
4819
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/bconfig/lambdas.d.ts
4820
4730
  /** Additional information that may alter lambda rendering procedure. */
4821
4731
  type ConfigRenderLambdaFlags = {
4822
4732
  /**
@@ -4851,10 +4761,6 @@ type InferOutputsFromLambdas<OutputsCfg extends Record<string, ConfigRenderLambd
4851
4761
  withStatus: true;
4852
4762
  } ? false : true;
4853
4763
  }; };
4854
- //#endregion
4855
- //#endregion
4856
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/block_api_v1.d.ts
4857
- //#region src/block_api_v1.d.ts
4858
4764
  /** Returned by state subscription methods to be able to cancel the subscription. */
4859
4765
  type CancelSubscription = () => void;
4860
4766
  /** Defines methods to read and write current block data. */
@@ -4914,9 +4820,6 @@ interface BlockApiV1<Args = unknown, Outputs extends BlockOutputsBase = BlockOut
4914
4820
  * */
4915
4821
  setNavigationState(state: NavigationState<Href>): Promise<void>;
4916
4822
  }
4917
- //#endregion
4918
- //#endregion
4919
- //#region ../node_modules/.pnpm/fast-json-patch@3.1.1/node_modules/fast-json-patch/module/core.d.ts
4920
4823
  declare type Operation = AddOperation<any> | RemoveOperation | ReplaceOperation<any> | MoveOperation | CopyOperation | TestOperation<any> | GetOperation<any>;
4921
4824
  interface BaseOperation {
4922
4825
  path: string;
@@ -4948,9 +4851,6 @@ interface GetOperation<T> extends BaseOperation {
4948
4851
  op: '_get';
4949
4852
  value: T;
4950
4853
  }
4951
- //#endregion
4952
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/block_api_v2.d.ts
4953
- //#region src/block_api_v2.d.ts
4954
4854
  /** Defines methods to read and write current block data. */
4955
4855
  interface BlockApiV2<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> {
4956
4856
  /**
@@ -4998,15 +4898,9 @@ interface BlockApiV2<Args = unknown, Outputs extends BlockOutputsBase = BlockOut
4998
4898
  * */
4999
4899
  dispose(): Promise<ResultOrError<void>>;
5000
4900
  }
5001
- //#endregion
5002
- //#endregion
5003
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/version.d.ts
5004
4901
  type SdkInfo = {
5005
4902
  readonly sdkVersion: string;
5006
4903
  };
5007
- //#endregion
5008
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/services/block_services.d.ts
5009
- //#region src/services/block_services.d.ts
5010
4904
  /**
5011
4905
  * Services required by all V3 blocks by default.
5012
4906
  * Edit this when a new service should be available to all blocks.
@@ -5021,15 +4915,10 @@ declare const BLOCK_SERVICE_FLAGS: {
5021
4915
  readonly requiresColumnsCollection: true;
5022
4916
  };
5023
4917
  type BlockServiceFlags = typeof BLOCK_SERVICE_FLAGS;
5024
- //#endregion
5025
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/services/service_resolve.d.ts
5026
- //#region src/services/service_resolve.d.ts
5027
4918
  type FlagToName<Flag extends string> = Flag extends `requires${infer K}` ? K extends keyof ServiceNameLiterals ? ServiceNameLiterals[K] : never : never;
5028
4919
  type RequiredServiceNames<Flags> = { [K in keyof Flags & `requires${string}`]: Flags[K] extends true ? FlagToName<K & string> : never; }[keyof Flags & `requires${string}`];
5029
4920
  type ResolveUiServices<Flags> = Pick<UiServices$1, RequiredServiceNames<Flags> & keyof UiServices$1>;
5030
4921
  type BlockDefaultUiServices = ResolveUiServices<BlockServiceFlags>;
5031
- //#endregion
5032
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/plugin_model.d.ts
5033
4922
  /**
5034
4923
  * Runtime definition for a single public output field.
5035
4924
  * Stored in PluginModel and passed through BlockModelInfo to the UI layer.
@@ -5037,9 +4926,6 @@ type BlockDefaultUiServices = ResolveUiServices<BlockServiceFlags>;
5037
4926
  type PublicOutputFieldDef = {
5038
4927
  readonly getter: (data: unknown) => unknown;
5039
4928
  };
5040
- //#endregion
5041
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/block_api_v3.d.ts
5042
- //#region src/block_api_v3.d.ts
5043
4929
  /** Defines methods to read and write current block data. */
5044
4930
  interface BlockApiV3<_Data = unknown, _Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, Href extends `/${string}` = `/${string}`> {
5045
4931
  /**
@@ -5063,15 +4949,20 @@ interface BlockApiV3<_Data = unknown, _Args = unknown, Outputs extends BlockOutp
5063
4949
  * Sets block navigation state.
5064
4950
  * */
5065
4951
  setNavigationState(state: NavigationState<Href>): Promise<ResultOrError<void>>;
4952
+ /**
4953
+ * Opens another block of the same project in the app, as selecting it in the project does.
4954
+ * Resolves once the app has accepted the request, which may hide this block's UI; an error
4955
+ * result when the project has no block with this id.
4956
+ *
4957
+ * Absent in app versions that cannot open blocks on a block's request: check for it before
4958
+ * offering the user to open a block.
4959
+ * */
4960
+ openBlock?(blockId: string): Promise<ResultOrError<void>>;
5066
4961
  /**
5067
4962
  * Disposes the block API.
5068
4963
  * */
5069
4964
  dispose(): Promise<ResultOrError<void>>;
5070
4965
  }
5071
- //#endregion
5072
- //#endregion
5073
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/platforma.d.ts
5074
- //#region src/platforma.d.ts
5075
4966
  /** Defines all methods to interact with the platform environment from within a block UI. @deprecated */
5076
4967
  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 {
5077
4968
  /** Information about SDK version current platforma environment was compiled with. */
@@ -5110,9 +5001,6 @@ type BlockModelInfo = {
5110
5001
  type InferOutputsType<Pl extends Platforma> = Pl extends Platforma<unknown, infer Outputs> ? Outputs : never;
5111
5002
  type InferDataType<Pl extends Platforma> = Pl extends Platforma<unknown, Record<string, OutputWithStatus<unknown>>, infer Data> ? Data : never;
5112
5003
  type InferHrefType<Pl extends Platforma> = Pl extends Platforma<unknown, BlockOutputsBase, unknown, infer Href> ? Href : never;
5113
- //#endregion
5114
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV8.d.ts
5115
- //#region src/components/PlDataTable/typesV8.d.ts
5116
5004
  type PlTableColumnIdJson$1 = CanonicalizedJson<PTableColumnId>;
5117
5005
  type PlDataTableGridStateCore$1 = {
5118
5006
  /** Includes column ordering */
@@ -5180,16 +5068,13 @@ type PTableParamsV2$1 = {
5180
5068
  defaultFilters: null | PlDataTableFilters$1;
5181
5069
  };
5182
5070
  type PlDataTableStateV2Normalized$1 = {
5183
- /** Version for upgrades */
5184
- version: 8;
5071
+ /** Version for upgrades. v9 has the v8 shape; it marks column ids rewritten to the current form. */
5072
+ version: 9;
5185
5073
  /** Internal states, LRU cache for 5 sourceId-s */
5186
5074
  stateCache: PlDataTableStateV2CacheEntry$1[];
5187
5075
  /** PTable params derived from the cache state for the current sourceId */
5188
5076
  pTableParams: PTableParamsV2$1;
5189
5077
  };
5190
- //#endregion
5191
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV4.d.ts
5192
- //#region src/components/PlDataTable/typesV4.d.ts
5193
5078
  type PlDataTableFilterState = {
5194
5079
  id: PTableColumnId;
5195
5080
  alphabetic: boolean;
@@ -5339,10 +5224,6 @@ type PlTableFilterStringContainsFuzzyMatch = {
5339
5224
  type PlTableFilterString = PlTableFilterCommon | PlTableFilterStringEquals | PlTableFilterStringNotEquals | PlTableFilterStringContains | PlTableFilterStringDoesNotContain | PlTableFilterStringMatches | PlTableFilterStringDoesNotMatch | PlTableFilterStringContainsFuzzyMatch;
5340
5225
  /** All PlTableFilters filter entries */
5341
5226
  type PlTableFilter = PlTableFilterNumber | PlTableFilterString;
5342
- //#endregion
5343
- //#endregion
5344
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV7.d.ts
5345
- //#region src/components/PlDataTable/typesV7.d.ts
5346
5227
  type PlTableColumnIdJson = CanonicalizedJson<PTableColumnId>;
5347
5228
  type PlDataTableGridStateCore = {
5348
5229
  /** Includes column ordering */
@@ -5417,10 +5298,6 @@ type PlDataTableStateV2Normalized = {
5417
5298
  /** PTable params derived from the cache state for the current sourceId */
5418
5299
  pTableParams: PTableParamsV2;
5419
5300
  };
5420
- //#endregion
5421
- //#endregion
5422
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV6.d.ts
5423
- //#region src/components/PlDataTable/typesV6.d.ts
5424
5301
  /**
5425
5302
  * v6 colId scheme: bare canonicalized `PTableColumnSpec` (full spec including
5426
5303
  * all annotations and `pl7.app/trace`). v7 dropped the spec body and now uses
@@ -5454,10 +5331,6 @@ type PlDataTableStateV2V6 = {
5454
5331
  stateCache: PlDataTableStateV2V6CacheEntry[];
5455
5332
  pTableParams: PTableParamsV2;
5456
5333
  };
5457
- //#endregion
5458
- //#endregion
5459
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV5.d.ts
5460
- //#region src/components/PlDataTable/typesV5.d.ts
5461
5334
  /**
5462
5335
  * v5 colId wrapper. v5 stored every grid colId as `{ source, labeled }` —
5463
5336
  * `source` was the original column spec, `labeled` was the spec with
@@ -5483,10 +5356,6 @@ type PlDataTableGridStateV5 = {
5483
5356
  hiddenColIds: PlDataTableV5ColIdJson[];
5484
5357
  };
5485
5358
  };
5486
- //#endregion
5487
- //#endregion
5488
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.84.10/node_modules/@platforma-sdk/model/dist/components/PlDataTable/state-migration.d.ts
5489
- //#region src/components/PlDataTable/state-migration.d.ts
5490
5359
  /**
5491
5360
  * PlDataTableV2 persisted state
5492
5361
  */
@@ -5583,9 +5452,11 @@ type PlDataTableStateV2 = {
5583
5452
  searchString?: string;
5584
5453
  }[];
5585
5454
  pTableParams: PTableParamsV2;
5586
- } | PlDataTableStateV2V6 | PlDataTableStateV2Normalized | PlDataTableStateV2Normalized$1;
5587
- //#endregion
5588
- //#region ../model/dist/args.d.ts
5455
+ } | PlDataTableStateV2V6 | PlDataTableStateV2Normalized | PlDataTableStateV2V8 | PlDataTableStateV2Normalized$1;
5456
+ /** v8 state: the current shape, column ids not yet checked for the pre-rework form. */
5457
+ type PlDataTableStateV2V8 = Omit<PlDataTableStateV2Normalized$1, "version"> & {
5458
+ version: 8;
5459
+ };
5589
5460
  declare const BlockArgs: ZodObject<{
5590
5461
  assembleClonesBy: ZodOptional<ZodString>;
5591
5462
  assembleContigsBy: ZodOptional<ZodString>;
@@ -5593,39 +5464,38 @@ declare const BlockArgs: ZodObject<{
5593
5464
  cloneClusteringMode: ZodOptional<ZodEnum<["relaxed", "default", "off"]>>;
5594
5465
  customBlockLabel: ZodOptional<ZodOptional<ZodString>>;
5595
5466
  customSpecies: ZodOptional<ZodString>;
5596
- defaultBlockLabel: ZodOptional<ZodOptional<ZodString>>;
5597
5467
  exportMinQuality: ZodOptional<ZodBoolean>;
5598
5468
  imputeGermline: ZodOptional<ZodBoolean>;
5599
5469
  input: ZodOptional<ZodReadonly<ZodObject<{
5600
- __isRef: ZodLiteral<true>;
5601
5470
  blockId: ZodString;
5602
5471
  name: ZodString;
5472
+ __isRef: ZodLiteral<true>;
5603
5473
  requireEnrichments: ZodOptional<ZodLiteral<true>>;
5604
5474
  }, "strip", ZodTypeAny, {
5605
- __isRef: true;
5606
5475
  blockId: string;
5607
5476
  name: string;
5477
+ __isRef: true;
5608
5478
  requireEnrichments?: true | undefined;
5609
5479
  }, {
5610
- __isRef: true;
5611
5480
  blockId: string;
5612
5481
  name: string;
5482
+ __isRef: true;
5613
5483
  requireEnrichments?: true | undefined;
5614
5484
  }>>>;
5615
5485
  inputLibrary: ZodOptional<ZodReadonly<ZodObject<{
5616
- __isRef: ZodLiteral<true>;
5617
5486
  blockId: ZodString;
5618
5487
  name: ZodString;
5488
+ __isRef: ZodLiteral<true>;
5619
5489
  requireEnrichments: ZodOptional<ZodLiteral<true>>;
5620
5490
  }, "strip", ZodTypeAny, {
5621
- __isRef: true;
5622
5491
  blockId: string;
5623
5492
  name: string;
5493
+ __isRef: true;
5624
5494
  requireEnrichments?: true | undefined;
5625
5495
  }, {
5626
- __isRef: true;
5627
5496
  blockId: string;
5628
5497
  name: string;
5498
+ __isRef: true;
5629
5499
  requireEnrichments?: true | undefined;
5630
5500
  }>>>;
5631
5501
  isGenericPreset: ZodOptional<ZodBoolean>;
@@ -5718,19 +5588,18 @@ declare const BlockArgs: ZodObject<{
5718
5588
  cloneClusteringMode?: "default" | "off" | "relaxed" | undefined;
5719
5589
  customBlockLabel?: string | undefined;
5720
5590
  customSpecies?: string | undefined;
5721
- defaultBlockLabel?: string | undefined;
5722
5591
  exportMinQuality?: boolean | undefined;
5723
5592
  imputeGermline?: boolean | undefined;
5724
5593
  input?: Readonly<{
5725
- __isRef: true;
5726
5594
  blockId: string;
5727
5595
  name: string;
5596
+ __isRef: true;
5728
5597
  requireEnrichments?: true | undefined;
5729
5598
  }> | undefined;
5730
5599
  inputLibrary?: Readonly<{
5731
- __isRef: true;
5732
5600
  blockId: string;
5733
5601
  name: string;
5602
+ __isRef: true;
5734
5603
  requireEnrichments?: true | undefined;
5735
5604
  }> | undefined;
5736
5605
  isGenericPreset?: boolean | undefined;
@@ -5775,19 +5644,18 @@ declare const BlockArgs: ZodObject<{
5775
5644
  cloneClusteringMode?: "default" | "off" | "relaxed" | undefined;
5776
5645
  customBlockLabel?: string | undefined;
5777
5646
  customSpecies?: string | undefined;
5778
- defaultBlockLabel?: string | undefined;
5779
5647
  exportMinQuality?: boolean | undefined;
5780
5648
  imputeGermline?: boolean | undefined;
5781
5649
  input?: Readonly<{
5782
- __isRef: true;
5783
5650
  blockId: string;
5784
5651
  name: string;
5652
+ __isRef: true;
5785
5653
  requireEnrichments?: true | undefined;
5786
5654
  }> | undefined;
5787
5655
  inputLibrary?: Readonly<{
5788
- __isRef: true;
5789
5656
  blockId: string;
5790
5657
  name: string;
5658
+ __isRef: true;
5791
5659
  requireEnrichments?: true | undefined;
5792
5660
  }> | undefined;
5793
5661
  isGenericPreset?: boolean | undefined;
@@ -5827,10 +5695,6 @@ declare const BlockArgs: ZodObject<{
5827
5695
  title?: string | undefined;
5828
5696
  }>;
5829
5697
  type BlockArgs = TypeOf<typeof BlockArgs>;
5830
- //#endregion
5831
- //#endregion
5832
- //#region ../model/dist/index.d.ts
5833
- //#region src/index.d.ts
5834
5698
  type ListStepsParams = Pick<BlockArgs, "tagPattern" | "assembleClonesBy" | "assembleContigsBy" | "cloneClusteringMode">;
5835
5699
  type BlockData$1 = BlockArgs & {
5836
5700
  tableState: PlDataTableStateV2;
@@ -5841,12 +5705,11 @@ type BlockData$1 = BlockArgs & {
5841
5705
  listStepsParams?: ListStepsParams;
5842
5706
  };
5843
5707
  export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, {
5844
- defaultBlockLabel: string;
5845
5708
  customBlockLabel: string;
5846
5709
  input: Readonly<{
5847
- __isRef: true;
5848
5710
  blockId: string;
5849
5711
  name: string;
5712
+ __isRef: true;
5850
5713
  requireEnrichments?: true | undefined;
5851
5714
  }>;
5852
5715
  preset: {
@@ -5859,9 +5722,9 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, {
5859
5722
  chains: string[];
5860
5723
  scHeavyOnly: boolean | undefined;
5861
5724
  inputLibrary: Readonly<{
5862
- __isRef: true;
5863
5725
  blockId: string;
5864
5726
  name: string;
5727
+ __isRef: true;
5865
5728
  requireEnrichments?: true | undefined;
5866
5729
  }> | undefined;
5867
5730
  libraryFile: `index://index/${string}` | `upload://upload/${string}` | undefined;
@@ -5931,9 +5794,9 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, {
5931
5794
  } & {
5932
5795
  libraryOptions: ConfigRenderLambda<{
5933
5796
  readonly ref: {
5934
- readonly __isRef: true;
5935
5797
  readonly blockId: string;
5936
5798
  readonly name: string;
5799
+ readonly __isRef: true;
5937
5800
  readonly requireEnrichments?: true | undefined;
5938
5801
  };
5939
5802
  readonly label: string;
@@ -6011,9 +5874,9 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, {
6011
5874
  } & {
6012
5875
  inputOptions: ConfigRenderLambda<{
6013
5876
  readonly ref: {
6014
- readonly __isRef: true;
6015
5877
  readonly blockId: string;
6016
5878
  readonly name: string;
5879
+ readonly __isRef: true;
6017
5880
  readonly requireEnrichments?: true | undefined;
6018
5881
  };
6019
5882
  readonly label: string;
@@ -6042,6 +5905,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, {
6042
5905
  visibility?: "default" | "optional" | "hidden";
6043
5906
  order?: number;
6044
5907
  status?: AnnotationDataStatus;
5908
+ linkHint?: string;
6045
5909
  };
6046
5910
  [x: string & {
6047
5911
  __json_canonicalized: ColumnFilteredKey;
@@ -6052,6 +5916,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, {
6052
5916
  visibility?: "default" | "optional" | "hidden";
6053
5917
  order?: number;
6054
5918
  status?: AnnotationDataStatus;
5919
+ linkHint?: string;
6055
5920
  };
6056
5921
  [x: string & {
6057
5922
  __json_canonicalized: ColumnOverriddenKey;
@@ -6062,6 +5927,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, {
6062
5927
  visibility?: "default" | "optional" | "hidden";
6063
5928
  order?: number;
6064
5929
  status?: AnnotationDataStatus;
5930
+ linkHint?: string;
6065
5931
  };
6066
5932
  [x: string & {
6067
5933
  __json_canonicalized: LocalPObjectKey;
@@ -6072,12 +5938,13 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, {
6072
5938
  visibility?: "default" | "optional" | "hidden";
6073
5939
  order?: number;
6074
5940
  status?: AnnotationDataStatus;
5941
+ linkHint?: string;
6075
5942
  };
6076
5943
  [x: string & {
6077
5944
  __json_canonicalized: Readonly<{
6078
- __isRef: true;
6079
5945
  blockId: string;
6080
5946
  name: string;
5947
+ __isRef: true;
6081
5948
  requireEnrichments?: true | undefined;
6082
5949
  }>;
6083
5950
  } & {
@@ -6087,6 +5954,7 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, {
6087
5954
  visibility?: "default" | "optional" | "hidden";
6088
5955
  order?: number;
6089
5956
  status?: AnnotationDataStatus;
5957
+ linkHint?: string;
6090
5958
  };
6091
5959
  };
6092
5960
  axes: {
@@ -6115,8 +5983,6 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, {
6115
5983
  } & {
6116
5984
  libraryUploadProgress: ConfigRenderLambda<ImportProgress | undefined>;
6117
5985
  }>, "/" | "/qc-report-table", {}, BlockDefaultUiServices>>;
6118
- //#endregion
6119
- //#region src/index.d.ts
6120
5986
  export type BlockContract = {
6121
5987
  outputs: InferOutputsType<typeof platforma>;
6122
5988
  data: InferDataType<typeof platforma>;
@@ -6137,5 +6003,4 @@ export declare const MixcrClonotyping2BlockPointer: {
6137
6003
  readonly packUrl: string;
6138
6004
  readonly rootUrl: string;
6139
6005
  };
6140
- //#endregion
6141
6006
  //# sourceMappingURL=index.d.ts.map