Skip to content

chore(deps): bump fastify from 4.29.0 to 5.2.2 #912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading

Unchanged files with check annotations Beta

},
async (request, reply) => {
const connectionString = request.headers.pg
const includeSystemSchemas = request.query.include_system_schemas

Check failure on line 38 in src/server/routes/column-privileges.ts

GitHub Actions / Test

'request.query' is of type 'unknown'.
const includedSchemas = request.query.included_schemas?.split(',')

Check failure on line 39 in src/server/routes/column-privileges.ts

GitHub Actions / Test

'request.query' is of type 'unknown'.
const excludedSchemas = request.query.excluded_schemas?.split(',')

Check failure on line 40 in src/server/routes/column-privileges.ts

GitHub Actions / Test

'request.query' is of type 'unknown'.
const limit = request.query.limit

Check failure on line 41 in src/server/routes/column-privileges.ts

GitHub Actions / Test

'request.query' is of type 'unknown'.
const offset = request.query.offset

Check failure on line 42 in src/server/routes/column-privileges.ts

GitHub Actions / Test

'request.query' is of type 'unknown'.
const pgMeta = new PostgresMeta({ ...DEFAULT_POOL_CONFIG, connectionString })

Check failure on line 44 in src/server/routes/column-privileges.ts

GitHub Actions / Test

Type 'string | string[] | undefined' is not assignable to type 'string | undefined'.
const { data, error } = await pgMeta.columnPrivileges.list({
includeSystemSchemas,
includedSchemas,
async (request, reply) => {
const connectionString = request.headers.pg
const pgMeta = new PostgresMeta({ ...DEFAULT_POOL_CONFIG, connectionString })

Check failure on line 82 in src/server/routes/column-privileges.ts

GitHub Actions / Test

Type 'string | string[] | undefined' is not assignable to type 'string | undefined'.
const { data, error } = await pgMeta.columnPrivileges.grant(request.body)

Check failure on line 83 in src/server/routes/column-privileges.ts

GitHub Actions / Test

Argument of type 'unknown' is not assignable to parameter of type '{ is_grantable?: boolean | undefined; grantee: string; privilege_type: "SELECT" | "INSERT" | "UPDATE" | "ALL" | "REFERENCES"; column_id: string; }[]'.
await pgMeta.end()
if (error) {
request.log.error({ error, request: extractRequestForLogging(request) })
async (request, reply) => {
const connectionString = request.headers.pg
const pgMeta = new PostgresMeta({ ...DEFAULT_POOL_CONFIG, connectionString })

Check failure on line 117 in src/server/routes/column-privileges.ts

GitHub Actions / Test

Type 'string | string[] | undefined' is not assignable to type 'string | undefined'.
const { data, error } = await pgMeta.columnPrivileges.revoke(request.body)

Check failure on line 118 in src/server/routes/column-privileges.ts

GitHub Actions / Test

Argument of type 'unknown' is not assignable to parameter of type '{ grantee: string; privilege_type: "SELECT" | "INSERT" | "UPDATE" | "ALL" | "REFERENCES"; column_id: string; }[]'.
await pgMeta.end()
if (error) {
request.log.error({ error, request: extractRequestForLogging(request) })