@requ1emz/contracts 1.0.18 → 1.0.19

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/gen/family.ts CHANGED
@@ -10,12 +10,6 @@ import { Observable } from "rxjs";
10
10
 
11
11
  export const protobufPackage = "family.v1";
12
12
 
13
- export enum ROLE {
14
- ADMIN = 0,
15
- MEMBER = 1,
16
- UNRECOGNIZED = -1,
17
- }
18
-
19
13
  export interface CreateFamilyRequest {
20
14
  userId: string;
21
15
  name: string;
@@ -43,7 +37,7 @@ export interface FamilyResponse {
43
37
 
44
38
  export interface FamilyMemberDto {
45
39
  userId: string;
46
- role: ROLE;
40
+ role: string;
47
41
  }
48
42
 
49
43
  export const FAMILY_V1_PACKAGE_NAME = "family.v1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@requ1emz/contracts",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -35,10 +35,5 @@ message FamilyResponse {
35
35
 
36
36
  message FamilyMemberDto {
37
37
  string user_id = 1;
38
- ROLE role = 2;
39
- }
40
-
41
- enum ROLE {
42
- ADMIN = 0;
43
- MEMBER = 1;
38
+ string role = 2;
44
39
  }