@vocoder/cli 0.12.2 → 0.13.0
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.
|
@@ -43667,7 +43667,7 @@ var VocoderAPI = class {
|
|
|
43667
43667
|
* Fetch project configuration from API
|
|
43668
43668
|
* Project is determined from the API key
|
|
43669
43669
|
*/
|
|
43670
|
-
async
|
|
43670
|
+
async getAppConfig() {
|
|
43671
43671
|
const data = await this.request("/api/cli/config", {}, "Failed to fetch project config");
|
|
43672
43672
|
return {
|
|
43673
43673
|
projectName: data.projectName,
|
|
@@ -43969,7 +43969,7 @@ var VocoderAPI = class {
|
|
|
43969
43969
|
}
|
|
43970
43970
|
return payload;
|
|
43971
43971
|
}
|
|
43972
|
-
async
|
|
43972
|
+
async listApps(userToken, organizationId) {
|
|
43973
43973
|
const url = new URL(`${this.apiUrl}/api/cli/projects`);
|
|
43974
43974
|
url.searchParams.set("organizationId", organizationId);
|
|
43975
43975
|
const response = await fetch(url.toString(), {
|
|
@@ -44241,7 +44241,7 @@ var VocoderAPI = class {
|
|
|
44241
44241
|
* existing apps in other scopes, and whether a whole-repo app exists.
|
|
44242
44242
|
* No auth required.
|
|
44243
44243
|
*/
|
|
44244
|
-
async
|
|
44244
|
+
async lookupAppByRepo(params) {
|
|
44245
44245
|
try {
|
|
44246
44246
|
const response = await fetch(`${this.apiUrl}/api/cli/init/lookup`, {
|
|
44247
44247
|
method: "POST",
|
|
@@ -51500,4 +51500,4 @@ export {
|
|
|
51500
51500
|
loadVocoderConfig,
|
|
51501
51501
|
StringExtractor
|
|
51502
51502
|
};
|
|
51503
|
-
//# sourceMappingURL=chunk-
|
|
51503
|
+
//# sourceMappingURL=chunk-ZHRKJ2KZ.mjs.map
|