perf: refactor API request implementation and upgrade Halo dependency to 2.17 (#163)

使用 openapi-generator 重构请求库
使用 @halo-dev/api-client 提供的axiosInstance
提升所有 Halo 依赖版本至2.17
```release-note
None
```
This commit is contained in:
longjuan
2024-07-14 23:27:27 +08:00
committed by GitHub
parent 63be3ed3dc
commit d4df735759
64 changed files with 6085 additions and 2878 deletions

View File

@@ -0,0 +1,66 @@
/* tslint:disable */
/* eslint-disable */
/**
* Halo
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.18.0-SNAPSHOT
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface AttachmentSpec
*/
export interface AttachmentSpec {
/**
* Display name of attachment
* @type {string}
* @memberof AttachmentSpec
*/
'displayName'?: string;
/**
* Group name
* @type {string}
* @memberof AttachmentSpec
*/
'groupName'?: string;
/**
* Media type of attachment
* @type {string}
* @memberof AttachmentSpec
*/
'mediaType'?: string;
/**
* Name of User who uploads the attachment
* @type {string}
* @memberof AttachmentSpec
*/
'ownerName'?: string;
/**
* Policy name
* @type {string}
* @memberof AttachmentSpec
*/
'policyName'?: string;
/**
* Size of attachment. Unit is Byte
* @type {number}
* @memberof AttachmentSpec
*/
'size'?: number;
/**
* Tags of attachment
* @type {Array<string>}
* @memberof AttachmentSpec
*/
'tags'?: Array<string>;
}