@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,266 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "6",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "15754bae-03d2-4bb1-80c3-50122e3c279b",
|
|
5
|
+
"prevId": "bd6b60f3-7252-4da4-92df-a59eb2fe248f",
|
|
6
|
+
"tables": {
|
|
7
|
+
"content_types": {
|
|
8
|
+
"name": "content_types",
|
|
9
|
+
"columns": {
|
|
10
|
+
"id": {
|
|
11
|
+
"name": "id",
|
|
12
|
+
"type": "text",
|
|
13
|
+
"primaryKey": true,
|
|
14
|
+
"notNull": true,
|
|
15
|
+
"autoincrement": false
|
|
16
|
+
},
|
|
17
|
+
"key": {
|
|
18
|
+
"name": "key",
|
|
19
|
+
"type": "text",
|
|
20
|
+
"primaryKey": false,
|
|
21
|
+
"notNull": true,
|
|
22
|
+
"autoincrement": false
|
|
23
|
+
},
|
|
24
|
+
"definition": {
|
|
25
|
+
"name": "definition",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": true,
|
|
29
|
+
"autoincrement": false
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"indexes": {
|
|
33
|
+
"content_types_key": {
|
|
34
|
+
"name": "content_types_key",
|
|
35
|
+
"columns": [
|
|
36
|
+
"key"
|
|
37
|
+
],
|
|
38
|
+
"isUnique": true
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"foreignKeys": {},
|
|
42
|
+
"compositePrimaryKeys": {},
|
|
43
|
+
"uniqueConstraints": {},
|
|
44
|
+
"checkConstraints": {}
|
|
45
|
+
},
|
|
46
|
+
"entries": {
|
|
47
|
+
"name": "entries",
|
|
48
|
+
"columns": {
|
|
49
|
+
"id": {
|
|
50
|
+
"name": "id",
|
|
51
|
+
"type": "text",
|
|
52
|
+
"primaryKey": true,
|
|
53
|
+
"notNull": true,
|
|
54
|
+
"autoincrement": false
|
|
55
|
+
},
|
|
56
|
+
"type_id": {
|
|
57
|
+
"name": "type_id",
|
|
58
|
+
"type": "text",
|
|
59
|
+
"primaryKey": false,
|
|
60
|
+
"notNull": true,
|
|
61
|
+
"autoincrement": false
|
|
62
|
+
},
|
|
63
|
+
"locale": {
|
|
64
|
+
"name": "locale",
|
|
65
|
+
"type": "text",
|
|
66
|
+
"primaryKey": false,
|
|
67
|
+
"notNull": true,
|
|
68
|
+
"autoincrement": false
|
|
69
|
+
},
|
|
70
|
+
"translation_group": {
|
|
71
|
+
"name": "translation_group",
|
|
72
|
+
"type": "text",
|
|
73
|
+
"primaryKey": false,
|
|
74
|
+
"notNull": true,
|
|
75
|
+
"autoincrement": false
|
|
76
|
+
},
|
|
77
|
+
"slug": {
|
|
78
|
+
"name": "slug",
|
|
79
|
+
"type": "text",
|
|
80
|
+
"primaryKey": false,
|
|
81
|
+
"notNull": true,
|
|
82
|
+
"autoincrement": false
|
|
83
|
+
},
|
|
84
|
+
"status": {
|
|
85
|
+
"name": "status",
|
|
86
|
+
"type": "text",
|
|
87
|
+
"primaryKey": false,
|
|
88
|
+
"notNull": true,
|
|
89
|
+
"autoincrement": false
|
|
90
|
+
},
|
|
91
|
+
"data": {
|
|
92
|
+
"name": "data",
|
|
93
|
+
"type": "text",
|
|
94
|
+
"primaryKey": false,
|
|
95
|
+
"notNull": true,
|
|
96
|
+
"autoincrement": false
|
|
97
|
+
},
|
|
98
|
+
"revision": {
|
|
99
|
+
"name": "revision",
|
|
100
|
+
"type": "integer",
|
|
101
|
+
"primaryKey": false,
|
|
102
|
+
"notNull": true,
|
|
103
|
+
"autoincrement": false
|
|
104
|
+
},
|
|
105
|
+
"publish_at": {
|
|
106
|
+
"name": "publish_at",
|
|
107
|
+
"type": "text",
|
|
108
|
+
"primaryKey": false,
|
|
109
|
+
"notNull": false,
|
|
110
|
+
"autoincrement": false
|
|
111
|
+
},
|
|
112
|
+
"published_slug": {
|
|
113
|
+
"name": "published_slug",
|
|
114
|
+
"type": "text",
|
|
115
|
+
"primaryKey": false,
|
|
116
|
+
"notNull": false,
|
|
117
|
+
"autoincrement": false
|
|
118
|
+
},
|
|
119
|
+
"published_data": {
|
|
120
|
+
"name": "published_data",
|
|
121
|
+
"type": "text",
|
|
122
|
+
"primaryKey": false,
|
|
123
|
+
"notNull": false,
|
|
124
|
+
"autoincrement": false
|
|
125
|
+
},
|
|
126
|
+
"published_revision": {
|
|
127
|
+
"name": "published_revision",
|
|
128
|
+
"type": "integer",
|
|
129
|
+
"primaryKey": false,
|
|
130
|
+
"notNull": false,
|
|
131
|
+
"autoincrement": false
|
|
132
|
+
},
|
|
133
|
+
"published_at": {
|
|
134
|
+
"name": "published_at",
|
|
135
|
+
"type": "text",
|
|
136
|
+
"primaryKey": false,
|
|
137
|
+
"notNull": false,
|
|
138
|
+
"autoincrement": false
|
|
139
|
+
},
|
|
140
|
+
"created_at": {
|
|
141
|
+
"name": "created_at",
|
|
142
|
+
"type": "text",
|
|
143
|
+
"primaryKey": false,
|
|
144
|
+
"notNull": true,
|
|
145
|
+
"autoincrement": false
|
|
146
|
+
},
|
|
147
|
+
"updated_at": {
|
|
148
|
+
"name": "updated_at",
|
|
149
|
+
"type": "text",
|
|
150
|
+
"primaryKey": false,
|
|
151
|
+
"notNull": true,
|
|
152
|
+
"autoincrement": false
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"indexes": {
|
|
156
|
+
"entries_type_locale_slug": {
|
|
157
|
+
"name": "entries_type_locale_slug",
|
|
158
|
+
"columns": [
|
|
159
|
+
"type_id",
|
|
160
|
+
"locale",
|
|
161
|
+
"slug"
|
|
162
|
+
],
|
|
163
|
+
"isUnique": true
|
|
164
|
+
},
|
|
165
|
+
"entries_type_locale_published_slug": {
|
|
166
|
+
"name": "entries_type_locale_published_slug",
|
|
167
|
+
"columns": [
|
|
168
|
+
"type_id",
|
|
169
|
+
"locale",
|
|
170
|
+
"published_slug"
|
|
171
|
+
],
|
|
172
|
+
"isUnique": true
|
|
173
|
+
},
|
|
174
|
+
"entries_type_status": {
|
|
175
|
+
"name": "entries_type_status",
|
|
176
|
+
"columns": [
|
|
177
|
+
"type_id",
|
|
178
|
+
"status"
|
|
179
|
+
],
|
|
180
|
+
"isUnique": false
|
|
181
|
+
},
|
|
182
|
+
"entries_translation_group": {
|
|
183
|
+
"name": "entries_translation_group",
|
|
184
|
+
"columns": [
|
|
185
|
+
"translation_group"
|
|
186
|
+
],
|
|
187
|
+
"isUnique": false
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"foreignKeys": {},
|
|
191
|
+
"compositePrimaryKeys": {},
|
|
192
|
+
"uniqueConstraints": {},
|
|
193
|
+
"checkConstraints": {}
|
|
194
|
+
},
|
|
195
|
+
"revisions": {
|
|
196
|
+
"name": "revisions",
|
|
197
|
+
"columns": {
|
|
198
|
+
"entry_id": {
|
|
199
|
+
"name": "entry_id",
|
|
200
|
+
"type": "text",
|
|
201
|
+
"primaryKey": false,
|
|
202
|
+
"notNull": true,
|
|
203
|
+
"autoincrement": false
|
|
204
|
+
},
|
|
205
|
+
"revision": {
|
|
206
|
+
"name": "revision",
|
|
207
|
+
"type": "integer",
|
|
208
|
+
"primaryKey": false,
|
|
209
|
+
"notNull": true,
|
|
210
|
+
"autoincrement": false
|
|
211
|
+
},
|
|
212
|
+
"status": {
|
|
213
|
+
"name": "status",
|
|
214
|
+
"type": "text",
|
|
215
|
+
"primaryKey": false,
|
|
216
|
+
"notNull": true,
|
|
217
|
+
"autoincrement": false
|
|
218
|
+
},
|
|
219
|
+
"data": {
|
|
220
|
+
"name": "data",
|
|
221
|
+
"type": "text",
|
|
222
|
+
"primaryKey": false,
|
|
223
|
+
"notNull": true,
|
|
224
|
+
"autoincrement": false
|
|
225
|
+
},
|
|
226
|
+
"actor_id": {
|
|
227
|
+
"name": "actor_id",
|
|
228
|
+
"type": "text",
|
|
229
|
+
"primaryKey": false,
|
|
230
|
+
"notNull": true,
|
|
231
|
+
"autoincrement": false
|
|
232
|
+
},
|
|
233
|
+
"created_at": {
|
|
234
|
+
"name": "created_at",
|
|
235
|
+
"type": "text",
|
|
236
|
+
"primaryKey": false,
|
|
237
|
+
"notNull": true,
|
|
238
|
+
"autoincrement": false
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"indexes": {},
|
|
242
|
+
"foreignKeys": {},
|
|
243
|
+
"compositePrimaryKeys": {
|
|
244
|
+
"revisions_entry_id_revision_pk": {
|
|
245
|
+
"columns": [
|
|
246
|
+
"entry_id",
|
|
247
|
+
"revision"
|
|
248
|
+
],
|
|
249
|
+
"name": "revisions_entry_id_revision_pk"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"uniqueConstraints": {},
|
|
253
|
+
"checkConstraints": {}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"views": {},
|
|
257
|
+
"enums": {},
|
|
258
|
+
"_meta": {
|
|
259
|
+
"schemas": {},
|
|
260
|
+
"tables": {},
|
|
261
|
+
"columns": {}
|
|
262
|
+
},
|
|
263
|
+
"internal": {
|
|
264
|
+
"indexes": {}
|
|
265
|
+
}
|
|
266
|
+
}
|