@ts-safeql/eslint-plugin
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -9,2 +9,5 @@ import "source-map-support/register"; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -18,2 +21,5 @@ name: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -26,2 +32,5 @@ tagName: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
name: string; | ||
@@ -33,2 +42,5 @@ operators: string[]; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
tagName: string; | ||
@@ -39,2 +51,5 @@ databaseUrl: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -48,2 +63,5 @@ name: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -56,2 +74,5 @@ tagName: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
name: string; | ||
@@ -63,2 +84,5 @@ operators: string[]; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
tagName: string; | ||
@@ -65,0 +89,0 @@ databaseUrl: string; |
@@ -10,2 +10,5 @@ import z from "zod"; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -19,2 +22,5 @@ name: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -27,2 +33,5 @@ tagName: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
name: string; | ||
@@ -34,2 +43,5 @@ operators: string[]; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
tagName: string; | ||
@@ -40,2 +52,5 @@ databaseUrl: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -49,2 +64,5 @@ name: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -57,2 +75,5 @@ tagName: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
name: string; | ||
@@ -64,2 +85,5 @@ operators: string[]; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
tagName: string; | ||
@@ -73,2 +97,5 @@ databaseUrl: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -82,2 +109,5 @@ name: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -90,2 +120,5 @@ tagName: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
name: string; | ||
@@ -97,2 +130,5 @@ operators: string[]; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
tagName: string; | ||
@@ -103,2 +139,5 @@ databaseUrl: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -112,2 +151,5 @@ name: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -120,2 +162,5 @@ tagName: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
name: string; | ||
@@ -127,2 +172,5 @@ operators: string[]; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
tagName: string; | ||
@@ -129,0 +177,0 @@ databaseUrl: string; |
@@ -45,2 +45,11 @@ "use strict"; | ||
keepAlive: zod_1.default.boolean().optional(), | ||
/** | ||
* Override defaults | ||
*/ | ||
overrides: zod_1.default | ||
.object({ | ||
types: zod_1.default.record(zod_1.default.enum((0, shared_1.objectKeysNonEmpty)(shared_1.defaultTypeMapping)), zod_1.default.string()), | ||
}) | ||
.partial() | ||
.optional(), | ||
}); | ||
@@ -47,0 +56,0 @@ const identifyByNameAndOperators = zod_1.default.object({ |
@@ -399,3 +399,29 @@ "use strict"; | ||
}); | ||
ruleTester.run("connection with overrides.types", _1.default["check-sql"], { | ||
valid: [ | ||
{ | ||
name: 'with { int4: "Integer" }', | ||
filename, | ||
options: withConnection(connections.withTagName, { | ||
overrides: { types: { int4: "Integer" } }, | ||
}), | ||
code: "sql<{ id: Integer }>`select id from caregiver`", | ||
}, | ||
], | ||
invalid: [ | ||
{ | ||
name: 'with { int4: "Integer" } while { id: number }', | ||
filename, | ||
options: withConnection(connections.withTagName, { | ||
overrides: { types: { int4: "Integer" } }, | ||
}), | ||
code: "sql<{ id: number }>`select id from caregiver`", | ||
output: "sql<{ id: Integer; }>`select id from caregiver`", | ||
errors: [ | ||
{ messageId: "incorrectTypeAnnotations", line: 1, column: 5, endLine: 1, endColumn: 19 }, | ||
], | ||
}, | ||
], | ||
}); | ||
}); | ||
//# sourceMappingURL=check-sql.test.js.map |
@@ -50,2 +50,3 @@ "use strict"; | ||
pgParsed: params.pgParsed, | ||
overrides: params.connection.overrides, | ||
}); | ||
@@ -52,0 +53,0 @@ }), fp_ts_1.TE.chainW(fp_ts_1.TE.fromEither)); |
@@ -6,2 +6,5 @@ declare const _default: { | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -15,2 +18,5 @@ name: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -23,2 +29,5 @@ tagName: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
name: string; | ||
@@ -30,2 +39,5 @@ operators: string[]; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
tagName: string; | ||
@@ -36,2 +48,5 @@ databaseUrl: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -45,2 +60,5 @@ name: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
connectionUrl?: string | undefined; | ||
@@ -53,2 +71,5 @@ tagName: string; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
name: string; | ||
@@ -60,2 +81,5 @@ operators: string[]; | ||
keepAlive?: boolean | undefined; | ||
overrides?: { | ||
types?: Partial<Record<"bigint" | "boolean" | "void" | "text" | "int" | "float" | "date" | "int2" | "int4" | "int8" | "smallint" | "real" | "float4" | "float8" | "numeric" | "decimal" | "smallserial" | "serial" | "bigserial" | "uuid" | "varchar" | "char" | "bpchar" | "citext" | "bit" | "bool" | "timestamp" | "timestamptz" | "time" | "timetz" | "interval" | "inet" | "cidr" | "macaddr" | "macaddr8" | "money" | "json" | "jsonb" | "bytea", string>> | undefined; | ||
} | undefined; | ||
tagName: string; | ||
@@ -62,0 +86,0 @@ databaseUrl: string; |
{ | ||
"name": "@ts-safeql/eslint-plugin", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"main": "lib/index.js", | ||
@@ -25,5 +25,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"@ts-safeql/generate": "0.0.2", | ||
"@ts-safeql/shared": "0.0.2", | ||
"@ts-safeql/test-utils": "0.0.2", | ||
"@ts-safeql/generate": "0.0.3", | ||
"@ts-safeql/shared": "0.0.3", | ||
"@ts-safeql/test-utils": "0.0.3", | ||
"@typescript-eslint/utils": "^5.36.2", | ||
@@ -30,0 +30,0 @@ "fp-ts": "^2.12.3", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
319119
4541
+ Added@ts-safeql/generate@0.0.3(transitive)
+ Added@ts-safeql/shared@0.0.3(transitive)
+ Added@ts-safeql/test-utils@0.0.3(transitive)
- Removed@ts-safeql/generate@0.0.2(transitive)
- Removed@ts-safeql/shared@0.0.2(transitive)
- Removed@ts-safeql/test-utils@0.0.2(transitive)
Updated@ts-safeql/generate@0.0.3
Updated@ts-safeql/shared@0.0.3
Updated@ts-safeql/test-utils@0.0.3