@cratis/chronicle 0.2.2 → 1.0.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.
@@ -1,13 +1,11 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
 
4
+ import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
4
5
  import type { CallOptions } from 'nice-grpc-common';
5
6
 
6
7
  /**
7
8
  * Request to release (decrypt) PII properties in a read model.
8
- *
9
- * Note: These types mirror the compliance contracts until they are exported
10
- * from @cratis/chronicle.contracts package.
11
9
  */
12
10
  export interface ReleaseRequest {
13
11
  EventStore: string;
@@ -38,11 +36,95 @@ export interface ComplianceClient<CallOptionsExt = {}> {
38
36
  release(request: DeepPartial<ReleaseRequest>, options?: CallOptions & CallOptionsExt): Promise<ReleaseResponse>;
39
37
  }
40
38
 
41
- /**
42
- * Message functions placeholder - not needed for nice-grpc client creation
43
- */
44
- export const ReleaseRequestFns = {} as any;
45
- export const ReleaseResponseFns = {} as any;
39
+ export const ReleaseRequest = {
40
+ encode(message: ReleaseRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
41
+ if (message.EventStore !== '') {
42
+ writer.uint32(10).string(message.EventStore);
43
+ }
44
+ if (message.Namespace !== '') {
45
+ writer.uint32(18).string(message.Namespace);
46
+ }
47
+ if (message.Subject !== '') {
48
+ writer.uint32(26).string(message.Subject);
49
+ }
50
+ if (message.Schema !== '') {
51
+ writer.uint32(34).string(message.Schema);
52
+ }
53
+ if (message.Payload !== '') {
54
+ writer.uint32(42).string(message.Payload);
55
+ }
56
+ return writer;
57
+ },
58
+
59
+ decode(input: BinaryReader | Uint8Array, length?: number): ReleaseRequest {
60
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
61
+ const end = length === undefined ? reader.len : reader.pos + length;
62
+ const message: ReleaseRequest = { EventStore: '', Namespace: '', Subject: '', Schema: '', Payload: '' };
63
+ while (reader.pos < end) {
64
+ const tag = reader.uint32();
65
+ switch (tag >>> 3) {
66
+ case 1: message.EventStore = reader.string(); continue;
67
+ case 2: message.Namespace = reader.string(); continue;
68
+ case 3: message.Subject = reader.string(); continue;
69
+ case 4: message.Schema = reader.string(); continue;
70
+ case 5: message.Payload = reader.string(); continue;
71
+ }
72
+ if ((tag & 7) === 4 || tag === 0) break;
73
+ reader.skip(tag & 7);
74
+ }
75
+ return message;
76
+ },
77
+
78
+ fromPartial(object: DeepPartial<ReleaseRequest>): ReleaseRequest {
79
+ return {
80
+ EventStore: object.EventStore ?? '',
81
+ Namespace: object.Namespace ?? '',
82
+ Subject: object.Subject ?? '',
83
+ Schema: object.Schema ?? '',
84
+ Payload: object.Payload ?? ''
85
+ };
86
+ }
87
+ };
88
+
89
+ export const ReleaseResponse = {
90
+ encode(message: ReleaseResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
91
+ if (message.Payload !== '') {
92
+ writer.uint32(10).string(message.Payload);
93
+ }
94
+ if (message.HasError !== false) {
95
+ writer.uint32(16).bool(message.HasError);
96
+ }
97
+ if (message.Error !== '') {
98
+ writer.uint32(26).string(message.Error);
99
+ }
100
+ return writer;
101
+ },
102
+
103
+ decode(input: BinaryReader | Uint8Array, length?: number): ReleaseResponse {
104
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
105
+ const end = length === undefined ? reader.len : reader.pos + length;
106
+ const message: ReleaseResponse = { Payload: '', HasError: false, Error: '' };
107
+ while (reader.pos < end) {
108
+ const tag = reader.uint32();
109
+ switch (tag >>> 3) {
110
+ case 1: message.Payload = reader.string(); continue;
111
+ case 2: message.HasError = reader.bool(); continue;
112
+ case 3: message.Error = reader.string(); continue;
113
+ }
114
+ if ((tag & 7) === 4 || tag === 0) break;
115
+ reader.skip(tag & 7);
116
+ }
117
+ return message;
118
+ },
119
+
120
+ fromPartial(object: DeepPartial<ReleaseResponse>): ReleaseResponse {
121
+ return {
122
+ Payload: object.Payload ?? '',
123
+ HasError: object.HasError ?? false,
124
+ Error: object.Error ?? ''
125
+ };
126
+ }
127
+ };
46
128
 
47
129
  /**
48
130
  * Compliance service definition for nice-grpc.
@@ -53,9 +135,9 @@ export const ComplianceDefinition = {
53
135
  methods: {
54
136
  release: {
55
137
  name: 'Release',
56
- requestType: ReleaseRequestFns,
138
+ requestType: ReleaseRequest,
57
139
  requestStream: false as const,
58
- responseType: ReleaseResponseFns,
140
+ responseType: ReleaseResponse,
59
141
  responseStream: false as const,
60
142
  options: {}
61
143
  }
@@ -1,9 +1,7 @@
1
+ import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
1
2
  import type { CallOptions } from 'nice-grpc-common';
2
3
  /**
3
4
  * Request to release (decrypt) PII properties in a read model.
4
- *
5
- * Note: These types mirror the compliance contracts until they are exported
6
- * from @cratis/chronicle.contracts package.
7
5
  */
8
6
  export interface ReleaseRequest {
9
7
  EventStore: string;
@@ -30,11 +28,16 @@ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<
30
28
  export interface ComplianceClient<CallOptionsExt = {}> {
31
29
  release(request: DeepPartial<ReleaseRequest>, options?: CallOptions & CallOptionsExt): Promise<ReleaseResponse>;
32
30
  }
33
- /**
34
- * Message functions placeholder - not needed for nice-grpc client creation
35
- */
36
- export declare const ReleaseRequestFns: any;
37
- export declare const ReleaseResponseFns: any;
31
+ export declare const ReleaseRequest: {
32
+ encode(message: ReleaseRequest, writer?: BinaryWriter): BinaryWriter;
33
+ decode(input: BinaryReader | Uint8Array, length?: number): ReleaseRequest;
34
+ fromPartial(object: DeepPartial<ReleaseRequest>): ReleaseRequest;
35
+ };
36
+ export declare const ReleaseResponse: {
37
+ encode(message: ReleaseResponse, writer?: BinaryWriter): BinaryWriter;
38
+ decode(input: BinaryReader | Uint8Array, length?: number): ReleaseResponse;
39
+ fromPartial(object: DeepPartial<ReleaseResponse>): ReleaseResponse;
40
+ };
38
41
  /**
39
42
  * Compliance service definition for nice-grpc.
40
43
  */
@@ -44,9 +47,17 @@ export declare const ComplianceDefinition: {
44
47
  readonly methods: {
45
48
  readonly release: {
46
49
  readonly name: "Release";
47
- readonly requestType: any;
50
+ readonly requestType: {
51
+ encode(message: ReleaseRequest, writer?: BinaryWriter): BinaryWriter;
52
+ decode(input: BinaryReader | Uint8Array, length?: number): ReleaseRequest;
53
+ fromPartial(object: DeepPartial<ReleaseRequest>): ReleaseRequest;
54
+ };
48
55
  readonly requestStream: false;
49
- readonly responseType: any;
56
+ readonly responseType: {
57
+ encode(message: ReleaseResponse, writer?: BinaryWriter): BinaryWriter;
58
+ decode(input: BinaryReader | Uint8Array, length?: number): ReleaseResponse;
59
+ fromPartial(object: DeepPartial<ReleaseResponse>): ReleaseResponse;
60
+ };
50
61
  readonly responseStream: false;
51
62
  readonly options: {};
52
63
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ComplianceContracts.d.ts","sourceRoot":"","sources":["../../compliance/ComplianceContracts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAC7F,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GAAG,CAAC,SAAS,UAAU,CAAC,KAAK,CA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AG,UAAU,WAAW,MAAM,GAAG,cAAc;oCAmBrD,WAAW,CAAC,cAAc,CAAC,GAAG,cAAc;;;;gCAYhD,eAAe,WAAU,YAAY,GAAwB,YAAY;8BAa3E,YAAY,GAAG,UAAU,WAAW,MAAM,GAAG,eAAe;oCAiBtD,WAAW,CAAC,eAAe,CAAC,GAAG,eAAe;;;;;;CAyB5D,CAAC"}
@@ -1,10 +1,108 @@
1
1
  // Copyright (c) Cratis. All rights reserved.
2
2
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
- /**
4
- * Message functions placeholder - not needed for nice-grpc client creation
5
- */
6
- export const ReleaseRequestFns = {};
7
- export const ReleaseResponseFns = {};
3
+ import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
4
+ export const ReleaseRequest = {
5
+ encode(message, writer = new BinaryWriter()) {
6
+ if (message.EventStore !== '') {
7
+ writer.uint32(10).string(message.EventStore);
8
+ }
9
+ if (message.Namespace !== '') {
10
+ writer.uint32(18).string(message.Namespace);
11
+ }
12
+ if (message.Subject !== '') {
13
+ writer.uint32(26).string(message.Subject);
14
+ }
15
+ if (message.Schema !== '') {
16
+ writer.uint32(34).string(message.Schema);
17
+ }
18
+ if (message.Payload !== '') {
19
+ writer.uint32(42).string(message.Payload);
20
+ }
21
+ return writer;
22
+ },
23
+ decode(input, length) {
24
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
25
+ const end = length === undefined ? reader.len : reader.pos + length;
26
+ const message = { EventStore: '', Namespace: '', Subject: '', Schema: '', Payload: '' };
27
+ while (reader.pos < end) {
28
+ const tag = reader.uint32();
29
+ switch (tag >>> 3) {
30
+ case 1:
31
+ message.EventStore = reader.string();
32
+ continue;
33
+ case 2:
34
+ message.Namespace = reader.string();
35
+ continue;
36
+ case 3:
37
+ message.Subject = reader.string();
38
+ continue;
39
+ case 4:
40
+ message.Schema = reader.string();
41
+ continue;
42
+ case 5:
43
+ message.Payload = reader.string();
44
+ continue;
45
+ }
46
+ if ((tag & 7) === 4 || tag === 0)
47
+ break;
48
+ reader.skip(tag & 7);
49
+ }
50
+ return message;
51
+ },
52
+ fromPartial(object) {
53
+ return {
54
+ EventStore: object.EventStore ?? '',
55
+ Namespace: object.Namespace ?? '',
56
+ Subject: object.Subject ?? '',
57
+ Schema: object.Schema ?? '',
58
+ Payload: object.Payload ?? ''
59
+ };
60
+ }
61
+ };
62
+ export const ReleaseResponse = {
63
+ encode(message, writer = new BinaryWriter()) {
64
+ if (message.Payload !== '') {
65
+ writer.uint32(10).string(message.Payload);
66
+ }
67
+ if (message.HasError !== false) {
68
+ writer.uint32(16).bool(message.HasError);
69
+ }
70
+ if (message.Error !== '') {
71
+ writer.uint32(26).string(message.Error);
72
+ }
73
+ return writer;
74
+ },
75
+ decode(input, length) {
76
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
77
+ const end = length === undefined ? reader.len : reader.pos + length;
78
+ const message = { Payload: '', HasError: false, Error: '' };
79
+ while (reader.pos < end) {
80
+ const tag = reader.uint32();
81
+ switch (tag >>> 3) {
82
+ case 1:
83
+ message.Payload = reader.string();
84
+ continue;
85
+ case 2:
86
+ message.HasError = reader.bool();
87
+ continue;
88
+ case 3:
89
+ message.Error = reader.string();
90
+ continue;
91
+ }
92
+ if ((tag & 7) === 4 || tag === 0)
93
+ break;
94
+ reader.skip(tag & 7);
95
+ }
96
+ return message;
97
+ },
98
+ fromPartial(object) {
99
+ return {
100
+ Payload: object.Payload ?? '',
101
+ HasError: object.HasError ?? false,
102
+ Error: object.Error ?? ''
103
+ };
104
+ }
105
+ };
8
106
  /**
9
107
  * Compliance service definition for nice-grpc.
10
108
  */
@@ -14,9 +112,9 @@ export const ComplianceDefinition = {
14
112
  methods: {
15
113
  release: {
16
114
  name: 'Release',
17
- requestType: ReleaseRequestFns,
115
+ requestType: ReleaseRequest,
18
116
  requestStream: false,
19
- responseType: ReleaseResponseFns,
117
+ responseType: ReleaseResponse,
20
118
  responseStream: false,
21
119
  options: {}
22
120
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ComplianceContracts.js","sourceRoot":"","sources":["../../compliance/ComplianceContracts.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAuCrG;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,EAAS,CAAC;AAC3C,MAAM,CAAC,MAAM,kBAAkB,GAAG,EAAS,CAAC;AAE5C;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACL,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,iBAAiB;YAC9B,aAAa,EAAE,KAAc;YAC7B,YAAY,EAAE,kBAAkB;YAChC,cAAc,EAAE,KAAc;YAC9B,OAAO,EAAE,EAAE;SACd;KACJ;CACK,CAAC"}
1
+ {"version":3,"file":"ComplianceContracts.js","sourceRoot":"","sources":["../../compliance/ComplianceContracts.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAErG,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAmCrE,MAAM,CAAC,MAAM,cAAc,GAAG;IAC1B,MAAM,CAAC,OAAuB,EAAE,SAAuB,IAAI,YAAY,EAAE;QACrE,IAAI,OAAO,CAAC,UAAU,KAAK,EAAE,EAAE,CAAC;YAC5B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QACjD,CAAC;QACD,IAAI,OAAO,CAAC,SAAS,KAAK,EAAE,EAAE,CAAC;YAC3B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAChD,CAAC;QACD,IAAI,OAAO,CAAC,OAAO,KAAK,EAAE,EAAE,CAAC;YACzB,MAAM,CAAC,MAAM,CAAC,EAAE,CA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,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE;YAC7B,QAAQ,EAAE,MAAM,CAAC,QAAQ,IAAI,KAAK;YAClC,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,EAAE;SAC5B,CAAC;IACN,CAAC;CACJ,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACL,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,cAAc;YAC3B,aAAa,EAAE,KAAc;YAC7B,YAAY,EAAE,eAAe;YAC7B,cAAc,EAAE,KAAc;YAC9B,OAAO,EAAE,EAAE;SACd;KACJ;CACK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/chronicle",
3
- "version": "0.2.2",
3
+ "version": "1.0.0",
4
4
  "description": "TypeScript idiomatic client for Cratis Chronicle",
5
5
  "author": "Cratis",
6
6
  "license": "MIT",