ocel 0.0.1-alpha.0 → 0.0.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/LICENSE +202 -0
- package/NOTICE +2 -0
- package/README.md +98 -0
- package/dist/binding/binding.d.ts +22 -0
- package/dist/binding/binding.js +60 -0
- package/dist/binding/unprovisioned.d.ts +17 -0
- package/dist/binding/unprovisioned.js +25 -0
- package/dist/bucket/bucket-client.d.ts +4 -0
- package/dist/bucket/bucket-client.js +5 -0
- package/dist/bucket/bucket-context.d.ts +8 -0
- package/dist/bucket/bucket-context.js +10 -0
- package/dist/bucket/bucket.d.ts +60 -0
- package/dist/bucket/bucket.js +91 -0
- package/dist/bucket/client.d.ts +49 -0
- package/dist/bucket/client.js +95 -0
- package/dist/bucket/errors.d.ts +12 -0
- package/dist/bucket/errors.js +20 -0
- package/dist/bucket/express.d.ts +10 -0
- package/dist/bucket/express.js +24 -0
- package/dist/bucket/hono.d.ts +18 -0
- package/dist/bucket/hono.js +13 -0
- package/dist/bucket/index.d.ts +8 -0
- package/dist/bucket/index.js +6 -0
- package/dist/bucket/keys.d.ts +5 -0
- package/dist/bucket/keys.js +24 -0
- package/dist/bucket/metadata.d.ts +6 -0
- package/dist/bucket/metadata.js +6 -0
- package/dist/bucket/next.d.ts +15 -0
- package/dist/bucket/next.js +11 -0
- package/dist/bucket/objects.d.ts +130 -0
- package/dist/bucket/objects.js +350 -0
- package/dist/bucket/route.d.ts +13 -0
- package/dist/bucket/route.js +247 -0
- package/dist/bucket/server-only.js +5 -0
- package/dist/bucket/types.d.ts +63 -0
- package/dist/bucket/uploader.d.ts +3 -0
- package/dist/bucket/uploader.js +6 -0
- package/dist/build-env.d.ts +17 -0
- package/dist/build-env.js +41 -0
- package/dist/config.d.ts +30 -0
- package/dist/config.js +9 -0
- package/dist/declaration/callsite.d.ts +15 -0
- package/dist/declaration/callsite.js +43 -0
- package/dist/declaration/component.d.ts +4 -0
- package/dist/declaration/component.js +1 -0
- package/dist/declaration/defer.d.ts +5 -0
- package/dist/declaration/defer.js +9 -0
- package/dist/delivery/duration.d.ts +13 -0
- package/dist/delivery/duration.js +36 -0
- package/dist/delivery/lane.d.ts +4 -0
- package/dist/delivery/lane.js +15 -0
- package/dist/delivery/payload.d.ts +6 -0
- package/dist/delivery/payload.js +14 -0
- package/dist/delivery/retry.d.ts +16 -0
- package/dist/delivery/retry.js +10 -0
- package/dist/delivery/schema.d.ts +10 -0
- package/dist/delivery/schema.js +20 -0
- package/dist/dns.d.ts +11 -0
- package/dist/dns.js +4 -0
- package/dist/edge.d.ts +4 -0
- package/dist/edge.js +4 -0
- package/dist/env/access.d.ts +22 -0
- package/dist/env/access.js +49 -0
- package/dist/env/client.d.ts +5 -0
- package/dist/env/client.js +10 -0
- package/dist/env/declare.d.ts +2 -0
- package/dist/env/declare.js +83 -0
- package/dist/env/definition.d.ts +46 -0
- package/dist/env/definition.js +164 -0
- package/dist/env/deployment.d.ts +23 -0
- package/dist/env/deployment.js +13 -0
- package/dist/env/edge.d.ts +10 -0
- package/dist/env/edge.js +30 -0
- package/dist/env/errors.d.ts +9 -0
- package/dist/env/errors.js +9 -0
- package/dist/env/file.d.ts +1 -0
- package/dist/env/file.js +27 -0
- package/dist/env/index.d.ts +10 -0
- package/dist/env/index.js +63 -0
- package/dist/env/live.d.ts +3 -0
- package/dist/env/live.js +12 -0
- package/dist/env/schema.d.ts +27 -0
- package/dist/env/schema.js +43 -0
- package/dist/env/scope.d.ts +7 -0
- package/dist/env/scope.js +45 -0
- package/dist/env/standard.d.ts +10 -0
- package/dist/env/standard.js +21 -0
- package/dist/env/value.d.ts +5 -0
- package/dist/env/value.js +26 -0
- package/dist/env-source.d.ts +17 -0
- package/dist/env-source.js +16 -0
- package/dist/gen/proto/app/bucket/v1/bucket_pb.d.ts +911 -0
- package/dist/gen/proto/app/bucket/v1/bucket_pb.js +253 -0
- package/dist/gen/proto/app/realtime/v1/realtime_pb.d.ts +50 -0
- package/dist/gen/proto/app/realtime/v1/realtime_pb.js +23 -0
- package/dist/gen/proto/app/resources/v1/resources_pb.d.ts +554 -0
- package/dist/gen/proto/app/resources/v1/resources_pb.js +214 -0
- package/dist/gen/proto/app/resources/v1/variables_pb.d.ts +231 -0
- package/dist/gen/proto/app/resources/v1/variables_pb.js +101 -0
- package/dist/gen/proto/app/task/v1/task_pb.d.ts +498 -0
- package/dist/gen/proto/app/task/v1/task_pb.js +151 -0
- package/dist/gen/proto/app/topic/v1/topic_pb.d.ts +456 -0
- package/dist/gen/proto/app/topic/v1/topic_pb.js +125 -0
- package/dist/gen/proto/buf/validate/validate_pb.d.ts +4833 -0
- package/dist/gen/proto/buf/validate/validate_pb.js +356 -0
- package/dist/gen/proto/common/bindings/v1/bindings_pb.d.ts +378 -0
- package/dist/gen/proto/common/bindings/v1/bindings_pb.js +140 -0
- package/dist/generated/config.d.ts +428 -0
- package/dist/generated/config.js +2 -0
- package/dist/kv/entries.d.ts +193 -0
- package/dist/kv/entries.js +325 -0
- package/dist/kv/errors.d.ts +12 -0
- package/dist/kv/errors.js +14 -0
- package/dist/kv/index.d.ts +6 -0
- package/dist/kv/index.js +3 -0
- package/dist/kv/ioredis.d.ts +2 -0
- package/dist/kv/ioredis.js +20 -0
- package/dist/kv/kv.d.ts +84 -0
- package/dist/kv/kv.js +177 -0
- package/dist/kv/pattern.d.ts +27 -0
- package/dist/kv/pattern.js +73 -0
- package/dist/kv/ttl.d.ts +22 -0
- package/dist/kv/ttl.js +21 -0
- package/dist/postgres/index.d.ts +21 -2
- package/dist/postgres/index.js +73 -2
- package/dist/postgres/pg.d.ts +5 -4
- package/dist/postgres/pg.js +16 -12
- package/dist/providers/aws/dns.d.ts +11 -0
- package/dist/providers/aws/dns.js +4 -0
- package/dist/providers/aws/edge.d.ts +6 -0
- package/dist/providers/aws/edge.js +8 -0
- package/dist/providers/aws/index.d.ts +4 -0
- package/dist/providers/aws/index.js +4 -0
- package/dist/providers/gcp/edge.d.ts +14 -0
- package/dist/providers/gcp/edge.js +14 -0
- package/dist/providers/gcp/index.d.ts +9 -0
- package/dist/providers/gcp/index.js +9 -0
- package/dist/providers/vps/index.d.ts +4 -0
- package/dist/providers/vps/index.js +4 -0
- package/dist/realtime/client-error.d.ts +30 -0
- package/dist/realtime/client-error.js +17 -0
- package/dist/realtime/client-event-socket.d.ts +8 -0
- package/dist/realtime/client-event-socket.js +169 -0
- package/dist/realtime/client-transport.d.ts +29 -0
- package/dist/realtime/client-transport.js +13 -0
- package/dist/realtime/client.d.ts +150 -0
- package/dist/realtime/client.js +345 -0
- package/dist/realtime/express.d.ts +18 -0
- package/dist/realtime/express.js +83 -0
- package/dist/realtime/handler.d.ts +56 -0
- package/dist/realtime/handler.js +287 -0
- package/dist/realtime/hono.d.ts +19 -0
- package/dist/realtime/hono.js +24 -0
- package/dist/realtime/index.d.ts +2 -0
- package/dist/realtime/index.js +2 -0
- package/dist/realtime/next.d.ts +26 -0
- package/dist/realtime/next.js +16 -0
- package/dist/realtime/realtime.d.ts +181 -0
- package/dist/realtime/realtime.js +205 -0
- package/dist/realtime/token.d.ts +20 -0
- package/dist/realtime/token.js +45 -0
- package/dist/realtime/transport.d.ts +11 -0
- package/dist/realtime/transport.js +15 -0
- package/dist/realtime/wire.d.ts +30 -0
- package/dist/realtime/wire.js +104 -0
- package/dist/runtime/dev-server.d.ts +8 -0
- package/dist/runtime/dev-server.js +8 -0
- package/dist/runtime/rpc.d.ts +23 -0
- package/dist/runtime/rpc.js +24 -0
- package/dist/runtime/transport.d.ts +11 -0
- package/dist/runtime/transport.js +35 -0
- package/dist/task/errors.d.ts +7 -0
- package/dist/task/errors.js +7 -0
- package/dist/task/hooks.d.ts +57 -0
- package/dist/task/hooks.js +1 -0
- package/dist/task/index.d.ts +9 -0
- package/dist/task/index.js +4 -0
- package/dist/task/runs.d.ts +74 -0
- package/dist/task/runs.js +82 -0
- package/dist/task/task.d.ts +117 -0
- package/dist/task/task.js +109 -0
- package/dist/topic/dead-letters.d.ts +53 -0
- package/dist/topic/dead-letters.js +62 -0
- package/dist/topic/index.d.ts +8 -0
- package/dist/topic/index.js +4 -0
- package/dist/topic/topic.d.ts +85 -0
- package/dist/topic/topic.js +117 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.js +2 -0
- package/dist/worker/context.d.ts +36 -0
- package/dist/worker/context.js +1 -0
- package/dist/worker/deliver.d.ts +13 -0
- package/dist/worker/deliver.js +258 -0
- package/dist/worker/index.d.ts +4 -0
- package/dist/worker/index.js +2 -0
- package/dist/worker/registry.d.ts +28 -0
- package/dist/worker/registry.js +22 -0
- package/dist/worker/semaphore.d.ts +7 -0
- package/dist/worker/semaphore.js +36 -0
- package/dist/worker/worker.d.ts +21 -0
- package/dist/worker/worker.js +32 -0
- package/package.json +158 -57
- package/bin/run.js +0 -39
- package/dist/blob/bucket.d.ts +0 -55
- package/dist/blob/bucket.js +0 -65
- package/dist/blob/index.d.ts +0 -8
- package/dist/blob/index.js +0 -13
- package/dist/blob/integrations/client.d.ts +0 -25
- package/dist/blob/integrations/client.js +0 -71
- package/dist/blob/integrations/hono.d.ts +0 -31
- package/dist/blob/integrations/hono.js +0 -11
- package/dist/blob/mime-types.d.ts +0 -1
- package/dist/blob/parse.d.ts +0 -16
- package/dist/blob/parse.js +0 -69
- package/dist/blob/s3-listener.d.ts +0 -7
- package/dist/blob/s3-listener.js +0 -35
- package/dist/blob/types.d.ts +0 -128
- package/dist/blob/types.js +0 -1
- package/dist/blob/upload-error.d.ts +0 -35
- package/dist/blob/upload-error.js +0 -54
- package/dist/blob/uploader.d.ts +0 -67
- package/dist/blob/uploader.js +0 -323
- package/dist/internal/db/index.d.ts +0 -68
- package/dist/internal/db/index.js +0 -73
- package/dist/lambda/index.d.ts +0 -2
- package/dist/lambda/index.js +0 -4
- package/dist/lambda/integrations/express.d.ts +0 -3
- package/dist/lambda/integrations/express.js +0 -13
- package/dist/lambda/integrations/hono.d.ts +0 -3
- package/dist/lambda/integrations/hono.js +0 -13
- package/dist/lambda/lambda.d.ts +0 -43
- package/dist/lambda/lambda.js +0 -30
- package/dist/utils/component.d.ts +0 -3
- package/dist/utils/constants.d.ts +0 -2
- package/dist/utils/constants.js +0 -2
- package/dist/utils/nanoid.d.ts +0 -1
- package/dist/utils/nanoid.js +0 -6
- package/dist/utils/rpc.d.ts +0 -11
- package/dist/utils/rpc.js +0 -17
- package/dist/utils/stack.d.ts +0 -4
- package/dist/utils/stack.js +0 -23
- package/dist/workflow/index.d.ts +0 -3
- package/dist/workflow/index.js +0 -4
- package/dist/workflow/workflow.d.ts +0 -34
- package/dist/workflow/workflow.js +0 -146
- package/src/blob/bucket.ts +0 -92
- package/src/blob/index.ts +0 -34
- package/src/blob/integrations/client.ts +0 -127
- package/src/blob/integrations/hono.ts +0 -16
- package/src/blob/mime-types.ts +0 -68
- package/src/blob/parse.ts +0 -93
- package/src/blob/s3-listener.ts +0 -48
- package/src/blob/types.ts +0 -142
- package/src/blob/upload-error.ts +0 -67
- package/src/blob/uploader.ts +0 -426
- package/src/internal/db/index.ts +0 -78
- package/src/lambda/index.ts +0 -8
- package/src/lambda/integrations/express.ts +0 -25
- package/src/lambda/integrations/hono.ts +0 -25
- package/src/lambda/lambda.ts +0 -94
- package/src/postgres/index.ts +0 -5
- package/src/postgres/pg.ts +0 -33
- package/src/utils/component.ts +0 -3
- package/src/utils/constants.ts +0 -2
- package/src/utils/nanoid.ts +0 -9
- package/src/utils/rpc.ts +0 -28
- package/src/utils/stack.ts +0 -26
- package/src/workflow/index.ts +0 -9
- package/src/workflow/workflow.ts +0 -235
- /package/dist/{blob/mime-types.js → bucket/server-only.d.ts} +0 -0
- /package/dist/{utils/component.js → bucket/types.js} +0 -0
|
@@ -0,0 +1,498 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Lane } from "../../topic/v1/topic_pb.js";
|
|
3
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file app/task/v1/task.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_app_task_v1_task: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message app.task.v1.Debounce
|
|
11
|
+
*/
|
|
12
|
+
export type Debounce = Message<"app.task.v1.Debounce"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string key = 1;
|
|
15
|
+
*/
|
|
16
|
+
key: string;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: google.protobuf.Duration delay = 2;
|
|
19
|
+
*/
|
|
20
|
+
delay?: Duration | undefined;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message app.task.v1.Debounce.
|
|
24
|
+
* Use `create(DebounceSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export declare const DebounceSchema: GenMessage<Debounce>;
|
|
27
|
+
/**
|
|
28
|
+
* @generated from message app.task.v1.TriggerOptions
|
|
29
|
+
*/
|
|
30
|
+
export type TriggerOptions = Message<"app.task.v1.TriggerOptions"> & {
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: google.protobuf.Timestamp due_at = 1;
|
|
33
|
+
*/
|
|
34
|
+
dueAt?: Timestamp | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: google.protobuf.Duration ttl = 2;
|
|
37
|
+
*/
|
|
38
|
+
ttl?: Duration | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: string idempotency_key = 3;
|
|
41
|
+
*/
|
|
42
|
+
idempotencyKey: string;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: google.protobuf.Duration idempotency_key_ttl = 4;
|
|
45
|
+
*/
|
|
46
|
+
idempotencyKeyTtl?: Duration | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: app.task.v1.Debounce debounce = 5;
|
|
49
|
+
*/
|
|
50
|
+
debounce?: Debounce | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: string key = 6;
|
|
53
|
+
*/
|
|
54
|
+
key: string;
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: app.topic.v1.Lane lane = 7;
|
|
57
|
+
*/
|
|
58
|
+
lane: Lane;
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: int32 max_attempts = 8;
|
|
61
|
+
*/
|
|
62
|
+
maxAttempts: number;
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: repeated string tags = 9;
|
|
65
|
+
*/
|
|
66
|
+
tags: string[];
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: bytes metadata = 10;
|
|
69
|
+
*/
|
|
70
|
+
metadata: Uint8Array;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message app.task.v1.TriggerOptions.
|
|
74
|
+
* Use `create(TriggerOptionsSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export declare const TriggerOptionsSchema: GenMessage<TriggerOptions>;
|
|
77
|
+
/**
|
|
78
|
+
* @generated from message app.task.v1.TriggerRequest
|
|
79
|
+
*/
|
|
80
|
+
export type TriggerRequest = Message<"app.task.v1.TriggerRequest"> & {
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: string task = 1;
|
|
83
|
+
*/
|
|
84
|
+
task: string;
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: bytes payload = 2;
|
|
87
|
+
*/
|
|
88
|
+
payload: Uint8Array;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: app.task.v1.TriggerOptions options = 3;
|
|
91
|
+
*/
|
|
92
|
+
options?: TriggerOptions | undefined;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Describes the message app.task.v1.TriggerRequest.
|
|
96
|
+
* Use `create(TriggerRequestSchema)` to create a new message.
|
|
97
|
+
*/
|
|
98
|
+
export declare const TriggerRequestSchema: GenMessage<TriggerRequest>;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from message app.task.v1.TriggerResponse
|
|
101
|
+
*/
|
|
102
|
+
export type TriggerResponse = Message<"app.task.v1.TriggerResponse"> & {
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: string id = 1;
|
|
105
|
+
*/
|
|
106
|
+
id: string;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message app.task.v1.TriggerResponse.
|
|
110
|
+
* Use `create(TriggerResponseSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export declare const TriggerResponseSchema: GenMessage<TriggerResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* @generated from message app.task.v1.BatchTriggerItem
|
|
115
|
+
*/
|
|
116
|
+
export type BatchTriggerItem = Message<"app.task.v1.BatchTriggerItem"> & {
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: bytes payload = 1;
|
|
119
|
+
*/
|
|
120
|
+
payload: Uint8Array;
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: app.task.v1.TriggerOptions options = 2;
|
|
123
|
+
*/
|
|
124
|
+
options?: TriggerOptions | undefined;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* Describes the message app.task.v1.BatchTriggerItem.
|
|
128
|
+
* Use `create(BatchTriggerItemSchema)` to create a new message.
|
|
129
|
+
*/
|
|
130
|
+
export declare const BatchTriggerItemSchema: GenMessage<BatchTriggerItem>;
|
|
131
|
+
/**
|
|
132
|
+
* @generated from message app.task.v1.BatchTriggerRequest
|
|
133
|
+
*/
|
|
134
|
+
export type BatchTriggerRequest = Message<"app.task.v1.BatchTriggerRequest"> & {
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: string task = 1;
|
|
137
|
+
*/
|
|
138
|
+
task: string;
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: repeated app.task.v1.BatchTriggerItem items = 2;
|
|
141
|
+
*/
|
|
142
|
+
items: BatchTriggerItem[];
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message app.task.v1.BatchTriggerRequest.
|
|
146
|
+
* Use `create(BatchTriggerRequestSchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export declare const BatchTriggerRequestSchema: GenMessage<BatchTriggerRequest>;
|
|
149
|
+
/**
|
|
150
|
+
* @generated from message app.task.v1.BatchTriggerResponse
|
|
151
|
+
*/
|
|
152
|
+
export type BatchTriggerResponse = Message<"app.task.v1.BatchTriggerResponse"> & {
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: repeated string ids = 1;
|
|
155
|
+
*/
|
|
156
|
+
ids: string[];
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* Describes the message app.task.v1.BatchTriggerResponse.
|
|
160
|
+
* Use `create(BatchTriggerResponseSchema)` to create a new message.
|
|
161
|
+
*/
|
|
162
|
+
export declare const BatchTriggerResponseSchema: GenMessage<BatchTriggerResponse>;
|
|
163
|
+
/**
|
|
164
|
+
* @generated from message app.task.v1.Run
|
|
165
|
+
*/
|
|
166
|
+
export type Run = Message<"app.task.v1.Run"> & {
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: string id = 1;
|
|
169
|
+
*/
|
|
170
|
+
id: string;
|
|
171
|
+
/**
|
|
172
|
+
* @generated from field: string task = 2;
|
|
173
|
+
*/
|
|
174
|
+
task: string;
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: app.task.v1.RunStatus status = 3;
|
|
177
|
+
*/
|
|
178
|
+
status: RunStatus;
|
|
179
|
+
/**
|
|
180
|
+
* @generated from field: bytes payload = 4;
|
|
181
|
+
*/
|
|
182
|
+
payload: Uint8Array;
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: bytes output = 5;
|
|
185
|
+
*/
|
|
186
|
+
output: Uint8Array;
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: string error = 6;
|
|
189
|
+
*/
|
|
190
|
+
error: string;
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: int32 attempts = 7;
|
|
193
|
+
*/
|
|
194
|
+
attempts: number;
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: repeated string tags = 8;
|
|
197
|
+
*/
|
|
198
|
+
tags: string[];
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: bytes metadata = 9;
|
|
201
|
+
*/
|
|
202
|
+
metadata: Uint8Array;
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: google.protobuf.Timestamp created_at = 10;
|
|
205
|
+
*/
|
|
206
|
+
createdAt?: Timestamp | undefined;
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: google.protobuf.Timestamp due_at = 11;
|
|
209
|
+
*/
|
|
210
|
+
dueAt?: Timestamp | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: google.protobuf.Timestamp started_at = 12;
|
|
213
|
+
*/
|
|
214
|
+
startedAt?: Timestamp | undefined;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: google.protobuf.Timestamp finished_at = 13;
|
|
217
|
+
*/
|
|
218
|
+
finishedAt?: Timestamp | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 14;
|
|
221
|
+
*/
|
|
222
|
+
expiresAt?: Timestamp | undefined;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Describes the message app.task.v1.Run.
|
|
226
|
+
* Use `create(RunSchema)` to create a new message.
|
|
227
|
+
*/
|
|
228
|
+
export declare const RunSchema: GenMessage<Run>;
|
|
229
|
+
/**
|
|
230
|
+
* @generated from message app.task.v1.RetrieveRunRequest
|
|
231
|
+
*/
|
|
232
|
+
export type RetrieveRunRequest = Message<"app.task.v1.RetrieveRunRequest"> & {
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: string id = 1;
|
|
235
|
+
*/
|
|
236
|
+
id: string;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Describes the message app.task.v1.RetrieveRunRequest.
|
|
240
|
+
* Use `create(RetrieveRunRequestSchema)` to create a new message.
|
|
241
|
+
*/
|
|
242
|
+
export declare const RetrieveRunRequestSchema: GenMessage<RetrieveRunRequest>;
|
|
243
|
+
/**
|
|
244
|
+
* @generated from message app.task.v1.RetrieveRunResponse
|
|
245
|
+
*/
|
|
246
|
+
export type RetrieveRunResponse = Message<"app.task.v1.RetrieveRunResponse"> & {
|
|
247
|
+
/**
|
|
248
|
+
* @generated from field: app.task.v1.Run run = 1;
|
|
249
|
+
*/
|
|
250
|
+
run?: Run | undefined;
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* Describes the message app.task.v1.RetrieveRunResponse.
|
|
254
|
+
* Use `create(RetrieveRunResponseSchema)` to create a new message.
|
|
255
|
+
*/
|
|
256
|
+
export declare const RetrieveRunResponseSchema: GenMessage<RetrieveRunResponse>;
|
|
257
|
+
/**
|
|
258
|
+
* @generated from message app.task.v1.ListRunsRequest
|
|
259
|
+
*/
|
|
260
|
+
export type ListRunsRequest = Message<"app.task.v1.ListRunsRequest"> & {
|
|
261
|
+
/**
|
|
262
|
+
* @generated from field: string task = 1;
|
|
263
|
+
*/
|
|
264
|
+
task: string;
|
|
265
|
+
/**
|
|
266
|
+
* @generated from field: repeated app.task.v1.RunStatus statuses = 2;
|
|
267
|
+
*/
|
|
268
|
+
statuses: RunStatus[];
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: repeated string tags = 3;
|
|
271
|
+
*/
|
|
272
|
+
tags: string[];
|
|
273
|
+
/**
|
|
274
|
+
* @generated from field: string cursor = 4;
|
|
275
|
+
*/
|
|
276
|
+
cursor: string;
|
|
277
|
+
/**
|
|
278
|
+
* @generated from field: int32 limit = 5;
|
|
279
|
+
*/
|
|
280
|
+
limit: number;
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* Describes the message app.task.v1.ListRunsRequest.
|
|
284
|
+
* Use `create(ListRunsRequestSchema)` to create a new message.
|
|
285
|
+
*/
|
|
286
|
+
export declare const ListRunsRequestSchema: GenMessage<ListRunsRequest>;
|
|
287
|
+
/**
|
|
288
|
+
* @generated from message app.task.v1.ListRunsResponse
|
|
289
|
+
*/
|
|
290
|
+
export type ListRunsResponse = Message<"app.task.v1.ListRunsResponse"> & {
|
|
291
|
+
/**
|
|
292
|
+
* @generated from field: repeated app.task.v1.Run runs = 1;
|
|
293
|
+
*/
|
|
294
|
+
runs: Run[];
|
|
295
|
+
/**
|
|
296
|
+
* @generated from field: string next_cursor = 2;
|
|
297
|
+
*/
|
|
298
|
+
nextCursor: string;
|
|
299
|
+
};
|
|
300
|
+
/**
|
|
301
|
+
* Describes the message app.task.v1.ListRunsResponse.
|
|
302
|
+
* Use `create(ListRunsResponseSchema)` to create a new message.
|
|
303
|
+
*/
|
|
304
|
+
export declare const ListRunsResponseSchema: GenMessage<ListRunsResponse>;
|
|
305
|
+
/**
|
|
306
|
+
* @generated from message app.task.v1.CancelRunRequest
|
|
307
|
+
*/
|
|
308
|
+
export type CancelRunRequest = Message<"app.task.v1.CancelRunRequest"> & {
|
|
309
|
+
/**
|
|
310
|
+
* @generated from field: string id = 1;
|
|
311
|
+
*/
|
|
312
|
+
id: string;
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* Describes the message app.task.v1.CancelRunRequest.
|
|
316
|
+
* Use `create(CancelRunRequestSchema)` to create a new message.
|
|
317
|
+
*/
|
|
318
|
+
export declare const CancelRunRequestSchema: GenMessage<CancelRunRequest>;
|
|
319
|
+
/**
|
|
320
|
+
* @generated from message app.task.v1.CancelRunResponse
|
|
321
|
+
*/
|
|
322
|
+
export type CancelRunResponse = Message<"app.task.v1.CancelRunResponse"> & {
|
|
323
|
+
/**
|
|
324
|
+
* @generated from field: app.task.v1.Run run = 1;
|
|
325
|
+
*/
|
|
326
|
+
run?: Run | undefined;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* Describes the message app.task.v1.CancelRunResponse.
|
|
330
|
+
* Use `create(CancelRunResponseSchema)` to create a new message.
|
|
331
|
+
*/
|
|
332
|
+
export declare const CancelRunResponseSchema: GenMessage<CancelRunResponse>;
|
|
333
|
+
/**
|
|
334
|
+
* @generated from message app.task.v1.ReplayRunRequest
|
|
335
|
+
*/
|
|
336
|
+
export type ReplayRunRequest = Message<"app.task.v1.ReplayRunRequest"> & {
|
|
337
|
+
/**
|
|
338
|
+
* @generated from field: string id = 1;
|
|
339
|
+
*/
|
|
340
|
+
id: string;
|
|
341
|
+
};
|
|
342
|
+
/**
|
|
343
|
+
* Describes the message app.task.v1.ReplayRunRequest.
|
|
344
|
+
* Use `create(ReplayRunRequestSchema)` to create a new message.
|
|
345
|
+
*/
|
|
346
|
+
export declare const ReplayRunRequestSchema: GenMessage<ReplayRunRequest>;
|
|
347
|
+
/**
|
|
348
|
+
* @generated from message app.task.v1.ReplayRunResponse
|
|
349
|
+
*/
|
|
350
|
+
export type ReplayRunResponse = Message<"app.task.v1.ReplayRunResponse"> & {
|
|
351
|
+
/**
|
|
352
|
+
* @generated from field: string id = 1;
|
|
353
|
+
*/
|
|
354
|
+
id: string;
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* Describes the message app.task.v1.ReplayRunResponse.
|
|
358
|
+
* Use `create(ReplayRunResponseSchema)` to create a new message.
|
|
359
|
+
*/
|
|
360
|
+
export declare const ReplayRunResponseSchema: GenMessage<ReplayRunResponse>;
|
|
361
|
+
/**
|
|
362
|
+
* @generated from message app.task.v1.RescheduleRunRequest
|
|
363
|
+
*/
|
|
364
|
+
export type RescheduleRunRequest = Message<"app.task.v1.RescheduleRunRequest"> & {
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: string id = 1;
|
|
367
|
+
*/
|
|
368
|
+
id: string;
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: google.protobuf.Timestamp due_at = 2;
|
|
371
|
+
*/
|
|
372
|
+
dueAt?: Timestamp | undefined;
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* Describes the message app.task.v1.RescheduleRunRequest.
|
|
376
|
+
* Use `create(RescheduleRunRequestSchema)` to create a new message.
|
|
377
|
+
*/
|
|
378
|
+
export declare const RescheduleRunRequestSchema: GenMessage<RescheduleRunRequest>;
|
|
379
|
+
/**
|
|
380
|
+
* @generated from message app.task.v1.RescheduleRunResponse
|
|
381
|
+
*/
|
|
382
|
+
export type RescheduleRunResponse = Message<"app.task.v1.RescheduleRunResponse"> & {
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: app.task.v1.Run run = 1;
|
|
385
|
+
*/
|
|
386
|
+
run?: Run | undefined;
|
|
387
|
+
};
|
|
388
|
+
/**
|
|
389
|
+
* Describes the message app.task.v1.RescheduleRunResponse.
|
|
390
|
+
* Use `create(RescheduleRunResponseSchema)` to create a new message.
|
|
391
|
+
*/
|
|
392
|
+
export declare const RescheduleRunResponseSchema: GenMessage<RescheduleRunResponse>;
|
|
393
|
+
/**
|
|
394
|
+
* @generated from enum app.task.v1.RunStatus
|
|
395
|
+
*/
|
|
396
|
+
export declare enum RunStatus {
|
|
397
|
+
/**
|
|
398
|
+
* @generated from enum value: RUN_STATUS_UNSPECIFIED = 0;
|
|
399
|
+
*/
|
|
400
|
+
UNSPECIFIED = 0,
|
|
401
|
+
/**
|
|
402
|
+
* @generated from enum value: RUN_STATUS_DELAYED = 1;
|
|
403
|
+
*/
|
|
404
|
+
DELAYED = 1,
|
|
405
|
+
/**
|
|
406
|
+
* @generated from enum value: RUN_STATUS_QUEUED = 2;
|
|
407
|
+
*/
|
|
408
|
+
QUEUED = 2,
|
|
409
|
+
/**
|
|
410
|
+
* @generated from enum value: RUN_STATUS_EXECUTING = 3;
|
|
411
|
+
*/
|
|
412
|
+
EXECUTING = 3,
|
|
413
|
+
/**
|
|
414
|
+
* @generated from enum value: RUN_STATUS_COMPLETED = 4;
|
|
415
|
+
*/
|
|
416
|
+
COMPLETED = 4,
|
|
417
|
+
/**
|
|
418
|
+
* @generated from enum value: RUN_STATUS_FAILED = 5;
|
|
419
|
+
*/
|
|
420
|
+
FAILED = 5,
|
|
421
|
+
/**
|
|
422
|
+
* @generated from enum value: RUN_STATUS_CANCELED = 6;
|
|
423
|
+
*/
|
|
424
|
+
CANCELED = 6,
|
|
425
|
+
/**
|
|
426
|
+
* @generated from enum value: RUN_STATUS_EXPIRED = 7;
|
|
427
|
+
*/
|
|
428
|
+
EXPIRED = 7,
|
|
429
|
+
/**
|
|
430
|
+
* @generated from enum value: RUN_STATUS_TIMED_OUT = 8;
|
|
431
|
+
*/
|
|
432
|
+
TIMED_OUT = 8
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Describes the enum app.task.v1.RunStatus.
|
|
436
|
+
*/
|
|
437
|
+
export declare const RunStatusSchema: GenEnum<RunStatus>;
|
|
438
|
+
/**
|
|
439
|
+
* @generated from service app.task.v1.TaskService
|
|
440
|
+
*/
|
|
441
|
+
export declare const TaskService: GenService<{
|
|
442
|
+
/**
|
|
443
|
+
* @generated from rpc app.task.v1.TaskService.Trigger
|
|
444
|
+
*/
|
|
445
|
+
trigger: {
|
|
446
|
+
methodKind: "unary";
|
|
447
|
+
input: typeof TriggerRequestSchema;
|
|
448
|
+
output: typeof TriggerResponseSchema;
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* @generated from rpc app.task.v1.TaskService.BatchTrigger
|
|
452
|
+
*/
|
|
453
|
+
batchTrigger: {
|
|
454
|
+
methodKind: "unary";
|
|
455
|
+
input: typeof BatchTriggerRequestSchema;
|
|
456
|
+
output: typeof BatchTriggerResponseSchema;
|
|
457
|
+
};
|
|
458
|
+
/**
|
|
459
|
+
* @generated from rpc app.task.v1.TaskService.RetrieveRun
|
|
460
|
+
*/
|
|
461
|
+
retrieveRun: {
|
|
462
|
+
methodKind: "unary";
|
|
463
|
+
input: typeof RetrieveRunRequestSchema;
|
|
464
|
+
output: typeof RetrieveRunResponseSchema;
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* @generated from rpc app.task.v1.TaskService.ListRuns
|
|
468
|
+
*/
|
|
469
|
+
listRuns: {
|
|
470
|
+
methodKind: "unary";
|
|
471
|
+
input: typeof ListRunsRequestSchema;
|
|
472
|
+
output: typeof ListRunsResponseSchema;
|
|
473
|
+
};
|
|
474
|
+
/**
|
|
475
|
+
* @generated from rpc app.task.v1.TaskService.CancelRun
|
|
476
|
+
*/
|
|
477
|
+
cancelRun: {
|
|
478
|
+
methodKind: "unary";
|
|
479
|
+
input: typeof CancelRunRequestSchema;
|
|
480
|
+
output: typeof CancelRunResponseSchema;
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* @generated from rpc app.task.v1.TaskService.ReplayRun
|
|
484
|
+
*/
|
|
485
|
+
replayRun: {
|
|
486
|
+
methodKind: "unary";
|
|
487
|
+
input: typeof ReplayRunRequestSchema;
|
|
488
|
+
output: typeof ReplayRunResponseSchema;
|
|
489
|
+
};
|
|
490
|
+
/**
|
|
491
|
+
* @generated from rpc app.task.v1.TaskService.RescheduleRun
|
|
492
|
+
*/
|
|
493
|
+
rescheduleRun: {
|
|
494
|
+
methodKind: "unary";
|
|
495
|
+
input: typeof RescheduleRunRequestSchema;
|
|
496
|
+
output: typeof RescheduleRunResponseSchema;
|
|
497
|
+
};
|
|
498
|
+
}>;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file app/task/v1/task.proto (package app.task.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_app_topic_v1_topic } from "../../topic/v1/topic_pb.js";
|
|
6
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
7
|
+
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file app/task/v1/task.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_app_task_v1_task = /*@__PURE__*/ fileDesc("ChZhcH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RUQQBhIWChJSVU5fU1RBVFVTX0VYUElSRUQQBxIYChRSVU5fU1RBVFVTX1RJTUVEX09VVBAIMrMECgtUYXNrU2VydmljZRJECgdUcmlnZ2VyEhsuYXBwLnRhc2sudjEuVHJpZ2dlclJlcXVlc3QaHC5hcHAudGFzay52MS5UcmlnZ2VyUmVzcG9uc2USUwoMQmF0Y2hUcmlnZ2VyEiAuYXBwLnRhc2sudjEuQmF0Y2hUcmlnZ2VyUmVxdWVzdBohLmFwcC50YXNrLnYxLkJhdGNoVHJpZ2dlclJlc3BvbnNlElAKC1JldHJpZXZlUnVuEh8uYXBwLnRhc2sudjEuUmV0cmlldmVSdW5SZXF1ZXN0GiAuYXBwLnRhc2sudjEuUmV0cmlldmVSdW5SZXNwb25zZRJHCghMaXN0UnVucxIcLmFwcC50YXNrLnYxLkxpc3RSdW5zUmVxdWVzdBodLmFwcC50YXNrLnYxLkxpc3RSdW5zUmVzcG9uc2USSgoJQ2FuY2VsUnVuEh0uYXBwLnRhc2sudjEuQ2FuY2VsUnVuUmVxdWVzdBoeLmFwcC50YXNrLnYxLkNhbmNlbFJ1blJlc3BvbnNlEkoKCVJlcGxheVJ1bhIdLmFwcC50YXNrLnYxLlJlcGxheVJ1blJlcXVlc3QaHi5hcHAudGFzay52MS5SZXBsYXlSdW5SZXNwb25zZRJWCg1SZXNjaGVkdWxlUnVuEiEuYXBwLnRhc2sudjEuUmVzY2hlZHVsZVJ1blJlcXVlc3QaIi5hcHAudGFzay52MS5SZXNjaGVkdWxlUnVuUmVzcG9uc2VCNVozZ2l0aHViLmNvbS9vY2VsaHEvb2NlbC9wa2cvcHJvdG8vYXBwL3Rhc2svdjE7dGFza3YxYgZwcm90bzM", [file_app_topic_v1_topic, file_buf_validate_validate, file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message app.task.v1.Debounce.
|
|
14
|
+
* Use `create(DebounceSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const DebounceSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message app.task.v1.TriggerOptions.
|
|
19
|
+
* Use `create(TriggerOptionsSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const TriggerOptionsSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message app.task.v1.TriggerRequest.
|
|
24
|
+
* Use `create(TriggerRequestSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const TriggerRequestSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 2);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message app.task.v1.TriggerResponse.
|
|
29
|
+
* Use `create(TriggerResponseSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const TriggerResponseSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 3);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message app.task.v1.BatchTriggerItem.
|
|
34
|
+
* Use `create(BatchTriggerItemSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const BatchTriggerItemSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 4);
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message app.task.v1.BatchTriggerRequest.
|
|
39
|
+
* Use `create(BatchTriggerRequestSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const BatchTriggerRequestSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 5);
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message app.task.v1.BatchTriggerResponse.
|
|
44
|
+
* Use `create(BatchTriggerResponseSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const BatchTriggerResponseSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 6);
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message app.task.v1.Run.
|
|
49
|
+
* Use `create(RunSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const RunSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 7);
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message app.task.v1.RetrieveRunRequest.
|
|
54
|
+
* Use `create(RetrieveRunRequestSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const RetrieveRunRequestSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 8);
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message app.task.v1.RetrieveRunResponse.
|
|
59
|
+
* Use `create(RetrieveRunResponseSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const RetrieveRunResponseSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 9);
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message app.task.v1.ListRunsRequest.
|
|
64
|
+
* Use `create(ListRunsRequestSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const ListRunsRequestSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 10);
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message app.task.v1.ListRunsResponse.
|
|
69
|
+
* Use `create(ListRunsResponseSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export const ListRunsResponseSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 11);
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message app.task.v1.CancelRunRequest.
|
|
74
|
+
* Use `create(CancelRunRequestSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const CancelRunRequestSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 12);
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message app.task.v1.CancelRunResponse.
|
|
79
|
+
* Use `create(CancelRunResponseSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export const CancelRunResponseSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 13);
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message app.task.v1.ReplayRunRequest.
|
|
84
|
+
* Use `create(ReplayRunRequestSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const ReplayRunRequestSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 14);
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message app.task.v1.ReplayRunResponse.
|
|
89
|
+
* Use `create(ReplayRunResponseSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export const ReplayRunResponseSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 15);
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message app.task.v1.RescheduleRunRequest.
|
|
94
|
+
* Use `create(RescheduleRunRequestSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export const RescheduleRunRequestSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 16);
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message app.task.v1.RescheduleRunResponse.
|
|
99
|
+
* Use `create(RescheduleRunResponseSchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export const RescheduleRunResponseSchema = /*@__PURE__*/ messageDesc(file_app_task_v1_task, 17);
|
|
102
|
+
/**
|
|
103
|
+
* @generated from enum app.task.v1.RunStatus
|
|
104
|
+
*/
|
|
105
|
+
export var RunStatus;
|
|
106
|
+
(function (RunStatus) {
|
|
107
|
+
/**
|
|
108
|
+
* @generated from enum value: RUN_STATUS_UNSPECIFIED = 0;
|
|
109
|
+
*/
|
|
110
|
+
RunStatus[RunStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
111
|
+
/**
|
|
112
|
+
* @generated from enum value: RUN_STATUS_DELAYED = 1;
|
|
113
|
+
*/
|
|
114
|
+
RunStatus[RunStatus["DELAYED"] = 1] = "DELAYED";
|
|
115
|
+
/**
|
|
116
|
+
* @generated from enum value: RUN_STATUS_QUEUED = 2;
|
|
117
|
+
*/
|
|
118
|
+
RunStatus[RunStatus["QUEUED"] = 2] = "QUEUED";
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum value: RUN_STATUS_EXECUTING = 3;
|
|
121
|
+
*/
|
|
122
|
+
RunStatus[RunStatus["EXECUTING"] = 3] = "EXECUTING";
|
|
123
|
+
/**
|
|
124
|
+
* @generated from enum value: RUN_STATUS_COMPLETED = 4;
|
|
125
|
+
*/
|
|
126
|
+
RunStatus[RunStatus["COMPLETED"] = 4] = "COMPLETED";
|
|
127
|
+
/**
|
|
128
|
+
* @generated from enum value: RUN_STATUS_FAILED = 5;
|
|
129
|
+
*/
|
|
130
|
+
RunStatus[RunStatus["FAILED"] = 5] = "FAILED";
|
|
131
|
+
/**
|
|
132
|
+
* @generated from enum value: RUN_STATUS_CANCELED = 6;
|
|
133
|
+
*/
|
|
134
|
+
RunStatus[RunStatus["CANCELED"] = 6] = "CANCELED";
|
|
135
|
+
/**
|
|
136
|
+
* @generated from enum value: RUN_STATUS_EXPIRED = 7;
|
|
137
|
+
*/
|
|
138
|
+
RunStatus[RunStatus["EXPIRED"] = 7] = "EXPIRED";
|
|
139
|
+
/**
|
|
140
|
+
* @generated from enum value: RUN_STATUS_TIMED_OUT = 8;
|
|
141
|
+
*/
|
|
142
|
+
RunStatus[RunStatus["TIMED_OUT"] = 8] = "TIMED_OUT";
|
|
143
|
+
})(RunStatus || (RunStatus = {}));
|
|
144
|
+
/**
|
|
145
|
+
* Describes the enum app.task.v1.RunStatus.
|
|
146
|
+
*/
|
|
147
|
+
export const RunStatusSchema = /*@__PURE__*/ enumDesc(file_app_task_v1_task, 0);
|
|
148
|
+
/**
|
|
149
|
+
* @generated from service app.task.v1.TaskService
|
|
150
|
+
*/
|
|
151
|
+
export const TaskService = /*@__PURE__*/ serviceDesc(file_app_task_v1_task, 0);
|