@femtomc/mu-server 26.2.19 → 26.2.22
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 +2 -3
- package/dist/api/issues.js +1 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -53,9 +53,8 @@ Bun.serve(server);
|
|
|
53
53
|
{
|
|
54
54
|
"title": "Issue title",
|
|
55
55
|
"body": "Issue description",
|
|
56
|
-
"tags": ["bug", "priority"],
|
|
57
|
-
"priority": 2
|
|
58
|
-
"execution_spec": { ... }
|
|
56
|
+
"tags": ["bug", "priority", "role:worker"],
|
|
57
|
+
"priority": 2
|
|
59
58
|
}
|
|
60
59
|
```
|
|
61
60
|
- `PATCH /api/issues/:id` - Update issue
|
package/dist/api/issues.js
CHANGED
|
@@ -33,7 +33,7 @@ export async function issueRoutes(request, context) {
|
|
|
33
33
|
// Create issue - POST /api/issues
|
|
34
34
|
if (path === "/" && method === "POST") {
|
|
35
35
|
const body = await request.json();
|
|
36
|
-
const { title, body: issueBody, tags, priority
|
|
36
|
+
const { title, body: issueBody, tags, priority } = body;
|
|
37
37
|
if (!title) {
|
|
38
38
|
return new Response("Title is required", { status: 400 });
|
|
39
39
|
}
|
|
@@ -41,7 +41,6 @@ export async function issueRoutes(request, context) {
|
|
|
41
41
|
body: issueBody,
|
|
42
42
|
tags,
|
|
43
43
|
priority,
|
|
44
|
-
execution_spec
|
|
45
44
|
});
|
|
46
45
|
return Response.json(issue, { status: 201 });
|
|
47
46
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@femtomc/mu-server",
|
|
3
|
-
"version": "26.2.
|
|
3
|
+
"version": "26.2.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"start": "bun run dist/cli.js"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@femtomc/mu-core": "26.2.
|
|
26
|
-
"@femtomc/mu-issue": "26.2.
|
|
27
|
-
"@femtomc/mu-forum": "26.2.
|
|
25
|
+
"@femtomc/mu-core": "26.2.21",
|
|
26
|
+
"@femtomc/mu-issue": "26.2.21",
|
|
27
|
+
"@femtomc/mu-forum": "26.2.21"
|
|
28
28
|
}
|
|
29
29
|
}
|