@rlvt/datasources-fetcher-openapi-client
Advanced tools
Comparing version 0.0.0-75726eb to 0.0.0-96edbf2
@@ -14,3 +14,5 @@ import { AxiosInstance, AxiosRequestConfig } from "axios"; | ||
get Data(): { | ||
fetch: (params: {}, data: { | ||
fetch: (params: { | ||
'x-rlvt-no-cache'?: boolean; | ||
}, data: { | ||
datasourceId: string; | ||
@@ -67,2 +69,6 @@ query: string; | ||
}; | ||
sort?: { | ||
by: string; | ||
order: "desc" | "asc"; | ||
}; | ||
cp?: { | ||
@@ -69,0 +75,0 @@ count: number; |
@@ -32,3 +32,3 @@ "use strict"; | ||
fetch(params, data, options) { | ||
return this.axios.post("/fetch", data, Object.assign({}, { headers: {}, params: {} }, options)); | ||
return this.axios.post("/fetch", data, Object.assign({}, { headers: pick(params, "x-rlvt-no-cache"), params: {} }, options)); | ||
} | ||
@@ -77,2 +77,2 @@ queryProxyDatasource(params, options) { | ||
exports.default = default_1; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7Ozs7Ozs7Ozs7QUFFcEIsa0RBQWlFO0FBR2pFLGdEQUE4QjtBQUU5QixTQUFTLElBQUksQ0FBdUIsR0FBTSxFQUFFLEdBQUcsSUFBUztJQUNwRCxNQUFNLEdBQUcsR0FBUSxFQUFFLENBQUM7SUFDcEIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUNmLEdBQUcsQ0FBQyxHQUFHLENBQUMsR0FBRyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDeEIsQ0FBQyxDQUFDLENBQUE7SUFDRixPQUFPLEdBQUcsQ0FBQztBQUNmLENBQUM7QUFFRDtJQUdJLFlBQVksZ0JBQ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VBQUUsV0FBVyxDQUFDLEVBQUUsRUFBRSxPQUFPLENBQUMsQ0FBQyxDQUFDO0lBQ3hPLENBQUM7SUFFRCxJQUFJLElBQUk7UUFDSixPQUFPO1lBQ0gsS0FBSyxFQUFFLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztTQUMvQixDQUFDO0lBQ04sQ0FBQztJQUVELElBQUksZUFBZTtRQUNmLE9BQU87WUFDSCxLQUFLLEVBQUUsSUFBSSxDQUFDLG9CQUFvQixDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7U0FDOUMsQ0FBQztJQUNOLENBQUM7SUFFRCxJQUFJLGtCQUFrQjtRQUNsQixPQUFPO1lBQ0gsS0FBSyxFQUFFLElBQUksQ0FBQyx1QkFBdUIsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1NBQ2pELENBQUM7SUFDTixDQUFDO0lBRUQsSUFBSSxnQkFBZ0I7UUFDaEIsT0FBTztZQUNILEtBQUssRUFBRSxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7WUFDNUIsZUFBZSxFQUFFLElBQUksQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUNoRCxhQUFhLEVBQUUsSUFBSSxDQUFDLGFBQWEsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1NBQy9DLENBQUM7SUFDTixDQUFDO0NBQ0o7QUFwTEQsNEJBb0xDIn0= |
@@ -101,2 +101,6 @@ declare type Id<T> = {} & { | ||
}; | ||
'sort'?: { | ||
'by': string; | ||
'order': 'desc' | 'asc'; | ||
}; | ||
}; | ||
@@ -103,0 +107,0 @@ export declare type FdjBetsFetcherOpts = { |
{ | ||
"name": "@rlvt/datasources-fetcher-openapi-client", | ||
"version": "0.0.0-75726eb", | ||
"version": "0.0.0-96edbf2", | ||
"description": "Openapi client for reelevant service", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20627
432