@xata.io/drizzle 0.0.0-alpha.vc793ac53a626889c15a1bfddd74c6933b4d14f0e → 0.0.0-alpha.vc7e8e2567dff2ef1e01fe76868608ec4eac5f5bf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +2 -2
- package/dist/index.d.ts +4 -3
- package/dist/index.mjs +1 -1
- package/dist/pg.d.ts +4 -3
- package/package.json +5 -5
package/.turbo/turbo-build.log
CHANGED
@@ -8,10 +8,10 @@
|
|
8
8
|
[90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
|
9
9
|
[1mdrizzle-orm[22m (imported by "src/http/driver.ts", "src/http/session.ts" and "src/shared/utils.ts")
|
10
10
|
[1mdrizzle-orm/pg-core[22m (imported by "src/http/driver.ts" and "src/http/session.ts")
|
11
|
-
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [
|
11
|
+
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [1m344ms[22m[39m
|
12
12
|
[36m
|
13
13
|
[1msrc/index.ts[22m → [1mdist/index.d.ts[22m...[39m
|
14
|
-
[32mcreated [1mdist/index.d.ts[22m in [
|
14
|
+
[32mcreated [1mdist/index.d.ts[22m in [1m6.6s[22m[39m
|
15
15
|
[36m
|
16
16
|
[1msrc/pg/index.ts[22m → [1mdist/pg.cjs, dist/pg.mjs[22m...[39m
|
17
17
|
[1m[33m(!) Unresolved dependencies[39m[22m
|
@@ -19,7 +19,7 @@
|
|
19
19
|
[1mdrizzle-orm[22m (imported by "src/pg/driver.ts", "src/pg/session.ts" and "src/shared/utils.ts")
|
20
20
|
[1mdrizzle-orm/pg-core[22m (imported by "src/pg/driver.ts" and "src/pg/session.ts")
|
21
21
|
[1mpg[22m (imported by "src/pg/session.ts")
|
22
|
-
[32mcreated [1mdist/pg.cjs, dist/pg.mjs[22m in [
|
22
|
+
[32mcreated [1mdist/pg.cjs, dist/pg.mjs[22m in [1m71ms[22m[39m
|
23
23
|
[36m
|
24
24
|
[1msrc/pg/index.ts[22m → [1mdist/pg.d.ts[22m...[39m
|
25
|
-
[32mcreated [1mdist/pg.d.ts[22m in [
|
25
|
+
[32mcreated [1mdist/pg.d.ts[22m in [1m1s[22m[39m
|
package/CHANGELOG.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# @xata.io/drizzle
|
2
2
|
|
3
|
-
## 0.0.0-alpha.
|
3
|
+
## 0.0.0-alpha.vc7e8e2567dff2ef1e01fe76868608ec4eac5f5bf
|
4
4
|
|
5
5
|
### Patch Changes
|
6
6
|
|
7
7
|
- Force canary build
|
8
8
|
|
9
9
|
- Updated dependencies []:
|
10
|
-
- @xata.io/client@0.0.0-alpha.
|
10
|
+
- @xata.io/client@0.0.0-alpha.vc7e8e2567dff2ef1e01fe76868608ec4eac5f5bf
|
11
11
|
|
12
12
|
## 0.0.24
|
13
13
|
|
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { entityKind,
|
1
|
+
import { TablesRelationalConfig, entityKind, RelationalSchemaConfig, Logger, Query, SelectedFieldsOrdered, ExtractTablesWithRelations, DrizzleConfig } from 'drizzle-orm';
|
2
2
|
import { SQLPluginResult, SQLQueryResult } from '@xata.io/client';
|
3
|
-
import {
|
3
|
+
import { PgSession, PgQueryResultHKT, PgDialect, PreparedQueryConfig, PgColumn, PgPreparedQuery, PgTransaction, PgTransactionConfig, PgDatabase } from 'drizzle-orm/pg-core';
|
4
4
|
|
5
5
|
type XataHttpClient = {
|
6
6
|
sql: SQLPluginResult;
|
@@ -66,4 +66,5 @@ declare class XataHttpDatabase<TSchema extends Record<string, unknown> = Record<
|
|
66
66
|
}
|
67
67
|
declare function drizzle<TSchema extends Record<string, unknown> = Record<string, never>>(client: XataHttpClient, config?: DrizzleConfig<TSchema>): XataHttpDatabase<TSchema>;
|
68
68
|
|
69
|
-
export {
|
69
|
+
export { XataHttpDatabase, XataHttpDriver, XataHttpPreparedQuery, XataHttpSession, XataTransaction, drizzle };
|
70
|
+
export type { QueryResults, XataDriverOptions, XataHttpClient, XataHttpQueryResultHKT, XataHttpSessionOptions };
|
package/dist/index.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { is, Column, SQL, getTableName, entityKind, fillPlaceholders, NoopLogger, DefaultLogger, extractTablesRelationalConfig, createTableRelationsHelpers } from 'drizzle-orm';
|
2
|
-
import { PgPreparedQuery, PgSession, PgTransaction,
|
2
|
+
import { PgPreparedQuery, PgSession, PgTransaction, PgDatabase, PgDialect } from 'drizzle-orm/pg-core';
|
3
3
|
|
4
4
|
function mapResultRow(columns, row, joinsNotNullableMap) {
|
5
5
|
const nullifyMap = {};
|
package/dist/pg.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { TablesRelationalConfig, Assume, entityKind, RelationalSchemaConfig, Logger, Query, SelectedFieldsOrdered, DrizzleConfig } from 'drizzle-orm';
|
2
|
+
import { PgSession, PgQueryResultHKT, PgDialect, PreparedQueryConfig, PgColumn, PgPreparedQuery, PgTransaction, PgTransactionConfig, PgDatabase } from 'drizzle-orm/pg-core';
|
3
3
|
import { Pool, PoolClient, Client, QueryResult, QueryResultRow } from 'pg';
|
4
4
|
|
5
5
|
type XataClient = Pool | PoolClient | Client;
|
@@ -58,4 +58,5 @@ declare class XataDriver {
|
|
58
58
|
type XataDatabase<TSchema extends Record<string, unknown> = Record<string, never>> = PgDatabase<XataQueryResultHKT, TSchema>;
|
59
59
|
declare function drizzle<TSchema extends Record<string, unknown> = Record<string, never>>(client: XataClient, config?: DrizzleConfig<TSchema>): XataDatabase<TSchema>;
|
60
60
|
|
61
|
-
export {
|
61
|
+
export { XataDriver, XataPreparedQuery, XataSession, XataTransaction, drizzle };
|
62
|
+
export type { XataClient, XataDatabase, XataDriverOptions, XataQueryResultHKT, XataSessionOptions };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xata.io/drizzle",
|
3
|
-
"version": "0.0.0-alpha.
|
3
|
+
"version": "0.0.0-alpha.vc7e8e2567dff2ef1e01fe76868608ec4eac5f5bf",
|
4
4
|
"description": "",
|
5
5
|
"main": "./dist/index.cjs",
|
6
6
|
"module": "./dist/index.mjs",
|
@@ -23,12 +23,12 @@
|
|
23
23
|
"url": "https://github.com/xataio/client-ts/issues"
|
24
24
|
},
|
25
25
|
"dependencies": {
|
26
|
-
"@xata.io/client": "0.0.0-alpha.
|
26
|
+
"@xata.io/client": "0.0.0-alpha.vc7e8e2567dff2ef1e01fe76868608ec4eac5f5bf"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
|
-
"@types/pg": "^8.11.
|
30
|
-
"drizzle-orm": "^0.
|
31
|
-
"pg": "^8.
|
29
|
+
"@types/pg": "^8.11.12",
|
30
|
+
"drizzle-orm": "^0.41.0",
|
31
|
+
"pg": "^8.14.1"
|
32
32
|
},
|
33
33
|
"peerDependencies": {
|
34
34
|
"drizzle-orm": "*"
|