Skip to content

feat: POC for ts-rest API migration with type-safe contracts #16

feat: POC for ts-rest API migration with type-safe contracts

feat: POC for ts-rest API migration with type-safe contracts #16

Triggered via pull request June 17, 2025 03:58
Status Failure
Total duration 55s
Artifacts

ci.yml

on: pull_request
format-check
23s
format-check
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
format-check
Process completed with exit code 1.
test (22.x): apps/crowi-api/src/controllers/tokenAuth.ts#L246
Delete `······`
test (22.x): apps/crowi-api/src/controllers/tokenAuth.ts#L244
Delete `······`
test (22.x): apps/crowi-api/src/controllers/tokenAuth.ts#L222
Delete `······`
test (22.x): apps/crowi-api/src/controllers/tokenAuth.ts#L152
Delete `······`
test (22.x): apps/crowi-api/src/controllers/tokenAuth.ts#L136
Replace `⏎··············?·'Email·already·registered'·⏎·············` with `?·'Email·already·registered'`
test (22.x): apps/crowi-api/src/controllers/tokenAuth.ts#L126
Replace `⏎··········{·email:·email·},⏎··········{·username:·username·},⏎········` with `{·email:·email·},·{·username:·username·}`
test (22.x): apps/crowi-api/src/controllers/tokenAuth.ts#L113
Replace `await·Config.loadAllConfig(` with `(await·Config.loadAllConfig()`
test (22.x): apps/crowi-api/src/controllers/tokenAuth.ts#L48
Delete `········`
test (22.x)
@crowi/api#lint: command (/home/runner/work/crowi/crowi/apps/crowi-api) /home/runner/setup-pnpm/node_modules/.bin/.tools/pnpm/8.15.0/bin/pnpm run lint exited (1)
test (22.x): apps/crowi-api/src/controllers/admin.ts#L229
Unexpected any. Specify a different type
test (22.x): apps/crowi-api/src/controllers/admin.ts#L202
'skip' is defined but never used. Allowed unused args must match /^_/u
test (22.x): apps/crowi-api/src/controllers/admin.ts#L202
'current' is defined but never used. Allowed unused args must match /^_/u
test (22.x): apps/crowi-api/src/controllers/admin.ts#L202
'total' is defined but never used. Allowed unused args must match /^_/u
test (22.x): apps/crowi-api/src/controllers/admin.ts#L197
'skip' is defined but never used. Allowed unused args must match /^_/u
test (22.x): apps/crowi-api/src/controllers/admin.ts#L197
'current' is defined but never used. Allowed unused args must match /^_/u
test (22.x): apps/crowi-api/src/controllers/admin.ts#L197
'total' is defined but never used. Allowed unused args must match /^_/u
test (22.x): apps/crowi-api/src/controllers/admin.ts#L24
Unexpected any. Specify a different type
test (22.x): apps/crowi-api/src/controllers/admin.ts#L18
Unexpected any. Specify a different type
test (22.x): apps/crowi-api/src/controllers/admin.ts#L17
Unexpected any. Specify a different type