@velocity-astro/cms-db 0.0.0-stage → 0.1.0-beta.2
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 +12 -2
- package/dist/auth-tables.d.ts +881 -0
- package/dist/auth-tables.d.ts.map +1 -0
- package/dist/auth-tables.js +82 -0
- package/dist/auth-tables.js.map +1 -0
- package/dist/contact-repository.d.ts +16 -0
- package/dist/contact-repository.d.ts.map +1 -0
- package/dist/contact-repository.js +108 -0
- package/dist/contact-repository.js.map +1 -0
- package/dist/custom-fields-store.d.ts +9 -0
- package/dist/custom-fields-store.d.ts.map +1 -0
- package/dist/custom-fields-store.js +26 -0
- package/dist/custom-fields-store.js.map +1 -0
- package/dist/database.d.ts +2709 -0
- package/dist/database.d.ts.map +1 -0
- package/dist/database.js +22 -0
- package/dist/database.js.map +1 -0
- package/dist/deal-repository.d.ts +14 -0
- package/dist/deal-repository.d.ts.map +1 -0
- package/dist/deal-repository.js +70 -0
- package/dist/deal-repository.js.map +1 -0
- package/dist/entry-repository.d.ts +12 -0
- package/dist/entry-repository.d.ts.map +1 -0
- package/dist/entry-repository.js +107 -0
- package/dist/entry-repository.js.map +1 -0
- package/dist/form-repository.d.ts +14 -0
- package/dist/form-repository.d.ts.map +1 -0
- package/dist/form-repository.js +54 -0
- package/dist/form-repository.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/media-repository.d.ts +11 -0
- package/dist/media-repository.d.ts.map +1 -0
- package/dist/media-repository.js +33 -0
- package/dist/media-repository.js.map +1 -0
- package/dist/pipeline-store.d.ts +9 -0
- package/dist/pipeline-store.d.ts.map +1 -0
- package/dist/pipeline-store.js +31 -0
- package/dist/pipeline-store.js.map +1 -0
- package/dist/plugin-store.d.ts +12 -0
- package/dist/plugin-store.d.ts.map +1 -0
- package/dist/plugin-store.js +35 -0
- package/dist/plugin-store.js.map +1 -0
- package/dist/schema-repository.d.ts +11 -0
- package/dist/schema-repository.d.ts.map +1 -0
- package/dist/schema-repository.js +37 -0
- package/dist/schema-repository.js.map +1 -0
- package/dist/search-index.d.ts +15 -0
- package/dist/search-index.d.ts.map +1 -0
- package/dist/search-index.js +67 -0
- package/dist/search-index.js.map +1 -0
- package/dist/submission-repository.d.ts +14 -0
- package/dist/submission-repository.d.ts.map +1 -0
- package/dist/submission-repository.js +82 -0
- package/dist/submission-repository.js.map +1 -0
- package/dist/tables.d.ts +1835 -0
- package/dist/tables.d.ts.map +1 -0
- package/dist/tables.js +166 -0
- package/dist/tables.js.map +1 -0
- package/migrations/0000_init.sql +33 -0
- package/migrations/0001_search.sql +10 -0
- package/migrations/0002_published_version.sql +7 -0
- package/migrations/0003_auth.sql +71 -0
- package/migrations/0004_media.sql +12 -0
- package/migrations/0005_plugins.sql +7 -0
- package/migrations/0006_trash.sql +3 -0
- package/migrations/0007_forms.sql +24 -0
- package/migrations/0008_contacts.sql +23 -0
- package/migrations/0009_pipeline.sql +11 -0
- package/migrations/0010_deals.sql +16 -0
- package/migrations/0011_custom_fields.sql +2 -0
- package/migrations/0012_deal_subjects.sql +3 -0
- package/migrations/0013_submission_subjects.sql +2 -0
- package/migrations/0014_stage_moves.sql +2 -0
- package/migrations/0015_publish_problem.sql +1 -0
- package/migrations/meta/0000_snapshot.json +229 -0
- package/migrations/meta/0001_snapshot.json +229 -0
- package/migrations/meta/0002_snapshot.json +266 -0
- package/migrations/meta/0003_snapshot.json +744 -0
- package/migrations/meta/0004_snapshot.json +818 -0
- package/migrations/meta/0005_snapshot.json +864 -0
- package/migrations/meta/0006_snapshot.json +872 -0
- package/migrations/meta/0007_snapshot.json +1022 -0
- package/migrations/meta/0008_snapshot.json +1164 -0
- package/migrations/meta/0009_snapshot.json +1232 -0
- package/migrations/meta/0010_snapshot.json +1335 -0
- package/migrations/meta/0011_snapshot.json +1349 -0
- package/migrations/meta/0012_snapshot.json +1370 -0
- package/migrations/meta/0013_snapshot.json +1384 -0
- package/migrations/meta/0014_snapshot.json +1398 -0
- package/migrations/meta/0015_snapshot.json +1405 -0
- package/migrations/meta/_journal.json +118 -0
- package/package.json +43 -3
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"entries": [
|
|
5
|
+
{
|
|
6
|
+
"idx": 0,
|
|
7
|
+
"version": "6",
|
|
8
|
+
"when": 1794943294836,
|
|
9
|
+
"tag": "0000_init",
|
|
10
|
+
"breakpoints": true
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"idx": 1,
|
|
14
|
+
"version": "6",
|
|
15
|
+
"when": 1794946280652,
|
|
16
|
+
"tag": "0001_search",
|
|
17
|
+
"breakpoints": true
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"idx": 2,
|
|
21
|
+
"version": "6",
|
|
22
|
+
"when": 1794946692846,
|
|
23
|
+
"tag": "0002_published_version",
|
|
24
|
+
"breakpoints": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"idx": 3,
|
|
28
|
+
"version": "6",
|
|
29
|
+
"when": 1794953860836,
|
|
30
|
+
"tag": "0003_auth",
|
|
31
|
+
"breakpoints": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"idx": 4,
|
|
35
|
+
"version": "6",
|
|
36
|
+
"when": 1794964579999,
|
|
37
|
+
"tag": "0004_media",
|
|
38
|
+
"breakpoints": true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"idx": 5,
|
|
42
|
+
"version": "6",
|
|
43
|
+
"when": 1794976271107,
|
|
44
|
+
"tag": "0005_plugins",
|
|
45
|
+
"breakpoints": true
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"idx": 6,
|
|
49
|
+
"version": "6",
|
|
50
|
+
"when": 1795014331750,
|
|
51
|
+
"tag": "0006_trash",
|
|
52
|
+
"breakpoints": true
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"idx": 7,
|
|
56
|
+
"version": "6",
|
|
57
|
+
"when": 1795015466418,
|
|
58
|
+
"tag": "0007_forms",
|
|
59
|
+
"breakpoints": true
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"idx": 8,
|
|
63
|
+
"version": "6",
|
|
64
|
+
"when": 1795019883888,
|
|
65
|
+
"tag": "0008_contacts",
|
|
66
|
+
"breakpoints": true
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"idx": 9,
|
|
70
|
+
"version": "6",
|
|
71
|
+
"when": 1795021154948,
|
|
72
|
+
"tag": "0009_pipeline",
|
|
73
|
+
"breakpoints": true
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"idx": 10,
|
|
77
|
+
"version": "6",
|
|
78
|
+
"when": 1795022516658,
|
|
79
|
+
"tag": "0010_deals",
|
|
80
|
+
"breakpoints": true
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"idx": 11,
|
|
84
|
+
"version": "6",
|
|
85
|
+
"when": 1795024824218,
|
|
86
|
+
"tag": "0011_custom_fields",
|
|
87
|
+
"breakpoints": true
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"idx": 12,
|
|
91
|
+
"version": "6",
|
|
92
|
+
"when": 1795025663132,
|
|
93
|
+
"tag": "0012_deal_subjects",
|
|
94
|
+
"breakpoints": true
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"idx": 13,
|
|
98
|
+
"version": "6",
|
|
99
|
+
"when": 1795028560314,
|
|
100
|
+
"tag": "0013_submission_subjects",
|
|
101
|
+
"breakpoints": true
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"idx": 14,
|
|
105
|
+
"version": "6",
|
|
106
|
+
"when": 1795029813190,
|
|
107
|
+
"tag": "0014_stage_moves",
|
|
108
|
+
"breakpoints": true
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"idx": 15,
|
|
112
|
+
"version": "6",
|
|
113
|
+
"when": 1795031893944,
|
|
114
|
+
"tag": "0015_publish_problem",
|
|
115
|
+
"breakpoints": true
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velocity-astro/cms-db",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0-beta.2",
|
|
4
|
+
"description": "SQLite and libSQL storage for Velocity CMS: tables, migrations and the repositories cms-core asks for.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Velocity-Astro/velocity-cms.git",
|
|
10
|
+
"directory": "packages/cms-db"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://docs.deployvelocity.com/cms/",
|
|
13
|
+
"bugs": "https://github.com/Velocity-Astro/velocity-cms/issues",
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=22.23.4"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"migrations",
|
|
29
|
+
"!dist/**/*.test.*"
|
|
30
|
+
],
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@libsql/client": "^0.18.0",
|
|
33
|
+
"drizzle-orm": "^0.45.4",
|
|
34
|
+
"@velocity-astro/cms-core": "0.1.0-beta.2"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"zod": "^4.6.6"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"drizzle-kit": "^0.31.11",
|
|
41
|
+
"zod": "^4.6.6"
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"migrations:generate": "drizzle-kit generate"
|
|
45
|
+
}
|
|
6
46
|
}
|