lambdaorm-client-node
Advanced tools
Comparing version 0.7.36 to 0.7.38
@@ -1,6 +0,6 @@ | ||
import { SchemaConfig } from 'lambdaorm-base'; | ||
import { SchemaData } from 'lambdaorm-base'; | ||
export interface StageService { | ||
exists(stage: string): Promise<boolean>; | ||
export(stage: string): Promise<SchemaConfig>; | ||
import(stage: string, data: SchemaConfig): Promise<void>; | ||
export(stage: string): Promise<SchemaData>; | ||
import(stage: string, data: SchemaData): Promise<void>; | ||
} |
import { StageService } from '../../application/services'; | ||
import { SchemaConfig } from 'lambdaorm-base'; | ||
import { SchemaData } from 'lambdaorm-base'; | ||
import { StageApi } from '../api'; | ||
@@ -8,4 +8,4 @@ export declare class StageApiService implements StageService { | ||
exists(stage: string): Promise<boolean>; | ||
export(stage: string): Promise<SchemaConfig>; | ||
export(stage: string): Promise<SchemaData>; | ||
import(stage: string, schemaData: any): Promise<void>; | ||
} |
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
import { RequestArgs, BaseAPI } from './base'; | ||
import { Configuration } from '../../domain'; | ||
import { SchemaConfig } from 'lambdaorm-base'; | ||
import { SchemaData } from 'lambdaorm-base'; | ||
/** | ||
@@ -20,7 +20,7 @@ * StageApi - axios parameter creator | ||
* @param {string} stage | ||
* @param {SchemaConfig} data | ||
* @param {SchemaData} data | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
_import: (stage: string, data: SchemaConfig, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
_import: (stage: string, data: SchemaData, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
@@ -45,11 +45,11 @@ * | ||
*/ | ||
_export(stage: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SchemaConfig>>; | ||
_export(stage: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SchemaData>>; | ||
/** | ||
* | ||
* @param {string} stage | ||
* @param {SchemaConfig} data | ||
* @param {SchemaData} data | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
_import(stage: string, data: SchemaConfig, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>; | ||
_import(stage: string, data: SchemaData, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>; | ||
/** | ||
@@ -74,11 +74,11 @@ * | ||
*/ | ||
_export(stage: string, options?: any): AxiosPromise<SchemaConfig>; | ||
_export(stage: string, options?: any): AxiosPromise<SchemaData>; | ||
/** | ||
* | ||
* @param {string} stage | ||
* @param {SchemaConfig} data | ||
* @param {SchemaData} data | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
_import(stage: string, data: SchemaConfig, options?: any): AxiosPromise<any>; | ||
_import(stage: string, data: SchemaData, options?: any): AxiosPromise<any>; | ||
/** | ||
@@ -106,7 +106,7 @@ * | ||
*/ | ||
_export(stage: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SchemaConfig, any>>; | ||
_export(stage: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SchemaData, any>>; | ||
/** | ||
* | ||
* @param {string} stage | ||
* @param {SchemaConfig} data | ||
* @param {SchemaData} data | ||
* @param {*} [options] Override http request option. | ||
@@ -116,3 +116,3 @@ * @throws {RequiredError} | ||
*/ | ||
_import(stage: string, data: SchemaConfig, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>; | ||
_import(stage: string, data: SchemaData, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>; | ||
/** | ||
@@ -119,0 +119,0 @@ * |
@@ -56,3 +56,3 @@ "use strict"; | ||
* @param {string} stage | ||
* @param {SchemaConfig} data | ||
* @param {SchemaData} data | ||
* @param {*} [options] Override http request option. | ||
@@ -140,3 +140,3 @@ * @throws {RequiredError} | ||
* @param {string} stage | ||
* @param {SchemaConfig} data | ||
* @param {SchemaData} data | ||
* @param {*} [options] Override http request option. | ||
@@ -185,3 +185,3 @@ * @throws {RequiredError} | ||
* @param {string} stage | ||
* @param {SchemaConfig} data | ||
* @param {SchemaData} data | ||
* @param {*} [options] Override http request option. | ||
@@ -225,3 +225,3 @@ * @throws {RequiredError} | ||
* @param {string} stage | ||
* @param {SchemaConfig} data | ||
* @param {SchemaData} data | ||
* @param {*} [options] Override http request option. | ||
@@ -228,0 +228,0 @@ * @throws {RequiredError} |
{ | ||
"name": "lambdaorm-client-node", | ||
"version": "0.7.36", | ||
"version": "0.7.38", | ||
"description": "Client form lambda ORM service", | ||
@@ -23,7 +23,7 @@ "author": "Flavio Lionel Rita <flaviolrita@gmail.com>", | ||
"dependencies": { | ||
"3xpr": "^1.15.0", | ||
"3xpr": "^1.15.11", | ||
"h3lp": "^1.8.4", | ||
"lambdaorm-base": "^1.0.1", | ||
"axios": "^1.6.3", | ||
"crypto-js": "^4.1.1", | ||
"h3lp": "^1.5.1", | ||
"lambdaorm-base": "^0.1.16" | ||
"crypto-js": "^4.1.1" | ||
}, | ||
@@ -30,0 +30,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
261094
+ Addedlambdaorm-base@1.7.11(transitive)
+ Addedluxon@3.4.4(transitive)
- Removedlambdaorm-base@0.1.55(transitive)
- Removedtyp3s@0.1.19(transitive)
Updated3xpr@^1.15.11
Updatedh3lp@^1.8.4
Updatedlambdaorm-base@^1.0.1