@vocoder/cli 0.12.0 → 0.12.1
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/README.md +3 -3
- package/dist/bin.mjs +35 -64
- package/dist/bin.mjs.map +1 -1
- package/dist/{chunk-XUCVAFBG.mjs → chunk-SR6SDGUI.mjs} +4 -4
- package/dist/{chunk-XUCVAFBG.mjs.map → chunk-SR6SDGUI.mjs.map} +1 -1
- package/dist/lib.d.mts +7 -6
- package/dist/lib.mjs +1 -1
- package/dist/lib.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -44265,10 +44265,10 @@ var VocoderAPI = class {
|
|
|
44265
44265
|
}
|
|
44266
44266
|
}
|
|
44267
44267
|
/**
|
|
44268
|
-
* Add a new
|
|
44268
|
+
* Add a new App to an existing project (monorepo: new app directory).
|
|
44269
44269
|
* Does not check plan limits — no new project is created.
|
|
44270
44270
|
*/
|
|
44271
|
-
async
|
|
44271
|
+
async createApp(userToken, params) {
|
|
44272
44272
|
const response = await fetch(`${this.apiUrl}/api/cli/project/apps`, {
|
|
44273
44273
|
method: "POST",
|
|
44274
44274
|
headers: {
|
|
@@ -44282,7 +44282,7 @@ var VocoderAPI = class {
|
|
|
44282
44282
|
throw new VocoderAPIError({
|
|
44283
44283
|
message: extractErrorMessage(
|
|
44284
44284
|
payload,
|
|
44285
|
-
`Failed to create
|
|
44285
|
+
`Failed to create app (${response.status})`
|
|
44286
44286
|
),
|
|
44287
44287
|
status: response.status,
|
|
44288
44288
|
payload
|
|
@@ -51500,4 +51500,4 @@ export {
|
|
|
51500
51500
|
loadVocoderConfig,
|
|
51501
51501
|
StringExtractor
|
|
51502
51502
|
};
|
|
51503
|
-
//# sourceMappingURL=chunk-
|
|
51503
|
+
//# sourceMappingURL=chunk-SR6SDGUI.mjs.map
|