@temporalio/common 0.16.4 → 0.18.0
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/lib/activity-options.d.ts +3 -3
- package/lib/errors.d.ts +29 -0
- package/lib/errors.js +36 -1
- package/lib/errors.js.map +1 -1
- package/lib/failure.d.ts +2 -2
- package/lib/failure.js +14 -8
- package/lib/failure.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/interfaces.d.ts +0 -38
- package/lib/retry-policy.d.ts +43 -0
- package/lib/retry-policy.js +36 -0
- package/lib/retry-policy.js.map +1 -0
- package/lib/time.d.ts +2 -0
- package/lib/time.js +11 -1
- package/lib/time.js.map +1 -1
- package/lib/type-helpers.d.ts +4 -0
- package/lib/type-helpers.js +9 -1
- package/lib/type-helpers.js.map +1 -1
- package/lib/utils.d.ts +4 -0
- package/lib/utils.js +11 -0
- package/lib/utils.js.map +1 -0
- package/lib/workflow-options.d.ts +12 -5
- package/lib/workflow-options.js +3 -3
- package/lib/workflow-options.js.map +1 -1
- package/package.json +3 -3
- package/src/activity-options.ts +3 -3
- package/src/errors.ts +33 -0
- package/src/failure.ts +18 -11
- package/src/index.ts +2 -0
- package/src/interfaces.ts +0 -40
- package/src/retry-policy.ts +73 -0
- package/src/time.ts +9 -0
- package/src/type-helpers.ts +15 -0
- package/src/utils.ts +6 -0
- package/src/workflow-options.ts +20 -14
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { coresdk } from '@temporalio/proto/lib/coresdk';
|
|
2
|
-
import {
|
|
2
|
+
import { RetryPolicy } from './retry-policy';
|
|
3
3
|
export declare enum ActivityCancellationType {
|
|
4
4
|
TRY_CANCEL = 0,
|
|
5
5
|
WAIT_CANCELLATION_COMPLETED = 1,
|
|
@@ -35,9 +35,9 @@ export interface ActivityOptions {
|
|
|
35
35
|
*/
|
|
36
36
|
heartbeatTimeout?: string | number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* RetryPolicy that define how activity is retried in case of failure. If this is not set, then the server-defined default activity retry policy will be used. To ensure zero retries, set maximum attempts to 1.
|
|
39
39
|
*/
|
|
40
|
-
retry?:
|
|
40
|
+
retry?: RetryPolicy;
|
|
41
41
|
/**
|
|
42
42
|
* Maximum time of a single Activity execution attempt.
|
|
43
43
|
Note that the Temporal Server doesn't detect Worker process failures directly. It relies on this timeout to detect that an Activity that didn't complete on time. So this timeout should be as short as the longest possible execution of the Activity body. Potentially long running Activities must specify {@link heartbeatTimeout} and call {@link activity.Context.heartbeat} periodically for timely failure detection.
|
package/lib/errors.d.ts
CHANGED
|
@@ -10,6 +10,35 @@ export declare class DataConverterError extends Error {
|
|
|
10
10
|
export declare class IllegalStateError extends Error {
|
|
11
11
|
readonly name: string;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* This exception is thrown in the following cases:
|
|
15
|
+
* - Workflow with the same WorkflowId is currently running
|
|
16
|
+
* - There is a closed workflow with the same ID and the {@link WorkflowOptions.workflowIdReusePolicy}
|
|
17
|
+
* is `WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE`
|
|
18
|
+
* - There is successfully closed workflow with the same ID and the {@link WorkflowOptions.workflowIdReusePolicy}
|
|
19
|
+
* is `WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY`
|
|
20
|
+
* - {@link Workflow.execute} is called *more than once* on a handle created through {@link createChildWorkflowHandle} and the
|
|
21
|
+
* {@link WorkflowOptions.workflowIdReusePolicy} is `WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE`
|
|
22
|
+
*/
|
|
23
|
+
export declare class WorkflowExecutionAlreadyStartedError extends Error {
|
|
24
|
+
readonly workflowId: string;
|
|
25
|
+
readonly workflowType: string;
|
|
26
|
+
readonly name: string;
|
|
27
|
+
constructor(message: string, workflowId: string, workflowType: string);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Thrown when workflow with the given id is not known to the Temporal service.
|
|
31
|
+
* It could be because:
|
|
32
|
+
* - ID passed is incorrect
|
|
33
|
+
* - Workflow execution is complete (for some calls e.g. terminate),
|
|
34
|
+
* - workflow was purged from the service after reaching its retention limit.
|
|
35
|
+
*/
|
|
36
|
+
export declare class WorkflowNotFoundError extends Error {
|
|
37
|
+
readonly workflowId: string;
|
|
38
|
+
readonly runId: string | undefined;
|
|
39
|
+
readonly name: string;
|
|
40
|
+
constructor(message: string, workflowId: string, runId: string | undefined);
|
|
41
|
+
}
|
|
13
42
|
/**
|
|
14
43
|
* Get error message from an Error or string or return undefined
|
|
15
44
|
*/
|
package/lib/errors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.errorMessage = exports.IllegalStateError = exports.DataConverterError = exports.ValueError = void 0;
|
|
3
|
+
exports.errorMessage = exports.WorkflowNotFoundError = exports.WorkflowExecutionAlreadyStartedError = exports.IllegalStateError = exports.DataConverterError = exports.ValueError = void 0;
|
|
4
4
|
class ValueError extends Error {
|
|
5
5
|
constructor() {
|
|
6
6
|
super(...arguments);
|
|
@@ -25,6 +25,41 @@ class IllegalStateError extends Error {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
exports.IllegalStateError = IllegalStateError;
|
|
28
|
+
/**
|
|
29
|
+
* This exception is thrown in the following cases:
|
|
30
|
+
* - Workflow with the same WorkflowId is currently running
|
|
31
|
+
* - There is a closed workflow with the same ID and the {@link WorkflowOptions.workflowIdReusePolicy}
|
|
32
|
+
* is `WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE`
|
|
33
|
+
* - There is successfully closed workflow with the same ID and the {@link WorkflowOptions.workflowIdReusePolicy}
|
|
34
|
+
* is `WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY`
|
|
35
|
+
* - {@link Workflow.execute} is called *more than once* on a handle created through {@link createChildWorkflowHandle} and the
|
|
36
|
+
* {@link WorkflowOptions.workflowIdReusePolicy} is `WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE`
|
|
37
|
+
*/
|
|
38
|
+
class WorkflowExecutionAlreadyStartedError extends Error {
|
|
39
|
+
constructor(message, workflowId, workflowType) {
|
|
40
|
+
super(message);
|
|
41
|
+
this.workflowId = workflowId;
|
|
42
|
+
this.workflowType = workflowType;
|
|
43
|
+
this.name = 'WorkflowExecutionAlreadyStartedError';
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.WorkflowExecutionAlreadyStartedError = WorkflowExecutionAlreadyStartedError;
|
|
47
|
+
/**
|
|
48
|
+
* Thrown when workflow with the given id is not known to the Temporal service.
|
|
49
|
+
* It could be because:
|
|
50
|
+
* - ID passed is incorrect
|
|
51
|
+
* - Workflow execution is complete (for some calls e.g. terminate),
|
|
52
|
+
* - workflow was purged from the service after reaching its retention limit.
|
|
53
|
+
*/
|
|
54
|
+
class WorkflowNotFoundError extends Error {
|
|
55
|
+
constructor(message, workflowId, runId) {
|
|
56
|
+
super(message);
|
|
57
|
+
this.workflowId = workflowId;
|
|
58
|
+
this.runId = runId;
|
|
59
|
+
this.name = 'WorkflowNotFoundError';
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.WorkflowNotFoundError = WorkflowNotFoundError;
|
|
28
63
|
/**
|
|
29
64
|
* Get error message from an Error or string or return undefined
|
|
30
65
|
*/
|
package/lib/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";;;AAAA,MAAa,UAAW,SAAQ,KAAK;IAArC;;QACkB,SAAI,GAAW,YAAY,CAAC;IAC9C,CAAC;CAAA;AAFD,gCAEC;AAED,MAAa,kBAAmB,SAAQ,KAAK;IAA7C;;QACkB,SAAI,GAAW,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;QAAkB,UAAK,GAAL,KAAK,CAAoB;QAF1F,SAAI,GAAW,uBAAuB,CAAC;IAIvD,CAAC;CACF;AAND,sDAMC;AAED;;GAEG;AACH,SAAgB,YAAY,CAAC,GAAY;IACvC,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC3B,OAAO,GAAG,CAAC;KACZ;IACD,IAAI,GAAG,YAAY,KAAK,EAAE;QACxB,OAAO,GAAG,CAAC,OAAO,CAAC;KACpB;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AARD,oCAQC"}
|
package/lib/failure.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export declare class ApplicationFailure extends TemporalFailure {
|
|
|
88
88
|
* @param details optional details about the failure. They are serialized using the same approach
|
|
89
89
|
* as arguments and results.
|
|
90
90
|
*/
|
|
91
|
-
static retryable(message: string | undefined, type
|
|
91
|
+
static retryable(message: string | undefined, type?: string, ...details: unknown[]): ApplicationFailure;
|
|
92
92
|
/**
|
|
93
93
|
* New ApplicationFailure with {@link nonRetryable} flag set to true.
|
|
94
94
|
*
|
|
@@ -100,7 +100,7 @@ export declare class ApplicationFailure extends TemporalFailure {
|
|
|
100
100
|
* @param details optional details about the failure. They are serialized using the same approach
|
|
101
101
|
* as arguments and results.
|
|
102
102
|
*/
|
|
103
|
-
static nonRetryable(message: string | undefined, type
|
|
103
|
+
static nonRetryable(message: string | undefined, type?: string, ...details: unknown[]): ApplicationFailure;
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
* Used as the cause for when a Workflow or Activity has been cancelled
|
package/lib/failure.js
CHANGED
|
@@ -100,7 +100,7 @@ class ApplicationFailure extends TemporalFailure {
|
|
|
100
100
|
* as arguments and results.
|
|
101
101
|
*/
|
|
102
102
|
static retryable(message, type, ...details) {
|
|
103
|
-
return new this(message, type, false, details);
|
|
103
|
+
return new this(message, type ?? 'Error', false, details);
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
* New ApplicationFailure with {@link nonRetryable} flag set to true.
|
|
@@ -114,7 +114,7 @@ class ApplicationFailure extends TemporalFailure {
|
|
|
114
114
|
* as arguments and results.
|
|
115
115
|
*/
|
|
116
116
|
static nonRetryable(message, type, ...details) {
|
|
117
|
-
return new this(message, type, true, details);
|
|
117
|
+
return new this(message, type ?? 'Error', true, details);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
exports.ApplicationFailure = ApplicationFailure;
|
|
@@ -193,7 +193,7 @@ exports.optionalErrorToOptionalFailure = optionalErrorToOptionalFailure;
|
|
|
193
193
|
/**
|
|
194
194
|
* Stack traces will be cutoff when on of these patterns is matched
|
|
195
195
|
*/
|
|
196
|
-
const
|
|
196
|
+
const CUTOFF_STACK_PATTERNS = [
|
|
197
197
|
/** Activity execution */
|
|
198
198
|
/\s+at Activity\.execute \(.*[\\/]worker[\\/](?:src|lib)[\\/]activity\.[jt]s:\d+:\d+\)/,
|
|
199
199
|
/** Workflow activation */
|
|
@@ -206,7 +206,7 @@ function cutoffStackTrace(stack) {
|
|
|
206
206
|
const lines = (stack ?? '').split(/\r?\n/);
|
|
207
207
|
const acc = Array();
|
|
208
208
|
lineLoop: for (const line of lines) {
|
|
209
|
-
for (const pattern of
|
|
209
|
+
for (const pattern of CUTOFF_STACK_PATTERNS) {
|
|
210
210
|
if (pattern.test(line))
|
|
211
211
|
break lineLoop;
|
|
212
212
|
}
|
|
@@ -298,13 +298,19 @@ async function errorToFailure(err, dataConverter) {
|
|
|
298
298
|
const base = {
|
|
299
299
|
source: exports.FAILURE_SOURCE,
|
|
300
300
|
};
|
|
301
|
-
if (err
|
|
302
|
-
return {
|
|
301
|
+
if ((0, type_helpers_1.isRecord)(err) && (0, type_helpers_1.hasOwnProperties)(err, ['message', 'stack'])) {
|
|
302
|
+
return {
|
|
303
|
+
...base,
|
|
304
|
+
message: String(err.message) ?? '',
|
|
305
|
+
stackTrace: cutoffStackTrace(String(err.stack)),
|
|
306
|
+
cause: await optionalErrorToOptionalFailure(err.cause, dataConverter),
|
|
307
|
+
};
|
|
303
308
|
}
|
|
309
|
+
const recommendation = ` [A non-Error value was thrown from your code. We recommend throwing Error objects so that we can provide a stack trace.]`;
|
|
304
310
|
if (typeof err === 'string') {
|
|
305
|
-
return { ...base, message: err };
|
|
311
|
+
return { ...base, message: err + recommendation };
|
|
306
312
|
}
|
|
307
|
-
return { ...base, message:
|
|
313
|
+
return { ...base, message: JSON.stringify(err) + recommendation };
|
|
308
314
|
}
|
|
309
315
|
exports.errorToFailure = errorToFailure;
|
|
310
316
|
/**
|
package/lib/failure.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"failure.js","sourceRoot":"","sources":["../src/failure.ts"],"names":[],"mappings":";;;AACA,+DAA8E;AAC9E,
|
|
1
|
+
{"version":3,"file":"failure.js","sourceRoot":"","sources":["../src/failure.ts"],"names":[],"mappings":";;;AACA,+DAA8E;AAC9E,iDAA0E;AAE7D,QAAA,cAAc,GAAG,eAAe,CAAC;AAE9C,0EAA0E;AAC1E,gDAAgD;AAChD,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,qFAA4B,CAAA;IAC5B,2FAA+B,CAAA;IAC/B,iGAAkC,CAAA;IAClC,iGAAkC,CAAA;IAClC,iFAA0B,CAAA;AAC5B,CAAC,EANW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAMtB;AAED,IAAA,2BAAY,GAAkD,CAAC;AAE/D,0EAA0E;AAC1E,+CAA+C;AAC/C,IAAY,UASX;AATD,WAAY,UAAU;IACpB,iFAA2B,CAAA;IAC3B,iFAA2B,CAAA;IAC3B,qGAAqC,CAAA;IACrC,yEAAuB,CAAA;IACvB,2GAAwC,CAAA;IACxC,mGAAoC,CAAA;IACpC,qGAAqC,CAAA;IACrC,2FAAgC,CAAA;AAClC,CAAC,EATW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QASrB;AAED,IAAA,2BAAY,GAAgD,CAAC;AAI7D;;;;;;;;;;;GAWG;AACH,MAAa,eAAgB,SAAQ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B;IACtF,MAAM,GAAG,GAAG,MAAM,mBAAmB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAC9D,GAAG,CAAC,KAAK,GAAG,OAAO,CAAC,UAAU,IAAI,EAAE,CAAC;IACrC,GAAG,CAAC,OAAO,GAAG,OAAO,CAAC;IACtB,OAAO,GAAG,CAAC;AACb,CAAC;AALD,wCAKC;AAED;;;;;GAKG;AACH,SAAgB,SAAS,CAAC,GAAY;IACpC,IAAI,GAAG,YAAY,eAAe,EAAE;QAClC,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC;KACvD;IACD,IAAI,GAAG,YAAY,KAAK,EAAE;QACxB,OAAO,GAAG,CAAC,OAAO,CAAC;KACpB;IACD,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC3B,OAAO,GAAG,CAAC;KACZ;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAXD,8BAWC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -9,7 +9,9 @@ export * from './errors';
|
|
|
9
9
|
export * from './failure';
|
|
10
10
|
export * from './interceptors';
|
|
11
11
|
export * from './interfaces';
|
|
12
|
+
export * from './retry-policy';
|
|
12
13
|
export * from './time';
|
|
13
14
|
export * from './tls-config';
|
|
14
15
|
export * from './workflow-handle';
|
|
15
16
|
export * from './workflow-options';
|
|
17
|
+
export * from './utils';
|
package/lib/index.js
CHANGED
|
@@ -21,8 +21,10 @@ __exportStar(require("./errors"), exports);
|
|
|
21
21
|
__exportStar(require("./failure"), exports);
|
|
22
22
|
__exportStar(require("./interceptors"), exports);
|
|
23
23
|
__exportStar(require("./interfaces"), exports);
|
|
24
|
+
__exportStar(require("./retry-policy"), exports);
|
|
24
25
|
__exportStar(require("./time"), exports);
|
|
25
26
|
__exportStar(require("./tls-config"), exports);
|
|
26
27
|
__exportStar(require("./workflow-handle"), exports);
|
|
27
28
|
__exportStar(require("./workflow-options"), exports);
|
|
29
|
+
__exportStar(require("./utils"), exports);
|
|
28
30
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;GAIG;AACH,qDAAmC;AACnC,6DAA2C;AAC3C,2CAAyB;AACzB,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,yCAAuB;AACvB,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;GAIG;AACH,qDAAmC;AACnC,6DAA2C;AAC3C,2CAAyB;AACzB,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,iDAA+B;AAC/B,yCAAuB;AACvB,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,0CAAwB"}
|
package/lib/interfaces.d.ts
CHANGED
|
@@ -29,41 +29,3 @@ export interface QueryDefinition<_Ret, _Args extends any[] = []> {
|
|
|
29
29
|
}
|
|
30
30
|
/** Get the "unwrapped" return type (without Promise) of the execute handler from Workflow type `W` */
|
|
31
31
|
export declare type WorkflowResultType<W extends Workflow> = ReturnType<W> extends Promise<infer R> ? R : never;
|
|
32
|
-
/**
|
|
33
|
-
* Defines options for activity retries
|
|
34
|
-
* @see {@link https://www.javadoc.io/doc/io.temporal/temporal-sdk/latest/io/temporal/common/RetryOptions.Builder.html | Java SDK definition}
|
|
35
|
-
*/
|
|
36
|
-
export interface RetryOptions {
|
|
37
|
-
/**
|
|
38
|
-
* Coefficient used to calculate the next retry interval.
|
|
39
|
-
* The next retry interval is previous interval multiplied by this coefficient.
|
|
40
|
-
* @minimum 1
|
|
41
|
-
* @default 2
|
|
42
|
-
*/
|
|
43
|
-
backoffCoefficient?: number;
|
|
44
|
-
/**
|
|
45
|
-
* Interval of the first retry.
|
|
46
|
-
* If coefficient is 1 then it is used for all retries
|
|
47
|
-
* @format {@link https://www.npmjs.com/package/ms | ms} formatted string or number of milliseconds
|
|
48
|
-
*/
|
|
49
|
-
initialInterval: string | number;
|
|
50
|
-
/**
|
|
51
|
-
* Maximum number of attempts. When exceeded the retries stop even if not expired yet.
|
|
52
|
-
* @minimum 1
|
|
53
|
-
* @default Infinity
|
|
54
|
-
*/
|
|
55
|
-
maximumAttempts?: number;
|
|
56
|
-
/**
|
|
57
|
-
* Maximum interval between retries.
|
|
58
|
-
* Exponential backoff leads to interval increase.
|
|
59
|
-
* This value is the cap of the increase.
|
|
60
|
-
*
|
|
61
|
-
* @default 100x of {@link initialInterval}
|
|
62
|
-
* @format {@link https://www.npmjs.com/package/ms | ms} formatted string or number of milliseconds
|
|
63
|
-
*/
|
|
64
|
-
maximumInterval?: string | number;
|
|
65
|
-
/**
|
|
66
|
-
* List of application failures types to not retry.
|
|
67
|
-
*/
|
|
68
|
-
nonRetryableErrorTypes?: string[];
|
|
69
|
-
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { temporal } from '@temporalio/proto';
|
|
2
|
+
/**
|
|
3
|
+
* Options for retrying Workflows and Activities
|
|
4
|
+
*/
|
|
5
|
+
export interface RetryPolicy {
|
|
6
|
+
/**
|
|
7
|
+
* Coefficient used to calculate the next retry interval.
|
|
8
|
+
* The next retry interval is previous interval multiplied by this coefficient.
|
|
9
|
+
* @minimum 1
|
|
10
|
+
* @default 2
|
|
11
|
+
*/
|
|
12
|
+
backoffCoefficient?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Interval of the first retry.
|
|
15
|
+
* If coefficient is 1 then it is used for all retries
|
|
16
|
+
* @format {@link https://www.npmjs.com/package/ms | ms} formatted string or number of milliseconds
|
|
17
|
+
* @default 1 second
|
|
18
|
+
*/
|
|
19
|
+
initialInterval?: string | number;
|
|
20
|
+
/**
|
|
21
|
+
* Maximum number of attempts. When exceeded the retries stop even if not expired yet.
|
|
22
|
+
* @minimum 1
|
|
23
|
+
* @default Infinity
|
|
24
|
+
*/
|
|
25
|
+
maximumAttempts?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Maximum interval between retries.
|
|
28
|
+
* Exponential backoff leads to interval increase.
|
|
29
|
+
* This value is the cap of the increase.
|
|
30
|
+
*
|
|
31
|
+
* @default 100x of {@link initialInterval}
|
|
32
|
+
* @format {@link https://www.npmjs.com/package/ms | ms} formatted string or number of milliseconds
|
|
33
|
+
*/
|
|
34
|
+
maximumInterval?: string | number;
|
|
35
|
+
/**
|
|
36
|
+
* List of application failures types to not retry.
|
|
37
|
+
*/
|
|
38
|
+
nonRetryableErrorTypes?: string[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Turns a TS RetryPolicy into a proto compatible RetryPolicy
|
|
42
|
+
*/
|
|
43
|
+
export declare function compileRetryPolicy(retryPolicy: RetryPolicy): temporal.api.common.v1.IRetryPolicy;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.compileRetryPolicy = void 0;
|
|
4
|
+
const _1 = require(".");
|
|
5
|
+
const time_1 = require("./time");
|
|
6
|
+
/**
|
|
7
|
+
* Turns a TS RetryPolicy into a proto compatible RetryPolicy
|
|
8
|
+
*/
|
|
9
|
+
function compileRetryPolicy(retryPolicy) {
|
|
10
|
+
if (retryPolicy.backoffCoefficient != null && retryPolicy.backoffCoefficient <= 0) {
|
|
11
|
+
throw new _1.ValueError('RetryPolicy.backoffCoefficient must be greater than 0');
|
|
12
|
+
}
|
|
13
|
+
if (retryPolicy.maximumAttempts != null && retryPolicy.maximumAttempts <= 0) {
|
|
14
|
+
throw new _1.ValueError('RetryPolicy.maximumAttempts must be greater than 0');
|
|
15
|
+
}
|
|
16
|
+
const maximumInterval = (0, time_1.msOptionalToNumber)(retryPolicy.maximumInterval);
|
|
17
|
+
const initialInterval = (0, time_1.msToNumber)(retryPolicy.initialInterval ?? 1000);
|
|
18
|
+
if (maximumInterval === 0) {
|
|
19
|
+
throw new _1.ValueError('RetryPolicy.maximumInterval cannot be 0');
|
|
20
|
+
}
|
|
21
|
+
if (initialInterval === 0) {
|
|
22
|
+
throw new _1.ValueError('RetryPolicy.initialInterval cannot be 0');
|
|
23
|
+
}
|
|
24
|
+
if (maximumInterval != null && maximumInterval < initialInterval) {
|
|
25
|
+
throw new _1.ValueError('RetryPolicy.maximumInterval cannot be less than its initialInterval');
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
maximumAttempts: retryPolicy.maximumAttempts,
|
|
29
|
+
initialInterval: (0, time_1.msToTs)(initialInterval),
|
|
30
|
+
maximumInterval: (0, time_1.msOptionalToTs)(maximumInterval),
|
|
31
|
+
backoffCoefficient: retryPolicy.backoffCoefficient,
|
|
32
|
+
nonRetryableErrorTypes: retryPolicy.nonRetryableErrorTypes,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
exports.compileRetryPolicy = compileRetryPolicy;
|
|
36
|
+
//# sourceMappingURL=retry-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retry-policy.js","sourceRoot":"","sources":["../src/retry-policy.ts"],"names":[],"mappings":";;;AACA,wBAA+B;AAC/B,iCAAgF;AA0ChF;;GAEG;AACH,SAAgB,kBAAkB,CAAC,WAAwB;IACzD,IAAI,WAAW,CAAC,kBAAkB,IAAI,IAAI,IAAI,WAAW,CAAC,kBAAkB,IAAI,CAAC,EAAE;QACjF,MAAM,IAAI,aAAU,CAAC,uDAAuD,CAAC,CAAC;KAC/E;IACD,IAAI,WAAW,CAAC,eAAe,IAAI,IAAI,IAAI,WAAW,CAAC,eAAe,IAAI,CAAC,EAAE;QAC3E,MAAM,IAAI,aAAU,CAAC,oDAAoD,CAAC,CAAC;KAC5E;IACD,MAAM,eAAe,GAAG,IAAA,yBAAkB,EAAC,WAAW,CAAC,eAAe,CAAC,CAAC;IACxE,MAAM,eAAe,GAAG,IAAA,iBAAU,EAAC,WAAW,CAAC,eAAe,IAAI,IAAI,CAAC,CAAC;IACxE,IAAI,eAAe,KAAK,CAAC,EAAE;QACzB,MAAM,IAAI,aAAU,CAAC,yCAAyC,CAAC,CAAC;KACjE;IACD,IAAI,eAAe,KAAK,CAAC,EAAE;QACzB,MAAM,IAAI,aAAU,CAAC,yCAAyC,CAAC,CAAC;KACjE;IACD,IAAI,eAAe,IAAI,IAAI,IAAI,eAAe,GAAG,eAAe,EAAE;QAChE,MAAM,IAAI,aAAU,CAAC,qEAAqE,CAAC,CAAC;KAC7F;IACD,OAAO;QACL,eAAe,EAAE,WAAW,CAAC,eAAe;QAC5C,eAAe,EAAE,IAAA,aAAM,EAAC,eAAe,CAAC;QACxC,eAAe,EAAE,IAAA,qBAAc,EAAC,eAAe,CAAC;QAChD,kBAAkB,EAAE,WAAW,CAAC,kBAAkB;QAClD,sBAAsB,EAAE,WAAW,CAAC,sBAAsB;KAC3D,CAAC;AACJ,CAAC;AAzBD,gDAyBC"}
|
package/lib/time.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ export declare function optionalTsToMs(ts: Timestamp | null | undefined): number
|
|
|
10
10
|
*/
|
|
11
11
|
export declare function tsToMs(ts: Timestamp | null | undefined): number;
|
|
12
12
|
export declare function msNumberToTs(millis: number): Timestamp;
|
|
13
|
+
export declare function falsyMsToTs(str: string | number | undefined): Timestamp | undefined;
|
|
13
14
|
export declare function msToTs(str: string | number): Timestamp;
|
|
14
15
|
export declare function msOptionalToTs(str: string | number | undefined): Timestamp | undefined;
|
|
16
|
+
export declare function msOptionalToNumber(val: string | number | undefined): number | undefined;
|
|
15
17
|
export declare function msToNumber(val: string | number): number;
|
package/lib/time.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.msToNumber = exports.msOptionalToTs = exports.msToTs = exports.msNumberToTs = exports.tsToMs = exports.optionalTsToMs = void 0;
|
|
6
|
+
exports.msToNumber = exports.msOptionalToNumber = exports.msOptionalToTs = exports.msToTs = exports.falsyMsToTs = exports.msNumberToTs = exports.tsToMs = exports.optionalTsToMs = void 0;
|
|
7
7
|
const long_1 = __importDefault(require("long"));
|
|
8
8
|
const ms_1 = __importDefault(require("ms"));
|
|
9
9
|
const errors_1 = require("./errors");
|
|
@@ -41,6 +41,10 @@ function msNumberToTs(millis) {
|
|
|
41
41
|
return { seconds: long_1.default.fromNumber(seconds), nanos };
|
|
42
42
|
}
|
|
43
43
|
exports.msNumberToTs = msNumberToTs;
|
|
44
|
+
function falsyMsToTs(str) {
|
|
45
|
+
return str ? msToTs(str) : undefined;
|
|
46
|
+
}
|
|
47
|
+
exports.falsyMsToTs = falsyMsToTs;
|
|
44
48
|
function msToTs(str) {
|
|
45
49
|
if (typeof str === 'number') {
|
|
46
50
|
return msNumberToTs(str);
|
|
@@ -57,6 +61,12 @@ function msOptionalToTs(str) {
|
|
|
57
61
|
return msNumberToTs((0, ms_1.default)(str));
|
|
58
62
|
}
|
|
59
63
|
exports.msOptionalToTs = msOptionalToTs;
|
|
64
|
+
function msOptionalToNumber(val) {
|
|
65
|
+
if (val === undefined)
|
|
66
|
+
return undefined;
|
|
67
|
+
return msToNumber(val);
|
|
68
|
+
}
|
|
69
|
+
exports.msOptionalToNumber = msOptionalToNumber;
|
|
60
70
|
function msToNumber(val) {
|
|
61
71
|
if (typeof val === 'number') {
|
|
62
72
|
return val;
|
package/lib/time.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time.js","sourceRoot":"","sources":["../src/time.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AACxB,4CAAoB;AAEpB,qCAAsC;AAStC;;;GAG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,IAAI,GAAG,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IACxC,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC;AACzB,CAAC;AAHD,gDAGC;AAED,SAAgB,UAAU,CAAC,GAAoB;IAC7C,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC3B,OAAO,GAAG,CAAC;KACZ;IACD,OAAO,IAAA,YAAE,EAAC,GAAG,CAAC,CAAC;AACjB,CAAC;AALD,gCAKC"}
|
package/lib/type-helpers.d.ts
CHANGED
|
@@ -6,3 +6,7 @@ export declare type OmitLast<T> = T extends [...infer REST, any] ? REST : never;
|
|
|
6
6
|
export declare type OmitLastParam<F extends AnyFunc> = (...args: OmitLast<Parameters<F>>) => ReturnType<F>;
|
|
7
7
|
/** Verify that an type _Copy extends _Orig */
|
|
8
8
|
export declare function checkExtends<_Orig, _Copy extends _Orig>(): void;
|
|
9
|
+
export declare type Replace<Base, New> = Omit<Base, keyof New> & New;
|
|
10
|
+
export declare type MakeOptional<Base, Keys extends keyof Base> = Omit<Base, Keys> & Partial<Pick<Base, Keys>>;
|
|
11
|
+
export declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
12
|
+
export declare function hasOwnProperties<X extends Record<string, unknown>, Y extends PropertyKey>(record: X, props: Y[]): record is X & Record<Y, unknown>;
|
package/lib/type-helpers.js
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.checkExtends = void 0;
|
|
3
|
+
exports.hasOwnProperties = exports.isRecord = exports.checkExtends = void 0;
|
|
4
4
|
/** Verify that an type _Copy extends _Orig */
|
|
5
5
|
function checkExtends() {
|
|
6
6
|
// noop, just type check
|
|
7
7
|
}
|
|
8
8
|
exports.checkExtends = checkExtends;
|
|
9
|
+
function isRecord(value) {
|
|
10
|
+
return typeof value === 'object' && value !== null;
|
|
11
|
+
}
|
|
12
|
+
exports.isRecord = isRecord;
|
|
13
|
+
function hasOwnProperties(record, props) {
|
|
14
|
+
return props.every((prop) => prop in record);
|
|
15
|
+
}
|
|
16
|
+
exports.hasOwnProperties = hasOwnProperties;
|
|
9
17
|
//# sourceMappingURL=type-helpers.js.map
|
package/lib/type-helpers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type-helpers.js","sourceRoot":"","sources":["../src/type-helpers.ts"],"names":[],"mappings":";;;AAOA,8CAA8C;AAC9C,SAAgB,YAAY;IAC1B,wBAAwB;AAC1B,CAAC;AAFD,oCAEC"}
|
|
1
|
+
{"version":3,"file":"type-helpers.js","sourceRoot":"","sources":["../src/type-helpers.ts"],"names":[],"mappings":";;;AAOA,8CAA8C;AAC9C,SAAgB,YAAY;IAC1B,wBAAwB;AAC1B,CAAC;AAFD,oCAEC;AAMD,SAAgB,QAAQ,CAAC,KAAc;IACrC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC;AACrD,CAAC;AAFD,4BAEC;AAED,SAAgB,gBAAgB,CAC9B,MAAS,EACT,KAAU;IAEV,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,IAAI,MAAM,CAAC,CAAC;AAC/C,CAAC;AALD,4CAKC"}
|
package/lib/utils.d.ts
ADDED
package/lib/utils.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.filterNullAndUndefined = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Helper to prevent undefined and null values overriding defaults when merging maps
|
|
6
|
+
*/
|
|
7
|
+
function filterNullAndUndefined(obj) {
|
|
8
|
+
return Object.fromEntries(Object.entries(obj).filter(([_k, v]) => v != null));
|
|
9
|
+
}
|
|
10
|
+
exports.filterNullAndUndefined = filterNullAndUndefined;
|
|
11
|
+
//# sourceMappingURL=utils.js.map
|
package/lib/utils.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,SAAgB,sBAAsB,CAAgC,GAAM;IAC1E,OAAO,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAQ,CAAC;AACvF,CAAC;AAFD,wDAEC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { google } from '@temporalio/proto/lib/coresdk';
|
|
2
2
|
import { Workflow } from './interfaces';
|
|
3
|
+
import { Replace } from './type-helpers';
|
|
4
|
+
import { RetryPolicy } from './retry-policy';
|
|
3
5
|
export declare enum WorkflowIdReusePolicy {
|
|
4
6
|
WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED = 0,
|
|
5
7
|
WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE = 1,
|
|
6
8
|
WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY = 2,
|
|
7
9
|
WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE = 3
|
|
8
10
|
}
|
|
9
|
-
export declare type RetryPolicy = coresdk.common.IRetryPolicy;
|
|
10
11
|
export interface BaseWorkflowOptions {
|
|
11
12
|
/**
|
|
12
13
|
* Specifies server behavior if a completed workflow with the same id exists. Note that under no
|
|
@@ -18,7 +19,13 @@ export interface BaseWorkflowOptions {
|
|
|
18
19
|
* REJECT_DUPLICATE doesn't allow new run independently of the previous run closure status.
|
|
19
20
|
*/
|
|
20
21
|
workflowIdReusePolicy?: WorkflowIdReusePolicy;
|
|
21
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Controls how a Workflow is retried.
|
|
24
|
+
*
|
|
25
|
+
* Workflows should typically use the system default, do not set this unless
|
|
26
|
+
* you know what you're doing.
|
|
27
|
+
*/
|
|
28
|
+
retry?: RetryPolicy;
|
|
22
29
|
/**
|
|
23
30
|
* Optional cron schedule for Workflow. If a cron schedule is specified, the Workflow will run
|
|
24
31
|
* as a cron based on the schedule. The scheduling will be based on UTC time. The schedule for the next run only happens
|
|
@@ -77,9 +84,9 @@ export interface WorkflowDurationOptions {
|
|
|
77
84
|
workflowTaskTimeout?: string | number;
|
|
78
85
|
}
|
|
79
86
|
export declare type CommonWorkflowOptions = BaseWorkflowOptions & WorkflowDurationOptions;
|
|
80
|
-
export declare type WithCompiledWorkflowDurationOptions<T extends WorkflowDurationOptions> =
|
|
87
|
+
export declare type WithCompiledWorkflowDurationOptions<T extends WorkflowDurationOptions> = Replace<T, {
|
|
81
88
|
workflowExecutionTimeout?: google.protobuf.IDuration;
|
|
82
89
|
workflowRunTimeout?: google.protobuf.IDuration;
|
|
83
90
|
workflowTaskTimeout?: google.protobuf.IDuration;
|
|
84
|
-
}
|
|
91
|
+
}>;
|
|
85
92
|
export declare function compileWorkflowOptions<T extends WorkflowDurationOptions>(options: T): WithCompiledWorkflowDurationOptions<T>;
|
package/lib/workflow-options.js
CHANGED
|
@@ -17,9 +17,9 @@ function compileWorkflowOptions(options) {
|
|
|
17
17
|
const { workflowExecutionTimeout, workflowRunTimeout, workflowTaskTimeout, ...rest } = options;
|
|
18
18
|
return {
|
|
19
19
|
...rest,
|
|
20
|
-
workflowExecutionTimeout:
|
|
21
|
-
workflowRunTimeout:
|
|
22
|
-
workflowTaskTimeout:
|
|
20
|
+
workflowExecutionTimeout: (0, time_1.falsyMsToTs)(workflowExecutionTimeout),
|
|
21
|
+
workflowRunTimeout: (0, time_1.falsyMsToTs)(workflowRunTimeout),
|
|
22
|
+
workflowTaskTimeout: (0, time_1.falsyMsToTs)(workflowTaskTimeout),
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
exports.compileWorkflowOptions = compileWorkflowOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-options.js","sourceRoot":"","sources":["../src/workflow-options.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"workflow-options.js","sourceRoot":"","sources":["../src/workflow-options.ts"],"names":[],"mappings":";;;AAEA,iCAAqC;AAGrC,iDAA8C;AAE9C,0EAA0E;AAC1E,mDAAmD;AACnD,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC/B,iIAAwC,CAAA;IACxC,yIAA4C,CAAA;IAC5C,iKAAwD,CAAA;IACxD,2IAA6C,CAAA;AAC/C,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC;AAED,IAAA,2BAAY,GAA+D,CAAC;AAoG5E,SAAgB,sBAAsB,CACpC,OAAU;IAEV,MAAM,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,GAAG,IAAI,EAAE,GAAG,OAAO,CAAC;IAE/F,OAAO;QACL,GAAG,IAAI;QACP,wBAAwB,EAAE,IAAA,kBAAW,EAAC,wBAAwB,CAAC;QAC/D,kBAAkB,EAAE,IAAA,kBAAW,EAAC,kBAAkB,CAAC;QACnD,mBAAmB,EAAE,IAAA,kBAAW,EAAC,mBAAmB,CAAC;KACtD,CAAC;AACJ,CAAC;AAXD,wDAWC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporalio/common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Temporal.io SDK common library for use in Workflow and normal code",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"author": "Roey Berman <roey@temporal.io>",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@temporalio/proto": "^0.
|
|
16
|
+
"@temporalio/proto": "^0.18.0",
|
|
17
17
|
"ms": "^2.1.3"
|
|
18
18
|
},
|
|
19
19
|
"bugs": {
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "1f8030e0e003fac70969bee9bb816d9520910d02"
|
|
27
27
|
}
|
package/src/activity-options.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { coresdk } from '@temporalio/proto/lib/coresdk';
|
|
2
|
-
import {
|
|
2
|
+
import { RetryPolicy } from './retry-policy';
|
|
3
3
|
import { checkExtends } from './type-helpers';
|
|
4
4
|
|
|
5
5
|
// Avoid importing the proto implementation to reduce workflow bundle size
|
|
@@ -46,9 +46,9 @@ export interface ActivityOptions {
|
|
|
46
46
|
heartbeatTimeout?: string | number;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* RetryPolicy that define how activity is retried in case of failure. If this is not set, then the server-defined default activity retry policy will be used. To ensure zero retries, set maximum attempts to 1.
|
|
50
50
|
*/
|
|
51
|
-
retry?:
|
|
51
|
+
retry?: RetryPolicy;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* Maximum time of a single Activity execution attempt.
|
package/src/errors.ts
CHANGED
|
@@ -13,6 +13,39 @@ export class IllegalStateError extends Error {
|
|
|
13
13
|
public readonly name: string = 'IllegalStateError';
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
/**
|
|
17
|
+
* This exception is thrown in the following cases:
|
|
18
|
+
* - Workflow with the same WorkflowId is currently running
|
|
19
|
+
* - There is a closed workflow with the same ID and the {@link WorkflowOptions.workflowIdReusePolicy}
|
|
20
|
+
* is `WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE`
|
|
21
|
+
* - There is successfully closed workflow with the same ID and the {@link WorkflowOptions.workflowIdReusePolicy}
|
|
22
|
+
* is `WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY`
|
|
23
|
+
* - {@link Workflow.execute} is called *more than once* on a handle created through {@link createChildWorkflowHandle} and the
|
|
24
|
+
* {@link WorkflowOptions.workflowIdReusePolicy} is `WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE`
|
|
25
|
+
*/
|
|
26
|
+
export class WorkflowExecutionAlreadyStartedError extends Error {
|
|
27
|
+
public readonly name: string = 'WorkflowExecutionAlreadyStartedError';
|
|
28
|
+
|
|
29
|
+
constructor(message: string, public readonly workflowId: string, public readonly workflowType: string) {
|
|
30
|
+
super(message);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Thrown when workflow with the given id is not known to the Temporal service.
|
|
36
|
+
* It could be because:
|
|
37
|
+
* - ID passed is incorrect
|
|
38
|
+
* - Workflow execution is complete (for some calls e.g. terminate),
|
|
39
|
+
* - workflow was purged from the service after reaching its retention limit.
|
|
40
|
+
*/
|
|
41
|
+
export class WorkflowNotFoundError extends Error {
|
|
42
|
+
public readonly name: string = 'WorkflowNotFoundError';
|
|
43
|
+
|
|
44
|
+
constructor(message: string, public readonly workflowId: string, public readonly runId: string | undefined) {
|
|
45
|
+
super(message);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
16
49
|
/**
|
|
17
50
|
* Get error message from an Error or string or return undefined
|
|
18
51
|
*/
|
package/src/failure.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { temporal } from '@temporalio/proto/lib/coresdk';
|
|
2
2
|
import { DataConverter, arrayFromPayloads } from './converter/data-converter';
|
|
3
|
-
import { checkExtends } from './type-helpers';
|
|
3
|
+
import { checkExtends, hasOwnProperties, isRecord } from './type-helpers';
|
|
4
4
|
|
|
5
5
|
export const FAILURE_SOURCE = 'TypeScriptSDK';
|
|
6
6
|
export type ProtoFailure = temporal.api.failure.v1.IFailure;
|
|
@@ -114,8 +114,8 @@ export class ApplicationFailure extends TemporalFailure {
|
|
|
114
114
|
* @param details optional details about the failure. They are serialized using the same approach
|
|
115
115
|
* as arguments and results.
|
|
116
116
|
*/
|
|
117
|
-
public static retryable(message: string | undefined, type
|
|
118
|
-
return new this(message, type, false, details);
|
|
117
|
+
public static retryable(message: string | undefined, type?: string, ...details: unknown[]): ApplicationFailure {
|
|
118
|
+
return new this(message, type ?? 'Error', false, details);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
/**
|
|
@@ -129,8 +129,8 @@ export class ApplicationFailure extends TemporalFailure {
|
|
|
129
129
|
* @param details optional details about the failure. They are serialized using the same approach
|
|
130
130
|
* as arguments and results.
|
|
131
131
|
*/
|
|
132
|
-
public static nonRetryable(message: string | undefined, type
|
|
133
|
-
return new this(message, type, true, details);
|
|
132
|
+
public static nonRetryable(message: string | undefined, type?: string, ...details: unknown[]): ApplicationFailure {
|
|
133
|
+
return new this(message, type ?? 'Error', true, details);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
@@ -220,7 +220,7 @@ export async function optionalErrorToOptionalFailure(
|
|
|
220
220
|
/**
|
|
221
221
|
* Stack traces will be cutoff when on of these patterns is matched
|
|
222
222
|
*/
|
|
223
|
-
const
|
|
223
|
+
const CUTOFF_STACK_PATTERNS = [
|
|
224
224
|
/** Activity execution */
|
|
225
225
|
/\s+at Activity\.execute \(.*[\\/]worker[\\/](?:src|lib)[\\/]activity\.[jt]s:\d+:\d+\)/,
|
|
226
226
|
/** Workflow activation */
|
|
@@ -234,7 +234,7 @@ export function cutoffStackTrace(stack?: string): string {
|
|
|
234
234
|
const lines = (stack ?? '').split(/\r?\n/);
|
|
235
235
|
const acc = Array<string>();
|
|
236
236
|
lineLoop: for (const line of lines) {
|
|
237
|
-
for (const pattern of
|
|
237
|
+
for (const pattern of CUTOFF_STACK_PATTERNS) {
|
|
238
238
|
if (pattern.test(line)) break lineLoop;
|
|
239
239
|
}
|
|
240
240
|
acc.push(line);
|
|
@@ -329,15 +329,22 @@ export async function errorToFailure(err: unknown, dataConverter: DataConverter)
|
|
|
329
329
|
source: FAILURE_SOURCE,
|
|
330
330
|
};
|
|
331
331
|
|
|
332
|
-
if (err
|
|
333
|
-
return {
|
|
332
|
+
if (isRecord(err) && hasOwnProperties(err, ['message', 'stack'])) {
|
|
333
|
+
return {
|
|
334
|
+
...base,
|
|
335
|
+
message: String(err.message) ?? '',
|
|
336
|
+
stackTrace: cutoffStackTrace(String(err.stack)),
|
|
337
|
+
cause: await optionalErrorToOptionalFailure(err.cause, dataConverter),
|
|
338
|
+
};
|
|
334
339
|
}
|
|
335
340
|
|
|
341
|
+
const recommendation = ` [A non-Error value was thrown from your code. We recommend throwing Error objects so that we can provide a stack trace.]`;
|
|
342
|
+
|
|
336
343
|
if (typeof err === 'string') {
|
|
337
|
-
return { ...base, message: err };
|
|
344
|
+
return { ...base, message: err + recommendation };
|
|
338
345
|
}
|
|
339
346
|
|
|
340
|
-
return { ...base, message:
|
|
347
|
+
return { ...base, message: JSON.stringify(err) + recommendation };
|
|
341
348
|
}
|
|
342
349
|
|
|
343
350
|
/**
|
package/src/index.ts
CHANGED
|
@@ -9,7 +9,9 @@ export * from './errors';
|
|
|
9
9
|
export * from './failure';
|
|
10
10
|
export * from './interceptors';
|
|
11
11
|
export * from './interfaces';
|
|
12
|
+
export * from './retry-policy';
|
|
12
13
|
export * from './time';
|
|
13
14
|
export * from './tls-config';
|
|
14
15
|
export * from './workflow-handle';
|
|
15
16
|
export * from './workflow-options';
|
|
17
|
+
export * from './utils';
|
package/src/interfaces.ts
CHANGED
|
@@ -35,43 +35,3 @@ export interface QueryDefinition<_Ret, _Args extends any[] = []> {
|
|
|
35
35
|
|
|
36
36
|
/** Get the "unwrapped" return type (without Promise) of the execute handler from Workflow type `W` */
|
|
37
37
|
export type WorkflowResultType<W extends Workflow> = ReturnType<W> extends Promise<infer R> ? R : never;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Defines options for activity retries
|
|
41
|
-
* @see {@link https://www.javadoc.io/doc/io.temporal/temporal-sdk/latest/io/temporal/common/RetryOptions.Builder.html | Java SDK definition}
|
|
42
|
-
*/
|
|
43
|
-
export interface RetryOptions {
|
|
44
|
-
/**
|
|
45
|
-
* Coefficient used to calculate the next retry interval.
|
|
46
|
-
* The next retry interval is previous interval multiplied by this coefficient.
|
|
47
|
-
* @minimum 1
|
|
48
|
-
* @default 2
|
|
49
|
-
*/
|
|
50
|
-
backoffCoefficient?: number;
|
|
51
|
-
/**
|
|
52
|
-
* Interval of the first retry.
|
|
53
|
-
* If coefficient is 1 then it is used for all retries
|
|
54
|
-
* @format {@link https://www.npmjs.com/package/ms | ms} formatted string or number of milliseconds
|
|
55
|
-
*/
|
|
56
|
-
initialInterval: string | number;
|
|
57
|
-
/**
|
|
58
|
-
* Maximum number of attempts. When exceeded the retries stop even if not expired yet.
|
|
59
|
-
* @minimum 1
|
|
60
|
-
* @default Infinity
|
|
61
|
-
*/
|
|
62
|
-
maximumAttempts?: number;
|
|
63
|
-
/**
|
|
64
|
-
* Maximum interval between retries.
|
|
65
|
-
* Exponential backoff leads to interval increase.
|
|
66
|
-
* This value is the cap of the increase.
|
|
67
|
-
*
|
|
68
|
-
* @default 100x of {@link initialInterval}
|
|
69
|
-
* @format {@link https://www.npmjs.com/package/ms | ms} formatted string or number of milliseconds
|
|
70
|
-
*/
|
|
71
|
-
maximumInterval?: string | number;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* List of application failures types to not retry.
|
|
75
|
-
*/
|
|
76
|
-
nonRetryableErrorTypes?: string[];
|
|
77
|
-
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { temporal } from '@temporalio/proto';
|
|
2
|
+
import { ValueError } from '.';
|
|
3
|
+
import { msOptionalToNumber, msOptionalToTs, msToNumber, msToTs } from './time';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Options for retrying Workflows and Activities
|
|
7
|
+
*/
|
|
8
|
+
export interface RetryPolicy {
|
|
9
|
+
/**
|
|
10
|
+
* Coefficient used to calculate the next retry interval.
|
|
11
|
+
* The next retry interval is previous interval multiplied by this coefficient.
|
|
12
|
+
* @minimum 1
|
|
13
|
+
* @default 2
|
|
14
|
+
*/
|
|
15
|
+
backoffCoefficient?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Interval of the first retry.
|
|
18
|
+
* If coefficient is 1 then it is used for all retries
|
|
19
|
+
* @format {@link https://www.npmjs.com/package/ms | ms} formatted string or number of milliseconds
|
|
20
|
+
* @default 1 second
|
|
21
|
+
*/
|
|
22
|
+
initialInterval?: string | number;
|
|
23
|
+
/**
|
|
24
|
+
* Maximum number of attempts. When exceeded the retries stop even if not expired yet.
|
|
25
|
+
* @minimum 1
|
|
26
|
+
* @default Infinity
|
|
27
|
+
*/
|
|
28
|
+
maximumAttempts?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Maximum interval between retries.
|
|
31
|
+
* Exponential backoff leads to interval increase.
|
|
32
|
+
* This value is the cap of the increase.
|
|
33
|
+
*
|
|
34
|
+
* @default 100x of {@link initialInterval}
|
|
35
|
+
* @format {@link https://www.npmjs.com/package/ms | ms} formatted string or number of milliseconds
|
|
36
|
+
*/
|
|
37
|
+
maximumInterval?: string | number;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* List of application failures types to not retry.
|
|
41
|
+
*/
|
|
42
|
+
nonRetryableErrorTypes?: string[];
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Turns a TS RetryPolicy into a proto compatible RetryPolicy
|
|
47
|
+
*/
|
|
48
|
+
export function compileRetryPolicy(retryPolicy: RetryPolicy): temporal.api.common.v1.IRetryPolicy {
|
|
49
|
+
if (retryPolicy.backoffCoefficient != null && retryPolicy.backoffCoefficient <= 0) {
|
|
50
|
+
throw new ValueError('RetryPolicy.backoffCoefficient must be greater than 0');
|
|
51
|
+
}
|
|
52
|
+
if (retryPolicy.maximumAttempts != null && retryPolicy.maximumAttempts <= 0) {
|
|
53
|
+
throw new ValueError('RetryPolicy.maximumAttempts must be greater than 0');
|
|
54
|
+
}
|
|
55
|
+
const maximumInterval = msOptionalToNumber(retryPolicy.maximumInterval);
|
|
56
|
+
const initialInterval = msToNumber(retryPolicy.initialInterval ?? 1000);
|
|
57
|
+
if (maximumInterval === 0) {
|
|
58
|
+
throw new ValueError('RetryPolicy.maximumInterval cannot be 0');
|
|
59
|
+
}
|
|
60
|
+
if (initialInterval === 0) {
|
|
61
|
+
throw new ValueError('RetryPolicy.initialInterval cannot be 0');
|
|
62
|
+
}
|
|
63
|
+
if (maximumInterval != null && maximumInterval < initialInterval) {
|
|
64
|
+
throw new ValueError('RetryPolicy.maximumInterval cannot be less than its initialInterval');
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
maximumAttempts: retryPolicy.maximumAttempts,
|
|
68
|
+
initialInterval: msToTs(initialInterval),
|
|
69
|
+
maximumInterval: msOptionalToTs(maximumInterval),
|
|
70
|
+
backoffCoefficient: retryPolicy.backoffCoefficient,
|
|
71
|
+
nonRetryableErrorTypes: retryPolicy.nonRetryableErrorTypes,
|
|
72
|
+
};
|
|
73
|
+
}
|
package/src/time.ts
CHANGED
|
@@ -44,6 +44,10 @@ export function msNumberToTs(millis: number): Timestamp {
|
|
|
44
44
|
return { seconds: Long.fromNumber(seconds), nanos };
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
export function falsyMsToTs(str: string | number | undefined): Timestamp | undefined {
|
|
48
|
+
return str ? msToTs(str) : undefined;
|
|
49
|
+
}
|
|
50
|
+
|
|
47
51
|
export function msToTs(str: string | number): Timestamp {
|
|
48
52
|
if (typeof str === 'number') {
|
|
49
53
|
return msNumberToTs(str);
|
|
@@ -59,6 +63,11 @@ export function msOptionalToTs(str: string | number | undefined): Timestamp | un
|
|
|
59
63
|
return msNumberToTs(ms(str));
|
|
60
64
|
}
|
|
61
65
|
|
|
66
|
+
export function msOptionalToNumber(val: string | number | undefined): number | undefined {
|
|
67
|
+
if (val === undefined) return undefined;
|
|
68
|
+
return msToNumber(val);
|
|
69
|
+
}
|
|
70
|
+
|
|
62
71
|
export function msToNumber(val: string | number): number {
|
|
63
72
|
if (typeof val === 'number') {
|
|
64
73
|
return val;
|
package/src/type-helpers.ts
CHANGED
|
@@ -9,3 +9,18 @@ export type OmitLastParam<F extends AnyFunc> = (...args: OmitLast<Parameters<F>>
|
|
|
9
9
|
export function checkExtends<_Orig, _Copy extends _Orig>(): void {
|
|
10
10
|
// noop, just type check
|
|
11
11
|
}
|
|
12
|
+
|
|
13
|
+
export type Replace<Base, New> = Omit<Base, keyof New> & New;
|
|
14
|
+
|
|
15
|
+
export type MakeOptional<Base, Keys extends keyof Base> = Omit<Base, Keys> & Partial<Pick<Base, Keys>>;
|
|
16
|
+
|
|
17
|
+
export function isRecord(value: unknown): value is Record<string, unknown> {
|
|
18
|
+
return typeof value === 'object' && value !== null;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export function hasOwnProperties<X extends Record<string, unknown>, Y extends PropertyKey>(
|
|
22
|
+
record: X,
|
|
23
|
+
props: Y[]
|
|
24
|
+
): record is X & Record<Y, unknown> {
|
|
25
|
+
return props.every((prop) => prop in record);
|
|
26
|
+
}
|
package/src/utils.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helper to prevent undefined and null values overriding defaults when merging maps
|
|
3
|
+
*/
|
|
4
|
+
export function filterNullAndUndefined<T extends Record<string, any>>(obj: T): T {
|
|
5
|
+
return Object.fromEntries(Object.entries(obj).filter(([_k, v]) => v != null)) as any;
|
|
6
|
+
}
|
package/src/workflow-options.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { coresdk, google } from '@temporalio/proto/lib/coresdk';
|
|
2
2
|
import { Workflow } from './interfaces';
|
|
3
|
-
import {
|
|
3
|
+
import { falsyMsToTs } from './time';
|
|
4
|
+
import { Replace } from './type-helpers';
|
|
5
|
+
import { RetryPolicy } from './retry-policy';
|
|
4
6
|
import { checkExtends } from './type-helpers';
|
|
5
7
|
|
|
6
8
|
// Avoid importing the proto implementation to reduce workflow bundle size
|
|
@@ -14,8 +16,6 @@ export enum WorkflowIdReusePolicy {
|
|
|
14
16
|
|
|
15
17
|
checkExtends<coresdk.common.WorkflowIdReusePolicy, WorkflowIdReusePolicy>();
|
|
16
18
|
|
|
17
|
-
export type RetryPolicy = coresdk.common.IRetryPolicy;
|
|
18
|
-
|
|
19
19
|
export interface BaseWorkflowOptions {
|
|
20
20
|
/**
|
|
21
21
|
* Specifies server behavior if a completed workflow with the same id exists. Note that under no
|
|
@@ -28,7 +28,13 @@ export interface BaseWorkflowOptions {
|
|
|
28
28
|
*/
|
|
29
29
|
workflowIdReusePolicy?: WorkflowIdReusePolicy;
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Controls how a Workflow is retried.
|
|
33
|
+
*
|
|
34
|
+
* Workflows should typically use the system default, do not set this unless
|
|
35
|
+
* you know what you're doing.
|
|
36
|
+
*/
|
|
37
|
+
retry?: RetryPolicy;
|
|
32
38
|
|
|
33
39
|
/**
|
|
34
40
|
* Optional cron schedule for Workflow. If a cron schedule is specified, the Workflow will run
|
|
@@ -99,14 +105,14 @@ export interface WorkflowDurationOptions {
|
|
|
99
105
|
|
|
100
106
|
export type CommonWorkflowOptions = BaseWorkflowOptions & WorkflowDurationOptions;
|
|
101
107
|
|
|
102
|
-
export type WithCompiledWorkflowDurationOptions<T extends WorkflowDurationOptions> =
|
|
108
|
+
export type WithCompiledWorkflowDurationOptions<T extends WorkflowDurationOptions> = Replace<
|
|
103
109
|
T,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
+
{
|
|
111
|
+
workflowExecutionTimeout?: google.protobuf.IDuration;
|
|
112
|
+
workflowRunTimeout?: google.protobuf.IDuration;
|
|
113
|
+
workflowTaskTimeout?: google.protobuf.IDuration;
|
|
114
|
+
}
|
|
115
|
+
>;
|
|
110
116
|
|
|
111
117
|
export function compileWorkflowOptions<T extends WorkflowDurationOptions>(
|
|
112
118
|
options: T
|
|
@@ -115,8 +121,8 @@ export function compileWorkflowOptions<T extends WorkflowDurationOptions>(
|
|
|
115
121
|
|
|
116
122
|
return {
|
|
117
123
|
...rest,
|
|
118
|
-
workflowExecutionTimeout:
|
|
119
|
-
workflowRunTimeout:
|
|
120
|
-
workflowTaskTimeout:
|
|
124
|
+
workflowExecutionTimeout: falsyMsToTs(workflowExecutionTimeout),
|
|
125
|
+
workflowRunTimeout: falsyMsToTs(workflowRunTimeout),
|
|
126
|
+
workflowTaskTimeout: falsyMsToTs(workflowTaskTimeout),
|
|
121
127
|
};
|
|
122
128
|
}
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/@types/long/index.d.ts","../../node_modules/protobufjs/index.d.ts","../proto/lib/coresdk.d.ts","./src/interfaces.ts","./src/type-helpers.ts","./src/activity-options.ts","./src/encoding.ts","./src/errors.ts","./src/converter/types.ts","./src/converter/payload-converter.ts","./src/converter/data-converter.ts","./src/failure.ts","./src/interceptors.ts","../../node_modules/@types/ms/index.d.ts","./src/time.ts","./src/tls-config.ts","./src/workflow-handle.ts","./src/workflow-options.ts","./src/index.ts","../../node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.d.ts","../../node_modules/@opentelemetry/api/build/src/baggage/types.d.ts","../../node_modules/@opentelemetry/api/build/src/baggage/utils.d.ts","../../node_modules/@opentelemetry/api/build/src/common/exception.d.ts","../../node_modules/@opentelemetry/api/build/src/common/time.d.ts","../../node_modules/@opentelemetry/api/build/src/diag/types.d.ts","../../node_modules/@opentelemetry/api/build/src/diag/consolelogger.d.ts","../../node_modules/@opentelemetry/api/build/src/diag/index.d.ts","../../node_modules/@opentelemetry/api/build/src/context/types.d.ts","../../node_modules/@opentelemetry/api/build/src/propagation/textmappropagator.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/attributes.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/trace_state.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/span_context.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/link.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/status.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/span.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/span_kind.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/spanoptions.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/tracer.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/proxytracer.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/tracer_provider.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/proxytracerprovider.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/samplingresult.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/sampler.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/trace_flags.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.d.ts","../../node_modules/@opentelemetry/api/build/src/context/context.d.ts","../../node_modules/@opentelemetry/api/build/src/api/context.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/context-utils.d.ts","../../node_modules/@opentelemetry/api/build/src/api/trace.d.ts","../../node_modules/@opentelemetry/api/build/src/baggage/context-helpers.d.ts","../../node_modules/@opentelemetry/api/build/src/api/propagation.d.ts","../../node_modules/@opentelemetry/api/build/src/api/diag.d.ts","../../node_modules/@opentelemetry/api/build/src/index.d.ts","./src/otel.ts","../../node_modules/@types/retry/index.d.ts","../../node_modules/@types/async-retry/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/keyv/index.d.ts","../../node_modules/@types/http-cache-semantics/index.d.ts","../../node_modules/@types/responselike/index.d.ts","../../node_modules/@types/cacheable-request/index.d.ts","../../node_modules/@types/cross-spawn/index.d.ts","../../node_modules/@types/dedent/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/fs-extra/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/tough-cookie/index.d.ts","../../node_modules/@types/got/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/minipass/index.d.ts","../../node_modules/@types/node-fetch/node_modules/form-data/index.d.ts","../../node_modules/@types/node-fetch/externals.d.ts","../../node_modules/@types/node-fetch/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/pidusage/index.d.ts","../../node_modules/@types/prompts/index.d.ts","../../node_modules/ts-toolbelt/out/index.d.ts","../../node_modules/@types/ramda/tools.d.ts","../../node_modules/@types/ramda/index.d.ts","../../node_modules/@types/rimraf/index.d.ts","../../node_modules/@types/tar/index.d.ts","../../node_modules/@types/uuid/index.d.ts","../../node_modules/@types/validate-npm-package-name/index.d.ts"],"fileInfos":[{"version":"6adbf5efd0e374ff5f427a4f26a5a413e9734eee5067a0e86da69aea41910b52","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"e8465811693dfe4e96ef2b3dffda539d6edfe896961b7af37b44db2c0e48532b","1558c642e03689d42843e7b047b9c20e77ee09ab388ff854484db5dcfbed11da","f87577177b8099a7370923a26ae62e580639d45430196b8d500ce1c7cdce1eef","2e6200fb3fe9a9267205bc36f53bfa4b9ccb2c57baa1e6aae2995f367cf9e40c","a7f91cf71a31b81bb2e307e1686ce809e845ce2c1076b18fbd1a9ed50e2e5a3c","ad5ec51e03690688170f15d6c344294cb9ff3ef3103579441d423c03a293c70d","d95f9e88aa9f69a1127b31321137dd97a58668f17cc764603a693314a038a3dd","fadbcb98548455f18159af410b79939a9ebb79030da1cf55a43a5ad473cc5bd6","a3bc0a3686d7ad733f899b5cb50931560066b04d94732a281ff836a3f79b33c1","891092d04d6ae4cee181495683768dcd5e4afb04bb5abc5e132a9247d561be77","b62953ae9d2f47bf040387fd43f0ca19c231608315dc1781721b1f91b09c5e5e","6a9845e9b9d19647e973e6202892675c93a643dedddc6b21eb9375a9698666b2","da47da3e11c594d6774034ea7c0a5fa6bb08c61b1e1453d56af07d64a8b60622","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","eb2e4b0ea5b460dc345b734d8e603d71533f441ddee70f523a63d7b1c5eb97de","595b97f94582ecaa0cc1a2d97be4223495ae718a62895af169be93b53066f905","d3b36f73e1462b5e9ef21be195ec2b6f996730bff67753140f2db1ff6089cbdc","8d6d29602ea7e4bf3471482d8a01dac7bc470b42351a2fc9bba6e854735e553b","b984c2d0a9c618d9b08e2bd12efc331892f7b39e7032344f682176164a4c8578","4a36c925dcd89ed988b3c2844b0099416d176c898a7bd93159fda60b8441ccc8","fc2220a0370fe4c178159294a3aad1dbe1f790bd3544cc6d864aa3d7b1df1b5d","aaf3741cf4a11ead5269c782f0d8f579d631fed8f5f080ee369ab2f09ab0a5e6","b820818bb5f8ebb713633be7a3db6191aa12341ba23deb85af009006a9277a20","d6b875234878a2aa1febbfbcf59f6f8ee5bdf01b55a111238416bf00bc4f4d74","2ea9ab59e2b3f625d63e524f82dba5fad02412e13e29132023c0917977d0c0e6","a8b7eec40be2f16f3a276fd99e1c5ad5ef3565f56319c763be2d8983810033a2","e5ca18285f6adbee0ea27e89012e3e5e0816210eba73b60bcc534247543d7a46","2d7fed266cd1b54dece5de5cb58b2ef6f72736163b988bb0cbb090b8b152d3a8","4bb9ec99d41a4b7a433ae8b61bcf5a1c0b4e0eff253ff459f4ccfda64fe4bf51","f6607c445de0dbca0a1e0cdedff690ad27a01b230817e0074cda28574e7399cf","5bd1d2dde43d2f2dbe8370fd5e0bffbb17f98a75940f47fe7ee94b50f12e3e12","264f343285aca3a0cbc0f2609ba69b664b3ec714404dd4a09d2860de9e7c6c02","f342fa6a03a2941e83b795586ab91ef410ec59fdebf21e97027ce1eac273fc5f","79b0d8826c506b6eb75937a8a466dd29fad2fb8cff0f05f97bcacb962ed3f56e","10080687eba89fc69232f38ffc45da8f90d3ca137507453ee62497d6f458f740","496689ce350fd7e4c939966118517b0cb174f5acb2e1e6163688b18bef8de8b2","1c8a2cc119fc139415f49681634254b218d4c5c495ca11103db50ae9c90d54d1","76c71c77e675f16b339789d17fc1e6589a98241d731dda429828cee107904857","0f1e60175a7fe4a1a9d6ddde857a19333c7f4682ec4f2ff4347cb8ff729cbe92","975fda3a8a7e46679765f9fc272235e07f36646b8af9d989a622d782b0cd3c2b","b3214b6a5e14b5a994f856fda1562c89cd208caf0c44040980a59cffa9ad3e63","9d34f34601bf2058f5045ad6c15fab3c323e69353c14713b5365e0ecc0c87d75","e73ea58406c7aa00e04d16a93ac1a8dd614433396ae3e0b6855ddb83d0544837","9d6796534f08ea5b84c211e224fd6ec1430113c07195c6e29dd5fd52f804df7c","d4dc45e2085acd5b61836f9ca03f148d620b781c983411d0963317a155ffd32c","76388575482f6c37a446179cc8c6825f910cdafc9ed55daaee7abf3f6b73a29e","6116ea81a38eb614b32317eb87c2f903915eaae16bf5a59e9838723e7cb06ab4","538bef0ddc796f3d6e5c7d90816e1972e11acc7d962e7e9b1eec3e192cbf1a99","b60cdf96b6934a221ce3b66b9bb82734843c4df27da12acc6c43c3a0e46adea5","3de96ee1d0e54cac8396ff88bab0be56fd2149daaba05d1b08968932ae5cec37","8ece80ff440d4aec6bfa8bb50685599cd199c19082f256bdea2c95c3ba7b3ea6","374421af52bad74f65653c9524fba315c9157b6cbce117d902e9d1ad625abb01","bcb58afb796b9b35068ca86768aac0934b738f141e54ed803a2be867f229a4a6","b357fcf1b0a37b9c3e2fec33fb2949e4fed07c6b2c617185de90f6d81da7a5e6","923df0e4714decae8f51ec4d17ab60974dd495e19045dcbb313b91479dea5f24","58a3914b1cce4560d9ad6eee2b716caaa030eda0a90b21ca2457ea9e2783eaa3","79d2fdaa1e0bf1a62b59de50e185374b74d22dc43144a78eab1bbcca0a4a2550","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","5533392c50c51b1a5c32b89f13145db929c574ef1c5949cf67a074a05ea107d9","b287b810b5035d5685f1df6e1e418f1ca452a3ed4f59fd5cc081dbf2045f0d9b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"902cd98bf46e95caf4118a0733fb801e9e90eec3edaed6abdad77124afec9ca2","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","cd4854d38f4eb5592afd98ab95ca17389a7dfe38013d9079e802d739bdbcc939","94eed4cc2f5f658d5e229ff1ccd38860bddf4233e347bf78edd2154dee1f2b99",{"version":"bd1a08e30569b0fb2f0b21035eb9b039871f68faa9b98accf847e9c878c5e0a9","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"a279435e7813d1f061c0cab6ab77b1b9377e8d96851e5ed4a76a1ce6eb6e628f","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4","d88ecca73348e7c337541c4b8b60a50aca5e87384f6b8a422fc6603c637e4c21","badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1cdb8f094b969dcc183745dc88404e2d8fcf2a858c6e7cc2441011476573238e","82169f198ffdfc787fba368ccfad2b2d8ef3712f3c696df94ac13f6884bbbe2d","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","5e3a55837aa1f42af2d2334c9b750f59f5f50a2205471875f5dd6aadc3e49ddb","70646d9cb37b62611766d18a9bcca6cbf28ca9aec33a66244e974056ab1193f6",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","7d7c8ef7d48a035142c07dae60545ecc0e4af4c337742760cb09726f2f8e31db","6c29066d1acba21f6fde8042da49ba4df5cad690dac19416a8f7af17d451ed40","82772e5d55062a042a2715a555d347275a663940926fc785705eb082010cb9f6","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","660fa40695c7ca19a59fd09d31d495d952eee946e445a2c455ec63f255ec3050","19bf3ca55fd356755cda33e6e8c753d3d13d4aaa54ad9c5c032927f362188066","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","97057c24c7f25f01fa0db7a48b7885e0d9e73ace397d8cd71d9f7fcbdc4fab6f","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","208bb742e0f201470da121bc73847c74b62cff4172f38ae5949ae77d6c9c6b71","062bd2910098fc059ba93e347649b3e126c555f7b144033d21d3f8ef63d3e39b","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","fadd7bd4cb8b67e1f89b5688e9d896c3d3241c7aa816faba9bda78e3e166be22","4c8239bedbe72ce9405efb578f03f56219dba4ceb5a57ca3d2dc10334612f210","9df147746b0cbd11d022b564e6fdd43ac79b643dc579d2123317ee01cc4f0d70","ecbb2d349861fff68730a3b3ec9adce77cd491268c6186a685b7965c2c4b60bc","61772dfd5eee2b54128f72e352ed42696721359cacf81086a89f1bd527726258","f4cf5f0ad1cfb0ceebbe4fbe8aaf0aa728e899c99cc36ec6c0c4b8f6e8a84c83","239f0c1d83d1ca9677327198196ee2ce6827dc7b469771ab5abf7bea7fbdb674","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","bae219fc966077e88ec22d2dc2eb24617d3244d3593afdc5f2457fabd27d7462"],"options":{"composite":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"fileIdsList":[[66,139],[63,139],[60,66,67,89,139],[76,78,83,87,139],[59,66,139],[139],[58,139],[59,139],[63,64,139],[59,60,61,62,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,88,90,91,139],[66,70,73,139],[70,139],[68,70,139],[66,73,75,76,139],[76,78,139],[66,68,71,74,80,139],[68,139],[61,62,68,70,72,139],[69,139],[70,73,139],[62,68,71,74,139],[66,73,75,139],[76,139],[94,139],[111,114,138,139,146,147,148,149],[101,139,146],[139,155,156],[139,153,154,155],[112,139,146],[111,112,139,146,159],[114,116,128,138,139,146,161],[111,139,146],[114,138,139,146,165,166],[114,128,139,146],[96,139],[99,139],[100,105,139],[101,111,112,119,128,138,139],[101,102,111,119,139],[103,139],[104,105,112,120,139],[105,128,135,139],[106,108,111,119,139],[107,139],[108,109,139],[110,111,139],[111,139],[111,112,113,128,138,139],[111,112,113,128,139],[114,119,128,138,139],[111,112,114,115,119,128,135,138,139],[114,116,128,135,138,139],[96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145],[111,117,139],[118,138,139],[108,111,119,128,139],[120,139],[121,139],[99,122,139],[123,137,139,143],[124,139],[125,139],[111,126,139],[126,127,139,141],[111,128,129,130,139],[128,130,139],[128,129,139],[131,139],[132,139],[111,133,134,139],[133,134,139],[105,119,135,139],[136,139],[119,137,139],[100,114,125,138,139],[105,139],[128,139,140],[139,141],[139,142],[100,105,111,113,122,128,138,139,141,143],[128,139,144],[139,172,173],[139,172],[112,139,146,160],[111,128,139,144,146,164],[41,42,43,139],[46,47,48,139],[46,47,139],[41,45,139],[41,43,49,139],[42,44,46,49,50,51,53,54,55,56,139],[41,43,139],[49,51,92,139],[39,41,46,52,139],[42,139],[41,42,43,53,139],[39,40,139]],"referencedMap":[[86,1],[91,2],[90,3],[88,4],[89,5],[58,6],[59,7],[60,8],[61,6],[62,6],[85,1],[66,6],[64,2],[65,9],[63,6],[92,10],[67,1],[68,6],[87,11],[84,12],[71,13],[77,14],[79,15],[81,16],[80,17],[73,18],[70,19],[74,6],[83,20],[75,21],[72,6],[82,6],[69,6],[76,22],[78,23],[95,24],[150,25],[151,26],[152,6],[157,27],[153,6],[156,28],[155,6],[158,29],[160,30],[162,31],[148,6],[154,6],[147,32],[39,6],[159,6],[163,6],[164,32],[52,6],[166,6],[167,33],[165,34],[96,35],[97,35],[99,36],[100,37],[101,38],[102,39],[103,40],[104,41],[105,42],[106,43],[107,44],[108,45],[109,45],[110,46],[111,47],[112,48],[113,49],[98,6],[145,6],[114,50],[115,51],[116,52],[146,53],[117,54],[118,55],[119,56],[120,57],[121,58],[122,59],[123,60],[124,61],[125,62],[126,63],[127,64],[128,65],[130,66],[129,67],[131,68],[132,69],[133,70],[134,71],[135,72],[136,73],[137,74],[138,75],[139,76],[140,77],[141,78],[142,79],[143,80],[144,81],[168,6],[169,6],[170,6],[171,6],[174,82],[173,83],[149,34],[94,6],[175,84],[176,85],[161,6],[177,6],[178,6],[40,6],[172,83],[9,6],[8,6],[2,6],[10,6],[11,6],[12,6],[13,6],[14,6],[15,6],[16,6],[17,6],[3,6],[4,6],[21,6],[18,6],[19,6],[20,6],[22,6],[23,6],[24,6],[5,6],[25,6],[26,6],[27,6],[28,6],[6,6],[29,6],[30,6],[31,6],[32,6],[7,6],[37,6],[33,6],[34,6],[35,6],[36,6],[1,6],[38,6],[44,86],[49,87],[48,88],[47,89],[45,6],[46,6],[50,90],[57,91],[51,92],[42,6],[93,93],[53,94],[54,6],[43,6],[55,95],[56,96],[41,97]],"exportedModulesMap":[[86,1],[91,2],[90,3],[88,4],[89,5],[58,6],[59,7],[60,8],[61,6],[62,6],[85,1],[66,6],[64,2],[65,9],[63,6],[92,10],[67,1],[68,6],[87,11],[84,12],[71,13],[77,14],[79,15],[81,16],[80,17],[73,18],[70,19],[74,6],[83,20],[75,21],[72,6],[82,6],[69,6],[76,22],[78,23],[95,24],[150,25],[151,26],[152,6],[157,27],[153,6],[156,28],[155,6],[158,29],[160,30],[162,31],[148,6],[154,6],[147,32],[39,6],[159,6],[163,6],[164,32],[52,6],[166,6],[167,33],[165,34],[96,35],[97,35],[99,36],[100,37],[101,38],[102,39],[103,40],[104,41],[105,42],[106,43],[107,44],[108,45],[109,45],[110,46],[111,47],[112,48],[113,49],[98,6],[145,6],[114,50],[115,51],[116,52],[146,53],[117,54],[118,55],[119,56],[120,57],[121,58],[122,59],[123,60],[124,61],[125,62],[126,63],[127,64],[128,65],[130,66],[129,67],[131,68],[132,69],[133,70],[134,71],[135,72],[136,73],[137,74],[138,75],[139,76],[140,77],[141,78],[142,79],[143,80],[144,81],[168,6],[169,6],[170,6],[171,6],[174,82],[173,83],[149,34],[94,6],[175,84],[176,85],[161,6],[177,6],[178,6],[40,6],[172,83],[9,6],[8,6],[2,6],[10,6],[11,6],[12,6],[13,6],[14,6],[15,6],[16,6],[17,6],[3,6],[4,6],[21,6],[18,6],[19,6],[20,6],[22,6],[23,6],[24,6],[5,6],[25,6],[26,6],[27,6],[28,6],[6,6],[29,6],[30,6],[31,6],[32,6],[7,6],[37,6],[33,6],[34,6],[35,6],[36,6],[1,6],[38,6],[44,86],[49,87],[48,88],[47,89],[45,6],[46,6],[50,90],[57,91],[51,92],[42,6],[93,93],[53,94],[54,6],[43,6],[55,95],[56,96],[41,97]],"semanticDiagnosticsPerFile":[86,91,90,88,89,58,59,60,61,62,85,66,64,65,63,92,67,68,87,84,71,77,79,81,80,73,70,74,83,75,72,82,69,76,78,95,150,151,152,157,153,156,155,158,160,162,148,154,147,39,159,163,164,52,166,167,165,96,97,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,98,145,114,115,116,146,117,118,119,120,121,122,123,124,125,126,127,128,130,129,131,132,133,134,135,136,137,138,139,140,141,142,143,144,168,169,170,171,174,173,149,94,175,176,161,177,178,40,172,9,8,2,10,11,12,13,14,15,16,17,3,4,21,18,19,20,22,23,24,5,25,26,27,28,6,29,30,31,32,7,37,33,34,35,36,1,38,44,49,48,47,45,46,50,57,51,42,93,53,54,43,55,56,41]},"version":"4.5.2"}
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/@types/long/index.d.ts","../../node_modules/protobufjs/index.d.ts","../proto/lib/coresdk.d.ts","../proto/lib/temporal.d.ts","../proto/lib/index.d.ts","./src/errors.ts","./src/encoding.ts","./src/converter/types.ts","./src/converter/payload-converter.ts","./src/converter/data-converter.ts","./src/type-helpers.ts","./src/failure.ts","./src/interceptors.ts","./src/interfaces.ts","../../node_modules/@types/ms/index.d.ts","./src/time.ts","./src/tls-config.ts","./src/workflow-handle.ts","./src/workflow-options.ts","./src/utils.ts","./src/index.ts","./src/retry-policy.ts","./src/activity-options.ts","../../node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.d.ts","../../node_modules/@opentelemetry/api/build/src/baggage/types.d.ts","../../node_modules/@opentelemetry/api/build/src/baggage/utils.d.ts","../../node_modules/@opentelemetry/api/build/src/common/exception.d.ts","../../node_modules/@opentelemetry/api/build/src/common/time.d.ts","../../node_modules/@opentelemetry/api/build/src/diag/types.d.ts","../../node_modules/@opentelemetry/api/build/src/diag/consolelogger.d.ts","../../node_modules/@opentelemetry/api/build/src/diag/index.d.ts","../../node_modules/@opentelemetry/api/build/src/context/types.d.ts","../../node_modules/@opentelemetry/api/build/src/propagation/textmappropagator.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/attributes.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/trace_state.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/span_context.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/link.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/status.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/span.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/span_kind.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/spanoptions.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/tracer.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/proxytracer.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/tracer_provider.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/proxytracerprovider.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/samplingresult.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/sampler.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/trace_flags.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.d.ts","../../node_modules/@opentelemetry/api/build/src/context/context.d.ts","../../node_modules/@opentelemetry/api/build/src/api/context.d.ts","../../node_modules/@opentelemetry/api/build/src/trace/context-utils.d.ts","../../node_modules/@opentelemetry/api/build/src/api/trace.d.ts","../../node_modules/@opentelemetry/api/build/src/baggage/context-helpers.d.ts","../../node_modules/@opentelemetry/api/build/src/api/propagation.d.ts","../../node_modules/@opentelemetry/api/build/src/api/diag.d.ts","../../node_modules/@opentelemetry/api/build/src/index.d.ts","./src/otel.ts","../../node_modules/@types/retry/index.d.ts","../../node_modules/@types/async-retry/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/keyv/index.d.ts","../../node_modules/@types/http-cache-semantics/index.d.ts","../../node_modules/@types/responselike/index.d.ts","../../node_modules/@types/cacheable-request/index.d.ts","../../node_modules/@types/cross-spawn/index.d.ts","../../node_modules/@types/dedent/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/fs-extra/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/tough-cookie/index.d.ts","../../node_modules/@types/got/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/minipass/index.d.ts","../../node_modules/@types/node-fetch/node_modules/form-data/index.d.ts","../../node_modules/@types/node-fetch/externals.d.ts","../../node_modules/@types/node-fetch/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/pidusage/index.d.ts","../../node_modules/@types/prompts/index.d.ts","../../node_modules/ts-toolbelt/out/index.d.ts","../../node_modules/@types/ramda/tools.d.ts","../../node_modules/@types/ramda/index.d.ts","../../node_modules/@types/rimraf/index.d.ts","../../node_modules/@types/tar/index.d.ts","../../node_modules/@types/uuid/index.d.ts","../../node_modules/@types/validate-npm-package-name/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"e8465811693dfe4e96ef2b3dffda539d6edfe896961b7af37b44db2c0e48532b","1558c642e03689d42843e7b047b9c20e77ee09ab388ff854484db5dcfbed11da","f3711f5ccd4cf052119f2dd8f191060b7da4c6ceac1c3b71cee66d5e7cb786f5","bf8e706db64403ea040ab45f113feeaf208d5fa80d7199bdcac47506369b8154","64d277c707a84956da70e9f30dd63dd507bbe0ed532b236e6bcedb08530f9eb5","ae12fd0017edb9f89dbb0e63145458cdfb7535aeb726ee26a6ab84bb44f2c7cb","d95f9e88aa9f69a1127b31321137dd97a58668f17cc764603a693314a038a3dd","a3bc0a3686d7ad733f899b5cb50931560066b04d94732a281ff836a3f79b33c1","891092d04d6ae4cee181495683768dcd5e4afb04bb5abc5e132a9247d561be77","b62953ae9d2f47bf040387fd43f0ca19c231608315dc1781721b1f91b09c5e5e","f7afeb66fb18f6bffcc05a56626dae4e884faeef9d63c94200116b18b809df6a","ea480cc57fdf30e406692f117910ae7d92e3440fb535f3ed2f279d4d52e39fa3","da47da3e11c594d6774034ea7c0a5fa6bb08c61b1e1453d56af07d64a8b60622","bfe268c0a4cd1acddb8e88ec90b726217133e6cb5053c6f2e33269d9d129cce3","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","3a1c1f383fb7cbd2234190a1b12d0253b3c4a4efe3e23205538752629fb75217","595b97f94582ecaa0cc1a2d97be4223495ae718a62895af169be93b53066f905","d3b36f73e1462b5e9ef21be195ec2b6f996730bff67753140f2db1ff6089cbdc","300a0754c2026786f49e93046201371e0e891b81b8abbb7bd0be4ab2e8113448","addda838f275a4345d7907b1a0aba6e8e54628ace5d898a14d2a546333e3bd4f","d81a4fa5df537ff1b6b5eca8daaee4a421901d6b3c5e82e5f19a95ad3d4c7974","3f4c7070470eda53a0a22cabb81e947614b666f91dc84f4ae3778ef18958d835","25fc6e932487884f446c3497172f72aa3fb1187d1ca95bdac2f734a39efcd61e","4a36c925dcd89ed988b3c2844b0099416d176c898a7bd93159fda60b8441ccc8","fc2220a0370fe4c178159294a3aad1dbe1f790bd3544cc6d864aa3d7b1df1b5d","aaf3741cf4a11ead5269c782f0d8f579d631fed8f5f080ee369ab2f09ab0a5e6","b820818bb5f8ebb713633be7a3db6191aa12341ba23deb85af009006a9277a20","7e06ae149c247cb9c4ff57d76d6bc91936f78182cf33a945cadc80c4046f4751","2ea9ab59e2b3f625d63e524f82dba5fad02412e13e29132023c0917977d0c0e6","a8b7eec40be2f16f3a276fd99e1c5ad5ef3565f56319c763be2d8983810033a2","e5ca18285f6adbee0ea27e89012e3e5e0816210eba73b60bcc534247543d7a46","2d7fed266cd1b54dece5de5cb58b2ef6f72736163b988bb0cbb090b8b152d3a8","4bb9ec99d41a4b7a433ae8b61bcf5a1c0b4e0eff253ff459f4ccfda64fe4bf51","f6607c445de0dbca0a1e0cdedff690ad27a01b230817e0074cda28574e7399cf","5bd1d2dde43d2f2dbe8370fd5e0bffbb17f98a75940f47fe7ee94b50f12e3e12","264f343285aca3a0cbc0f2609ba69b664b3ec714404dd4a09d2860de9e7c6c02","f342fa6a03a2941e83b795586ab91ef410ec59fdebf21e97027ce1eac273fc5f","79b0d8826c506b6eb75937a8a466dd29fad2fb8cff0f05f97bcacb962ed3f56e","10080687eba89fc69232f38ffc45da8f90d3ca137507453ee62497d6f458f740","496689ce350fd7e4c939966118517b0cb174f5acb2e1e6163688b18bef8de8b2","1c8a2cc119fc139415f49681634254b218d4c5c495ca11103db50ae9c90d54d1","76c71c77e675f16b339789d17fc1e6589a98241d731dda429828cee107904857","0f1e60175a7fe4a1a9d6ddde857a19333c7f4682ec4f2ff4347cb8ff729cbe92","975fda3a8a7e46679765f9fc272235e07f36646b8af9d989a622d782b0cd3c2b","b3214b6a5e14b5a994f856fda1562c89cd208caf0c44040980a59cffa9ad3e63","9d34f34601bf2058f5045ad6c15fab3c323e69353c14713b5365e0ecc0c87d75","e73ea58406c7aa00e04d16a93ac1a8dd614433396ae3e0b6855ddb83d0544837","9d6796534f08ea5b84c211e224fd6ec1430113c07195c6e29dd5fd52f804df7c","d4dc45e2085acd5b61836f9ca03f148d620b781c983411d0963317a155ffd32c","76388575482f6c37a446179cc8c6825f910cdafc9ed55daaee7abf3f6b73a29e","6116ea81a38eb614b32317eb87c2f903915eaae16bf5a59e9838723e7cb06ab4","538bef0ddc796f3d6e5c7d90816e1972e11acc7d962e7e9b1eec3e192cbf1a99","b60cdf96b6934a221ce3b66b9bb82734843c4df27da12acc6c43c3a0e46adea5","3de96ee1d0e54cac8396ff88bab0be56fd2149daaba05d1b08968932ae5cec37","8ece80ff440d4aec6bfa8bb50685599cd199c19082f256bdea2c95c3ba7b3ea6","374421af52bad74f65653c9524fba315c9157b6cbce117d902e9d1ad625abb01","bcb58afb796b9b35068ca86768aac0934b738f141e54ed803a2be867f229a4a6","b357fcf1b0a37b9c3e2fec33fb2949e4fed07c6b2c617185de90f6d81da7a5e6","923df0e4714decae8f51ec4d17ab60974dd495e19045dcbb313b91479dea5f24","58a3914b1cce4560d9ad6eee2b716caaa030eda0a90b21ca2457ea9e2783eaa3","79d2fdaa1e0bf1a62b59de50e185374b74d22dc43144a78eab1bbcca0a4a2550","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","196fee5541bfd59699dab615fee2ae7a6f5fe0a6337bcbbfd656ebf1ae329a63","160cc6e3d06938535bc887754afe5798c22d81ce83a9792ebfe2371a70f2ffc2","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"eecd493fc62c4dba3d988e2d7dff63299bf12ab49f5c9021dfef8dcc1ff2089e","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"a7971f9fb2a32ec7788ec6cda9d7a33c02023dfe9a62db2030ad1359649d8050","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4","d88ecca73348e7c337541c4b8b60a50aca5e87384f6b8a422fc6603c637e4c21","badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","82169f198ffdfc787fba368ccfad2b2d8ef3712f3c696df94ac13f6884bbbe2d","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","5e3a55837aa1f42af2d2334c9b750f59f5f50a2205471875f5dd6aadc3e49ddb","70646d9cb37b62611766d18a9bcca6cbf28ca9aec33a66244e974056ab1193f6",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","7d7c8ef7d48a035142c07dae60545ecc0e4af4c337742760cb09726f2f8e31db","8566fa84085caa46340393b1704ecd368491918fb45bd688d6e89736aec73a2f","dc33ce27fbeaf0ea3da556c80a6cc8af9d13eb443088c8f25cdc39fca8e756f6","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","660fa40695c7ca19a59fd09d31d495d952eee946e445a2c455ec63f255ec3050","19bf3ca55fd356755cda33e6e8c753d3d13d4aaa54ad9c5c032927f362188066","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","2d7833f437e0f41a91d9ac5b156157fde7e5380558ff44832afae705ac0e795d","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","208bb742e0f201470da121bc73847c74b62cff4172f38ae5949ae77d6c9c6b71","062bd2910098fc059ba93e347649b3e126c555f7b144033d21d3f8ef63d3e39b","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","bef99c239e4fb2f51b7cc4952d019cb30bacd8c2e9fa07884886dbe3624cbcfb","4c8239bedbe72ce9405efb578f03f56219dba4ceb5a57ca3d2dc10334612f210","9df147746b0cbd11d022b564e6fdd43ac79b643dc579d2123317ee01cc4f0d70","fcd714a42a6b383a6240c056da9326afcea41a0d289a23206990f2550e5c1988","19392d5faf0ddca7ecdf300ace20ff6a5a120a11b6536a767fb1d9feb592cec5","f4cf5f0ad1cfb0ceebbe4fbe8aaf0aa728e899c99cc36ec6c0c4b8f6e8a84c83","239f0c1d83d1ca9677327198196ee2ce6827dc7b469771ab5abf7bea7fbdb674","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","bae219fc966077e88ec22d2dc2eb24617d3244d3593afdc5f2457fabd27d7462"],"options":{"composite":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"fileIdsList":[[70,143],[67,143],[64,70,71,93,143],[80,82,87,91,143],[63,70,143],[143],[62,143],[63,143],[67,68,143],[63,64,65,66,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,92,94,95,143],[70,74,77,143],[74,143],[72,74,143],[70,77,79,80,143],[80,82,143],[70,72,75,78,84,143],[72,143],[65,66,72,74,76,143],[73,143],[74,77,143],[66,72,75,78,143],[70,77,79,143],[80,143],[98,143],[115,118,142,143,150,151,152,153],[105,143,150],[143,159,160],[143,157,158,159],[116,143,150],[115,116,143,150,163],[118,120,132,142,143,150,165],[115,143,150],[118,142,143,150,169,170],[118,132,143,150],[100,143],[103,143],[104,109,143],[105,115,116,123,132,142,143],[105,106,115,123,143],[107,143],[108,109,116,124,143],[109,132,139,143],[110,112,115,123,143],[111,143],[112,113,143],[114,115,143],[115,143],[115,116,117,132,142,143],[115,116,117,132,143],[118,123,132,142,143],[115,116,118,119,123,132,139,142,143],[118,120,132,139,142,143],[100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],[115,121,143],[122,142,143],[112,115,123,132,143],[124,143],[125,143],[103,126,143],[127,141,143,147],[128,143],[129,143],[115,130,143],[130,131,143,145],[115,132,133,134,143],[132,134,143],[132,133,143],[135,143],[136,143],[115,137,138,143],[137,138,143],[109,123,139,143],[140,143],[123,141,143],[104,118,129,142,143],[109,143],[132,143,144],[143,145],[143,146],[104,109,115,117,126,132,142,143,145,147],[132,143,148],[143,176,177],[143,176],[116,143,150,164],[115,132,143,148,150,168],[41,49,60,143],[44,46,47,143],[44,46,143],[41,45,143],[41,48,49,143],[44,48,50,51,52,54,55,56,57,58,60,61,143],[41,49,143],[48,51,96,143],[43,54,59,143],[39,41,44,53,143],[52,143],[41,49,52,54,60,143],[39,40,143],[41,42,143]],"referencedMap":[[90,1],[95,2],[94,3],[92,4],[93,5],[62,6],[63,7],[64,8],[65,6],[66,6],[89,1],[70,6],[68,2],[69,9],[67,6],[96,10],[71,1],[72,6],[91,11],[88,12],[75,13],[81,14],[83,15],[85,16],[84,17],[77,18],[74,19],[78,6],[87,20],[79,21],[76,6],[86,6],[73,6],[80,22],[82,23],[99,24],[154,25],[155,26],[156,6],[161,27],[157,6],[160,28],[159,6],[162,29],[164,30],[166,31],[152,6],[158,6],[151,32],[39,6],[163,6],[167,6],[168,32],[53,6],[170,6],[171,33],[169,34],[100,35],[101,35],[103,36],[104,37],[105,38],[106,39],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,45],[114,46],[115,47],[116,48],[117,49],[102,6],[149,6],[118,50],[119,51],[120,52],[150,53],[121,54],[122,55],[123,56],[124,57],[125,58],[126,59],[127,60],[128,61],[129,62],[130,63],[131,64],[132,65],[134,66],[133,67],[135,68],[136,69],[137,70],[138,71],[139,72],[140,73],[141,74],[142,75],[143,76],[144,77],[145,78],[146,79],[147,80],[148,81],[172,6],[173,6],[174,6],[175,6],[178,82],[177,83],[153,34],[98,6],[179,84],[180,85],[165,6],[181,6],[182,6],[40,6],[176,83],[9,6],[8,6],[2,6],[10,6],[11,6],[12,6],[13,6],[14,6],[15,6],[16,6],[17,6],[3,6],[4,6],[21,6],[18,6],[19,6],[20,6],[22,6],[23,6],[24,6],[5,6],[25,6],[26,6],[27,6],[28,6],[6,6],[29,6],[30,6],[31,6],[32,6],[7,6],[37,6],[33,6],[34,6],[35,6],[36,6],[1,6],[38,6],[61,86],[48,87],[47,88],[46,89],[45,6],[44,6],[50,90],[59,91],[51,92],[52,6],[97,93],[60,94],[54,95],[55,6],[49,6],[58,6],[56,96],[57,97],[41,98],[43,99],[42,98]],"exportedModulesMap":[[90,1],[95,2],[94,3],[92,4],[93,5],[62,6],[63,7],[64,8],[65,6],[66,6],[89,1],[70,6],[68,2],[69,9],[67,6],[96,10],[71,1],[72,6],[91,11],[88,12],[75,13],[81,14],[83,15],[85,16],[84,17],[77,18],[74,19],[78,6],[87,20],[79,21],[76,6],[86,6],[73,6],[80,22],[82,23],[99,24],[154,25],[155,26],[156,6],[161,27],[157,6],[160,28],[159,6],[162,29],[164,30],[166,31],[152,6],[158,6],[151,32],[39,6],[163,6],[167,6],[168,32],[53,6],[170,6],[171,33],[169,34],[100,35],[101,35],[103,36],[104,37],[105,38],[106,39],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,45],[114,46],[115,47],[116,48],[117,49],[102,6],[149,6],[118,50],[119,51],[120,52],[150,53],[121,54],[122,55],[123,56],[124,57],[125,58],[126,59],[127,60],[128,61],[129,62],[130,63],[131,64],[132,65],[134,66],[133,67],[135,68],[136,69],[137,70],[138,71],[139,72],[140,73],[141,74],[142,75],[143,76],[144,77],[145,78],[146,79],[147,80],[148,81],[172,6],[173,6],[174,6],[175,6],[178,82],[177,83],[153,34],[98,6],[179,84],[180,85],[165,6],[181,6],[182,6],[40,6],[176,83],[9,6],[8,6],[2,6],[10,6],[11,6],[12,6],[13,6],[14,6],[15,6],[16,6],[17,6],[3,6],[4,6],[21,6],[18,6],[19,6],[20,6],[22,6],[23,6],[24,6],[5,6],[25,6],[26,6],[27,6],[28,6],[6,6],[29,6],[30,6],[31,6],[32,6],[7,6],[37,6],[33,6],[34,6],[35,6],[36,6],[1,6],[38,6],[61,86],[48,87],[47,88],[46,89],[45,6],[44,6],[50,90],[59,91],[51,92],[52,6],[97,93],[60,94],[54,95],[55,6],[49,6],[58,6],[56,96],[57,97],[41,98],[43,99],[42,98]],"semanticDiagnosticsPerFile":[90,95,94,92,93,62,63,64,65,66,89,70,68,69,67,96,71,72,91,88,75,81,83,85,84,77,74,78,87,79,76,86,73,80,82,99,154,155,156,161,157,160,159,162,164,166,152,158,151,39,163,167,168,53,170,171,169,100,101,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,102,149,118,119,120,150,121,122,123,124,125,126,127,128,129,130,131,132,134,133,135,136,137,138,139,140,141,142,143,144,145,146,147,148,172,173,174,175,178,177,153,98,179,180,165,181,182,40,176,9,8,2,10,11,12,13,14,15,16,17,3,4,21,18,19,20,22,23,24,5,25,26,27,28,6,29,30,31,32,7,37,33,34,35,36,1,38,61,48,47,46,45,44,50,59,51,52,97,60,54,55,49,58,56,57,41,43,42]},"version":"4.5.5"}
|