@meltstudio/meltctl 4.104.0 → 4.106.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 +19 -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.106.0";
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -916,6 +916,15 @@ function createPmResource(config) {
|
|
|
916
916
|
const res = await apiFetch(config, `/pm/project-audit-flags?projectId=${projectId}&status=${status}`);
|
|
917
917
|
return unwrap("list audit flags", res);
|
|
918
918
|
},
|
|
919
|
+
/**
|
|
920
|
+
* Cross-project audit-flag listing for the home action-items panel.
|
|
921
|
+
* Same shape as `listAuditFlags` but covers every project the caller can
|
|
922
|
+
* see. Defaults to open flags only.
|
|
923
|
+
*/
|
|
924
|
+
async listAllAuditFlags(status = "open") {
|
|
925
|
+
const res = await apiFetch(config, `/pm/project-audit-flags?status=${status}`);
|
|
926
|
+
return unwrap("list all audit flags", res);
|
|
927
|
+
},
|
|
919
928
|
async dismissAuditFlag(id, reason) {
|
|
920
929
|
const res = await apiFetch(config, `/pm/project-audit-flags/${id}/dismiss`, { method: "POST", body: JSON.stringify({ reason }) });
|
|
921
930
|
return unwrap("dismiss audit flag", res);
|
|
@@ -3248,6 +3257,15 @@ function createPmResource2(config) {
|
|
|
3248
3257
|
const res = await apiFetch2(config, `/pm/project-audit-flags?projectId=${projectId}&status=${status}`);
|
|
3249
3258
|
return unwrap2("list audit flags", res);
|
|
3250
3259
|
},
|
|
3260
|
+
/**
|
|
3261
|
+
* Cross-project audit-flag listing for the home action-items panel.
|
|
3262
|
+
* Same shape as `listAuditFlags` but covers every project the caller can
|
|
3263
|
+
* see. Defaults to open flags only.
|
|
3264
|
+
*/
|
|
3265
|
+
async listAllAuditFlags(status = "open") {
|
|
3266
|
+
const res = await apiFetch2(config, `/pm/project-audit-flags?status=${status}`);
|
|
3267
|
+
return unwrap2("list all audit flags", res);
|
|
3268
|
+
},
|
|
3251
3269
|
async dismissAuditFlag(id, reason) {
|
|
3252
3270
|
const res = await apiFetch2(config, `/pm/project-audit-flags/${id}/dismiss`, { method: "POST", body: JSON.stringify({ reason }) });
|
|
3253
3271
|
return unwrap2("dismiss audit flag", res);
|
package/package.json
CHANGED