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,378 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file common/bindings/v1/bindings.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_common_bindings_v1_bindings: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message common.bindings.v1.Binding
|
|
9
|
+
*/
|
|
10
|
+
export type Binding = Message<"common.bindings.v1.Binding"> & {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from field: string name = 1;
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* @generated from oneof common.bindings.v1.Binding.properties
|
|
17
|
+
*/
|
|
18
|
+
properties: {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: common.bindings.v1.PostgresProperties postgres = 2;
|
|
21
|
+
*/
|
|
22
|
+
value: PostgresProperties;
|
|
23
|
+
case: "postgres";
|
|
24
|
+
} | {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: common.bindings.v1.BucketProperties bucket = 3;
|
|
27
|
+
*/
|
|
28
|
+
value: BucketProperties;
|
|
29
|
+
case: "bucket";
|
|
30
|
+
} | {
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: google.protobuf.Struct custom = 6;
|
|
33
|
+
*/
|
|
34
|
+
value: JsonObject;
|
|
35
|
+
case: "custom";
|
|
36
|
+
} | {
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: common.bindings.v1.TopicProperties topic = 7;
|
|
39
|
+
*/
|
|
40
|
+
value: TopicProperties;
|
|
41
|
+
case: "topic";
|
|
42
|
+
} | {
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: common.bindings.v1.TaskProperties task = 8;
|
|
45
|
+
*/
|
|
46
|
+
value: TaskProperties;
|
|
47
|
+
case: "task";
|
|
48
|
+
} | {
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: common.bindings.v1.KvProperties kv = 9;
|
|
51
|
+
*/
|
|
52
|
+
value: KvProperties;
|
|
53
|
+
case: "kv";
|
|
54
|
+
} | {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: common.bindings.v1.RealtimeProperties realtime = 10;
|
|
57
|
+
*/
|
|
58
|
+
value: RealtimeProperties;
|
|
59
|
+
case: "realtime";
|
|
60
|
+
} | {
|
|
61
|
+
case: undefined;
|
|
62
|
+
value?: undefined;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: repeated common.bindings.v1.Grant grants = 4;
|
|
66
|
+
*/
|
|
67
|
+
grants: Grant[];
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: string source = 5;
|
|
70
|
+
*/
|
|
71
|
+
source: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message common.bindings.v1.Binding.
|
|
75
|
+
* Use `create(BindingSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export declare const BindingSchema: GenMessage<Binding>;
|
|
78
|
+
/**
|
|
79
|
+
* @generated from message common.bindings.v1.PostgresProperties
|
|
80
|
+
*/
|
|
81
|
+
export type PostgresProperties = Message<"common.bindings.v1.PostgresProperties"> & {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: string host = 1;
|
|
84
|
+
*/
|
|
85
|
+
host: string;
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: int32 port = 2;
|
|
88
|
+
*/
|
|
89
|
+
port: number;
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: string database = 3;
|
|
92
|
+
*/
|
|
93
|
+
database: string;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: string username = 4;
|
|
96
|
+
*/
|
|
97
|
+
username: string;
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: string password = 5;
|
|
100
|
+
*/
|
|
101
|
+
password: string;
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: string url = 6;
|
|
104
|
+
*/
|
|
105
|
+
url: string;
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: common.bindings.v1.PostgresTlsMode tls_mode = 7;
|
|
108
|
+
*/
|
|
109
|
+
tlsMode: PostgresTlsMode;
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: string tls_ca = 8;
|
|
112
|
+
*/
|
|
113
|
+
tlsCa: string;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message common.bindings.v1.PostgresProperties.
|
|
117
|
+
* Use `create(PostgresPropertiesSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export declare const PostgresPropertiesSchema: GenMessage<PostgresProperties>;
|
|
120
|
+
/**
|
|
121
|
+
* @generated from message common.bindings.v1.BucketProperties
|
|
122
|
+
*/
|
|
123
|
+
export type BucketProperties = Message<"common.bindings.v1.BucketProperties"> & {
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: string bucket = 1;
|
|
126
|
+
*/
|
|
127
|
+
bucket: string;
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: string public_base_url = 2;
|
|
130
|
+
*/
|
|
131
|
+
publicBaseUrl: string;
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: bool public = 3;
|
|
134
|
+
*/
|
|
135
|
+
public: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* @generated from field: string endpoint = 4;
|
|
138
|
+
*/
|
|
139
|
+
endpoint: string;
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: string region = 5;
|
|
142
|
+
*/
|
|
143
|
+
region: string;
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: bool path_style = 6;
|
|
146
|
+
*/
|
|
147
|
+
pathStyle: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: string prefix = 7;
|
|
150
|
+
*/
|
|
151
|
+
prefix: string;
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: string access_key_id = 8;
|
|
154
|
+
*/
|
|
155
|
+
accessKeyId: string;
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: string secret_access_key = 9;
|
|
158
|
+
*/
|
|
159
|
+
secretAccessKey: string;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Describes the message common.bindings.v1.BucketProperties.
|
|
163
|
+
* Use `create(BucketPropertiesSchema)` to create a new message.
|
|
164
|
+
*/
|
|
165
|
+
export declare const BucketPropertiesSchema: GenMessage<BucketProperties>;
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message common.bindings.v1.TopicProperties
|
|
168
|
+
*/
|
|
169
|
+
export type TopicProperties = Message<"common.bindings.v1.TopicProperties"> & {};
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message common.bindings.v1.TopicProperties.
|
|
172
|
+
* Use `create(TopicPropertiesSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export declare const TopicPropertiesSchema: GenMessage<TopicProperties>;
|
|
175
|
+
/**
|
|
176
|
+
* @generated from message common.bindings.v1.TaskProperties
|
|
177
|
+
*/
|
|
178
|
+
export type TaskProperties = Message<"common.bindings.v1.TaskProperties"> & {};
|
|
179
|
+
/**
|
|
180
|
+
* Describes the message common.bindings.v1.TaskProperties.
|
|
181
|
+
* Use `create(TaskPropertiesSchema)` to create a new message.
|
|
182
|
+
*/
|
|
183
|
+
export declare const TaskPropertiesSchema: GenMessage<TaskProperties>;
|
|
184
|
+
/**
|
|
185
|
+
* @generated from message common.bindings.v1.KvProperties
|
|
186
|
+
*/
|
|
187
|
+
export type KvProperties = Message<"common.bindings.v1.KvProperties"> & {
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: string host = 1;
|
|
190
|
+
*/
|
|
191
|
+
host: string;
|
|
192
|
+
/**
|
|
193
|
+
* @generated from field: int32 port = 2;
|
|
194
|
+
*/
|
|
195
|
+
port: number;
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: string username = 3;
|
|
198
|
+
*/
|
|
199
|
+
username: string;
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: string password = 4;
|
|
202
|
+
*/
|
|
203
|
+
password: string;
|
|
204
|
+
/**
|
|
205
|
+
* @generated from field: bool tls = 5;
|
|
206
|
+
*/
|
|
207
|
+
tls: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: string ca_pem = 6;
|
|
210
|
+
*/
|
|
211
|
+
caPem: string;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Describes the message common.bindings.v1.KvProperties.
|
|
215
|
+
* Use `create(KvPropertiesSchema)` to create a new message.
|
|
216
|
+
*/
|
|
217
|
+
export declare const KvPropertiesSchema: GenMessage<KvProperties>;
|
|
218
|
+
/**
|
|
219
|
+
* @generated from message common.bindings.v1.RealtimeProperties
|
|
220
|
+
*/
|
|
221
|
+
export type RealtimeProperties = Message<"common.bindings.v1.RealtimeProperties"> & {
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: common.bindings.v1.RealtimeTransport transport = 1;
|
|
224
|
+
*/
|
|
225
|
+
transport: RealtimeTransport;
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: string url = 2;
|
|
228
|
+
*/
|
|
229
|
+
url: string;
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: string host = 3;
|
|
232
|
+
*/
|
|
233
|
+
host: string;
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: bytes signing_key = 4;
|
|
236
|
+
*/
|
|
237
|
+
signingKey: Uint8Array;
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: bytes verify_key = 5;
|
|
240
|
+
*/
|
|
241
|
+
verifyKey: Uint8Array;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* Describes the message common.bindings.v1.RealtimeProperties.
|
|
245
|
+
* Use `create(RealtimePropertiesSchema)` to create a new message.
|
|
246
|
+
*/
|
|
247
|
+
export declare const RealtimePropertiesSchema: GenMessage<RealtimeProperties>;
|
|
248
|
+
/**
|
|
249
|
+
* @generated from message common.bindings.v1.Grant
|
|
250
|
+
*/
|
|
251
|
+
export type Grant = Message<"common.bindings.v1.Grant"> & {
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: repeated string actions = 1;
|
|
254
|
+
*/
|
|
255
|
+
actions: string[];
|
|
256
|
+
/**
|
|
257
|
+
* @generated from field: repeated string resources = 2;
|
|
258
|
+
*/
|
|
259
|
+
resources: string[];
|
|
260
|
+
/**
|
|
261
|
+
* @generated from field: string label = 3;
|
|
262
|
+
*/
|
|
263
|
+
label: string;
|
|
264
|
+
/**
|
|
265
|
+
* @generated from field: repeated common.bindings.v1.GrantCondition conditions = 4;
|
|
266
|
+
*/
|
|
267
|
+
conditions: GrantCondition[];
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Describes the message common.bindings.v1.Grant.
|
|
271
|
+
* Use `create(GrantSchema)` to create a new message.
|
|
272
|
+
*/
|
|
273
|
+
export declare const GrantSchema: GenMessage<Grant>;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from message common.bindings.v1.GrantCondition
|
|
276
|
+
*/
|
|
277
|
+
export type GrantCondition = Message<"common.bindings.v1.GrantCondition"> & {
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: string operator = 1;
|
|
280
|
+
*/
|
|
281
|
+
operator: string;
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: string key = 2;
|
|
284
|
+
*/
|
|
285
|
+
key: string;
|
|
286
|
+
/**
|
|
287
|
+
* @generated from field: repeated string values = 3;
|
|
288
|
+
*/
|
|
289
|
+
values: string[];
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* Describes the message common.bindings.v1.GrantCondition.
|
|
293
|
+
* Use `create(GrantConditionSchema)` to create a new message.
|
|
294
|
+
*/
|
|
295
|
+
export declare const GrantConditionSchema: GenMessage<GrantCondition>;
|
|
296
|
+
/**
|
|
297
|
+
* @generated from enum common.bindings.v1.BindingType
|
|
298
|
+
*/
|
|
299
|
+
export declare enum BindingType {
|
|
300
|
+
/**
|
|
301
|
+
* @generated from enum value: BINDING_TYPE_UNSPECIFIED = 0;
|
|
302
|
+
*/
|
|
303
|
+
UNSPECIFIED = 0,
|
|
304
|
+
/**
|
|
305
|
+
* @generated from enum value: BINDING_TYPE_POSTGRES = 1;
|
|
306
|
+
*/
|
|
307
|
+
POSTGRES = 1,
|
|
308
|
+
/**
|
|
309
|
+
* @generated from enum value: BINDING_TYPE_BUCKET = 2;
|
|
310
|
+
*/
|
|
311
|
+
BUCKET = 2,
|
|
312
|
+
/**
|
|
313
|
+
* @generated from enum value: BINDING_TYPE_CUSTOM = 3;
|
|
314
|
+
*/
|
|
315
|
+
CUSTOM = 3,
|
|
316
|
+
/**
|
|
317
|
+
* @generated from enum value: BINDING_TYPE_TOPIC = 4;
|
|
318
|
+
*/
|
|
319
|
+
TOPIC = 4,
|
|
320
|
+
/**
|
|
321
|
+
* @generated from enum value: BINDING_TYPE_TASK = 5;
|
|
322
|
+
*/
|
|
323
|
+
TASK = 5,
|
|
324
|
+
/**
|
|
325
|
+
* @generated from enum value: BINDING_TYPE_KV = 6;
|
|
326
|
+
*/
|
|
327
|
+
KV = 6,
|
|
328
|
+
/**
|
|
329
|
+
* @generated from enum value: BINDING_TYPE_REALTIME = 7;
|
|
330
|
+
*/
|
|
331
|
+
REALTIME = 7
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Describes the enum common.bindings.v1.BindingType.
|
|
335
|
+
*/
|
|
336
|
+
export declare const BindingTypeSchema: GenEnum<BindingType>;
|
|
337
|
+
/**
|
|
338
|
+
* @generated from enum common.bindings.v1.PostgresTlsMode
|
|
339
|
+
*/
|
|
340
|
+
export declare enum PostgresTlsMode {
|
|
341
|
+
/**
|
|
342
|
+
* @generated from enum value: POSTGRES_TLS_MODE_UNSPECIFIED = 0;
|
|
343
|
+
*/
|
|
344
|
+
UNSPECIFIED = 0,
|
|
345
|
+
/**
|
|
346
|
+
* @generated from enum value: POSTGRES_TLS_MODE_REQUIRE = 1;
|
|
347
|
+
*/
|
|
348
|
+
REQUIRE = 1,
|
|
349
|
+
/**
|
|
350
|
+
* @generated from enum value: POSTGRES_TLS_MODE_VERIFY_FULL = 2;
|
|
351
|
+
*/
|
|
352
|
+
VERIFY_FULL = 2
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Describes the enum common.bindings.v1.PostgresTlsMode.
|
|
356
|
+
*/
|
|
357
|
+
export declare const PostgresTlsModeSchema: GenEnum<PostgresTlsMode>;
|
|
358
|
+
/**
|
|
359
|
+
* @generated from enum common.bindings.v1.RealtimeTransport
|
|
360
|
+
*/
|
|
361
|
+
export declare enum RealtimeTransport {
|
|
362
|
+
/**
|
|
363
|
+
* @generated from enum value: REALTIME_TRANSPORT_UNSPECIFIED = 0;
|
|
364
|
+
*/
|
|
365
|
+
UNSPECIFIED = 0,
|
|
366
|
+
/**
|
|
367
|
+
* @generated from enum value: REALTIME_TRANSPORT_APPSYNC_EVENTS = 1;
|
|
368
|
+
*/
|
|
369
|
+
APPSYNC_EVENTS = 1,
|
|
370
|
+
/**
|
|
371
|
+
* @generated from enum value: REALTIME_TRANSPORT_OCEL_GATEWAY = 2;
|
|
372
|
+
*/
|
|
373
|
+
OCEL_GATEWAY = 2
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* Describes the enum common.bindings.v1.RealtimeTransport.
|
|
377
|
+
*/
|
|
378
|
+
export declare const RealtimeTransportSchema: GenEnum<RealtimeTransport>;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file common/bindings/v1/bindings.proto (package common.bindings.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file common/bindings/v1/bindings.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_common_bindings_v1_bindings = /*@__PURE__*/ fileDesc("CiFjb21tb24vYmluZGluZ3MvdjEvYmluZGluZ3MucHJvdG8SEmNvbW1vbi5iaW5kaW5ncy52MSLVAwoHQmluZGluZxIMCgRuYW1lGAEgASgJEjoKCHBvc3RncmVzGAIgASgLMiYuY29tbW9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EdSRVNfVExTX01PREVfVkVSSUZZX0ZVTEwQAiqDAQoRUmVhbHRpbWVUcmFuc3BvcnQSIgoeUkVBTFRJTUVfVFJBTlNQT1JUX1VOU1BFQ0lGSUVEEAASJQohUkVBTFRJTUVfVFJBTlNQT1JUX0FQUFNZTkNfRVZFTlRTEAESIwofUkVBTFRJTUVfVFJBTlNQT1JUX09DRUxfR0FURVdBWRACQkBaPmdpdGh1Yi5jb20vb2NlbGhxL29jZWwvcGtnL3Byb3RvL2NvbW1vbi9iaW5kaW5ncy92MTtiaW5kaW5nc3YxYgZwcm90bzM", [file_google_protobuf_struct]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message common.bindings.v1.Binding.
|
|
12
|
+
* Use `create(BindingSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const BindingSchema = /*@__PURE__*/ messageDesc(file_common_bindings_v1_bindings, 0);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message common.bindings.v1.PostgresProperties.
|
|
17
|
+
* Use `create(PostgresPropertiesSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const PostgresPropertiesSchema = /*@__PURE__*/ messageDesc(file_common_bindings_v1_bindings, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message common.bindings.v1.BucketProperties.
|
|
22
|
+
* Use `create(BucketPropertiesSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const BucketPropertiesSchema = /*@__PURE__*/ messageDesc(file_common_bindings_v1_bindings, 2);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message common.bindings.v1.TopicProperties.
|
|
27
|
+
* Use `create(TopicPropertiesSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const TopicPropertiesSchema = /*@__PURE__*/ messageDesc(file_common_bindings_v1_bindings, 3);
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message common.bindings.v1.TaskProperties.
|
|
32
|
+
* Use `create(TaskPropertiesSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const TaskPropertiesSchema = /*@__PURE__*/ messageDesc(file_common_bindings_v1_bindings, 4);
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message common.bindings.v1.KvProperties.
|
|
37
|
+
* Use `create(KvPropertiesSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const KvPropertiesSchema = /*@__PURE__*/ messageDesc(file_common_bindings_v1_bindings, 5);
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message common.bindings.v1.RealtimeProperties.
|
|
42
|
+
* Use `create(RealtimePropertiesSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const RealtimePropertiesSchema = /*@__PURE__*/ messageDesc(file_common_bindings_v1_bindings, 6);
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message common.bindings.v1.Grant.
|
|
47
|
+
* Use `create(GrantSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const GrantSchema = /*@__PURE__*/ messageDesc(file_common_bindings_v1_bindings, 7);
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message common.bindings.v1.GrantCondition.
|
|
52
|
+
* Use `create(GrantConditionSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const GrantConditionSchema = /*@__PURE__*/ messageDesc(file_common_bindings_v1_bindings, 8);
|
|
55
|
+
/**
|
|
56
|
+
* @generated from enum common.bindings.v1.BindingType
|
|
57
|
+
*/
|
|
58
|
+
export var BindingType;
|
|
59
|
+
(function (BindingType) {
|
|
60
|
+
/**
|
|
61
|
+
* @generated from enum value: BINDING_TYPE_UNSPECIFIED = 0;
|
|
62
|
+
*/
|
|
63
|
+
BindingType[BindingType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
64
|
+
/**
|
|
65
|
+
* @generated from enum value: BINDING_TYPE_POSTGRES = 1;
|
|
66
|
+
*/
|
|
67
|
+
BindingType[BindingType["POSTGRES"] = 1] = "POSTGRES";
|
|
68
|
+
/**
|
|
69
|
+
* @generated from enum value: BINDING_TYPE_BUCKET = 2;
|
|
70
|
+
*/
|
|
71
|
+
BindingType[BindingType["BUCKET"] = 2] = "BUCKET";
|
|
72
|
+
/**
|
|
73
|
+
* @generated from enum value: BINDING_TYPE_CUSTOM = 3;
|
|
74
|
+
*/
|
|
75
|
+
BindingType[BindingType["CUSTOM"] = 3] = "CUSTOM";
|
|
76
|
+
/**
|
|
77
|
+
* @generated from enum value: BINDING_TYPE_TOPIC = 4;
|
|
78
|
+
*/
|
|
79
|
+
BindingType[BindingType["TOPIC"] = 4] = "TOPIC";
|
|
80
|
+
/**
|
|
81
|
+
* @generated from enum value: BINDING_TYPE_TASK = 5;
|
|
82
|
+
*/
|
|
83
|
+
BindingType[BindingType["TASK"] = 5] = "TASK";
|
|
84
|
+
/**
|
|
85
|
+
* @generated from enum value: BINDING_TYPE_KV = 6;
|
|
86
|
+
*/
|
|
87
|
+
BindingType[BindingType["KV"] = 6] = "KV";
|
|
88
|
+
/**
|
|
89
|
+
* @generated from enum value: BINDING_TYPE_REALTIME = 7;
|
|
90
|
+
*/
|
|
91
|
+
BindingType[BindingType["REALTIME"] = 7] = "REALTIME";
|
|
92
|
+
})(BindingType || (BindingType = {}));
|
|
93
|
+
/**
|
|
94
|
+
* Describes the enum common.bindings.v1.BindingType.
|
|
95
|
+
*/
|
|
96
|
+
export const BindingTypeSchema = /*@__PURE__*/ enumDesc(file_common_bindings_v1_bindings, 0);
|
|
97
|
+
/**
|
|
98
|
+
* @generated from enum common.bindings.v1.PostgresTlsMode
|
|
99
|
+
*/
|
|
100
|
+
export var PostgresTlsMode;
|
|
101
|
+
(function (PostgresTlsMode) {
|
|
102
|
+
/**
|
|
103
|
+
* @generated from enum value: POSTGRES_TLS_MODE_UNSPECIFIED = 0;
|
|
104
|
+
*/
|
|
105
|
+
PostgresTlsMode[PostgresTlsMode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum value: POSTGRES_TLS_MODE_REQUIRE = 1;
|
|
108
|
+
*/
|
|
109
|
+
PostgresTlsMode[PostgresTlsMode["REQUIRE"] = 1] = "REQUIRE";
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: POSTGRES_TLS_MODE_VERIFY_FULL = 2;
|
|
112
|
+
*/
|
|
113
|
+
PostgresTlsMode[PostgresTlsMode["VERIFY_FULL"] = 2] = "VERIFY_FULL";
|
|
114
|
+
})(PostgresTlsMode || (PostgresTlsMode = {}));
|
|
115
|
+
/**
|
|
116
|
+
* Describes the enum common.bindings.v1.PostgresTlsMode.
|
|
117
|
+
*/
|
|
118
|
+
export const PostgresTlsModeSchema = /*@__PURE__*/ enumDesc(file_common_bindings_v1_bindings, 1);
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum common.bindings.v1.RealtimeTransport
|
|
121
|
+
*/
|
|
122
|
+
export var RealtimeTransport;
|
|
123
|
+
(function (RealtimeTransport) {
|
|
124
|
+
/**
|
|
125
|
+
* @generated from enum value: REALTIME_TRANSPORT_UNSPECIFIED = 0;
|
|
126
|
+
*/
|
|
127
|
+
RealtimeTransport[RealtimeTransport["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
128
|
+
/**
|
|
129
|
+
* @generated from enum value: REALTIME_TRANSPORT_APPSYNC_EVENTS = 1;
|
|
130
|
+
*/
|
|
131
|
+
RealtimeTransport[RealtimeTransport["APPSYNC_EVENTS"] = 1] = "APPSYNC_EVENTS";
|
|
132
|
+
/**
|
|
133
|
+
* @generated from enum value: REALTIME_TRANSPORT_OCEL_GATEWAY = 2;
|
|
134
|
+
*/
|
|
135
|
+
RealtimeTransport[RealtimeTransport["OCEL_GATEWAY"] = 2] = "OCEL_GATEWAY";
|
|
136
|
+
})(RealtimeTransport || (RealtimeTransport = {}));
|
|
137
|
+
/**
|
|
138
|
+
* Describes the enum common.bindings.v1.RealtimeTransport.
|
|
139
|
+
*/
|
|
140
|
+
export const RealtimeTransportSchema = /*@__PURE__*/ enumDesc(file_common_bindings_v1_bindings, 2);
|