@meltstudio/meltctl 4.96.1 → 4.98.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 +21 -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.98.0";
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -924,6 +924,16 @@ function createPmResource(config) {
|
|
|
924
924
|
const res = await apiFetch(config, `/pm/project-audit-catalog`);
|
|
925
925
|
return unwrap("get audit catalog", res);
|
|
926
926
|
},
|
|
927
|
+
// ─── Risk-board mappings ──────────────────────────────────────────────
|
|
928
|
+
/**
|
|
929
|
+
* Read-only list of every Strapi → Linear RSK project mapping. Owned by
|
|
930
|
+
* PMs through the scheduled-task seed/upsert flow; the dashboard reads
|
|
931
|
+
* this to surface unmapped projects in action items.
|
|
932
|
+
*/
|
|
933
|
+
async listRiskMappings() {
|
|
934
|
+
const res = await apiFetch(config, `/pm/risk-mappings`);
|
|
935
|
+
return unwrap("list risk mappings", res);
|
|
936
|
+
},
|
|
927
937
|
/** Manager-triggered immediate audit run for a single project. Returns the same summary the cron would produce. */
|
|
928
938
|
async runProjectAudit(projectId) {
|
|
929
939
|
const res = await apiFetch(config, `/pm/project-audit/run/${projectId}`, { method: "POST" });
|
|
@@ -3214,6 +3224,16 @@ function createPmResource2(config) {
|
|
|
3214
3224
|
const res = await apiFetch2(config, `/pm/project-audit-catalog`);
|
|
3215
3225
|
return unwrap2("get audit catalog", res);
|
|
3216
3226
|
},
|
|
3227
|
+
// ─── Risk-board mappings ──────────────────────────────────────────────
|
|
3228
|
+
/**
|
|
3229
|
+
* Read-only list of every Strapi → Linear RSK project mapping. Owned by
|
|
3230
|
+
* PMs through the scheduled-task seed/upsert flow; the dashboard reads
|
|
3231
|
+
* this to surface unmapped projects in action items.
|
|
3232
|
+
*/
|
|
3233
|
+
async listRiskMappings() {
|
|
3234
|
+
const res = await apiFetch2(config, `/pm/risk-mappings`);
|
|
3235
|
+
return unwrap2("list risk mappings", res);
|
|
3236
|
+
},
|
|
3217
3237
|
/** Manager-triggered immediate audit run for a single project. Returns the same summary the cron would produce. */
|
|
3218
3238
|
async runProjectAudit(projectId) {
|
|
3219
3239
|
const res = await apiFetch2(config, `/pm/project-audit/run/${projectId}`, { method: "POST" });
|
package/package.json
CHANGED