@taskora-uni/contracts 1.2.0 → 1.2.1

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.
@@ -17,7 +17,7 @@ export interface CreateResponse {
17
17
  expiresAt: Timestamp | undefined;
18
18
  }
19
19
 
20
- export interface InvitationItem {
20
+ export interface Invitation {
21
21
  id: string;
22
22
  usedById?: string | undefined;
23
23
  expiresAt: Timestamp | undefined;
@@ -26,7 +26,7 @@ export interface InvitationItem {
26
26
  }
27
27
 
28
28
  export interface GetAllResponse {
29
- invitations: InvitationItem[];
29
+ invitations: Invitation[];
30
30
  }
31
31
 
32
32
  export interface ValidateTokenRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taskora-uni/contracts",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Shared protobuf contracts and generated TypeScript bindings for Taskora Uni backend services.",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -16,7 +16,7 @@ message CreateResponse {
16
16
  google.protobuf.Timestamp expires_at = 2;
17
17
  }
18
18
 
19
- message InvitationItem {
19
+ message Invitation {
20
20
  string id = 1;
21
21
  optional string used_by_id = 2;
22
22
  google.protobuf.Timestamp expires_at = 3;
@@ -25,7 +25,7 @@ message InvitationItem {
25
25
  }
26
26
 
27
27
  message GetAllResponse {
28
- repeated InvitationItem invitations = 1;
28
+ repeated Invitation invitations = 1;
29
29
  }
30
30
 
31
31
  message ValidateTokenRequest {