@meltstudio/meltctl 4.49.0 → 4.51.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.
- package/dist/index.js +9 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var CLI_VERSION;
|
|
|
14
14
|
var init_version = __esm({
|
|
15
15
|
"src/utils/version.ts"() {
|
|
16
16
|
"use strict";
|
|
17
|
-
CLI_VERSION = "4.
|
|
17
|
+
CLI_VERSION = "4.51.0";
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -571,6 +571,14 @@ function createProjectsResource(config2) {
|
|
|
571
571
|
});
|
|
572
572
|
if (status !== 200)
|
|
573
573
|
throw new Error(`Failed to remove repo (${status})`);
|
|
574
|
+
},
|
|
575
|
+
async listIgnoredRepos() {
|
|
576
|
+
const { data, status } = await apiFetch(config2, "/projects/ignored-repos");
|
|
577
|
+
if (status === 403)
|
|
578
|
+
throw new Error("Access denied.");
|
|
579
|
+
if (status !== 200)
|
|
580
|
+
throw new Error(`Failed to fetch ignored repos (${status})`);
|
|
581
|
+
return data;
|
|
574
582
|
}
|
|
575
583
|
};
|
|
576
584
|
}
|
package/package.json
CHANGED