@lmnr-ai/lmnr 0.8.53 → 0.8.55

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.
Files changed (38) hide show
  1. package/README.md +12 -0
  2. package/dist/cli.cjs +6 -9
  3. package/dist/cli.cjs.map +1 -1
  4. package/dist/cli.d.cts +1 -3
  5. package/dist/cli.d.mts +1 -3
  6. package/dist/cli.mjs +6 -9
  7. package/dist/cli.mjs.map +1 -1
  8. package/dist/{consts-9rSS0oeR.cjs → consts-X-pnRGD0.cjs} +2 -3
  9. package/dist/{consts-9rSS0oeR.cjs.map → consts-X-pnRGD0.cjs.map} +1 -1
  10. package/dist/{consts-CTTu3jhI.mjs → consts-r67THnT9.mjs} +2 -3
  11. package/dist/{consts-CTTu3jhI.mjs.map → consts-r67THnT9.mjs.map} +1 -1
  12. package/dist/{evaluations-BwB2JsRa.d.mts → evaluations-Bz4AjiEN.d.mts} +302 -1264
  13. package/dist/{evaluations-BXDpgOzM.d.cts → evaluations-CAossFsy.d.cts} +302 -1264
  14. package/dist/{file-utils-CyBBBeeW.cjs → file-utils-DvRb07ah.cjs} +7 -15
  15. package/dist/{file-utils-CyBBBeeW.cjs.map → file-utils-DvRb07ah.cjs.map} +1 -1
  16. package/dist/{file-utils-CwqjWMsF.mjs → file-utils-qSiXXrPa.mjs} +6 -14
  17. package/dist/{file-utils-CwqjWMsF.mjs.map → file-utils-qSiXXrPa.mjs.map} +1 -1
  18. package/dist/index.cjs +3893 -2308
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +1664 -512
  21. package/dist/index.d.mts +1664 -512
  22. package/dist/index.mjs +3905 -2322
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.cjs +117 -185
  25. package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.cjs.map +1 -1
  26. package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.d.cts +1 -453
  27. package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.d.mts +1 -453
  28. package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.mjs +117 -185
  29. package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.mjs.map +1 -1
  30. package/dist/{rolldown-runtime-Ctb5zv51.cjs → rolldown-runtime-C-fzZZTt.cjs} +2 -3
  31. package/dist/{rolldown-runtime-B4iAMlE-.mjs → rolldown-runtime-DYf_mQCB.mjs} +2 -3
  32. package/dist/{utils-DavLzQA8.mjs → utils-B7IKRw5F.mjs} +190 -55
  33. package/dist/utils-B7IKRw5F.mjs.map +1 -0
  34. package/dist/{utils-DcdjJ-4n.cjs → utils-C3QuhVGE.cjs} +245 -68
  35. package/dist/utils-C3QuhVGE.cjs.map +1 -0
  36. package/package.json +9 -8
  37. package/dist/utils-DavLzQA8.mjs.map +0 -1
  38. package/dist/utils-DcdjJ-4n.cjs.map +0 -1
@@ -1,141 +1,10 @@
1
1
  import { StringValue } from "ms";
2
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/type-helpers.d.ts
3
2
  /** Shorthand alias */
4
3
  type AnyFunc = (...args: any[]) => any;
5
4
  /** A tuple without its last element */
6
5
  type OmitLast<T> = T extends [...infer REST, any] ? REST : never;
7
6
  /** F with all arguments but the last */
8
7
  type OmitLastParam<F extends AnyFunc> = (...args: OmitLast<Parameters<F>>) => ReturnType<F>;
9
- declare namespace index_d_exports$1 {
10
- export { Buffer, BufferReader, BufferWriter, Constructor, Enum, Field, FieldBase, IConversionOptions, IEnum, IExtensionField, IExtensionMapField, IFetchOptions, IField, IMapField, IMethod, INamespace$1 as INamespace, IOneOf, IParseOptions, IParserResult, IService, IToJSONOptions, ITokenizerHandle, IType, IWrapper, Long$1 as Long, MapField, Message, Method, Namespace, NamespaceBase, OneOf, Reader, ReflectionObject, Root, Service, Type, Writer, build, common, configure, converter, decoder, encoder, load, loadSync, parse, roots, rpc, tokenize, types, util, verifier, wrappers };
11
- }
12
- /**
13
- * Provides common type definitions.
14
- * Can also be used to provide additional google types or your own custom types.
15
- * @param name Short name as in `google/protobuf/[name].proto` or full file name
16
- * @param json JSON definition within `google.protobuf` if a short name, otherwise the file's root definition
17
- */
18
- declare function common(name: string, json: {
19
- [k: string]: any;
20
- }): void;
21
- declare namespace common {
22
- /** Properties of a google.protobuf.Any message. */
23
- interface IAny {
24
- typeUrl?: string;
25
- bytes?: Uint8Array;
26
- }
27
- /** Properties of a google.protobuf.Duration message. */
28
- interface IDuration {
29
- seconds?: (number | Long$1);
30
- nanos?: number;
31
- }
32
- /** Properties of a google.protobuf.Timestamp message. */
33
- interface ITimestamp {
34
- seconds?: (number | Long$1);
35
- nanos?: number;
36
- }
37
- /** Properties of a google.protobuf.Empty message. */
38
- interface IEmpty {}
39
- /** Properties of a google.protobuf.Struct message. */
40
- interface IStruct {
41
- fields?: {
42
- [k: string]: IValue;
43
- };
44
- }
45
- /** Properties of a google.protobuf.Value message. */
46
- interface IValue {
47
- kind?: string;
48
- nullValue?: 0;
49
- numberValue?: number;
50
- stringValue?: string;
51
- boolValue?: boolean;
52
- structValue?: IStruct;
53
- listValue?: IListValue;
54
- }
55
- /** Properties of a google.protobuf.ListValue message. */
56
- interface IListValue {
57
- values?: IValue[];
58
- }
59
- /** Properties of a google.protobuf.DoubleValue message. */
60
- interface IDoubleValue {
61
- value?: number;
62
- }
63
- /** Properties of a google.protobuf.FloatValue message. */
64
- interface IFloatValue {
65
- value?: number;
66
- }
67
- /** Properties of a google.protobuf.Int64Value message. */
68
- interface IInt64Value {
69
- value?: (number | Long$1);
70
- }
71
- /** Properties of a google.protobuf.UInt64Value message. */
72
- interface IUInt64Value {
73
- value?: (number | Long$1);
74
- }
75
- /** Properties of a google.protobuf.Int32Value message. */
76
- interface IInt32Value {
77
- value?: number;
78
- }
79
- /** Properties of a google.protobuf.UInt32Value message. */
80
- interface IUInt32Value {
81
- value?: number;
82
- }
83
- /** Properties of a google.protobuf.BoolValue message. */
84
- interface IBoolValue {
85
- value?: boolean;
86
- }
87
- /** Properties of a google.protobuf.StringValue message. */
88
- interface IStringValue {
89
- value?: string;
90
- }
91
- /** Properties of a google.protobuf.BytesValue message. */
92
- interface IBytesValue {
93
- value?: Uint8Array;
94
- }
95
- /**
96
- * Gets the root definition of the specified common proto file.
97
- *
98
- * Bundled definitions are:
99
- * - google/protobuf/any.proto
100
- * - google/protobuf/duration.proto
101
- * - google/protobuf/empty.proto
102
- * - google/protobuf/field_mask.proto
103
- * - google/protobuf/struct.proto
104
- * - google/protobuf/timestamp.proto
105
- * - google/protobuf/wrappers.proto
106
- *
107
- * @param file Proto file name
108
- * @returns Root definition or `null` if not defined
109
- */
110
- function get(file: string): (INamespace$1 | null);
111
- }
112
- /** Runtime message from/to plain object converters. */
113
- declare namespace converter {
114
- /**
115
- * Generates a plain object to runtime message converter specific to the specified message type.
116
- * @param mtype Message type
117
- * @returns Codegen instance
118
- */
119
- function fromObject(mtype: Type): Codegen;
120
- /**
121
- * Generates a runtime message to plain object converter specific to the specified message type.
122
- * @param mtype Message type
123
- * @returns Codegen instance
124
- */
125
- function toObject(mtype: Type): Codegen;
126
- }
127
- /**
128
- * Generates a decoder specific to the specified message type.
129
- * @param mtype Message type
130
- * @returns Codegen instance
131
- */
132
- declare function decoder(mtype: Type): Codegen;
133
- /**
134
- * Generates an encoder specific to the specified message type.
135
- * @param mtype Message type
136
- * @returns Codegen instance
137
- */
138
- declare function encoder(mtype: Type): Codegen;
139
8
  /** Reflected enum. */
140
9
  declare class Enum extends ReflectionObject {
141
10
  /**
@@ -401,85 +270,6 @@ type FieldDecorator = (prototype: object, fieldName: string) => void;
401
270
  * @param [root] Root, if there hasn't been an error
402
271
  */
403
272
  type LoadCallback = (error: (Error | null), root?: Root) => void;
404
- /**
405
- * Loads one or multiple .proto or preprocessed .json files into a common root namespace and calls the callback.
406
- * @param filename One or multiple files to load
407
- * @param root Root namespace, defaults to create a new one if omitted.
408
- * @param callback Callback function
409
- * @see {@link Root#load}
410
- */
411
- declare function load(filename: (string | string[]), root: Root, callback: LoadCallback): void;
412
- /**
413
- * Loads one or multiple .proto or preprocessed .json files into a common root namespace and calls the callback.
414
- * @param filename One or multiple files to load
415
- * @param callback Callback function
416
- * @see {@link Root#load}
417
- */
418
- declare function load(filename: (string | string[]), callback: LoadCallback): void;
419
- /**
420
- * Loads one or multiple .proto or preprocessed .json files into a common root namespace and returns a promise.
421
- * @param filename One or multiple files to load
422
- * @param [root] Root namespace, defaults to create a new one if omitted.
423
- * @returns Promise
424
- * @see {@link Root#load}
425
- */
426
- declare function load(filename: (string | string[]), root?: Root): Promise<Root>;
427
- /**
428
- * Synchronously loads one or multiple .proto or preprocessed .json files into a common root namespace (node only).
429
- * @param filename One or multiple files to load
430
- * @param [root] Root namespace, defaults to create a new one if omitted.
431
- * @returns Root namespace
432
- * @throws {Error} If synchronous fetching is not supported (i.e. in browsers) or if a file's syntax is invalid
433
- * @see {@link Root#loadSync}
434
- */
435
- declare function loadSync(filename: (string | string[]), root?: Root): Root;
436
- /** Build type, one of `"full"`, `"light"` or `"minimal"`. */
437
- declare const build: string;
438
- /** Reconfigures the library according to the environment. */
439
- declare function configure(): void;
440
- /** Reflected map field. */
441
- declare class MapField extends FieldBase {
442
- /**
443
- * Constructs a new map field instance.
444
- * @param name Unique name within its namespace
445
- * @param id Unique id within its namespace
446
- * @param keyType Key type
447
- * @param type Value type
448
- * @param [options] Declared options
449
- * @param [comment] Comment associated with this field
450
- */
451
- constructor(name: string, id: number, keyType: string, type: string, options?: {
452
- [k: string]: any;
453
- }, comment?: string);
454
- /** Key type. */
455
- public keyType: string;
456
- /** Resolved key type if not a basic type. */
457
- public resolvedKeyType: (ReflectionObject | null);
458
- /**
459
- * Constructs a map field from a map field descriptor.
460
- * @param name Field name
461
- * @param json Map field descriptor
462
- * @returns Created map field
463
- * @throws {TypeError} If arguments are invalid
464
- */
465
- public static fromJSON(name: string, json: IMapField): MapField;
466
- /**
467
- * Converts this map field to a map field descriptor.
468
- * @param [toJSONOptions] JSON conversion options
469
- * @returns Map field descriptor
470
- */
471
- public toJSON(toJSONOptions?: IToJSONOptions): IMapField;
472
- /**
473
- * Map field decorator (TypeScript).
474
- * @param fieldId Field id
475
- * @param fieldKeyType Field key type
476
- * @param fieldValueType Field value type
477
- * @returns Decorator function
478
- */
479
- public static d<T extends {
480
- [key: string]: number | Long$1 | string | boolean | Uint8Array | Buffer | number[] | Message<{}>;
481
- }>(fieldId: number, fieldKeyType: ("int32" | "uint32" | "sint32" | "fixed32" | "sfixed32" | "int64" | "uint64" | "sint64" | "fixed64" | "sfixed64" | "bool" | "string"), fieldValueType: ("double" | "float" | "int32" | "uint32" | "sint32" | "fixed32" | "sfixed32" | "int64" | "uint64" | "sint64" | "fixed64" | "sfixed64" | "bool" | "string" | "bytes" | object | Constructor<{}>)): FieldDecorator;
482
- }
483
273
  /** Map field descriptor. */
484
274
  interface IMapField extends IField {
485
275
  /** Key type */
@@ -1010,24 +800,6 @@ interface IOneOf {
1010
800
  * @param oneofName OneOf name
1011
801
  */
1012
802
  type OneOfDecorator = (prototype: object, oneofName: string) => void;
1013
- /**
1014
- * Parses the given .proto source and returns an object with the parsed contents.
1015
- * @param source Source contents
1016
- * @param [options] Parse options. Defaults to {@link parse.defaults} when omitted.
1017
- * @returns Parser result
1018
- */
1019
- declare function parse(source: string, options?: IParseOptions): IParserResult;
1020
- /** Result object returned from {@link parse}. */
1021
- interface IParserResult {
1022
- /** Package name, if declared */
1023
- package: (string | undefined);
1024
- /** Imports, if any */
1025
- imports: (string[] | undefined);
1026
- /** Weak imports, if any */
1027
- weakImports: (string[] | undefined);
1028
- /** Populated root instance */
1029
- root: Root;
1030
- }
1031
803
  /** Options modifying the behavior of {@link parse}. */
1032
804
  interface IParseOptions {
1033
805
  /** Keeps field casing instead of converting to camel case */
@@ -1042,14 +814,6 @@ interface IToJSONOptions {
1042
814
  /** Serializes comments. */
1043
815
  keepComments?: boolean;
1044
816
  }
1045
- /**
1046
- * Parses the given .proto source and returns an object with the parsed contents.
1047
- * @param source Source contents
1048
- * @param root Root to populate
1049
- * @param [options] Parse options. Defaults to {@link parse.defaults} when omitted.
1050
- * @returns Parser result
1051
- */
1052
- declare function parse(source: string, root: Root, options?: IParseOptions): IParserResult;
1053
817
  /** Wire format reader using `Uint8Array` if available, otherwise `Array`. */
1054
818
  declare class Reader {
1055
819
  /**
@@ -1239,14 +1003,6 @@ declare class Root extends NamespaceBase {
1239
1003
  */
1240
1004
  public loadSync(filename: (string | string[]), options?: IParseOptions): Root;
1241
1005
  }
1242
- /**
1243
- * Named roots.
1244
- * This is where pbjs stores generated structures (the option `-r, --root` specifies a name).
1245
- * Can also be used manually to make roots available across modules.
1246
- */
1247
- declare let roots: {
1248
- [k: string]: Root;
1249
- };
1250
1006
  /** Streaming RPC helpers. */
1251
1007
  declare namespace rpc {
1252
1008
  /**
@@ -1357,65 +1113,6 @@ interface IService extends INamespace$1 {
1357
1113
  [k: string]: IMethod;
1358
1114
  };
1359
1115
  }
1360
- /**
1361
- * Gets the next token and advances.
1362
- * @returns Next token or `null` on eof
1363
- */
1364
- type TokenizerHandleNext = () => (string | null);
1365
- /**
1366
- * Peeks for the next token.
1367
- * @returns Next token or `null` on eof
1368
- */
1369
- type TokenizerHandlePeek = () => (string | null);
1370
- /**
1371
- * Pushes a token back to the stack.
1372
- * @param token Token
1373
- */
1374
- type TokenizerHandlePush = (token: string) => void;
1375
- /**
1376
- * Skips the next token.
1377
- * @param expected Expected token
1378
- * @param [optional=false] If optional
1379
- * @returns Whether the token matched
1380
- * @throws {Error} If the token didn't match and is not optional
1381
- */
1382
- type TokenizerHandleSkip = (expected: string, optional?: boolean) => boolean;
1383
- /**
1384
- * Gets the comment on the previous line or, alternatively, the line comment on the specified line.
1385
- * @param [line] Line number
1386
- * @returns Comment text or `null` if none
1387
- */
1388
- type TokenizerHandleCmnt = (line?: number) => (string | null);
1389
- /** Handle object returned from {@link tokenize}. */
1390
- interface ITokenizerHandle {
1391
- /** Gets the next token and advances (`null` on eof) */
1392
- next: TokenizerHandleNext;
1393
- /** Peeks for the next token (`null` on eof) */
1394
- peek: TokenizerHandlePeek;
1395
- /** Pushes a token back to the stack */
1396
- push: TokenizerHandlePush;
1397
- /** Skips a token, returns its presence and advances or, if non-optional and not present, throws */
1398
- skip: TokenizerHandleSkip;
1399
- /** Gets the comment on the previous line or the line comment on the specified line, if any */
1400
- cmnt: TokenizerHandleCmnt;
1401
- /** Current line number */
1402
- line: number;
1403
- }
1404
- /**
1405
- * Tokenizes the given .proto source and returns an object with useful utility functions.
1406
- * @param source Source contents
1407
- * @param alternateCommentMode Whether we should activate alternate comment parsing mode.
1408
- * @returns Tokenizer handle
1409
- */
1410
- declare function tokenize(source: string, alternateCommentMode: boolean): ITokenizerHandle;
1411
- declare namespace tokenize {
1412
- /**
1413
- * Unescapes a string.
1414
- * @param str String to unescape
1415
- * @returns Unescaped string
1416
- */
1417
- function unescape(str: string): string;
1418
- }
1419
1116
  /** Reflected message type. */
1420
1117
  declare class Type extends NamespaceBase {
1421
1118
  /**
@@ -1636,85 +1333,6 @@ interface IConversionOptions {
1636
1333
  * @param target Target constructor
1637
1334
  */
1638
1335
  type TypeDecorator<T extends Message<T>> = (target: Constructor<T>) => void;
1639
- /** Common type constants. */
1640
- declare namespace types {
1641
- /** Basic type wire types. */
1642
- const basic: {
1643
- "double": number;
1644
- "float": number;
1645
- "int32": number;
1646
- "uint32": number;
1647
- "sint32": number;
1648
- "fixed32": number;
1649
- "sfixed32": number;
1650
- "int64": number;
1651
- "uint64": number;
1652
- "sint64": number;
1653
- "fixed64": number;
1654
- "sfixed64": number;
1655
- "bool": number;
1656
- "string": number;
1657
- "bytes": number;
1658
- };
1659
- /** Basic type defaults. */
1660
- const defaults: {
1661
- "double": number;
1662
- "float": number;
1663
- "int32": number;
1664
- "uint32": number;
1665
- "sint32": number;
1666
- "fixed32": number;
1667
- "sfixed32": number;
1668
- "int64": number;
1669
- "uint64": number;
1670
- "sint64": number;
1671
- "fixed64": number;
1672
- "sfixed64": number;
1673
- "bool": boolean;
1674
- "string": string;
1675
- "bytes": number[];
1676
- "message": null;
1677
- };
1678
- /** Basic long type wire types. */
1679
- const long: {
1680
- "int64": number;
1681
- "uint64": number;
1682
- "sint64": number;
1683
- "fixed64": number;
1684
- "sfixed64": number;
1685
- };
1686
- /** Allowed types for map keys with their associated wire type. */
1687
- const mapKey: {
1688
- "int32": number;
1689
- "uint32": number;
1690
- "sint32": number;
1691
- "fixed32": number;
1692
- "sfixed32": number;
1693
- "int64": number;
1694
- "uint64": number;
1695
- "sint64": number;
1696
- "fixed64": number;
1697
- "sfixed64": number;
1698
- "bool": number;
1699
- "string": number;
1700
- };
1701
- /** Allowed types for packed repeated fields with their associated wire type. */
1702
- const packed: {
1703
- "double": number;
1704
- "float": number;
1705
- "int32": number;
1706
- "uint32": number;
1707
- "sint32": number;
1708
- "fixed32": number;
1709
- "sfixed32": number;
1710
- "int64": number;
1711
- "uint64": number;
1712
- "sint64": number;
1713
- "fixed64": number;
1714
- "sfixed64": number;
1715
- "bool": number;
1716
- };
1717
- }
1718
1336
  /** Constructor type. */
1719
1337
  interface Constructor<T> extends Function {
1720
1338
  new (...params: any[]): T;
@@ -2278,40 +1896,6 @@ declare namespace util {
2278
1896
  function write(string: string, buffer: Uint8Array, offset: number): number;
2279
1897
  }
2280
1898
  }
2281
- /**
2282
- * Generates a verifier specific to the specified message type.
2283
- * @param mtype Message type
2284
- * @returns Codegen instance
2285
- */
2286
- declare function verifier(mtype: Type): Codegen;
2287
- /** Wrappers for common types. */
2288
- declare const wrappers: {
2289
- [k: string]: IWrapper;
2290
- };
2291
- /**
2292
- * From object converter part of an {@link IWrapper}.
2293
- * @param object Plain object
2294
- * @returns Message instance
2295
- */
2296
- type WrapperFromObjectConverter = (this: Type, object: {
2297
- [k: string]: any;
2298
- }) => Message<{}>;
2299
- /**
2300
- * To object converter part of an {@link IWrapper}.
2301
- * @param message Message instance
2302
- * @param [options] Conversion options
2303
- * @returns Plain object
2304
- */
2305
- type WrapperToObjectConverter = (this: Type, message: Message<{}>, options?: IConversionOptions) => {
2306
- [k: string]: any;
2307
- };
2308
- /** Common type wrapper part of {@link wrappers}. */
2309
- interface IWrapper {
2310
- /** From object converter */
2311
- fromObject?: WrapperFromObjectConverter;
2312
- /** To object converter */
2313
- toObject?: WrapperToObjectConverter;
2314
- }
2315
1899
  /** Wire format writer using `Uint8Array` if available, otherwise `Array`. */
2316
1900
  declare class Writer {
2317
1901
  /** Constructs a new writer instance. */
@@ -2515,8 +2099,6 @@ type PoolAllocator = (size: number) => Uint8Array;
2515
2099
  * @returns Buffer slice
2516
2100
  */
2517
2101
  type PoolSlicer = (this: Uint8Array, start: number, end: number) => Uint8Array;
2518
- //#endregion
2519
- //#region ../../node_modules/.pnpm/long@5.3.2/node_modules/long/types.d.ts
2520
2102
  // Common type definitions for both the ESM and UMD variants. The ESM variant
2521
2103
  // reexports the Long class as its default export, whereas the UMD variant makes
2522
2104
  // the Long class a whole-module export with a global variable fallback.
@@ -2894,8 +2476,6 @@ declare class Long {
2894
2476
  declare namespace index_d_exports {
2895
2477
  export { Long as default };
2896
2478
  }
2897
- //#endregion
2898
- //#region ../../node_modules/.pnpm/@temporalio+proto@1.22.0/node_modules/@temporalio/proto/protos/root.d.ts
2899
2479
  /** Namespace coresdk. */
2900
2480
  declare namespace coresdk {
2901
2481
  /** Properties of an ActivityHeartbeat. */
@@ -119811,15 +119391,11 @@ declare namespace grpc {
119811
119391
  }
119812
119392
  }
119813
119393
  }
119814
- //#endregion
119815
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/time.d.ts
119816
119394
  type Timestamp = google.protobuf.ITimestamp;
119817
119395
  /**
119818
119396
  * A duration, expressed either as a number of milliseconds, or as a {@link https://www.npmjs.com/package/ms | ms-formatted string}.
119819
119397
  */
119820
119398
  type Duration = StringValue | number;
119821
- //#endregion
119822
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/retry-policy.d.ts
119823
119399
  /**
119824
119400
  * Options for retrying Workflows and Activities
119825
119401
  */
@@ -119859,8 +119435,6 @@ interface RetryPolicy {
119859
119435
  */
119860
119436
  nonRetryableErrorTypes?: string[];
119861
119437
  }
119862
- //#endregion
119863
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/versioning-intent.d.ts
119864
119438
  /**
119865
119439
  * Indicates whether the user intends certain commands to be run on a compatible worker Build Id version or not.
119866
119440
  *
@@ -119877,8 +119451,6 @@ interface RetryPolicy {
119877
119451
  * @deprecated Worker Versioning is now deprecated. Please use the Worker Deployment API instead: https://docs.temporal.io/worker-deployments
119878
119452
  */
119879
119453
  type VersioningIntent = 'COMPATIBLE' | 'DEFAULT';
119880
- //#endregion
119881
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/priority.d.ts
119882
119454
  /**
119883
119455
  * Priority contains metadata that controls relative ordering of task processing when tasks are
119884
119456
  * backlogged in a queue. Initially, Priority will be used in activity and workflow task queues,
@@ -119931,8 +119503,6 @@ interface Priority {
119931
119503
  */
119932
119504
  fairnessWeight?: number;
119933
119505
  }
119934
- //#endregion
119935
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/activity-options.d.ts
119936
119506
  /**
119937
119507
  * Determines:
119938
119508
  * - whether cancellation requests should be propagated from the current Workflow to the Activity; and
@@ -120151,14 +119721,8 @@ interface LocalActivityOptions {
120151
119721
  */
120152
119722
  summary?: string;
120153
119723
  }
120154
- //#endregion
120155
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/interfaces.d.ts
120156
119724
  type Payload = temporal.api.common.v1.IPayload;
120157
- //#endregion
120158
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/failure.d.ts
120159
119725
  type WorkflowExecution = temporal.api.common.v1.IWorkflowExecution;
120160
- //#endregion
120161
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/interceptors.d.ts
120162
119726
  /**
120163
119727
  * Type of the next function for a given interceptor function
120164
119728
  *
@@ -120167,16 +119731,12 @@ type WorkflowExecution = temporal.api.common.v1.IWorkflowExecution;
120167
119731
  type Next<IF, FN extends keyof IF> = Required<IF>[FN] extends AnyFunc ? OmitLastParam<Required<IF>[FN]> : never;
120168
119732
  /** Headers are just a mapping of header name to Payload */
120169
119733
  type Headers = Record<string, Payload>;
120170
- //#endregion
120171
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/metrics.d.ts
120172
119734
  /**
120173
119735
  * Tags to be attached to some metrics.
120174
119736
  *
120175
119737
  * @experimental The Metric API is an experimental feature and may be subject to change.
120176
119738
  */
120177
119739
  type MetricTags = Record<string, string | number | boolean>;
120178
- //#endregion
120179
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/worker-deployments.d.ts
120180
119740
  /**
120181
119741
  * Defines the versioning behavior to be used by the first task of a new workflow run in a continue-as-new chain.
120182
119742
  *
@@ -120211,8 +119771,6 @@ declare const InitialVersioningBehavior: {
120211
119771
  readonly USE_RAMPING_VERSION: "USE_RAMPING_VERSION";
120212
119772
  };
120213
119773
  type InitialVersioningBehavior = (typeof InitialVersioningBehavior)[keyof typeof InitialVersioningBehavior];
120214
- //#endregion
120215
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/search-attributes.d.ts
120216
119774
  /** @deprecated: Use {@link TypedSearchAttributes} instead */
120217
119775
  type SearchAttributeValueOrReadonly = SearchAttributeValue | Readonly<SearchAttributeValue> | undefined;
120218
119776
  /** @deprecated: Use {@link TypedSearchAttributes} instead */
@@ -120270,8 +119828,6 @@ declare class TypedSearchAttributes {
120270
119828
  static toMetadataType(type: SearchAttributeType): string;
120271
119829
  static toSearchAttributeType(type: string): SearchAttributeType | undefined;
120272
119830
  }
120273
- //#endregion
120274
- //#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/workflow-options.d.ts
120275
119831
  /**
120276
119832
  * Defines what happens when trying to start a Workflow with the same ID as a *Closed* Workflow.
120277
119833
  *
@@ -120445,8 +120001,6 @@ interface WorkflowDurationOptions {
120445
120001
  workflowTaskTimeout?: Duration;
120446
120002
  }
120447
120003
  type CommonWorkflowOptions = BaseWorkflowOptions & WorkflowDurationOptions;
120448
- //#endregion
120449
- //#region ../../node_modules/.pnpm/@temporalio+workflow@1.22.0/node_modules/@temporalio/workflow/lib/interfaces.d.ts
120450
120004
  /**
120451
120005
  * Options for continuing a Workflow as new
120452
120006
  */
@@ -120663,8 +120217,6 @@ type RequiredChildWorkflowOptions = Required<Pick<ChildWorkflowOptions, 'workflo
120663
120217
  args: unknown[];
120664
120218
  };
120665
120219
  type ChildWorkflowOptionsWithDefaults = ChildWorkflowOptions & RequiredChildWorkflowOptions;
120666
- //#endregion
120667
- //#region ../../node_modules/.pnpm/@temporalio+workflow@1.22.0/node_modules/@temporalio/workflow/lib/nexus.d.ts
120668
120220
  /**
120669
120221
  * Determines:
120670
120222
  * - whether cancellation requests should be propagated from the Workflow to the Nexus Operation
@@ -120716,8 +120268,6 @@ declare const NexusOperationCancellationType: {
120716
120268
  readonly WAIT_CANCELLATION_COMPLETED: "WAIT_CANCELLATION_COMPLETED";
120717
120269
  };
120718
120270
  type NexusOperationCancellationType = (typeof NexusOperationCancellationType)[keyof typeof NexusOperationCancellationType];
120719
- //#endregion
120720
- //#region ../../node_modules/.pnpm/@temporalio+workflow@1.22.0/node_modules/@temporalio/workflow/lib/interceptors.d.ts
120721
120271
  /**
120722
120272
  * A mapping from interceptor type to an optional list of interceptor implementations
120723
120273
  */
@@ -121057,8 +120607,6 @@ interface ConcludeActivationInput {
121057
120607
  * Output for {@link WorkflowInternalsInterceptor.concludeActivation}
121058
120608
  */
121059
120609
  type ConcludeActivationOutput = ConcludeActivationInput;
121060
- //#endregion
121061
- //#region src/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.d.ts
121062
120610
  export declare const interceptors: () => WorkflowInterceptors;
121063
- //#endregion
120611
+ export {};
121064
120612
  //# sourceMappingURL=workflow-interceptors.d.cts.map