@icewhale/casaos-appmanagement-openapi
Advanced tools
Comparing version 0.0.1 to 0.4.3
@@ -24,42 +24,18 @@ /** | ||
* | ||
* @type {{ [key: string]: string; }} | ||
* @type {Scheme} | ||
* @memberof AppStoreInfo | ||
*/ | ||
'title': { | ||
[key: string]: string; | ||
}; | ||
'scheme'?: Scheme; | ||
/** | ||
* | ||
* @type {{ [key: string]: string; }} | ||
* @memberof AppStoreInfo | ||
*/ | ||
'description': { | ||
[key: string]: string; | ||
}; | ||
/** | ||
* | ||
* @type {{ [key: string]: string; }} | ||
* @memberof AppStoreInfo | ||
*/ | ||
'tagline': { | ||
[key: string]: string; | ||
}; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof AppStoreInfo | ||
*/ | ||
'icon': string; | ||
'hostname'?: string; | ||
/** | ||
* | ||
* @type {Array<string>} | ||
* @memberof AppStoreInfo | ||
*/ | ||
'screenshot_link': Array<string>; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof AppStoreInfo | ||
*/ | ||
'thumbnail': string; | ||
'port_map': string; | ||
/** | ||
@@ -70,27 +46,27 @@ * | ||
*/ | ||
'author': string; | ||
'index': string; | ||
/** | ||
* | ||
* @type {string} | ||
* @type {Array<EnvStoreInfo>} | ||
* @memberof AppStoreInfo | ||
*/ | ||
'developer': string; | ||
'envs': Array<EnvStoreInfo>; | ||
/** | ||
* | ||
* @type {string} | ||
* @type {Array<PortStoreInfo>} | ||
* @memberof AppStoreInfo | ||
*/ | ||
'category': string; | ||
'ports': Array<PortStoreInfo>; | ||
/** | ||
* | ||
* @type {TipsStoreInfo} | ||
* @type {Array<VolumeStoreInfo>} | ||
* @memberof AppStoreInfo | ||
*/ | ||
'tips': TipsStoreInfo; | ||
'volumes': Array<VolumeStoreInfo>; | ||
/** | ||
* | ||
* @type {ContainerStoreInfo} | ||
* @type {Array<DeviceStoreInfo>} | ||
* @memberof AppStoreInfo | ||
*/ | ||
'container': ContainerStoreInfo; | ||
'devices': Array<DeviceStoreInfo>; | ||
} | ||
@@ -297,2 +273,68 @@ /** | ||
/** | ||
* | ||
* @type {{ [key: string]: string; }} | ||
* @memberof ComposeAppStoreInfo | ||
*/ | ||
'title': { | ||
[key: string]: string; | ||
}; | ||
/** | ||
* | ||
* @type {{ [key: string]: string; }} | ||
* @memberof ComposeAppStoreInfo | ||
*/ | ||
'description': { | ||
[key: string]: string; | ||
}; | ||
/** | ||
* | ||
* @type {{ [key: string]: string; }} | ||
* @memberof ComposeAppStoreInfo | ||
*/ | ||
'tagline': { | ||
[key: string]: string; | ||
}; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ComposeAppStoreInfo | ||
*/ | ||
'icon': string; | ||
/** | ||
* | ||
* @type {Array<string>} | ||
* @memberof ComposeAppStoreInfo | ||
*/ | ||
'screenshot_link': Array<string>; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ComposeAppStoreInfo | ||
*/ | ||
'thumbnail': string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ComposeAppStoreInfo | ||
*/ | ||
'author': string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ComposeAppStoreInfo | ||
*/ | ||
'developer': string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ComposeAppStoreInfo | ||
*/ | ||
'category': string; | ||
/** | ||
* | ||
* @type {TipsStoreInfo} | ||
* @memberof ComposeAppStoreInfo | ||
*/ | ||
'tips': TipsStoreInfo; | ||
/** | ||
* The key is the name of a container app, and the value is the StoreInfo of this container app. | ||
@@ -306,7 +348,7 @@ * @type {{ [key: string]: AppStoreInfo; }} | ||
/** | ||
* The main container app is one of the container `apps` that the user will interact with. | ||
* The main service is one of the services that the user will interact with. | ||
* @type {string} | ||
* @memberof ComposeAppStoreInfo | ||
*/ | ||
'main_app'?: string; | ||
'main'?: string; | ||
/** | ||
@@ -394,8 +436,2 @@ * The architectures supported by the compose app. If the architecture of the host is not in this list, the compose app will not be installed. | ||
*/ | ||
'recommend'?: Array<string>; | ||
/** | ||
* | ||
* @type {Array<string>} | ||
* @memberof ComposeAppStoreInfoLists | ||
*/ | ||
'installed'?: Array<string>; | ||
@@ -445,57 +481,2 @@ /** | ||
* @export | ||
* @interface ContainerStoreInfo | ||
*/ | ||
export interface ContainerStoreInfo { | ||
/** | ||
* | ||
* @type {Scheme} | ||
* @memberof ContainerStoreInfo | ||
*/ | ||
'scheme'?: Scheme; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ContainerStoreInfo | ||
*/ | ||
'hostname'?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ContainerStoreInfo | ||
*/ | ||
'port_map': string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ContainerStoreInfo | ||
*/ | ||
'index': string; | ||
/** | ||
* | ||
* @type {Array<EnvStoreInfo>} | ||
* @memberof ContainerStoreInfo | ||
*/ | ||
'envs': Array<EnvStoreInfo>; | ||
/** | ||
* | ||
* @type {Array<PortStoreInfo>} | ||
* @memberof ContainerStoreInfo | ||
*/ | ||
'ports': Array<PortStoreInfo>; | ||
/** | ||
* | ||
* @type {Array<VolumeStoreInfo>} | ||
* @memberof ContainerStoreInfo | ||
*/ | ||
'volumes': Array<VolumeStoreInfo>; | ||
/** | ||
* | ||
* @type {Array<DeviceStoreInfo>} | ||
* @memberof ContainerStoreInfo | ||
*/ | ||
'devices': Array<DeviceStoreInfo>; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface DeviceStoreInfo | ||
@@ -680,11 +661,11 @@ */ | ||
* @export | ||
* @interface Tip | ||
* @interface TipsStoreInfo | ||
*/ | ||
export interface Tip { | ||
export interface TipsStoreInfo { | ||
/** | ||
* | ||
* @type {{ [key: string]: string; }} | ||
* @memberof Tip | ||
* @memberof TipsStoreInfo | ||
*/ | ||
'content': { | ||
'before_install': { | ||
[key: string]: string; | ||
@@ -695,24 +676,5 @@ }; | ||
* @type {string} | ||
* @memberof Tip | ||
*/ | ||
'value'?: string; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface TipsStoreInfo | ||
*/ | ||
export interface TipsStoreInfo { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof TipsStoreInfo | ||
*/ | ||
'custom'?: string; | ||
/** | ||
* | ||
* @type {Array<Tip>} | ||
* @memberof TipsStoreInfo | ||
*/ | ||
'before_install': Array<Tip>; | ||
} | ||
@@ -789,3 +751,3 @@ /** | ||
*/ | ||
'type'?: StoreAppAuthorType; | ||
'author_type'?: StoreAppAuthorType; | ||
/** | ||
@@ -796,2 +758,8 @@ * | ||
*/ | ||
'app_type': WebAppGridItemAppTypeEnum; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof WebAppGridItem | ||
*/ | ||
'hostname'?: string; | ||
@@ -817,2 +785,9 @@ /** | ||
} | ||
export declare const WebAppGridItemAppTypeEnum: { | ||
readonly V2app: "v2app"; | ||
readonly V1app: "v1app"; | ||
readonly Container: "container"; | ||
readonly Link: "link"; | ||
}; | ||
export type WebAppGridItemAppTypeEnum = typeof WebAppGridItemAppTypeEnum[keyof typeof WebAppGridItemAppTypeEnum]; | ||
/** | ||
@@ -839,3 +814,3 @@ * AppStoreMethodsApi - axios parameter creator | ||
/** | ||
* Get StoreInfo of specific compose app. > A compose app contains one or more container `apps`. One of the `apps` is the `main_app` of this compose app, whereas others are dependency `apps`. | ||
* Get StoreInfo of specific compose app. > A compose app contains one or more container `apps`. One of the `apps` is the `main` of this compose app, whereas others are dependency `apps`. | ||
* @summary Get app info from registered app stores | ||
@@ -848,10 +823,11 @@ * @param {string} id Store app ID of a compose app (unique across all app stores) | ||
/** | ||
* Get lists of StoreInfo of all compose apps from AppStore. - `recommend` - Compose apps recommended by CasaOS team - `list` - All compose apps - `community` - Compose apps contributed by community | ||
* Get lists of StoreInfo of all compose apps from AppStore. | ||
* @summary Get app list from registered app stores | ||
* @param {string} [category] Category of the store app | ||
* @param {StoreAppAuthorType} [authorType] Author type of the store app | ||
* @param {boolean} [recommend] The store app is recommended | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
composeAppStoreInfoList: (category?: string, authorType?: StoreAppAuthorType, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
composeAppStoreInfoList: (category?: string, authorType?: StoreAppAuthorType, recommend?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -895,3 +871,3 @@ * (TODO) | ||
/** | ||
* Get StoreInfo of specific compose app. > A compose app contains one or more container `apps`. One of the `apps` is the `main_app` of this compose app, whereas others are dependency `apps`. | ||
* Get StoreInfo of specific compose app. > A compose app contains one or more container `apps`. One of the `apps` is the `main` of this compose app, whereas others are dependency `apps`. | ||
* @summary Get app info from registered app stores | ||
@@ -904,10 +880,11 @@ * @param {string} id Store app ID of a compose app (unique across all app stores) | ||
/** | ||
* Get lists of StoreInfo of all compose apps from AppStore. - `recommend` - Compose apps recommended by CasaOS team - `list` - All compose apps - `community` - Compose apps contributed by community | ||
* Get lists of StoreInfo of all compose apps from AppStore. | ||
* @summary Get app list from registered app stores | ||
* @param {string} [category] Category of the store app | ||
* @param {StoreAppAuthorType} [authorType] Author type of the store app | ||
* @param {boolean} [recommend] The store app is recommended | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
composeAppStoreInfoList(category?: string, authorType?: StoreAppAuthorType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ComposeAppStoreInfoList200Response>>; | ||
composeAppStoreInfoList(category?: string, authorType?: StoreAppAuthorType, recommend?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ComposeAppStoreInfoList200Response>>; | ||
/** | ||
@@ -951,3 +928,3 @@ * (TODO) | ||
/** | ||
* Get StoreInfo of specific compose app. > A compose app contains one or more container `apps`. One of the `apps` is the `main_app` of this compose app, whereas others are dependency `apps`. | ||
* Get StoreInfo of specific compose app. > A compose app contains one or more container `apps`. One of the `apps` is the `main` of this compose app, whereas others are dependency `apps`. | ||
* @summary Get app info from registered app stores | ||
@@ -960,10 +937,11 @@ * @param {string} id Store app ID of a compose app (unique across all app stores) | ||
/** | ||
* Get lists of StoreInfo of all compose apps from AppStore. - `recommend` - Compose apps recommended by CasaOS team - `list` - All compose apps - `community` - Compose apps contributed by community | ||
* Get lists of StoreInfo of all compose apps from AppStore. | ||
* @summary Get app list from registered app stores | ||
* @param {string} [category] Category of the store app | ||
* @param {StoreAppAuthorType} [authorType] Author type of the store app | ||
* @param {boolean} [recommend] The store app is recommended | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
composeAppStoreInfoList(category?: string, authorType?: StoreAppAuthorType, options?: any): AxiosPromise<ComposeAppStoreInfoList200Response>; | ||
composeAppStoreInfoList(category?: string, authorType?: StoreAppAuthorType, recommend?: boolean, options?: any): AxiosPromise<ComposeAppStoreInfoList200Response>; | ||
/** | ||
@@ -1011,3 +989,3 @@ * (TODO) | ||
/** | ||
* Get StoreInfo of specific compose app. > A compose app contains one or more container `apps`. One of the `apps` is the `main_app` of this compose app, whereas others are dependency `apps`. | ||
* Get StoreInfo of specific compose app. > A compose app contains one or more container `apps`. One of the `apps` is the `main` of this compose app, whereas others are dependency `apps`. | ||
* @summary Get app info from registered app stores | ||
@@ -1021,6 +999,7 @@ * @param {string} id Store app ID of a compose app (unique across all app stores) | ||
/** | ||
* Get lists of StoreInfo of all compose apps from AppStore. - `recommend` - Compose apps recommended by CasaOS team - `list` - All compose apps - `community` - Compose apps contributed by community | ||
* Get lists of StoreInfo of all compose apps from AppStore. | ||
* @summary Get app list from registered app stores | ||
* @param {string} [category] Category of the store app | ||
* @param {StoreAppAuthorType} [authorType] Author type of the store app | ||
* @param {boolean} [recommend] The store app is recommended | ||
* @param {*} [options] Override http request option. | ||
@@ -1030,3 +1009,3 @@ * @throws {RequiredError} | ||
*/ | ||
composeAppStoreInfoList(category?: string, authorType?: StoreAppAuthorType, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ComposeAppStoreInfoList200Response, any>>; | ||
composeAppStoreInfoList(category?: string, authorType?: StoreAppAuthorType, recommend?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ComposeAppStoreInfoList200Response, any>>; | ||
/** | ||
@@ -1033,0 +1012,0 @@ * (TODO) |
{ | ||
"name": "@icewhale/casaos-appmanagement-openapi", | ||
"version": "0.0.1", | ||
"private": false, | ||
"version": "v0.4.3", | ||
"scripts": { | ||
@@ -27,3 +26,5 @@ "clean": "rm -rf generate", | ||
], | ||
"dependencies": {}, | ||
"dependencies": { | ||
"axios": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
@@ -33,7 +34,6 @@ "@openapitools/openapi-generator-cli": "2.5.2", | ||
"openapi-typescript-codegen": "^0.23.0", | ||
"typescript": "^4.9.5", | ||
"axios": "^1.1.0" | ||
"typescript": "^4.9.5" | ||
}, | ||
"author": "casaos", | ||
"license": "Apache-2.0" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
4
180339
1
3797
1
+ Addedaxios@^1.1.0
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.7.9(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)