@fixerorg/schemas 1.0.0 → 1.0.1
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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +39 -37
package/dist/index.d.ts
CHANGED
|
@@ -47,8 +47,8 @@ declare const ISSUES: {
|
|
|
47
47
|
readonly aiChat: (projectId: string, issueId: string) => string;
|
|
48
48
|
};
|
|
49
49
|
declare const TASKS: {
|
|
50
|
-
/**
|
|
51
|
-
readonly
|
|
50
|
+
/** 获取所有任务列表 */
|
|
51
|
+
readonly list: "/api/tasks";
|
|
52
52
|
/** 创建 Task */
|
|
53
53
|
readonly create: (issueId: string) => string;
|
|
54
54
|
/** 单个 Task */
|
package/dist/index.js
CHANGED
|
@@ -38,8 +38,8 @@ var ISSUES = {
|
|
|
38
38
|
aiChat: (projectId, issueId) => `${API_BASE}/projects/${projectId}/issues/${issueId}/ai/chat`
|
|
39
39
|
};
|
|
40
40
|
var TASKS = {
|
|
41
|
-
/**
|
|
42
|
-
|
|
41
|
+
/** 获取所有任务列表 */
|
|
42
|
+
list: `${API_BASE}/tasks`,
|
|
43
43
|
/** 创建 Task */
|
|
44
44
|
create: (issueId) => `${API_BASE}/tasks/issue/${issueId}`,
|
|
45
45
|
/** 单个 Task */
|
package/package.json
CHANGED
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fixerorg/schemas",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Shared schemas for Fixer - AI-powered Issue Management System",
|
|
5
|
-
"author": "zhangyingwei",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"main": "./dist/index.js",
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"import": "./dist/index.js"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@fixerorg/schemas",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Shared schemas for Fixer - AI-powered Issue Management System",
|
|
5
|
+
"author": "zhangyingwei",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsup src/index.ts --format esm --dts",
|
|
21
|
+
"dev": "tsup src/index.ts --format esm --dts --watch",
|
|
22
|
+
"prepublishOnly": "pnpm build"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "https://github.com/zhangyingwei/superdev.git",
|
|
30
|
+
"directory": "packages/schemas"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"zod": "^3.24.0"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"tsup": "^8.0.0",
|
|
37
|
+
"typescript": "^5.7.0"
|
|
38
|
+
}
|
|
39
|
+
}
|