From 306f9ed01df365cc16d29da046a1a18742684d7d Mon Sep 17 00:00:00 2001 From: Zachary Golba Date: Sat, 28 Jan 2017 16:15:50 -0500 Subject: [PATCH 1/2] deps: update third party type definitions --- flow-typed/npm/babel-core_vx.x.x.js | 39 +- ...ransform-es2015-modules-commonjs_vx.x.x.js | 4 +- flow-typed/npm/eslint_vx.x.x.js | 18 +- flow-typed/npm/fb-watchman_vx.x.x.js | 4 +- flow-typed/npm/inflection_vx.x.x.js | 4 +- flow-typed/npm/knex_v0.12.x.js | 164 +++ flow-typed/npm/knex_vx.x.x.js | 1082 ----------------- flow-typed/npm/ora_vx.x.x.js | 4 +- flow-typed/npm/source-map-support_vx.x.x.js | 4 +- 9 files changed, 227 insertions(+), 1096 deletions(-) create mode 100644 flow-typed/npm/knex_v0.12.x.js delete mode 100644 flow-typed/npm/knex_vx.x.x.js diff --git a/flow-typed/npm/babel-core_vx.x.x.js b/flow-typed/npm/babel-core_vx.x.x.js index 04a4dc21..24cc7d20 100644 --- a/flow-typed/npm/babel-core_vx.x.x.js +++ b/flow-typed/npm/babel-core_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: d692dba6c579c5b69dea0df77cde52c0 -// flow-typed version: <>/babel-core_v6.21.0/flow_v0.38.0 +// flow-typed signature: acad8b2e966b83f1ace8324a2e7731a6 +// flow-typed version: <>/babel-core_v6.22.1/flow_v0.38.0 /** * This is an autogenerated libdef stub for: @@ -30,6 +30,14 @@ declare module 'babel-core/lib/api/node' { declare module.exports: any; } +declare module 'babel-core/lib/helpers/get-possible-plugin-names' { + declare module.exports: any; +} + +declare module 'babel-core/lib/helpers/get-possible-preset-names' { + declare module.exports: any; +} + declare module 'babel-core/lib/helpers/merge' { declare module.exports: any; } @@ -38,6 +46,18 @@ declare module 'babel-core/lib/helpers/normalize-ast' { declare module.exports: any; } +declare module 'babel-core/lib/helpers/resolve-from-possible-names' { + declare module.exports: any; +} + +declare module 'babel-core/lib/helpers/resolve-plugin' { + declare module.exports: any; +} + +declare module 'babel-core/lib/helpers/resolve-preset' { + declare module.exports: any; +} + declare module 'babel-core/lib/helpers/resolve' { declare module.exports: any; } @@ -127,12 +147,27 @@ declare module 'babel-core/lib/api/browser.js' { declare module 'babel-core/lib/api/node.js' { declare module.exports: $Exports<'babel-core/lib/api/node'>; } +declare module 'babel-core/lib/helpers/get-possible-plugin-names.js' { + declare module.exports: $Exports<'babel-core/lib/helpers/get-possible-plugin-names'>; +} +declare module 'babel-core/lib/helpers/get-possible-preset-names.js' { + declare module.exports: $Exports<'babel-core/lib/helpers/get-possible-preset-names'>; +} declare module 'babel-core/lib/helpers/merge.js' { declare module.exports: $Exports<'babel-core/lib/helpers/merge'>; } declare module 'babel-core/lib/helpers/normalize-ast.js' { declare module.exports: $Exports<'babel-core/lib/helpers/normalize-ast'>; } +declare module 'babel-core/lib/helpers/resolve-from-possible-names.js' { + declare module.exports: $Exports<'babel-core/lib/helpers/resolve-from-possible-names'>; +} +declare module 'babel-core/lib/helpers/resolve-plugin.js' { + declare module.exports: $Exports<'babel-core/lib/helpers/resolve-plugin'>; +} +declare module 'babel-core/lib/helpers/resolve-preset.js' { + declare module.exports: $Exports<'babel-core/lib/helpers/resolve-preset'>; +} declare module 'babel-core/lib/helpers/resolve.js' { declare module.exports: $Exports<'babel-core/lib/helpers/resolve'>; } diff --git a/flow-typed/npm/babel-plugin-transform-es2015-modules-commonjs_vx.x.x.js b/flow-typed/npm/babel-plugin-transform-es2015-modules-commonjs_vx.x.x.js index 26bcdd9b..2a8818f7 100644 --- a/flow-typed/npm/babel-plugin-transform-es2015-modules-commonjs_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-transform-es2015-modules-commonjs_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 1d90db81b4452cd3f99ec09d578fc314 -// flow-typed version: <>/babel-plugin-transform-es2015-modules-commonjs_v6.18.0/flow_v0.38.0 +// flow-typed signature: d00677a0a14d1bbf838e7451315d9d18 +// flow-typed version: <>/babel-plugin-transform-es2015-modules-commonjs_v6.22.0/flow_v0.38.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint_vx.x.x.js b/flow-typed/npm/eslint_vx.x.x.js index b8e12078..3370d216 100644 --- a/flow-typed/npm/eslint_vx.x.x.js +++ b/flow-typed/npm/eslint_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 39c719d3a8ef136e1ba183a7d663f2b4 -// flow-typed version: <>/eslint_v3.13.1/flow_v0.38.0 +// flow-typed signature: b0d9578b6d8fe75865bb72c319133933 +// flow-typed version: <>/eslint_v3.14.1/flow_v0.38.0 /** * This is an autogenerated libdef stub for: @@ -682,6 +682,10 @@ declare module 'eslint/lib/rules/no-mixed-spaces-and-tabs' { declare module.exports: any; } +declare module 'eslint/lib/rules/no-multi-assign' { + declare module.exports: any; +} + declare module 'eslint/lib/rules/no-multi-spaces' { declare module.exports: any; } @@ -1026,6 +1030,10 @@ declare module 'eslint/lib/rules/prefer-numeric-literals' { declare module.exports: any; } +declare module 'eslint/lib/rules/prefer-promise-reject-errors' { + declare module.exports: any; +} + declare module 'eslint/lib/rules/prefer-reflect' { declare module.exports: any; } @@ -1738,6 +1746,9 @@ declare module 'eslint/lib/rules/no-mixed-requires.js' { declare module 'eslint/lib/rules/no-mixed-spaces-and-tabs.js' { declare module.exports: $Exports<'eslint/lib/rules/no-mixed-spaces-and-tabs'>; } +declare module 'eslint/lib/rules/no-multi-assign.js' { + declare module.exports: $Exports<'eslint/lib/rules/no-multi-assign'>; +} declare module 'eslint/lib/rules/no-multi-spaces.js' { declare module.exports: $Exports<'eslint/lib/rules/no-multi-spaces'>; } @@ -1996,6 +2007,9 @@ declare module 'eslint/lib/rules/prefer-destructuring.js' { declare module 'eslint/lib/rules/prefer-numeric-literals.js' { declare module.exports: $Exports<'eslint/lib/rules/prefer-numeric-literals'>; } +declare module 'eslint/lib/rules/prefer-promise-reject-errors.js' { + declare module.exports: $Exports<'eslint/lib/rules/prefer-promise-reject-errors'>; +} declare module 'eslint/lib/rules/prefer-reflect.js' { declare module.exports: $Exports<'eslint/lib/rules/prefer-reflect'>; } diff --git a/flow-typed/npm/fb-watchman_vx.x.x.js b/flow-typed/npm/fb-watchman_vx.x.x.js index 3abed929..84131501 100644 --- a/flow-typed/npm/fb-watchman_vx.x.x.js +++ b/flow-typed/npm/fb-watchman_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 1872b556b019ed1e1c4cb5b36d663dfc -// flow-typed version: <>/fb-watchman_v1.9.0/flow_v0.38.0 +// flow-typed signature: 632a15bfd795f7efe4ac87ce70529061 +// flow-typed version: <>/fb-watchman_v1.9.2/flow_v0.38.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/inflection_vx.x.x.js b/flow-typed/npm/inflection_vx.x.x.js index 6f217fd6..3607600c 100644 --- a/flow-typed/npm/inflection_vx.x.x.js +++ b/flow-typed/npm/inflection_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 4b00291a429acb5009c0e635c612b7da -// flow-typed version: <>/inflection_v1.10.0/flow_v0.38.0 +// flow-typed signature: 081d47155b3d94dd79d94cd89240bbe3 +// flow-typed version: <>/inflection_v1.12.0/flow_v0.38.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/knex_v0.12.x.js b/flow-typed/npm/knex_v0.12.x.js new file mode 100644 index 00000000..a21394da --- /dev/null +++ b/flow-typed/npm/knex_v0.12.x.js @@ -0,0 +1,164 @@ +// flow-typed signature: 70c5066abfa785637d22983bcc46f142 +// flow-typed version: a3fdaed924/knex_v0.12.x/flow_>=v0.33.x + +declare class Knex$Transaction mixins Knex$QueryBuilder, events$EventEmitter, Promise { + commit(connection?: any, value?: any): Promise; + rollback(): Promise; + savepoint(connection?: any): Promise; +} + +declare type Knex$QueryBuilderFn = (qb: Knex$QueryBuilder) => Knex$QueryBuilder; + +declare class Knex$QueryBuilder mixins Promise { + select(key?: string[]): this; + select(...key: string[]): this; + timeout(ms: number, options?: { cancel: bool }): this; + column(key: string[]): this; + column(...key: string[]): this; + with(alias: string, w: string|Knex$QueryBuilderFn): this; + withSchema(schema: string): this; + returning(column: string): this; + returning(...columns: string[]): this; + returning(columns: string[]): this; + as(name: string): this; + transacting(trx: ?Knex$Transaction): this; + where(builder: Knex$QueryBuilderFn): this; + where(column: string, value: any): this; + where(column: string, operator: string, value: any): this; + whereNot(builder: Knex$QueryBuilderFn): this; + whereNot(column: string, value: any): this; + whereNot(column: string, operator: string, value: any): this; + whereIn(column: string, values: any[]): this; + whereNotIn(column: string, values: any[]): this; + whereNull(column: string): this; + whereNotNull(column: string): this; + whereExists(column: string): this; + whereNotExists(column: string): this; + whereBetween(column: string, range: number[]): this; + whereNotBetween(column: string, range: number[]): this; + whereRaw(raw: any): this; + orWhere(builder: Knex$QueryBuilderFn): this; + orWhere(column: string, value: any): this; + orWhere(column: string, operator: string, value: any): this; + orWhereNot(builder: Knex$QueryBuilderFn): this; + orWhereNot(column: string, value: any): this; + orWhereNot(column: string, operator: string, value: any): this; + orWhereIn(column: string, values: any[]): this; + orWhereNotIn(column: string, values: any[]): this; + orWhereNull(column: string): this; + orWhereNotNull(column: string): this; + orWhereExists(column: string): this; + orWhereNotExists(column: string): this; + orWhereBetween(column: string, range: number[]): this; + orWhereNotBetween(column: string, range: number[]): this; + orWhereRaw(raw: any): this; + innerJoin(table: string, c1: string, operator: string, c2: string): this; + innerJoin(table: string, c1: string, c2: string): this; + innerJoin(builder: Knex$QueryBuilder, c1?: string, c2?: string): this; + leftJoin(table: string, c1: string, operator: string, c2: string): this; + leftJoin(table: string, c1: string, c2: string): this; + leftJoin(builder: Knex$QueryBuilder): this; + leftOuterJoin(table: string, c1: string, operator: string, c2: string): this; + leftOuterJoin(table: string, c1: string, c2: string): this; + rightJoin(table: string, c1: string, operator: string, c2: string): this; + rightJoin(table: string, c1: string, c2: string): this; + rightOuterJoin(table: string, c1: string, operator: string, c2: string): this; + rightOuterJoin(table: string, c1: string, c2: string): this; + outerJoin(table: string, c1: string, operator: string, c2: string): this; + outerJoin(table: string, c1: string, c2: string): this; + fullOuterJoin(table: string, c1: string, operator: string, c2: string): this; + fullOuterJoin(table: string, c1: string, c2: string): this; + crossJoin(column: string, c1: string, c2: string): this; + crossJoin(column: string, c1: string, operator: string, c2: string): this; + joinRaw(sql: string, bindings?: mixed[]): this; + distinct(): this; + groupBy(column: string): this; + groupByRaw(): this; + orderBy(column: string, direction?: 'desc' | 'asc'): this; + orderByRaw(): this; + offset(offset: number): this; + limit(limit: number): this; + having(column: string, operator: string, value: mixed): this; + union(): this; + unionAll(): this; + count(column?: string): this; + countDistinct(column?: string): this; + min(column?: string): this; + max(column?: string): this; + sum(column?: string): this; + sumDistinct(column?: string): this; + avg(column?: string): this; + avgDistinct(column?: string): this; + pluck(column: string): this; + first(): this; + from(table: string): this; + from(builder: Knex$QueryBuilderFn|Knex$Knex|Knex$QueryBuilder): this; + + insert(): this; + del(): this; + delete(): this; + update(): this; + returning(columns: string[]): this; +} + +declare class Knex$Knex mixins Knex$QueryBuilder, Promise { + static (config: Knex$Config): Knex$Knex; + static QueryBuilder: typeof Knex$QueryBuilder; + $call: (tableName: string) => Knex$QueryBuilder; + raw(sqlString: string): any; + client: any; + destroy(): Promise; + +} + +declare type Knex$PostgresConfig = { + client?: 'pg', + connection?: { + host?: string, + user?: string, + password?: string, + database?: string, + charset?: string, + }, + searchPath?: string, +} +declare type Knex$MysqlConfig = { + client?: 'mysql', + connection?: { + host?: string, + user?: string, + password?: string, + database?: string, + }, +} +declare type Knex$SqliteConfig = { + client?: 'sqlite3', + connection?: { + filename?: string, + } +} +declare type Knex$Config = Knex$PostgresConfig | Knex$MysqlConfig | Knex$SqliteConfig; + +declare module 'knex' { + declare type Error = { + name: string, + length: number, + severity: string, + code: string, + detail: string, + hint?: string, + position?: any, + intenralPosition?: any, + internalQuery?: any, + where?: any, + schema: string, + table: string, + column?: any, + dataType?: any, + constraint?: string, + file: string, + line: string, + routine: string, + } + declare var exports: typeof Knex$Knex; +} diff --git a/flow-typed/npm/knex_vx.x.x.js b/flow-typed/npm/knex_vx.x.x.js deleted file mode 100644 index 90060d90..00000000 --- a/flow-typed/npm/knex_vx.x.x.js +++ /dev/null @@ -1,1082 +0,0 @@ -// flow-typed signature: 2a3732dd3a8e69fb1f9fa91a5dc8adda -// flow-typed version: <>/knex_v0.12.6/flow_v0.38.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'knex' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'knex' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'knex/bin/cli' { - declare module.exports: any; -} - -declare module 'knex/knex' { - declare module.exports: any; -} - -declare module 'knex/lib/client' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/maria/index' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/maria/transaction' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mssql/index' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mssql/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mssql/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mssql/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mssql/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mssql/transaction' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mysql/index' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mysql/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mysql/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mysql/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mysql/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mysql/transaction' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mysql2/index' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/mysql2/transaction' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracle/formatter' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracle/index' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracle/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracle/schema/columnbuilder' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracle/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracle/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracle/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracle/stream' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracle/transaction' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracle/utils' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracledb/index' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracledb/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracledb/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracledb/transaction' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/oracledb/utils' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/postgres/index' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/postgres/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/postgres/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/postgres/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/postgres/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/sqlite3/index' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/sqlite3/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/sqlite3/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/sqlite3/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/sqlite3/schema/ddl' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/sqlite3/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/strong-oracle/index' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/websql/index' { - declare module.exports: any; -} - -declare module 'knex/lib/dialects/websql/transaction' { - declare module.exports: any; -} - -declare module 'knex/lib/formatter' { - declare module.exports: any; -} - -declare module 'knex/lib/functionhelper' { - declare module.exports: any; -} - -declare module 'knex/lib/helpers' { - declare module.exports: any; -} - -declare module 'knex/lib/index' { - declare module.exports: any; -} - -declare module 'knex/lib/interface' { - declare module.exports: any; -} - -declare module 'knex/lib/migrate/index' { - declare module.exports: any; -} - -declare module 'knex/lib/migrate/migrate-stub' { - declare module.exports: any; -} - -declare module 'knex/lib/query/builder' { - declare module.exports: any; -} - -declare module 'knex/lib/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/query/joinclause' { - declare module.exports: any; -} - -declare module 'knex/lib/query/methods' { - declare module.exports: any; -} - -declare module 'knex/lib/query/string' { - declare module.exports: any; -} - -declare module 'knex/lib/raw' { - declare module.exports: any; -} - -declare module 'knex/lib/runner' { - declare module.exports: any; -} - -declare module 'knex/lib/schema/builder' { - declare module.exports: any; -} - -declare module 'knex/lib/schema/columnbuilder' { - declare module.exports: any; -} - -declare module 'knex/lib/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/lib/schema/helpers' { - declare module.exports: any; -} - -declare module 'knex/lib/schema/tablebuilder' { - declare module.exports: any; -} - -declare module 'knex/lib/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/lib/seed/index' { - declare module.exports: any; -} - -declare module 'knex/lib/seed/seed-stub' { - declare module.exports: any; -} - -declare module 'knex/lib/transaction' { - declare module.exports: any; -} - -declare module 'knex/lib/util/batchInsert' { - declare module.exports: any; -} - -declare module 'knex/lib/util/make-knex' { - declare module.exports: any; -} - -declare module 'knex/lib/util/noop' { - declare module.exports: any; -} - -declare module 'knex/lib/util/parse-connection' { - declare module.exports: any; -} - -declare module 'knex/scripts/build' { - declare module.exports: any; -} - -declare module 'knex/src/client' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/maria/index' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/maria/transaction' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mssql/index' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mssql/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mssql/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mssql/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mssql/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mssql/transaction' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mysql/index' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mysql/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mysql/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mysql/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mysql/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mysql/transaction' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mysql2/index' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/mysql2/transaction' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracle/formatter' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracle/index' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracle/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracle/schema/columnbuilder' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracle/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracle/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracle/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracle/stream' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracle/transaction' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracle/utils' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracledb/index' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracledb/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracledb/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracledb/transaction' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/oracledb/utils' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/postgres/index' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/postgres/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/postgres/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/postgres/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/postgres/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/sqlite3/index' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/sqlite3/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/sqlite3/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/sqlite3/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/sqlite3/schema/ddl' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/sqlite3/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/strong-oracle/index' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/websql/index' { - declare module.exports: any; -} - -declare module 'knex/src/dialects/websql/transaction' { - declare module.exports: any; -} - -declare module 'knex/src/formatter' { - declare module.exports: any; -} - -declare module 'knex/src/functionhelper' { - declare module.exports: any; -} - -declare module 'knex/src/helpers' { - declare module.exports: any; -} - -declare module 'knex/src/index' { - declare module.exports: any; -} - -declare module 'knex/src/interface' { - declare module.exports: any; -} - -declare module 'knex/src/migrate/index' { - declare module.exports: any; -} - -declare module 'knex/src/migrate/migrate-stub' { - declare module.exports: any; -} - -declare module 'knex/src/query/builder' { - declare module.exports: any; -} - -declare module 'knex/src/query/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/query/joinclause' { - declare module.exports: any; -} - -declare module 'knex/src/query/methods' { - declare module.exports: any; -} - -declare module 'knex/src/query/string' { - declare module.exports: any; -} - -declare module 'knex/src/raw' { - declare module.exports: any; -} - -declare module 'knex/src/runner' { - declare module.exports: any; -} - -declare module 'knex/src/schema/builder' { - declare module.exports: any; -} - -declare module 'knex/src/schema/columnbuilder' { - declare module.exports: any; -} - -declare module 'knex/src/schema/columncompiler' { - declare module.exports: any; -} - -declare module 'knex/src/schema/compiler' { - declare module.exports: any; -} - -declare module 'knex/src/schema/helpers' { - declare module.exports: any; -} - -declare module 'knex/src/schema/tablebuilder' { - declare module.exports: any; -} - -declare module 'knex/src/schema/tablecompiler' { - declare module.exports: any; -} - -declare module 'knex/src/seed/index' { - declare module.exports: any; -} - -declare module 'knex/src/seed/seed-stub' { - declare module.exports: any; -} - -declare module 'knex/src/transaction' { - declare module.exports: any; -} - -declare module 'knex/src/util/batchInsert' { - declare module.exports: any; -} - -declare module 'knex/src/util/make-knex' { - declare module.exports: any; -} - -declare module 'knex/src/util/noop' { - declare module.exports: any; -} - -declare module 'knex/src/util/parse-connection' { - declare module.exports: any; -} - -// Filename aliases -declare module 'knex/bin/cli.js' { - declare module.exports: $Exports<'knex/bin/cli'>; -} -declare module 'knex/knex.js' { - declare module.exports: $Exports<'knex/knex'>; -} -declare module 'knex/lib/client.js' { - declare module.exports: $Exports<'knex/lib/client'>; -} -declare module 'knex/lib/dialects/maria/index.js' { - declare module.exports: $Exports<'knex/lib/dialects/maria/index'>; -} -declare module 'knex/lib/dialects/maria/transaction.js' { - declare module.exports: $Exports<'knex/lib/dialects/maria/transaction'>; -} -declare module 'knex/lib/dialects/mssql/index.js' { - declare module.exports: $Exports<'knex/lib/dialects/mssql/index'>; -} -declare module 'knex/lib/dialects/mssql/query/compiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/mssql/query/compiler'>; -} -declare module 'knex/lib/dialects/mssql/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/mssql/schema/columncompiler'>; -} -declare module 'knex/lib/dialects/mssql/schema/compiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/mssql/schema/compiler'>; -} -declare module 'knex/lib/dialects/mssql/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/mssql/schema/tablecompiler'>; -} -declare module 'knex/lib/dialects/mssql/transaction.js' { - declare module.exports: $Exports<'knex/lib/dialects/mssql/transaction'>; -} -declare module 'knex/lib/dialects/mysql/index.js' { - declare module.exports: $Exports<'knex/lib/dialects/mysql/index'>; -} -declare module 'knex/lib/dialects/mysql/query/compiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/mysql/query/compiler'>; -} -declare module 'knex/lib/dialects/mysql/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/mysql/schema/columncompiler'>; -} -declare module 'knex/lib/dialects/mysql/schema/compiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/mysql/schema/compiler'>; -} -declare module 'knex/lib/dialects/mysql/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/mysql/schema/tablecompiler'>; -} -declare module 'knex/lib/dialects/mysql/transaction.js' { - declare module.exports: $Exports<'knex/lib/dialects/mysql/transaction'>; -} -declare module 'knex/lib/dialects/mysql2/index.js' { - declare module.exports: $Exports<'knex/lib/dialects/mysql2/index'>; -} -declare module 'knex/lib/dialects/mysql2/transaction.js' { - declare module.exports: $Exports<'knex/lib/dialects/mysql2/transaction'>; -} -declare module 'knex/lib/dialects/oracle/formatter.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracle/formatter'>; -} -declare module 'knex/lib/dialects/oracle/index.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracle/index'>; -} -declare module 'knex/lib/dialects/oracle/query/compiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracle/query/compiler'>; -} -declare module 'knex/lib/dialects/oracle/schema/columnbuilder.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracle/schema/columnbuilder'>; -} -declare module 'knex/lib/dialects/oracle/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracle/schema/columncompiler'>; -} -declare module 'knex/lib/dialects/oracle/schema/compiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracle/schema/compiler'>; -} -declare module 'knex/lib/dialects/oracle/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracle/schema/tablecompiler'>; -} -declare module 'knex/lib/dialects/oracle/stream.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracle/stream'>; -} -declare module 'knex/lib/dialects/oracle/transaction.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracle/transaction'>; -} -declare module 'knex/lib/dialects/oracle/utils.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracle/utils'>; -} -declare module 'knex/lib/dialects/oracledb/index.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracledb/index'>; -} -declare module 'knex/lib/dialects/oracledb/query/compiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracledb/query/compiler'>; -} -declare module 'knex/lib/dialects/oracledb/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracledb/schema/columncompiler'>; -} -declare module 'knex/lib/dialects/oracledb/transaction.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracledb/transaction'>; -} -declare module 'knex/lib/dialects/oracledb/utils.js' { - declare module.exports: $Exports<'knex/lib/dialects/oracledb/utils'>; -} -declare module 'knex/lib/dialects/postgres/index.js' { - declare module.exports: $Exports<'knex/lib/dialects/postgres/index'>; -} -declare module 'knex/lib/dialects/postgres/query/compiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/postgres/query/compiler'>; -} -declare module 'knex/lib/dialects/postgres/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/postgres/schema/columncompiler'>; -} -declare module 'knex/lib/dialects/postgres/schema/compiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/postgres/schema/compiler'>; -} -declare module 'knex/lib/dialects/postgres/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/postgres/schema/tablecompiler'>; -} -declare module 'knex/lib/dialects/sqlite3/index.js' { - declare module.exports: $Exports<'knex/lib/dialects/sqlite3/index'>; -} -declare module 'knex/lib/dialects/sqlite3/query/compiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/sqlite3/query/compiler'>; -} -declare module 'knex/lib/dialects/sqlite3/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/sqlite3/schema/columncompiler'>; -} -declare module 'knex/lib/dialects/sqlite3/schema/compiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/sqlite3/schema/compiler'>; -} -declare module 'knex/lib/dialects/sqlite3/schema/ddl.js' { - declare module.exports: $Exports<'knex/lib/dialects/sqlite3/schema/ddl'>; -} -declare module 'knex/lib/dialects/sqlite3/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/lib/dialects/sqlite3/schema/tablecompiler'>; -} -declare module 'knex/lib/dialects/strong-oracle/index.js' { - declare module.exports: $Exports<'knex/lib/dialects/strong-oracle/index'>; -} -declare module 'knex/lib/dialects/websql/index.js' { - declare module.exports: $Exports<'knex/lib/dialects/websql/index'>; -} -declare module 'knex/lib/dialects/websql/transaction.js' { - declare module.exports: $Exports<'knex/lib/dialects/websql/transaction'>; -} -declare module 'knex/lib/formatter.js' { - declare module.exports: $Exports<'knex/lib/formatter'>; -} -declare module 'knex/lib/functionhelper.js' { - declare module.exports: $Exports<'knex/lib/functionhelper'>; -} -declare module 'knex/lib/helpers.js' { - declare module.exports: $Exports<'knex/lib/helpers'>; -} -declare module 'knex/lib/index.js' { - declare module.exports: $Exports<'knex/lib/index'>; -} -declare module 'knex/lib/interface.js' { - declare module.exports: $Exports<'knex/lib/interface'>; -} -declare module 'knex/lib/migrate/index.js' { - declare module.exports: $Exports<'knex/lib/migrate/index'>; -} -declare module 'knex/lib/migrate/migrate-stub.js' { - declare module.exports: $Exports<'knex/lib/migrate/migrate-stub'>; -} -declare module 'knex/lib/query/builder.js' { - declare module.exports: $Exports<'knex/lib/query/builder'>; -} -declare module 'knex/lib/query/compiler.js' { - declare module.exports: $Exports<'knex/lib/query/compiler'>; -} -declare module 'knex/lib/query/joinclause.js' { - declare module.exports: $Exports<'knex/lib/query/joinclause'>; -} -declare module 'knex/lib/query/methods.js' { - declare module.exports: $Exports<'knex/lib/query/methods'>; -} -declare module 'knex/lib/query/string.js' { - declare module.exports: $Exports<'knex/lib/query/string'>; -} -declare module 'knex/lib/raw.js' { - declare module.exports: $Exports<'knex/lib/raw'>; -} -declare module 'knex/lib/runner.js' { - declare module.exports: $Exports<'knex/lib/runner'>; -} -declare module 'knex/lib/schema/builder.js' { - declare module.exports: $Exports<'knex/lib/schema/builder'>; -} -declare module 'knex/lib/schema/columnbuilder.js' { - declare module.exports: $Exports<'knex/lib/schema/columnbuilder'>; -} -declare module 'knex/lib/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/lib/schema/columncompiler'>; -} -declare module 'knex/lib/schema/compiler.js' { - declare module.exports: $Exports<'knex/lib/schema/compiler'>; -} -declare module 'knex/lib/schema/helpers.js' { - declare module.exports: $Exports<'knex/lib/schema/helpers'>; -} -declare module 'knex/lib/schema/tablebuilder.js' { - declare module.exports: $Exports<'knex/lib/schema/tablebuilder'>; -} -declare module 'knex/lib/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/lib/schema/tablecompiler'>; -} -declare module 'knex/lib/seed/index.js' { - declare module.exports: $Exports<'knex/lib/seed/index'>; -} -declare module 'knex/lib/seed/seed-stub.js' { - declare module.exports: $Exports<'knex/lib/seed/seed-stub'>; -} -declare module 'knex/lib/transaction.js' { - declare module.exports: $Exports<'knex/lib/transaction'>; -} -declare module 'knex/lib/util/batchInsert.js' { - declare module.exports: $Exports<'knex/lib/util/batchInsert'>; -} -declare module 'knex/lib/util/make-knex.js' { - declare module.exports: $Exports<'knex/lib/util/make-knex'>; -} -declare module 'knex/lib/util/noop.js' { - declare module.exports: $Exports<'knex/lib/util/noop'>; -} -declare module 'knex/lib/util/parse-connection.js' { - declare module.exports: $Exports<'knex/lib/util/parse-connection'>; -} -declare module 'knex/scripts/build.js' { - declare module.exports: $Exports<'knex/scripts/build'>; -} -declare module 'knex/src/client.js' { - declare module.exports: $Exports<'knex/src/client'>; -} -declare module 'knex/src/dialects/maria/index.js' { - declare module.exports: $Exports<'knex/src/dialects/maria/index'>; -} -declare module 'knex/src/dialects/maria/transaction.js' { - declare module.exports: $Exports<'knex/src/dialects/maria/transaction'>; -} -declare module 'knex/src/dialects/mssql/index.js' { - declare module.exports: $Exports<'knex/src/dialects/mssql/index'>; -} -declare module 'knex/src/dialects/mssql/query/compiler.js' { - declare module.exports: $Exports<'knex/src/dialects/mssql/query/compiler'>; -} -declare module 'knex/src/dialects/mssql/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/src/dialects/mssql/schema/columncompiler'>; -} -declare module 'knex/src/dialects/mssql/schema/compiler.js' { - declare module.exports: $Exports<'knex/src/dialects/mssql/schema/compiler'>; -} -declare module 'knex/src/dialects/mssql/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/src/dialects/mssql/schema/tablecompiler'>; -} -declare module 'knex/src/dialects/mssql/transaction.js' { - declare module.exports: $Exports<'knex/src/dialects/mssql/transaction'>; -} -declare module 'knex/src/dialects/mysql/index.js' { - declare module.exports: $Exports<'knex/src/dialects/mysql/index'>; -} -declare module 'knex/src/dialects/mysql/query/compiler.js' { - declare module.exports: $Exports<'knex/src/dialects/mysql/query/compiler'>; -} -declare module 'knex/src/dialects/mysql/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/src/dialects/mysql/schema/columncompiler'>; -} -declare module 'knex/src/dialects/mysql/schema/compiler.js' { - declare module.exports: $Exports<'knex/src/dialects/mysql/schema/compiler'>; -} -declare module 'knex/src/dialects/mysql/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/src/dialects/mysql/schema/tablecompiler'>; -} -declare module 'knex/src/dialects/mysql/transaction.js' { - declare module.exports: $Exports<'knex/src/dialects/mysql/transaction'>; -} -declare module 'knex/src/dialects/mysql2/index.js' { - declare module.exports: $Exports<'knex/src/dialects/mysql2/index'>; -} -declare module 'knex/src/dialects/mysql2/transaction.js' { - declare module.exports: $Exports<'knex/src/dialects/mysql2/transaction'>; -} -declare module 'knex/src/dialects/oracle/formatter.js' { - declare module.exports: $Exports<'knex/src/dialects/oracle/formatter'>; -} -declare module 'knex/src/dialects/oracle/index.js' { - declare module.exports: $Exports<'knex/src/dialects/oracle/index'>; -} -declare module 'knex/src/dialects/oracle/query/compiler.js' { - declare module.exports: $Exports<'knex/src/dialects/oracle/query/compiler'>; -} -declare module 'knex/src/dialects/oracle/schema/columnbuilder.js' { - declare module.exports: $Exports<'knex/src/dialects/oracle/schema/columnbuilder'>; -} -declare module 'knex/src/dialects/oracle/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/src/dialects/oracle/schema/columncompiler'>; -} -declare module 'knex/src/dialects/oracle/schema/compiler.js' { - declare module.exports: $Exports<'knex/src/dialects/oracle/schema/compiler'>; -} -declare module 'knex/src/dialects/oracle/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/src/dialects/oracle/schema/tablecompiler'>; -} -declare module 'knex/src/dialects/oracle/stream.js' { - declare module.exports: $Exports<'knex/src/dialects/oracle/stream'>; -} -declare module 'knex/src/dialects/oracle/transaction.js' { - declare module.exports: $Exports<'knex/src/dialects/oracle/transaction'>; -} -declare module 'knex/src/dialects/oracle/utils.js' { - declare module.exports: $Exports<'knex/src/dialects/oracle/utils'>; -} -declare module 'knex/src/dialects/oracledb/index.js' { - declare module.exports: $Exports<'knex/src/dialects/oracledb/index'>; -} -declare module 'knex/src/dialects/oracledb/query/compiler.js' { - declare module.exports: $Exports<'knex/src/dialects/oracledb/query/compiler'>; -} -declare module 'knex/src/dialects/oracledb/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/src/dialects/oracledb/schema/columncompiler'>; -} -declare module 'knex/src/dialects/oracledb/transaction.js' { - declare module.exports: $Exports<'knex/src/dialects/oracledb/transaction'>; -} -declare module 'knex/src/dialects/oracledb/utils.js' { - declare module.exports: $Exports<'knex/src/dialects/oracledb/utils'>; -} -declare module 'knex/src/dialects/postgres/index.js' { - declare module.exports: $Exports<'knex/src/dialects/postgres/index'>; -} -declare module 'knex/src/dialects/postgres/query/compiler.js' { - declare module.exports: $Exports<'knex/src/dialects/postgres/query/compiler'>; -} -declare module 'knex/src/dialects/postgres/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/src/dialects/postgres/schema/columncompiler'>; -} -declare module 'knex/src/dialects/postgres/schema/compiler.js' { - declare module.exports: $Exports<'knex/src/dialects/postgres/schema/compiler'>; -} -declare module 'knex/src/dialects/postgres/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/src/dialects/postgres/schema/tablecompiler'>; -} -declare module 'knex/src/dialects/sqlite3/index.js' { - declare module.exports: $Exports<'knex/src/dialects/sqlite3/index'>; -} -declare module 'knex/src/dialects/sqlite3/query/compiler.js' { - declare module.exports: $Exports<'knex/src/dialects/sqlite3/query/compiler'>; -} -declare module 'knex/src/dialects/sqlite3/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/src/dialects/sqlite3/schema/columncompiler'>; -} -declare module 'knex/src/dialects/sqlite3/schema/compiler.js' { - declare module.exports: $Exports<'knex/src/dialects/sqlite3/schema/compiler'>; -} -declare module 'knex/src/dialects/sqlite3/schema/ddl.js' { - declare module.exports: $Exports<'knex/src/dialects/sqlite3/schema/ddl'>; -} -declare module 'knex/src/dialects/sqlite3/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/src/dialects/sqlite3/schema/tablecompiler'>; -} -declare module 'knex/src/dialects/strong-oracle/index.js' { - declare module.exports: $Exports<'knex/src/dialects/strong-oracle/index'>; -} -declare module 'knex/src/dialects/websql/index.js' { - declare module.exports: $Exports<'knex/src/dialects/websql/index'>; -} -declare module 'knex/src/dialects/websql/transaction.js' { - declare module.exports: $Exports<'knex/src/dialects/websql/transaction'>; -} -declare module 'knex/src/formatter.js' { - declare module.exports: $Exports<'knex/src/formatter'>; -} -declare module 'knex/src/functionhelper.js' { - declare module.exports: $Exports<'knex/src/functionhelper'>; -} -declare module 'knex/src/helpers.js' { - declare module.exports: $Exports<'knex/src/helpers'>; -} -declare module 'knex/src/index.js' { - declare module.exports: $Exports<'knex/src/index'>; -} -declare module 'knex/src/interface.js' { - declare module.exports: $Exports<'knex/src/interface'>; -} -declare module 'knex/src/migrate/index.js' { - declare module.exports: $Exports<'knex/src/migrate/index'>; -} -declare module 'knex/src/migrate/migrate-stub.js' { - declare module.exports: $Exports<'knex/src/migrate/migrate-stub'>; -} -declare module 'knex/src/query/builder.js' { - declare module.exports: $Exports<'knex/src/query/builder'>; -} -declare module 'knex/src/query/compiler.js' { - declare module.exports: $Exports<'knex/src/query/compiler'>; -} -declare module 'knex/src/query/joinclause.js' { - declare module.exports: $Exports<'knex/src/query/joinclause'>; -} -declare module 'knex/src/query/methods.js' { - declare module.exports: $Exports<'knex/src/query/methods'>; -} -declare module 'knex/src/query/string.js' { - declare module.exports: $Exports<'knex/src/query/string'>; -} -declare module 'knex/src/raw.js' { - declare module.exports: $Exports<'knex/src/raw'>; -} -declare module 'knex/src/runner.js' { - declare module.exports: $Exports<'knex/src/runner'>; -} -declare module 'knex/src/schema/builder.js' { - declare module.exports: $Exports<'knex/src/schema/builder'>; -} -declare module 'knex/src/schema/columnbuilder.js' { - declare module.exports: $Exports<'knex/src/schema/columnbuilder'>; -} -declare module 'knex/src/schema/columncompiler.js' { - declare module.exports: $Exports<'knex/src/schema/columncompiler'>; -} -declare module 'knex/src/schema/compiler.js' { - declare module.exports: $Exports<'knex/src/schema/compiler'>; -} -declare module 'knex/src/schema/helpers.js' { - declare module.exports: $Exports<'knex/src/schema/helpers'>; -} -declare module 'knex/src/schema/tablebuilder.js' { - declare module.exports: $Exports<'knex/src/schema/tablebuilder'>; -} -declare module 'knex/src/schema/tablecompiler.js' { - declare module.exports: $Exports<'knex/src/schema/tablecompiler'>; -} -declare module 'knex/src/seed/index.js' { - declare module.exports: $Exports<'knex/src/seed/index'>; -} -declare module 'knex/src/seed/seed-stub.js' { - declare module.exports: $Exports<'knex/src/seed/seed-stub'>; -} -declare module 'knex/src/transaction.js' { - declare module.exports: $Exports<'knex/src/transaction'>; -} -declare module 'knex/src/util/batchInsert.js' { - declare module.exports: $Exports<'knex/src/util/batchInsert'>; -} -declare module 'knex/src/util/make-knex.js' { - declare module.exports: $Exports<'knex/src/util/make-knex'>; -} -declare module 'knex/src/util/noop.js' { - declare module.exports: $Exports<'knex/src/util/noop'>; -} -declare module 'knex/src/util/parse-connection.js' { - declare module.exports: $Exports<'knex/src/util/parse-connection'>; -} diff --git a/flow-typed/npm/ora_vx.x.x.js b/flow-typed/npm/ora_vx.x.x.js index ca49161c..62e3ed56 100644 --- a/flow-typed/npm/ora_vx.x.x.js +++ b/flow-typed/npm/ora_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 5247f23d1d5e04431d931fb72cde82c7 -// flow-typed version: <>/ora_v1.0.0/flow_v0.38.0 +// flow-typed signature: 768e0bf4256fa083f9356c79d620e38d +// flow-typed version: <>/ora_v1.1.0/flow_v0.38.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/source-map-support_vx.x.x.js b/flow-typed/npm/source-map-support_vx.x.x.js index 7e2058c6..9568382b 100644 --- a/flow-typed/npm/source-map-support_vx.x.x.js +++ b/flow-typed/npm/source-map-support_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 484270ae3534b05cdf5cb108c6a904be -// flow-typed version: <>/source-map-support_v0.4.10/flow_v0.38.0 +// flow-typed signature: c68c0e880b95064efd32f053273480cd +// flow-typed version: <>/source-map-support_v0.4.11/flow_v0.38.0 /** * This is an autogenerated libdef stub for: From ebcce1017bf08ca703e2e97b64107a03bc5c835d Mon Sep 17 00:00:00 2001 From: Zachary Golba Date: Fri, 3 Feb 2017 12:44:26 -0500 Subject: [PATCH 2/2] fix: flow type errors --- .flowconfig | 4 ++-- decl/knex.js | 35 ++++++++++++++++++++++++++++ flow-typed/npm/fb-watchman_vx.x.x.js | 4 ++-- package.json | 2 +- 4 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 decl/knex.js diff --git a/.flowconfig b/.flowconfig index 9aaf9c53..27dc7752 100644 --- a/.flowconfig +++ b/.flowconfig @@ -3,7 +3,7 @@ .*/dist/.* .*/scripts/.* .*/examples/.* -.*/node_modules/bcryptjs/* +.*/test/test-app/.* [include] ./src/ @@ -12,8 +12,8 @@ [libs] node_modules/rollup-plugin-lux/decl/ node_modules/rollup-plugin-lux/flow-typed/ -decl/ flow-typed/ +decl/ [options] emoji=true diff --git a/decl/knex.js b/decl/knex.js new file mode 100644 index 00000000..e414c9ae --- /dev/null +++ b/decl/knex.js @@ -0,0 +1,35 @@ +// @flow +declare class Knex$SchemaBuilder extends Knex$QueryBuilder { + hasTable(name: string): this; + dropTable(name: string): this; + createTable(name: string, fn: (table: Object) => void): this; +} + +declare class Lux$Knex extends Knex$Knex { + schema: Knex$SchemaBuilder; + transaction((trx: Knex$Transaction) => any): Knex$QueryBuilder; +} + +declare module 'knex' { + declare type Error = { + name: string, + length: number, + severity: string, + code: string, + detail: string, + hint?: string, + position?: any, + intenralPosition?: any, + internalQuery?: any, + where?: any, + schema: string, + table: string, + column?: any, + dataType?: any, + constraint?: string, + file: string, + line: string, + routine: string, + }; + declare var exports: typeof Lux$Knex; +} diff --git a/flow-typed/npm/fb-watchman_vx.x.x.js b/flow-typed/npm/fb-watchman_vx.x.x.js index 84131501..b7608f9c 100644 --- a/flow-typed/npm/fb-watchman_vx.x.x.js +++ b/flow-typed/npm/fb-watchman_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 632a15bfd795f7efe4ac87ce70529061 -// flow-typed version: <>/fb-watchman_v1.9.2/flow_v0.38.0 +// flow-typed signature: abb2b41291aa60ee4aed7e70f3590fe6 +// flow-typed version: <>/fb-watchman_v2.0.0/flow_v0.38.0 /** * This is an autogenerated libdef stub for: diff --git a/package.json b/package.json index cdcde521..fb7e4ce1 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "clean": "shx rm -rf .nyc_output coverage dist test/test-app/dist test-results.xml", "codecov": "nyc report --reporter=lcov > coverage.lcov && curl -s https://codecov.io/bash | bash", "flow": "flow check", - "install:types": "shx rm -rf flow-typed && flow-typed install", + "types": "shx rm -rf flow-typed && flow-typed install", "lint": "remark . && eslint .", "test": "nyc -i ./lib/babel-hook.js --instrument false --source-map false mocha --opts mocha.opts" },