@ticket_for_cinema/contracts 1.0.21 → 1.0.22

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.
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-ts_proto v1.181.2
4
- // protoc v3.21.12
4
+ // protoc v6.33.2
5
5
  // source: auth-telegram.proto
6
6
 
7
7
  /* eslint-disable */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticket_for_cinema/contracts",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Contracts for microservices",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -1,27 +0,0 @@
1
- syntax = "proto3"; // указываем версию протобуфера
2
-
3
- package auth_telegram.v1; // указываем пакет тут указываем доменную область
4
-
5
- import "google/protobuf/empty.proto";
6
-
7
- service AuthTelegramService {
8
-
9
- rpc TelegramInit(google.protobuf.Empty) returns (TelegramInitResponse);
10
- rpc TelegramVerify(TelegramVerifyRequest) returns (TelegramVerifyResponse);
11
- }
12
-
13
- message TelegramInitResponse {
14
- string url = 1;
15
- }
16
-
17
- message TelegramVerifyRequest {
18
- map<string, string> query = 1;
19
- }
20
-
21
- message TelegramVerifyResponse {
22
- oneof res {
23
- string url = 1;
24
- string access_token = 2;
25
- string refresh_token = 3;
26
- }
27
- }