mirror of
https://github.com/halo-dev/plugin-s3.git
synced 2025-10-22 19:04:33 +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:
49
console/src/api/models/test-operation.ts
Normal file
49
console/src/api/models/test-operation.ts
Normal file
@@ -0,0 +1,49 @@
|
||||
/* 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 TestOperation
|
||||
*/
|
||||
export interface TestOperation {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof TestOperation
|
||||
*/
|
||||
'op': TestOperationOpEnum;
|
||||
/**
|
||||
* A JSON Pointer path pointing to the location to move/copy from.
|
||||
* @type {string}
|
||||
* @memberof TestOperation
|
||||
*/
|
||||
'path': string;
|
||||
/**
|
||||
* Value can be any JSON value
|
||||
* @type {any}
|
||||
* @memberof TestOperation
|
||||
*/
|
||||
'value': any;
|
||||
}
|
||||
|
||||
export const TestOperationOpEnum = {
|
||||
Test: 'test'
|
||||
} as const;
|
||||
|
||||
export type TestOperationOpEnum = typeof TestOperationOpEnum[keyof typeof TestOperationOpEnum];
|
||||
|
||||
|
Reference in New Issue
Block a user