@cratis/chronicle.contracts 19.159.0 → 19.160.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/generated/descriptorSet.js +1 -1
- package/dist/cjs/generated/descriptorSet.js.map +1 -1
- package/dist/cjs/generated/observation_eventstoresubscriptions.d.ts +1 -0
- package/dist/cjs/generated/observation_eventstoresubscriptions.d.ts.map +1 -1
- package/dist/cjs/generated/observation_eventstoresubscriptions.js +25 -1
- package/dist/cjs/generated/observation_eventstoresubscriptions.js.map +1 -1
- package/dist/esm/generated/descriptorSet.js +1 -1
- package/dist/esm/generated/descriptorSet.js.map +1 -1
- package/dist/esm/generated/observation_eventstoresubscriptions.d.ts +1 -0
- package/dist/esm/generated/observation_eventstoresubscriptions.d.ts.map +1 -1
- package/dist/esm/generated/observation_eventstoresubscriptions.js +25 -1
- package/dist/esm/generated/observation_eventstoresubscriptions.js.map +1 -1
- package/dist/generated/descriptorSet.js +1 -1
- package/dist/generated/descriptorSet.js.map +1 -1
- package/dist/generated/observation_eventstoresubscriptions.d.ts +1 -0
- package/dist/generated/observation_eventstoresubscriptions.d.ts.map +1 -1
- package/dist/generated/observation_eventstoresubscriptions.js +25 -1
- package/dist/generated/observation_eventstoresubscriptions.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/generated/descriptorSet.ts +1 -1
- package/generated/observation_eventstoresubscriptions.ts +27 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observation_eventstoresubscriptions.d.ts","sourceRoot":"","sources":["../../../generated/observation_eventstoresubscriptions.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,eAAO,MAAM,eAAe,mEAAmE,CAAC;AAEhG,eAAO,MAAM,gBAAgB,8CAA8C,CAAC;AAE5E,oBAAY,uBAAuB;IACjC,aAAa,IAAI;IACjB,MAAM,IAAI;IACV,YAAY,KAAK;CAClB;AAED,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,GAAG,GAAG,uBAAuB,CAapF;AAED,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,uBAAuB,GAAG,MAAM,CAUrF;AAED,MAAM,WAAW,0BAA0B;IACzC,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,gCAAgC,EAAE,CAAC;CACnD;AAED,MAAM,WAAW,gCAAgC;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,kBAAkB,EAAE,uBAAuB,CAAC;IAC5C,SAAS,EAAE,QAAQ,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"observation_eventstoresubscriptions.d.ts","sourceRoot":"","sources":["../../../generated/observation_eventstoresubscriptions.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,eAAO,MAAM,eAAe,mEAAmE,CAAC;AAEhG,eAAO,MAAM,gBAAgB,8CAA8C,CAAC;AAE5E,oBAAY,uBAAuB;IACjC,aAAa,IAAI;IACjB,MAAM,IAAI;IACV,YAAY,KAAK;CAClB;AAED,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,GAAG,GAAG,uBAAuB,CAapF;AAED,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,uBAAuB,GAAG,MAAM,CAUrF;AAED,MAAM,WAAW,0BAA0B;IACzC,gBAAgB,EAAE,MAAM,CAAC;IACz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,SAAS,CAAC;AAE7F,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GACpE,CAAC,SAAS,OAAO,GAAG,CAAC,GAAG,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAC9F,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,OAAO,CAAC,CAAC,CAAC,CAAC;AAMf,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACjC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACxC"}
|
|
@@ -115,7 +115,14 @@ const AddEventStoreSubscriptions = {
|
|
|
115
115
|
},
|
|
116
116
|
};
|
|
117
117
|
function createBaseEventStoreSubscriptionDefinition() {
|
|
118
|
-
return {
|
|
118
|
+
return {
|
|
119
|
+
Identifier: "",
|
|
120
|
+
SourceEventStore: "",
|
|
121
|
+
EventTypes: [],
|
|
122
|
+
GenerationDelivery: 0,
|
|
123
|
+
NamedTags: [],
|
|
124
|
+
SourceNamespaces: [],
|
|
125
|
+
};
|
|
119
126
|
}
|
|
120
127
|
const EventStoreSubscriptionDefinition = {
|
|
121
128
|
encode(message, writer = new wire.BinaryWriter()) {
|
|
@@ -134,6 +141,9 @@ const EventStoreSubscriptionDefinition = {
|
|
|
134
141
|
for (const v of message.NamedTags) {
|
|
135
142
|
NamedTag.encode(v, writer.uint32(42).fork()).join();
|
|
136
143
|
}
|
|
144
|
+
for (const v of message.SourceNamespaces) {
|
|
145
|
+
writer.uint32(50).string(v);
|
|
146
|
+
}
|
|
137
147
|
return writer;
|
|
138
148
|
},
|
|
139
149
|
decode(input, length) {
|
|
@@ -184,6 +194,13 @@ const EventStoreSubscriptionDefinition = {
|
|
|
184
194
|
message.NamedTags.push(NamedTag.decode(reader, reader.uint32()));
|
|
185
195
|
continue;
|
|
186
196
|
}
|
|
197
|
+
case 6: {
|
|
198
|
+
if (tag !== 50) {
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
message.SourceNamespaces.push(reader.string());
|
|
202
|
+
continue;
|
|
203
|
+
}
|
|
187
204
|
}
|
|
188
205
|
if ((tag & 7) === 4 || tag === 0) {
|
|
189
206
|
break;
|
|
@@ -209,6 +226,9 @@ const EventStoreSubscriptionDefinition = {
|
|
|
209
226
|
NamedTags: globalThis.Array.isArray(object?.NamedTags)
|
|
210
227
|
? object.NamedTags.map((e) => NamedTag.fromJSON(e))
|
|
211
228
|
: [],
|
|
229
|
+
SourceNamespaces: globalThis.Array.isArray(object?.SourceNamespaces)
|
|
230
|
+
? object.SourceNamespaces.map((e) => globalThis.String(e))
|
|
231
|
+
: [],
|
|
212
232
|
};
|
|
213
233
|
},
|
|
214
234
|
toJSON(message) {
|
|
@@ -228,6 +248,9 @@ const EventStoreSubscriptionDefinition = {
|
|
|
228
248
|
if (message.NamedTags?.length) {
|
|
229
249
|
obj.NamedTags = message.NamedTags.map((e) => NamedTag.toJSON(e));
|
|
230
250
|
}
|
|
251
|
+
if (message.SourceNamespaces?.length) {
|
|
252
|
+
obj.SourceNamespaces = message.SourceNamespaces;
|
|
253
|
+
}
|
|
231
254
|
return obj;
|
|
232
255
|
},
|
|
233
256
|
create(base) {
|
|
@@ -240,6 +263,7 @@ const EventStoreSubscriptionDefinition = {
|
|
|
240
263
|
message.EventTypes = object.EventTypes?.map((e) => EventType.fromPartial(e)) || [];
|
|
241
264
|
message.GenerationDelivery = object.GenerationDelivery ?? 0;
|
|
242
265
|
message.NamedTags = object.NamedTags?.map((e) => NamedTag.fromPartial(e)) || [];
|
|
266
|
+
message.SourceNamespaces = object.SourceNamespaces?.map((e) => e) || [];
|
|
243
267
|
return message;
|
|
244
268
|
},
|
|
245
269
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observation_eventstoresubscriptions.js","sources":["../../../generated/observation_eventstoresubscriptions.ts"],"sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.20.0\n// protoc v5.28.3\n// source: observation_eventstoresubscriptions.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport type { CallContext, CallOptions } from \"nice-grpc-common\";\nimport { Empty } from \"./google/protobuf/empty\";\n\nexport const protobufPackage = \"Cratis.Chronicle.Contracts.Observation.EventStoreSubscriptions\";\n\nexport const protobufFileName = \"observation_eventstoresubscriptions.proto\";\n\nexport enum EventGenerationDelivery {\n Compatibility = 0,\n Pinned = 1,\n UNRECOGNIZED = -1,\n}\n\nexport function eventGenerationDeliveryFromJSON(object: any): EventGenerationDelivery {\n switch (object) {\n case 0:\n case \"Compatibility\":\n return EventGenerationDelivery.Compatibility;\n case 1:\n case \"Pinned\":\n return EventGenerationDelivery.Pinned;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return EventGenerationDelivery.UNRECOGNIZED;\n }\n}\n\nexport function eventGenerationDeliveryToJSON(object: EventGenerationDelivery): string {\n switch (object) {\n case EventGenerationDelivery.Compatibility:\n return \"Compatibility\";\n case EventGenerationDelivery.Pinned:\n return \"Pinned\";\n case EventGenerationDelivery.UNRECOGNIZED:\n default:\n return \"UNRECOGNIZED\";\n }\n}\n\nexport interface AddEventStoreSubscriptions {\n TargetEventStore: string;\n Subscriptions: EventStoreSubscriptionDefinition[];\n}\n\nexport interface EventStoreSubscriptionDefinition {\n Identifier: string;\n SourceEventStore: string;\n EventTypes: EventType[];\n GenerationDelivery: EventGenerationDelivery;\n NamedTags: NamedTag[];\n}\n\nexport interface EventType {\n Id: string;\n Generation: number;\n Tombstone: boolean;\n}\n\nexport interface GetEventStoreSubscriptionsRequest {\n TargetEventStore: string;\n}\n\nexport interface IEnumerableEventStoreSubscriptionDefinition {\n items: EventStoreSubscriptionDefinition[];\n}\n\nexport interface NamedTag {\n Name: string;\n Value: string;\n}\n\nexport interface RemoveEventStoreSubscriptions {\n TargetEventStore: string;\n SubscriptionIds: string[];\n}\n\nfunction createBaseAddEventStoreSubscriptions(): AddEventStoreSubscriptions {\n return { TargetEventStore: \"\", Subscriptions: [] };\n}\n\nexport const AddEventStoreSubscriptions: MessageFns<AddEventStoreSubscriptions> = {\n encode(message: AddEventStoreSubscriptions, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.TargetEventStore !== \"\") {\n writer.uint32(10).string(message.TargetEventStore);\n }\n for (const v of message.Subscriptions) {\n EventStoreSubscriptionDefinition.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): AddEventStoreSubscriptions {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAddEventStoreSubscriptions();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.TargetEventStore = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.Subscriptions.push(EventStoreSubscriptionDefinition.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): AddEventStoreSubscriptions {\n return {\n TargetEventStore: isSet(object.TargetEventStore) ? globalThis.String(object.TargetEventStore) : \"\",\n Subscriptions: globalThis.Array.isArray(object?.Subscriptions)\n ? object.Subscriptions.map((e: any) => EventStoreSubscriptionDefinition.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: AddEventStoreSubscriptions): unknown {\n const obj: any = {};\n if (message.TargetEventStore !== \"\") {\n obj.TargetEventStore = message.TargetEventStore;\n }\n if (message.Subscriptions?.length) {\n obj.Subscriptions = message.Subscriptions.map((e) => EventStoreSubscriptionDefinition.toJSON(e));\n }\n return obj;\n },\n\n create(base?: DeepPartial<AddEventStoreSubscriptions>): AddEventStoreSubscriptions {\n return AddEventStoreSubscriptions.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<AddEventStoreSubscriptions>): AddEventStoreSubscriptions {\n const message = createBaseAddEventStoreSubscriptions();\n message.TargetEventStore = object.TargetEventStore ?? \"\";\n message.Subscriptions = object.Subscriptions?.map((e) => EventStoreSubscriptionDefinition.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseEventStoreSubscriptionDefinition(): EventStoreSubscriptionDefinition {\n return { Identifier: \"\", SourceEventStore: \"\", EventTypes: [], GenerationDelivery: 0, NamedTags: [] };\n}\n\nexport const EventStoreSubscriptionDefinition: MessageFns<EventStoreSubscriptionDefinition> = {\n encode(message: EventStoreSubscriptionDefinition, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.Identifier !== \"\") {\n writer.uint32(10).string(message.Identifier);\n }\n if (message.SourceEventStore !== \"\") {\n writer.uint32(18).string(message.SourceEventStore);\n }\n for (const v of message.EventTypes) {\n EventType.encode(v!, writer.uint32(26).fork()).join();\n }\n if (message.GenerationDelivery !== 0) {\n writer.uint32(32).int32(message.GenerationDelivery);\n }\n for (const v of message.NamedTags) {\n NamedTag.encode(v!, writer.uint32(42).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventStoreSubscriptionDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventStoreSubscriptionDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.Identifier = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.SourceEventStore = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.EventTypes.push(EventType.decode(reader, reader.uint32()));\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.GenerationDelivery = reader.int32() as any;\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.NamedTags.push(NamedTag.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): EventStoreSubscriptionDefinition {\n return {\n Identifier: isSet(object.Identifier) ? globalThis.String(object.Identifier) : \"\",\n SourceEventStore: isSet(object.SourceEventStore) ? globalThis.String(object.SourceEventStore) : \"\",\n EventTypes: globalThis.Array.isArray(object?.EventTypes)\n ? object.EventTypes.map((e: any) => EventType.fromJSON(e))\n : [],\n GenerationDelivery: isSet(object.GenerationDelivery)\n ? eventGenerationDeliveryFromJSON(object.GenerationDelivery)\n : 0,\n NamedTags: globalThis.Array.isArray(object?.NamedTags)\n ? object.NamedTags.map((e: any) => NamedTag.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: EventStoreSubscriptionDefinition): unknown {\n const obj: any = {};\n if (message.Identifier !== \"\") {\n obj.Identifier = message.Identifier;\n }\n if (message.SourceEventStore !== \"\") {\n obj.SourceEventStore = message.SourceEventStore;\n }\n if (message.EventTypes?.length) {\n obj.EventTypes = message.EventTypes.map((e) => EventType.toJSON(e));\n }\n if (message.GenerationDelivery !== 0) {\n obj.GenerationDelivery = eventGenerationDeliveryToJSON(message.GenerationDelivery);\n }\n if (message.NamedTags?.length) {\n obj.NamedTags = message.NamedTags.map((e) => NamedTag.toJSON(e));\n }\n return obj;\n },\n\n create(base?: DeepPartial<EventStoreSubscriptionDefinition>): EventStoreSubscriptionDefinition {\n return EventStoreSubscriptionDefinition.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<EventStoreSubscriptionDefinition>): EventStoreSubscriptionDefinition {\n const message = createBaseEventStoreSubscriptionDefinition();\n message.Identifier = object.Identifier ?? \"\";\n message.SourceEventStore = object.SourceEventStore ?? \"\";\n message.EventTypes = object.EventTypes?.map((e) => EventType.fromPartial(e)) || [];\n message.GenerationDelivery = object.GenerationDelivery ?? 0;\n message.NamedTags = object.NamedTags?.map((e) => NamedTag.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseEventType(): EventType {\n return { Id: \"\", Generation: 0, Tombstone: false };\n}\n\nexport const EventType: MessageFns<EventType> = {\n encode(message: EventType, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.Id !== \"\") {\n writer.uint32(10).string(message.Id);\n }\n if (message.Generation !== 0) {\n writer.uint32(16).uint32(message.Generation);\n }\n if (message.Tombstone !== false) {\n writer.uint32(24).bool(message.Tombstone);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventType {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventType();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.Id = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.Generation = reader.uint32();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.Tombstone = reader.bool();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): EventType {\n return {\n Id: isSet(object.Id) ? globalThis.String(object.Id) : \"\",\n Generation: isSet(object.Generation) ? globalThis.Number(object.Generation) : 0,\n Tombstone: isSet(object.Tombstone) ? globalThis.Boolean(object.Tombstone) : false,\n };\n },\n\n toJSON(message: EventType): unknown {\n const obj: any = {};\n if (message.Id !== \"\") {\n obj.Id = message.Id;\n }\n if (message.Generation !== 0) {\n obj.Generation = Math.round(message.Generation);\n }\n if (message.Tombstone !== false) {\n obj.Tombstone = message.Tombstone;\n }\n return obj;\n },\n\n create(base?: DeepPartial<EventType>): EventType {\n return EventType.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<EventType>): EventType {\n const message = createBaseEventType();\n message.Id = object.Id ?? \"\";\n message.Generation = object.Generation ?? 0;\n message.Tombstone = object.Tombstone ?? false;\n return message;\n },\n};\n\nfunction createBaseGetEventStoreSubscriptionsRequest(): GetEventStoreSubscriptionsRequest {\n return { TargetEventStore: \"\" };\n}\n\nexport const GetEventStoreSubscriptionsRequest: MessageFns<GetEventStoreSubscriptionsRequest> = {\n encode(message: GetEventStoreSubscriptionsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.TargetEventStore !== \"\") {\n writer.uint32(10).string(message.TargetEventStore);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GetEventStoreSubscriptionsRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetEventStoreSubscriptionsRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.TargetEventStore = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): GetEventStoreSubscriptionsRequest {\n return { TargetEventStore: isSet(object.TargetEventStore) ? globalThis.String(object.TargetEventStore) : \"\" };\n },\n\n toJSON(message: GetEventStoreSubscriptionsRequest): unknown {\n const obj: any = {};\n if (message.TargetEventStore !== \"\") {\n obj.TargetEventStore = message.TargetEventStore;\n }\n return obj;\n },\n\n create(base?: DeepPartial<GetEventStoreSubscriptionsRequest>): GetEventStoreSubscriptionsRequest {\n return GetEventStoreSubscriptionsRequest.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<GetEventStoreSubscriptionsRequest>): GetEventStoreSubscriptionsRequest {\n const message = createBaseGetEventStoreSubscriptionsRequest();\n message.TargetEventStore = object.TargetEventStore ?? \"\";\n return message;\n },\n};\n\nfunction createBaseIEnumerableEventStoreSubscriptionDefinition(): IEnumerableEventStoreSubscriptionDefinition {\n return { items: [] };\n}\n\nexport const IEnumerableEventStoreSubscriptionDefinition: MessageFns<IEnumerableEventStoreSubscriptionDefinition> = {\n encode(\n message: IEnumerableEventStoreSubscriptionDefinition,\n writer: BinaryWriter = new BinaryWriter(),\n ): BinaryWriter {\n for (const v of message.items) {\n EventStoreSubscriptionDefinition.encode(v!, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): IEnumerableEventStoreSubscriptionDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseIEnumerableEventStoreSubscriptionDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.items.push(EventStoreSubscriptionDefinition.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): IEnumerableEventStoreSubscriptionDefinition {\n return {\n items: globalThis.Array.isArray(object?.items)\n ? object.items.map((e: any) => EventStoreSubscriptionDefinition.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: IEnumerableEventStoreSubscriptionDefinition): unknown {\n const obj: any = {};\n if (message.items?.length) {\n obj.items = message.items.map((e) => EventStoreSubscriptionDefinition.toJSON(e));\n }\n return obj;\n },\n\n create(base?: DeepPartial<IEnumerableEventStoreSubscriptionDefinition>): IEnumerableEventStoreSubscriptionDefinition {\n return IEnumerableEventStoreSubscriptionDefinition.fromPartial(base ?? {});\n },\n fromPartial(\n object: DeepPartial<IEnumerableEventStoreSubscriptionDefinition>,\n ): IEnumerableEventStoreSubscriptionDefinition {\n const message = createBaseIEnumerableEventStoreSubscriptionDefinition();\n message.items = object.items?.map((e) => EventStoreSubscriptionDefinition.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseNamedTag(): NamedTag {\n return { Name: \"\", Value: \"\" };\n}\n\nexport const NamedTag: MessageFns<NamedTag> = {\n encode(message: NamedTag, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.Name !== \"\") {\n writer.uint32(10).string(message.Name);\n }\n if (message.Value !== \"\") {\n writer.uint32(18).string(message.Value);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): NamedTag {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseNamedTag();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.Name = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.Value = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): NamedTag {\n return {\n Name: isSet(object.Name) ? globalThis.String(object.Name) : \"\",\n Value: isSet(object.Value) ? globalThis.String(object.Value) : \"\",\n };\n },\n\n toJSON(message: NamedTag): unknown {\n const obj: any = {};\n if (message.Name !== \"\") {\n obj.Name = message.Name;\n }\n if (message.Value !== \"\") {\n obj.Value = message.Value;\n }\n return obj;\n },\n\n create(base?: DeepPartial<NamedTag>): NamedTag {\n return NamedTag.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<NamedTag>): NamedTag {\n const message = createBaseNamedTag();\n message.Name = object.Name ?? \"\";\n message.Value = object.Value ?? \"\";\n return message;\n },\n};\n\nfunction createBaseRemoveEventStoreSubscriptions(): RemoveEventStoreSubscriptions {\n return { TargetEventStore: \"\", SubscriptionIds: [] };\n}\n\nexport const RemoveEventStoreSubscriptions: MessageFns<RemoveEventStoreSubscriptions> = {\n encode(message: RemoveEventStoreSubscriptions, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.TargetEventStore !== \"\") {\n writer.uint32(10).string(message.TargetEventStore);\n }\n for (const v of message.SubscriptionIds) {\n writer.uint32(18).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): RemoveEventStoreSubscriptions {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRemoveEventStoreSubscriptions();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.TargetEventStore = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.SubscriptionIds.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): RemoveEventStoreSubscriptions {\n return {\n TargetEventStore: isSet(object.TargetEventStore) ? globalThis.String(object.TargetEventStore) : \"\",\n SubscriptionIds: globalThis.Array.isArray(object?.SubscriptionIds)\n ? object.SubscriptionIds.map((e: any) => globalThis.String(e))\n : [],\n };\n },\n\n toJSON(message: RemoveEventStoreSubscriptions): unknown {\n const obj: any = {};\n if (message.TargetEventStore !== \"\") {\n obj.TargetEventStore = message.TargetEventStore;\n }\n if (message.SubscriptionIds?.length) {\n obj.SubscriptionIds = message.SubscriptionIds;\n }\n return obj;\n },\n\n create(base?: DeepPartial<RemoveEventStoreSubscriptions>): RemoveEventStoreSubscriptions {\n return RemoveEventStoreSubscriptions.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<RemoveEventStoreSubscriptions>): RemoveEventStoreSubscriptions {\n const message = createBaseRemoveEventStoreSubscriptions();\n message.TargetEventStore = object.TargetEventStore ?? \"\";\n message.SubscriptionIds = object.SubscriptionIds?.map((e) => e) || [];\n return message;\n },\n};\n\nexport type EventStoreSubscriptionsDefinition = typeof EventStoreSubscriptionsDefinition;\nexport const EventStoreSubscriptionsDefinition = {\n name: \"EventStoreSubscriptions\",\n fullName: \"Cratis.Chronicle.Contracts.Observation.EventStoreSubscriptions.EventStoreSubscriptions\",\n methods: {\n add: {\n name: \"Add\",\n requestType: AddEventStoreSubscriptions as typeof AddEventStoreSubscriptions,\n requestStream: false,\n responseType: Empty as typeof Empty,\n responseStream: false,\n options: {},\n },\n getSubscriptions: {\n name: \"GetSubscriptions\",\n requestType: GetEventStoreSubscriptionsRequest as typeof GetEventStoreSubscriptionsRequest,\n requestStream: false,\n responseType: IEnumerableEventStoreSubscriptionDefinition as typeof IEnumerableEventStoreSubscriptionDefinition,\n responseStream: false,\n options: {},\n },\n remove: {\n name: \"Remove\",\n requestType: RemoveEventStoreSubscriptions as typeof RemoveEventStoreSubscriptions,\n requestStream: false,\n responseType: Empty as typeof Empty,\n responseStream: false,\n options: {},\n },\n },\n} as const;\n\nexport interface EventStoreSubscriptionsServiceImplementation<CallContextExt = {}> {\n add(request: AddEventStoreSubscriptions, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;\n getSubscriptions(\n request: GetEventStoreSubscriptionsRequest,\n context: CallContext & CallContextExt,\n ): Promise<DeepPartial<IEnumerableEventStoreSubscriptionDefinition>>;\n remove(request: RemoveEventStoreSubscriptions, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;\n}\n\nexport interface EventStoreSubscriptionsClient<CallOptionsExt = {}> {\n add(request: DeepPartial<AddEventStoreSubscriptions>, options?: CallOptions & CallOptionsExt): Promise<Empty>;\n getSubscriptions(\n request: DeepPartial<GetEventStoreSubscriptionsRequest>,\n options?: CallOptions & CallOptionsExt,\n ): Promise<IEnumerableEventStoreSubscriptionDefinition>;\n remove(request: DeepPartial<RemoveEventStoreSubscriptions>, options?: CallOptions & CallOptionsExt): Promise<Empty>;\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],"names":["EventGenerationDelivery","BinaryWriter","BinaryReader","Empty"],"mappings":";;;;;AAeYA;AAAZ,CAAA,UAAY,uBAAuB,EAAA;AACjC,IAAA,uBAAA,CAAA,uBAAA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AyB;AAC/B,IAAA,QAAQ,EAAE,wFAAwF;AAClG,IAAA,OAAO,EAAE;AACP,QAAA,GAAG,EAAE;AACH,YAAA,IAAI,EAAE,KAAK;AACX,YAAA,WAAW,EAAE,0BAA+D;AAC5E,YAAA,aAAa,EAAE,KAAK;AACpB,YAAA,YAAY,EAAEC,WAAqB;AACnC,YAAA,cAAc,EAAE,KAAK;AACrB,YAAA,OAAO,EAAE,EAAE;AACZ,SAAA;AACD,QAAA,gBAAgB,EAAE;AAChB,YAAA,IAAI,EAAE,kBAAkB;AACxB,YAAA,WAAW,EAAE,iCAA6E;AAC1F,YAAA,aAAa,EAAE,KAAK;AACpB,YAAA,YAAY,EAAE,2CAAiG;AAC/G,YAAA,cAAc,EAAE,KAAK;AACrB,YAAA,OAAO,EAAE,EAAE;AACZ,SAAA;AACD,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,WAAW,EAAE,6BAAqE;AAClF,YAAA,aAAa,EAAE,KAAK;AACpB,YAAA,YAAY,EAAEA,WAAqB;AACnC,YAAA,cAAc,EAAE,KAAK;AACrB,YAAA,OAAO,EAAE,EAAE;AACZ,SAAA;AACF,KAAA;;AA6BH,SAAS,KAAK,CAAC,KAAU,EAAA;AACvB,IAAA,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS;AAC9C;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"observation_eventstoresubscriptions.js","sources":["../../../generated/observation_eventstoresubscriptions.ts"],"sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.20.0\n// protoc v5.28.3\n// source: observation_eventstoresubscriptions.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport type { CallContext, CallOptions } from \"nice-grpc-common\";\nimport { Empty } from \"./google/protobuf/empty\";\n\nexport const protobufPackage = \"Cratis.Chronicle.Contracts.Observation.EventStoreSubscriptions\";\n\nexport const protobufFileName = \"observation_eventstoresubscriptions.proto\";\n\nexport enum EventGenerationDelivery {\n Compatibility = 0,\n Pinned = 1,\n UNRECOGNIZED = -1,\n}\n\nexport function eventGenerationDeliveryFromJSON(object: any): EventGenerationDelivery {\n switch (object) {\n case 0:\n case \"Compatibility\":\n return EventGenerationDelivery.Compatibility;\n case 1:\n case \"Pinned\":\n return EventGenerationDelivery.Pinned;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return EventGenerationDelivery.UNRECOGNIZED;\n }\n}\n\nexport function eventGenerationDeliveryToJSON(object: EventGenerationDelivery): string {\n switch (object) {\n case EventGenerationDelivery.Compatibility:\n return \"Compatibility\";\n case EventGenerationDelivery.Pinned:\n return \"Pinned\";\n case EventGenerationDelivery.UNRECOGNIZED:\n default:\n return \"UNRECOGNIZED\";\n }\n}\n\nexport interface AddEventStoreSubscriptions {\n TargetEventStore: string;\n Subscriptions: EventStoreSubscriptionDefinition[];\n}\n\nexport interface EventStoreSubscriptionDefinition {\n Identifier: string;\n SourceEventStore: string;\n EventTypes: EventType[];\n GenerationDelivery: EventGenerationDelivery;\n NamedTags: NamedTag[];\n SourceNamespaces: string[];\n}\n\nexport interface EventType {\n Id: string;\n Generation: number;\n Tombstone: boolean;\n}\n\nexport interface GetEventStoreSubscriptionsRequest {\n TargetEventStore: string;\n}\n\nexport interface IEnumerableEventStoreSubscriptionDefinition {\n items: EventStoreSubscriptionDefinition[];\n}\n\nexport interface NamedTag {\n Name: string;\n Value: string;\n}\n\nexport interface RemoveEventStoreSubscriptions {\n TargetEventStore: string;\n SubscriptionIds: string[];\n}\n\nfunction createBaseAddEventStoreSubscriptions(): AddEventStoreSubscriptions {\n return { TargetEventStore: \"\", Subscriptions: [] };\n}\n\nexport const AddEventStoreSubscriptions: MessageFns<AddEventStoreSubscriptions> = {\n encode(message: AddEventStoreSubscriptions, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.TargetEventStore !== \"\") {\n writer.uint32(10).string(message.TargetEventStore);\n }\n for (const v of message.Subscriptions) {\n EventStoreSubscriptionDefinition.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): AddEventStoreSubscriptions {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAddEventStoreSubscriptions();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.TargetEventStore = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.Subscriptions.push(EventStoreSubscriptionDefinition.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): AddEventStoreSubscriptions {\n return {\n TargetEventStore: isSet(object.TargetEventStore) ? globalThis.String(object.TargetEventStore) : \"\",\n Subscriptions: globalThis.Array.isArray(object?.Subscriptions)\n ? object.Subscriptions.map((e: any) => EventStoreSubscriptionDefinition.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: AddEventStoreSubscriptions): unknown {\n const obj: any = {};\n if (message.TargetEventStore !== \"\") {\n obj.TargetEventStore = message.TargetEventStore;\n }\n if (message.Subscriptions?.length) {\n obj.Subscriptions = message.Subscriptions.map((e) => EventStoreSubscriptionDefinition.toJSON(e));\n }\n return obj;\n },\n\n create(base?: DeepPartial<AddEventStoreSubscriptions>): AddEventStoreSubscriptions {\n return AddEventStoreSubscriptions.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<AddEventStoreSubscriptions>): AddEventStoreSubscriptions {\n const message = createBaseAddEventStoreSubscriptions();\n message.TargetEventStore = object.TargetEventStore ?? \"\";\n message.Subscriptions = object.Subscriptions?.map((e) => EventStoreSubscriptionDefinition.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseEventStoreSubscriptionDefinition(): EventStoreSubscriptionDefinition {\n return {\n Identifier: \"\",\n SourceEventStore: \"\",\n EventTypes: [],\n GenerationDelivery: 0,\n NamedTags: [],\n SourceNamespaces: [],\n };\n}\n\nexport const EventStoreSubscriptionDefinition: MessageFns<EventStoreSubscriptionDefinition> = {\n encode(message: EventStoreSubscriptionDefinition, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.Identifier !== \"\") {\n writer.uint32(10).string(message.Identifier);\n }\n if (message.SourceEventStore !== \"\") {\n writer.uint32(18).string(message.SourceEventStore);\n }\n for (const v of message.EventTypes) {\n EventType.encode(v!, writer.uint32(26).fork()).join();\n }\n if (message.GenerationDelivery !== 0) {\n writer.uint32(32).int32(message.GenerationDelivery);\n }\n for (const v of message.NamedTags) {\n NamedTag.encode(v!, writer.uint32(42).fork()).join();\n }\n for (const v of message.SourceNamespaces) {\n writer.uint32(50).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventStoreSubscriptionDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventStoreSubscriptionDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.Identifier = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.SourceEventStore = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.EventTypes.push(EventType.decode(reader, reader.uint32()));\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.GenerationDelivery = reader.int32() as any;\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.NamedTags.push(NamedTag.decode(reader, reader.uint32()));\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.SourceNamespaces.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): EventStoreSubscriptionDefinition {\n return {\n Identifier: isSet(object.Identifier) ? globalThis.String(object.Identifier) : \"\",\n SourceEventStore: isSet(object.SourceEventStore) ? globalThis.String(object.SourceEventStore) : \"\",\n EventTypes: globalThis.Array.isArray(object?.EventTypes)\n ? object.EventTypes.map((e: any) => EventType.fromJSON(e))\n : [],\n GenerationDelivery: isSet(object.GenerationDelivery)\n ? eventGenerationDeliveryFromJSON(object.GenerationDelivery)\n : 0,\n NamedTags: globalThis.Array.isArray(object?.NamedTags)\n ? object.NamedTags.map((e: any) => NamedTag.fromJSON(e))\n : [],\n SourceNamespaces: globalThis.Array.isArray(object?.SourceNamespaces)\n ? object.SourceNamespaces.map((e: any) => globalThis.String(e))\n : [],\n };\n },\n\n toJSON(message: EventStoreSubscriptionDefinition): unknown {\n const obj: any = {};\n if (message.Identifier !== \"\") {\n obj.Identifier = message.Identifier;\n }\n if (message.SourceEventStore !== \"\") {\n obj.SourceEventStore = message.SourceEventStore;\n }\n if (message.EventTypes?.length) {\n obj.EventTypes = message.EventTypes.map((e) => EventType.toJSON(e));\n }\n if (message.GenerationDelivery !== 0) {\n obj.GenerationDelivery = eventGenerationDeliveryToJSON(message.GenerationDelivery);\n }\n if (message.NamedTags?.length) {\n obj.NamedTags = message.NamedTags.map((e) => NamedTag.toJSON(e));\n }\n if (message.SourceNamespaces?.length) {\n obj.SourceNamespaces = message.SourceNamespaces;\n }\n return obj;\n },\n\n create(base?: DeepPartial<EventStoreSubscriptionDefinition>): EventStoreSubscriptionDefinition {\n return EventStoreSubscriptionDefinition.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<EventStoreSubscriptionDefinition>): EventStoreSubscriptionDefinition {\n const message = createBaseEventStoreSubscriptionDefinition();\n message.Identifier = object.Identifier ?? \"\";\n message.SourceEventStore = object.SourceEventStore ?? \"\";\n message.EventTypes = object.EventTypes?.map((e) => EventType.fromPartial(e)) || [];\n message.GenerationDelivery = object.GenerationDelivery ?? 0;\n message.NamedTags = object.NamedTags?.map((e) => NamedTag.fromPartial(e)) || [];\n message.SourceNamespaces = object.SourceNamespaces?.map((e) => e) || [];\n return message;\n },\n};\n\nfunction createBaseEventType(): EventType {\n return { Id: \"\", Generation: 0, Tombstone: false };\n}\n\nexport const EventType: MessageFns<EventType> = {\n encode(message: EventType, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.Id !== \"\") {\n writer.uint32(10).string(message.Id);\n }\n if (message.Generation !== 0) {\n writer.uint32(16).uint32(message.Generation);\n }\n if (message.Tombstone !== false) {\n writer.uint32(24).bool(message.Tombstone);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventType {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventType();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.Id = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.Generation = reader.uint32();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.Tombstone = reader.bool();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): EventType {\n return {\n Id: isSet(object.Id) ? globalThis.String(object.Id) : \"\",\n Generation: isSet(object.Generation) ? globalThis.Number(object.Generation) : 0,\n Tombstone: isSet(object.Tombstone) ? globalThis.Boolean(object.Tombstone) : false,\n };\n },\n\n toJSON(message: EventType): unknown {\n const obj: any = {};\n if (message.Id !== \"\") {\n obj.Id = message.Id;\n }\n if (message.Generation !== 0) {\n obj.Generation = Math.round(message.Generation);\n }\n if (message.Tombstone !== false) {\n obj.Tombstone = message.Tombstone;\n }\n return obj;\n },\n\n create(base?: DeepPartial<EventType>): EventType {\n return EventType.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<EventType>): EventType {\n const message = createBaseEventType();\n message.Id = object.Id ?? \"\";\n message.Generation = object.Generation ?? 0;\n message.Tombstone = object.Tombstone ?? false;\n return message;\n },\n};\n\nfunction createBaseGetEventStoreSubscriptionsRequest(): GetEventStoreSubscriptionsRequest {\n return { TargetEventStore: \"\" };\n}\n\nexport const GetEventStoreSubscriptionsRequest: MessageFns<GetEventStoreSubscriptionsRequest> = {\n encode(message: GetEventStoreSubscriptionsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.TargetEventStore !== \"\") {\n writer.uint32(10).string(message.TargetEventStore);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GetEventStoreSubscriptionsRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetEventStoreSubscriptionsRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.TargetEventStore = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): GetEventStoreSubscriptionsRequest {\n return { TargetEventStore: isSet(object.TargetEventStore) ? globalThis.String(object.TargetEventStore) : \"\" };\n },\n\n toJSON(message: GetEventStoreSubscriptionsRequest): unknown {\n const obj: any = {};\n if (message.TargetEventStore !== \"\") {\n obj.TargetEventStore = message.TargetEventStore;\n }\n return obj;\n },\n\n create(base?: DeepPartial<GetEventStoreSubscriptionsRequest>): GetEventStoreSubscriptionsRequest {\n return GetEventStoreSubscriptionsRequest.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<GetEventStoreSubscriptionsRequest>): GetEventStoreSubscriptionsRequest {\n const message = createBaseGetEventStoreSubscriptionsRequest();\n message.TargetEventStore = object.TargetEventStore ?? \"\";\n return message;\n },\n};\n\nfunction createBaseIEnumerableEventStoreSubscriptionDefinition(): IEnumerableEventStoreSubscriptionDefinition {\n return { items: [] };\n}\n\nexport const IEnumerableEventStoreSubscriptionDefinition: MessageFns<IEnumerableEventStoreSubscriptionDefinition> = {\n encode(\n message: IEnumerableEventStoreSubscriptionDefinition,\n writer: BinaryWriter = new BinaryWriter(),\n ): BinaryWriter {\n for (const v of message.items) {\n EventStoreSubscriptionDefinition.encode(v!, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): IEnumerableEventStoreSubscriptionDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseIEnumerableEventStoreSubscriptionDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.items.push(EventStoreSubscriptionDefinition.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): IEnumerableEventStoreSubscriptionDefinition {\n return {\n items: globalThis.Array.isArray(object?.items)\n ? object.items.map((e: any) => EventStoreSubscriptionDefinition.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: IEnumerableEventStoreSubscriptionDefinition): unknown {\n const obj: any = {};\n if (message.items?.length) {\n obj.items = message.items.map((e) => EventStoreSubscriptionDefinition.toJSON(e));\n }\n return obj;\n },\n\n create(base?: DeepPartial<IEnumerableEventStoreSubscriptionDefinition>): IEnumerableEventStoreSubscriptionDefinition {\n return IEnumerableEventStoreSubscriptionDefinition.fromPartial(base ?? {});\n },\n fromPartial(\n object: DeepPartial<IEnumerableEventStoreSubscriptionDefinition>,\n ): IEnumerableEventStoreSubscriptionDefinition {\n const message = createBaseIEnumerableEventStoreSubscriptionDefinition();\n message.items = object.items?.map((e) => EventStoreSubscriptionDefinition.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseNamedTag(): NamedTag {\n return { Name: \"\", Value: \"\" };\n}\n\nexport const NamedTag: MessageFns<NamedTag> = {\n encode(message: NamedTag, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.Name !== \"\") {\n writer.uint32(10).string(message.Name);\n }\n if (message.Value !== \"\") {\n writer.uint32(18).string(message.Value);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): NamedTag {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseNamedTag();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.Name = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.Value = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): NamedTag {\n return {\n Name: isSet(object.Name) ? globalThis.String(object.Name) : \"\",\n Value: isSet(object.Value) ? globalThis.String(object.Value) : \"\",\n };\n },\n\n toJSON(message: NamedTag): unknown {\n const obj: any = {};\n if (message.Name !== \"\") {\n obj.Name = message.Name;\n }\n if (message.Value !== \"\") {\n obj.Value = message.Value;\n }\n return obj;\n },\n\n create(base?: DeepPartial<NamedTag>): NamedTag {\n return NamedTag.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<NamedTag>): NamedTag {\n const message = createBaseNamedTag();\n message.Name = object.Name ?? \"\";\n message.Value = object.Value ?? \"\";\n return message;\n },\n};\n\nfunction createBaseRemoveEventStoreSubscriptions(): RemoveEventStoreSubscriptions {\n return { TargetEventStore: \"\", SubscriptionIds: [] };\n}\n\nexport const RemoveEventStoreSubscriptions: MessageFns<RemoveEventStoreSubscriptions> = {\n encode(message: RemoveEventStoreSubscriptions, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.TargetEventStore !== \"\") {\n writer.uint32(10).string(message.TargetEventStore);\n }\n for (const v of message.SubscriptionIds) {\n writer.uint32(18).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): RemoveEventStoreSubscriptions {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRemoveEventStoreSubscriptions();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.TargetEventStore = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.SubscriptionIds.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): RemoveEventStoreSubscriptions {\n return {\n TargetEventStore: isSet(object.TargetEventStore) ? globalThis.String(object.TargetEventStore) : \"\",\n SubscriptionIds: globalThis.Array.isArray(object?.SubscriptionIds)\n ? object.SubscriptionIds.map((e: any) => globalThis.String(e))\n : [],\n };\n },\n\n toJSON(message: RemoveEventStoreSubscriptions): unknown {\n const obj: any = {};\n if (message.TargetEventStore !== \"\") {\n obj.TargetEventStore = message.TargetEventStore;\n }\n if (message.SubscriptionIds?.length) {\n obj.SubscriptionIds = message.SubscriptionIds;\n }\n return obj;\n },\n\n create(base?: DeepPartial<RemoveEventStoreSubscriptions>): RemoveEventStoreSubscriptions {\n return RemoveEventStoreSubscriptions.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<RemoveEventStoreSubscriptions>): RemoveEventStoreSubscriptions {\n const message = createBaseRemoveEventStoreSubscriptions();\n message.TargetEventStore = object.TargetEventStore ?? \"\";\n message.SubscriptionIds = object.SubscriptionIds?.map((e) => e) || [];\n return message;\n },\n};\n\nexport type EventStoreSubscriptionsDefinition = typeof EventStoreSubscriptionsDefinition;\nexport const EventStoreSubscriptionsDefinition = {\n name: \"EventStoreSubscriptions\",\n fullName: \"Cratis.Chronicle.Contracts.Observation.EventStoreSubscriptions.EventStoreSubscriptions\",\n methods: {\n add: {\n name: \"Add\",\n requestType: AddEventStoreSubscriptions as typeof AddEventStoreSubscriptions,\n requestStream: false,\n responseType: Empty as typeof Empty,\n responseStream: false,\n options: {},\n },\n getSubscriptions: {\n name: \"GetSubscriptions\",\n requestType: GetEventStoreSubscriptionsRequest as typeof GetEventStoreSubscriptionsRequest,\n requestStream: false,\n responseType: IEnumerableEventStoreSubscriptionDefinition as typeof IEnumerableEventStoreSubscriptionDefinition,\n responseStream: false,\n options: {},\n },\n remove: {\n name: \"Remove\",\n requestType: RemoveEventStoreSubscriptions as typeof RemoveEventStoreSubscriptions,\n requestStream: false,\n responseType: Empty as typeof Empty,\n responseStream: false,\n options: {},\n },\n },\n} as const;\n\nexport interface EventStoreSubscriptionsServiceImplementation<CallContextExt = {}> {\n add(request: AddEventStoreSubscriptions, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;\n getSubscriptions(\n request: GetEventStoreSubscriptionsRequest,\n context: CallContext & CallContextExt,\n ): Promise<DeepPartial<IEnumerableEventStoreSubscriptionDefinition>>;\n remove(request: RemoveEventStoreSubscriptions, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;\n}\n\nexport interface EventStoreSubscriptionsClient<CallOptionsExt = {}> {\n add(request: DeepPartial<AddEventStoreSubscriptions>, options?: CallOptions & CallOptionsExt): Promise<Empty>;\n getSubscriptions(\n request: DeepPartial<GetEventStoreSubscriptionsRequest>,\n options?: CallOptions & CallOptionsExt,\n ): Promise<IEnumerableEventStoreSubscriptionDefinition>;\n remove(request: DeepPartial<RemoveEventStoreSubscriptions>, options?: CallOptions & CallOptionsExt): Promise<Empty>;\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],"names":["EventGenerationDelivery","BinaryWriter","BinaryReader","Empty"],"mappings":";;;;;AAeYA;AAAZ,CAAA,UAAY,uBAAuB,EAAA;AACjC,IAAA,uBAAA,CAAA,uBAAA,CAAA,eAAA,CAAA,GAAA,CAAA,CAAA,GAAA,eAAiB;AACjB,IAAA,uBAAA,CAAA,uBAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAU;AACV,IAAA,uBAAA,CAAA,uBAAA,CAAA,cAAA,CAAA,GAAA,EAAA,CAAA,GAAA,cAAiB;AACnB,CAAC,EAJWA,+BAAuB,KAAvBA,+BAAuB,GAAA,EAAA,CAAA,CAAA;AAM7B,SAAU,+BAA+B,CAAC,MAAW,EAAA;IACzD,QAAQ,MAAM;AACZ,QAAA,KAAK,CAAC;AACN,QAAA,KAAK,eAAe;YAClB,OAAOA,+BAAuB,CAAC,aAAa;AAC9C,QAAA,KAAK,CAAC;AACN,QAAA,KAAK,QAAQ;YACX,OAAOA,+BAAuB,CAAC,MAAM;QACvC,KAAK,EAAE;AACP,QAAA,KAAK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