This commit is contained in:
Gao Shan
2022-10-04 00:12:49 +08:00
committed by Gao Shan
parent cde3b77e4d
commit 6e95de664d
123 changed files with 7845 additions and 18 deletions
+84
View File
@@ -0,0 +1,84 @@
// @ts-ignore
/* eslint-disable */
declare namespace SYSTEM {
type Page<T> = {
code?: number;
count?: number;
data?: T[];
};
type Role = {
id: number;
createTime?: Date;
updateTime?: Date;
code: string;
name: string;
userId?: string;
};
type User = {
id?: number;
username?: string;
nickname?: string;
headImgUrl?: string;
sex?: number;
type?: string;
mobile?: string;
createTime?: Date;
enabled?: boolean;
del?: boolean;
roles?: Role[];
};
type Menu = {
id: number;
name?: string;
pId?: number;
parentId?: number;
url?: string;
type?: number;
css?: string;
checked?: boolean;
open?: boolean;
sort?: number;
children?: Menu[];
};
type Token = {
accountType?: string;
clientId?: string;
expiration?: Date;
grantType?: string;
tokenValue?: string;
username?: string;
};
type App = {
id: number;
accessTokenValiditySeconds?: number;
additionalInformation?: string;
authorities?: string;
authorizedGrantTypes?: string;
autoapprove?: string;
clientId?: string;
clientName?: string;
clientSecret?: string;
clientSecretStr?: string;
createTime?: Date;
idTokenValiditySeconds?: number;
refreshTokenValiditySeconds?: number;
resourceIds?: string;
scope?: string;
supportIdToken?: boolean;
updateTime?: Date;
webServerRedirectUri?: string;
};
type Generator = {
createTime?: Date;
engine?: string;
tableComment?: string;
tableName?: string;
};
}