Skip to content

Commit 6ecab28

Browse files
committed
Update to use refactored api stuffs
1 parent 5abc6bd commit 6ecab28

17 files changed

+27
-35
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"parseurl": "1.3.3",
3333
"postcss": "8.5.3",
3434
"serve-static": "1.16.2",
35-
"task": "github:chirivulpes/task#94c1d24a0310614f5a2022a723aacc402b6bfced",
35+
"task": "github:chirivulpes/task#ef1975228fec597c8112a51ec4786b5b210c83d9",
3636
"terser": "5.39.0",
3737
"ts-node": "10.9.2",
3838
"tsconfig-paths": "4.2.0",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/endpoint/follow/EndpointFollowAdd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type FollowType = Extract<keyof Paths, `/follow/${string}/{id}`> extends `/follo
55

66
export default {
77
Author: Endpoint('/follow/author/{id}', 'post'),
8-
Work: Endpoint('/follow/work/{id}', 'post'),
8+
// Work: Endpoint('/follow/work/{id}', 'post'),
99
Tag: Endpoint('/follow/tag/{id}', 'post'),
1010
Category: Endpoint('/follow/category/{id}', 'post'),
1111
} satisfies { [TYPE in FollowType as Capitalize<TYPE>]: Endpoint<`/follow/${TYPE}/{id}`> }

src/endpoint/follow/EndpointFollowGet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type FollowType = Extract<keyof Paths, `/follows/${string}/{id}`> extends `/foll
55

66
export default {
77
Author: Endpoint('/follows/author/{id}', 'get'),
8-
Work: Endpoint('/follows/work/{id}', 'get'),
8+
// Work: Endpoint('/follows/work/{id}', 'get'),
99
Tag: Endpoint('/follows/tag/{id}', 'get'),
1010
Category: Endpoint('/follows/category/{id}', 'get'),
1111
} satisfies { [TYPE in FollowType as Capitalize<TYPE>]: Endpoint<`/follows/${TYPE}/{id}`> }

src/endpoint/follow/EndpointFollowRemove.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type FollowType = Extract<keyof Paths, `/unfollow/${string}/{id}`> extends `/unf
55

66
export default {
77
Author: Endpoint('/unfollow/author/{id}', 'post'),
8-
Work: Endpoint('/unfollow/work/{id}', 'post'),
8+
// Work: Endpoint('/unfollow/work/{id}', 'post'),
99
Tag: Endpoint('/unfollow/tag/{id}', 'post'),
1010
Category: Endpoint('/unfollow/category/{id}', 'post'),
1111
} satisfies { [TYPE in FollowType as Capitalize<TYPE>]: Endpoint<`/unfollow/${TYPE}/{id}`> }

src/endpoint/follow/EndpointIgnoreAdd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type FollowType = Extract<keyof Paths, `/ignore/${string}/{id}`> extends `/ignor
55

66
export default {
77
Author: Endpoint('/ignore/author/{id}', 'post'),
8-
Work: Endpoint('/ignore/work/{id}', 'post'),
8+
// Work: Endpoint('/ignore/work/{id}', 'post'),
99
Tag: Endpoint('/ignore/tag/{id}', 'post'),
1010
Category: Endpoint('/ignore/category/{id}', 'post'),
1111
} satisfies { [TYPE in FollowType as Capitalize<TYPE>]: Endpoint<`/ignore/${TYPE}/{id}`> }

src/endpoint/follow/EndpointIgnoreGet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type FollowType = Extract<keyof Paths, `/ignores/${string}/{id}`> extends `/igno
55

66
export default {
77
Author: Endpoint('/ignores/author/{id}', 'get'),
8-
Work: Endpoint('/ignores/work/{id}', 'get'),
8+
// Work: Endpoint('/ignores/work/{id}', 'get'),
99
Tag: Endpoint('/ignores/tag/{id}', 'get'),
1010
Category: Endpoint('/ignores/category/{id}', 'get'),
1111
} satisfies { [TYPE in FollowType as Capitalize<TYPE>]: Endpoint<`/ignores/${TYPE}/{id}`> }

src/endpoint/follow/EndpointIgnoreRemove.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type FollowType = Extract<keyof Paths, `/unignore/${string}/{id}`> extends `/uni
55

66
export default {
77
Author: Endpoint('/unignore/author/{id}', 'post'),
8-
Work: Endpoint('/unignore/work/{id}', 'post'),
8+
// Work: Endpoint('/unignore/work/{id}', 'post'),
99
Tag: Endpoint('/unignore/tag/{id}', 'post'),
1010
Category: Endpoint('/unignore/category/{id}', 'post'),
1111
} satisfies { [TYPE in FollowType as Capitalize<TYPE>]: Endpoint<`/unignore/${TYPE}/{id}`> }

src/endpoint/reaction/EndpointSupporterReactChapter.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/endpoint/reaction/EndpointSupporterUnreactChapter.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)