@togatherlabs/shared-protos 1.0.37 → 1.0.41
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/dist/experienceservice/categories/v1/categories_pb.d.ts +230 -0
- package/dist/experienceservice/categories/v1/categories_pb.d.ts.map +1 -0
- package/dist/experienceservice/categories/v1/categories_pb.js +93 -0
- package/dist/experienceservice/categories/v1/categories_pb.js.map +1 -0
- package/dist/experienceservice/categories/v1/index.d.ts +1 -0
- package/dist/experienceservice/categories/v1/index.js +1 -0
- package/package.json +7 -1
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file experienceservice/categories/v1/categories.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_experienceservice_categories_v1_categories: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* Category information
|
|
9
|
+
*
|
|
10
|
+
* @generated from message experienceservice.categories.v1.CategoryInfo
|
|
11
|
+
*/
|
|
12
|
+
export type CategoryInfo = Message<"experienceservice.categories.v1.CategoryInfo"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string id = 1;
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string name = 2;
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: optional string deleted_at = 3;
|
|
23
|
+
*/
|
|
24
|
+
deletedAt?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: string created_at = 4;
|
|
27
|
+
*/
|
|
28
|
+
createdAt: string;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string updated_at = 5;
|
|
31
|
+
*/
|
|
32
|
+
updatedAt: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message experienceservice.categories.v1.CategoryInfo.
|
|
36
|
+
* Use `create(CategoryInfoSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export declare const CategoryInfoSchema: GenMessage<CategoryInfo>;
|
|
39
|
+
/**
|
|
40
|
+
* Pagination metadata
|
|
41
|
+
*
|
|
42
|
+
* @generated from message experienceservice.categories.v1.Pagination
|
|
43
|
+
*/
|
|
44
|
+
export type Pagination = Message<"experienceservice.categories.v1.Pagination"> & {
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: uint32 page = 1;
|
|
47
|
+
*/
|
|
48
|
+
page: number;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: uint32 limit = 2;
|
|
51
|
+
*/
|
|
52
|
+
limit: number;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: uint64 total_items = 3;
|
|
55
|
+
*/
|
|
56
|
+
totalItems: bigint;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: uint32 total_pages = 4;
|
|
59
|
+
*/
|
|
60
|
+
totalPages: number;
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: bool has_next_page = 5;
|
|
63
|
+
*/
|
|
64
|
+
hasNextPage: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: bool has_previous_page = 6;
|
|
67
|
+
*/
|
|
68
|
+
hasPreviousPage: boolean;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message experienceservice.categories.v1.Pagination.
|
|
72
|
+
* Use `create(PaginationSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export declare const PaginationSchema: GenMessage<Pagination>;
|
|
75
|
+
/**
|
|
76
|
+
* Request to get categories with filtering, pagination, and sorting
|
|
77
|
+
*
|
|
78
|
+
* @generated from message experienceservice.categories.v1.GetCategoriesRequest
|
|
79
|
+
*/
|
|
80
|
+
export type GetCategoriesRequest = Message<"experienceservice.categories.v1.GetCategoriesRequest"> & {
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: optional uint32 page = 1;
|
|
83
|
+
*/
|
|
84
|
+
page?: number;
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: optional uint32 limit = 2;
|
|
87
|
+
*/
|
|
88
|
+
limit?: number;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: optional string search = 3;
|
|
91
|
+
*/
|
|
92
|
+
search?: string;
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: optional string name = 4;
|
|
95
|
+
*/
|
|
96
|
+
name?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: optional bool include_deleted = 5;
|
|
99
|
+
*/
|
|
100
|
+
includeDeleted?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: optional experienceservice.categories.v1.SortBy sort_by = 6;
|
|
103
|
+
*/
|
|
104
|
+
sortBy?: SortBy;
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: optional experienceservice.categories.v1.SortOrder sort_order = 7;
|
|
107
|
+
*/
|
|
108
|
+
sortOrder?: SortOrder;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message experienceservice.categories.v1.GetCategoriesRequest.
|
|
112
|
+
* Use `create(GetCategoriesRequestSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export declare const GetCategoriesRequestSchema: GenMessage<GetCategoriesRequest>;
|
|
115
|
+
/**
|
|
116
|
+
* @generated from message experienceservice.categories.v1.GetCategoriesResponse
|
|
117
|
+
*/
|
|
118
|
+
export type GetCategoriesResponse = Message<"experienceservice.categories.v1.GetCategoriesResponse"> & {
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: repeated experienceservice.categories.v1.CategoryInfo categories = 1;
|
|
121
|
+
*/
|
|
122
|
+
categories: CategoryInfo[];
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: experienceservice.categories.v1.Pagination pagination = 2;
|
|
125
|
+
*/
|
|
126
|
+
pagination?: Pagination;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message experienceservice.categories.v1.GetCategoriesResponse.
|
|
130
|
+
* Use `create(GetCategoriesResponseSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export declare const GetCategoriesResponseSchema: GenMessage<GetCategoriesResponse>;
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message experienceservice.categories.v1.GetCategoryByIdRequest
|
|
135
|
+
*/
|
|
136
|
+
export type GetCategoryByIdRequest = Message<"experienceservice.categories.v1.GetCategoryByIdRequest"> & {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: string id = 1;
|
|
139
|
+
*/
|
|
140
|
+
id: string;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message experienceservice.categories.v1.GetCategoryByIdRequest.
|
|
144
|
+
* Use `create(GetCategoryByIdRequestSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
export declare const GetCategoryByIdRequestSchema: GenMessage<GetCategoryByIdRequest>;
|
|
147
|
+
/**
|
|
148
|
+
* @generated from message experienceservice.categories.v1.GetCategoryByIdResponse
|
|
149
|
+
*/
|
|
150
|
+
export type GetCategoryByIdResponse = Message<"experienceservice.categories.v1.GetCategoryByIdResponse"> & {
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: experienceservice.categories.v1.CategoryInfo category = 1;
|
|
153
|
+
*/
|
|
154
|
+
category?: CategoryInfo;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Describes the message experienceservice.categories.v1.GetCategoryByIdResponse.
|
|
158
|
+
* Use `create(GetCategoryByIdResponseSchema)` to create a new message.
|
|
159
|
+
*/
|
|
160
|
+
export declare const GetCategoryByIdResponseSchema: GenMessage<GetCategoryByIdResponse>;
|
|
161
|
+
/**
|
|
162
|
+
* Enums for sorting
|
|
163
|
+
*
|
|
164
|
+
* @generated from enum experienceservice.categories.v1.SortBy
|
|
165
|
+
*/
|
|
166
|
+
export declare enum SortBy {
|
|
167
|
+
/**
|
|
168
|
+
* @generated from enum value: SORT_BY_UNSPECIFIED = 0;
|
|
169
|
+
*/
|
|
170
|
+
UNSPECIFIED = 0,
|
|
171
|
+
/**
|
|
172
|
+
* @generated from enum value: SORT_BY_NAME = 1;
|
|
173
|
+
*/
|
|
174
|
+
NAME = 1,
|
|
175
|
+
/**
|
|
176
|
+
* @generated from enum value: SORT_BY_CREATED_AT = 2;
|
|
177
|
+
*/
|
|
178
|
+
CREATED_AT = 2,
|
|
179
|
+
/**
|
|
180
|
+
* @generated from enum value: SORT_BY_UPDATED_AT = 3;
|
|
181
|
+
*/
|
|
182
|
+
UPDATED_AT = 3
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Describes the enum experienceservice.categories.v1.SortBy.
|
|
186
|
+
*/
|
|
187
|
+
export declare const SortBySchema: GenEnum<SortBy>;
|
|
188
|
+
/**
|
|
189
|
+
* @generated from enum experienceservice.categories.v1.SortOrder
|
|
190
|
+
*/
|
|
191
|
+
export declare enum SortOrder {
|
|
192
|
+
/**
|
|
193
|
+
* @generated from enum value: SORT_ORDER_UNSPECIFIED = 0;
|
|
194
|
+
*/
|
|
195
|
+
UNSPECIFIED = 0,
|
|
196
|
+
/**
|
|
197
|
+
* @generated from enum value: SORT_ORDER_ASC = 1;
|
|
198
|
+
*/
|
|
199
|
+
ASC = 1,
|
|
200
|
+
/**
|
|
201
|
+
* @generated from enum value: SORT_ORDER_DESC = 2;
|
|
202
|
+
*/
|
|
203
|
+
DESC = 2
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Describes the enum experienceservice.categories.v1.SortOrder.
|
|
207
|
+
*/
|
|
208
|
+
export declare const SortOrderSchema: GenEnum<SortOrder>;
|
|
209
|
+
/**
|
|
210
|
+
* @generated from service experienceservice.categories.v1.ExperienceService
|
|
211
|
+
*/
|
|
212
|
+
export declare const ExperienceService: GenService<{
|
|
213
|
+
/**
|
|
214
|
+
* @generated from rpc experienceservice.categories.v1.ExperienceService.GetCategories
|
|
215
|
+
*/
|
|
216
|
+
getCategories: {
|
|
217
|
+
methodKind: "unary";
|
|
218
|
+
input: typeof GetCategoriesRequestSchema;
|
|
219
|
+
output: typeof GetCategoriesResponseSchema;
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* @generated from rpc experienceservice.categories.v1.ExperienceService.GetCategoryById
|
|
223
|
+
*/
|
|
224
|
+
getCategoryById: {
|
|
225
|
+
methodKind: "unary";
|
|
226
|
+
input: typeof GetCategoryByIdRequestSchema;
|
|
227
|
+
output: typeof GetCategoryByIdResponseSchema;
|
|
228
|
+
};
|
|
229
|
+
}>;
|
|
230
|
+
//# sourceMappingURL=categories_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categories_pb.d.ts","sourceRoot":"","sources":["../../../../src/experienceservice/categories/v1/categories_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE7F,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,OACu2D,CAAC;AAEt6D;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,8CAA8C,CAAC,GAAG;IACnF;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,YAAY,CACS,CAAC;AAElE;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,4CAA4C,CAAC,GAAG;IAC/E;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;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AA4B,EAAE,UAAU,CAAC,sBAAsB,CACX,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,yDAAyD,CAAC,GAAG;IACzG;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,UAAU,CAAC,uBAAuB,CACb,CAAC;AAElE;;;;GAIG;AACH,oBAAY,MAAM;IAChB;;OAEG;IACH,WAAW,IAAI;IAEf;;OAEG;IACH,IAAI,IAAI;IAER;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,UAAU,IAAI;CACf;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,MAAM,CACqB,CAAC;AAE/D;;GAEG;AACH,oBAAY,SAAS;IACnB;;OAEG;IACH,WAAW,IAAI;IAEf;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,IAAI,IAAI;CACT;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,SAAS,CACe,CAAC;AAE/D;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC;IACzC;;OAEG;IACH,aAAa,EAAE;QACb,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,0BAA0B,CAAC;QACzC,MAAM,EAAE,OAAO,2BAA2B,CAAC;KAC5C,CAAC;IACF;;OAEG;IACH,eAAe,EAAE;QACf,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,4BAA4B,CAAC;QAC3C,MAAM,EAAE,OAAO,6BAA6B,CAAC;KAC9C,CAAC;CACH,CACgE,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.9.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file experienceservice/categories/v1/categories.proto (package experienceservice.categories.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file experienceservice/categories/v1/categories.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_experienceservice_categories_v1_categories = /*@__PURE__*/ fileDesc("CjBleHBlcmllbmNlc2VydmljZS9jYXRlZ29yaWVzL3YxL2NhdGVnb3JpZXMucHJvdG8SH2V4cGVyaWVuY2VzZXJ2aWNlLmNhdGVnb3JpZXMudjEieAoMQ2F0ZWdvcnlJbmZvEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSFwoKZGVsZXRlZF9hdBgDIAEoCUgAiAEBEhIKCmNyZWF0ZWRfYXQYBCABKAkSEgoKdXBkYXRlZF9hdBgFIAEoCUINCgtfZGVsZXRlZF9hdCKFAQoKUGFnaW5hdGlvbhIMCgRwYWdlGAEgASgNEg0KBWxpbWl0GAIgASgNEhMKC3RvdGFsX2l0ZW1zGAMgASgEEhMKC3RvdGFsX3BhZ2VzGAQgASgNEhUKDWhhc19uZXh0X3BhZ2UYBSABKAgSGQoRaGFzX3ByZXZpb3VzX3BhZ2UYBiABKAgi3QIKFEdldENhdGVnb3JpZXNSZXF1ZXN0EhEKBHBhZ2UYASABKA1IAIgBARISCgVsaW1pdBgCIAEoDUgBiAEBEhMKBnNlYXJjaBgDIAEoCUgCiAEBEhEKBG5hbWUYBCABKAlIA4gBARIcCg9pbmNsdWRlX2RlbGV0ZWQYBSABKAhIBIgBARI9Cgdzb3J0X2J5GAYgASgOMicuZXhwZXJpZW5jZXNlcnZpY2UuY2F0ZWdvcmllcy52MS5Tb3J0QnlIBYgBARJDCgpzb3J0X29yZGVyGAcgASgOMiouZXhwZXJpZW5jZXNlcnZpY2UuY2F0ZWdvcmllcy52MS5Tb3J0T3JkZXJIBogBAUIHCgVfcGFnZUIICgZfbGltaXRCCQoHX3NlYXJjaEIHCgVfbmFtZUISChBfaW5jbHVkZV9kZWxldGVkQgoK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
/**
|
|
10
|
+
* Describes the message experienceservice.categories.v1.CategoryInfo.
|
|
11
|
+
* Use `create(CategoryInfoSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const CategoryInfoSchema = /*@__PURE__*/ messageDesc(file_experienceservice_categories_v1_categories, 0);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message experienceservice.categories.v1.Pagination.
|
|
16
|
+
* Use `create(PaginationSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const PaginationSchema = /*@__PURE__*/ messageDesc(file_experienceservice_categories_v1_categories, 1);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message experienceservice.categories.v1.GetCategoriesRequest.
|
|
21
|
+
* Use `create(GetCategoriesRequestSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const GetCategoriesRequestSchema = /*@__PURE__*/ messageDesc(file_experienceservice_categories_v1_categories, 2);
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message experienceservice.categories.v1.GetCategoriesResponse.
|
|
26
|
+
* Use `create(GetCategoriesResponseSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const GetCategoriesResponseSchema = /*@__PURE__*/ messageDesc(file_experienceservice_categories_v1_categories, 3);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message experienceservice.categories.v1.GetCategoryByIdRequest.
|
|
31
|
+
* Use `create(GetCategoryByIdRequestSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const GetCategoryByIdRequestSchema = /*@__PURE__*/ messageDesc(file_experienceservice_categories_v1_categories, 4);
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message experienceservice.categories.v1.GetCategoryByIdResponse.
|
|
36
|
+
* Use `create(GetCategoryByIdResponseSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const GetCategoryByIdResponseSchema = /*@__PURE__*/ messageDesc(file_experienceservice_categories_v1_categories, 5);
|
|
39
|
+
/**
|
|
40
|
+
* Enums for sorting
|
|
41
|
+
*
|
|
42
|
+
* @generated from enum experienceservice.categories.v1.SortBy
|
|
43
|
+
*/
|
|
44
|
+
export var SortBy;
|
|
45
|
+
(function (SortBy) {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum value: SORT_BY_UNSPECIFIED = 0;
|
|
48
|
+
*/
|
|
49
|
+
SortBy[SortBy["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum value: SORT_BY_NAME = 1;
|
|
52
|
+
*/
|
|
53
|
+
SortBy[SortBy["NAME"] = 1] = "NAME";
|
|
54
|
+
/**
|
|
55
|
+
* @generated from enum value: SORT_BY_CREATED_AT = 2;
|
|
56
|
+
*/
|
|
57
|
+
SortBy[SortBy["CREATED_AT"] = 2] = "CREATED_AT";
|
|
58
|
+
/**
|
|
59
|
+
* @generated from enum value: SORT_BY_UPDATED_AT = 3;
|
|
60
|
+
*/
|
|
61
|
+
SortBy[SortBy["UPDATED_AT"] = 3] = "UPDATED_AT";
|
|
62
|
+
})(SortBy || (SortBy = {}));
|
|
63
|
+
/**
|
|
64
|
+
* Describes the enum experienceservice.categories.v1.SortBy.
|
|
65
|
+
*/
|
|
66
|
+
export const SortBySchema = /*@__PURE__*/ enumDesc(file_experienceservice_categories_v1_categories, 0);
|
|
67
|
+
/**
|
|
68
|
+
* @generated from enum experienceservice.categories.v1.SortOrder
|
|
69
|
+
*/
|
|
70
|
+
export var SortOrder;
|
|
71
|
+
(function (SortOrder) {
|
|
72
|
+
/**
|
|
73
|
+
* @generated from enum value: SORT_ORDER_UNSPECIFIED = 0;
|
|
74
|
+
*/
|
|
75
|
+
SortOrder[SortOrder["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
76
|
+
/**
|
|
77
|
+
* @generated from enum value: SORT_ORDER_ASC = 1;
|
|
78
|
+
*/
|
|
79
|
+
SortOrder[SortOrder["ASC"] = 1] = "ASC";
|
|
80
|
+
/**
|
|
81
|
+
* @generated from enum value: SORT_ORDER_DESC = 2;
|
|
82
|
+
*/
|
|
83
|
+
SortOrder[SortOrder["DESC"] = 2] = "DESC";
|
|
84
|
+
})(SortOrder || (SortOrder = {}));
|
|
85
|
+
/**
|
|
86
|
+
* Describes the enum experienceservice.categories.v1.SortOrder.
|
|
87
|
+
*/
|
|
88
|
+
export const SortOrderSchema = /*@__PURE__*/ enumDesc(file_experienceservice_categories_v1_categories, 1);
|
|
89
|
+
/**
|
|
90
|
+
* @generated from service experienceservice.categories.v1.ExperienceService
|
|
91
|
+
*/
|
|
92
|
+
export const ExperienceService = /*@__PURE__*/ serviceDesc(file_experienceservice_categories_v1_categories, 0);
|
|
93
|
+
//# sourceMappingURL=categories_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categories_pb.js","sourceRoot":"","sources":["../../../../src/experienceservice/categories/v1/categories_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,iIAAiI;AACjI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG5F;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAY,aAAa,CACnF,QAAQ,CAAC,y5DAAy5D,CAAC,CAAC;AAkCt6D;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAuClE;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AA4ClE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAiBlE;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAYlE;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAYlE;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAElE;;;;GAIG;AACH,MAAM,CAAN,IAAY,MAoBX;AApBD,WAAY,MAAM;IAChB;;OAEG;IACH,iDAAe,CAAA;IAEf;;OAEG;IACH,mCAAQ,CAAA;IAER;;OAEG;IACH,+CAAc,CAAA;IAEd;;OAEG;IACH,+CAAc,CAAA;AAChB,CAAC,EApBW,MAAM,KAAN,MAAM,QAoBjB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAoB,aAAa,CACxD,QAAQ,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAN,IAAY,SAeX;AAfD,WAAY,SAAS;IACnB;;OAEG;IACH,uDAAe,CAAA;IAEf;;OAEG;IACH,uCAAO,CAAA;IAEP;;OAEG;IACH,yCAAQ,CAAA;AACV,CAAC,EAfW,SAAS,KAAT,SAAS,QAepB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAuB,aAAa,CAC9D,QAAQ,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAiBzB,aAAa,CAChB,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './categories_pb.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './categories_pb.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togatherlabs/shared-protos",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.41",
|
|
4
4
|
"description": "Generated TypeScript gRPC definitions for Togather shared protos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,6 +39,12 @@
|
|
|
39
39
|
"require": "./dist/common/error/v1/index.js",
|
|
40
40
|
"default": "./dist/common/error/v1/index.js"
|
|
41
41
|
},
|
|
42
|
+
"./experienceservice/categories/v1": {
|
|
43
|
+
"types": "./dist/experienceservice/categories/v1/index.d.ts",
|
|
44
|
+
"import": "./dist/experienceservice/categories/v1/index.js",
|
|
45
|
+
"require": "./dist/experienceservice/categories/v1/index.js",
|
|
46
|
+
"default": "./dist/experienceservice/categories/v1/index.js"
|
|
47
|
+
},
|
|
42
48
|
"./experienceservice/experience/v1": {
|
|
43
49
|
"types": "./dist/experienceservice/experience/v1/index.d.ts",
|
|
44
50
|
"import": "./dist/experienceservice/experience/v1/index.js",
|