@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.
package/generated/invitation.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface CreateResponse {
|
|
|
17
17
|
expiresAt: Timestamp | undefined;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export interface
|
|
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:
|
|
29
|
+
invitations: Invitation[];
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export interface ValidateTokenRequest {
|
package/package.json
CHANGED
package/proto/invitation.proto
CHANGED
|
@@ -16,7 +16,7 @@ message CreateResponse {
|
|
|
16
16
|
google.protobuf.Timestamp expires_at = 2;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
message
|
|
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
|
|
28
|
+
repeated Invitation invitations = 1;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
message ValidateTokenRequest {
|