1
0
forked from dyf/dyf-vue-ui
Files
dyf-vue-ui/src/api/types.ts

61 lines
896 B
TypeScript
Raw Normal View History

2025-06-26 15:29:07 +08:00
/**
*
*/
export type RegisterForm = {
tenantId: string;
username: string;
password: string;
confirmPassword?: string;
code?: string;
uuid?: string;
userType?: string;
};
/**
*
*/
export interface LoginData {
tenantId?: string;
2025-08-20 13:47:12 +08:00
tenantName?: string;
2025-06-26 15:29:07 +08:00
username?: string;
password?: string;
rememberMe?: boolean;
socialCode?: string;
socialState?: string;
source?: string;
code?: string;
uuid?: string;
clientId: string;
grantType: string;
}
/**
*
*/
export interface LoginResult {
access_token: string;
}
/**
*
*/
export interface VerifyCodeResult {
captchaEnabled: boolean;
uuid?: string;
img?: string;
}
/**
*
*/
export interface TenantVO {
companyName: string;
domain: any;
tenantId: string;
}
export interface TenantInfo {
tenantEnabled: boolean;
voList: TenantVO[];
}