@cratis/chronicle.contracts 19.78.1 → 19.79.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.
@@ -473,6 +473,7 @@ export interface RegisterRequest {
473
473
  Projections: ProjectionDefinition[];
474
474
  FullSet: boolean;
475
475
  Registrant: string;
476
+ Version: string;
476
477
  }
477
478
 
478
479
  export interface RemovedWithDefinition {
@@ -4474,7 +4475,7 @@ export const ReadModelType: MessageFns<ReadModelType> = {
4474
4475
  };
4475
4476
 
4476
4477
  function createBaseRegisterRequest(): RegisterRequest {
4477
- return { EventStore: "", Owner: 0, Projections: [], FullSet: false, Registrant: "" };
4478
+ return { EventStore: "", Owner: 0, Projections: [], FullSet: false, Registrant: "", Version: "" };
4478
4479
  }
4479
4480
 
4480
4481
  export const RegisterRequest: MessageFns<RegisterRequest> = {
@@ -4494,6 +4495,9 @@ export const RegisterRequest: MessageFns<RegisterRequest> = {
4494
4495
  if (message.Registrant !== "") {
4495
4496
  writer.uint32(42).string(message.Registrant);
4496
4497
  }
4498
+ if (message.Version !== "") {
4499
+ writer.uint32(50).string(message.Version);
4500
+ }
4497
4501
  return writer;
4498
4502
  },
4499
4503
 
@@ -4550,6 +4554,14 @@ export const RegisterRequest: MessageFns<RegisterRequest> = {
4550
4554
  message.Registrant = reader.string();
4551
4555
  continue;
4552
4556
  }
4557
+ case 6: {
4558
+ if (tag !== 50) {
4559
+ break;
4560
+ }
4561
+
4562
+ message.Version = reader.string();
4563
+ continue;
4564
+ }
4553
4565
  }
4554
4566
  if ((tag & 7) === 4 || tag === 0) {
4555
4567
  break;
@@ -4571,6 +4583,7 @@ export const RegisterRequest: MessageFns<RegisterRequest> = {
4571
4583
  : [],
4572
4584
  FullSet: isSet(object.FullSet) ? globalThis.Boolean(object.FullSet) : false,
4573
4585
  Registrant: isSet(object.Registrant) ? globalThis.String(object.Registrant) : "",
4586
+ Version: isSet(object.Version) ? globalThis.String(object.Version) : "",
4574
4587
  };
4575
4588
  },
4576
4589
 
@@ -4591,6 +4604,9 @@ export const RegisterRequest: MessageFns<RegisterRequest> = {
4591
4604
  if (message.Registrant !== "") {
4592
4605
  obj.Registrant = message.Registrant;
4593
4606
  }
4607
+ if (message.Version !== "") {
4608
+ obj.Version = message.Version;
4609
+ }
4594
4610
  return obj;
4595
4611
  },
4596
4612
 
@@ -4604,6 +4620,7 @@ export const RegisterRequest: MessageFns<RegisterRequest> = {
4604
4620
  message.Projections = object.Projections?.map((e) => ProjectionDefinition.fromPartial(e)) || [];
4605
4621
  message.FullSet = object.FullSet ?? false;
4606
4622
  message.Registrant = object.Registrant ?? "";
4623
+ message.Version = object.Version ?? "";
4607
4624
  return message;
4608
4625
  },
4609
4626
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/chronicle.contracts",
3
- "version": "19.78.1",
3
+ "version": "19.79.0",
4
4
  "description": "TypeScript gRPC client contracts for Cratis Chronicle - the open-source event-sourcing database",
5
5
  "keywords": [
6
6
  "event-sourcing",