@makaio/storage-pg 1.0.0-dev-1781260968078
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/LICENSE +21 -0
- package/README.md +95 -0
- package/dist/client.d.ts +52 -0
- package/dist/engine.d.ts +21 -0
- package/dist/errors.d.ts +27 -0
- package/dist/fts-strategy.d.ts +6 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.mjs +527 -0
- package/dist/migrations.d.ts +58 -0
- package/dist/raw-sql.d.ts +100 -0
- package/drizzle-postgres/0000_famous_ozymandias.sql +457 -0
- package/drizzle-postgres/0001_messages_content_tsv.sql +2 -0
- package/drizzle-postgres/0002_amused_doorman.sql +3 -0
- package/drizzle-postgres/0003_cute_tigra.sql +4 -0
- package/drizzle-postgres/0004_stormy_swarm.sql +2 -0
- package/drizzle-postgres/meta/0000_snapshot.json +3323 -0
- package/drizzle-postgres/meta/0001_snapshot.json +3348 -0
- package/drizzle-postgres/meta/0002_snapshot.json +3387 -0
- package/drizzle-postgres/meta/0003_snapshot.json +3407 -0
- package/drizzle-postgres/meta/0004_snapshot.json +3422 -0
- package/drizzle-postgres/meta/_journal.json +41 -0
- package/package.json +58 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7",
|
|
3
|
+
"dialect": "postgresql",
|
|
4
|
+
"entries": [
|
|
5
|
+
{
|
|
6
|
+
"idx": 0,
|
|
7
|
+
"version": "7",
|
|
8
|
+
"when": 1781119065872,
|
|
9
|
+
"tag": "0000_famous_ozymandias",
|
|
10
|
+
"breakpoints": true
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"idx": 1,
|
|
14
|
+
"version": "7",
|
|
15
|
+
"when": 1781200000000,
|
|
16
|
+
"tag": "0001_messages_content_tsv",
|
|
17
|
+
"breakpoints": true
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"idx": 2,
|
|
21
|
+
"version": "7",
|
|
22
|
+
"when": 1781161008160,
|
|
23
|
+
"tag": "0002_amused_doorman",
|
|
24
|
+
"breakpoints": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"idx": 3,
|
|
28
|
+
"version": "7",
|
|
29
|
+
"when": 1781166924876,
|
|
30
|
+
"tag": "0003_cute_tigra",
|
|
31
|
+
"breakpoints": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"idx": 4,
|
|
35
|
+
"version": "7",
|
|
36
|
+
"when": 1781173497188,
|
|
37
|
+
"tag": "0004_stormy_swarm",
|
|
38
|
+
"breakpoints": true
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@makaio/storage-pg",
|
|
3
|
+
"description": "Postgres storage engine for the Makaio framework: driver glue, error classification, and migration behavior registered through the storage engine seam.",
|
|
4
|
+
"version": "1.0.0-dev-1781260968078",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/makaio-ai/makaio-framework.git",
|
|
9
|
+
"directory": "storage/pg"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.mjs"
|
|
15
|
+
},
|
|
16
|
+
"./package.json": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"drizzle-postgres",
|
|
21
|
+
"LICENSE",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "bun build.ts",
|
|
26
|
+
"db:generate": "tsx $(yarn bin drizzle-kit) generate && tsx scripts/normalize-migrations.ts",
|
|
27
|
+
"db:generate:fresh": "rm -rf drizzle-postgres && tsx $(yarn bin drizzle-kit) generate && tsx scripts/normalize-migrations.ts",
|
|
28
|
+
"test": "vitest run"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"drizzle-orm": "0.45.2",
|
|
32
|
+
"pg": "^8.21.0"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"@makaio/framework": "^1.0.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@makaio/build-tooling": "1.0.0",
|
|
39
|
+
"@makaio/storage-drizzle": "1.0.0",
|
|
40
|
+
"@types/node": "^24.3.0",
|
|
41
|
+
"drizzle-kit": "^0.31.8",
|
|
42
|
+
"tsdown": "0.22.0",
|
|
43
|
+
"tsx": "^4.22.3",
|
|
44
|
+
"typescript": "^6.0.3"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public",
|
|
48
|
+
"directory": "node_modules/.makaio-publish",
|
|
49
|
+
"exports": {
|
|
50
|
+
".": {
|
|
51
|
+
"types": "./dist/index.d.ts",
|
|
52
|
+
"default": "./dist/index.mjs"
|
|
53
|
+
},
|
|
54
|
+
"./package.json": "./package.json"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"license": "MIT"
|
|
58
|
+
}
|