@excali-boards/boards-api-client 1.1.1-dev.21 → 1.1.1-dev.22
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/dist/classes/invites.d.ts +10 -6
- package/package.json +1 -1
|
@@ -57,11 +57,6 @@ export type CreateInviteOutput = {
|
|
|
57
57
|
code: string;
|
|
58
58
|
expiresAt: string;
|
|
59
59
|
maxUses: number;
|
|
60
|
-
currentUses: number;
|
|
61
|
-
invitedBy: {
|
|
62
|
-
username: string;
|
|
63
|
-
avatarUrl: string | null;
|
|
64
|
-
};
|
|
65
60
|
};
|
|
66
61
|
export type GetUserInvitesOutput = {
|
|
67
62
|
invites: Invite[];
|
|
@@ -87,7 +82,16 @@ export type UseInviteOutput = {
|
|
|
87
82
|
}[];
|
|
88
83
|
};
|
|
89
84
|
};
|
|
90
|
-
export type InviteDetails =
|
|
85
|
+
export type InviteDetails = {
|
|
86
|
+
code: string;
|
|
87
|
+
expiresAt: string;
|
|
88
|
+
maxUses: number;
|
|
89
|
+
currentUses: number;
|
|
90
|
+
invitedBy: {
|
|
91
|
+
username: string;
|
|
92
|
+
avatarUrl: string | null;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
91
95
|
export type InviteData = Pick<Invite, 'code' | 'expiresAt' | 'maxUses' | 'currentUses' | 'boardRole' | 'categoryRole' | 'groupRole'> & {
|
|
92
96
|
groups: {
|
|
93
97
|
groupId: string;
|
package/package.json
CHANGED