Skip to content

feat: add cloudflare d1 support #134

feat: add cloudflare d1 support

feat: add cloudflare d1 support #134

Triggered via pull request July 20, 2024 02:34
Status Failure
Total duration 1m 13s
Artifacts

check.yaml

on: pull_request
quality-check
1m 5s
quality-check
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
quality-check: src/app/api/ops/[database_id]/handle-batch.ts#L22
Argument of type 'InStatement[]' is not assignable to parameter of type 'string[]'.
quality-check: src/app/api/ops/[database_id]/handle-query.ts#L22
Argument of type 'InStatement' is not assignable to parameter of type 'string'.
quality-check: src/app/api/temp_ops/[session_id]/route.ts#L56
Property 'databaseName' is missing in type '{ driver: string | null; host: string; password: string | null; token: string; color: null; createdAt: null; deletedAt: null; description: string; id: string; name: string; userId: string; username: string | null; }' but required in type '{ driver: string | null; id: string; name: string | null; createdAt: number | null; userId: string; description: string | null; color: string | null; host: string | null; token: string | null; username: string | null; password: string | null; databaseName: string | null; deletedAt: number | null; }'.
quality-check: src/lib/test-helper.ts#L109
Property 'databaseName' is missing in type '{ color: string; createdAt: number; description: string; driver: string; host: string; name: string; id: string; userId: string; deletedAt: null; password: null; token: null; username: null; }' but required in type '{ driver: string | null; id: string; name: string | null; createdAt: number | null; userId: string; description: string | null; color: string | null; host: string | null; token: string | null; username: string | null; password: string | null; databaseName: string | null; deletedAt: number | null; }'.
quality-check
Process completed with exit code 2.
quality-check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/