@youri-kane/heroku-client
Advanced tools
Comparing version
@@ -8,2 +8,5 @@ export * from './enableAppAcm'; | ||
export * from './getApp'; | ||
export * from './getConfigVars'; | ||
export * from './getReleaseConfigVars'; | ||
export * from './updateConfigVars'; | ||
export * from './types'; |
@@ -24,2 +24,5 @@ "use strict"; | ||
__exportStar(require("./getApp"), exports); | ||
__exportStar(require("./getConfigVars"), exports); | ||
__exportStar(require("./getReleaseConfigVars"), exports); | ||
__exportStar(require("./updateConfigVars"), exports); | ||
__exportStar(require("./types"), exports); |
@@ -52,1 +52,2 @@ export declare type Region = { | ||
}; | ||
export declare type ConfigVars = Record<string, string>; |
@@ -6,2 +6,3 @@ import * as apps from './apps'; | ||
import * as appWebhooksDelivery from './appWebhooksDelivery'; | ||
import * as appBuilds from './appBuilds'; | ||
import * as formation from './formation'; | ||
@@ -136,2 +137,34 @@ import * as logDrain from './logDrain'; | ||
}) => Promise<import("./types").CustomResponse<formation.Formation[]>>; | ||
getAppBuild: (params: import("./types").RequestParams & { | ||
params: { | ||
appId: string; | ||
buildId: string; | ||
}; | ||
}) => Promise<import("./types").CustomResponse<appBuilds.AppBuild>>; | ||
getAppBuilds: (params: import("./types").RequestParams & { | ||
params: { | ||
appId: string; | ||
}; | ||
}) => Promise<import("./types").CustomResponse<appBuilds.AppBuild[]>>; | ||
createAppBuild: (params: import("./types").RequestParams & { | ||
params: { | ||
appId: string; | ||
}; | ||
body: { | ||
source_blob: { | ||
checksum: string; | ||
url: string; | ||
version: string; | ||
} | null; | ||
buildpacks?: { | ||
name: string; | ||
url: string; | ||
}[] | null | undefined; | ||
}; | ||
}) => Promise<import("./types").CustomResponse<appBuilds.AppBuild>>; | ||
deleteBuildCache: (params: import("./types").RequestParams & { | ||
params: { | ||
appId: string; | ||
}; | ||
}) => Promise<import("./types").CustomResponse<unknown>>; | ||
getAppWebhookDelivery: (params: import("./types").RequestParams & { | ||
@@ -262,2 +295,19 @@ params: { | ||
}) => Promise<import("./types").CustomResponse<apps.App>>; | ||
getAppConfigVars: (params: import("./types").RequestParams & { | ||
params: { | ||
appId: string; | ||
}; | ||
}) => Promise<import("./types").CustomResponse<apps.ConfigVars>>; | ||
getAppReleaseConfigVars: (params: import("./types").RequestParams & { | ||
params: { | ||
appId: string; | ||
releaseId: string; | ||
}; | ||
}) => Promise<import("./types").CustomResponse<apps.ConfigVars>>; | ||
updateAppConfigVars: (params: import("./types").RequestParams & { | ||
params: { | ||
appId: string; | ||
}; | ||
body: Record<string, string | null>; | ||
}) => Promise<import("./types").CustomResponse<apps.ConfigVars>>; | ||
}; |
@@ -33,2 +33,3 @@ "use strict"; | ||
const appWebhooksDelivery = __importStar(require("./appWebhooksDelivery")); | ||
const appBuilds = __importStar(require("./appBuilds")); | ||
const metrics = __importStar(require("./metrics")); | ||
@@ -45,2 +46,3 @@ const miscellaneous = __importStar(require("./miscellaneous")); | ||
...appWebhooksDelivery, | ||
...appBuilds, | ||
...formation, | ||
@@ -47,0 +49,0 @@ ...logDrain, |
{ | ||
"name": "@youri-kane/heroku-client", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "heroku developer api client with typescript support", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"composite": true, | ||
"outDir": "./dist", | ||
}, | ||
"include": [ | ||
@@ -4,0 +8,0 @@ "./src", |
Sorry, the diff of this file is not supported yet
121336
-2.34%136
-20%2060
-13.04%