@fixerorg/schemas 1.0.0 → 1.0.2

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 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
- /** Issue 下的 Task 列表 */
51
- readonly listByIssue: (issueId: string) => string;
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
- /** Issue 下的 Task 列表 */
42
- listByIssue: (issueId) => `${API_BASE}/tasks/issue/${issueId}`,
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.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": ["dist"],
17
- "scripts": {
18
- "build": "tsup src/index.ts --format esm --dts",
19
- "dev": "tsup src/index.ts --format esm --dts --watch",
20
- "prepublishOnly": "pnpm build"
21
- },
22
- "publishConfig": {
23
- "access": "public"
24
- },
25
- "repository": {
26
- "type": "git",
27
- "url": "https://github.com/zhangyingwei/superdev.git",
28
- "directory": "packages/schemas"
29
- },
30
- "dependencies": {
31
- "zod": "^3.24.0"
32
- },
33
- "devDependencies": {
34
- "tsup": "^8.0.0",
35
- "typescript": "^5.7.0"
36
- }
37
- }
1
+ {
2
+ "name": "@fixerorg/schemas",
3
+ "version": "1.0.2",
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
+ }