Add comprehensive tests for role middleware and fix package dependencies
Some checks are pending
Docker Test / test (push) Waiting to run
Some checks are pending
Docker Test / test (push) Waiting to run
This commit is contained in:
parent
64aa924270
commit
bfd432d094
1884 changed files with 384668 additions and 84 deletions
15
node_modules/sql-escaper/lib/index.d.ts
generated
vendored
Normal file
15
node_modules/sql-escaper/lib/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
* Adapted from https://github.com/mysqljs/sqlstring/blob/cd528556b4b6bcf300c3db515026935dedf7cfa1/lib/SqlString.js
|
||||
* MIT LICENSE: https://github.com/mysqljs/sqlstring/blob/cd528556b4b6bcf300c3db515026935dedf7cfa1/LICENSE
|
||||
*/
|
||||
import type { Raw, SqlValue, Timezone } from './types.js';
|
||||
import { Buffer } from 'node:buffer';
|
||||
export type { Raw, SqlValue, Timezone } from './types.js';
|
||||
export declare const dateToString: (date: Date, timezone: Timezone) => string;
|
||||
export declare const escapeId: (value: SqlValue, forbidQualified?: boolean) => string;
|
||||
export declare const objectToValues: (object: Record<string, SqlValue>, timezone?: Timezone) => string;
|
||||
export declare const bufferToString: (buffer: Buffer) => string;
|
||||
export declare const arrayToList: (array: SqlValue[], timezone?: Timezone) => string;
|
||||
export declare const escape: (value: SqlValue, stringifyObjects?: boolean, timezone?: Timezone) => string;
|
||||
export declare const format: (sql: string, values?: SqlValue | SqlValue[], stringifyObjects?: boolean, timezone?: Timezone) => string;
|
||||
export declare const raw: (sql: string) => Raw;
|
||||
Loading…
Add table
Add a link
Reference in a new issue