@dducks/contracts 0.1.3 → 0.1.4
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
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { LoginRequest,
|
|
7
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
import { AuthResponse, ListSessionsRequest, ListSessionsResponse, LoginRequest, LogoutRequest, RefreshRequest, RegisterRequest, RevokeSessionRequest, VerifyRequest, VerifyResponse } from "./auth_pb.js";
|
|
7
|
+
import { Empty, MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @generated from service public.auth.v1.AuthService
|
|
@@ -12,13 +12,67 @@ import { MethodKind } from "@bufbuild/protobuf";
|
|
|
12
12
|
export declare const AuthService: {
|
|
13
13
|
readonly typeName: "public.auth.v1.AuthService",
|
|
14
14
|
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc public.auth.v1.AuthService.Register
|
|
17
|
+
*/
|
|
18
|
+
readonly register: {
|
|
19
|
+
readonly name: "Register",
|
|
20
|
+
readonly I: typeof RegisterRequest,
|
|
21
|
+
readonly O: typeof AuthResponse,
|
|
22
|
+
readonly kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
15
24
|
/**
|
|
16
25
|
* @generated from rpc public.auth.v1.AuthService.Login
|
|
17
26
|
*/
|
|
18
27
|
readonly login: {
|
|
19
28
|
readonly name: "Login",
|
|
20
29
|
readonly I: typeof LoginRequest,
|
|
21
|
-
readonly O: typeof
|
|
30
|
+
readonly O: typeof AuthResponse,
|
|
31
|
+
readonly kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc public.auth.v1.AuthService.Refresh
|
|
35
|
+
*/
|
|
36
|
+
readonly refresh: {
|
|
37
|
+
readonly name: "Refresh",
|
|
38
|
+
readonly I: typeof RefreshRequest,
|
|
39
|
+
readonly O: typeof AuthResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc public.auth.v1.AuthService.Verify
|
|
44
|
+
*/
|
|
45
|
+
readonly verify: {
|
|
46
|
+
readonly name: "Verify",
|
|
47
|
+
readonly I: typeof VerifyRequest,
|
|
48
|
+
readonly O: typeof VerifyResponse,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* @generated from rpc public.auth.v1.AuthService.Logout
|
|
53
|
+
*/
|
|
54
|
+
readonly logout: {
|
|
55
|
+
readonly name: "Logout",
|
|
56
|
+
readonly I: typeof LogoutRequest,
|
|
57
|
+
readonly O: typeof Empty,
|
|
58
|
+
readonly kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* @generated from rpc public.auth.v1.AuthService.RevokeSession
|
|
62
|
+
*/
|
|
63
|
+
readonly revokeSession: {
|
|
64
|
+
readonly name: "RevokeSession",
|
|
65
|
+
readonly I: typeof RevokeSessionRequest,
|
|
66
|
+
readonly O: typeof Empty,
|
|
67
|
+
readonly kind: MethodKind.Unary,
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc public.auth.v1.AuthService.ListSessions
|
|
71
|
+
*/
|
|
72
|
+
readonly listSessions: {
|
|
73
|
+
readonly name: "ListSessions",
|
|
74
|
+
readonly I: typeof ListSessionsRequest,
|
|
75
|
+
readonly O: typeof ListSessionsResponse,
|
|
22
76
|
readonly kind: MethodKind.Unary,
|
|
23
77
|
},
|
|
24
78
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { LoginRequest,
|
|
7
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
import { AuthResponse, ListSessionsRequest, ListSessionsResponse, LoginRequest, LogoutRequest, RefreshRequest, RegisterRequest, RevokeSessionRequest, VerifyRequest, VerifyResponse } from "./auth_pb.js";
|
|
7
|
+
import { Empty, MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @generated from service public.auth.v1.AuthService
|
|
@@ -12,13 +12,67 @@ import { MethodKind } from "@bufbuild/protobuf";
|
|
|
12
12
|
export const AuthService = {
|
|
13
13
|
typeName: "public.auth.v1.AuthService",
|
|
14
14
|
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc public.auth.v1.AuthService.Register
|
|
17
|
+
*/
|
|
18
|
+
register: {
|
|
19
|
+
name: "Register",
|
|
20
|
+
I: RegisterRequest,
|
|
21
|
+
O: AuthResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
15
24
|
/**
|
|
16
25
|
* @generated from rpc public.auth.v1.AuthService.Login
|
|
17
26
|
*/
|
|
18
27
|
login: {
|
|
19
28
|
name: "Login",
|
|
20
29
|
I: LoginRequest,
|
|
21
|
-
O:
|
|
30
|
+
O: AuthResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc public.auth.v1.AuthService.Refresh
|
|
35
|
+
*/
|
|
36
|
+
refresh: {
|
|
37
|
+
name: "Refresh",
|
|
38
|
+
I: RefreshRequest,
|
|
39
|
+
O: AuthResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc public.auth.v1.AuthService.Verify
|
|
44
|
+
*/
|
|
45
|
+
verify: {
|
|
46
|
+
name: "Verify",
|
|
47
|
+
I: VerifyRequest,
|
|
48
|
+
O: VerifyResponse,
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* @generated from rpc public.auth.v1.AuthService.Logout
|
|
53
|
+
*/
|
|
54
|
+
logout: {
|
|
55
|
+
name: "Logout",
|
|
56
|
+
I: LogoutRequest,
|
|
57
|
+
O: Empty,
|
|
58
|
+
kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* @generated from rpc public.auth.v1.AuthService.RevokeSession
|
|
62
|
+
*/
|
|
63
|
+
revokeSession: {
|
|
64
|
+
name: "RevokeSession",
|
|
65
|
+
I: RevokeSessionRequest,
|
|
66
|
+
O: Empty,
|
|
67
|
+
kind: MethodKind.Unary,
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc public.auth.v1.AuthService.ListSessions
|
|
71
|
+
*/
|
|
72
|
+
listSessions: {
|
|
73
|
+
name: "ListSessions",
|
|
74
|
+
I: ListSessionsRequest,
|
|
75
|
+
O: ListSessionsResponse,
|
|
22
76
|
kind: MethodKind.Unary,
|
|
23
77
|
},
|
|
24
78
|
}
|