@togatherlabs/shared-protos 1.0.11 → 1.0.13
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/userservice/user/v1/index.d.ts +1 -0
- package/dist/userservice/user/v1/index.js +1 -0
- package/dist/userservice/user/v1/user_pb.d.ts +72 -0
- package/dist/userservice/user/v1/user_pb.d.ts.map +1 -0
- package/dist/userservice/user/v1/user_pb.js +23 -0
- package/dist/userservice/user/v1/user_pb.js.map +1 -0
- package/package.json +9 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './user_pb.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './user_pb.js';
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file userservice/user/v1/user.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_userservice_user_v1_user: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message userservice.user.v1.GetProfileRequest
|
|
9
|
+
*/
|
|
10
|
+
export type GetProfileRequest = Message<"userservice.user.v1.GetProfileRequest"> & {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from field: string id = 1;
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message userservice.user.v1.GetProfileRequest.
|
|
18
|
+
* Use `create(GetProfileRequestSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export declare const GetProfileRequestSchema: GenMessage<GetProfileRequest>;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from message userservice.user.v1.GetProfileResponse
|
|
23
|
+
*/
|
|
24
|
+
export type GetProfileResponse = Message<"userservice.user.v1.GetProfileResponse"> & {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: string id = 1;
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string name = 2;
|
|
31
|
+
*/
|
|
32
|
+
name: string;
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string email = 3;
|
|
35
|
+
*/
|
|
36
|
+
email: string;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: string dob = 4;
|
|
39
|
+
*/
|
|
40
|
+
dob: string;
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: string gender = 5;
|
|
43
|
+
*/
|
|
44
|
+
gender: string;
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: string created_at = 6;
|
|
47
|
+
*/
|
|
48
|
+
createdAt: string;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: string updated_at = 7;
|
|
51
|
+
*/
|
|
52
|
+
updatedAt: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message userservice.user.v1.GetProfileResponse.
|
|
56
|
+
* Use `create(GetProfileResponseSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export declare const GetProfileResponseSchema: GenMessage<GetProfileResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* @generated from service userservice.user.v1.UserService
|
|
61
|
+
*/
|
|
62
|
+
export declare const UserService: GenService<{
|
|
63
|
+
/**
|
|
64
|
+
* @generated from rpc userservice.user.v1.UserService.GetProfile
|
|
65
|
+
*/
|
|
66
|
+
getProfile: {
|
|
67
|
+
methodKind: "unary";
|
|
68
|
+
input: typeof GetProfileRequestSchema;
|
|
69
|
+
output: typeof GetProfileResponseSchema;
|
|
70
|
+
};
|
|
71
|
+
}>;
|
|
72
|
+
//# sourceMappingURL=user_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user_pb.d.ts","sourceRoot":"","sources":["../../../../src/userservice/user/v1/user_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,OACoa,CAAC;AAEjd;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uCAAuC,CAAC,GAAG;IACjF;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,iBAAiB,CACnB,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,wCAAwC,CAAC,GAAG;IACnF;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAAC,kBAAkB,CACrB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC;IACnC;;OAEG;IACH,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,uBAAuB,CAAC;QACtC,MAAM,EAAE,OAAO,wBAAwB,CAAC;KACzC,CAAC;CACH,CAC8C,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.9.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file userservice/user/v1/user.proto (package userservice.user.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file userservice/user/v1/user.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_userservice_user_v1_user = /*@__PURE__*/ fileDesc("Ch51c2Vyc2VydmljZS91c2VyL3YxL3VzZXIucHJvdG8SE3VzZXJzZXJ2aWNlLnVzZXIudjEiHwoRR2V0UHJvZmlsZVJlcXVlc3QSCgoCaWQYASABKAkiggEKEkdldFByb2ZpbGVSZXNwb25zZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEg0KBWVtYWlsGAMgASgJEgsKA2RvYhgEIAEoCRIOCgZnZW5kZXIYBSABKAkSEgoKY3JlYXRlZF9hdBgGIAEoCRISCgp1cGRhdGVkX2F0GAcgASgJMmwKC1VzZXJTZXJ2aWNlEl0KCkdldFByb2ZpbGUSJi51c2Vyc2VydmljZS51c2VyLnYxLkdldFByb2ZpbGVSZXF1ZXN0GicudXNlcnNlcnZpY2UudXNlci52MS5HZXRQcm9maWxlUmVzcG9uc2ViBnByb3RvMw");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message userservice.user.v1.GetProfileRequest.
|
|
11
|
+
* Use `create(GetProfileRequestSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const GetProfileRequestSchema = /*@__PURE__*/ messageDesc(file_userservice_user_v1_user, 0);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message userservice.user.v1.GetProfileResponse.
|
|
16
|
+
* Use `create(GetProfileResponseSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const GetProfileResponseSchema = /*@__PURE__*/ messageDesc(file_userservice_user_v1_user, 1);
|
|
19
|
+
/**
|
|
20
|
+
* @generated from service userservice.user.v1.UserService
|
|
21
|
+
*/
|
|
22
|
+
export const UserService = /*@__PURE__*/ serviceDesc(file_userservice_user_v1_user, 0);
|
|
23
|
+
//# sourceMappingURL=user_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user_pb.js","sourceRoot":"","sources":["../../../../src/userservice/user/v1/user_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,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,ocAAoc,CAAC,CAAC;AAYjd;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AA0ChD;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC;AAEhD;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GASnB,aAAa,CAChB,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togatherlabs/shared-protos",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Generated TypeScript gRPC definitions for Togather shared protos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,6 +20,12 @@
|
|
|
20
20
|
"import": "./dist/authservice/admin/v1/index.js",
|
|
21
21
|
"require": "./dist/authservice/admin/v1/index.js",
|
|
22
22
|
"default": "./dist/authservice/admin/v1/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./userservice/user/v1": {
|
|
25
|
+
"types": "./dist/userservice/user/v1/index.d.ts",
|
|
26
|
+
"import": "./dist/userservice/user/v1/index.js",
|
|
27
|
+
"require": "./dist/userservice/user/v1/index.js",
|
|
28
|
+
"default": "./dist/userservice/user/v1/index.js"
|
|
23
29
|
}
|
|
24
30
|
},
|
|
25
31
|
"devDependencies": {
|
|
@@ -29,7 +35,7 @@
|
|
|
29
35
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
30
36
|
"lint": "buf lint",
|
|
31
37
|
"generate": "npm install && tsc && node generate-indexes.js",
|
|
32
|
-
"package:patch": "pnpm version patch",
|
|
33
|
-
"package:publish": "pnpm publish --access public --no-git-checks
|
|
38
|
+
"package:patch": "pnpm version patch ",
|
|
39
|
+
"package:publish": "pnpm publish --access public --no-git-checks"
|
|
34
40
|
}
|
|
35
41
|
}
|