feat: 开发中...
This commit is contained in:
@@ -18,8 +18,8 @@ import { Configuration } from '../configuration';
|
||||
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
||||
import { BlogUpdateRequireVO } from '../models';
|
||||
import { ResponseVOBlogInfoResponseVO } from '../models';
|
||||
import { ResponseVOListBlogInfoResponseVO } from '../models';
|
||||
import { ResponseVOLong } from '../models';
|
||||
import { ResponseVOPageableVOBlogInfoResponseVO } from '../models';
|
||||
import { ResponseVOVoid } from '../models';
|
||||
/**
|
||||
* BlogControllerApi - axios parameter creator
|
||||
@@ -296,7 +296,7 @@ export const BlogControllerApiFp = function(configuration?: Configuration) {
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getBlogInfoList(page: number, size: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<ResponseVOListBlogInfoResponseVO>>> {
|
||||
async getBlogInfoList(page: number, size: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<ResponseVOPageableVOBlogInfoResponseVO>>> {
|
||||
const localVarAxiosArgs = await BlogControllerApiAxiosParamCreator(configuration).getBlogInfoList(page, size, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
@@ -369,7 +369,7 @@ export const BlogControllerApiFactory = function (configuration?: Configuration,
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getBlogInfoList(page: number, size: number, options?: AxiosRequestConfig): Promise<AxiosResponse<ResponseVOListBlogInfoResponseVO>> {
|
||||
async getBlogInfoList(page: number, size: number, options?: AxiosRequestConfig): Promise<AxiosResponse<ResponseVOPageableVOBlogInfoResponseVO>> {
|
||||
return BlogControllerApiFp(configuration).getBlogInfoList(page, size, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -434,7 +434,7 @@ export class BlogControllerApi extends BaseAPI {
|
||||
* @throws {RequiredError}
|
||||
* @memberof BlogControllerApi
|
||||
*/
|
||||
public async getBlogInfoList(page: number, size: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<ResponseVOListBlogInfoResponseVO>> {
|
||||
public async getBlogInfoList(page: number, size: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<ResponseVOPageableVOBlogInfoResponseVO>> {
|
||||
return BlogControllerApiFp(this.configuration).getBlogInfoList(page, size, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
|
@@ -322,10 +322,10 @@ export const UserControllerApiAxiosParamCreator = function (configuration?: Conf
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
register: async (body: UserCreateRequireVO, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
registerUser: async (body: UserCreateRequireVO, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'body' is not null or undefined
|
||||
if (body === null || body === undefined) {
|
||||
throw new RequiredError('body','Required parameter body was null or undefined when calling register.');
|
||||
throw new RequiredError('body','Required parameter body was null or undefined when calling registerUser.');
|
||||
}
|
||||
const localVarPath = `/api/v1/user/`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@@ -511,8 +511,8 @@ export const UserControllerApiFp = function(configuration?: Configuration) {
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async register(body: UserCreateRequireVO, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<ResponseVOUserInfoResponseVO>>> {
|
||||
const localVarAxiosArgs = await UserControllerApiAxiosParamCreator(configuration).register(body, options);
|
||||
async registerUser(body: UserCreateRequireVO, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<ResponseVOUserInfoResponseVO>>> {
|
||||
const localVarAxiosArgs = await UserControllerApiAxiosParamCreator(configuration).registerUser(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
@@ -613,8 +613,8 @@ export const UserControllerApiFactory = function (configuration?: Configuration,
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async register(body: UserCreateRequireVO, options?: AxiosRequestConfig): Promise<AxiosResponse<ResponseVOUserInfoResponseVO>> {
|
||||
return UserControllerApiFp(configuration).register(body, options).then((request) => request(axios, basePath));
|
||||
async registerUser(body: UserCreateRequireVO, options?: AxiosRequestConfig): Promise<AxiosResponse<ResponseVOUserInfoResponseVO>> {
|
||||
return UserControllerApiFp(configuration).registerUser(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@@ -715,8 +715,8 @@ export class UserControllerApi extends BaseAPI {
|
||||
* @throws {RequiredError}
|
||||
* @memberof UserControllerApi
|
||||
*/
|
||||
public async register(body: UserCreateRequireVO, options?: AxiosRequestConfig) : Promise<AxiosResponse<ResponseVOUserInfoResponseVO>> {
|
||||
return UserControllerApiFp(this.configuration).register(body, options).then((request) => request(this.axios, this.basePath));
|
||||
public async registerUser(body: UserCreateRequireVO, options?: AxiosRequestConfig) : Promise<AxiosResponse<ResponseVOUserInfoResponseVO>> {
|
||||
return UserControllerApiFp(this.configuration).registerUser(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
|
@@ -1,57 +0,0 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* OpenAPI definition
|
||||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
||||
*
|
||||
* OpenAPI spec version: v0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { UserEntity } from './user-entity';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface AttachEntity
|
||||
*/
|
||||
export interface AttachEntity {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AttachEntity
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof AttachEntity
|
||||
*/
|
||||
data?: Array<string>;
|
||||
/**
|
||||
*
|
||||
* @type {UserEntity}
|
||||
* @memberof AttachEntity
|
||||
*/
|
||||
creator?: UserEntity;
|
||||
/**
|
||||
*
|
||||
* @type {UserEntity}
|
||||
* @memberof AttachEntity
|
||||
*/
|
||||
updater?: UserEntity;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AttachEntity
|
||||
*/
|
||||
createTime?: Date;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AttachEntity
|
||||
*/
|
||||
updateTime?: Date;
|
||||
}
|
@@ -1,64 +0,0 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* OpenAPI definition
|
||||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
||||
*
|
||||
* OpenAPI spec version: v0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { BlogEntity } from './blog-entity';
|
||||
import { UserEntity } from './user-entity';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface BlogAttachEntity
|
||||
*/
|
||||
export interface BlogAttachEntity {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof BlogAttachEntity
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof BlogAttachEntity
|
||||
*/
|
||||
data?: Array<string>;
|
||||
/**
|
||||
*
|
||||
* @type {BlogEntity}
|
||||
* @memberof BlogAttachEntity
|
||||
*/
|
||||
blogEntity?: BlogEntity;
|
||||
/**
|
||||
*
|
||||
* @type {UserEntity}
|
||||
* @memberof BlogAttachEntity
|
||||
*/
|
||||
creator?: UserEntity;
|
||||
/**
|
||||
*
|
||||
* @type {UserEntity}
|
||||
* @memberof BlogAttachEntity
|
||||
*/
|
||||
updater?: UserEntity;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof BlogAttachEntity
|
||||
*/
|
||||
createTime?: Date;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof BlogAttachEntity
|
||||
*/
|
||||
updateTime?: Date;
|
||||
}
|
@@ -1,100 +0,0 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* OpenAPI definition
|
||||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
||||
*
|
||||
* OpenAPI spec version: v0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { BlogAttachEntity } from './blog-attach-entity';
|
||||
import { UserEntity } from './user-entity';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface BlogEntity
|
||||
*/
|
||||
export interface BlogEntity {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
title?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
abstracts?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
password?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
content?: string;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
top?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
publish?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
tags?: Array<string>;
|
||||
/**
|
||||
*
|
||||
* @type {Array<BlogAttachEntity>}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
attachEntities?: Array<BlogAttachEntity>;
|
||||
/**
|
||||
*
|
||||
* @type {UserEntity}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
creator?: UserEntity;
|
||||
/**
|
||||
*
|
||||
* @type {UserEntity}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
updater?: UserEntity;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
createTime?: Date;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof BlogEntity
|
||||
*/
|
||||
updateTime?: Date;
|
||||
}
|
@@ -11,8 +11,7 @@
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { BlogAttachEntity } from './blog-attach-entity';
|
||||
import { UserEntity } from './user-entity';
|
||||
import { UserInfoResponseVO } from './user-info-response-vo';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
@@ -37,12 +36,6 @@ export interface BlogInfoResponseVO {
|
||||
* @memberof BlogInfoResponseVO
|
||||
*/
|
||||
abstracts?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof BlogInfoResponseVO
|
||||
*/
|
||||
password?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
@@ -69,22 +62,16 @@ export interface BlogInfoResponseVO {
|
||||
tags?: Array<string>;
|
||||
/**
|
||||
*
|
||||
* @type {Array<BlogAttachEntity>}
|
||||
* @type {UserInfoResponseVO}
|
||||
* @memberof BlogInfoResponseVO
|
||||
*/
|
||||
attachEntities?: Array<BlogAttachEntity>;
|
||||
creator?: UserInfoResponseVO;
|
||||
/**
|
||||
*
|
||||
* @type {UserEntity}
|
||||
* @type {UserInfoResponseVO}
|
||||
* @memberof BlogInfoResponseVO
|
||||
*/
|
||||
creator?: UserEntity;
|
||||
/**
|
||||
*
|
||||
* @type {UserEntity}
|
||||
* @memberof BlogInfoResponseVO
|
||||
*/
|
||||
updater?: UserEntity;
|
||||
updater?: UserInfoResponseVO;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
|
@@ -1,8 +1,5 @@
|
||||
export * from './attach-attach-idbody';
|
||||
export * from './attach-entity';
|
||||
export * from './attach-info-response-vo';
|
||||
export * from './blog-attach-entity';
|
||||
export * from './blog-entity';
|
||||
export * from './blog-info-response-vo';
|
||||
export * from './blog-update-require-vo';
|
||||
export * from './pageable-voattach-info-response-vo';
|
||||
@@ -10,7 +7,6 @@ export * from './pageable-voblog-info-response-vo';
|
||||
export * from './pageable-vosetting-info-response-vo';
|
||||
export * from './pageable-vouser-info-response-vo';
|
||||
export * from './response-voblog-info-response-vo';
|
||||
export * from './response-volist-blog-info-response-vo';
|
||||
export * from './response-volong';
|
||||
export * from './response-vopageable-voattach-info-response-vo';
|
||||
export * from './response-vopageable-voblog-info-response-vo';
|
||||
@@ -23,7 +19,6 @@ export * from './response-vovoid';
|
||||
export * from './setting-info-response-vo';
|
||||
export * from './setting-update-require-vo';
|
||||
export * from './user-create-require-vo';
|
||||
export * from './user-entity';
|
||||
export * from './user-info-response-vo';
|
||||
export * from './user-login-require-vo';
|
||||
export * from './user-update-require-vo';
|
||||
|
@@ -47,5 +47,5 @@ export interface PageableVOAttachInfoResponseVO {
|
||||
* @type {Array<AttachInfoResponseVO>}
|
||||
* @memberof PageableVOAttachInfoResponseVO
|
||||
*/
|
||||
data?: Array<AttachInfoResponseVO>;
|
||||
elements?: Array<AttachInfoResponseVO>;
|
||||
}
|
||||
|
@@ -47,5 +47,5 @@ export interface PageableVOBlogInfoResponseVO {
|
||||
* @type {Array<BlogInfoResponseVO>}
|
||||
* @memberof PageableVOBlogInfoResponseVO
|
||||
*/
|
||||
data?: Array<BlogInfoResponseVO>;
|
||||
elements?: Array<BlogInfoResponseVO>;
|
||||
}
|
||||
|
@@ -47,5 +47,5 @@ export interface PageableVOSettingInfoResponseVO {
|
||||
* @type {Array<SettingInfoResponseVO>}
|
||||
* @memberof PageableVOSettingInfoResponseVO
|
||||
*/
|
||||
data?: Array<SettingInfoResponseVO>;
|
||||
elements?: Array<SettingInfoResponseVO>;
|
||||
}
|
||||
|
@@ -47,5 +47,5 @@ export interface PageableVOUserInfoResponseVO {
|
||||
* @type {Array<UserInfoResponseVO>}
|
||||
* @memberof PageableVOUserInfoResponseVO
|
||||
*/
|
||||
data?: Array<UserInfoResponseVO>;
|
||||
elements?: Array<UserInfoResponseVO>;
|
||||
}
|
||||
|
@@ -35,5 +35,5 @@ export interface ResponseVOBlogInfoResponseVO {
|
||||
* @type {BlogInfoResponseVO}
|
||||
* @memberof ResponseVOBlogInfoResponseVO
|
||||
*/
|
||||
data?: BlogInfoResponseVO;
|
||||
content?: BlogInfoResponseVO;
|
||||
}
|
||||
|
@@ -1,39 +0,0 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* OpenAPI definition
|
||||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
||||
*
|
||||
* OpenAPI spec version: v0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { BlogInfoResponseVO } from './blog-info-response-vo';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface ResponseVOListBlogInfoResponseVO
|
||||
*/
|
||||
export interface ResponseVOListBlogInfoResponseVO {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ResponseVOListBlogInfoResponseVO
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ResponseVOListBlogInfoResponseVO
|
||||
*/
|
||||
msg?: string;
|
||||
/**
|
||||
*
|
||||
* @type {Array<BlogInfoResponseVO>}
|
||||
* @memberof ResponseVOListBlogInfoResponseVO
|
||||
*/
|
||||
data?: Array<BlogInfoResponseVO>;
|
||||
}
|
@@ -34,5 +34,5 @@ export interface ResponseVOLong {
|
||||
* @type {number}
|
||||
* @memberof ResponseVOLong
|
||||
*/
|
||||
data?: number;
|
||||
content?: number;
|
||||
}
|
||||
|
@@ -35,5 +35,5 @@ export interface ResponseVOPageableVOAttachInfoResponseVO {
|
||||
* @type {PageableVOAttachInfoResponseVO}
|
||||
* @memberof ResponseVOPageableVOAttachInfoResponseVO
|
||||
*/
|
||||
data?: PageableVOAttachInfoResponseVO;
|
||||
content?: PageableVOAttachInfoResponseVO;
|
||||
}
|
||||
|
@@ -35,5 +35,5 @@ export interface ResponseVOPageableVOBlogInfoResponseVO {
|
||||
* @type {PageableVOBlogInfoResponseVO}
|
||||
* @memberof ResponseVOPageableVOBlogInfoResponseVO
|
||||
*/
|
||||
data?: PageableVOBlogInfoResponseVO;
|
||||
content?: PageableVOBlogInfoResponseVO;
|
||||
}
|
||||
|
@@ -35,5 +35,5 @@ export interface ResponseVOPageableVOSettingInfoResponseVO {
|
||||
* @type {PageableVOSettingInfoResponseVO}
|
||||
* @memberof ResponseVOPageableVOSettingInfoResponseVO
|
||||
*/
|
||||
data?: PageableVOSettingInfoResponseVO;
|
||||
content?: PageableVOSettingInfoResponseVO;
|
||||
}
|
||||
|
@@ -35,5 +35,5 @@ export interface ResponseVOPageableVOUserInfoResponseVO {
|
||||
* @type {PageableVOUserInfoResponseVO}
|
||||
* @memberof ResponseVOPageableVOUserInfoResponseVO
|
||||
*/
|
||||
data?: PageableVOUserInfoResponseVO;
|
||||
content?: PageableVOUserInfoResponseVO;
|
||||
}
|
||||
|
@@ -35,5 +35,5 @@ export interface ResponseVOSettingInfoResponseVO {
|
||||
* @type {SettingInfoResponseVO}
|
||||
* @memberof ResponseVOSettingInfoResponseVO
|
||||
*/
|
||||
data?: SettingInfoResponseVO;
|
||||
content?: SettingInfoResponseVO;
|
||||
}
|
||||
|
@@ -34,5 +34,5 @@ export interface ResponseVOString {
|
||||
* @type {string}
|
||||
* @memberof ResponseVOString
|
||||
*/
|
||||
data?: string;
|
||||
content?: string;
|
||||
}
|
||||
|
@@ -35,5 +35,5 @@ export interface ResponseVOUserInfoResponseVO {
|
||||
* @type {UserInfoResponseVO}
|
||||
* @memberof ResponseVOUserInfoResponseVO
|
||||
*/
|
||||
data?: UserInfoResponseVO;
|
||||
content?: UserInfoResponseVO;
|
||||
}
|
||||
|
@@ -34,5 +34,5 @@ export interface ResponseVOVoid {
|
||||
* @type {any}
|
||||
* @memberof ResponseVOVoid
|
||||
*/
|
||||
data?: any;
|
||||
content?: any;
|
||||
}
|
||||
|
@@ -34,5 +34,5 @@ export interface UserCreateRequireVO {
|
||||
* @type {string}
|
||||
* @memberof UserCreateRequireVO
|
||||
*/
|
||||
password?: string;
|
||||
password: string;
|
||||
}
|
||||
|
@@ -1,87 +0,0 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* OpenAPI definition
|
||||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
||||
*
|
||||
* OpenAPI spec version: v0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { AttachEntity } from './attach-entity';
|
||||
import { BlogEntity } from './blog-entity';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface UserEntity
|
||||
*/
|
||||
export interface UserEntity {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UserEntity
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UserEntity
|
||||
*/
|
||||
email: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UserEntity
|
||||
*/
|
||||
nickname: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UserEntity
|
||||
*/
|
||||
password?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UserEntity
|
||||
*/
|
||||
role?: UserEntityRoleEnum;
|
||||
/**
|
||||
*
|
||||
* @type {Array<BlogEntity>}
|
||||
* @memberof UserEntity
|
||||
*/
|
||||
blogEntities?: Array<BlogEntity>;
|
||||
/**
|
||||
*
|
||||
* @type {Array<AttachEntity>}
|
||||
* @memberof UserEntity
|
||||
*/
|
||||
attachEntities?: Array<AttachEntity>;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof UserEntity
|
||||
*/
|
||||
createTime?: Date;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof UserEntity
|
||||
*/
|
||||
updateTime?: Date;
|
||||
}
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @enum {string}
|
||||
*/
|
||||
export enum UserEntityRoleEnum {
|
||||
GUEST = 'GUEST',
|
||||
AUTHOR = 'AUTHOR',
|
||||
ADMIN = 'ADMIN'
|
||||
}
|
||||
|
@@ -11,8 +11,6 @@
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { AttachEntity } from './attach-entity';
|
||||
import { BlogEntity } from './blog-entity';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
@@ -43,18 +41,6 @@ export interface UserInfoResponseVO {
|
||||
* @memberof UserInfoResponseVO
|
||||
*/
|
||||
role?: UserInfoResponseVORoleEnum;
|
||||
/**
|
||||
*
|
||||
* @type {Array<BlogEntity>}
|
||||
* @memberof UserInfoResponseVO
|
||||
*/
|
||||
blogEntities?: Array<BlogEntity>;
|
||||
/**
|
||||
*
|
||||
* @type {Array<AttachEntity>}
|
||||
* @memberof UserInfoResponseVO
|
||||
*/
|
||||
attachEntities?: Array<AttachEntity>;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
|
Reference in New Issue
Block a user