Changeset View
Changeset View
Standalone View
Standalone View
lib/types/link-types.js
Show All 9 Lines | | { | ||||
+community: { | +community: { | ||||
+name: string, | +name: string, | ||||
+id: string, | +id: string, | ||||
}, | }, | ||||
} | } | ||||
| { | | { | ||||
+status: 'invalid' | 'expired', | +status: 'invalid' | 'expired', | ||||
}; | }; | ||||
export type InviteLink = { | |||||
+name: string, | |||||
+primary: boolean, | |||||
+role: string, | |||||
+communityID: string, | |||||
+expirationTime: number, | |||||
+limitOfUses: number, | |||||
+numberOfUses: number, | |||||
}; | |||||
export type FetchInviteLinksResponse = { | |||||
+links: $ReadOnlyArray<InviteLink>, | |||||
}; |