@mestra-dev/contract 0.0.186 → 0.0.187
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.d.ts +12 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1367,7 +1367,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
1367
1367
|
"id",
|
|
1368
1368
|
"workspaceId",
|
|
1369
1369
|
"name",
|
|
1370
|
-
"sortOrder"
|
|
1370
|
+
"sortOrder",
|
|
1371
|
+
"isBuiltin"
|
|
1371
1372
|
];
|
|
1372
1373
|
readonly properties: {
|
|
1373
1374
|
readonly id: {
|
|
@@ -1386,6 +1387,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
1386
1387
|
readonly type: "integer";
|
|
1387
1388
|
readonly minimum: 0;
|
|
1388
1389
|
};
|
|
1390
|
+
readonly isBuiltin: {
|
|
1391
|
+
readonly type: "boolean";
|
|
1392
|
+
readonly description: "Whether this phase is built-in and cannot be deleted.";
|
|
1393
|
+
};
|
|
1389
1394
|
readonly created_at: {
|
|
1390
1395
|
readonly type: "string";
|
|
1391
1396
|
readonly format: "date-time";
|
|
@@ -9743,7 +9748,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9743
9748
|
"Tasks"
|
|
9744
9749
|
];
|
|
9745
9750
|
readonly summary: "Delete a workspace task phase";
|
|
9746
|
-
readonly description: "A phase cannot be deleted while tasks use it, and each workspace must retain at least one phase. Requires crm::tasks write access.";
|
|
9751
|
+
readonly description: "Built-in phases cannot be deleted. A custom phase cannot be deleted while tasks use it, and each workspace must retain at least one phase. Requires crm::tasks write access.";
|
|
9747
9752
|
readonly security: readonly [
|
|
9748
9753
|
never
|
|
9749
9754
|
];
|
|
@@ -9785,7 +9790,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9785
9790
|
readonly description: "Task phase not found.";
|
|
9786
9791
|
};
|
|
9787
9792
|
readonly 409: {
|
|
9788
|
-
readonly description: "Task phase is in use.";
|
|
9793
|
+
readonly description: "Task phase is built-in, in use, or the workspace's last phase.";
|
|
9789
9794
|
};
|
|
9790
9795
|
};
|
|
9791
9796
|
};
|
|
@@ -20361,6 +20366,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
20361
20366
|
workspaceId: string;
|
|
20362
20367
|
name: string;
|
|
20363
20368
|
sortOrder: number;
|
|
20369
|
+
isBuiltin: boolean;
|
|
20364
20370
|
}[];
|
|
20365
20371
|
};
|
|
20366
20372
|
outputFormat: "json";
|
|
@@ -20395,6 +20401,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
20395
20401
|
name: string;
|
|
20396
20402
|
workspaceId: string;
|
|
20397
20403
|
sortOrder: number;
|
|
20404
|
+
isBuiltin: boolean;
|
|
20398
20405
|
updated_at: string | null;
|
|
20399
20406
|
deleted_at: string | null;
|
|
20400
20407
|
verified_at: string | null;
|
|
@@ -20445,6 +20452,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
20445
20452
|
workspaceId: string;
|
|
20446
20453
|
name: string;
|
|
20447
20454
|
sortOrder: number;
|
|
20455
|
+
isBuiltin: boolean;
|
|
20448
20456
|
};
|
|
20449
20457
|
};
|
|
20450
20458
|
outputFormat: "json";
|
|
@@ -20475,6 +20483,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
20475
20483
|
workspaceId: string;
|
|
20476
20484
|
name: string;
|
|
20477
20485
|
sortOrder: number;
|
|
20486
|
+
isBuiltin: boolean;
|
|
20478
20487
|
}[];
|
|
20479
20488
|
};
|
|
20480
20489
|
outputFormat: "json";
|