@togatherlabs/shared-protos 2.1.24 → 2.1.25
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/package.json +18 -15
- package/packages/typescript/README.md +90 -0
- package/packages/typescript/dist/chatservice/chat/v1/chat_pb.d.ts +149 -3
- package/packages/typescript/dist/chatservice/chat/v1/chat_pb.d.ts.map +1 -1
- package/packages/typescript/dist/chatservice/chat/v1/chat_pb.js +26 -1
- package/packages/typescript/dist/chatservice/chat/v1/chat_pb.js.map +1 -1
- package/packages/typescript/dist/common/pagination/v1/index.d.ts +0 -1
- package/packages/typescript/dist/common/pagination/v1/index.js +0 -1
- package/packages/typescript/dist/experienceservice/experience/v1/experience_pb.d.ts +0 -100
- package/packages/typescript/dist/experienceservice/experience/v1/experience_pb.d.ts.map +1 -1
- package/packages/typescript/dist/experienceservice/experience/v1/experience_pb.js +4 -45
- package/packages/typescript/dist/experienceservice/experience/v1/experience_pb.js.map +1 -1
- package/packages/typescript/dist/partnerservice/partner/v1/partner_pb.d.ts +2 -377
- package/packages/typescript/dist/partnerservice/partner/v1/partner_pb.d.ts.map +1 -1
- package/packages/typescript/dist/partnerservice/partner/v1/partner_pb.js +9 -164
- package/packages/typescript/dist/partnerservice/partner/v1/partner_pb.js.map +1 -1
- package/packages/typescript/dist/userservice/user/v1/user_pb.d.ts +14 -26
- package/packages/typescript/dist/userservice/user/v1/user_pb.d.ts.map +1 -1
- package/packages/typescript/dist/userservice/user/v1/user_pb.js +7 -7
- package/packages/typescript/dist/userservice/user/v1/user_pb.js.map +1 -1
- package/packages/typescript/dist/common/pagination/v1/cursor_pb.d.ts +0 -27
- package/packages/typescript/dist/common/pagination/v1/cursor_pb.d.ts.map +0 -1
- package/packages/typescript/dist/common/pagination/v1/cursor_pb.js +0 -14
- package/packages/typescript/dist/common/pagination/v1/cursor_pb.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togatherlabs/shared-protos",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.25",
|
|
4
4
|
"description": "Generated TypeScript gRPC definitions for Togather shared protos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -8,6 +8,22 @@
|
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"prepare": "husky",
|
|
13
|
+
"build": "buf generate && cd packages/typescript && npx tsc && node generate-indexes.js",
|
|
14
|
+
"lint": "buf lint",
|
|
15
|
+
"clean": "rm -rf packages/typescript/dist",
|
|
16
|
+
"prebuild": "pnpm run clean",
|
|
17
|
+
"prepublishOnly": "pnpm run build",
|
|
18
|
+
"commit": "cz",
|
|
19
|
+
"version:patch": "./scripts/version.sh patch",
|
|
20
|
+
"version:minor": "./scripts/version.sh minor",
|
|
21
|
+
"version:major": "./scripts/version.sh major",
|
|
22
|
+
"publish:npm": "./scripts/publish.sh",
|
|
23
|
+
"release:patch": "pnpm run version:patch && git add . && pnpm commit && pnpm run publish:npm && git add . && git commit --amend --no-edit",
|
|
24
|
+
"release:minor": "pnpm run version:minor && git add . && pnpm commit && pnpm run publish:npm && git add . && git commit --amend --no-edit",
|
|
25
|
+
"release:major": "pnpm run version:major && git add . && pnpm commit && pnpm run publish:npm && git add . && git commit --amend --no-edit"
|
|
26
|
+
},
|
|
11
27
|
"keywords": [
|
|
12
28
|
"togather",
|
|
13
29
|
"grpc",
|
|
@@ -16,6 +32,7 @@
|
|
|
16
32
|
],
|
|
17
33
|
"author": "Togather Team",
|
|
18
34
|
"license": "ISC",
|
|
35
|
+
"packageManager": "pnpm@10.7.1",
|
|
19
36
|
"files": [
|
|
20
37
|
"packages/typescript/dist",
|
|
21
38
|
"README.md"
|
|
@@ -116,19 +133,5 @@
|
|
|
116
133
|
"commitizen": {
|
|
117
134
|
"path": "@commitlint/cz-commitlint"
|
|
118
135
|
}
|
|
119
|
-
},
|
|
120
|
-
"scripts": {
|
|
121
|
-
"build": "buf generate && cd packages/typescript && npx tsc && node generate-indexes.js",
|
|
122
|
-
"lint": "buf lint",
|
|
123
|
-
"clean": "rm -rf packages/typescript/dist",
|
|
124
|
-
"prebuild": "pnpm run clean",
|
|
125
|
-
"commit": "cz",
|
|
126
|
-
"version:patch": "./scripts/version.sh patch",
|
|
127
|
-
"version:minor": "./scripts/version.sh minor",
|
|
128
|
-
"version:major": "./scripts/version.sh major",
|
|
129
|
-
"publish:npm": "./scripts/publish.sh",
|
|
130
|
-
"release:patch": "pnpm run version:patch && git add . && pnpm commit && pnpm run publish:npm && git add . && git commit --amend --no-edit",
|
|
131
|
-
"release:minor": "pnpm run version:minor && git add . && pnpm commit && pnpm run publish:npm && git add . && git commit --amend --no-edit",
|
|
132
|
-
"release:major": "pnpm run version:major && git add . && pnpm commit && pnpm run publish:npm && git add . && git commit --amend --no-edit"
|
|
133
136
|
}
|
|
134
137
|
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# @togatherlabs/shared-protos
|
|
2
|
+
|
|
3
|
+
TypeScript bindings for ToGather shared protocol buffer definitions.
|
|
4
|
+
|
|
5
|
+
This package provides type-safe gRPC and ConnectRPC interfaces generated from `.proto` files, ensuring consistency across all ToGather microservices.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @togatherlabs/shared-protos
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
Import the generated types and services in your application:
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { AdminService } from "@togatherlabs/shared-protos/authservice/admin/v1";
|
|
19
|
+
import { UserService } from "@togatherlabs/shared-protos/userservice/user/v1";
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Available Modules
|
|
23
|
+
|
|
24
|
+
- `authservice/admin/v1` - Admin authentication service definitions
|
|
25
|
+
- `userservice/user/v1` - User service definitions
|
|
26
|
+
|
|
27
|
+
## Package Structure
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
dist/
|
|
31
|
+
├── authservice/
|
|
32
|
+
│ └── admin/
|
|
33
|
+
│ └── v1/
|
|
34
|
+
│ ├── admin_pb.d.ts
|
|
35
|
+
│ ├── admin_pb.js
|
|
36
|
+
│ └── index.js
|
|
37
|
+
└── userservice/
|
|
38
|
+
└── user/
|
|
39
|
+
└── v1/
|
|
40
|
+
├── user_pb.d.ts
|
|
41
|
+
├── user_pb.js
|
|
42
|
+
└── index.js
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Examples
|
|
46
|
+
|
|
47
|
+
- Added new optional field to proto → **Minor**
|
|
48
|
+
- Fixed type definition error → **Patch**
|
|
49
|
+
- Removed or renamed existing field → **Major**
|
|
50
|
+
|
|
51
|
+
## Development
|
|
52
|
+
|
|
53
|
+
This package is auto-generated from proto definitions. Do not edit the generated files manually.
|
|
54
|
+
|
|
55
|
+
To regenerate:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
# In the root repository
|
|
59
|
+
pnpm generate
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Publishing
|
|
63
|
+
|
|
64
|
+
This package is automatically published via the root repository's publish script.
|
|
65
|
+
|
|
66
|
+
See the [main repository README](../../README.md) for publishing instructions.
|
|
67
|
+
|
|
68
|
+
## Dependencies
|
|
69
|
+
|
|
70
|
+
**Peer Dependencies:**
|
|
71
|
+
|
|
72
|
+
- `@bufbuild/protobuf` ^2.9.0
|
|
73
|
+
- `@connectrpc/connect` ^2.1.0
|
|
74
|
+
|
|
75
|
+
Make sure these are installed in your consuming application.
|
|
76
|
+
|
|
77
|
+
## Best Practices
|
|
78
|
+
|
|
79
|
+
1. **Always use the latest version** - Keep this package updated across all services
|
|
80
|
+
2. **Import from specific paths** - Use deep imports for better tree-shaking
|
|
81
|
+
3. **Handle breaking changes carefully** - Review changelog before major version updates
|
|
82
|
+
4. **Type safety** - Leverage TypeScript's type checking with these definitions
|
|
83
|
+
|
|
84
|
+
## Support
|
|
85
|
+
|
|
86
|
+
For issues or questions, please refer to the [main repository](https://github.com/CrossroadsAcademy/togather-shared-protos).
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
Maintained by the ToGather Engineering Team
|
|
@@ -124,6 +124,12 @@ export type ChatMessage = Message<"chatservice.chat.v1.ChatMessage"> & {
|
|
|
124
124
|
* @generated from field: optional chatservice.chat.v1.ReplyToMessagePreview reply_to = 7;
|
|
125
125
|
*/
|
|
126
126
|
replyTo?: ReplyToMessagePreview;
|
|
127
|
+
/**
|
|
128
|
+
* Auto-incrementing per room for O(1) unread count
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: int64 sequence_number = 8;
|
|
131
|
+
*/
|
|
132
|
+
sequenceNumber: bigint;
|
|
127
133
|
};
|
|
128
134
|
/**
|
|
129
135
|
* Describes the message chatservice.chat.v1.ChatMessage.
|
|
@@ -170,22 +176,28 @@ export type GetRoomMessagesRequest = Message<"chatservice.chat.v1.GetRoomMessage
|
|
|
170
176
|
* @generated from field: string room_id = 1;
|
|
171
177
|
*/
|
|
172
178
|
roomId: string;
|
|
179
|
+
/**
|
|
180
|
+
* User requesting messages (for authorization)
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: string user_id = 2;
|
|
183
|
+
*/
|
|
184
|
+
userId: string;
|
|
173
185
|
/**
|
|
174
186
|
* Messages per page (default 20, max 50)
|
|
175
187
|
*
|
|
176
|
-
* @generated from field: int32 limit =
|
|
188
|
+
* @generated from field: int32 limit = 3;
|
|
177
189
|
*/
|
|
178
190
|
limit: number;
|
|
179
191
|
/**
|
|
180
192
|
* Cursor: fetch messages before this messageId (for scrolling up)
|
|
181
193
|
*
|
|
182
|
-
* @generated from field: optional string before =
|
|
194
|
+
* @generated from field: optional string before = 4;
|
|
183
195
|
*/
|
|
184
196
|
before?: string;
|
|
185
197
|
/**
|
|
186
198
|
* Cursor: fetch messages after this messageId (for new messages)
|
|
187
199
|
*
|
|
188
|
-
* @generated from field: optional string after =
|
|
200
|
+
* @generated from field: optional string after = 5;
|
|
189
201
|
*/
|
|
190
202
|
after?: string;
|
|
191
203
|
};
|
|
@@ -256,6 +268,120 @@ export type MessagePageInfo = Message<"chatservice.chat.v1.MessagePageInfo"> & {
|
|
|
256
268
|
* Use `create(MessagePageInfoSchema)` to create a new message.
|
|
257
269
|
*/
|
|
258
270
|
export declare const MessagePageInfoSchema: GenMessage<MessagePageInfo>;
|
|
271
|
+
/**
|
|
272
|
+
* Request to get room summaries (last message for each room)
|
|
273
|
+
*
|
|
274
|
+
* @generated from message chatservice.chat.v1.GetRoomSummariesRequest
|
|
275
|
+
*/
|
|
276
|
+
export type GetRoomSummariesRequest = Message<"chatservice.chat.v1.GetRoomSummariesRequest"> & {
|
|
277
|
+
/**
|
|
278
|
+
* User requesting summaries (for unread count calculation)
|
|
279
|
+
*
|
|
280
|
+
* @generated from field: string user_id = 1;
|
|
281
|
+
*/
|
|
282
|
+
userId: string;
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: repeated string room_ids = 2;
|
|
285
|
+
*/
|
|
286
|
+
roomIds: string[];
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* Describes the message chatservice.chat.v1.GetRoomSummariesRequest.
|
|
290
|
+
* Use `create(GetRoomSummariesRequestSchema)` to create a new message.
|
|
291
|
+
*/
|
|
292
|
+
export declare const GetRoomSummariesRequestSchema: GenMessage<GetRoomSummariesRequest>;
|
|
293
|
+
/**
|
|
294
|
+
* Room summary containing last message info and unread count
|
|
295
|
+
*
|
|
296
|
+
* @generated from message chatservice.chat.v1.RoomSummary
|
|
297
|
+
*/
|
|
298
|
+
export type RoomSummary = Message<"chatservice.chat.v1.RoomSummary"> & {
|
|
299
|
+
/**
|
|
300
|
+
* @generated from field: string room_id = 1;
|
|
301
|
+
*/
|
|
302
|
+
roomId: string;
|
|
303
|
+
/**
|
|
304
|
+
* null if room has no messages
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: optional chatservice.chat.v1.ChatMessage last_message = 2;
|
|
307
|
+
*/
|
|
308
|
+
lastMessage?: ChatMessage;
|
|
309
|
+
/**
|
|
310
|
+
* Current sequence number of the room
|
|
311
|
+
*
|
|
312
|
+
* @generated from field: int64 current_sequence = 3;
|
|
313
|
+
*/
|
|
314
|
+
currentSequence: bigint;
|
|
315
|
+
/**
|
|
316
|
+
* Number of unread messages for the user
|
|
317
|
+
*
|
|
318
|
+
* @generated from field: int64 unread_count = 4;
|
|
319
|
+
*/
|
|
320
|
+
unreadCount: bigint;
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* Describes the message chatservice.chat.v1.RoomSummary.
|
|
324
|
+
* Use `create(RoomSummarySchema)` to create a new message.
|
|
325
|
+
*/
|
|
326
|
+
export declare const RoomSummarySchema: GenMessage<RoomSummary>;
|
|
327
|
+
/**
|
|
328
|
+
* Response containing room summaries
|
|
329
|
+
*
|
|
330
|
+
* @generated from message chatservice.chat.v1.GetRoomSummariesResponse
|
|
331
|
+
*/
|
|
332
|
+
export type GetRoomSummariesResponse = Message<"chatservice.chat.v1.GetRoomSummariesResponse"> & {
|
|
333
|
+
/**
|
|
334
|
+
* @generated from field: repeated chatservice.chat.v1.RoomSummary summaries = 1;
|
|
335
|
+
*/
|
|
336
|
+
summaries: RoomSummary[];
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Describes the message chatservice.chat.v1.GetRoomSummariesResponse.
|
|
340
|
+
* Use `create(GetRoomSummariesResponseSchema)` to create a new message.
|
|
341
|
+
*/
|
|
342
|
+
export declare const GetRoomSummariesResponseSchema: GenMessage<GetRoomSummariesResponse>;
|
|
343
|
+
/**
|
|
344
|
+
* Request to mark a room as read
|
|
345
|
+
*
|
|
346
|
+
* @generated from message chatservice.chat.v1.MarkRoomAsReadRequest
|
|
347
|
+
*/
|
|
348
|
+
export type MarkRoomAsReadRequest = Message<"chatservice.chat.v1.MarkRoomAsReadRequest"> & {
|
|
349
|
+
/**
|
|
350
|
+
* @generated from field: string user_id = 1;
|
|
351
|
+
*/
|
|
352
|
+
userId: string;
|
|
353
|
+
/**
|
|
354
|
+
* @generated from field: string room_id = 2;
|
|
355
|
+
*/
|
|
356
|
+
roomId: string;
|
|
357
|
+
/**
|
|
358
|
+
* Mark as read up to this sequence number
|
|
359
|
+
*
|
|
360
|
+
* @generated from field: int64 sequence = 3;
|
|
361
|
+
*/
|
|
362
|
+
sequence: bigint;
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* Describes the message chatservice.chat.v1.MarkRoomAsReadRequest.
|
|
366
|
+
* Use `create(MarkRoomAsReadRequestSchema)` to create a new message.
|
|
367
|
+
*/
|
|
368
|
+
export declare const MarkRoomAsReadRequestSchema: GenMessage<MarkRoomAsReadRequest>;
|
|
369
|
+
/**
|
|
370
|
+
* Response after marking room as read
|
|
371
|
+
*
|
|
372
|
+
* @generated from message chatservice.chat.v1.MarkRoomAsReadResponse
|
|
373
|
+
*/
|
|
374
|
+
export type MarkRoomAsReadResponse = Message<"chatservice.chat.v1.MarkRoomAsReadResponse"> & {
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: bool success = 1;
|
|
377
|
+
*/
|
|
378
|
+
success: boolean;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* Describes the message chatservice.chat.v1.MarkRoomAsReadResponse.
|
|
382
|
+
* Use `create(MarkRoomAsReadResponseSchema)` to create a new message.
|
|
383
|
+
*/
|
|
384
|
+
export declare const MarkRoomAsReadResponseSchema: GenMessage<MarkRoomAsReadResponse>;
|
|
259
385
|
/**
|
|
260
386
|
* Chat Service RPC definition
|
|
261
387
|
*
|
|
@@ -283,5 +409,25 @@ export declare const ChatService: GenService<{
|
|
|
283
409
|
input: typeof GetRoomMessagesRequestSchema;
|
|
284
410
|
output: typeof GetRoomMessagesResponseSchema;
|
|
285
411
|
};
|
|
412
|
+
/**
|
|
413
|
+
* Get room summaries with last message (for experience list)
|
|
414
|
+
*
|
|
415
|
+
* @generated from rpc chatservice.chat.v1.ChatService.GetRoomSummaries
|
|
416
|
+
*/
|
|
417
|
+
getRoomSummaries: {
|
|
418
|
+
methodKind: "unary";
|
|
419
|
+
input: typeof GetRoomSummariesRequestSchema;
|
|
420
|
+
output: typeof GetRoomSummariesResponseSchema;
|
|
421
|
+
};
|
|
422
|
+
/**
|
|
423
|
+
* Mark a room as read up to a specific sequence number
|
|
424
|
+
*
|
|
425
|
+
* @generated from rpc chatservice.chat.v1.ChatService.MarkRoomAsRead
|
|
426
|
+
*/
|
|
427
|
+
markRoomAsRead: {
|
|
428
|
+
methodKind: "unary";
|
|
429
|
+
input: typeof MarkRoomAsReadRequestSchema;
|
|
430
|
+
output: typeof MarkRoomAsReadResponseSchema;
|
|
431
|
+
};
|
|
286
432
|
}>;
|
|
287
433
|
//# sourceMappingURL=chat_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat_pb.d.ts","sourceRoot":"","sources":["../../../../src/chatservice/chat/v1/chat_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,6BAA6B,EAAE,
|
|
1
|
+
{"version":3,"file":"chat_pb.d.ts","sourceRoot":"","sources":["../../../../src/chatservice/chat/v1/chat_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,6BAA6B,EAAE,OACowF,CAAC;AAEjzF;;;;GAIG;AACH,MAAM,MAAM,sBAA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;QAC1C,MAAM,EAAE,OAAO,4BAA4B,CAAC;KAC7C,CAAC;CACH,CAC8C,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file chatservice/chat/v1/chat.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_chatservice_chat_v1_chat = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_chatservice_chat_v1_chat = /*@__PURE__*/ fileDesc("Ch5jaGF0c2VydmljZS9jaGF0L3YxL2NoYXQucHJvdG8SE2NoYXRzZXJ2aWNlLmNoYXQudjEiqwEKFlNlbmRDaGF0TWVzc2FnZVJlcXVlc3QSDwoHcm9vbV9pZBgBIAEoCRIRCglzZW5kZXJfaWQYAiABKAkSEwoLc2VuZGVyX25hbWUYAyABKAkSDwoHY29udGVudBgEIAEoCRI6CghyZXBseV90bxgFIAEoCzIjLmNoYXRzZXJ2aWNlLmNoYXQudjEuUmVwbHlUb01lc3NhZ2VIAIgBAUILCglfcmVwbHlfdG8iXQoOUmVwbHlUb01lc3NhZ2USEgoKbWVzc2FnZV9pZBgBIAEoCRIPCgdjb250ZW50GAIgASgJEhEKCXNlbmRlcl9pZBgDIAEoCRITCgtzZW5kZXJfbmFtZRgEIAEoCSKMAQoXU2VuZENoYXRNZXNzYWdlUmVzcG9uc2USDwoHc3VjY2VzcxgBIAEoCBI2CgdtZXNzYWdlGAIgASgLMiAuY2hhdHNlcnZpY2UuY2hhdC52MS5DaGF0TWVzc2FnZUgAiAEBEhIKBWVycm9yGAMgASgJSAGIAQFCCgoIX21lc3NhZ2VCCAoGX2Vycm9yIucBCgtDaGF0TWVzc2FnZRISCgptZXNzYWdlX2lkGAEgASgJEg8KB3Jvb21faWQYAiABKAkSEQoJc2VuZGVyX2lkGAMgASgJEhMKC3NlbmRlcl9uYW1lGAQgASgJEg8KB2NvbnRlbnQYBSABKAkSEQoJdGltZXN0YW1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11
11
|
* Use `create(SendChatMessageRequestSchema)` to create a new message.
|
|
@@ -46,6 +46,31 @@ export const GetRoomMessagesResponseSchema = /*@__PURE__*/ messageDesc(file_chat
|
|
|
46
46
|
* Use `create(MessagePageInfoSchema)` to create a new message.
|
|
47
47
|
*/
|
|
48
48
|
export const MessagePageInfoSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 7);
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message chatservice.chat.v1.GetRoomSummariesRequest.
|
|
51
|
+
* Use `create(GetRoomSummariesRequestSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export const GetRoomSummariesRequestSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 8);
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message chatservice.chat.v1.RoomSummary.
|
|
56
|
+
* Use `create(RoomSummarySchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const RoomSummarySchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 9);
|
|
59
|
+
/**
|
|
60
|
+
* Describes the message chatservice.chat.v1.GetRoomSummariesResponse.
|
|
61
|
+
* Use `create(GetRoomSummariesResponseSchema)` to create a new message.
|
|
62
|
+
*/
|
|
63
|
+
export const GetRoomSummariesResponseSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 10);
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message chatservice.chat.v1.MarkRoomAsReadRequest.
|
|
66
|
+
* Use `create(MarkRoomAsReadRequestSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export const MarkRoomAsReadRequestSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 11);
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message chatservice.chat.v1.MarkRoomAsReadResponse.
|
|
71
|
+
* Use `create(MarkRoomAsReadResponseSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export const MarkRoomAsReadResponseSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 12);
|
|
49
74
|
/**
|
|
50
75
|
* Chat Service RPC definition
|
|
51
76
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat_pb.js","sourceRoot":"","sources":["../../../../src/chatservice/chat/v1/chat_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,mGAAmG;AACnG,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGlF;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAY,aAAa,CACjE,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"chat_pb.js","sourceRoot":"","sources":["../../../../src/chatservice/chat/v1/chat_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,mGAAmG;AACnG,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGlF;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAY,aAAa,CACjE,QAAQ,CAAC,oyFAAoyF,CAAC,CAAC;AAkCjzF;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AA+BhD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AAwBhD;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AAmDhD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AA+BhD;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AA0ChD;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AAmBhD;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AA4ChD;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AAqBhD;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AAmChD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AAchD;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAyC,aAAa,CAC/F,WAAW,CAAC,6BAA6B,EAAE,EAAE,CAAC,CAAC;AA0BjD;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,6BAA6B,EAAE,EAAE,CAAC,CAAC;AAcjD;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,6BAA6B,EAAE,EAAE,CAAC,CAAC;AAEjD;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GA0CnB,aAAa,CAChB,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { Cursor } from "../../../common/pagination/v1/cursor_pb.js";
|
|
3
2
|
import type { Pagination } from "../../../common/pagination/v1/pagination_pb.js";
|
|
4
3
|
import type { SortOrder } from "../../../common/sortorder/v1/sortorder_pb.js";
|
|
5
4
|
import type { CategoryInfo } from "../../categories/v1/categories_pb.js";
|
|
@@ -85,68 +84,6 @@ export type GetExperiencesResponse = Message<"experienceservice.experience.v1.Ge
|
|
|
85
84
|
* Use `create(GetExperiencesResponseSchema)` to create a new message.
|
|
86
85
|
*/
|
|
87
86
|
export declare const GetExperiencesResponseSchema: GenMessage<GetExperiencesResponse>;
|
|
88
|
-
/**
|
|
89
|
-
* @generated from message experienceservice.experience.v1.GetExperiencesForUserRequest
|
|
90
|
-
*/
|
|
91
|
-
export type GetExperiencesForUserRequest = Message<"experienceservice.experience.v1.GetExperiencesForUserRequest"> & {
|
|
92
|
-
/**
|
|
93
|
-
* @generated from field: string user_id = 1;
|
|
94
|
-
*/
|
|
95
|
-
userId: string;
|
|
96
|
-
/**
|
|
97
|
-
* @generated from field: experienceservice.experience.v1.Coordinate location = 2;
|
|
98
|
-
*/
|
|
99
|
-
location?: Coordinate;
|
|
100
|
-
/**
|
|
101
|
-
* @generated from field: optional int32 from_cursor = 3;
|
|
102
|
-
*/
|
|
103
|
-
fromCursor?: number;
|
|
104
|
-
/**
|
|
105
|
-
* @generated from field: optional int32 limit = 4;
|
|
106
|
-
*/
|
|
107
|
-
limit?: number;
|
|
108
|
-
/**
|
|
109
|
-
* @generated from field: optional experienceservice.experience.v1.SortByForGetExperiencesForUser sort_by = 5;
|
|
110
|
-
*/
|
|
111
|
-
sortBy?: SortByForGetExperiencesForUser;
|
|
112
|
-
/**
|
|
113
|
-
* @generated from field: optional common.sortorder.v1.SortOrder sort_order = 6;
|
|
114
|
-
*/
|
|
115
|
-
sortOrder?: SortOrder;
|
|
116
|
-
/**
|
|
117
|
-
* indterids can empty, proto does not have optional repeated
|
|
118
|
-
*
|
|
119
|
-
* @generated from field: repeated string interest_ids = 7;
|
|
120
|
-
*/
|
|
121
|
-
interestIds: string[];
|
|
122
|
-
/**
|
|
123
|
-
* @generated from field: optional string category_id = 8;
|
|
124
|
-
*/
|
|
125
|
-
categoryId?: string;
|
|
126
|
-
};
|
|
127
|
-
/**
|
|
128
|
-
* Describes the message experienceservice.experience.v1.GetExperiencesForUserRequest.
|
|
129
|
-
* Use `create(GetExperiencesForUserRequestSchema)` to create a new message.
|
|
130
|
-
*/
|
|
131
|
-
export declare const GetExperiencesForUserRequestSchema: GenMessage<GetExperiencesForUserRequest>;
|
|
132
|
-
/**
|
|
133
|
-
* @generated from message experienceservice.experience.v1.GetExperiencesForUserResponse
|
|
134
|
-
*/
|
|
135
|
-
export type GetExperiencesForUserResponse = Message<"experienceservice.experience.v1.GetExperiencesForUserResponse"> & {
|
|
136
|
-
/**
|
|
137
|
-
* @generated from field: repeated experienceservice.experience.v1.Experience experiences = 1;
|
|
138
|
-
*/
|
|
139
|
-
experiences: Experience[];
|
|
140
|
-
/**
|
|
141
|
-
* @generated from field: common.pagination.v1.Cursor pagination = 2;
|
|
142
|
-
*/
|
|
143
|
-
pagination?: Cursor;
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* Describes the message experienceservice.experience.v1.GetExperiencesForUserResponse.
|
|
147
|
-
* Use `create(GetExperiencesForUserResponseSchema)` to create a new message.
|
|
148
|
-
*/
|
|
149
|
-
export declare const GetExperiencesForUserResponseSchema: GenMessage<GetExperiencesForUserResponse>;
|
|
150
87
|
/**
|
|
151
88
|
* @generated from message experienceservice.experience.v1.Experience
|
|
152
89
|
*/
|
|
@@ -385,35 +322,6 @@ export declare enum SortExperienceBy {
|
|
|
385
322
|
* Describes the enum experienceservice.experience.v1.SortExperienceBy.
|
|
386
323
|
*/
|
|
387
324
|
export declare const SortExperienceBySchema: GenEnum<SortExperienceBy>;
|
|
388
|
-
/**
|
|
389
|
-
* @generated from enum experienceservice.experience.v1.SortByForGetExperiencesForUser
|
|
390
|
-
*/
|
|
391
|
-
export declare enum SortByForGetExperiencesForUser {
|
|
392
|
-
/**
|
|
393
|
-
* @generated from enum value: SORT_BY_FOR_GET_EXPERIENCES_FOR_USER_UNSPECIFIED = 0;
|
|
394
|
-
*/
|
|
395
|
-
UNSPECIFIED = 0,
|
|
396
|
-
/**
|
|
397
|
-
* @generated from enum value: SORT_BY_FOR_GET_EXPERIENCES_FOR_USER_DISTANCE = 1;
|
|
398
|
-
*/
|
|
399
|
-
DISTANCE = 1,
|
|
400
|
-
/**
|
|
401
|
-
* @generated from enum value: SORT_BY_FOR_GET_EXPERIENCES_FOR_USER_PRICE_AMOUNT = 2;
|
|
402
|
-
*/
|
|
403
|
-
PRICE_AMOUNT = 2,
|
|
404
|
-
/**
|
|
405
|
-
* @generated from enum value: SORT_BY_FOR_GET_EXPERIENCES_FOR_USER_EVENT_START_TIME = 3;
|
|
406
|
-
*/
|
|
407
|
-
EVENT_START_TIME = 3,
|
|
408
|
-
/**
|
|
409
|
-
* @generated from enum value: SORT_BY_FOR_GET_EXPERIENCES_FOR_USER_CREATED_AT = 4;
|
|
410
|
-
*/
|
|
411
|
-
CREATED_AT = 4
|
|
412
|
-
}
|
|
413
|
-
/**
|
|
414
|
-
* Describes the enum experienceservice.experience.v1.SortByForGetExperiencesForUser.
|
|
415
|
-
*/
|
|
416
|
-
export declare const SortByForGetExperiencesForUserSchema: GenEnum<SortByForGetExperiencesForUser>;
|
|
417
325
|
/**
|
|
418
326
|
* @generated from service experienceservice.experience.v1.ExperienceService
|
|
419
327
|
*/
|
|
@@ -434,13 +342,5 @@ export declare const ExperienceService: GenService<{
|
|
|
434
342
|
input: typeof GetExperiencesRequestSchema;
|
|
435
343
|
output: typeof GetExperiencesResponseSchema;
|
|
436
344
|
};
|
|
437
|
-
/**
|
|
438
|
-
* @generated from rpc experienceservice.experience.v1.ExperienceService.GetExperiencesForUser
|
|
439
|
-
*/
|
|
440
|
-
getExperiencesForUser: {
|
|
441
|
-
methodKind: "unary";
|
|
442
|
-
input: typeof GetExperiencesForUserRequestSchema;
|
|
443
|
-
output: typeof GetExperiencesForUserResponseSchema;
|
|
444
|
-
};
|
|
445
345
|
}>;
|
|
446
346
|
//# sourceMappingURL=experience_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experience_pb.d.ts","sourceRoot":"","sources":["../../../../src/experienceservice/experience/v1/experience_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE7F,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"experience_pb.d.ts","sourceRoot":"","sources":["../../../../src/experienceservice/experience/v1/experience_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gDAAgD,CAAC;AAEjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAE9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,OACq3F,CAAC;AAEp7F;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,0DAA0D,CAAC,GAAG;IAC3G;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,UAAU,CAAC,wBAAwB,CACf,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,2DAA2D,CAAC,GAAG;IAC7G;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF;;;GAGG;AACH,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