@hatchet-dev/typescript-sdk 1.9.8 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clients/hatchet-client/client-config.d.ts +18 -0
- package/clients/hatchet-client/client-config.js +5 -0
- package/clients/rest/generated/Api.d.ts +88 -6
- package/clients/rest/generated/Api.js +51 -1
- package/clients/rest/generated/data-contracts.d.ts +57 -2
- package/clients/rest/generated/data-contracts.js +10 -1
- package/package.json +4 -2
- package/protoc/dispatcher/dispatcher.d.ts +1 -1
- package/protoc/dispatcher/dispatcher.js +29 -29
- package/protoc/events/events.d.ts +2 -2
- package/protoc/events/events.js +10 -10
- package/protoc/google/protobuf/timestamp.js +2 -2
- package/protoc/v1/dispatcher.d.ts +1 -1
- package/protoc/v1/dispatcher.js +5 -5
- package/protoc/v1/shared/condition.js +7 -7
- package/protoc/v1/workflows.d.ts +1 -1
- package/protoc/v1/workflows.js +16 -16
- package/protoc/workflows/workflows.d.ts +1 -1
- package/protoc/workflows/workflows.js +21 -21
- package/util/config-loader/config-loader.js +13 -8
- package/v1/client/worker/health-server.d.ts +30 -0
- package/v1/client/worker/health-server.js +161 -0
- package/v1/client/worker/worker-internal.d.ts +11 -0
- package/v1/client/worker/worker-internal.js +64 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.19.1
|
|
6
6
|
// source: dispatcher/dispatcher.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -334,7 +334,7 @@ exports.WorkerLabels = {
|
|
|
334
334
|
},
|
|
335
335
|
decode(input, length) {
|
|
336
336
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
337
|
-
|
|
337
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
338
338
|
const message = createBaseWorkerLabels();
|
|
339
339
|
while (reader.pos < end) {
|
|
340
340
|
const tag = reader.uint32();
|
|
@@ -418,7 +418,7 @@ exports.RuntimeInfo = {
|
|
|
418
418
|
},
|
|
419
419
|
decode(input, length) {
|
|
420
420
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
421
|
-
|
|
421
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
422
422
|
const message = createBaseRuntimeInfo();
|
|
423
423
|
while (reader.pos < end) {
|
|
424
424
|
const tag = reader.uint32();
|
|
@@ -548,7 +548,7 @@ exports.WorkerRegisterRequest = {
|
|
|
548
548
|
},
|
|
549
549
|
decode(input, length) {
|
|
550
550
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
551
|
-
|
|
551
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
552
552
|
const message = createBaseWorkerRegisterRequest();
|
|
553
553
|
while (reader.pos < end) {
|
|
554
554
|
const tag = reader.uint32();
|
|
@@ -704,7 +704,7 @@ exports.WorkerRegisterRequest_LabelsEntry = {
|
|
|
704
704
|
},
|
|
705
705
|
decode(input, length) {
|
|
706
706
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
707
|
-
|
|
707
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
708
708
|
const message = createBaseWorkerRegisterRequest_LabelsEntry();
|
|
709
709
|
while (reader.pos < end) {
|
|
710
710
|
const tag = reader.uint32();
|
|
@@ -779,7 +779,7 @@ exports.WorkerRegisterResponse = {
|
|
|
779
779
|
},
|
|
780
780
|
decode(input, length) {
|
|
781
781
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
782
|
-
|
|
782
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
783
783
|
const message = createBaseWorkerRegisterResponse();
|
|
784
784
|
while (reader.pos < end) {
|
|
785
785
|
const tag = reader.uint32();
|
|
@@ -860,7 +860,7 @@ exports.UpsertWorkerLabelsRequest = {
|
|
|
860
860
|
},
|
|
861
861
|
decode(input, length) {
|
|
862
862
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
863
|
-
|
|
863
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
864
864
|
const message = createBaseUpsertWorkerLabelsRequest();
|
|
865
865
|
while (reader.pos < end) {
|
|
866
866
|
const tag = reader.uint32();
|
|
@@ -948,7 +948,7 @@ exports.UpsertWorkerLabelsRequest_LabelsEntry = {
|
|
|
948
948
|
},
|
|
949
949
|
decode(input, length) {
|
|
950
950
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
951
|
-
|
|
951
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
952
952
|
const message = createBaseUpsertWorkerLabelsRequest_LabelsEntry();
|
|
953
953
|
while (reader.pos < end) {
|
|
954
954
|
const tag = reader.uint32();
|
|
@@ -1020,7 +1020,7 @@ exports.UpsertWorkerLabelsResponse = {
|
|
|
1020
1020
|
},
|
|
1021
1021
|
decode(input, length) {
|
|
1022
1022
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1023
|
-
|
|
1023
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1024
1024
|
const message = createBaseUpsertWorkerLabelsResponse();
|
|
1025
1025
|
while (reader.pos < end) {
|
|
1026
1026
|
const tag = reader.uint32();
|
|
@@ -1164,7 +1164,7 @@ exports.AssignedAction = {
|
|
|
1164
1164
|
},
|
|
1165
1165
|
decode(input, length) {
|
|
1166
1166
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1167
|
-
|
|
1167
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1168
1168
|
const message = createBaseAssignedAction();
|
|
1169
1169
|
while (reader.pos < end) {
|
|
1170
1170
|
const tag = reader.uint32();
|
|
@@ -1458,7 +1458,7 @@ exports.WorkerListenRequest = {
|
|
|
1458
1458
|
},
|
|
1459
1459
|
decode(input, length) {
|
|
1460
1460
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1461
|
-
|
|
1461
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1462
1462
|
const message = createBaseWorkerListenRequest();
|
|
1463
1463
|
while (reader.pos < end) {
|
|
1464
1464
|
const tag = reader.uint32();
|
|
@@ -1510,7 +1510,7 @@ exports.WorkerUnsubscribeRequest = {
|
|
|
1510
1510
|
},
|
|
1511
1511
|
decode(input, length) {
|
|
1512
1512
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1513
|
-
|
|
1513
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1514
1514
|
const message = createBaseWorkerUnsubscribeRequest();
|
|
1515
1515
|
while (reader.pos < end) {
|
|
1516
1516
|
const tag = reader.uint32();
|
|
@@ -1565,7 +1565,7 @@ exports.WorkerUnsubscribeResponse = {
|
|
|
1565
1565
|
},
|
|
1566
1566
|
decode(input, length) {
|
|
1567
1567
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1568
|
-
|
|
1568
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1569
1569
|
const message = createBaseWorkerUnsubscribeResponse();
|
|
1570
1570
|
while (reader.pos < end) {
|
|
1571
1571
|
const tag = reader.uint32();
|
|
@@ -1657,7 +1657,7 @@ exports.GroupKeyActionEvent = {
|
|
|
1657
1657
|
},
|
|
1658
1658
|
decode(input, length) {
|
|
1659
1659
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1660
|
-
|
|
1660
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1661
1661
|
const message = createBaseGroupKeyActionEvent();
|
|
1662
1662
|
while (reader.pos < end) {
|
|
1663
1663
|
const tag = reader.uint32();
|
|
@@ -1829,7 +1829,7 @@ exports.StepActionEvent = {
|
|
|
1829
1829
|
},
|
|
1830
1830
|
decode(input, length) {
|
|
1831
1831
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1832
|
-
|
|
1832
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1833
1833
|
const message = createBaseStepActionEvent();
|
|
1834
1834
|
while (reader.pos < end) {
|
|
1835
1835
|
const tag = reader.uint32();
|
|
@@ -2010,7 +2010,7 @@ exports.ActionEventResponse = {
|
|
|
2010
2010
|
},
|
|
2011
2011
|
decode(input, length) {
|
|
2012
2012
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2013
|
-
|
|
2013
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2014
2014
|
const message = createBaseActionEventResponse();
|
|
2015
2015
|
while (reader.pos < end) {
|
|
2016
2016
|
const tag = reader.uint32();
|
|
@@ -2082,7 +2082,7 @@ exports.SubscribeToWorkflowEventsRequest = {
|
|
|
2082
2082
|
},
|
|
2083
2083
|
decode(input, length) {
|
|
2084
2084
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2085
|
-
|
|
2085
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2086
2086
|
const message = createBaseSubscribeToWorkflowEventsRequest();
|
|
2087
2087
|
while (reader.pos < end) {
|
|
2088
2088
|
const tag = reader.uint32();
|
|
@@ -2166,7 +2166,7 @@ exports.SubscribeToWorkflowRunsRequest = {
|
|
|
2166
2166
|
},
|
|
2167
2167
|
decode(input, length) {
|
|
2168
2168
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2169
|
-
|
|
2169
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2170
2170
|
const message = createBaseSubscribeToWorkflowRunsRequest();
|
|
2171
2171
|
while (reader.pos < end) {
|
|
2172
2172
|
const tag = reader.uint32();
|
|
@@ -2258,7 +2258,7 @@ exports.WorkflowEvent = {
|
|
|
2258
2258
|
},
|
|
2259
2259
|
decode(input, length) {
|
|
2260
2260
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2261
|
-
|
|
2261
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2262
2262
|
const message = createBaseWorkflowEvent();
|
|
2263
2263
|
while (reader.pos < end) {
|
|
2264
2264
|
const tag = reader.uint32();
|
|
@@ -2431,7 +2431,7 @@ exports.WorkflowRunEvent = {
|
|
|
2431
2431
|
},
|
|
2432
2432
|
decode(input, length) {
|
|
2433
2433
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2434
|
-
|
|
2434
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2435
2435
|
const message = createBaseWorkflowRunEvent();
|
|
2436
2436
|
while (reader.pos < end) {
|
|
2437
2437
|
const tag = reader.uint32();
|
|
@@ -2538,7 +2538,7 @@ exports.StepRunResult = {
|
|
|
2538
2538
|
},
|
|
2539
2539
|
decode(input, length) {
|
|
2540
2540
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2541
|
-
|
|
2541
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2542
2542
|
const message = createBaseStepRunResult();
|
|
2543
2543
|
while (reader.pos < end) {
|
|
2544
2544
|
const tag = reader.uint32();
|
|
@@ -2649,7 +2649,7 @@ exports.OverridesData = {
|
|
|
2649
2649
|
},
|
|
2650
2650
|
decode(input, length) {
|
|
2651
2651
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2652
|
-
|
|
2652
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2653
2653
|
const message = createBaseOverridesData();
|
|
2654
2654
|
while (reader.pos < end) {
|
|
2655
2655
|
const tag = reader.uint32();
|
|
@@ -2736,7 +2736,7 @@ exports.OverridesDataResponse = {
|
|
|
2736
2736
|
},
|
|
2737
2737
|
decode(input, length) {
|
|
2738
2738
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2739
|
-
|
|
2739
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2740
2740
|
const message = createBaseOverridesDataResponse();
|
|
2741
2741
|
while (reader.pos < end) {
|
|
2742
2742
|
const tag = reader.uint32();
|
|
@@ -2779,7 +2779,7 @@ exports.HeartbeatRequest = {
|
|
|
2779
2779
|
},
|
|
2780
2780
|
decode(input, length) {
|
|
2781
2781
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2782
|
-
|
|
2782
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2783
2783
|
const message = createBaseHeartbeatRequest();
|
|
2784
2784
|
while (reader.pos < end) {
|
|
2785
2785
|
const tag = reader.uint32();
|
|
@@ -2842,7 +2842,7 @@ exports.HeartbeatResponse = {
|
|
|
2842
2842
|
},
|
|
2843
2843
|
decode(input, length) {
|
|
2844
2844
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2845
|
-
|
|
2845
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2846
2846
|
const message = createBaseHeartbeatResponse();
|
|
2847
2847
|
while (reader.pos < end) {
|
|
2848
2848
|
const tag = reader.uint32();
|
|
@@ -2885,7 +2885,7 @@ exports.RefreshTimeoutRequest = {
|
|
|
2885
2885
|
},
|
|
2886
2886
|
decode(input, length) {
|
|
2887
2887
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2888
|
-
|
|
2888
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2889
2889
|
const message = createBaseRefreshTimeoutRequest();
|
|
2890
2890
|
while (reader.pos < end) {
|
|
2891
2891
|
const tag = reader.uint32();
|
|
@@ -2953,7 +2953,7 @@ exports.RefreshTimeoutResponse = {
|
|
|
2953
2953
|
},
|
|
2954
2954
|
decode(input, length) {
|
|
2955
2955
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2956
|
-
|
|
2956
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2957
2957
|
const message = createBaseRefreshTimeoutResponse();
|
|
2958
2958
|
while (reader.pos < end) {
|
|
2959
2959
|
const tag = reader.uint32();
|
|
@@ -3005,7 +3005,7 @@ exports.ReleaseSlotRequest = {
|
|
|
3005
3005
|
},
|
|
3006
3006
|
decode(input, length) {
|
|
3007
3007
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3008
|
-
|
|
3008
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3009
3009
|
const message = createBaseReleaseSlotRequest();
|
|
3010
3010
|
while (reader.pos < end) {
|
|
3011
3011
|
const tag = reader.uint32();
|
|
@@ -3054,7 +3054,7 @@ exports.ReleaseSlotResponse = {
|
|
|
3054
3054
|
},
|
|
3055
3055
|
decode(input, length) {
|
|
3056
3056
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3057
|
-
|
|
3057
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3058
3058
|
const message = createBaseReleaseSlotResponse();
|
|
3059
3059
|
while (reader.pos < end) {
|
|
3060
3060
|
const tag = reader.uint32();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
import {
|
|
2
|
+
import type { CallContext, CallOptions } from 'nice-grpc-common';
|
|
3
3
|
export declare const protobufPackage = "";
|
|
4
4
|
export interface Event {
|
|
5
5
|
/** the tenant id */
|
|
@@ -12,7 +12,7 @@ export interface Event {
|
|
|
12
12
|
payload: string;
|
|
13
13
|
/** when the event was generated */
|
|
14
14
|
eventTimestamp: Date | undefined;
|
|
15
|
-
/** the
|
|
15
|
+
/** the additional metadata for the event */
|
|
16
16
|
additionalMetadata?: string | undefined;
|
|
17
17
|
/** the scope associated with this filter. Used for subsetting candidate filters at evaluation time */
|
|
18
18
|
scope?: string | undefined;
|
package/protoc/events/events.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.19.1
|
|
6
6
|
// source: events/events.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -48,7 +48,7 @@ exports.Event = {
|
|
|
48
48
|
},
|
|
49
49
|
decode(input, length) {
|
|
50
50
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
51
|
-
|
|
51
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
52
52
|
const message = createBaseEvent();
|
|
53
53
|
while (reader.pos < end) {
|
|
54
54
|
const tag = reader.uint32();
|
|
@@ -178,7 +178,7 @@ exports.Events = {
|
|
|
178
178
|
},
|
|
179
179
|
decode(input, length) {
|
|
180
180
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
181
|
-
|
|
181
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
182
182
|
const message = createBaseEvents();
|
|
183
183
|
while (reader.pos < end) {
|
|
184
184
|
const tag = reader.uint32();
|
|
@@ -257,7 +257,7 @@ exports.PutLogRequest = {
|
|
|
257
257
|
},
|
|
258
258
|
decode(input, length) {
|
|
259
259
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
260
|
-
|
|
260
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
261
261
|
const message = createBasePutLogRequest();
|
|
262
262
|
while (reader.pos < end) {
|
|
263
263
|
const tag = reader.uint32();
|
|
@@ -370,7 +370,7 @@ exports.PutLogResponse = {
|
|
|
370
370
|
},
|
|
371
371
|
decode(input, length) {
|
|
372
372
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
373
|
-
|
|
373
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
374
374
|
const message = createBasePutLogResponse();
|
|
375
375
|
while (reader.pos < end) {
|
|
376
376
|
const tag = reader.uint32();
|
|
@@ -428,7 +428,7 @@ exports.PutStreamEventRequest = {
|
|
|
428
428
|
},
|
|
429
429
|
decode(input, length) {
|
|
430
430
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
431
|
-
|
|
431
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
432
432
|
const message = createBasePutStreamEventRequest();
|
|
433
433
|
while (reader.pos < end) {
|
|
434
434
|
const tag = reader.uint32();
|
|
@@ -527,7 +527,7 @@ exports.PutStreamEventResponse = {
|
|
|
527
527
|
},
|
|
528
528
|
decode(input, length) {
|
|
529
529
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
530
|
-
|
|
530
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
531
531
|
const message = createBasePutStreamEventResponse();
|
|
532
532
|
while (reader.pos < end) {
|
|
533
533
|
const tag = reader.uint32();
|
|
@@ -567,7 +567,7 @@ exports.BulkPushEventRequest = {
|
|
|
567
567
|
},
|
|
568
568
|
decode(input, length) {
|
|
569
569
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
570
|
-
|
|
570
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
571
571
|
const message = createBaseBulkPushEventRequest();
|
|
572
572
|
while (reader.pos < end) {
|
|
573
573
|
const tag = reader.uint32();
|
|
@@ -646,7 +646,7 @@ exports.PushEventRequest = {
|
|
|
646
646
|
},
|
|
647
647
|
decode(input, length) {
|
|
648
648
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
649
|
-
|
|
649
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
650
650
|
const message = createBasePushEventRequest();
|
|
651
651
|
while (reader.pos < end) {
|
|
652
652
|
const tag = reader.uint32();
|
|
@@ -764,7 +764,7 @@ exports.ReplayEventRequest = {
|
|
|
764
764
|
},
|
|
765
765
|
decode(input, length) {
|
|
766
766
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
767
|
-
|
|
767
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
768
768
|
const message = createBaseReplayEventRequest();
|
|
769
769
|
while (reader.pos < end) {
|
|
770
770
|
const tag = reader.uint32();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.19.1
|
|
6
6
|
// source: google/protobuf/timestamp.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -24,7 +24,7 @@ exports.Timestamp = {
|
|
|
24
24
|
},
|
|
25
25
|
decode(input, length) {
|
|
26
26
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
27
|
-
|
|
27
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
28
28
|
const message = createBaseTimestamp();
|
|
29
29
|
while (reader.pos < end) {
|
|
30
30
|
const tag = reader.uint32();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
import {
|
|
2
|
+
import type { CallContext, CallOptions } from 'nice-grpc-common';
|
|
3
3
|
import { DurableEventListenerConditions } from './shared/condition';
|
|
4
4
|
export declare const protobufPackage = "v1";
|
|
5
5
|
export interface RegisterDurableEventRequest {
|
package/protoc/v1/dispatcher.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.19.1
|
|
6
6
|
// source: v1/dispatcher.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -28,7 +28,7 @@ exports.RegisterDurableEventRequest = {
|
|
|
28
28
|
},
|
|
29
29
|
decode(input, length) {
|
|
30
30
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
31
|
-
|
|
31
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
32
32
|
const message = createBaseRegisterDurableEventRequest();
|
|
33
33
|
while (reader.pos < end) {
|
|
34
34
|
const tag = reader.uint32();
|
|
@@ -108,7 +108,7 @@ exports.RegisterDurableEventResponse = {
|
|
|
108
108
|
},
|
|
109
109
|
decode(input, length) {
|
|
110
110
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
111
|
-
|
|
111
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
112
112
|
const message = createBaseRegisterDurableEventResponse();
|
|
113
113
|
while (reader.pos < end) {
|
|
114
114
|
const tag = reader.uint32();
|
|
@@ -151,7 +151,7 @@ exports.ListenForDurableEventRequest = {
|
|
|
151
151
|
},
|
|
152
152
|
decode(input, length) {
|
|
153
153
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
154
|
-
|
|
154
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
155
155
|
const message = createBaseListenForDurableEventRequest();
|
|
156
156
|
while (reader.pos < end) {
|
|
157
157
|
const tag = reader.uint32();
|
|
@@ -223,7 +223,7 @@ exports.DurableEvent = {
|
|
|
223
223
|
},
|
|
224
224
|
decode(input, length) {
|
|
225
225
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
226
|
-
|
|
226
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
227
227
|
const message = createBaseDurableEvent();
|
|
228
228
|
while (reader.pos < end) {
|
|
229
229
|
const tag = reader.uint32();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.19.1
|
|
6
6
|
// source: v1/shared/condition.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -75,7 +75,7 @@ exports.BaseMatchCondition = {
|
|
|
75
75
|
},
|
|
76
76
|
decode(input, length) {
|
|
77
77
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
78
|
-
|
|
78
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
79
79
|
const message = createBaseBaseMatchCondition();
|
|
80
80
|
while (reader.pos < end) {
|
|
81
81
|
const tag = reader.uint32();
|
|
@@ -170,7 +170,7 @@ exports.ParentOverrideMatchCondition = {
|
|
|
170
170
|
},
|
|
171
171
|
decode(input, length) {
|
|
172
172
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
173
|
-
|
|
173
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
174
174
|
const message = createBaseParentOverrideMatchCondition();
|
|
175
175
|
while (reader.pos < end) {
|
|
176
176
|
const tag = reader.uint32();
|
|
@@ -244,7 +244,7 @@ exports.SleepMatchCondition = {
|
|
|
244
244
|
},
|
|
245
245
|
decode(input, length) {
|
|
246
246
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
247
|
-
|
|
247
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
248
248
|
const message = createBaseSleepMatchCondition();
|
|
249
249
|
while (reader.pos < end) {
|
|
250
250
|
const tag = reader.uint32();
|
|
@@ -316,7 +316,7 @@ exports.UserEventMatchCondition = {
|
|
|
316
316
|
},
|
|
317
317
|
decode(input, length) {
|
|
318
318
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
319
|
-
|
|
319
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
320
320
|
const message = createBaseUserEventMatchCondition();
|
|
321
321
|
while (reader.pos < end) {
|
|
322
322
|
const tag = reader.uint32();
|
|
@@ -391,7 +391,7 @@ exports.TaskConditions = {
|
|
|
391
391
|
},
|
|
392
392
|
decode(input, length) {
|
|
393
393
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
394
|
-
|
|
394
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
395
395
|
const message = createBaseTaskConditions();
|
|
396
396
|
while (reader.pos < end) {
|
|
397
397
|
const tag = reader.uint32();
|
|
@@ -483,7 +483,7 @@ exports.DurableEventListenerConditions = {
|
|
|
483
483
|
},
|
|
484
484
|
decode(input, length) {
|
|
485
485
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
486
|
-
|
|
486
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
487
487
|
const message = createBaseDurableEventListenerConditions();
|
|
488
488
|
while (reader.pos < end) {
|
|
489
489
|
const tag = reader.uint32();
|
package/protoc/v1/workflows.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
import {
|
|
2
|
+
import type { CallContext, CallOptions } from 'nice-grpc-common';
|
|
3
3
|
import { TaskConditions } from './shared/condition';
|
|
4
4
|
export declare const protobufPackage = "v1";
|
|
5
5
|
export declare enum StickyStrategy {
|
package/protoc/v1/workflows.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.19.1
|
|
6
6
|
// source: v1/workflows.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -232,7 +232,7 @@ exports.CancelTasksRequest = {
|
|
|
232
232
|
},
|
|
233
233
|
decode(input, length) {
|
|
234
234
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
235
|
-
|
|
235
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
236
236
|
const message = createBaseCancelTasksRequest();
|
|
237
237
|
while (reader.pos < end) {
|
|
238
238
|
const tag = reader.uint32();
|
|
@@ -307,7 +307,7 @@ exports.ReplayTasksRequest = {
|
|
|
307
307
|
},
|
|
308
308
|
decode(input, length) {
|
|
309
309
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
310
|
-
|
|
310
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
311
311
|
const message = createBaseReplayTasksRequest();
|
|
312
312
|
while (reader.pos < end) {
|
|
313
313
|
const tag = reader.uint32();
|
|
@@ -397,7 +397,7 @@ exports.TasksFilter = {
|
|
|
397
397
|
},
|
|
398
398
|
decode(input, length) {
|
|
399
399
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
400
|
-
|
|
400
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
401
401
|
const message = createBaseTasksFilter();
|
|
402
402
|
while (reader.pos < end) {
|
|
403
403
|
const tag = reader.uint32();
|
|
@@ -506,7 +506,7 @@ exports.CancelTasksResponse = {
|
|
|
506
506
|
},
|
|
507
507
|
decode(input, length) {
|
|
508
508
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
509
|
-
|
|
509
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
510
510
|
const message = createBaseCancelTasksResponse();
|
|
511
511
|
while (reader.pos < end) {
|
|
512
512
|
const tag = reader.uint32();
|
|
@@ -563,7 +563,7 @@ exports.ReplayTasksResponse = {
|
|
|
563
563
|
},
|
|
564
564
|
decode(input, length) {
|
|
565
565
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
566
|
-
|
|
566
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
567
567
|
const message = createBaseReplayTasksResponse();
|
|
568
568
|
while (reader.pos < end) {
|
|
569
569
|
const tag = reader.uint32();
|
|
@@ -634,7 +634,7 @@ exports.TriggerWorkflowRunRequest = {
|
|
|
634
634
|
},
|
|
635
635
|
decode(input, length) {
|
|
636
636
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
637
|
-
|
|
637
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
638
638
|
const message = createBaseTriggerWorkflowRunRequest();
|
|
639
639
|
while (reader.pos < end) {
|
|
640
640
|
const tag = reader.uint32();
|
|
@@ -726,7 +726,7 @@ exports.TriggerWorkflowRunResponse = {
|
|
|
726
726
|
},
|
|
727
727
|
decode(input, length) {
|
|
728
728
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
729
|
-
|
|
729
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
730
730
|
const message = createBaseTriggerWorkflowRunResponse();
|
|
731
731
|
while (reader.pos < end) {
|
|
732
732
|
const tag = reader.uint32();
|
|
@@ -828,7 +828,7 @@ exports.CreateWorkflowVersionRequest = {
|
|
|
828
828
|
},
|
|
829
829
|
decode(input, length) {
|
|
830
830
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
831
|
-
|
|
831
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
832
832
|
const message = createBaseCreateWorkflowVersionRequest();
|
|
833
833
|
while (reader.pos < end) {
|
|
834
834
|
const tag = reader.uint32();
|
|
@@ -1053,7 +1053,7 @@ exports.DefaultFilter = {
|
|
|
1053
1053
|
},
|
|
1054
1054
|
decode(input, length) {
|
|
1055
1055
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1056
|
-
|
|
1056
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1057
1057
|
const message = createBaseDefaultFilter();
|
|
1058
1058
|
while (reader.pos < end) {
|
|
1059
1059
|
const tag = reader.uint32();
|
|
@@ -1137,7 +1137,7 @@ exports.Concurrency = {
|
|
|
1137
1137
|
},
|
|
1138
1138
|
decode(input, length) {
|
|
1139
1139
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1140
|
-
|
|
1140
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1141
1141
|
const message = createBaseConcurrency();
|
|
1142
1142
|
while (reader.pos < end) {
|
|
1143
1143
|
const tag = reader.uint32();
|
|
@@ -1235,7 +1235,7 @@ exports.DesiredWorkerLabels = {
|
|
|
1235
1235
|
},
|
|
1236
1236
|
decode(input, length) {
|
|
1237
1237
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1238
|
-
|
|
1238
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1239
1239
|
const message = createBaseDesiredWorkerLabels();
|
|
1240
1240
|
while (reader.pos < end) {
|
|
1241
1241
|
const tag = reader.uint32();
|
|
@@ -1389,7 +1389,7 @@ exports.CreateTaskOpts = {
|
|
|
1389
1389
|
},
|
|
1390
1390
|
decode(input, length) {
|
|
1391
1391
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1392
|
-
|
|
1392
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1393
1393
|
const message = createBaseCreateTaskOpts();
|
|
1394
1394
|
while (reader.pos < end) {
|
|
1395
1395
|
const tag = reader.uint32();
|
|
@@ -1625,7 +1625,7 @@ exports.CreateTaskOpts_WorkerLabelsEntry = {
|
|
|
1625
1625
|
},
|
|
1626
1626
|
decode(input, length) {
|
|
1627
1627
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1628
|
-
|
|
1628
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1629
1629
|
const message = createBaseCreateTaskOpts_WorkerLabelsEntry();
|
|
1630
1630
|
while (reader.pos < end) {
|
|
1631
1631
|
const tag = reader.uint32();
|
|
@@ -1716,7 +1716,7 @@ exports.CreateTaskRateLimit = {
|
|
|
1716
1716
|
},
|
|
1717
1717
|
decode(input, length) {
|
|
1718
1718
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1719
|
-
|
|
1719
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1720
1720
|
const message = createBaseCreateTaskRateLimit();
|
|
1721
1721
|
while (reader.pos < end) {
|
|
1722
1722
|
const tag = reader.uint32();
|
|
@@ -1835,7 +1835,7 @@ exports.CreateWorkflowVersionResponse = {
|
|
|
1835
1835
|
},
|
|
1836
1836
|
decode(input, length) {
|
|
1837
1837
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1838
|
-
|
|
1838
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1839
1839
|
const message = createBaseCreateWorkflowVersionResponse();
|
|
1840
1840
|
while (reader.pos < end) {
|
|
1841
1841
|
const tag = reader.uint32();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
import {
|
|
2
|
+
import type { CallContext, CallOptions } from 'nice-grpc-common';
|
|
3
3
|
export declare const protobufPackage = "";
|
|
4
4
|
export declare enum StickyStrategy {
|
|
5
5
|
SOFT = 0,
|