@prisma-next/extension-pgvector 0.1.0-pr.64.2 → 0.1.0-pr.65.1
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/README.md +8 -2
- package/dist/exports/control.d.ts +1 -1
- package/dist/exports/control.js +43 -38
- package/dist/exports/control.js.map +1 -1
- package/dist/exports/pack.d.ts +5 -0
- package/dist/exports/pack.js +53 -0
- package/dist/exports/pack.js.map +1 -0
- package/package.json +19 -15
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@ This extension pack adds support for the `vector` data type and vector similarit
|
|
|
12
12
|
- **Vector Operations**: Registers vector similarity operations (e.g., `cosineDistance`) for use in queries
|
|
13
13
|
- **CLI Integration**: Provides extension descriptor for `prisma-next.config.ts` configuration
|
|
14
14
|
- **Runtime Extension**: Registers codecs and operations at runtime for vector column operations
|
|
15
|
+
- **Pack Ref Export**: Ships a pure `/pack` entrypoint for TypeScript contract authoring without runtime filesystem access
|
|
15
16
|
- **Database Dependencies**: Declares the `vector` Postgres extension as a database dependency, which the migration planner emits as a `CREATE EXTENSION IF NOT EXISTS vector` operation and the verifier checks against the schema IR
|
|
16
17
|
|
|
17
18
|
## Dependencies
|
|
@@ -62,7 +63,7 @@ export default defineConfig({
|
|
|
62
63
|
|
|
63
64
|
### Contract Definition
|
|
64
65
|
|
|
65
|
-
Add vector columns to your contract:
|
|
66
|
+
Add vector columns to your contract and enable the namespace via pack refs:
|
|
66
67
|
|
|
67
68
|
```typescript
|
|
68
69
|
import { defineContract } from '@prisma-next/sql-contract-ts/contract-builder';
|
|
@@ -70,11 +71,14 @@ import type { CodecTypes } from '@prisma-next/adapter-postgres/codec-types';
|
|
|
70
71
|
import { int4Column, textColumn } from '@prisma-next/adapter-postgres/column-types';
|
|
71
72
|
import type { CodecTypes as PgVectorCodecTypes } from '@prisma-next/extension-pgvector/codec-types';
|
|
72
73
|
import { vectorColumn } from '@prisma-next/extension-pgvector/column-types';
|
|
74
|
+
import pgvector from '@prisma-next/extension-pgvector/pack';
|
|
75
|
+
import postgres from '@prisma-next/target-postgres/pack';
|
|
73
76
|
|
|
74
77
|
type AllCodecTypes = CodecTypes & PgVectorCodecTypes;
|
|
75
78
|
|
|
76
79
|
export const contract = defineContract<AllCodecTypes>()
|
|
77
|
-
.target(
|
|
80
|
+
.target(postgres)
|
|
81
|
+
.extensionPacks({ pgvector })
|
|
78
82
|
.table('post', (t) =>
|
|
79
83
|
t
|
|
80
84
|
.column('id', { type: int4Column, nullable: false })
|
|
@@ -176,3 +180,5 @@ The extension declares the following capabilities:
|
|
|
176
180
|
- [Prisma Next Architecture Overview](../../../docs/Architecture%20Overview.md)
|
|
177
181
|
- [Extension Packs Guide](../../../docs/reference/Extension-Packs-Naming-and-Layout.md)
|
|
178
182
|
|
|
183
|
+
Pack refs (`@prisma-next/extension-pgvector/pack`) are pure data objects generated from the hydrated manifest (`src/core/manifest.ts`), so TypeScript contract builders can enable the pgvector namespace in both emit and no-emit workflows without touching the filesystem.
|
|
184
|
+
|
|
@@ -6,4 +6,4 @@ import { SqlControlExtensionDescriptor } from '@prisma-next/family-sql/control';
|
|
|
6
6
|
*/
|
|
7
7
|
declare const pgvectorExtensionDescriptor: SqlControlExtensionDescriptor<'postgres'>;
|
|
8
8
|
|
|
9
|
-
export { pgvectorExtensionDescriptor as default };
|
|
9
|
+
export { pgvectorExtensionDescriptor as default, pgvectorExtensionDescriptor };
|
package/dist/exports/control.js
CHANGED
|
@@ -1,40 +1,4 @@
|
|
|
1
1
|
// src/exports/control.ts
|
|
2
|
-
import { readFileSync } from "fs";
|
|
3
|
-
import { dirname, join } from "path";
|
|
4
|
-
import { fileURLToPath } from "url";
|
|
5
|
-
import { type } from "arktype";
|
|
6
|
-
var __filename = fileURLToPath(import.meta.url);
|
|
7
|
-
var __dirname = dirname(__filename);
|
|
8
|
-
var TypesImportSpecSchema = type({
|
|
9
|
-
package: "string",
|
|
10
|
-
named: "string",
|
|
11
|
-
alias: "string"
|
|
12
|
-
});
|
|
13
|
-
var ExtensionPackManifestSchema = type({
|
|
14
|
-
id: "string",
|
|
15
|
-
version: "string",
|
|
16
|
-
"targets?": type({ "[string]": type({ "minVersion?": "string" }) }),
|
|
17
|
-
"capabilities?": "Record<string, unknown>",
|
|
18
|
-
"types?": type({
|
|
19
|
-
"codecTypes?": type({
|
|
20
|
-
import: TypesImportSpecSchema
|
|
21
|
-
}),
|
|
22
|
-
"operationTypes?": type({
|
|
23
|
-
import: TypesImportSpecSchema
|
|
24
|
-
})
|
|
25
|
-
}),
|
|
26
|
-
"operations?": "unknown[]"
|
|
27
|
-
});
|
|
28
|
-
function loadExtensionManifest() {
|
|
29
|
-
const manifestPath = join(__dirname, "../../packs/manifest.json");
|
|
30
|
-
const manifestJson = JSON.parse(readFileSync(manifestPath, "utf-8"));
|
|
31
|
-
const result = ExtensionPackManifestSchema(manifestJson);
|
|
32
|
-
if (result instanceof type.errors) {
|
|
33
|
-
const messages = result.map((p) => p.message).join("; ");
|
|
34
|
-
throw new Error(`Invalid extension manifest structure at ${manifestPath}: ${messages}`);
|
|
35
|
-
}
|
|
36
|
-
return result;
|
|
37
|
-
}
|
|
38
2
|
function verifyVectorExtensionInstalled(schema) {
|
|
39
3
|
if (!schema.extensions.includes("vector")) {
|
|
40
4
|
return [
|
|
@@ -89,7 +53,47 @@ var pgvectorExtensionDescriptor = {
|
|
|
89
53
|
targetId: "postgres",
|
|
90
54
|
// pgvector is postgres-specific
|
|
91
55
|
id: "pgvector",
|
|
92
|
-
|
|
56
|
+
version: "1.0.0",
|
|
57
|
+
targets: {
|
|
58
|
+
postgres: { minVersion: "12" }
|
|
59
|
+
},
|
|
60
|
+
capabilities: {
|
|
61
|
+
postgres: {
|
|
62
|
+
"pgvector/cosine": true
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
types: {
|
|
66
|
+
codecTypes: {
|
|
67
|
+
import: {
|
|
68
|
+
package: "@prisma-next/extension-pgvector/codec-types",
|
|
69
|
+
named: "CodecTypes",
|
|
70
|
+
alias: "PgVectorTypes"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
operationTypes: {
|
|
74
|
+
import: {
|
|
75
|
+
package: "@prisma-next/extension-pgvector/operation-types",
|
|
76
|
+
named: "OperationTypes",
|
|
77
|
+
alias: "PgVectorOperationTypes"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
storage: [
|
|
81
|
+
{ typeId: "pg/vector@1", familyId: "sql", targetId: "postgres", nativeType: "vector" }
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
operations: [
|
|
85
|
+
{
|
|
86
|
+
for: "pg/vector@1",
|
|
87
|
+
method: "cosineDistance",
|
|
88
|
+
args: [{ kind: "param" }],
|
|
89
|
+
returns: { kind: "builtin", type: "number" },
|
|
90
|
+
lowering: {
|
|
91
|
+
targetFamily: "sql",
|
|
92
|
+
strategy: "function",
|
|
93
|
+
template: "1 - ({{self}} <=> {{arg0}})"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
],
|
|
93
97
|
databaseDependencies: pgvectorDatabaseDependencies,
|
|
94
98
|
create: () => ({
|
|
95
99
|
familyId: "sql",
|
|
@@ -98,6 +102,7 @@ var pgvectorExtensionDescriptor = {
|
|
|
98
102
|
};
|
|
99
103
|
var control_default = pgvectorExtensionDescriptor;
|
|
100
104
|
export {
|
|
101
|
-
control_default as default
|
|
105
|
+
control_default as default,
|
|
106
|
+
pgvectorExtensionDescriptor
|
|
102
107
|
};
|
|
103
108
|
//# sourceMappingURL=control.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/control.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"sources":["../../src/exports/control.ts"],"sourcesContent":["import type { SchemaIssue } from '@prisma-next/core-control-plane/types';\nimport type {\n ComponentDatabaseDependencies,\n SqlControlExtensionDescriptor,\n} from '@prisma-next/family-sql/control';\nimport type { SqlSchemaIR } from '@prisma-next/sql-schema-ir/types';\n\n/**\n * Pure verification hook: checks whether the 'vector' extension is installed\n * based on the in-memory schema IR (no DB I/O).\n */\nfunction verifyVectorExtensionInstalled(schema: SqlSchemaIR): readonly SchemaIssue[] {\n if (!schema.extensions.includes('vector')) {\n return [\n {\n kind: 'extension_missing',\n table: '',\n message: 'Extension \"vector\" is missing from database (required by pgvector)',\n },\n ];\n }\n return [];\n}\n\n/**\n * Database dependencies for the pgvector extension.\n * Declares the 'vector' Postgres extension as a required dependency.\n */\nconst pgvectorDatabaseDependencies: ComponentDatabaseDependencies<unknown> = {\n init: [\n {\n id: 'postgres.extension.vector',\n label: 'Enable vector extension',\n install: [\n {\n id: 'extension.vector',\n label: 'Enable extension \"vector\"',\n summary: 'Ensures the vector extension is available for pgvector operations',\n operationClass: 'additive',\n target: { id: 'postgres' },\n precheck: [\n {\n description: 'verify extension \"vector\" is not already enabled',\n sql: \"SELECT NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname = 'vector')\",\n },\n ],\n execute: [\n {\n description: 'create extension \"vector\"',\n sql: 'CREATE EXTENSION IF NOT EXISTS vector',\n },\n ],\n postcheck: [\n {\n description: 'confirm extension \"vector\" is enabled',\n sql: \"SELECT EXISTS (SELECT 1 FROM pg_extension WHERE extname = 'vector')\",\n },\n ],\n },\n ],\n verifyDatabaseDependencyInstalled: verifyVectorExtensionInstalled,\n },\n ],\n};\n\n/**\n * pgvector extension descriptor for CLI config.\n * Declares database dependencies for the 'vector' Postgres extension.\n */\nconst pgvectorExtensionDescriptor: SqlControlExtensionDescriptor<'postgres'> = {\n kind: 'extension',\n familyId: 'sql',\n targetId: 'postgres', // pgvector is postgres-specific\n id: 'pgvector',\n version: '1.0.0',\n targets: {\n postgres: { minVersion: '12' },\n },\n capabilities: {\n postgres: {\n 'pgvector/cosine': true,\n },\n },\n types: {\n codecTypes: {\n import: {\n package: '@prisma-next/extension-pgvector/codec-types',\n named: 'CodecTypes',\n alias: 'PgVectorTypes',\n },\n },\n operationTypes: {\n import: {\n package: '@prisma-next/extension-pgvector/operation-types',\n named: 'OperationTypes',\n alias: 'PgVectorOperationTypes',\n },\n },\n storage: [\n { typeId: 'pg/vector@1', familyId: 'sql', targetId: 'postgres', nativeType: 'vector' },\n ],\n },\n operations: [\n {\n for: 'pg/vector@1',\n method: 'cosineDistance',\n args: [{ kind: 'param' }],\n returns: { kind: 'builtin', type: 'number' },\n lowering: {\n targetFamily: 'sql',\n strategy: 'function',\n template: '1 - ({{self}} <=> {{arg0}})',\n },\n },\n ],\n databaseDependencies: pgvectorDatabaseDependencies,\n create: () => ({\n familyId: 'sql' as const,\n targetId: 'postgres' as const,\n }),\n};\n\nexport { pgvectorExtensionDescriptor };\nexport default pgvectorExtensionDescriptor;\n"],"mappings":";AAWA,SAAS,+BAA+B,QAA6C;AACnF,MAAI,CAAC,OAAO,WAAW,SAAS,QAAQ,GAAG;AACzC,WAAO;AAAA,MACL;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,SAAS;AAAA,MACX;AAAA,IACF;AAAA,EACF;AACA,SAAO,CAAC;AACV;AAMA,IAAM,+BAAuE;AAAA,EAC3E,MAAM;AAAA,IACJ;AAAA,MACE,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,SAAS;AAAA,QACP;AAAA,UACE,IAAI;AAAA,UACJ,OAAO;AAAA,UACP,SAAS;AAAA,UACT,gBAAgB;AAAA,UAChB,QAAQ,EAAE,IAAI,WAAW;AAAA,UACzB,UAAU;AAAA,YACR;AAAA,cACE,aAAa;AAAA,cACb,KAAK;AAAA,YACP;AAAA,UACF;AAAA,UACA,SAAS;AAAA,YACP;AAAA,cACE,aAAa;AAAA,cACb,KAAK;AAAA,YACP;AAAA,UACF;AAAA,UACA,WAAW;AAAA,YACT;AAAA,cACE,aAAa;AAAA,cACb,KAAK;AAAA,YACP;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,MACA,mCAAmC;AAAA,IACrC;AAAA,EACF;AACF;AAMA,IAAM,8BAAyE;AAAA,EAC7E,MAAM;AAAA,EACN,UAAU;AAAA,EACV,UAAU;AAAA;AAAA,EACV,IAAI;AAAA,EACJ,SAAS;AAAA,EACT,SAAS;AAAA,IACP,UAAU,EAAE,YAAY,KAAK;AAAA,EAC/B;AAAA,EACA,cAAc;AAAA,IACZ,UAAU;AAAA,MACR,mBAAmB;AAAA,IACrB;AAAA,EACF;AAAA,EACA,OAAO;AAAA,IACL,YAAY;AAAA,MACV,QAAQ;AAAA,QACN,SAAS;AAAA,QACT,OAAO;AAAA,QACP,OAAO;AAAA,MACT;AAAA,IACF;AAAA,IACA,gBAAgB;AAAA,MACd,QAAQ;AAAA,QACN,SAAS;AAAA,QACT,OAAO;AAAA,QACP,OAAO;AAAA,MACT;AAAA,IACF;AAAA,IACA,SAAS;AAAA,MACP,EAAE,QAAQ,eAAe,UAAU,OAAO,UAAU,YAAY,YAAY,SAAS;AAAA,IACvF;AAAA,EACF;AAAA,EACA,YAAY;AAAA,IACV;AAAA,MACE,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,MAAM,CAAC,EAAE,MAAM,QAAQ,CAAC;AAAA,MACxB,SAAS,EAAE,MAAM,WAAW,MAAM,SAAS;AAAA,MAC3C,UAAU;AAAA,QACR,cAAc;AAAA,QACd,UAAU;AAAA,QACV,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAAA,EACA,sBAAsB;AAAA,EACtB,QAAQ,OAAO;AAAA,IACb,UAAU;AAAA,IACV,UAAU;AAAA,EACZ;AACF;AAGA,IAAO,kBAAQ;","names":[]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// src/exports/pack.ts
|
|
2
|
+
var pgvectorPack = {
|
|
3
|
+
kind: "extension",
|
|
4
|
+
id: "pgvector",
|
|
5
|
+
familyId: "sql",
|
|
6
|
+
targetId: "postgres",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
targets: {
|
|
9
|
+
postgres: { minVersion: "12" }
|
|
10
|
+
},
|
|
11
|
+
capabilities: {
|
|
12
|
+
postgres: {
|
|
13
|
+
"pgvector/cosine": true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
types: {
|
|
17
|
+
codecTypes: {
|
|
18
|
+
import: {
|
|
19
|
+
package: "@prisma-next/extension-pgvector/codec-types",
|
|
20
|
+
named: "CodecTypes",
|
|
21
|
+
alias: "PgVectorTypes"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
operationTypes: {
|
|
25
|
+
import: {
|
|
26
|
+
package: "@prisma-next/extension-pgvector/operation-types",
|
|
27
|
+
named: "OperationTypes",
|
|
28
|
+
alias: "PgVectorOperationTypes"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
storage: [
|
|
32
|
+
{ typeId: "pg/vector@1", familyId: "sql", targetId: "postgres", nativeType: "vector" }
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
operations: [
|
|
36
|
+
{
|
|
37
|
+
for: "pg/vector@1",
|
|
38
|
+
method: "cosineDistance",
|
|
39
|
+
args: [{ kind: "param" }],
|
|
40
|
+
returns: { kind: "builtin", type: "number" },
|
|
41
|
+
lowering: {
|
|
42
|
+
targetFamily: "sql",
|
|
43
|
+
strategy: "function",
|
|
44
|
+
template: "1 - ({{self}} <=> {{arg0}})"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
};
|
|
49
|
+
var pack_default = pgvectorPack;
|
|
50
|
+
export {
|
|
51
|
+
pack_default as default
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=pack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/exports/pack.ts"],"sourcesContent":["import type { ExtensionPackRef } from '@prisma-next/sql-contract/pack-types';\n\nconst pgvectorPack: ExtensionPackRef<'sql', 'postgres'> = {\n kind: 'extension',\n id: 'pgvector',\n familyId: 'sql',\n targetId: 'postgres',\n version: '1.0.0',\n targets: {\n postgres: { minVersion: '12' },\n },\n capabilities: {\n postgres: {\n 'pgvector/cosine': true,\n },\n },\n types: {\n codecTypes: {\n import: {\n package: '@prisma-next/extension-pgvector/codec-types',\n named: 'CodecTypes',\n alias: 'PgVectorTypes',\n },\n },\n operationTypes: {\n import: {\n package: '@prisma-next/extension-pgvector/operation-types',\n named: 'OperationTypes',\n alias: 'PgVectorOperationTypes',\n },\n },\n storage: [\n { typeId: 'pg/vector@1', familyId: 'sql', targetId: 'postgres', nativeType: 'vector' },\n ],\n },\n operations: [\n {\n for: 'pg/vector@1',\n method: 'cosineDistance',\n args: [{ kind: 'param' }],\n returns: { kind: 'builtin', type: 'number' },\n lowering: {\n targetFamily: 'sql',\n strategy: 'function',\n template: '1 - ({{self}} <=> {{arg0}})',\n },\n },\n ],\n};\n\nexport default pgvectorPack;\n"],"mappings":";AAEA,IAAM,eAAoD;AAAA,EACxD,MAAM;AAAA,EACN,IAAI;AAAA,EACJ,UAAU;AAAA,EACV,UAAU;AAAA,EACV,SAAS;AAAA,EACT,SAAS;AAAA,IACP,UAAU,EAAE,YAAY,KAAK;AAAA,EAC/B;AAAA,EACA,cAAc;AAAA,IACZ,UAAU;AAAA,MACR,mBAAmB;AAAA,IACrB;AAAA,EACF;AAAA,EACA,OAAO;AAAA,IACL,YAAY;AAAA,MACV,QAAQ;AAAA,QACN,SAAS;AAAA,QACT,OAAO;AAAA,QACP,OAAO;AAAA,MACT;AAAA,IACF;AAAA,IACA,gBAAgB;AAAA,MACd,QAAQ;AAAA,QACN,SAAS;AAAA,QACT,OAAO;AAAA,QACP,OAAO;AAAA,MACT;AAAA,IACF;AAAA,IACA,SAAS;AAAA,MACP,EAAE,QAAQ,eAAe,UAAU,OAAO,UAAU,YAAY,YAAY,SAAS;AAAA,IACvF;AAAA,EACF;AAAA,EACA,YAAY;AAAA,IACV;AAAA,MACE,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,MAAM,CAAC,EAAE,MAAM,QAAQ,CAAC;AAAA,MACxB,SAAS,EAAE,MAAM,WAAW,MAAM,SAAS;AAAA,MAC3C,UAAU;AAAA,QACR,cAAc;AAAA,QACd,UAAU;AAAA,QACV,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AACF;AAEA,IAAO,eAAQ;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/extension-pgvector",
|
|
3
|
-
"version": "0.1.0-pr.
|
|
3
|
+
"version": "0.1.0-pr.65.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"arktype": "^2.0.0",
|
|
8
|
-
"@prisma-next/
|
|
9
|
-
"@prisma-next/
|
|
10
|
-
"@prisma-next/contract-authoring": "0.1.0-pr.
|
|
11
|
-
"@prisma-next/core-control-plane": "0.1.0-pr.
|
|
12
|
-
"@prisma-next/sql
|
|
13
|
-
"@prisma-next/sql-
|
|
14
|
-
"@prisma-next/sql-
|
|
15
|
-
"@prisma-next/sql-schema-ir": "0.1.0-pr.
|
|
16
|
-
"@prisma-next/
|
|
8
|
+
"@prisma-next/cli": "0.1.0-pr.65.1",
|
|
9
|
+
"@prisma-next/contract": "0.1.0-pr.65.1",
|
|
10
|
+
"@prisma-next/contract-authoring": "0.1.0-pr.65.1",
|
|
11
|
+
"@prisma-next/core-control-plane": "0.1.0-pr.65.1",
|
|
12
|
+
"@prisma-next/family-sql": "0.1.0-pr.65.1",
|
|
13
|
+
"@prisma-next/sql-operations": "0.1.0-pr.65.1",
|
|
14
|
+
"@prisma-next/sql-relational-core": "0.1.0-pr.65.1",
|
|
15
|
+
"@prisma-next/sql-schema-ir": "0.1.0-pr.65.1",
|
|
16
|
+
"@prisma-next/sql-runtime": "0.1.0-pr.65.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"tsup": "^8.3.0",
|
|
20
20
|
"typescript": "^5.9.3",
|
|
21
21
|
"vite-tsconfig-paths": "^5.1.4",
|
|
22
22
|
"vitest": "^4.0.16",
|
|
23
|
-
"@prisma-next/
|
|
24
|
-
"@prisma-next/
|
|
25
|
-
"@prisma-next/sql-contract": "0.1.0-pr.
|
|
23
|
+
"@prisma-next/operations": "0.1.0-pr.65.1",
|
|
24
|
+
"@prisma-next/adapter-postgres": "0.1.0-pr.65.1",
|
|
25
|
+
"@prisma-next/sql-contract-ts": "0.1.0-pr.65.1",
|
|
26
|
+
"@prisma-next/sql-contract": "0.1.0-pr.65.1",
|
|
26
27
|
"@prisma-next/test-utils": "0.0.1",
|
|
27
|
-
"@prisma-next/
|
|
28
|
-
"@prisma-next/sql-lane": "0.1.0-pr.64.2"
|
|
28
|
+
"@prisma-next/sql-lane": "0.1.0-pr.65.1"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist"
|
|
@@ -40,6 +40,10 @@
|
|
|
40
40
|
"types": "./dist/exports/runtime.d.ts",
|
|
41
41
|
"import": "./dist/exports/runtime.js"
|
|
42
42
|
},
|
|
43
|
+
"./pack": {
|
|
44
|
+
"types": "./dist/exports/pack.d.ts",
|
|
45
|
+
"import": "./dist/exports/pack.js"
|
|
46
|
+
},
|
|
43
47
|
"./codec-types": {
|
|
44
48
|
"types": "./dist/exports/codec-types.d.ts",
|
|
45
49
|
"import": "./dist/exports/codec-types.js"
|