@dducks/contracts 0.1.3

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 ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@dducks/contracts",
3
+ "version": "0.1.3",
4
+ "description": "Shared protobuf contracts",
5
+ "type": "module",
6
+ "exports": {
7
+ "./*": "./public/*"
8
+ },
9
+ "files": [
10
+ "public"
11
+ ],
12
+ "publishConfig": {
13
+ "access": "public"
14
+ }
15
+ }
@@ -0,0 +1,26 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1
2
+ // @generated from file public/auth/v1/auth.proto (package public.auth.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { LoginRequest, LoginResponse } from "./auth_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service public.auth.v1.AuthService
11
+ */
12
+ export declare const AuthService: {
13
+ readonly typeName: "public.auth.v1.AuthService",
14
+ readonly methods: {
15
+ /**
16
+ * @generated from rpc public.auth.v1.AuthService.Login
17
+ */
18
+ readonly login: {
19
+ readonly name: "Login",
20
+ readonly I: typeof LoginRequest,
21
+ readonly O: typeof LoginResponse,
22
+ readonly kind: MethodKind.Unary,
23
+ },
24
+ }
25
+ };
26
+
@@ -0,0 +1,26 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1
2
+ // @generated from file public/auth/v1/auth.proto (package public.auth.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { LoginRequest, LoginResponse } from "./auth_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service public.auth.v1.AuthService
11
+ */
12
+ export const AuthService = {
13
+ typeName: "public.auth.v1.AuthService",
14
+ methods: {
15
+ /**
16
+ * @generated from rpc public.auth.v1.AuthService.Login
17
+ */
18
+ login: {
19
+ name: "Login",
20
+ I: LoginRequest,
21
+ O: LoginResponse,
22
+ kind: MethodKind.Unary,
23
+ },
24
+ }
25
+ };
26
+