mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 18:41:21 +00:00
Added new metadata parameter for signup
This commit is contained in:
@@ -49,3 +49,14 @@ export type TIssueAuthTokenDTO = {
|
||||
ip: string;
|
||||
userAgent: string;
|
||||
};
|
||||
|
||||
export enum TokenMetadataType {
|
||||
InviteToProjects = "projects-invite"
|
||||
}
|
||||
|
||||
// TODO: Split the payloads into separate types for better type inference (not needed until we add more types of metadata)
|
||||
export type TTokenMetadata = {
|
||||
type: TokenMetadataType.InviteToProjects;
|
||||
projectIds: string[];
|
||||
userId: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user