@ironflow/core 0.1.0-test.2 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/README.md +7 -3
  2. package/dist/config-types.d.ts +52 -0
  3. package/dist/config-types.d.ts.map +1 -0
  4. package/dist/config-types.js +9 -0
  5. package/dist/config-types.js.map +1 -0
  6. package/dist/constants.d.ts +7 -0
  7. package/dist/constants.d.ts.map +1 -1
  8. package/dist/constants.js +7 -0
  9. package/dist/constants.js.map +1 -1
  10. package/dist/errors.d.ts +7 -0
  11. package/dist/errors.d.ts.map +1 -1
  12. package/dist/errors.js +18 -0
  13. package/dist/errors.js.map +1 -1
  14. package/dist/event-definition.d.ts +21 -0
  15. package/dist/event-definition.d.ts.map +1 -0
  16. package/dist/event-definition.js +39 -0
  17. package/dist/event-definition.js.map +1 -0
  18. package/dist/gen/ironflow/v1/entity_stream_pb.d.ts +283 -0
  19. package/dist/gen/ironflow/v1/entity_stream_pb.d.ts.map +1 -0
  20. package/dist/gen/ironflow/v1/entity_stream_pb.js +59 -0
  21. package/dist/gen/ironflow/v1/entity_stream_pb.js.map +1 -0
  22. package/dist/gen/ironflow/v1/environment_pb.d.ts +226 -0
  23. package/dist/gen/ironflow/v1/environment_pb.d.ts.map +1 -0
  24. package/dist/gen/ironflow/v1/environment_pb.js +59 -0
  25. package/dist/gen/ironflow/v1/environment_pb.js.map +1 -0
  26. package/dist/gen/ironflow/v1/event_schema_pb.d.ts +308 -0
  27. package/dist/gen/ironflow/v1/event_schema_pb.d.ts.map +1 -0
  28. package/dist/gen/ironflow/v1/event_schema_pb.js +74 -0
  29. package/dist/gen/ironflow/v1/event_schema_pb.js.map +1 -0
  30. package/dist/gen/ironflow/v1/index.d.ts +5 -4
  31. package/dist/gen/ironflow/v1/index.d.ts.map +1 -1
  32. package/dist/gen/ironflow/v1/index.js +6 -6
  33. package/dist/gen/ironflow/v1/index.js.map +1 -1
  34. package/dist/gen/ironflow/v1/ironflow_pb.d.ts +7 -1
  35. package/dist/gen/ironflow/v1/ironflow_pb.d.ts.map +1 -1
  36. package/dist/gen/ironflow/v1/ironflow_pb.js +3 -3
  37. package/dist/gen/ironflow/v1/ironflow_pb.js.map +1 -1
  38. package/dist/gen/ironflow/v1/projection_pb.d.ts +889 -0
  39. package/dist/gen/ironflow/v1/projection_pb.d.ts.map +1 -0
  40. package/dist/gen/ironflow/v1/projection_pb.js +179 -0
  41. package/dist/gen/ironflow/v1/projection_pb.js.map +1 -0
  42. package/dist/gen/ironflow/v1/pubsub_pb.d.ts +7 -1
  43. package/dist/gen/ironflow/v1/pubsub_pb.d.ts.map +1 -1
  44. package/dist/gen/ironflow/v1/pubsub_pb.js +3 -3
  45. package/dist/gen/ironflow/v1/pubsub_pb.js.map +1 -1
  46. package/dist/gen/ironflow/v1/query_pb.d.ts +82 -0
  47. package/dist/gen/ironflow/v1/query_pb.d.ts.map +1 -0
  48. package/dist/gen/ironflow/v1/query_pb.js +28 -0
  49. package/dist/gen/ironflow/v1/query_pb.js.map +1 -0
  50. package/dist/gen/ironflow/v1/types_pb.d.ts +21 -1
  51. package/dist/gen/ironflow/v1/types_pb.d.ts.map +1 -1
  52. package/dist/gen/ironflow/v1/types_pb.js +3 -3
  53. package/dist/gen/ironflow/v1/types_pb.js.map +1 -1
  54. package/dist/gen/ironflow/v1/worker_pb.d.ts +1 -1
  55. package/dist/gen/ironflow/v1/worker_pb.js +2 -2
  56. package/dist/index.d.ts +9 -6
  57. package/dist/index.d.ts.map +1 -1
  58. package/dist/index.js +12 -7
  59. package/dist/index.js.map +1 -1
  60. package/dist/kv-types.d.ts +124 -0
  61. package/dist/kv-types.d.ts.map +1 -0
  62. package/dist/kv-types.js +7 -0
  63. package/dist/kv-types.js.map +1 -0
  64. package/dist/projection-types.d.ts +91 -0
  65. package/dist/projection-types.d.ts.map +1 -0
  66. package/dist/projection-types.js +3 -0
  67. package/dist/projection-types.js.map +1 -0
  68. package/dist/protocol.d.ts +1 -0
  69. package/dist/protocol.d.ts.map +1 -1
  70. package/dist/protocol.js.map +1 -1
  71. package/dist/schemas.d.ts +9 -5
  72. package/dist/schemas.d.ts.map +1 -1
  73. package/dist/schemas.js +2 -0
  74. package/dist/schemas.js.map +1 -1
  75. package/dist/types.d.ts +112 -0
  76. package/dist/types.d.ts.map +1 -1
  77. package/dist/types.js +14 -0
  78. package/dist/types.js.map +1 -1
  79. package/dist/upcaster.d.ts +21 -0
  80. package/dist/upcaster.d.ts.map +1 -0
  81. package/dist/upcaster.js +51 -0
  82. package/dist/upcaster.js.map +1 -0
  83. package/package.json +23 -17
  84. package/dist/gen/ironflow/v1/ironflow_connect.d.ts +0 -209
  85. package/dist/gen/ironflow/v1/ironflow_connect.d.ts.map +0 -1
  86. package/dist/gen/ironflow/v1/ironflow_connect.js +0 -216
  87. package/dist/gen/ironflow/v1/ironflow_connect.js.map +0 -1
  88. package/dist/gen/ironflow/v1/pubsub_connect.d.ts +0 -104
  89. package/dist/gen/ironflow/v1/pubsub_connect.d.ts.map +0 -1
  90. package/dist/gen/ironflow/v1/pubsub_connect.js +0 -110
  91. package/dist/gen/ironflow/v1/pubsub_connect.js.map +0 -1
  92. package/dist/gen/ironflow/v1/worker_connect.d.ts +0 -20
  93. package/dist/gen/ironflow/v1/worker_connect.d.ts.map +0 -1
  94. package/dist/gen/ironflow/v1/worker_connect.js +0 -26
  95. package/dist/gen/ironflow/v1/worker_connect.js.map +0 -1
@@ -0,0 +1,59 @@
1
+ // @generated by protoc-gen-es v2.2.3 with parameter "target=ts,import_extension=.js"
2
+ // @generated from file ironflow/v1/entity_stream.proto (package ironflow.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
+ /**
7
+ * Describes the file ironflow/v1/entity_stream.proto.
8
+ */
9
+ export const file_ironflow_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ironflow.v1.AppendEventRequest.
12
+ * Use `create(AppendEventRequestSchema)` to create a new message.
13
+ */
14
+ export const AppendEventRequestSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_entity_stream, 0);
15
+ /**
16
+ * Describes the message ironflow.v1.AppendEventResponse.
17
+ * Use `create(AppendEventResponseSchema)` to create a new message.
18
+ */
19
+ export const AppendEventResponseSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_entity_stream, 1);
20
+ /**
21
+ * Describes the message ironflow.v1.ReadStreamRequest.
22
+ * Use `create(ReadStreamRequestSchema)` to create a new message.
23
+ */
24
+ export const ReadStreamRequestSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_entity_stream, 2);
25
+ /**
26
+ * Describes the message ironflow.v1.ReadStreamResponse.
27
+ * Use `create(ReadStreamResponseSchema)` to create a new message.
28
+ */
29
+ export const ReadStreamResponseSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_entity_stream, 3);
30
+ /**
31
+ * Describes the message ironflow.v1.StreamEvent.
32
+ * Use `create(StreamEventSchema)` to create a new message.
33
+ */
34
+ export const StreamEventSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_entity_stream, 4);
35
+ /**
36
+ * Describes the message ironflow.v1.GetStreamInfoRequest.
37
+ * Use `create(GetStreamInfoRequestSchema)` to create a new message.
38
+ */
39
+ export const GetStreamInfoRequestSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_entity_stream, 5);
40
+ /**
41
+ * Describes the message ironflow.v1.GetStreamInfoResponse.
42
+ * Use `create(GetStreamInfoResponseSchema)` to create a new message.
43
+ */
44
+ export const GetStreamInfoResponseSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_entity_stream, 6);
45
+ /**
46
+ * Describes the message ironflow.v1.ListStreamsRequest.
47
+ * Use `create(ListStreamsRequestSchema)` to create a new message.
48
+ */
49
+ export const ListStreamsRequestSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_entity_stream, 7);
50
+ /**
51
+ * Describes the message ironflow.v1.ListStreamsResponse.
52
+ * Use `create(ListStreamsResponseSchema)` to create a new message.
53
+ */
54
+ export const ListStreamsResponseSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_entity_stream, 8);
55
+ /**
56
+ * @generated from service ironflow.v1.EntityStreamService
57
+ */
58
+ export const EntityStreamService = /*@__PURE__*/ serviceDesc(file_ironflow_v1_entity_stream, 0);
59
+ //# sourceMappingURL=entity_stream_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity_stream_pb.js","sourceRoot":"","sources":["../../../../src/gen/ironflow/v1/entity_stream_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,4FAA4F;AAC5F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAElF,OAAO,EAAE,2BAA2B,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGrG;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAY,aAAa,CAClE,QAAQ,CAAC,ihEAAihE,EAAE,CAAC,2BAA2B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AA8C7lE;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAiBjD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AA6BjD;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAiBjD;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AA+CjD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAYjD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAqCjD;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAwBjD;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAiBjD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAEjD;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAiC3B,aAAa,CAChB,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,226 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file ironflow/v1/environment.proto.
6
+ */
7
+ export declare const file_ironflow_v1_environment: GenFile;
8
+ /**
9
+ * @generated from message ironflow.v1.EnvironmentInfo
10
+ */
11
+ export type EnvironmentInfo = Message<"ironflow.v1.EnvironmentInfo"> & {
12
+ /**
13
+ * Environment ID
14
+ *
15
+ * @generated from field: string id = 1;
16
+ */
17
+ id: string;
18
+ /**
19
+ * Human-readable name
20
+ *
21
+ * @generated from field: string name = 2;
22
+ */
23
+ name: string;
24
+ /**
25
+ * API key for this environment
26
+ *
27
+ * @generated from field: string api_key = 3;
28
+ */
29
+ apiKey: string;
30
+ /**
31
+ * Creation timestamp
32
+ *
33
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
34
+ */
35
+ createdAt?: Timestamp;
36
+ /**
37
+ * Last update timestamp
38
+ *
39
+ * @generated from field: google.protobuf.Timestamp updated_at = 5;
40
+ */
41
+ updatedAt?: Timestamp;
42
+ };
43
+ /**
44
+ * Describes the message ironflow.v1.EnvironmentInfo.
45
+ * Use `create(EnvironmentInfoSchema)` to create a new message.
46
+ */
47
+ export declare const EnvironmentInfoSchema: GenMessage<EnvironmentInfo>;
48
+ /**
49
+ * @generated from message ironflow.v1.CreateEnvironmentRequest
50
+ */
51
+ export type CreateEnvironmentRequest = Message<"ironflow.v1.CreateEnvironmentRequest"> & {
52
+ /**
53
+ * Human-readable name for the environment
54
+ *
55
+ * @generated from field: string name = 1;
56
+ */
57
+ name: string;
58
+ };
59
+ /**
60
+ * Describes the message ironflow.v1.CreateEnvironmentRequest.
61
+ * Use `create(CreateEnvironmentRequestSchema)` to create a new message.
62
+ */
63
+ export declare const CreateEnvironmentRequestSchema: GenMessage<CreateEnvironmentRequest>;
64
+ /**
65
+ * @generated from message ironflow.v1.GetEnvironmentRequest
66
+ */
67
+ export type GetEnvironmentRequest = Message<"ironflow.v1.GetEnvironmentRequest"> & {
68
+ /**
69
+ * Environment ID
70
+ *
71
+ * @generated from field: string id = 1;
72
+ */
73
+ id: string;
74
+ };
75
+ /**
76
+ * Describes the message ironflow.v1.GetEnvironmentRequest.
77
+ * Use `create(GetEnvironmentRequestSchema)` to create a new message.
78
+ */
79
+ export declare const GetEnvironmentRequestSchema: GenMessage<GetEnvironmentRequest>;
80
+ /**
81
+ * @generated from message ironflow.v1.ListEnvironmentsRequest
82
+ */
83
+ export type ListEnvironmentsRequest = Message<"ironflow.v1.ListEnvironmentsRequest"> & {};
84
+ /**
85
+ * Describes the message ironflow.v1.ListEnvironmentsRequest.
86
+ * Use `create(ListEnvironmentsRequestSchema)` to create a new message.
87
+ */
88
+ export declare const ListEnvironmentsRequestSchema: GenMessage<ListEnvironmentsRequest>;
89
+ /**
90
+ * @generated from message ironflow.v1.ListEnvironmentsResponse
91
+ */
92
+ export type ListEnvironmentsResponse = Message<"ironflow.v1.ListEnvironmentsResponse"> & {
93
+ /**
94
+ * All environments
95
+ *
96
+ * @generated from field: repeated ironflow.v1.EnvironmentInfo environments = 1;
97
+ */
98
+ environments: EnvironmentInfo[];
99
+ };
100
+ /**
101
+ * Describes the message ironflow.v1.ListEnvironmentsResponse.
102
+ * Use `create(ListEnvironmentsResponseSchema)` to create a new message.
103
+ */
104
+ export declare const ListEnvironmentsResponseSchema: GenMessage<ListEnvironmentsResponse>;
105
+ /**
106
+ * @generated from message ironflow.v1.DeleteEnvironmentRequest
107
+ */
108
+ export type DeleteEnvironmentRequest = Message<"ironflow.v1.DeleteEnvironmentRequest"> & {
109
+ /**
110
+ * Environment ID
111
+ *
112
+ * @generated from field: string id = 1;
113
+ */
114
+ id: string;
115
+ };
116
+ /**
117
+ * Describes the message ironflow.v1.DeleteEnvironmentRequest.
118
+ * Use `create(DeleteEnvironmentRequestSchema)` to create a new message.
119
+ */
120
+ export declare const DeleteEnvironmentRequestSchema: GenMessage<DeleteEnvironmentRequest>;
121
+ /**
122
+ * @generated from message ironflow.v1.DeleteEnvironmentResponse
123
+ */
124
+ export type DeleteEnvironmentResponse = Message<"ironflow.v1.DeleteEnvironmentResponse"> & {
125
+ /**
126
+ * Whether the deletion was successful
127
+ *
128
+ * @generated from field: bool success = 1;
129
+ */
130
+ success: boolean;
131
+ };
132
+ /**
133
+ * Describes the message ironflow.v1.DeleteEnvironmentResponse.
134
+ * Use `create(DeleteEnvironmentResponseSchema)` to create a new message.
135
+ */
136
+ export declare const DeleteEnvironmentResponseSchema: GenMessage<DeleteEnvironmentResponse>;
137
+ /**
138
+ * @generated from message ironflow.v1.RotateAPIKeyRequest
139
+ */
140
+ export type RotateAPIKeyRequest = Message<"ironflow.v1.RotateAPIKeyRequest"> & {
141
+ /**
142
+ * Environment ID
143
+ *
144
+ * @generated from field: string id = 1;
145
+ */
146
+ id: string;
147
+ };
148
+ /**
149
+ * Describes the message ironflow.v1.RotateAPIKeyRequest.
150
+ * Use `create(RotateAPIKeyRequestSchema)` to create a new message.
151
+ */
152
+ export declare const RotateAPIKeyRequestSchema: GenMessage<RotateAPIKeyRequest>;
153
+ /**
154
+ * @generated from message ironflow.v1.RotateAPIKeyResponse
155
+ */
156
+ export type RotateAPIKeyResponse = Message<"ironflow.v1.RotateAPIKeyResponse"> & {
157
+ /**
158
+ * Environment ID
159
+ *
160
+ * @generated from field: string id = 1;
161
+ */
162
+ id: string;
163
+ /**
164
+ * Environment name
165
+ *
166
+ * @generated from field: string name = 2;
167
+ */
168
+ name: string;
169
+ /**
170
+ * Newly generated API key
171
+ *
172
+ * @generated from field: string api_key = 3;
173
+ */
174
+ apiKey: string;
175
+ };
176
+ /**
177
+ * Describes the message ironflow.v1.RotateAPIKeyResponse.
178
+ * Use `create(RotateAPIKeyResponseSchema)` to create a new message.
179
+ */
180
+ export declare const RotateAPIKeyResponseSchema: GenMessage<RotateAPIKeyResponse>;
181
+ /**
182
+ * @generated from service ironflow.v1.EnvironmentService
183
+ */
184
+ export declare const EnvironmentService: GenService<{
185
+ /**
186
+ * @generated from rpc ironflow.v1.EnvironmentService.CreateEnvironment
187
+ */
188
+ createEnvironment: {
189
+ methodKind: "unary";
190
+ input: typeof CreateEnvironmentRequestSchema;
191
+ output: typeof EnvironmentInfoSchema;
192
+ };
193
+ /**
194
+ * @generated from rpc ironflow.v1.EnvironmentService.GetEnvironment
195
+ */
196
+ getEnvironment: {
197
+ methodKind: "unary";
198
+ input: typeof GetEnvironmentRequestSchema;
199
+ output: typeof EnvironmentInfoSchema;
200
+ };
201
+ /**
202
+ * @generated from rpc ironflow.v1.EnvironmentService.ListEnvironments
203
+ */
204
+ listEnvironments: {
205
+ methodKind: "unary";
206
+ input: typeof ListEnvironmentsRequestSchema;
207
+ output: typeof ListEnvironmentsResponseSchema;
208
+ };
209
+ /**
210
+ * @generated from rpc ironflow.v1.EnvironmentService.DeleteEnvironment
211
+ */
212
+ deleteEnvironment: {
213
+ methodKind: "unary";
214
+ input: typeof DeleteEnvironmentRequestSchema;
215
+ output: typeof DeleteEnvironmentResponseSchema;
216
+ };
217
+ /**
218
+ * @generated from rpc ironflow.v1.EnvironmentService.RotateAPIKey
219
+ */
220
+ rotateAPIKey: {
221
+ methodKind: "unary";
222
+ input: typeof RotateAPIKeyRequestSchema;
223
+ output: typeof RotateAPIKeyResponseSchema;
224
+ };
225
+ }>;
226
+ //# sourceMappingURL=environment_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environment_pb.d.ts","sourceRoot":"","sources":["../../../../src/gen/ironflow/v1/environment_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,OACg+C,CAAC;AAE5gD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,6BAA6B,CAAC,GAAG;IACrE;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAAe,CAChB,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,sCAAsC,CAAC,GAAG;IACvF;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,UA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target=ts,import_extension=.js"
2
+ // @generated from file ironflow/v1/environment.proto (package ironflow.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
+ /**
7
+ * Describes the file ironflow/v1/environment.proto.
8
+ */
9
+ export const file_ironflow_v1_environment = /*@__PURE__*/ fileDesc("Ch1pcm9uZmxvdy92MS9lbnZpcm9ubWVudC5wcm90bxILaXJvbmZsb3cudjEinAEKD0Vudmlyb25tZW50SW5mbxIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEg8KB2FwaV9rZXkYAyABKAkSLgoKY3JlYXRlZF9hdBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiKAoYQ3JlYXRlRW52aXJvbm1lbnRSZXF1ZXN0EgwKBG5hbWUYASABKAkiIwoVR2V0RW52aXJvbm1lbnRSZXF1ZXN0EgoKAmlkGAEgASgJIhkKF0xpc3RFbnZpcm9ubWVudHNSZXF1ZXN0Ik4KGExpc3RFbnZpcm9ubWVudHNSZXNwb25zZRIyCgxlbnZpcm9ubWVudHMYASADKAsyHC5pcm9uZmxvdy52MS5FbnZpcm9ubWVudEluZm8iJgoYRGVsZXRlRW52aXJvbm1lbnRSZXF1ZXN0EgoKAmlkGAEgASgJIiwKGURlbGV0ZUVudmlyb25tZW50UmVzcG9uc2USDwoHc3VjY2VzcxgBIAEoCCIhChNSb3RhdGVBUElLZXlSZXF1ZXN0EgoKAmlkGAEgASgJIkEKFFJvdGF0ZUFQSUtleVJlc3BvbnNlEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSDwoHYXBpX2tleRgDIAEoCTLcAwoSRW52aXJvbm1lbnRTZXJ2aWNlElgKEUNyZWF0ZUVudmlyb25tZW50EiUuaXJvbmZsb3cudjEuQ3JlYXRlRW52aXJvbm1lbnRSZXF1ZXN0GhwuaXJvbmZsb3cudjEuRW52aXJvbm1lbnRJbmZvElIKDkdldEVudmlyb25tZW50EiIuaXJvbmZsb3cudjEuR2V0RW52aXJvbm1lbnRSZXF1ZXN0GhwuaXJvbmZsb3cudjEuRW52aXJvbm1lbnRJbmZvEl8KEExpc3RFbnZpcm9ubWVudHMSJC5pcm9uZmxvdy52MS5MaXN0RW52aXJvbm1lbnRzUmVxdWVzdBolLmlyb25mbG93LnYxLkxpc3RFbnZpcm9ubWVudHNSZXNwb25zZRJiChFEZWxldGVFbnZpcm9ubWVudBIlLmlyb25mbG93LnYxLkRlbGV0ZUVudmlyb25tZW50UmVxdWVzdBomLmlyb25mbG93LnYxLkRlbGV0ZUVudmlyb25tZW50UmVzcG9uc2USUwoMUm90YXRlQVBJS2V5EiAuaXJvbmZsb3cudjEuUm90YXRlQVBJS2V5UmVxdWVzdBohLmlyb25mbG93LnYxLlJvdGF0ZUFQSUtleVJlc3BvbnNlQjpaOGdpdGh1Yi5jb20vc2FoaW5hL2lyb25mbG93L2dlbi9nby9pcm9uZmxvdy92MTtpcm9uZmxvd3YxYgZwcm90bzM", [file_google_protobuf_timestamp]);
10
+ /**
11
+ * Describes the message ironflow.v1.EnvironmentInfo.
12
+ * Use `create(EnvironmentInfoSchema)` to create a new message.
13
+ */
14
+ export const EnvironmentInfoSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_environment, 0);
15
+ /**
16
+ * Describes the message ironflow.v1.CreateEnvironmentRequest.
17
+ * Use `create(CreateEnvironmentRequestSchema)` to create a new message.
18
+ */
19
+ export const CreateEnvironmentRequestSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_environment, 1);
20
+ /**
21
+ * Describes the message ironflow.v1.GetEnvironmentRequest.
22
+ * Use `create(GetEnvironmentRequestSchema)` to create a new message.
23
+ */
24
+ export const GetEnvironmentRequestSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_environment, 2);
25
+ /**
26
+ * Describes the message ironflow.v1.ListEnvironmentsRequest.
27
+ * Use `create(ListEnvironmentsRequestSchema)` to create a new message.
28
+ */
29
+ export const ListEnvironmentsRequestSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_environment, 3);
30
+ /**
31
+ * Describes the message ironflow.v1.ListEnvironmentsResponse.
32
+ * Use `create(ListEnvironmentsResponseSchema)` to create a new message.
33
+ */
34
+ export const ListEnvironmentsResponseSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_environment, 4);
35
+ /**
36
+ * Describes the message ironflow.v1.DeleteEnvironmentRequest.
37
+ * Use `create(DeleteEnvironmentRequestSchema)` to create a new message.
38
+ */
39
+ export const DeleteEnvironmentRequestSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_environment, 5);
40
+ /**
41
+ * Describes the message ironflow.v1.DeleteEnvironmentResponse.
42
+ * Use `create(DeleteEnvironmentResponseSchema)` to create a new message.
43
+ */
44
+ export const DeleteEnvironmentResponseSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_environment, 6);
45
+ /**
46
+ * Describes the message ironflow.v1.RotateAPIKeyRequest.
47
+ * Use `create(RotateAPIKeyRequestSchema)` to create a new message.
48
+ */
49
+ export const RotateAPIKeyRequestSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_environment, 7);
50
+ /**
51
+ * Describes the message ironflow.v1.RotateAPIKeyResponse.
52
+ * Use `create(RotateAPIKeyResponseSchema)` to create a new message.
53
+ */
54
+ export const RotateAPIKeyResponseSchema = /*@__PURE__*/ messageDesc(file_ironflow_v1_environment, 8);
55
+ /**
56
+ * @generated from service ironflow.v1.EnvironmentService
57
+ */
58
+ export const EnvironmentService = /*@__PURE__*/ serviceDesc(file_ironflow_v1_environment, 0);
59
+ //# sourceMappingURL=environment_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environment_pb.js","sourceRoot":"","sources":["../../../../src/gen/ironflow/v1/environment_pb.ts"],"names":[],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C,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC;AAE/C;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAyC1B,aAAa,CAChB,WAAW,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,308 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file ironflow/v1/event_schema.proto.
6
+ */
7
+ export declare const file_ironflow_v1_event_schema: GenFile;
8
+ /**
9
+ * @generated from message ironflow.v1.RegisterSchemaRequest
10
+ */
11
+ export type RegisterSchemaRequest = Message<"ironflow.v1.RegisterSchemaRequest"> & {
12
+ /**
13
+ * @generated from field: string event_name = 1;
14
+ */
15
+ eventName: string;
16
+ /**
17
+ * @generated from field: int32 version = 2;
18
+ */
19
+ version: number;
20
+ /**
21
+ * JSON Schema as string
22
+ *
23
+ * @generated from field: string schema_json = 3;
24
+ */
25
+ schemaJson: string;
26
+ /**
27
+ * @generated from field: string description = 4;
28
+ */
29
+ description: string;
30
+ };
31
+ /**
32
+ * Describes the message ironflow.v1.RegisterSchemaRequest.
33
+ * Use `create(RegisterSchemaRequestSchema)` to create a new message.
34
+ */
35
+ export declare const RegisterSchemaRequestSchema: GenMessage<RegisterSchemaRequest>;
36
+ /**
37
+ * @generated from message ironflow.v1.RegisterSchemaResponse
38
+ */
39
+ export type RegisterSchemaResponse = Message<"ironflow.v1.RegisterSchemaResponse"> & {
40
+ /**
41
+ * "created" or "updated"
42
+ *
43
+ * @generated from field: string status = 1;
44
+ */
45
+ status: string;
46
+ };
47
+ /**
48
+ * Describes the message ironflow.v1.RegisterSchemaResponse.
49
+ * Use `create(RegisterSchemaResponseSchema)` to create a new message.
50
+ */
51
+ export declare const RegisterSchemaResponseSchema: GenMessage<RegisterSchemaResponse>;
52
+ /**
53
+ * @generated from message ironflow.v1.GetSchemaRequest
54
+ */
55
+ export type GetSchemaRequest = Message<"ironflow.v1.GetSchemaRequest"> & {
56
+ /**
57
+ * @generated from field: string event_name = 1;
58
+ */
59
+ eventName: string;
60
+ /**
61
+ * 0 = latest
62
+ *
63
+ * @generated from field: int32 version = 2;
64
+ */
65
+ version: number;
66
+ };
67
+ /**
68
+ * Describes the message ironflow.v1.GetSchemaRequest.
69
+ * Use `create(GetSchemaRequestSchema)` to create a new message.
70
+ */
71
+ export declare const GetSchemaRequestSchema: GenMessage<GetSchemaRequest>;
72
+ /**
73
+ * @generated from message ironflow.v1.GetSchemaResponse
74
+ */
75
+ export type GetSchemaResponse = Message<"ironflow.v1.GetSchemaResponse"> & {
76
+ /**
77
+ * @generated from field: string event_name = 1;
78
+ */
79
+ eventName: string;
80
+ /**
81
+ * @generated from field: int32 version = 2;
82
+ */
83
+ version: number;
84
+ /**
85
+ * @generated from field: string schema_json = 3;
86
+ */
87
+ schemaJson: string;
88
+ /**
89
+ * @generated from field: string description = 4;
90
+ */
91
+ description: string;
92
+ /**
93
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
94
+ */
95
+ createdAt?: Timestamp;
96
+ };
97
+ /**
98
+ * Describes the message ironflow.v1.GetSchemaResponse.
99
+ * Use `create(GetSchemaResponseSchema)` to create a new message.
100
+ */
101
+ export declare const GetSchemaResponseSchema: GenMessage<GetSchemaResponse>;
102
+ /**
103
+ * @generated from message ironflow.v1.ListSchemasRequest
104
+ */
105
+ export type ListSchemasRequest = Message<"ironflow.v1.ListSchemasRequest"> & {
106
+ /**
107
+ * optional filter
108
+ *
109
+ * @generated from field: string event_name = 1;
110
+ */
111
+ eventName: string;
112
+ /**
113
+ * @generated from field: int32 limit = 2;
114
+ */
115
+ limit: number;
116
+ /**
117
+ * @generated from field: int32 offset = 3;
118
+ */
119
+ offset: number;
120
+ };
121
+ /**
122
+ * Describes the message ironflow.v1.ListSchemasRequest.
123
+ * Use `create(ListSchemasRequestSchema)` to create a new message.
124
+ */
125
+ export declare const ListSchemasRequestSchema: GenMessage<ListSchemasRequest>;
126
+ /**
127
+ * @generated from message ironflow.v1.ListSchemasResponse
128
+ */
129
+ export type ListSchemasResponse = Message<"ironflow.v1.ListSchemasResponse"> & {
130
+ /**
131
+ * @generated from field: repeated ironflow.v1.SchemaInfo schemas = 1;
132
+ */
133
+ schemas: SchemaInfo[];
134
+ /**
135
+ * @generated from field: int32 total_count = 2;
136
+ */
137
+ totalCount: number;
138
+ };
139
+ /**
140
+ * Describes the message ironflow.v1.ListSchemasResponse.
141
+ * Use `create(ListSchemasResponseSchema)` to create a new message.
142
+ */
143
+ export declare const ListSchemasResponseSchema: GenMessage<ListSchemasResponse>;
144
+ /**
145
+ * @generated from message ironflow.v1.SchemaInfo
146
+ */
147
+ export type SchemaInfo = Message<"ironflow.v1.SchemaInfo"> & {
148
+ /**
149
+ * @generated from field: string event_name = 1;
150
+ */
151
+ eventName: string;
152
+ /**
153
+ * @generated from field: int32 version = 2;
154
+ */
155
+ version: number;
156
+ /**
157
+ * @generated from field: string description = 3;
158
+ */
159
+ description: string;
160
+ /**
161
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
162
+ */
163
+ createdAt?: Timestamp;
164
+ };
165
+ /**
166
+ * Describes the message ironflow.v1.SchemaInfo.
167
+ * Use `create(SchemaInfoSchema)` to create a new message.
168
+ */
169
+ export declare const SchemaInfoSchema: GenMessage<SchemaInfo>;
170
+ /**
171
+ * @generated from message ironflow.v1.DeleteSchemaRequest
172
+ */
173
+ export type DeleteSchemaRequest = Message<"ironflow.v1.DeleteSchemaRequest"> & {
174
+ /**
175
+ * @generated from field: string event_name = 1;
176
+ */
177
+ eventName: string;
178
+ /**
179
+ * @generated from field: int32 version = 2;
180
+ */
181
+ version: number;
182
+ };
183
+ /**
184
+ * Describes the message ironflow.v1.DeleteSchemaRequest.
185
+ * Use `create(DeleteSchemaRequestSchema)` to create a new message.
186
+ */
187
+ export declare const DeleteSchemaRequestSchema: GenMessage<DeleteSchemaRequest>;
188
+ /**
189
+ * @generated from message ironflow.v1.DeleteSchemaResponse
190
+ */
191
+ export type DeleteSchemaResponse = Message<"ironflow.v1.DeleteSchemaResponse"> & {};
192
+ /**
193
+ * Describes the message ironflow.v1.DeleteSchemaResponse.
194
+ * Use `create(DeleteSchemaResponseSchema)` to create a new message.
195
+ */
196
+ export declare const DeleteSchemaResponseSchema: GenMessage<DeleteSchemaResponse>;
197
+ /**
198
+ * @generated from message ironflow.v1.TestUpcastRequest
199
+ */
200
+ export type TestUpcastRequest = Message<"ironflow.v1.TestUpcastRequest"> & {
201
+ /**
202
+ * @generated from field: string event_name = 1;
203
+ */
204
+ eventName: string;
205
+ /**
206
+ * @generated from field: int32 from_version = 2;
207
+ */
208
+ fromVersion: number;
209
+ /**
210
+ * @generated from field: int32 to_version = 3;
211
+ */
212
+ toVersion: number;
213
+ /**
214
+ * @generated from field: google.protobuf.Struct data = 4;
215
+ */
216
+ data?: JsonObject;
217
+ };
218
+ /**
219
+ * Describes the message ironflow.v1.TestUpcastRequest.
220
+ * Use `create(TestUpcastRequestSchema)` to create a new message.
221
+ */
222
+ export declare const TestUpcastRequestSchema: GenMessage<TestUpcastRequest>;
223
+ /**
224
+ * @generated from message ironflow.v1.TestUpcastResponse
225
+ */
226
+ export type TestUpcastResponse = Message<"ironflow.v1.TestUpcastResponse"> & {
227
+ /**
228
+ * @generated from field: google.protobuf.Struct data = 1;
229
+ */
230
+ data?: JsonObject;
231
+ /**
232
+ * @generated from field: repeated ironflow.v1.UpcastStep steps_applied = 2;
233
+ */
234
+ stepsApplied: UpcastStep[];
235
+ };
236
+ /**
237
+ * Describes the message ironflow.v1.TestUpcastResponse.
238
+ * Use `create(TestUpcastResponseSchema)` to create a new message.
239
+ */
240
+ export declare const TestUpcastResponseSchema: GenMessage<TestUpcastResponse>;
241
+ /**
242
+ * @generated from message ironflow.v1.UpcastStep
243
+ */
244
+ export type UpcastStep = Message<"ironflow.v1.UpcastStep"> & {
245
+ /**
246
+ * @generated from field: int32 from_version = 1;
247
+ */
248
+ fromVersion: number;
249
+ /**
250
+ * @generated from field: int32 to_version = 2;
251
+ */
252
+ toVersion: number;
253
+ /**
254
+ * @generated from field: string description = 3;
255
+ */
256
+ description: string;
257
+ };
258
+ /**
259
+ * Describes the message ironflow.v1.UpcastStep.
260
+ * Use `create(UpcastStepSchema)` to create a new message.
261
+ */
262
+ export declare const UpcastStepSchema: GenMessage<UpcastStep>;
263
+ /**
264
+ * @generated from service ironflow.v1.EventSchemaService
265
+ */
266
+ export declare const EventSchemaService: GenService<{
267
+ /**
268
+ * @generated from rpc ironflow.v1.EventSchemaService.RegisterSchema
269
+ */
270
+ registerSchema: {
271
+ methodKind: "unary";
272
+ input: typeof RegisterSchemaRequestSchema;
273
+ output: typeof RegisterSchemaResponseSchema;
274
+ };
275
+ /**
276
+ * @generated from rpc ironflow.v1.EventSchemaService.GetSchema
277
+ */
278
+ getSchema: {
279
+ methodKind: "unary";
280
+ input: typeof GetSchemaRequestSchema;
281
+ output: typeof GetSchemaResponseSchema;
282
+ };
283
+ /**
284
+ * @generated from rpc ironflow.v1.EventSchemaService.ListSchemas
285
+ */
286
+ listSchemas: {
287
+ methodKind: "unary";
288
+ input: typeof ListSchemasRequestSchema;
289
+ output: typeof ListSchemasResponseSchema;
290
+ };
291
+ /**
292
+ * @generated from rpc ironflow.v1.EventSchemaService.DeleteSchema
293
+ */
294
+ deleteSchema: {
295
+ methodKind: "unary";
296
+ input: typeof DeleteSchemaRequestSchema;
297
+ output: typeof DeleteSchemaResponseSchema;
298
+ };
299
+ /**
300
+ * @generated from rpc ironflow.v1.EventSchemaService.TestUpcast
301
+ */
302
+ testUpcast: {
303
+ methodKind: "unary";
304
+ input: typeof TestUpcastRequestSchema;
305
+ output: typeof TestUpcastResponseSchema;
306
+ };
307
+ }>;
308
+ //# sourceMappingURL=event_schema_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":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