@towns-protocol/proto 0.0.191
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/LICENSE.txt +21 -0
- package/README.md +3 -0
- package/dist/gen/apps_pb.d.ts +438 -0
- package/dist/gen/apps_pb.d.ts.map +1 -0
- package/dist/gen/apps_pb.js +113 -0
- package/dist/gen/apps_pb.js.map +1 -0
- package/dist/gen/auth_pb.d.ts +154 -0
- package/dist/gen/auth_pb.d.ts.map +1 -0
- package/dist/gen/auth_pb.js +37 -0
- package/dist/gen/auth_pb.js.map +1 -0
- package/dist/gen/internal_pb.d.ts +82 -0
- package/dist/gen/internal_pb.d.ts.map +1 -0
- package/dist/gen/internal_pb.js +25 -0
- package/dist/gen/internal_pb.js.map +1 -0
- package/dist/gen/notifications_pb.d.ts +874 -0
- package/dist/gen/notifications_pb.d.ts.map +1 -0
- package/dist/gen/notifications_pb.js +349 -0
- package/dist/gen/notifications_pb.js.map +1 -0
- package/dist/gen/payloads_pb.d.ts +893 -0
- package/dist/gen/payloads_pb.d.ts.map +1 -0
- package/dist/gen/payloads_pb.js +180 -0
- package/dist/gen/payloads_pb.js.map +1 -0
- package/dist/gen/protocol_pb.d.ts +3972 -0
- package/dist/gen/protocol_pb.d.ts.map +1 -0
- package/dist/gen/protocol_pb.js +1158 -0
- package/dist/gen/protocol_pb.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/tests/stub.test.d.ts +1 -0
- package/dist/tests/stub.test.d.ts.map +1 -0
- package/dist/tests/stub.test.js +7 -0
- package/dist/tests/stub.test.js.map +1 -0
- package/dist/types.d.ts +23 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +41 -0
@@ -0,0 +1,154 @@
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
4
|
+
/**
|
5
|
+
* Describes the file auth.proto.
|
6
|
+
*/
|
7
|
+
export declare const file_auth: GenFile;
|
8
|
+
/**
|
9
|
+
* @generated from message river.StartAuthenticationRequest
|
10
|
+
*/
|
11
|
+
export type StartAuthenticationRequest = Message<"river.StartAuthenticationRequest"> & {
|
12
|
+
/**
|
13
|
+
* user id of the user that wants to authenticate
|
14
|
+
*
|
15
|
+
* @generated from field: bytes user_id = 1;
|
16
|
+
*/
|
17
|
+
userId: Uint8Array;
|
18
|
+
};
|
19
|
+
/**
|
20
|
+
* Describes the message river.StartAuthenticationRequest.
|
21
|
+
* Use `create(StartAuthenticationRequestSchema)` to create a new message.
|
22
|
+
*/
|
23
|
+
export declare const StartAuthenticationRequestSchema: GenMessage<StartAuthenticationRequest>;
|
24
|
+
/**
|
25
|
+
* @generated from message river.StartAuthenticationResponse
|
26
|
+
*/
|
27
|
+
export type StartAuthenticationResponse = Message<"river.StartAuthenticationResponse"> & {
|
28
|
+
/**
|
29
|
+
* user id of the user that wants to authenticate
|
30
|
+
*
|
31
|
+
* @generated from field: bytes user_id = 1;
|
32
|
+
*/
|
33
|
+
userId: Uint8Array;
|
34
|
+
/**
|
35
|
+
* challenge that must be signed.
|
36
|
+
* clients must verify before signing that the challenge is >= 128 bits
|
37
|
+
*
|
38
|
+
* @generated from field: bytes challenge = 2;
|
39
|
+
*/
|
40
|
+
challenge: Uint8Array;
|
41
|
+
/**
|
42
|
+
* timestamp until the challenge is valid
|
43
|
+
*
|
44
|
+
* @generated from field: google.protobuf.Timestamp expiration = 3;
|
45
|
+
*/
|
46
|
+
expiration?: Timestamp;
|
47
|
+
};
|
48
|
+
/**
|
49
|
+
* Describes the message river.StartAuthenticationResponse.
|
50
|
+
* Use `create(StartAuthenticationResponseSchema)` to create a new message.
|
51
|
+
*/
|
52
|
+
export declare const StartAuthenticationResponseSchema: GenMessage<StartAuthenticationResponse>;
|
53
|
+
/**
|
54
|
+
* note, challenge expiration is stored in the notification service and therefore doesn't have to be provided
|
55
|
+
* in the request. Expiration is looked up through the challenge.
|
56
|
+
*
|
57
|
+
* @generated from message river.FinishAuthenticationRequest
|
58
|
+
*/
|
59
|
+
export type FinishAuthenticationRequest = Message<"river.FinishAuthenticationRequest"> & {
|
60
|
+
/**
|
61
|
+
* user id of the user that wants to authenticate.
|
62
|
+
*
|
63
|
+
* For the response to be valid:
|
64
|
+
* If delegate_sig is present, user_id must match delegate_sig signer address.
|
65
|
+
* If delegate_sig is not present, user_id must match signature signer address.
|
66
|
+
*
|
67
|
+
* @generated from field: bytes user_id = 1;
|
68
|
+
*/
|
69
|
+
userId: Uint8Array;
|
70
|
+
/**
|
71
|
+
* signature is calculated with the delegate keypair with:
|
72
|
+
* ecdsa_sign(delegate_key, sha256(PREFIX || user_id || expiration || challenge)
|
73
|
+
* with
|
74
|
+
* PREFIX=NS_AUTH: (string with length 8)
|
75
|
+
* user_id raw user id bytes (160 bits)
|
76
|
+
* expiration is a 64 bits unix timestamp encoded in big endian
|
77
|
+
* || means concatenation
|
78
|
+
*
|
79
|
+
* @generated from field: bytes signature = 2;
|
80
|
+
*/
|
81
|
+
signature: Uint8Array;
|
82
|
+
/**
|
83
|
+
* delegate_sig contains signature of the
|
84
|
+
* public key of the delegate keypair + the delegate_expiry_epoch_ms.
|
85
|
+
* User's primary wallet is used to produce this signature.
|
86
|
+
*
|
87
|
+
* @generated from field: bytes delegate_sig = 3;
|
88
|
+
*/
|
89
|
+
delegateSig: Uint8Array;
|
90
|
+
/**
|
91
|
+
* DelegateExpiry is the time when the delegate signature expires.
|
92
|
+
*
|
93
|
+
* @generated from field: int64 delegate_expiry_epoch_ms = 4;
|
94
|
+
*/
|
95
|
+
delegateExpiryEpochMs: bigint;
|
96
|
+
/**
|
97
|
+
* challenge that must be signed to prove identity.
|
98
|
+
*
|
99
|
+
* @generated from field: bytes challenge = 5;
|
100
|
+
*/
|
101
|
+
challenge: Uint8Array;
|
102
|
+
};
|
103
|
+
/**
|
104
|
+
* Describes the message river.FinishAuthenticationRequest.
|
105
|
+
* Use `create(FinishAuthenticationRequestSchema)` to create a new message.
|
106
|
+
*/
|
107
|
+
export declare const FinishAuthenticationRequestSchema: GenMessage<FinishAuthenticationRequest>;
|
108
|
+
/**
|
109
|
+
* @generated from message river.FinishAuthenticationResponse
|
110
|
+
*/
|
111
|
+
export type FinishAuthenticationResponse = Message<"river.FinishAuthenticationResponse"> & {
|
112
|
+
/**
|
113
|
+
* session_token holds the token that must be provided in the AUTHORIZATION header when making
|
114
|
+
* rpc calls to the NotificationService.
|
115
|
+
*
|
116
|
+
* @generated from field: string session_token = 1;
|
117
|
+
*/
|
118
|
+
sessionToken: string;
|
119
|
+
};
|
120
|
+
/**
|
121
|
+
* Describes the message river.FinishAuthenticationResponse.
|
122
|
+
* Use `create(FinishAuthenticationResponseSchema)` to create a new message.
|
123
|
+
*/
|
124
|
+
export declare const FinishAuthenticationResponseSchema: GenMessage<FinishAuthenticationResponse>;
|
125
|
+
/**
|
126
|
+
* AuthenticationService provides client functionality to obtain a session token that can be used
|
127
|
+
* in the NotificationService.
|
128
|
+
*
|
129
|
+
* @generated from service river.AuthenticationService
|
130
|
+
*/
|
131
|
+
export declare const AuthenticationService: GenService<{
|
132
|
+
/**
|
133
|
+
* StartAuthentication returns a challenge that the client must sign to prove its identity.
|
134
|
+
*
|
135
|
+
* @generated from rpc river.AuthenticationService.StartAuthentication
|
136
|
+
*/
|
137
|
+
startAuthentication: {
|
138
|
+
methodKind: "unary";
|
139
|
+
input: typeof StartAuthenticationRequestSchema;
|
140
|
+
output: typeof StartAuthenticationResponseSchema;
|
141
|
+
};
|
142
|
+
/**
|
143
|
+
* FinishAuthentication expects the signed challenge and if valid returns a session token
|
144
|
+
* that can be used in the NotificationService.
|
145
|
+
*
|
146
|
+
* @generated from rpc river.AuthenticationService.FinishAuthentication
|
147
|
+
*/
|
148
|
+
finishAuthentication: {
|
149
|
+
methodKind: "unary";
|
150
|
+
input: typeof FinishAuthenticationRequestSchema;
|
151
|
+
output: typeof FinishAuthenticationResponseSchema;
|
152
|
+
};
|
153
|
+
}>;
|
154
|
+
//# sourceMappingURL=auth_pb.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"auth_pb.d.ts","sourceRoot":"","sources":["../../src/gen/auth_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,OACs4B,CAAC;AAE/5B;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,kCAAkC,CAAC,GAAG;IACrF;;;;OAIG;IACH,MAAM,EAAE,UAAU,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gCAAgC,EAAE,UAAU,CAAC,0BAA0B,CACzD,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC,mCAAmC,CAAC,GAAG;IACvF;;;;OAIG;IACH,MAAM,EAAE,UAAU,CAAC;IAEnB;;;;;OAKG;IACH,SAAS,EAAE,UAAU,CAAC;IAEtB;;;;OAIG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iCAAiC,EAAE,UAAU,CAAC,2BAA2B,CAC3D,CAAC;AAE5B;;;;;GAKG;AACH,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC,mCAAmC,CAAC,GAAG;IACvF;;;;;;;;OAQG;IACH,MAAM,EAAE,UAAU,CAAC;IAEnB;;;;;;;;;;OAUG;IACH,SAAS,EAAE,UAAU,CAAC;IAEtB;;;;;;OAMG;IACH,WAAW,EAAE,UAAU,CAAC;IAExB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;;;OAIG;IACH,SAAS,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iCAAiC,EAAE,UAAU,CAAC,2BAA2B,CAC3D,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,OAAO,CAAC,oCAAoC,CAAC,GAAG;IACzF;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,UAAU,CAAC,4BAA4B,CAC7D,CAAC;AAE5B;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC;IAC7C;;;;OAIG;IACH,mBAAmB,EAAE;QACnB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,gCAAgC,CAAC;QAC/C,MAAM,EAAE,OAAO,iCAAiC,CAAC;KAClD,CAAC;IACF;;;;;OAKG;IACH,oBAAoB,EAAE;QACpB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,iCAAiC,CAAC;QAChD,MAAM,EAAE,OAAO,kCAAkC,CAAC;KACnD,CAAC;CACH,CAC0B,CAAC"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3 with parameter "target=ts"
|
2
|
+
// @generated from file auth.proto (package river, syntax proto3)
|
3
|
+
/* eslint-disable */
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
5
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
6
|
+
/**
|
7
|
+
* Describes the file auth.proto.
|
8
|
+
*/
|
9
|
+
export const file_auth = /*@__PURE__*/ fileDesc("CgphdXRoLnByb3RvEgVyaXZlciItChpTdGFydEF1dGhlbnRpY2F0aW9uUmVxdWVzdBIPCgd1c2VyX2lkGAEgASgMInEKG1N0YXJ0QXV0aGVudGljYXRpb25SZXNwb25zZRIPCgd1c2VyX2lkGAEgASgMEhEKCWNoYWxsZW5nZRgCIAEoDBIuCgpleHBpcmF0aW9uGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKMAQobRmluaXNoQXV0aGVudGljYXRpb25SZXF1ZXN0Eg8KB3VzZXJfaWQYASABKAwSEQoJc2lnbmF0dXJlGAIgASgMEhQKDGRlbGVnYXRlX3NpZxgDIAEoDBIgChhkZWxlZ2F0ZV9leHBpcnlfZXBvY2hfbXMYBCABKAMSEQoJY2hhbGxlbmdlGAUgASgMIjUKHEZpbmlzaEF1dGhlbnRpY2F0aW9uUmVzcG9uc2USFQoNc2Vzc2lvbl90b2tlbhgBIAEoCTLWAQoVQXV0aGVudGljYXRpb25TZXJ2aWNlElwKE1N0YXJ0QXV0aGVudGljYXRpb24SIS5yaXZlci5TdGFydEF1dGhlbnRpY2F0aW9uUmVxdWVzdBoiLnJpdmVyLlN0YXJ0QXV0aGVudGljYXRpb25SZXNwb25zZRJfChRGaW5pc2hBdXRoZW50aWNhdGlvbhIiLnJpdmVyLkZpbmlzaEF1dGhlbnRpY2F0aW9uUmVxdWVzdBojLnJpdmVyLkZpbmlzaEF1dGhlbnRpY2F0aW9uUmVzcG9uc2VCNFoyZ2l0aHViLmNvbS90b3ducy1wcm90b2NvbC90b3ducy9jb3JlL25vZGUvcHJvdG9jb2xiBnByb3RvMw", [file_google_protobuf_timestamp]);
|
10
|
+
/**
|
11
|
+
* Describes the message river.StartAuthenticationRequest.
|
12
|
+
* Use `create(StartAuthenticationRequestSchema)` to create a new message.
|
13
|
+
*/
|
14
|
+
export const StartAuthenticationRequestSchema = /*@__PURE__*/ messageDesc(file_auth, 0);
|
15
|
+
/**
|
16
|
+
* Describes the message river.StartAuthenticationResponse.
|
17
|
+
* Use `create(StartAuthenticationResponseSchema)` to create a new message.
|
18
|
+
*/
|
19
|
+
export const StartAuthenticationResponseSchema = /*@__PURE__*/ messageDesc(file_auth, 1);
|
20
|
+
/**
|
21
|
+
* Describes the message river.FinishAuthenticationRequest.
|
22
|
+
* Use `create(FinishAuthenticationRequestSchema)` to create a new message.
|
23
|
+
*/
|
24
|
+
export const FinishAuthenticationRequestSchema = /*@__PURE__*/ messageDesc(file_auth, 2);
|
25
|
+
/**
|
26
|
+
* Describes the message river.FinishAuthenticationResponse.
|
27
|
+
* Use `create(FinishAuthenticationResponseSchema)` to create a new message.
|
28
|
+
*/
|
29
|
+
export const FinishAuthenticationResponseSchema = /*@__PURE__*/ messageDesc(file_auth, 3);
|
30
|
+
/**
|
31
|
+
* AuthenticationService provides client functionality to obtain a session token that can be used
|
32
|
+
* in the NotificationService.
|
33
|
+
*
|
34
|
+
* @generated from service river.AuthenticationService
|
35
|
+
*/
|
36
|
+
export const AuthenticationService = /*@__PURE__*/ serviceDesc(file_auth, 0);
|
37
|
+
//# sourceMappingURL=auth_pb.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"auth_pb.js","sourceRoot":"","sources":["../../src/gen/auth_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,iEAAiE;AACjE,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAElF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAY,aAAa,CAC7C,QAAQ,CAAC,g3BAAg3B,EAAE,CAAC,8BAA8B,CAAC,CAAC,CAAC;AAc/5B;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;AA6B5B;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA4C,aAAa,CACrG,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;AAyD5B;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA4C,aAAa,CACrG,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;AAe5B;;;GAGG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAA6C,aAAa,CACvG,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;AAE5B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAsB7B,aAAa,CAChB,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
2
|
+
import type { MiniblockHeader, StreamEvent, SyncCookie } from "./protocol_pb";
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
4
|
+
/**
|
5
|
+
* Describes the file internal.proto.
|
6
|
+
*/
|
7
|
+
export declare const file_internal: GenFile;
|
8
|
+
/**
|
9
|
+
* @generated from message river.PersistedEvent
|
10
|
+
*/
|
11
|
+
export type PersistedEvent = Message<"river.PersistedEvent"> & {
|
12
|
+
/**
|
13
|
+
* @generated from field: river.StreamEvent event = 1;
|
14
|
+
*/
|
15
|
+
event?: StreamEvent;
|
16
|
+
/**
|
17
|
+
* @generated from field: bytes hash = 2;
|
18
|
+
*/
|
19
|
+
hash: Uint8Array;
|
20
|
+
/**
|
21
|
+
* @generated from field: string creator_user_id = 4;
|
22
|
+
*/
|
23
|
+
creatorUserId: string;
|
24
|
+
/**
|
25
|
+
* @generated from field: bytes signature = 5;
|
26
|
+
*/
|
27
|
+
signature: Uint8Array;
|
28
|
+
};
|
29
|
+
/**
|
30
|
+
* Describes the message river.PersistedEvent.
|
31
|
+
* Use `create(PersistedEventSchema)` to create a new message.
|
32
|
+
*/
|
33
|
+
export declare const PersistedEventSchema: GenMessage<PersistedEvent>;
|
34
|
+
/**
|
35
|
+
* @generated from message river.PersistedMiniblock
|
36
|
+
*/
|
37
|
+
export type PersistedMiniblock = Message<"river.PersistedMiniblock"> & {
|
38
|
+
/**
|
39
|
+
* @generated from field: bytes hash = 1;
|
40
|
+
*/
|
41
|
+
hash: Uint8Array;
|
42
|
+
/**
|
43
|
+
* @generated from field: river.MiniblockHeader header = 2;
|
44
|
+
*/
|
45
|
+
header?: MiniblockHeader;
|
46
|
+
/**
|
47
|
+
* @generated from field: repeated river.PersistedEvent events = 3;
|
48
|
+
*/
|
49
|
+
events: PersistedEvent[];
|
50
|
+
};
|
51
|
+
/**
|
52
|
+
* Describes the message river.PersistedMiniblock.
|
53
|
+
* Use `create(PersistedMiniblockSchema)` to create a new message.
|
54
|
+
*/
|
55
|
+
export declare const PersistedMiniblockSchema: GenMessage<PersistedMiniblock>;
|
56
|
+
/**
|
57
|
+
* @generated from message river.PersistedSyncedStream
|
58
|
+
*/
|
59
|
+
export type PersistedSyncedStream = Message<"river.PersistedSyncedStream"> & {
|
60
|
+
/**
|
61
|
+
* @generated from field: river.SyncCookie sync_cookie = 1;
|
62
|
+
*/
|
63
|
+
syncCookie?: SyncCookie;
|
64
|
+
/**
|
65
|
+
* @generated from field: uint64 last_snapshot_miniblock_num = 2;
|
66
|
+
*/
|
67
|
+
lastSnapshotMiniblockNum: bigint;
|
68
|
+
/**
|
69
|
+
* @generated from field: uint64 last_miniblock_num = 3;
|
70
|
+
*/
|
71
|
+
lastMiniblockNum: bigint;
|
72
|
+
/**
|
73
|
+
* @generated from field: repeated river.PersistedEvent minipoolEvents = 4;
|
74
|
+
*/
|
75
|
+
minipoolEvents: PersistedEvent[];
|
76
|
+
};
|
77
|
+
/**
|
78
|
+
* Describes the message river.PersistedSyncedStream.
|
79
|
+
* Use `create(PersistedSyncedStreamSchema)` to create a new message.
|
80
|
+
*/
|
81
|
+
export declare const PersistedSyncedStreamSchema: GenMessage<PersistedSyncedStream>;
|
82
|
+
//# sourceMappingURL=internal_pb.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"internal_pb.d.ts","sourceRoot":"","sources":["../../src/gen/internal_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE9E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,OAC+kB,CAAC;AAE5mB;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG;IAC7D;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,UAAU,CAAC,cAAc,CAC7B,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,0BAA0B,CAAC,GAAG;IACrE;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IAEzB;;OAEG;IACH,MAAM,EAAE,cAAc,EAAE,CAAC;CAC1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAAC,kBAAkB,CACrC,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,6BAA6B,CAAC,GAAG;IAC3E;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,cAAc,EAAE,cAAc,EAAE,CAAC;CAClC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,UAAU,CAAC,qBAAqB,CAC3C,CAAC"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3 with parameter "target=ts"
|
2
|
+
// @generated from file internal.proto (package river, syntax proto3)
|
3
|
+
/* eslint-disable */
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
5
|
+
import { file_protocol } from "./protocol_pb";
|
6
|
+
/**
|
7
|
+
* Describes the file internal.proto.
|
8
|
+
*/
|
9
|
+
export const file_internal = /*@__PURE__*/ fileDesc("Cg5pbnRlcm5hbC5wcm90bxIFcml2ZXIicwoOUGVyc2lzdGVkRXZlbnQSIQoFZXZlbnQYASABKAsyEi5yaXZlci5TdHJlYW1FdmVudBIMCgRoYXNoGAIgASgMEhcKD2NyZWF0b3JfdXNlcl9pZBgEIAEoCRIRCglzaWduYXR1cmUYBSABKAxKBAgDEAQicQoSUGVyc2lzdGVkTWluaWJsb2NrEgwKBGhhc2gYASABKAwSJgoGaGVhZGVyGAIgASgLMhYucml2ZXIuTWluaWJsb2NrSGVhZGVyEiUKBmV2ZW50cxgDIAMoCzIVLnJpdmVyLlBlcnNpc3RlZEV2ZW50Iq8BChVQZXJzaXN0ZWRTeW5jZWRTdHJlYW0SJgoLc3luY19jb29raWUYASABKAsyES5yaXZlci5TeW5jQ29va2llEiMKG2xhc3Rfc25hcHNob3RfbWluaWJsb2NrX251bRgCIAEoBBIaChJsYXN0X21pbmlibG9ja19udW0YAyABKAQSLQoObWluaXBvb2xFdmVudHMYBCADKAsyFS5yaXZlci5QZXJzaXN0ZWRFdmVudGIGcHJvdG8z", [file_protocol]);
|
10
|
+
/**
|
11
|
+
* Describes the message river.PersistedEvent.
|
12
|
+
* Use `create(PersistedEventSchema)` to create a new message.
|
13
|
+
*/
|
14
|
+
export const PersistedEventSchema = /*@__PURE__*/ messageDesc(file_internal, 0);
|
15
|
+
/**
|
16
|
+
* Describes the message river.PersistedMiniblock.
|
17
|
+
* Use `create(PersistedMiniblockSchema)` to create a new message.
|
18
|
+
*/
|
19
|
+
export const PersistedMiniblockSchema = /*@__PURE__*/ messageDesc(file_internal, 1);
|
20
|
+
/**
|
21
|
+
* Describes the message river.PersistedSyncedStream.
|
22
|
+
* Use `create(PersistedSyncedStreamSchema)` to create a new message.
|
23
|
+
*/
|
24
|
+
export const PersistedSyncedStreamSchema = /*@__PURE__*/ messageDesc(file_internal, 2);
|
25
|
+
//# sourceMappingURL=internal_pb.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"internal_pb.js","sourceRoot":"","sources":["../../src/gen/internal_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,qEAAqE;AACrE,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG9C;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAY,aAAa,CACjD,QAAQ,CAAC,8kBAA8kB,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;AA2B5mB;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;AAsBhC;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;AA2BhC;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC"}
|