mirror of
https://github.com/halo-dev/plugin-s3.git
synced 2025-10-20 01:25:05 +00:00
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:
66
console/src/api/models/attachment-spec.ts
Normal file
66
console/src/api/models/attachment-spec.ts
Normal 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>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user