mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
53354224fc
Upgrades biome to 1.6.1, and updates husky pre-commit hook. Most changes here are making type imports explicit.
36 lines
694 B
TypeScript
36 lines
694 B
TypeScript
import type { IRole } from './role';
|
|
import type { IUser } from './user';
|
|
|
|
export interface ICreateInvitedUser {
|
|
username?: string;
|
|
email: string;
|
|
name: string;
|
|
password: string;
|
|
}
|
|
|
|
export interface IPublicSignupTokens {
|
|
tokens: IPublicSignupToken[];
|
|
}
|
|
|
|
export interface IPublicSignupToken {
|
|
secret: string;
|
|
url: string;
|
|
name: string;
|
|
enabled: boolean;
|
|
expiresAt: string;
|
|
createdAt: string;
|
|
createdBy: string | null;
|
|
users?: IUser[] | null;
|
|
role: IRole;
|
|
}
|
|
|
|
export interface IPublicSignupTokenCreate {
|
|
name: string;
|
|
expiresAt: string;
|
|
}
|
|
|
|
export interface IPublicSignupTokenUpdate {
|
|
expiresAt?: string;
|
|
enabled?: boolean;
|
|
}
|