@carbonorm/carbonnode 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api/restRequest.ts +12 -2
package/package.json
CHANGED
package/src/api/restRequest.ts
CHANGED
|
@@ -306,8 +306,18 @@ export type iGetC6RestResponse<ResponseDataType, ResponseDataOverrides = {}> = i
|
|
|
306
306
|
|
|
307
307
|
interface iRest<CustomAndRequiredFields extends { [key: string]: any }, RestTableInterfaces extends {
|
|
308
308
|
[key: string]: any
|
|
309
|
-
}, RequestTableOverrides = {
|
|
310
|
-
|
|
309
|
+
}, RequestTableOverrides = {
|
|
310
|
+
[key in keyof RestTableInterfaces]: any
|
|
311
|
+
}, ResponseDataType = any,
|
|
312
|
+
RestShortTableNames extends string = any> {
|
|
313
|
+
C6: {
|
|
314
|
+
TABLES: {
|
|
315
|
+
[key: string]: C6RestfulModel &
|
|
316
|
+
{ [key: string]: string | number }
|
|
317
|
+
}
|
|
318
|
+
} & {
|
|
319
|
+
[key: string]: any
|
|
320
|
+
},
|
|
311
321
|
axios: AxiosInstance,
|
|
312
322
|
restURL: string,
|
|
313
323
|
tableName: RestShortTableNames | RestShortTableNames[],
|