@togatherlabs/shared-protos 2.1.21 → 2.1.24
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 +15 -18
- package/packages/typescript/dist/common/pagination/v1/cursor_pb.d.ts +27 -0
- package/packages/typescript/dist/common/pagination/v1/cursor_pb.d.ts.map +1 -0
- package/packages/typescript/dist/common/pagination/v1/cursor_pb.js +14 -0
- package/packages/typescript/dist/common/pagination/v1/cursor_pb.js.map +1 -0
- package/packages/typescript/dist/common/pagination/v1/index.d.ts +1 -0
- package/packages/typescript/dist/common/pagination/v1/index.js +1 -0
- package/packages/typescript/dist/experienceservice/experience/v1/experience_pb.d.ts +100 -0
- package/packages/typescript/dist/experienceservice/experience/v1/experience_pb.d.ts.map +1 -1
- package/packages/typescript/dist/experienceservice/experience/v1/experience_pb.js +45 -4
- package/packages/typescript/dist/experienceservice/experience/v1/experience_pb.js.map +1 -1
- package/packages/typescript/README.md +0 -90
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togatherlabs/shared-protos",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.24",
|
|
4
4
|
"description": "Generated TypeScript gRPC definitions for Togather shared protos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -8,22 +8,6 @@
|
|
|
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
|
-
},
|
|
27
11
|
"keywords": [
|
|
28
12
|
"togather",
|
|
29
13
|
"grpc",
|
|
@@ -32,7 +16,6 @@
|
|
|
32
16
|
],
|
|
33
17
|
"author": "Togather Team",
|
|
34
18
|
"license": "ISC",
|
|
35
|
-
"packageManager": "pnpm@10.7.1",
|
|
36
19
|
"files": [
|
|
37
20
|
"packages/typescript/dist",
|
|
38
21
|
"README.md"
|
|
@@ -133,5 +116,19 @@
|
|
|
133
116
|
"commitizen": {
|
|
134
117
|
"path": "@commitlint/cz-commitlint"
|
|
135
118
|
}
|
|
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"
|
|
136
133
|
}
|
|
137
134
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file common/pagination/v1/cursor.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_common_pagination_v1_cursor: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* Pagination metadata
|
|
9
|
+
*
|
|
10
|
+
* @generated from message common.pagination.v1.Cursor
|
|
11
|
+
*/
|
|
12
|
+
export type Cursor = Message<"common.pagination.v1.Cursor"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: bool has_next = 1;
|
|
15
|
+
*/
|
|
16
|
+
hasNext: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: optional string from_cursor = 2;
|
|
19
|
+
*/
|
|
20
|
+
fromCursor?: string;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message common.pagination.v1.Cursor.
|
|
24
|
+
* Use `create(CursorSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export declare const CursorSchema: GenMessage<Cursor>;
|
|
27
|
+
//# sourceMappingURL=cursor_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursor_pb.d.ts","sourceRoot":"","sources":["../../../../src/common/pagination/v1/cursor_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,OACmJ,CAAC;AAEnM;;;;GAIG;AACH,MAAM,MAAM,MAAM,GAAG,OAAO,CAAC,6BAA6B,CAAC,GAAG;IAC5D;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,MAAM,CACM,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file common/pagination/v1/cursor.proto (package common.pagination.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file common/pagination/v1/cursor.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_common_pagination_v1_cursor = /*@__PURE__*/ fileDesc("CiFjb21tb24vcGFnaW5hdGlvbi92MS9jdXJzb3IucHJvdG8SFGNvbW1vbi5wYWdpbmF0aW9uLnYxIkQKBkN1cnNvchIQCghoYXNfbmV4dBgBIAEoCBIYCgtmcm9tX2N1cnNvchgCIAEoCUgAiAEBQg4KDF9mcm9tX2N1cnNvcmIGcHJvdG8z");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message common.pagination.v1.Cursor.
|
|
11
|
+
* Use `create(CursorSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const CursorSchema = /*@__PURE__*/ messageDesc(file_common_pagination_v1_cursor, 0);
|
|
14
|
+
//# sourceMappingURL=cursor_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursor_pb.js","sourceRoot":"","sources":["../../../../src/common/pagination/v1/cursor_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,uGAAuG;AACvG,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAY,aAAa,CACpE,QAAQ,CAAC,sLAAsL,CAAC,CAAC;AAmBnM;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAuB,aAAa,CAC3D,WAAW,CAAC,gCAAgC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Cursor } from "../../../common/pagination/v1/cursor_pb.js";
|
|
2
3
|
import type { Pagination } from "../../../common/pagination/v1/pagination_pb.js";
|
|
3
4
|
import type { SortOrder } from "../../../common/sortorder/v1/sortorder_pb.js";
|
|
4
5
|
import type { CategoryInfo } from "../../categories/v1/categories_pb.js";
|
|
@@ -84,6 +85,68 @@ export type GetExperiencesResponse = Message<"experienceservice.experience.v1.Ge
|
|
|
84
85
|
* Use `create(GetExperiencesResponseSchema)` to create a new message.
|
|
85
86
|
*/
|
|
86
87
|
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>;
|
|
87
150
|
/**
|
|
88
151
|
* @generated from message experienceservice.experience.v1.Experience
|
|
89
152
|
*/
|
|
@@ -322,6 +385,35 @@ export declare enum SortExperienceBy {
|
|
|
322
385
|
* Describes the enum experienceservice.experience.v1.SortExperienceBy.
|
|
323
386
|
*/
|
|
324
387
|
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>;
|
|
325
417
|
/**
|
|
326
418
|
* @generated from service experienceservice.experience.v1.ExperienceService
|
|
327
419
|
*/
|
|
@@ -342,5 +434,13 @@ export declare const ExperienceService: GenService<{
|
|
|
342
434
|
input: typeof GetExperiencesRequestSchema;
|
|
343
435
|
output: typeof GetExperiencesResponseSchema;
|
|
344
436
|
};
|
|
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
|
+
};
|
|
345
445
|
}>;
|
|
346
446
|
//# 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,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,
|
|
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,MAAM,EAAE,MAAM,4CAA4C,CAAC;AAEzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gDAAgD,CA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AAiB,EAAE;QACjB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,8BAA8B,CAAC;QAC7C,MAAM,EAAE,OAAO,+BAA+B,CAAC;KAChD,CAAC;IACF;;OAEG;IACH,cAAc,EAAE;QACd,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,2BAA2B,CAAC;QAC1C,MAAM,EAAE,OAAO,4BAA4B,CAAC;KAC7C,CAAC;IACF;;OAEG;IACH,qBAAqB,EAAE;QACrB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,kCAAkC,CAAC;QACjD,MAAM,EAAE,OAAO,mCAAmC,CAAC;KACpD,CAAC;CACH,CACgE,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// @generated from file experienceservice/experience/v1/experience.proto (package experienceservice.experience.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_common_pagination_v1_cursor } from "../../../common/pagination/v1/cursor_pb.js";
|
|
5
6
|
import { file_common_pagination_v1_pagination } from "../../../common/pagination/v1/pagination_pb.js";
|
|
6
7
|
import { file_common_sortorder_v1_sortorder } from "../../../common/sortorder/v1/sortorder_pb.js";
|
|
7
8
|
import { file_experienceservice_categories_v1_categories } from "../../categories/v1/categories_pb.js";
|
|
@@ -9,7 +10,7 @@ import { file_experienceservice_tags_v1_tags } from "../../tags/v1/tags_pb.js";
|
|
|
9
10
|
/**
|
|
10
11
|
* Describes the file experienceservice/experience/v1/experience.proto.
|
|
11
12
|
*/
|
|
12
|
-
export const file_experienceservice_experience_v1_experience = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_experienceservice_experience_v1_experience = /*@__PURE__*/ fileDesc("CjBleHBlcmllbmNlc2VydmljZS9leHBlcmllbmNlL3YxL2V4cGVyaWVuY2UucHJvdG8SH2V4cGVyaWVuY2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UZJRUQQABIxCi1TT1JUX0JZX0ZPUl9HRVRfRVhQRVJJRU5DRVNfRk9SX1VTRVJfRElTVEFOQ0UQARI1CjFTT1JUX0JZX0ZPUl9HRVRfRVhQRVJJRU5DRVNfRk9SX1VTRVJfUFJJQ0VfQU1PVU5UEAISOQo1U09SVF9CWV9GT1JfR0VUX0VYUEVSSUVOQ0VTX0ZPUl9VU0VSX0VWRU5UX1NUQVJUX1RJTUUQAxIzCi9TT1JUX0JZX0ZPUl9HRVRfRVhQRVJJRU5DRVNfRk9SX1VTRVJfQ1JFQVRFRF9BVBAEMr0DChFFeHBlcmllbmNlU2VydmljZRKKAQoRR2V0RXhwZXJpZW5jZUJ5SWQSOS5leHBlcmllbmNlc2VydmljZS5leHBlcmllbmNlLnYxLkdldEV4cGVyaWVuY2VCeUlkUmVxdWVzdBo6LmV4cGVyaWVuY2VzZXJ2aWNlLmV4cGVyaWVuY2UudjEuR2V0RXhwZXJpZW5jZUJ5SWRSZXNwb25zZRKBAQoOR2V0RXhwZXJpZW5jZXMSNi5leHBlcmllbmNlc2VydmljZS5leHBlcmllbmNlLnYxLkdldEV4cGVyaWVuY2VzUmVxdWVzdBo3LmV4cGVyaWVuY2VzZXJ2aWNlLmV4cGVyaWVuY2UudjEuR2V0RXhwZXJpZW5jZXNSZXNwb25zZRKWAQoVR2V0RXhwZXJpZW5jZXNGb3JVc2VyEj0uZXhwZXJpZW5jZXNlcnZpY2UuZXhwZXJpZW5jZS52MS5HZXRFeHBlcmllbmNlc0ZvclVzZXJSZXF1ZXN0Gj4uZXhwZXJpZW5jZXNlcnZpY2UuZXhwZXJpZW5jZS52MS5HZXRFeHBlcmllbmNlc0ZvclVzZXJSZXNwb25zZWIGcHJvdG8z", [file_common_pagination_v1_cursor, file_common_pagination_v1_pagination, file_common_sortorder_v1_sortorder, file_experienceservice_categories_v1_categories, file_experienceservice_tags_v1_tags]);
|
|
13
14
|
/**
|
|
14
15
|
* Describes the message experienceservice.experience.v1.GetExperienceByIdRequest.
|
|
15
16
|
* Use `create(GetExperienceByIdRequestSchema)` to create a new message.
|
|
@@ -30,21 +31,31 @@ export const GetExperiencesRequestSchema = /*@__PURE__*/ messageDesc(file_experi
|
|
|
30
31
|
* Use `create(GetExperiencesResponseSchema)` to create a new message.
|
|
31
32
|
*/
|
|
32
33
|
export const GetExperiencesResponseSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience, 3);
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message experienceservice.experience.v1.GetExperiencesForUserRequest.
|
|
36
|
+
* Use `create(GetExperiencesForUserRequestSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const GetExperiencesForUserRequestSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience, 4);
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message experienceservice.experience.v1.GetExperiencesForUserResponse.
|
|
41
|
+
* Use `create(GetExperiencesForUserResponseSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const GetExperiencesForUserResponseSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience, 5);
|
|
33
44
|
/**
|
|
34
45
|
* Describes the message experienceservice.experience.v1.Experience.
|
|
35
46
|
* Use `create(ExperienceSchema)` to create a new message.
|
|
36
47
|
*/
|
|
37
|
-
export const ExperienceSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience,
|
|
48
|
+
export const ExperienceSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience, 6);
|
|
38
49
|
/**
|
|
39
50
|
* Describes the message experienceservice.experience.v1.Address.
|
|
40
51
|
* Use `create(AddressSchema)` to create a new message.
|
|
41
52
|
*/
|
|
42
|
-
export const AddressSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience,
|
|
53
|
+
export const AddressSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience, 7);
|
|
43
54
|
/**
|
|
44
55
|
* Describes the message experienceservice.experience.v1.Coordinate.
|
|
45
56
|
* Use `create(CoordinateSchema)` to create a new message.
|
|
46
57
|
*/
|
|
47
|
-
export const CoordinateSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience,
|
|
58
|
+
export const CoordinateSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience, 8);
|
|
48
59
|
/**
|
|
49
60
|
* @generated from enum experienceservice.experience.v1.Currency
|
|
50
61
|
*/
|
|
@@ -151,6 +162,36 @@ export var SortExperienceBy;
|
|
|
151
162
|
* Describes the enum experienceservice.experience.v1.SortExperienceBy.
|
|
152
163
|
*/
|
|
153
164
|
export const SortExperienceBySchema = /*@__PURE__*/ enumDesc(file_experienceservice_experience_v1_experience, 1);
|
|
165
|
+
/**
|
|
166
|
+
* @generated from enum experienceservice.experience.v1.SortByForGetExperiencesForUser
|
|
167
|
+
*/
|
|
168
|
+
export var SortByForGetExperiencesForUser;
|
|
169
|
+
(function (SortByForGetExperiencesForUser) {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from enum value: SORT_BY_FOR_GET_EXPERIENCES_FOR_USER_UNSPECIFIED = 0;
|
|
172
|
+
*/
|
|
173
|
+
SortByForGetExperiencesForUser[SortByForGetExperiencesForUser["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
174
|
+
/**
|
|
175
|
+
* @generated from enum value: SORT_BY_FOR_GET_EXPERIENCES_FOR_USER_DISTANCE = 1;
|
|
176
|
+
*/
|
|
177
|
+
SortByForGetExperiencesForUser[SortByForGetExperiencesForUser["DISTANCE"] = 1] = "DISTANCE";
|
|
178
|
+
/**
|
|
179
|
+
* @generated from enum value: SORT_BY_FOR_GET_EXPERIENCES_FOR_USER_PRICE_AMOUNT = 2;
|
|
180
|
+
*/
|
|
181
|
+
SortByForGetExperiencesForUser[SortByForGetExperiencesForUser["PRICE_AMOUNT"] = 2] = "PRICE_AMOUNT";
|
|
182
|
+
/**
|
|
183
|
+
* @generated from enum value: SORT_BY_FOR_GET_EXPERIENCES_FOR_USER_EVENT_START_TIME = 3;
|
|
184
|
+
*/
|
|
185
|
+
SortByForGetExperiencesForUser[SortByForGetExperiencesForUser["EVENT_START_TIME"] = 3] = "EVENT_START_TIME";
|
|
186
|
+
/**
|
|
187
|
+
* @generated from enum value: SORT_BY_FOR_GET_EXPERIENCES_FOR_USER_CREATED_AT = 4;
|
|
188
|
+
*/
|
|
189
|
+
SortByForGetExperiencesForUser[SortByForGetExperiencesForUser["CREATED_AT"] = 4] = "CREATED_AT";
|
|
190
|
+
})(SortByForGetExperiencesForUser || (SortByForGetExperiencesForUser = {}));
|
|
191
|
+
/**
|
|
192
|
+
* Describes the enum experienceservice.experience.v1.SortByForGetExperiencesForUser.
|
|
193
|
+
*/
|
|
194
|
+
export const SortByForGetExperiencesForUserSchema = /*@__PURE__*/ enumDesc(file_experienceservice_experience_v1_experience, 2);
|
|
154
195
|
/**
|
|
155
196
|
* @generated from service experienceservice.experience.v1.ExperienceService
|
|
156
197
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experience_pb.js","sourceRoot":"","sources":["../../../../src/experienceservice/experience/v1/experience_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,iIAAiI;AACjI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE5F,OAAO,EAAE,oCAAoC,EAAE,MAAM,gDAAgD,CAAC;AAEtG,OAAO,EAAE,kCAAkC,EAAE,MAAM,8CAA8C,CAAC;AAElG,OAAO,EAAE,+CAA+C,EAAE,MAAM,sCAAsC,CAAC;AAEvG,OAAO,EAAE,mCAAmC,EAAE,MAAM,0BAA0B,CAAC;AAG/E;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAY,aAAa,CACnF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"experience_pb.js","sourceRoot":"","sources":["../../../../src/experienceservice/experience/v1/experience_pb.ts"],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AgB,QAyB3B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAA8B,aAAa,CAC5E,QAAQ,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAN,IAAY,8BAyBX;AAzBD,WAAY,8BAA8B;IACxC;;OAEG;IACH,iGAAe,CAAA;IAEf;;OAEG;IACH,2FAAY,CAAA;IAEZ;;OAEG;IACH,mGAAgB,CAAA;IAEhB;;OAEG;IACH,2GAAoB,CAAA;IAEpB;;OAEG;IACH,+FAAc,CAAA;AAChB,CAAC,EAzBW,8BAA8B,KAA9B,8BAA8B,QAyBzC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAA4C,aAAa,CACxG,QAAQ,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAyBzB,aAAa,CAChB,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,90 +0,0 @@
|
|
|
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
|