@cratis/chronicle.contracts 19.133.2 → 19.135.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.
@@ -343,6 +343,7 @@ export interface GraphEdgeFromDefinition {
343
343
  TargetKey: string;
344
344
  Identity: string;
345
345
  Properties: { [key: string]: string };
346
+ ForEach: string;
346
347
  }
347
348
 
348
349
  export interface GraphEdgeFromDefinition_PropertiesEntry {
@@ -369,12 +370,14 @@ export interface GraphEdgeRemovedWithDefinition {
369
370
  SourceKey: string;
370
371
  TargetKey: string;
371
372
  Identity: string;
373
+ ForEach: string;
372
374
  }
373
375
 
374
376
  export interface GraphNodeFromDefinition {
375
377
  Key: string;
376
378
  Properties: { [key: string]: string };
377
379
  UpdateOnly: boolean;
380
+ ForEach: string;
378
381
  }
379
382
 
380
383
  export interface GraphNodeFromDefinition_PropertiesEntry {
@@ -400,6 +403,7 @@ export interface GraphNodeProjectionDefinition_RemovedWithEntry {
400
403
  export interface GraphNodeRemovedWithDefinition {
401
404
  Key: string;
402
405
  Detach: boolean;
406
+ ForEach: string;
403
407
  }
404
408
 
405
409
  export interface GraphProjectionDefinition {
@@ -2177,7 +2181,7 @@ export const GetAllDefinitionsRequest: MessageFns<GetAllDefinitionsRequest> = {
2177
2181
  };
2178
2182
 
2179
2183
  function createBaseGraphEdgeFromDefinition(): GraphEdgeFromDefinition {
2180
- return { SourceKey: "", TargetKey: "", Identity: "", Properties: {} };
2184
+ return { SourceKey: "", TargetKey: "", Identity: "", Properties: {}, ForEach: "" };
2181
2185
  }
2182
2186
 
2183
2187
  export const GraphEdgeFromDefinition: MessageFns<GraphEdgeFromDefinition> = {
@@ -2194,6 +2198,9 @@ export const GraphEdgeFromDefinition: MessageFns<GraphEdgeFromDefinition> = {
2194
2198
  globalThis.Object.entries(message.Properties).forEach(([key, value]: [string, string]) => {
2195
2199
  GraphEdgeFromDefinition_PropertiesEntry.encode({ key: key as any, value }, writer.uint32(34).fork()).join();
2196
2200
  });
2201
+ if (message.ForEach !== "") {
2202
+ writer.uint32(42).string(message.ForEach);
2203
+ }
2197
2204
  return writer;
2198
2205
  },
2199
2206
 
@@ -2245,6 +2252,14 @@ export const GraphEdgeFromDefinition: MessageFns<GraphEdgeFromDefinition> = {
2245
2252
  }
2246
2253
  continue;
2247
2254
  }
2255
+ case 5: {
2256
+ if (tag !== 42) {
2257
+ break;
2258
+ }
2259
+
2260
+ message.ForEach = reader.string();
2261
+ continue;
2262
+ }
2248
2263
  }
2249
2264
  if ((tag & 7) === 4 || tag === 0) {
2250
2265
  break;
@@ -2276,6 +2291,7 @@ export const GraphEdgeFromDefinition: MessageFns<GraphEdgeFromDefinition> = {
2276
2291
  {},
2277
2292
  )
2278
2293
  : {},
2294
+ ForEach: isSet(object.ForEach) ? globalThis.String(object.ForEach) : "",
2279
2295
  };
2280
2296
  },
2281
2297
 
@@ -2299,6 +2315,9 @@ export const GraphEdgeFromDefinition: MessageFns<GraphEdgeFromDefinition> = {
2299
2315
  });
2300
2316
  }
2301
2317
  }
2318
+ if (message.ForEach !== "") {
2319
+ obj.ForEach = message.ForEach;
2320
+ }
2302
2321
  return obj;
2303
2322
  },
2304
2323
 
@@ -2319,6 +2338,7 @@ export const GraphEdgeFromDefinition: MessageFns<GraphEdgeFromDefinition> = {
2319
2338
  },
2320
2339
  {},
2321
2340
  );
2341
+ message.ForEach = object.ForEach ?? "";
2322
2342
  return message;
2323
2343
  },
2324
2344
  };
@@ -2742,7 +2762,7 @@ export const GraphEdgeProjectionDefinition_RemovedWithEntry: MessageFns<
2742
2762
  };
2743
2763
 
2744
2764
  function createBaseGraphEdgeRemovedWithDefinition(): GraphEdgeRemovedWithDefinition {
2745
- return { SourceKey: "", TargetKey: "", Identity: "" };
2765
+ return { SourceKey: "", TargetKey: "", Identity: "", ForEach: "" };
2746
2766
  }
2747
2767
 
2748
2768
  export const GraphEdgeRemovedWithDefinition: MessageFns<GraphEdgeRemovedWithDefinition> = {
@@ -2756,6 +2776,9 @@ export const GraphEdgeRemovedWithDefinition: MessageFns<GraphEdgeRemovedWithDefi
2756
2776
  if (message.Identity !== "") {
2757
2777
  writer.uint32(26).string(message.Identity);
2758
2778
  }
2779
+ if (message.ForEach !== "") {
2780
+ writer.uint32(34).string(message.ForEach);
2781
+ }
2759
2782
  return writer;
2760
2783
  },
2761
2784
 
@@ -2796,6 +2819,14 @@ export const GraphEdgeRemovedWithDefinition: MessageFns<GraphEdgeRemovedWithDefi
2796
2819
  message.Identity = reader.string();
2797
2820
  continue;
2798
2821
  }
2822
+ case 4: {
2823
+ if (tag !== 34) {
2824
+ break;
2825
+ }
2826
+
2827
+ message.ForEach = reader.string();
2828
+ continue;
2829
+ }
2799
2830
  }
2800
2831
  if ((tag & 7) === 4 || tag === 0) {
2801
2832
  break;
@@ -2813,6 +2844,7 @@ export const GraphEdgeRemovedWithDefinition: MessageFns<GraphEdgeRemovedWithDefi
2813
2844
  SourceKey: isSet(object.SourceKey) ? globalThis.String(object.SourceKey) : "",
2814
2845
  TargetKey: isSet(object.TargetKey) ? globalThis.String(object.TargetKey) : "",
2815
2846
  Identity: isSet(object.Identity) ? globalThis.String(object.Identity) : "",
2847
+ ForEach: isSet(object.ForEach) ? globalThis.String(object.ForEach) : "",
2816
2848
  };
2817
2849
  },
2818
2850
 
@@ -2827,6 +2859,9 @@ export const GraphEdgeRemovedWithDefinition: MessageFns<GraphEdgeRemovedWithDefi
2827
2859
  if (message.Identity !== "") {
2828
2860
  obj.Identity = message.Identity;
2829
2861
  }
2862
+ if (message.ForEach !== "") {
2863
+ obj.ForEach = message.ForEach;
2864
+ }
2830
2865
  return obj;
2831
2866
  },
2832
2867
 
@@ -2838,12 +2873,13 @@ export const GraphEdgeRemovedWithDefinition: MessageFns<GraphEdgeRemovedWithDefi
2838
2873
  message.SourceKey = object.SourceKey ?? "";
2839
2874
  message.TargetKey = object.TargetKey ?? "";
2840
2875
  message.Identity = object.Identity ?? "";
2876
+ message.ForEach = object.ForEach ?? "";
2841
2877
  return message;
2842
2878
  },
2843
2879
  };
2844
2880
 
2845
2881
  function createBaseGraphNodeFromDefinition(): GraphNodeFromDefinition {
2846
- return { Key: "", Properties: {}, UpdateOnly: false };
2882
+ return { Key: "", Properties: {}, UpdateOnly: false, ForEach: "" };
2847
2883
  }
2848
2884
 
2849
2885
  export const GraphNodeFromDefinition: MessageFns<GraphNodeFromDefinition> = {
@@ -2857,6 +2893,9 @@ export const GraphNodeFromDefinition: MessageFns<GraphNodeFromDefinition> = {
2857
2893
  if (message.UpdateOnly !== false) {
2858
2894
  writer.uint32(24).bool(message.UpdateOnly);
2859
2895
  }
2896
+ if (message.ForEach !== "") {
2897
+ writer.uint32(34).string(message.ForEach);
2898
+ }
2860
2899
  return writer;
2861
2900
  },
2862
2901
 
@@ -2900,6 +2939,14 @@ export const GraphNodeFromDefinition: MessageFns<GraphNodeFromDefinition> = {
2900
2939
  message.UpdateOnly = reader.bool();
2901
2940
  continue;
2902
2941
  }
2942
+ case 4: {
2943
+ if (tag !== 34) {
2944
+ break;
2945
+ }
2946
+
2947
+ message.ForEach = reader.string();
2948
+ continue;
2949
+ }
2903
2950
  }
2904
2951
  if ((tag & 7) === 4 || tag === 0) {
2905
2952
  break;
@@ -2930,6 +2977,7 @@ export const GraphNodeFromDefinition: MessageFns<GraphNodeFromDefinition> = {
2930
2977
  )
2931
2978
  : {},
2932
2979
  UpdateOnly: isSet(object.UpdateOnly) ? globalThis.Boolean(object.UpdateOnly) : false,
2980
+ ForEach: isSet(object.ForEach) ? globalThis.String(object.ForEach) : "",
2933
2981
  };
2934
2982
  },
2935
2983
 
@@ -2950,6 +2998,9 @@ export const GraphNodeFromDefinition: MessageFns<GraphNodeFromDefinition> = {
2950
2998
  if (message.UpdateOnly !== false) {
2951
2999
  obj.UpdateOnly = message.UpdateOnly;
2952
3000
  }
3001
+ if (message.ForEach !== "") {
3002
+ obj.ForEach = message.ForEach;
3003
+ }
2953
3004
  return obj;
2954
3005
  },
2955
3006
 
@@ -2969,6 +3020,7 @@ export const GraphNodeFromDefinition: MessageFns<GraphNodeFromDefinition> = {
2969
3020
  {},
2970
3021
  );
2971
3022
  message.UpdateOnly = object.UpdateOnly ?? false;
3023
+ message.ForEach = object.ForEach ?? "";
2972
3024
  return message;
2973
3025
  },
2974
3026
  };
@@ -3392,7 +3444,7 @@ export const GraphNodeProjectionDefinition_RemovedWithEntry: MessageFns<
3392
3444
  };
3393
3445
 
3394
3446
  function createBaseGraphNodeRemovedWithDefinition(): GraphNodeRemovedWithDefinition {
3395
- return { Key: "", Detach: false };
3447
+ return { Key: "", Detach: false, ForEach: "" };
3396
3448
  }
3397
3449
 
3398
3450
  export const GraphNodeRemovedWithDefinition: MessageFns<GraphNodeRemovedWithDefinition> = {
@@ -3403,6 +3455,9 @@ export const GraphNodeRemovedWithDefinition: MessageFns<GraphNodeRemovedWithDefi
3403
3455
  if (message.Detach !== false) {
3404
3456
  writer.uint32(16).bool(message.Detach);
3405
3457
  }
3458
+ if (message.ForEach !== "") {
3459
+ writer.uint32(26).string(message.ForEach);
3460
+ }
3406
3461
  return writer;
3407
3462
  },
3408
3463
 
@@ -3435,6 +3490,14 @@ export const GraphNodeRemovedWithDefinition: MessageFns<GraphNodeRemovedWithDefi
3435
3490
  message.Detach = reader.bool();
3436
3491
  continue;
3437
3492
  }
3493
+ case 3: {
3494
+ if (tag !== 26) {
3495
+ break;
3496
+ }
3497
+
3498
+ message.ForEach = reader.string();
3499
+ continue;
3500
+ }
3438
3501
  }
3439
3502
  if ((tag & 7) === 4 || tag === 0) {
3440
3503
  break;
@@ -3451,6 +3514,7 @@ export const GraphNodeRemovedWithDefinition: MessageFns<GraphNodeRemovedWithDefi
3451
3514
  return {
3452
3515
  Key: isSet(object.Key) ? globalThis.String(object.Key) : "",
3453
3516
  Detach: isSet(object.Detach) ? globalThis.Boolean(object.Detach) : false,
3517
+ ForEach: isSet(object.ForEach) ? globalThis.String(object.ForEach) : "",
3454
3518
  };
3455
3519
  },
3456
3520
 
@@ -3462,6 +3526,9 @@ export const GraphNodeRemovedWithDefinition: MessageFns<GraphNodeRemovedWithDefi
3462
3526
  if (message.Detach !== false) {
3463
3527
  obj.Detach = message.Detach;
3464
3528
  }
3529
+ if (message.ForEach !== "") {
3530
+ obj.ForEach = message.ForEach;
3531
+ }
3465
3532
  return obj;
3466
3533
  },
3467
3534
 
@@ -3472,6 +3539,7 @@ export const GraphNodeRemovedWithDefinition: MessageFns<GraphNodeRemovedWithDefi
3472
3539
  const message = createBaseGraphNodeRemovedWithDefinition();
3473
3540
  message.Key = object.Key ?? "";
3474
3541
  message.Detach = object.Detach ?? false;
3542
+ message.ForEach = object.ForEach ?? "";
3475
3543
  return message;
3476
3544
  },
3477
3545
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/chronicle.contracts",
3
- "version": "19.133.2",
3
+ "version": "19.135.0",
4
4
  "description": "TypeScript gRPC client contracts for Cratis Chronicle - the open-source event-sourcing database",
5
5
  "keywords": [
6
6
  "event-sourcing",