@kernl-sdk/pg 0.1.20 → 0.1.22
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 +1 -1
- package/CHANGELOG.md +16 -0
- package/package.json +5 -5
- package/.turbo/turbo-check-types.log +0 -36
- package/tsconfig.tsbuildinfo +0 -1
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @kernl/pg
|
|
2
2
|
|
|
3
|
+
## 0.1.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [ae11e54]
|
|
8
|
+
- kernl@0.8.3
|
|
9
|
+
- @kernl-sdk/storage@0.1.22
|
|
10
|
+
|
|
11
|
+
## 0.1.21
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- kernl@0.8.2
|
|
17
|
+
- @kernl-sdk/storage@0.1.21
|
|
18
|
+
|
|
3
19
|
## 0.1.20
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kernl-sdk/pg",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "PostgreSQL storage adapter for kernl",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"kernl",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"tsc-alias": "^1.8.10",
|
|
36
36
|
"typescript": "5.9.2",
|
|
37
37
|
"vitest": "^4.0.8",
|
|
38
|
-
"@kernl-sdk/
|
|
39
|
-
"@kernl-sdk/
|
|
38
|
+
"@kernl-sdk/protocol": "^0.2.8",
|
|
39
|
+
"@kernl-sdk/ai": "^0.3.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"pg": "^8.16.3",
|
|
43
|
+
"kernl": "^0.8.3",
|
|
43
44
|
"@kernl-sdk/retrieval": "^0.1.3",
|
|
44
|
-
"kernl": "^0.8.1",
|
|
45
45
|
"@kernl-sdk/shared": "^0.3.0",
|
|
46
|
-
"@kernl-sdk/storage": "0.1.
|
|
46
|
+
"@kernl-sdk/storage": "0.1.22"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"clean": "rm -rf dist",
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @kernl-sdk/pg@0.1.11 check-types /Users/andjones/Documents/projects/kernl/packages/storage/pg
|
|
3
|
-
> tsc --noEmit
|
|
4
|
-
|
|
5
|
-
src/search/__tests__/hit.test.ts(75,55): error TS2345: Argument of type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; }; }; }' is not assignable to parameter of type 'PGIndexConfig'.
|
|
6
|
-
Property 'pkey' is missing in type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; }; }; }' but required in type 'PGIndexConfig'.
|
|
7
|
-
src/search/__tests__/hit.test.ts(93,55): error TS2345: Argument of type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; }; }; }' is not assignable to parameter of type 'PGIndexConfig'.
|
|
8
|
-
Property 'pkey' is missing in type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; }; }; }' but required in type 'PGIndexConfig'.
|
|
9
|
-
src/search/__tests__/hit.test.ts(110,55): error TS2345: Argument of type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; }; }; }' is not assignable to parameter of type 'PGIndexConfig'.
|
|
10
|
-
Property 'pkey' is missing in type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; }; }; }' but required in type 'PGIndexConfig'.
|
|
11
|
-
src/search/__tests__/hit.test.ts(124,55): error TS2345: Argument of type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; }; }; }' is not assignable to parameter of type 'PGIndexConfig'.
|
|
12
|
-
Property 'pkey' is missing in type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; }; }; }' but required in type 'PGIndexConfig'.
|
|
13
|
-
src/search/sql/__tests__/order.test.ts(58,11): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "cosine"; }; }; }' but required in type 'PGIndexConfig'.
|
|
14
|
-
src/search/sql/__tests__/order.test.ts(77,11): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "euclidean"; }; }; }' but required in type 'PGIndexConfig'.
|
|
15
|
-
src/search/sql/__tests__/order.test.ts(96,11): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "dot_product"; }; }; }' but required in type 'PGIndexConfig'.
|
|
16
|
-
src/search/sql/__tests__/order.test.ts(134,11): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { other_field: { column: string; type: "vector"; dimensions: number; similarity: "euclidean"; }; }; }' but required in type 'PGIndexConfig'.
|
|
17
|
-
src/search/sql/__tests__/query.test.ts(110,21): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "cosine"; }; }; }' but required in type 'PGIndexConfig'.
|
|
18
|
-
src/search/sql/__tests__/query.test.ts(196,23): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "cosine"; }; }; }' but required in type 'PGIndexConfig'.
|
|
19
|
-
src/search/sql/__tests__/query.test.ts(258,27): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "euclidean"; }; }; }' but required in type 'PGIndexConfig'.
|
|
20
|
-
src/search/sql/__tests__/query.test.ts(324,25): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "cosine"; }; }; }' but required in type 'PGIndexConfig'.
|
|
21
|
-
src/search/sql/__tests__/query.test.ts(462,21): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "euclidean"; }; }; }' but required in type 'PGIndexConfig'.
|
|
22
|
-
src/search/sql/__tests__/query.test.ts(492,21): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "dot_product"; }; }; }' but required in type 'PGIndexConfig'.
|
|
23
|
-
src/search/sql/__tests__/select.test.ts(43,9): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "cosine"; }; }; }' but required in type 'PGIndexConfig'.
|
|
24
|
-
src/search/sql/__tests__/select.test.ts(67,9): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "euclidean"; }; }; }' but required in type 'PGIndexConfig'.
|
|
25
|
-
src/search/sql/__tests__/select.test.ts(91,9): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { embedding: { column: string; type: "vector"; dimensions: number; similarity: "dot_product"; }; }; }' but required in type 'PGIndexConfig'.
|
|
26
|
-
src/search/sql/__tests__/select.test.ts(155,11): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { other_field: { column: string; type: "vector"; dimensions: number; similarity: "cosine"; }; }; }' but required in type 'PGIndexConfig'.
|
|
27
|
-
src/search/sql/__tests__/select.test.ts(300,9): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; similarity: "cosine"; }; }; }' but required in type 'PGIndexConfig'.
|
|
28
|
-
src/search/sql/__tests__/select.test.ts(312,9): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; similarity: "cosine"; }; }; }' but required in type 'PGIndexConfig'.
|
|
29
|
-
src/search/sql/__tests__/select.test.ts(325,9): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; similarity: "cosine"; }; }; }' but required in type 'PGIndexConfig'.
|
|
30
|
-
src/search/sql/__tests__/select.test.ts(336,9): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; similarity: "cosine"; }; }; }' but required in type 'PGIndexConfig'.
|
|
31
|
-
src/search/sql/__tests__/select.test.ts(347,9): error TS2741: Property 'pkey' is missing in type '{ schema: string; table: string; fields: { title: { column: string; type: "string"; }; content: { column: string; type: "string"; }; embedding: { column: string; type: "vector"; dimensions: number; similarity: "cosine"; }; }; }' but required in type 'PGIndexConfig'.
|
|
32
|
-
src/search/sql/__tests__/where.test.ts(357,28): error TS2322: Type 'string' is not assignable to type 'Filter'.
|
|
33
|
-
Type 'string' is not assignable to type '{ [field: string]: Filter | ScalarValue | FieldOps | Filter[] | undefined; }'.
|
|
34
|
-
src/search/sql/__tests__/where.test.ts(357,33): error TS2322: Type 'string' is not assignable to type 'Filter'.
|
|
35
|
-
Type 'string' is not assignable to type '{ [field: string]: Filter | ScalarValue | FieldOps | Filter[] | undefined; }'.
|
|
36
|
-
ELIFECYCLE Command failed with exit code 2.
|
package/tsconfig.tsbuildinfo
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"root":["./src/index.ts","./src/migrations.ts","./src/postgres.ts","./src/sql.ts","./src/storage.ts","./src/__tests__/integration.test.ts","./src/__tests__/memory.test.ts","./src/__tests__/thread.test.ts","./src/memory/sql.ts","./src/memory/store.ts","./src/thread/sql.ts","./src/thread/store.ts"],"version":"5.9.2"}
|