@cratis/chronicle.contracts 19.8.1 → 19.10.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.
@@ -313,6 +313,7 @@ export interface JoinDefinition {
313
313
  On: string;
314
314
  Properties: { [key: string]: string };
315
315
  Key: string;
316
+ AutoMap: AutoMap;
316
317
  }
317
318
 
318
319
  export interface JoinDefinition_PropertiesEntry {
@@ -2149,7 +2150,7 @@ export const IndexDefinition: MessageFns<IndexDefinition> = {
2149
2150
  };
2150
2151
 
2151
2152
  function createBaseJoinDefinition(): JoinDefinition {
2152
- return { On: "", Properties: {}, Key: "" };
2153
+ return { On: "", Properties: {}, Key: "", AutoMap: 0 };
2153
2154
  }
2154
2155
 
2155
2156
  export const JoinDefinition: MessageFns<JoinDefinition> = {
@@ -2163,6 +2164,9 @@ export const JoinDefinition: MessageFns<JoinDefinition> = {
2163
2164
  if (message.Key !== "") {
2164
2165
  writer.uint32(26).string(message.Key);
2165
2166
  }
2167
+ if (message.AutoMap !== 0) {
2168
+ writer.uint32(32).int32(message.AutoMap);
2169
+ }
2166
2170
  return writer;
2167
2171
  },
2168
2172
 
@@ -2206,6 +2210,14 @@ export const JoinDefinition: MessageFns<JoinDefinition> = {
2206
2210
  message.Key = reader.string();
2207
2211
  continue;
2208
2212
  }
2213
+ case 4: {
2214
+ if (tag !== 32) {
2215
+ break;
2216
+ }
2217
+
2218
+ message.AutoMap = reader.int32() as any;
2219
+ continue;
2220
+ }
2209
2221
  }
2210
2222
  if ((tag & 7) === 4 || tag === 0) {
2211
2223
  break;
@@ -2236,6 +2248,7 @@ export const JoinDefinition: MessageFns<JoinDefinition> = {
2236
2248
  )
2237
2249
  : {},
2238
2250
  Key: isSet(object.Key) ? globalThis.String(object.Key) : "",
2251
+ AutoMap: isSet(object.AutoMap) ? autoMapFromJSON(object.AutoMap) : 0,
2239
2252
  };
2240
2253
  },
2241
2254
 
@@ -2256,6 +2269,9 @@ export const JoinDefinition: MessageFns<JoinDefinition> = {
2256
2269
  if (message.Key !== "") {
2257
2270
  obj.Key = message.Key;
2258
2271
  }
2272
+ if (message.AutoMap !== 0) {
2273
+ obj.AutoMap = autoMapToJSON(message.AutoMap);
2274
+ }
2259
2275
  return obj;
2260
2276
  },
2261
2277
 
@@ -2275,6 +2291,7 @@ export const JoinDefinition: MessageFns<JoinDefinition> = {
2275
2291
  {},
2276
2292
  );
2277
2293
  message.Key = object.Key ?? "";
2294
+ message.AutoMap = object.AutoMap ?? 0;
2278
2295
  return message;
2279
2296
  },
2280
2297
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/chronicle.contracts",
3
- "version": "19.8.1",
3
+ "version": "19.10.0",
4
4
  "description": "TypeScript gRPC client contracts for Cratis Chronicle - the open-source event-sourcing database",
5
5
  "keywords": [
6
6
  "event-sourcing",