@togatherlabs/shared-protos 2.1.36 → 2.1.38
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 +7 -1
- package/packages/typescript/dist/chatservice/chat/v1/chat_pb.d.ts +1 -130
- package/packages/typescript/dist/chatservice/chat/v1/chat_pb.d.ts.map +1 -1
- package/packages/typescript/dist/chatservice/chat/v1/chat_pb.js +10 -47
- package/packages/typescript/dist/chatservice/chat/v1/chat_pb.js.map +1 -1
- package/packages/typescript/dist/feedservice/v1/feed_pb.d.ts +198 -0
- package/packages/typescript/dist/feedservice/v1/feed_pb.d.ts.map +1 -0
- package/packages/typescript/dist/feedservice/v1/feed_pb.js +95 -0
- package/packages/typescript/dist/feedservice/v1/feed_pb.js.map +1 -0
- package/packages/typescript/dist/feedservice/v1/index.d.ts +1 -0
- package/packages/typescript/dist/feedservice/v1/index.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togatherlabs/shared-protos",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.38",
|
|
4
4
|
"description": "Generated TypeScript gRPC definitions for Togather shared protos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -99,6 +99,12 @@
|
|
|
99
99
|
"require": "./packages/typescript/dist/experienceservice/tags/v1/index.js",
|
|
100
100
|
"default": "./packages/typescript/dist/experienceservice/tags/v1/index.js"
|
|
101
101
|
},
|
|
102
|
+
"./feedservice/v1": {
|
|
103
|
+
"types": "./packages/typescript/dist/feedservice/v1/index.d.ts",
|
|
104
|
+
"import": "./packages/typescript/dist/feedservice/v1/index.js",
|
|
105
|
+
"require": "./packages/typescript/dist/feedservice/v1/index.js",
|
|
106
|
+
"default": "./packages/typescript/dist/feedservice/v1/index.js"
|
|
107
|
+
},
|
|
102
108
|
"./partnerservice/partner/v1": {
|
|
103
109
|
"types": "./packages/typescript/dist/partnerservice/partner/v1/index.d.ts",
|
|
104
110
|
"import": "./packages/typescript/dist/partnerservice/partner/v1/index.js",
|
|
@@ -1,75 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Message } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file chatservice/chat/v1/chat.proto.
|
|
5
5
|
*/
|
|
6
6
|
export declare const file_chatservice_chat_v1_chat: GenFile;
|
|
7
|
-
/**
|
|
8
|
-
* Media content details for image/video/file messages
|
|
9
|
-
*
|
|
10
|
-
* @generated from message chatservice.chat.v1.MediaContent
|
|
11
|
-
*/
|
|
12
|
-
export type MediaContent = Message<"chatservice.chat.v1.MediaContent"> & {
|
|
13
|
-
/**
|
|
14
|
-
* CDN or S3 URL for accessing the media
|
|
15
|
-
*
|
|
16
|
-
* @generated from field: string url = 1;
|
|
17
|
-
*/
|
|
18
|
-
url: string;
|
|
19
|
-
/**
|
|
20
|
-
* S3 key for reference
|
|
21
|
-
*
|
|
22
|
-
* @generated from field: string s3_key = 2;
|
|
23
|
-
*/
|
|
24
|
-
s3Key: string;
|
|
25
|
-
/**
|
|
26
|
-
* Thumbnail URL for images/videos
|
|
27
|
-
*
|
|
28
|
-
* @generated from field: optional string thumbnail_url = 3;
|
|
29
|
-
*/
|
|
30
|
-
thumbnailUrl?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Original file name
|
|
33
|
-
*
|
|
34
|
-
* @generated from field: optional string file_name = 4;
|
|
35
|
-
*/
|
|
36
|
-
fileName?: string;
|
|
37
|
-
/**
|
|
38
|
-
* File size in bytes
|
|
39
|
-
*
|
|
40
|
-
* @generated from field: optional int64 file_size = 5;
|
|
41
|
-
*/
|
|
42
|
-
fileSize?: bigint;
|
|
43
|
-
/**
|
|
44
|
-
* MIME type (e.g., image/jpeg, video/mp4)
|
|
45
|
-
*
|
|
46
|
-
* @generated from field: optional string mime_type = 6;
|
|
47
|
-
*/
|
|
48
|
-
mimeType?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Duration in seconds (for video/audio)
|
|
51
|
-
*
|
|
52
|
-
* @generated from field: optional int32 duration = 7;
|
|
53
|
-
*/
|
|
54
|
-
duration?: number;
|
|
55
|
-
/**
|
|
56
|
-
* Width in pixels (for images/videos)
|
|
57
|
-
*
|
|
58
|
-
* @generated from field: optional int32 width = 8;
|
|
59
|
-
*/
|
|
60
|
-
width?: number;
|
|
61
|
-
/**
|
|
62
|
-
* Height in pixels (for images/videos)
|
|
63
|
-
*
|
|
64
|
-
* @generated from field: optional int32 height = 9;
|
|
65
|
-
*/
|
|
66
|
-
height?: number;
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Describes the message chatservice.chat.v1.MediaContent.
|
|
70
|
-
* Use `create(MediaContentSchema)` to create a new message.
|
|
71
|
-
*/
|
|
72
|
-
export declare const MediaContentSchema: GenMessage<MediaContent>;
|
|
73
7
|
/**
|
|
74
8
|
* Request to send a chat message
|
|
75
9
|
*
|
|
@@ -89,8 +23,6 @@ export type SendChatMessageRequest = Message<"chatservice.chat.v1.SendChatMessag
|
|
|
89
23
|
*/
|
|
90
24
|
senderName: string;
|
|
91
25
|
/**
|
|
92
|
-
* Text content (caption for media)
|
|
93
|
-
*
|
|
94
26
|
* @generated from field: string content = 4;
|
|
95
27
|
*/
|
|
96
28
|
content: string;
|
|
@@ -98,18 +30,6 @@ export type SendChatMessageRequest = Message<"chatservice.chat.v1.SendChatMessag
|
|
|
98
30
|
* @generated from field: optional chatservice.chat.v1.ReplyToMessage reply_to = 5;
|
|
99
31
|
*/
|
|
100
32
|
replyTo?: ReplyToMessage;
|
|
101
|
-
/**
|
|
102
|
-
* Message type (text, image, video, file)
|
|
103
|
-
*
|
|
104
|
-
* @generated from field: chatservice.chat.v1.MessageType type = 6;
|
|
105
|
-
*/
|
|
106
|
-
type: MessageType;
|
|
107
|
-
/**
|
|
108
|
-
* Media details (for non-text messages)
|
|
109
|
-
*
|
|
110
|
-
* @generated from field: optional chatservice.chat.v1.MediaContent media = 7;
|
|
111
|
-
*/
|
|
112
|
-
media?: MediaContent;
|
|
113
33
|
};
|
|
114
34
|
/**
|
|
115
35
|
* Describes the message chatservice.chat.v1.SendChatMessageRequest.
|
|
@@ -204,24 +124,6 @@ export type ChatMessage = Message<"chatservice.chat.v1.ChatMessage"> & {
|
|
|
204
124
|
* @generated from field: optional chatservice.chat.v1.ReplyToMessagePreview reply_to = 7;
|
|
205
125
|
*/
|
|
206
126
|
replyTo?: ReplyToMessagePreview;
|
|
207
|
-
/**
|
|
208
|
-
* Auto-incrementing per room for O(1) unread count
|
|
209
|
-
*
|
|
210
|
-
* @generated from field: int64 sequence_number = 8;
|
|
211
|
-
*/
|
|
212
|
-
sequenceNumber: bigint;
|
|
213
|
-
/**
|
|
214
|
-
* Message type (text, image, video, file)
|
|
215
|
-
*
|
|
216
|
-
* @generated from field: chatservice.chat.v1.MessageType type = 9;
|
|
217
|
-
*/
|
|
218
|
-
type: MessageType;
|
|
219
|
-
/**
|
|
220
|
-
* Media details (for non-text messages)
|
|
221
|
-
*
|
|
222
|
-
* @generated from field: optional chatservice.chat.v1.MediaContent media = 10;
|
|
223
|
-
*/
|
|
224
|
-
media?: MediaContent;
|
|
225
127
|
};
|
|
226
128
|
/**
|
|
227
129
|
* Describes the message chatservice.chat.v1.ChatMessage.
|
|
@@ -354,37 +256,6 @@ export type MessagePageInfo = Message<"chatservice.chat.v1.MessagePageInfo"> & {
|
|
|
354
256
|
* Use `create(MessagePageInfoSchema)` to create a new message.
|
|
355
257
|
*/
|
|
356
258
|
export declare const MessagePageInfoSchema: GenMessage<MessagePageInfo>;
|
|
357
|
-
/**
|
|
358
|
-
* Message type enum for different content types
|
|
359
|
-
*
|
|
360
|
-
* @generated from enum chatservice.chat.v1.MessageType
|
|
361
|
-
*/
|
|
362
|
-
export declare enum MessageType {
|
|
363
|
-
/**
|
|
364
|
-
* @generated from enum value: MESSAGE_TYPE_UNSPECIFIED = 0;
|
|
365
|
-
*/
|
|
366
|
-
UNSPECIFIED = 0,
|
|
367
|
-
/**
|
|
368
|
-
* @generated from enum value: MESSAGE_TYPE_TEXT = 1;
|
|
369
|
-
*/
|
|
370
|
-
TEXT = 1,
|
|
371
|
-
/**
|
|
372
|
-
* @generated from enum value: MESSAGE_TYPE_IMAGE = 2;
|
|
373
|
-
*/
|
|
374
|
-
IMAGE = 2,
|
|
375
|
-
/**
|
|
376
|
-
* @generated from enum value: MESSAGE_TYPE_VIDEO = 3;
|
|
377
|
-
*/
|
|
378
|
-
VIDEO = 3,
|
|
379
|
-
/**
|
|
380
|
-
* @generated from enum value: MESSAGE_TYPE_FILE = 4;
|
|
381
|
-
*/
|
|
382
|
-
FILE = 4
|
|
383
|
-
}
|
|
384
|
-
/**
|
|
385
|
-
* Describes the enum chatservice.chat.v1.MessageType.
|
|
386
|
-
*/
|
|
387
|
-
export declare const MessageTypeSchema: GenEnum<MessageType>;
|
|
388
259
|
/**
|
|
389
260
|
* Chat Service RPC definition
|
|
390
261
|
*
|
|
@@ -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,
|
|
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,OACk3D,CAAC;AAE/5D;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAAC,4CAA4C,CAAC,GAAG;IAC3F;;OAEG;IACH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qCAAqC,CAAC,GAAG;IAC7E;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IAEzB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAAe,CACf,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC;IACnC;;;;;OAKG;IACH,eAAe,EAAE;QACf,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,4BAA4B,CAAC;QAC3C,MAAM,EAAE,OAAO,6BAA6B,CAAC;KAC9C,CAAC;IACF;;;;OAIG;IACH,eAAe,EAAE;QACf,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,4BAA4B,CAAC;QAC3C,MAAM,EAAE,OAAO,6BAA6B,CAAC;KAC9C,CAAC;CACH,CAC8C,CAAC"}
|
|
@@ -1,88 +1,51 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=.js"
|
|
2
2
|
// @generated from file chatservice/chat/v1/chat.proto (package chatservice.chat.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import {
|
|
4
|
+
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("
|
|
9
|
-
/**
|
|
10
|
-
* Describes the message chatservice.chat.v1.MediaContent.
|
|
11
|
-
* Use `create(MediaContentSchema)` to create a new message.
|
|
12
|
-
*/
|
|
13
|
-
export const MediaContentSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 0);
|
|
8
|
+
export const file_chatservice_chat_v1_chat = /*@__PURE__*/ fileDesc("Ch5jaGF0c2VydmljZS9jaGF0L3YxL2NoYXQucHJvdG8SE2NoYXRzZXJ2aWNlLmNoYXQudjEiqwEKFlNlbmRDaGF0TWVzc2FnZVJlcXVlc3QSDwoHcm9vbV9pZBgBIAEoCRIRCglzZW5kZXJfaWQYAiABKAkSEwoLc2VuZGVyX25hbWUYAyABKAkSDwoHY29udGVudBgEIAEoCRI6CghyZXBseV90bxgFIAEoCzIjLmNoYXRzZXJ2aWNlLmNoYXQudjEuUmVwbHlUb01lc3NhZ2VIAIgBAUILCglfcmVwbHlfdG8iXQoOUmVwbHlUb01lc3NhZ2USEgoKbWVzc2FnZV9pZBgBIAEoCRIPCgdjb250ZW50GAIgASgJEhEKCXNlbmRlcl9pZBgDIAEoCRITCgtzZW5kZXJfbmFtZRgEIAEoCSKMAQoXU2VuZENoYXRNZXNzYWdlUmVzcG9uc2USDwoHc3VjY2VzcxgBIAEoCBI2CgdtZXNzYWdlGAIgASgLMiAuY2hhdHNlcnZpY2UuY2hhdC52MS5DaGF0TWVzc2FnZUgAiAEBEhIKBWVycm9yGAMgASgJSAGIAQFCCgoIX21lc3NhZ2VCCAoGX2Vycm9yIs4BCgtDaGF0TWVzc2FnZRISCgptZXNzYWdlX2lkGAEgASgJEg8KB3Jvb21faWQYAiABKAkSEQoJc2VuZGVyX2lkGAMgASgJEhMKC3NlbmRlcl9uYW1lGAQgASgJEg8KB2NvbnRlbnQYBSABKAkSEQoJdGltZXN0YW1wGAYgASgDEkEKCHJlcGx5X3RvGAcgASgLMiouY2hhdHNlcnZpY2UuY2hhdC52MS5SZXBseVRvTWVzc2FnZVByZXZpZXdIAIgBAUILCglfcmVwbHlfdG8iZAoVUmVwbHlUb01lc3NhZ2VQcmV2aWV3EhIKCm1lc3NhZ2VfaWQYASABKAkSDwoHY29udGVudBgCIAEoCRIRCglzZW5kZXJfaWQYAyABKAkSEwoLc2VuZGVyX25hbWUYBCABKAkidgoWR2V0Um9vbU1lc3NhZ2VzUmVxdWVzdBIPCgdyb29tX2lkGAEgASgJEg0KBWxpbWl0GAIgASgFEhMKBmJlZm9yZRgDIAEoCUgAiAEBEhIKBWFmdGVyGAQgASgJSAGIAQFCCQoHX2JlZm9yZUIICgZfYWZ0ZXIihgEKF0dldFJvb21NZXNzYWdlc1Jlc3BvbnNlEjIKCG1lc3NhZ2VzGAEgAygLMiAuY2hhdHNlcnZpY2UuY2hhdC52MS5DaGF0TWVzc2FnZRI3CglwYWdlX2luZm8YAiABKAsyJC5jaGF0c2VydmljZS5jaGF0LnYxLk1lc3NhZ2VQYWdlSW5mbyKsAQoPTWVzc2FnZVBhZ2VJbmZvEhUKDWhhc19uZXh0X3BhZ2UYASABKAgSGQoRaGFzX3ByZXZpb3VzX3BhZ2UYAiABKAgSGQoMc3RhcnRfY3Vyc29yGAMgASgJSACIAQESFwoKZW5kX2N1cnNvchgEIAEoCUgBiAEBEhMKC3RvdGFsX2NvdW50GAUgASgFQg8KDV9zdGFydF9jdXJzb3JCDQoLX2VuZF9jdXJzb3Iy6QEKC0NoYXRTZXJ2aWNlEmwKD1NlbmRDaGF0TWVzc2FnZRIrLmNoYXRzZXJ2aWNlLmNoYXQudjEuU2VuZENoYXRNZXNzYWdlUmVxdWVzdBosLmNoYXRzZXJ2aWNlLmNoYXQudjEuU2VuZENoYXRNZXNzYWdlUmVzcG9uc2USbAoPR2V0Um9vbU1lc3NhZ2VzEisuY2hhdHNlcnZpY2UuY2hhdC52MS5HZXRSb29tTWVzc2FnZXNSZXF1ZXN0GiwuY2hhdHNlcnZpY2UuY2hhdC52MS5HZXRSb29tTWVzc2FnZXNSZXNwb25zZWIGcHJvdG8z");
|
|
14
9
|
/**
|
|
15
10
|
* Describes the message chatservice.chat.v1.SendChatMessageRequest.
|
|
16
11
|
* Use `create(SendChatMessageRequestSchema)` to create a new message.
|
|
17
12
|
*/
|
|
18
|
-
export const SendChatMessageRequestSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat,
|
|
13
|
+
export const SendChatMessageRequestSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 0);
|
|
19
14
|
/**
|
|
20
15
|
* Describes the message chatservice.chat.v1.ReplyToMessage.
|
|
21
16
|
* Use `create(ReplyToMessageSchema)` to create a new message.
|
|
22
17
|
*/
|
|
23
|
-
export const ReplyToMessageSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat,
|
|
18
|
+
export const ReplyToMessageSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 1);
|
|
24
19
|
/**
|
|
25
20
|
* Describes the message chatservice.chat.v1.SendChatMessageResponse.
|
|
26
21
|
* Use `create(SendChatMessageResponseSchema)` to create a new message.
|
|
27
22
|
*/
|
|
28
|
-
export const SendChatMessageResponseSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat,
|
|
23
|
+
export const SendChatMessageResponseSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 2);
|
|
29
24
|
/**
|
|
30
25
|
* Describes the message chatservice.chat.v1.ChatMessage.
|
|
31
26
|
* Use `create(ChatMessageSchema)` to create a new message.
|
|
32
27
|
*/
|
|
33
|
-
export const ChatMessageSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat,
|
|
28
|
+
export const ChatMessageSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 3);
|
|
34
29
|
/**
|
|
35
30
|
* Describes the message chatservice.chat.v1.ReplyToMessagePreview.
|
|
36
31
|
* Use `create(ReplyToMessagePreviewSchema)` to create a new message.
|
|
37
32
|
*/
|
|
38
|
-
export const ReplyToMessagePreviewSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat,
|
|
33
|
+
export const ReplyToMessagePreviewSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 4);
|
|
39
34
|
/**
|
|
40
35
|
* Describes the message chatservice.chat.v1.GetRoomMessagesRequest.
|
|
41
36
|
* Use `create(GetRoomMessagesRequestSchema)` to create a new message.
|
|
42
37
|
*/
|
|
43
|
-
export const GetRoomMessagesRequestSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat,
|
|
38
|
+
export const GetRoomMessagesRequestSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 5);
|
|
44
39
|
/**
|
|
45
40
|
* Describes the message chatservice.chat.v1.GetRoomMessagesResponse.
|
|
46
41
|
* Use `create(GetRoomMessagesResponseSchema)` to create a new message.
|
|
47
42
|
*/
|
|
48
|
-
export const GetRoomMessagesResponseSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat,
|
|
43
|
+
export const GetRoomMessagesResponseSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 6);
|
|
49
44
|
/**
|
|
50
45
|
* Describes the message chatservice.chat.v1.MessagePageInfo.
|
|
51
46
|
* Use `create(MessagePageInfoSchema)` to create a new message.
|
|
52
47
|
*/
|
|
53
|
-
export const MessagePageInfoSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat,
|
|
54
|
-
/**
|
|
55
|
-
* Message type enum for different content types
|
|
56
|
-
*
|
|
57
|
-
* @generated from enum chatservice.chat.v1.MessageType
|
|
58
|
-
*/
|
|
59
|
-
export var MessageType;
|
|
60
|
-
(function (MessageType) {
|
|
61
|
-
/**
|
|
62
|
-
* @generated from enum value: MESSAGE_TYPE_UNSPECIFIED = 0;
|
|
63
|
-
*/
|
|
64
|
-
MessageType[MessageType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
65
|
-
/**
|
|
66
|
-
* @generated from enum value: MESSAGE_TYPE_TEXT = 1;
|
|
67
|
-
*/
|
|
68
|
-
MessageType[MessageType["TEXT"] = 1] = "TEXT";
|
|
69
|
-
/**
|
|
70
|
-
* @generated from enum value: MESSAGE_TYPE_IMAGE = 2;
|
|
71
|
-
*/
|
|
72
|
-
MessageType[MessageType["IMAGE"] = 2] = "IMAGE";
|
|
73
|
-
/**
|
|
74
|
-
* @generated from enum value: MESSAGE_TYPE_VIDEO = 3;
|
|
75
|
-
*/
|
|
76
|
-
MessageType[MessageType["VIDEO"] = 3] = "VIDEO";
|
|
77
|
-
/**
|
|
78
|
-
* @generated from enum value: MESSAGE_TYPE_FILE = 4;
|
|
79
|
-
*/
|
|
80
|
-
MessageType[MessageType["FILE"] = 4] = "FILE";
|
|
81
|
-
})(MessageType || (MessageType = {}));
|
|
82
|
-
/**
|
|
83
|
-
* Describes the enum chatservice.chat.v1.MessageType.
|
|
84
|
-
*/
|
|
85
|
-
export const MessageTypeSchema = /*@__PURE__*/ enumDesc(file_chatservice_chat_v1_chat, 0);
|
|
48
|
+
export const MessagePageInfoSchema = /*@__PURE__*/ messageDesc(file_chatservice_chat_v1_chat, 7);
|
|
86
49
|
/**
|
|
87
50
|
* Chat Service RPC definition
|
|
88
51
|
*
|
|
@@ -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,
|
|
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,k5DAAk5D,CAAC,CAAC;AAkC/5D;;;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;AA4ChD;;;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;AAmChD;;;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;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAsBnB,aAAa,CAChB,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Cursor } from "../../common/pagination/v1/cursor_pb.js";
|
|
3
|
+
import type { Experience } from "../../experienceservice/experience/v1/experience_pb.js";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file feedservice/v1/feed.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_feedservice_v1_feed: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message feedservice.v1.GetFeedForUserRequest
|
|
11
|
+
*/
|
|
12
|
+
export type GetFeedForUserRequest = Message<"feedservice.v1.GetFeedForUserRequest"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string user_id = 1;
|
|
15
|
+
*/
|
|
16
|
+
userId: string;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: optional int32 limit = 2;
|
|
19
|
+
*/
|
|
20
|
+
limit?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: optional string from_cursor = 3;
|
|
23
|
+
*/
|
|
24
|
+
fromCursor?: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message feedservice.v1.GetFeedForUserRequest.
|
|
28
|
+
* Use `create(GetFeedForUserRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export declare const GetFeedForUserRequestSchema: GenMessage<GetFeedForUserRequest>;
|
|
31
|
+
/**
|
|
32
|
+
* @generated from message feedservice.v1.GetFeedForUserResponse
|
|
33
|
+
*/
|
|
34
|
+
export type GetFeedForUserResponse = Message<"feedservice.v1.GetFeedForUserResponse"> & {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: repeated feedservice.v1.RecommendedExperience items = 1;
|
|
37
|
+
*/
|
|
38
|
+
items: RecommendedExperience[];
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: common.pagination.v1.Cursor pagination = 2;
|
|
41
|
+
*/
|
|
42
|
+
pagination?: Cursor;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message feedservice.v1.GetFeedForUserResponse.
|
|
46
|
+
* Use `create(GetFeedForUserResponseSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export declare const GetFeedForUserResponseSchema: GenMessage<GetFeedForUserResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from message feedservice.v1.RecommendedExperience
|
|
51
|
+
*/
|
|
52
|
+
export type RecommendedExperience = Message<"feedservice.v1.RecommendedExperience"> & {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: experienceservice.experience.v1.Experience experience = 1;
|
|
55
|
+
*/
|
|
56
|
+
experience?: Experience;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: feedservice.v1.RecommendationType recommendation_type = 2;
|
|
59
|
+
*/
|
|
60
|
+
recommendationType: RecommendationType;
|
|
61
|
+
/**
|
|
62
|
+
* distance from user location
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: optional float distance_in_km = 3;
|
|
65
|
+
*/
|
|
66
|
+
distanceInKm?: number;
|
|
67
|
+
/**
|
|
68
|
+
* only for ML based recommendations
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: optional float ranking_score = 4;
|
|
71
|
+
*/
|
|
72
|
+
rankingScore?: number;
|
|
73
|
+
/**
|
|
74
|
+
* only for ML based recommendations
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: optional feedservice.v1.RecommendationMetadata recommendation_metadata = 5;
|
|
77
|
+
*/
|
|
78
|
+
recommendationMetadata?: RecommendationMetadata;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Describes the message feedservice.v1.RecommendedExperience.
|
|
82
|
+
* Use `create(RecommendedExperienceSchema)` to create a new message.
|
|
83
|
+
*/
|
|
84
|
+
export declare const RecommendedExperienceSchema: GenMessage<RecommendedExperience>;
|
|
85
|
+
/**
|
|
86
|
+
* @generated from message feedservice.v1.RecommendationMetadata
|
|
87
|
+
*/
|
|
88
|
+
export type RecommendationMetadata = Message<"feedservice.v1.RecommendationMetadata"> & {
|
|
89
|
+
/**
|
|
90
|
+
* ID of the recommendation request
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: string request_id = 1;
|
|
93
|
+
*/
|
|
94
|
+
requestId: string;
|
|
95
|
+
/**
|
|
96
|
+
* What triggered the recommendation request
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: feedservice.v1.RequestTrigger trigger = 2;
|
|
99
|
+
*/
|
|
100
|
+
trigger: RequestTrigger;
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: optional string session_id = 3;
|
|
103
|
+
*/
|
|
104
|
+
sessionId?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Retrieval model version
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: string retrieval_model = 4;
|
|
109
|
+
*/
|
|
110
|
+
retrievalModel: string;
|
|
111
|
+
/**
|
|
112
|
+
* Ranking model version
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: string ranking_model = 5;
|
|
115
|
+
*/
|
|
116
|
+
rankingModel: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: string served_at = 6;
|
|
119
|
+
*/
|
|
120
|
+
servedAt: string;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message feedservice.v1.RecommendationMetadata.
|
|
124
|
+
* Use `create(RecommendationMetadataSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export declare const RecommendationMetadataSchema: GenMessage<RecommendationMetadata>;
|
|
127
|
+
/**
|
|
128
|
+
* @generated from enum feedservice.v1.RecommendationType
|
|
129
|
+
*/
|
|
130
|
+
export declare enum RecommendationType {
|
|
131
|
+
/**
|
|
132
|
+
* @generated from enum value: RECOMMENDATION_TYPE_UNSPECIFIED = 0;
|
|
133
|
+
*/
|
|
134
|
+
UNSPECIFIED = 0,
|
|
135
|
+
/**
|
|
136
|
+
* @generated from enum value: RECOMMENDATION_TYPE_RULE_BASED = 1;
|
|
137
|
+
*/
|
|
138
|
+
RULE_BASED = 1,
|
|
139
|
+
/**
|
|
140
|
+
* @generated from enum value: RECOMMENDATION_TYPE_ML_BASED = 2;
|
|
141
|
+
*/
|
|
142
|
+
ML_BASED = 2
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Describes the enum feedservice.v1.RecommendationType.
|
|
146
|
+
*/
|
|
147
|
+
export declare const RecommendationTypeSchema: GenEnum<RecommendationType>;
|
|
148
|
+
/**
|
|
149
|
+
* @generated from enum feedservice.v1.RequestTrigger
|
|
150
|
+
*/
|
|
151
|
+
export declare enum RequestTrigger {
|
|
152
|
+
/**
|
|
153
|
+
* @generated from enum value: REQUEST_TRIGGER_UNSPECIFIED = 0;
|
|
154
|
+
*/
|
|
155
|
+
UNSPECIFIED = 0,
|
|
156
|
+
/**
|
|
157
|
+
* User opens Explore tab (initial load)
|
|
158
|
+
*
|
|
159
|
+
* @generated from enum value: REQUEST_TRIGGER_EXPLORE = 1;
|
|
160
|
+
*/
|
|
161
|
+
EXPLORE = 1,
|
|
162
|
+
/**
|
|
163
|
+
* User scrolls to load more items
|
|
164
|
+
*
|
|
165
|
+
* @generated from enum value: REQUEST_TRIGGER_SCROLL = 2;
|
|
166
|
+
*/
|
|
167
|
+
SCROLL = 2,
|
|
168
|
+
/**
|
|
169
|
+
* User pulls to refresh
|
|
170
|
+
*
|
|
171
|
+
* @generated from enum value: REQUEST_TRIGGER_REFRESH = 3;
|
|
172
|
+
*/
|
|
173
|
+
REFRESH = 3,
|
|
174
|
+
/**
|
|
175
|
+
* Location change invalidates cached recommendations.
|
|
176
|
+
*
|
|
177
|
+
* @generated from enum value: REQUEST_TRIGGER_LOCATION_CHANGE = 4;
|
|
178
|
+
*/
|
|
179
|
+
LOCATION_CHANGE = 4
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Describes the enum feedservice.v1.RequestTrigger.
|
|
183
|
+
*/
|
|
184
|
+
export declare const RequestTriggerSchema: GenEnum<RequestTrigger>;
|
|
185
|
+
/**
|
|
186
|
+
* @generated from service feedservice.v1.FeedService
|
|
187
|
+
*/
|
|
188
|
+
export declare const FeedService: GenService<{
|
|
189
|
+
/**
|
|
190
|
+
* @generated from rpc feedservice.v1.FeedService.GetFeedForUser
|
|
191
|
+
*/
|
|
192
|
+
getFeedForUser: {
|
|
193
|
+
methodKind: "unary";
|
|
194
|
+
input: typeof GetFeedForUserRequestSchema;
|
|
195
|
+
output: typeof GetFeedForUserResponseSchema;
|
|
196
|
+
};
|
|
197
|
+
}>;
|
|
198
|
+
//# sourceMappingURL=feed_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feed_pb.d.ts","sourceRoot":"","sources":["../../../src/feedservice/v1/feed_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE7F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yCAAyC,CAAC;AAEtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AAEzF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,OAC2tD,CAAC;AAEnwD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,sCAAsC,CAAC,GAAG;IACpF;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,UAAU,CAAC,qBAAqB,CAChC,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAAC,uCAAuC,CAAC,GAAG;IACtF;;OAEG;IACH,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAE/B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE,UAAU,CAAC,sBAAsB,CAClC,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,sCAAsC,CAAC,GAAG;IACpF;;OAEG;IACH,UAAU,CAAC,EAAE,U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C;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC;IACnC;;OAEG;IACH,cAAc,EAAE;QACd,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,2BAA2B,CAAC;QAC1C,MAAM,EAAE,OAAO,4BAA4B,CAAC;KAC7C,CAAC;CACH,CACyC,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file feedservice/v1/feed.proto (package feedservice.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_common_pagination_v1_cursor } from "../../common/pagination/v1/cursor_pb.js";
|
|
6
|
+
import { file_experienceservice_experience_v1_experience } from "../../experienceservice/experience/v1/experience_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file feedservice/v1/feed.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_feedservice_v1_feed = /*@__PURE__*/ fileDesc("ChlmZWVkc2VydmljZS92MS9mZWVkLnByb3RvEg5mZWVkc2VydmljZS52MSJwChVHZXRGZWVkRm9yVXNlclJlcXVlc3QSDwoHdXNlcl9pZBgBIAEoCRISCgVsaW1pdBgCIAEoBUgAiAEBEhgKC2Zyb21fY3Vyc29yGAMgASgJSAGIAQFCCAoGX2xpbWl0Qg4KDF9mcm9tX2N1cnNvciKAAQoWR2V0RmVlZEZvclVzZXJSZXNwb25zZRI0CgVpdGVtcxgBIAMoCzIlLmZlZWRzZXJ2aWNlLnYxLlJlY29tbWVuZGVkRXhwZXJpZW5jZRIwCgpwYWdpbmF0aW9uGAIgASgLMhwuY29tbW9uLnBhZ2luYXRpb24udjEuQ3Vyc29yIuECChVSZWNvbW1lbmRlZEV4cGVyaWVuY2USPwoKZXhwZXJpZW5jZRgBIAEoCzIrLmV4cGVyaWVuY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ybgoLRmVlZFNlcnZpY2USXwoOR2V0RmVlZEZvclVzZXISJS5mZWVkc2VydmljZS52MS5HZXRGZWVkRm9yVXNlclJlcXVlc3QaJi5mZWVkc2VydmljZS52MS5HZXRGZWVkRm9yVXNlclJlc3BvbnNlYgZwcm90bzM", [file_common_pagination_v1_cursor, file_experienceservice_experience_v1_experience]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message feedservice.v1.GetFeedForUserRequest.
|
|
13
|
+
* Use `create(GetFeedForUserRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const GetFeedForUserRequestSchema = /*@__PURE__*/ messageDesc(file_feedservice_v1_feed, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message feedservice.v1.GetFeedForUserResponse.
|
|
18
|
+
* Use `create(GetFeedForUserResponseSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const GetFeedForUserResponseSchema = /*@__PURE__*/ messageDesc(file_feedservice_v1_feed, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message feedservice.v1.RecommendedExperience.
|
|
23
|
+
* Use `create(RecommendedExperienceSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const RecommendedExperienceSchema = /*@__PURE__*/ messageDesc(file_feedservice_v1_feed, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message feedservice.v1.RecommendationMetadata.
|
|
28
|
+
* Use `create(RecommendationMetadataSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const RecommendationMetadataSchema = /*@__PURE__*/ messageDesc(file_feedservice_v1_feed, 3);
|
|
31
|
+
/**
|
|
32
|
+
* @generated from enum feedservice.v1.RecommendationType
|
|
33
|
+
*/
|
|
34
|
+
export var RecommendationType;
|
|
35
|
+
(function (RecommendationType) {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum value: RECOMMENDATION_TYPE_UNSPECIFIED = 0;
|
|
38
|
+
*/
|
|
39
|
+
RecommendationType[RecommendationType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: RECOMMENDATION_TYPE_RULE_BASED = 1;
|
|
42
|
+
*/
|
|
43
|
+
RecommendationType[RecommendationType["RULE_BASED"] = 1] = "RULE_BASED";
|
|
44
|
+
/**
|
|
45
|
+
* @generated from enum value: RECOMMENDATION_TYPE_ML_BASED = 2;
|
|
46
|
+
*/
|
|
47
|
+
RecommendationType[RecommendationType["ML_BASED"] = 2] = "ML_BASED";
|
|
48
|
+
})(RecommendationType || (RecommendationType = {}));
|
|
49
|
+
/**
|
|
50
|
+
* Describes the enum feedservice.v1.RecommendationType.
|
|
51
|
+
*/
|
|
52
|
+
export const RecommendationTypeSchema = /*@__PURE__*/ enumDesc(file_feedservice_v1_feed, 0);
|
|
53
|
+
/**
|
|
54
|
+
* @generated from enum feedservice.v1.RequestTrigger
|
|
55
|
+
*/
|
|
56
|
+
export var RequestTrigger;
|
|
57
|
+
(function (RequestTrigger) {
|
|
58
|
+
/**
|
|
59
|
+
* @generated from enum value: REQUEST_TRIGGER_UNSPECIFIED = 0;
|
|
60
|
+
*/
|
|
61
|
+
RequestTrigger[RequestTrigger["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
62
|
+
/**
|
|
63
|
+
* User opens Explore tab (initial load)
|
|
64
|
+
*
|
|
65
|
+
* @generated from enum value: REQUEST_TRIGGER_EXPLORE = 1;
|
|
66
|
+
*/
|
|
67
|
+
RequestTrigger[RequestTrigger["EXPLORE"] = 1] = "EXPLORE";
|
|
68
|
+
/**
|
|
69
|
+
* User scrolls to load more items
|
|
70
|
+
*
|
|
71
|
+
* @generated from enum value: REQUEST_TRIGGER_SCROLL = 2;
|
|
72
|
+
*/
|
|
73
|
+
RequestTrigger[RequestTrigger["SCROLL"] = 2] = "SCROLL";
|
|
74
|
+
/**
|
|
75
|
+
* User pulls to refresh
|
|
76
|
+
*
|
|
77
|
+
* @generated from enum value: REQUEST_TRIGGER_REFRESH = 3;
|
|
78
|
+
*/
|
|
79
|
+
RequestTrigger[RequestTrigger["REFRESH"] = 3] = "REFRESH";
|
|
80
|
+
/**
|
|
81
|
+
* Location change invalidates cached recommendations.
|
|
82
|
+
*
|
|
83
|
+
* @generated from enum value: REQUEST_TRIGGER_LOCATION_CHANGE = 4;
|
|
84
|
+
*/
|
|
85
|
+
RequestTrigger[RequestTrigger["LOCATION_CHANGE"] = 4] = "LOCATION_CHANGE";
|
|
86
|
+
})(RequestTrigger || (RequestTrigger = {}));
|
|
87
|
+
/**
|
|
88
|
+
* Describes the enum feedservice.v1.RequestTrigger.
|
|
89
|
+
*/
|
|
90
|
+
export const RequestTriggerSchema = /*@__PURE__*/ enumDesc(file_feedservice_v1_feed, 1);
|
|
91
|
+
/**
|
|
92
|
+
* @generated from service feedservice.v1.FeedService
|
|
93
|
+
*/
|
|
94
|
+
export const FeedService = /*@__PURE__*/ serviceDesc(file_feedservice_v1_feed, 0);
|
|
95
|
+
//# sourceMappingURL=feed_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feed_pb.js","sourceRoot":"","sources":["../../../src/feedservice/v1/feed_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,yFAAyF;AACzF,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE5F,OAAO,EAAE,gCAAgC,EAAE,MAAM,yCAAyC,CAAC;AAE3F,OAAO,EAAE,+CAA+C,EAAE,MAAM,wDAAwD,CAAC;AAGzH;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAY,aAAa,CAC5D,QAAQ,CAAC,iqDAAiqD,EAAE,CAAC,gCAAgC,EAAE,+CAA+C,CAAC,CAAC,CAAC;AAsBnwD;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,wBAAwB,EAAE,CAAC,CAAC,CA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