@crombolo/data 0.37.0 → 0.38.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/package.json +3 -2
- package/src/audit.ts +163 -133
- package/src/change-report.ts +66 -43
- package/src/cluster.ts +119 -59
- package/src/content-query.ts +205 -200
- package/src/{bundle-tables → custom-tables}/builder.ts +104 -12
- package/src/custom-tables/chain.ts +150 -0
- package/src/custom-tables/ddl.ts +159 -0
- package/src/custom-tables/handle.ts +141 -0
- package/src/{bundle-tables → custom-tables}/index.ts +3 -2
- package/src/custom-tables/names.ts +94 -0
- package/src/custom-tables/owners.ts +299 -0
- package/src/{bundle-tables → custom-tables}/schema.ts +263 -90
- package/src/custom-tables/values.ts +181 -0
- package/src/database.ts +40 -5
- package/src/dialect.ts +43 -16
- package/src/index.ts +8 -1
- package/src/migrations.ts +130 -88
- package/src/query.ts +158 -0
- package/src/relations.ts +49 -28
- package/src/repositories/approvals.ts +130 -89
- package/src/repositories/bundle-grants.ts +74 -0
- package/src/repositories/bundles.ts +85 -76
- package/src/repositories/content-applied.ts +47 -28
- package/src/repositories/content-events.ts +114 -67
- package/src/repositories/content-notifications.ts +102 -74
- package/src/repositories/content-types.ts +449 -320
- package/src/repositories/data-types.ts +105 -56
- package/src/repositories/delivery-member-tokens.ts +37 -28
- package/src/repositories/dictionary.ts +77 -58
- package/src/repositories/documents.ts +956 -580
- package/src/repositories/domains.ts +28 -16
- package/src/repositories/dynamic-roots.ts +32 -17
- package/src/repositories/external-logins.ts +38 -24
- package/src/repositories/folders.ts +7 -4
- package/src/repositories/form-entries.ts +120 -103
- package/src/repositories/form-workflows.ts +87 -62
- package/src/repositories/jobs.ts +296 -0
- package/src/repositories/languages.ts +51 -38
- package/src/repositories/log-searches.ts +7 -5
- package/src/repositories/media-access.ts +173 -123
- package/src/repositories/media-listing.ts +155 -92
- package/src/repositories/members.ts +189 -162
- package/src/repositories/nodes.ts +227 -181
- package/src/repositories/notifications.ts +22 -17
- package/src/repositories/public-access.ts +77 -61
- package/src/repositories/redirects.ts +113 -70
- package/src/repositories/references.ts +55 -44
- package/src/repositories/remote-jobs.ts +45 -35
- package/src/repositories/tags.ts +11 -10
- package/src/repositories/templates.ts +24 -14
- package/src/repositories/transfer-answers.ts +58 -50
- package/src/repositories/transfer-runs.ts +93 -75
- package/src/repositories/two-factor.ts +74 -55
- package/src/repositories/user-data.ts +54 -36
- package/src/repositories/users.ts +345 -300
- package/src/repositories/webhooks.ts +196 -137
- package/src/schema/bundle-grants.ts +32 -0
- package/src/schema/jobs.ts +56 -0
- package/src/schema/plan.ts +4 -0
- package/src/schema-ops.ts +15 -12
- package/src/schema-state.ts +53 -38
- package/src/search.ts +175 -129
- package/src/setup.ts +17 -13
- package/src/site-search.ts +134 -83
- package/src/table-types.ts +152 -0
- package/src/tables.gen.ts +859 -0
- package/src/tree-invariants.ts +21 -12
- package/src/url-options.ts +17 -13
- package/src/workflow-store.ts +17 -13
- package/src/bundle-tables/capability.ts +0 -377
- package/src/bundle-tables/chain.ts +0 -105
- package/src/bundle-tables/ddl.ts +0 -124
- package/src/bundle-tables/guard.ts +0 -116
- package/src/bundle-tables/names.ts +0 -58
|
@@ -0,0 +1,859 @@
|
|
|
1
|
+
// Generated by `bun run db:types` from freshly migrated SQLite and Postgres
|
|
2
|
+
// databases (story 221). Do not edit: add a migration and regenerate.
|
|
3
|
+
import type { ColumnType, Generated } from 'kysely'
|
|
4
|
+
|
|
5
|
+
/** SQLite answers 0 or 1; write `dialect.boolValue(…)`, read through `fromDbBool`. */
|
|
6
|
+
type Bool = ColumnType<boolean | number, boolean | number, boolean | number>
|
|
7
|
+
/** Postgres answers a Date, SQLite an ISO string; write `DbDate.toDb`, read through `DbDate.fromDb`. */
|
|
8
|
+
type Timestamp = ColumnType<Date | string, string, string>
|
|
9
|
+
type Decimal = ColumnType<string | number, string | number, string | number>
|
|
10
|
+
type BigInteger = ColumnType<number | string | bigint, number | bigint, number | bigint>
|
|
11
|
+
type Bytes = Uint8Array
|
|
12
|
+
/** A column with a default, so an insert may leave it out, whatever its read and write types. */
|
|
13
|
+
type Default<C> = C extends ColumnType<infer S, infer I, infer U>
|
|
14
|
+
? ColumnType<S, I | undefined, U>
|
|
15
|
+
: Generated<C>
|
|
16
|
+
|
|
17
|
+
export interface CoreTables {
|
|
18
|
+
approval_history: {
|
|
19
|
+
comment: string | null
|
|
20
|
+
create_date: Timestamp
|
|
21
|
+
id: Generated<number>
|
|
22
|
+
kind: string
|
|
23
|
+
request_id: number
|
|
24
|
+
stage: string | null
|
|
25
|
+
step_id: number | null
|
|
26
|
+
user_key: string | null
|
|
27
|
+
}
|
|
28
|
+
approval_request: {
|
|
29
|
+
action: string
|
|
30
|
+
cultures: string | null
|
|
31
|
+
event_id: BigInteger | null
|
|
32
|
+
finished_at: Timestamp | null
|
|
33
|
+
id: Generated<number>
|
|
34
|
+
key: string
|
|
35
|
+
node_key: string
|
|
36
|
+
requested_at: Timestamp
|
|
37
|
+
requested_by: string
|
|
38
|
+
schedule: string | null
|
|
39
|
+
state: string
|
|
40
|
+
workflow: string
|
|
41
|
+
workflow_key: string
|
|
42
|
+
workflow_version: string
|
|
43
|
+
}
|
|
44
|
+
approval_step: {
|
|
45
|
+
done_at: Timestamp | null
|
|
46
|
+
id: Generated<number>
|
|
47
|
+
reached_at: Timestamp
|
|
48
|
+
request_id: number
|
|
49
|
+
stage: string
|
|
50
|
+
state: string
|
|
51
|
+
}
|
|
52
|
+
audit_entry: {
|
|
53
|
+
action: string
|
|
54
|
+
category: string
|
|
55
|
+
detail: string | null
|
|
56
|
+
entity_key: string | null
|
|
57
|
+
entity_name: string | null
|
|
58
|
+
entity_type: string | null
|
|
59
|
+
forwarded_for: string | null
|
|
60
|
+
id: Generated<number>
|
|
61
|
+
ip_address: string | null
|
|
62
|
+
occurred_at: Timestamp
|
|
63
|
+
source: string
|
|
64
|
+
user_key: string | null
|
|
65
|
+
user_name: string | null
|
|
66
|
+
}
|
|
67
|
+
auth_code: {
|
|
68
|
+
client_id: string
|
|
69
|
+
code_challenge: string
|
|
70
|
+
code_challenge_method: string
|
|
71
|
+
code_hash: string
|
|
72
|
+
consumed_at: Timestamp | null
|
|
73
|
+
create_date: Timestamp
|
|
74
|
+
expires_at: Timestamp
|
|
75
|
+
redirect_uri: string
|
|
76
|
+
scope: string
|
|
77
|
+
session_id: string
|
|
78
|
+
user_id: number
|
|
79
|
+
}
|
|
80
|
+
auth_token: {
|
|
81
|
+
client_id: string
|
|
82
|
+
create_date: Timestamp
|
|
83
|
+
expires_at: Timestamp
|
|
84
|
+
id: Generated<number>
|
|
85
|
+
parent_id: number | null
|
|
86
|
+
revoked_at: Timestamp | null
|
|
87
|
+
scope: string
|
|
88
|
+
session_id: string
|
|
89
|
+
token_hash: string
|
|
90
|
+
token_type: string
|
|
91
|
+
user_id: number
|
|
92
|
+
}
|
|
93
|
+
bundle: {
|
|
94
|
+
components: string
|
|
95
|
+
content_load_child_nodes: Bool
|
|
96
|
+
content_node_id: string | null
|
|
97
|
+
content_types: string
|
|
98
|
+
create_date: Timestamp
|
|
99
|
+
data_types: string
|
|
100
|
+
dictionary_items: string
|
|
101
|
+
element_ids: string | null
|
|
102
|
+
id: string
|
|
103
|
+
languages: string
|
|
104
|
+
media_ids: string
|
|
105
|
+
media_load_child_nodes: Bool
|
|
106
|
+
media_types: string
|
|
107
|
+
name: string
|
|
108
|
+
package_name: string | null
|
|
109
|
+
package_version: string | null
|
|
110
|
+
scripts: string
|
|
111
|
+
stylesheets: string
|
|
112
|
+
update_date: Timestamp
|
|
113
|
+
}
|
|
114
|
+
bundle_grant: {
|
|
115
|
+
bundle_id: string
|
|
116
|
+
granted_at: Timestamp
|
|
117
|
+
granted_by: string | null
|
|
118
|
+
package_name: string
|
|
119
|
+
permissions: string
|
|
120
|
+
version: string
|
|
121
|
+
}
|
|
122
|
+
cache_instruction: {
|
|
123
|
+
checkpoint: BigInteger | null
|
|
124
|
+
created_at: Timestamp
|
|
125
|
+
created_by: string | null
|
|
126
|
+
id: Generated<number>
|
|
127
|
+
kind: string
|
|
128
|
+
payload: string | null
|
|
129
|
+
}
|
|
130
|
+
change_report: {
|
|
131
|
+
code: string
|
|
132
|
+
culture: string | null
|
|
133
|
+
first_seen: Timestamp
|
|
134
|
+
id: Generated<number>
|
|
135
|
+
kind: string
|
|
136
|
+
last_seen: Timestamp
|
|
137
|
+
link: string | null
|
|
138
|
+
message: string
|
|
139
|
+
property_alias: string | null
|
|
140
|
+
resolved_at: Timestamp | null
|
|
141
|
+
run_id: string
|
|
142
|
+
scope: string | null
|
|
143
|
+
source: Generated<string>
|
|
144
|
+
status: string
|
|
145
|
+
subject_key: string
|
|
146
|
+
subject_name: string | null
|
|
147
|
+
subject_type: string
|
|
148
|
+
}
|
|
149
|
+
content: {
|
|
150
|
+
content_type_id: number
|
|
151
|
+
creator_member_key: string | null
|
|
152
|
+
file_url: string | null
|
|
153
|
+
node_id: Generated<number>
|
|
154
|
+
read_policy: string | null
|
|
155
|
+
write_policy: string | null
|
|
156
|
+
}
|
|
157
|
+
content_applied: {
|
|
158
|
+
applied_at: Timestamp
|
|
159
|
+
node_key: string
|
|
160
|
+
previous_run_id: string | null
|
|
161
|
+
previous_state: string | null
|
|
162
|
+
run_id: string
|
|
163
|
+
state: string
|
|
164
|
+
}
|
|
165
|
+
content_checkpoint: {
|
|
166
|
+
id: Generated<number>
|
|
167
|
+
n: BigInteger
|
|
168
|
+
}
|
|
169
|
+
content_event: {
|
|
170
|
+
actor: string
|
|
171
|
+
attempts: number
|
|
172
|
+
create_date: Timestamp
|
|
173
|
+
entity_key: string | null
|
|
174
|
+
entity_type: string
|
|
175
|
+
facts: string
|
|
176
|
+
id: string
|
|
177
|
+
kind: string
|
|
178
|
+
last_error: string | null
|
|
179
|
+
occurred_at: Timestamp
|
|
180
|
+
run_after: Timestamp
|
|
181
|
+
state: string
|
|
182
|
+
update_date: Timestamp
|
|
183
|
+
}
|
|
184
|
+
content_notification: {
|
|
185
|
+
action_id: string
|
|
186
|
+
actor_name: string | null
|
|
187
|
+
actor_user_key: string | null
|
|
188
|
+
attempts: number
|
|
189
|
+
create_date: Timestamp
|
|
190
|
+
detail: string | null
|
|
191
|
+
event_id: string | null
|
|
192
|
+
id: string
|
|
193
|
+
last_error: string | null
|
|
194
|
+
node_key: string
|
|
195
|
+
node_name: string
|
|
196
|
+
occurred_at: Timestamp
|
|
197
|
+
recipient_user_key: string
|
|
198
|
+
run_after: Timestamp
|
|
199
|
+
state: string
|
|
200
|
+
update_date: Timestamp
|
|
201
|
+
}
|
|
202
|
+
content_schedule: {
|
|
203
|
+
action: string
|
|
204
|
+
date: Timestamp
|
|
205
|
+
id: Generated<number>
|
|
206
|
+
language_id: number | null
|
|
207
|
+
node_id: number
|
|
208
|
+
}
|
|
209
|
+
content_transfer_change: {
|
|
210
|
+
action: string
|
|
211
|
+
before_event_id: number | null
|
|
212
|
+
before_published_event_id: number | null
|
|
213
|
+
event_id: number | null
|
|
214
|
+
id: Generated<number>
|
|
215
|
+
kind: string
|
|
216
|
+
node_key: string
|
|
217
|
+
run_id: string
|
|
218
|
+
}
|
|
219
|
+
content_transfer_run: {
|
|
220
|
+
applied_by: string | null
|
|
221
|
+
bundle_id: string
|
|
222
|
+
bundle_label: string | null
|
|
223
|
+
direction: string
|
|
224
|
+
finished_at: Timestamp | null
|
|
225
|
+
id: string
|
|
226
|
+
node_count: number
|
|
227
|
+
package_name: string | null
|
|
228
|
+
package_version: string | null
|
|
229
|
+
reverts_run_id: string | null
|
|
230
|
+
schema_state_id: number
|
|
231
|
+
started_at: Timestamp
|
|
232
|
+
status: string
|
|
233
|
+
}
|
|
234
|
+
content_type: {
|
|
235
|
+
alias: string
|
|
236
|
+
allow_at_root: Bool
|
|
237
|
+
allow_in_library: Bool
|
|
238
|
+
description: string | null
|
|
239
|
+
icon: string | null
|
|
240
|
+
is_element: Bool
|
|
241
|
+
keep_all_versions_newer_than_days: number | null
|
|
242
|
+
keep_latest_version_per_day_for_days: number | null
|
|
243
|
+
list_view: string | null
|
|
244
|
+
node_id: Generated<number>
|
|
245
|
+
prevent_cleanup: Bool
|
|
246
|
+
retired_at: Timestamp | null
|
|
247
|
+
since_state_id: number | null
|
|
248
|
+
since_version: string | null
|
|
249
|
+
site_search: Default<Bool>
|
|
250
|
+
thumbnail: string | null
|
|
251
|
+
variations: number
|
|
252
|
+
}
|
|
253
|
+
content_type_allowed_child: {
|
|
254
|
+
allowed_content_type_id: number
|
|
255
|
+
content_type_id: Generated<number>
|
|
256
|
+
sort_order: number
|
|
257
|
+
}
|
|
258
|
+
content_type_composition: {
|
|
259
|
+
child_content_type_id: number
|
|
260
|
+
parent_content_type_id: Generated<number>
|
|
261
|
+
}
|
|
262
|
+
content_type_template: {
|
|
263
|
+
content_type_node_id: Generated<number>
|
|
264
|
+
is_default: Bool
|
|
265
|
+
template_node_id: number
|
|
266
|
+
}
|
|
267
|
+
content_version: {
|
|
268
|
+
current: Bool
|
|
269
|
+
id: Generated<number>
|
|
270
|
+
kind: string | null
|
|
271
|
+
node_id: number
|
|
272
|
+
prevent_cleanup: Bool
|
|
273
|
+
text: string | null
|
|
274
|
+
user_id: number | null
|
|
275
|
+
version_date: Timestamp
|
|
276
|
+
}
|
|
277
|
+
content_version_culture_variation: {
|
|
278
|
+
available_user_id: number | null
|
|
279
|
+
date: Timestamp
|
|
280
|
+
id: Generated<number>
|
|
281
|
+
language_id: number
|
|
282
|
+
name: string
|
|
283
|
+
version_id: number
|
|
284
|
+
}
|
|
285
|
+
data_type: {
|
|
286
|
+
alias: string | null
|
|
287
|
+
config: string | null
|
|
288
|
+
db_type: string
|
|
289
|
+
editor_alias: string
|
|
290
|
+
editor_ui_alias: string | null
|
|
291
|
+
node_id: Generated<number>
|
|
292
|
+
retired_at: Timestamp | null
|
|
293
|
+
since_state_id: number | null
|
|
294
|
+
since_version: string | null
|
|
295
|
+
}
|
|
296
|
+
delivery_member_token: {
|
|
297
|
+
client_id: string
|
|
298
|
+
code_challenge: string | null
|
|
299
|
+
create_date: Timestamp
|
|
300
|
+
expires_at: Timestamp
|
|
301
|
+
hash: string
|
|
302
|
+
kind: string
|
|
303
|
+
member_key: string
|
|
304
|
+
redeemed_at: Timestamp | null
|
|
305
|
+
redirect_uri: string | null
|
|
306
|
+
scopes: string
|
|
307
|
+
}
|
|
308
|
+
device_authorization: {
|
|
309
|
+
client_id: string
|
|
310
|
+
client_name: string | null
|
|
311
|
+
create_date: Timestamp
|
|
312
|
+
decided_at: Timestamp | null
|
|
313
|
+
device_code_hash: string
|
|
314
|
+
expires_at: Timestamp
|
|
315
|
+
id: Generated<number>
|
|
316
|
+
interval_seconds: number
|
|
317
|
+
last_polled_at: Timestamp | null
|
|
318
|
+
scope: string
|
|
319
|
+
session_id: string | null
|
|
320
|
+
status: string
|
|
321
|
+
user_code: string
|
|
322
|
+
user_id: number | null
|
|
323
|
+
}
|
|
324
|
+
dictionary_item: {
|
|
325
|
+
id: Generated<number>
|
|
326
|
+
item_key: string
|
|
327
|
+
key: string
|
|
328
|
+
parent_key: string | null
|
|
329
|
+
}
|
|
330
|
+
dictionary_text: {
|
|
331
|
+
dictionary_key: string
|
|
332
|
+
language_id: number
|
|
333
|
+
value: string
|
|
334
|
+
}
|
|
335
|
+
document: {
|
|
336
|
+
edited: Bool
|
|
337
|
+
node_id: Generated<number>
|
|
338
|
+
original_parent_id: number | null
|
|
339
|
+
published: Bool
|
|
340
|
+
trashed_date: Timestamp | null
|
|
341
|
+
}
|
|
342
|
+
document_culture_variation: {
|
|
343
|
+
available: Bool
|
|
344
|
+
edited: Bool
|
|
345
|
+
id: Generated<number>
|
|
346
|
+
language_id: number
|
|
347
|
+
name: string | null
|
|
348
|
+
node_id: number
|
|
349
|
+
published: Bool
|
|
350
|
+
published_event_id: number | null
|
|
351
|
+
published_name: string | null
|
|
352
|
+
}
|
|
353
|
+
document_version: {
|
|
354
|
+
id: Generated<number>
|
|
355
|
+
published: Bool
|
|
356
|
+
template_id: number | null
|
|
357
|
+
}
|
|
358
|
+
domain: {
|
|
359
|
+
domain_name: string
|
|
360
|
+
id: Generated<number>
|
|
361
|
+
language_id: number | null
|
|
362
|
+
node_id: number
|
|
363
|
+
sort_order: number
|
|
364
|
+
}
|
|
365
|
+
external_login: {
|
|
366
|
+
create_date: Timestamp
|
|
367
|
+
id: Generated<number>
|
|
368
|
+
login_provider: string
|
|
369
|
+
provider_key: string
|
|
370
|
+
user_data: string | null
|
|
371
|
+
user_or_member_key: string
|
|
372
|
+
}
|
|
373
|
+
external_login_token: {
|
|
374
|
+
create_date: Timestamp
|
|
375
|
+
external_login_id: number
|
|
376
|
+
id: Generated<number>
|
|
377
|
+
name: string
|
|
378
|
+
value: string
|
|
379
|
+
}
|
|
380
|
+
form_entry: {
|
|
381
|
+
create_date: Timestamp
|
|
382
|
+
culture: string | null
|
|
383
|
+
form_alias: string
|
|
384
|
+
form_key: string
|
|
385
|
+
id: string
|
|
386
|
+
ip_hash: string | null
|
|
387
|
+
page_key: string | null
|
|
388
|
+
spam: Bool
|
|
389
|
+
state: string
|
|
390
|
+
update_date: Timestamp
|
|
391
|
+
user_agent: string | null
|
|
392
|
+
}
|
|
393
|
+
form_entry_value: {
|
|
394
|
+
entry_id: string
|
|
395
|
+
field_alias: string
|
|
396
|
+
label: string | null
|
|
397
|
+
sort_order: number
|
|
398
|
+
value: string | null
|
|
399
|
+
}
|
|
400
|
+
form_workflow_run: {
|
|
401
|
+
attempts: number
|
|
402
|
+
create_date: Timestamp
|
|
403
|
+
entry_id: string | null
|
|
404
|
+
form_alias: string
|
|
405
|
+
form_key: string
|
|
406
|
+
id: string
|
|
407
|
+
last_error: string | null
|
|
408
|
+
payload: string
|
|
409
|
+
run_after: Timestamp
|
|
410
|
+
run_on: string
|
|
411
|
+
state: string
|
|
412
|
+
update_date: Timestamp
|
|
413
|
+
workflow_name: string
|
|
414
|
+
workflow_type: string
|
|
415
|
+
}
|
|
416
|
+
job: {
|
|
417
|
+
attempts: number
|
|
418
|
+
claimed_at: Timestamp | null
|
|
419
|
+
claimed_by: string | null
|
|
420
|
+
created_at: Timestamp
|
|
421
|
+
finished_at: Timestamp | null
|
|
422
|
+
id: string
|
|
423
|
+
last_error: string | null
|
|
424
|
+
max_attempts: number
|
|
425
|
+
name: string
|
|
426
|
+
next_attempt_at: Timestamp
|
|
427
|
+
owner: string
|
|
428
|
+
payload: string
|
|
429
|
+
progress: string | null
|
|
430
|
+
queued_by: string | null
|
|
431
|
+
state: string
|
|
432
|
+
}
|
|
433
|
+
job_schedule: {
|
|
434
|
+
last_occurrence: Timestamp
|
|
435
|
+
schedule_key: string
|
|
436
|
+
}
|
|
437
|
+
key_value: {
|
|
438
|
+
key: string
|
|
439
|
+
update_date: Timestamp
|
|
440
|
+
value: string | null
|
|
441
|
+
}
|
|
442
|
+
language: {
|
|
443
|
+
culture_name: string
|
|
444
|
+
fallback_language_id: number | null
|
|
445
|
+
id: Generated<number>
|
|
446
|
+
is_default: Bool
|
|
447
|
+
is_mandatory: Bool
|
|
448
|
+
iso_code: string
|
|
449
|
+
}
|
|
450
|
+
log_viewer_query: {
|
|
451
|
+
id: Generated<number>
|
|
452
|
+
name: string
|
|
453
|
+
query: string
|
|
454
|
+
}
|
|
455
|
+
media_access: {
|
|
456
|
+
create_date: Timestamp
|
|
457
|
+
id: Generated<number>
|
|
458
|
+
member_max_bytes: BigInteger | null
|
|
459
|
+
member_types: string | null
|
|
460
|
+
new_read: string | null
|
|
461
|
+
new_write: string | null
|
|
462
|
+
node_id: number
|
|
463
|
+
public_read: Bool
|
|
464
|
+
update_date: Timestamp
|
|
465
|
+
}
|
|
466
|
+
media_access_member: {
|
|
467
|
+
can_read: Bool
|
|
468
|
+
can_write: Bool
|
|
469
|
+
media_access_id: Generated<number>
|
|
470
|
+
member_key: string
|
|
471
|
+
}
|
|
472
|
+
media_access_rule: {
|
|
473
|
+
can_read: Bool
|
|
474
|
+
can_write: Bool
|
|
475
|
+
id: Generated<number>
|
|
476
|
+
media_access_id: number
|
|
477
|
+
member_group: string
|
|
478
|
+
}
|
|
479
|
+
member: {
|
|
480
|
+
email: string
|
|
481
|
+
email_confirmed_date: Timestamp | null
|
|
482
|
+
failed_password_attempts: number
|
|
483
|
+
is_approved: Bool
|
|
484
|
+
is_locked_out: Bool
|
|
485
|
+
last_lockout_date: Timestamp | null
|
|
486
|
+
last_login_date: Timestamp | null
|
|
487
|
+
last_password_change_date: Timestamp | null
|
|
488
|
+
login_name: string
|
|
489
|
+
node_id: Generated<number>
|
|
490
|
+
password: string | null
|
|
491
|
+
password_config: string | null
|
|
492
|
+
security_stamp_token: string | null
|
|
493
|
+
}
|
|
494
|
+
member_group_member: {
|
|
495
|
+
member_group_id: number
|
|
496
|
+
member_id: Generated<number>
|
|
497
|
+
}
|
|
498
|
+
member_property_type: {
|
|
499
|
+
is_sensitive: Bool
|
|
500
|
+
member_can_edit: Bool
|
|
501
|
+
member_can_view: Bool
|
|
502
|
+
property_type_id: Generated<number>
|
|
503
|
+
}
|
|
504
|
+
migration_history: {
|
|
505
|
+
applied_at: Timestamp
|
|
506
|
+
applied_by: string | null
|
|
507
|
+
bundle: string | null
|
|
508
|
+
checksum: string | null
|
|
509
|
+
duration_ms: number
|
|
510
|
+
from_state: string | null
|
|
511
|
+
id: Generated<number>
|
|
512
|
+
kind: string
|
|
513
|
+
name: string
|
|
514
|
+
note: string | null
|
|
515
|
+
to_state: string | null
|
|
516
|
+
}
|
|
517
|
+
node: {
|
|
518
|
+
create_date: Timestamp
|
|
519
|
+
id: Generated<number>
|
|
520
|
+
level: number
|
|
521
|
+
node_object_type: string | null
|
|
522
|
+
node_user: number | null
|
|
523
|
+
parent_id: number
|
|
524
|
+
path: string
|
|
525
|
+
sort_order: number
|
|
526
|
+
text: string | null
|
|
527
|
+
trashed: Bool
|
|
528
|
+
unique_id: string
|
|
529
|
+
}
|
|
530
|
+
node_file: {
|
|
531
|
+
node_id: number
|
|
532
|
+
url: string
|
|
533
|
+
}
|
|
534
|
+
property_type: {
|
|
535
|
+
alias: string
|
|
536
|
+
content_type_id: number
|
|
537
|
+
data_type_id: number
|
|
538
|
+
description: string | null
|
|
539
|
+
id: Generated<number>
|
|
540
|
+
label_on_top: Bool
|
|
541
|
+
mandatory: Bool
|
|
542
|
+
mandatory_message: string | null
|
|
543
|
+
name: string
|
|
544
|
+
property_type_group_id: number | null
|
|
545
|
+
retired_at: Timestamp | null
|
|
546
|
+
searchable: Default<Bool>
|
|
547
|
+
since_state_id: number | null
|
|
548
|
+
since_version: string | null
|
|
549
|
+
site_search: Generated<string>
|
|
550
|
+
sort_order: number
|
|
551
|
+
unique_id: string
|
|
552
|
+
validation_reg_exp: string | null
|
|
553
|
+
validation_reg_exp_message: string | null
|
|
554
|
+
variations: number
|
|
555
|
+
}
|
|
556
|
+
property_type_group: {
|
|
557
|
+
alias: string | null
|
|
558
|
+
content_type_node_id: number
|
|
559
|
+
id: Generated<number>
|
|
560
|
+
parent_id: number | null
|
|
561
|
+
sort_order: number
|
|
562
|
+
text: string | null
|
|
563
|
+
type: number
|
|
564
|
+
unique_id: string
|
|
565
|
+
}
|
|
566
|
+
property_value: {
|
|
567
|
+
date_value: Timestamp | null
|
|
568
|
+
decimal_value: Decimal | null
|
|
569
|
+
event_id: number
|
|
570
|
+
id: Generated<number>
|
|
571
|
+
int_value: number | null
|
|
572
|
+
is_current: Bool
|
|
573
|
+
language_id: number | null
|
|
574
|
+
node_id: number
|
|
575
|
+
property_type_id: number
|
|
576
|
+
schema_state_id: number
|
|
577
|
+
segment: string | null
|
|
578
|
+
sortable_value: string | null
|
|
579
|
+
text_value: string | null
|
|
580
|
+
varchar_value: string | null
|
|
581
|
+
}
|
|
582
|
+
public_access: {
|
|
583
|
+
create_date: Timestamp
|
|
584
|
+
error_node_id: number
|
|
585
|
+
id: Generated<number>
|
|
586
|
+
key: string
|
|
587
|
+
login_node_id: number
|
|
588
|
+
node_id: number
|
|
589
|
+
update_date: Timestamp
|
|
590
|
+
}
|
|
591
|
+
public_access_rule: {
|
|
592
|
+
create_date: Timestamp
|
|
593
|
+
id: Generated<number>
|
|
594
|
+
public_access_id: number
|
|
595
|
+
rule_type: string
|
|
596
|
+
rule_value: string
|
|
597
|
+
}
|
|
598
|
+
redirect_url: {
|
|
599
|
+
create_date: Timestamp
|
|
600
|
+
culture: string | null
|
|
601
|
+
id: Generated<number>
|
|
602
|
+
key: string
|
|
603
|
+
match_hash: string
|
|
604
|
+
match_kind: string
|
|
605
|
+
pattern: string
|
|
606
|
+
root_key: string | null
|
|
607
|
+
sort_order: number
|
|
608
|
+
source: string
|
|
609
|
+
status_code: number
|
|
610
|
+
target: string
|
|
611
|
+
target_kind: string
|
|
612
|
+
}
|
|
613
|
+
remote_job: {
|
|
614
|
+
create_date: Timestamp
|
|
615
|
+
decided_at: Timestamp | null
|
|
616
|
+
decided_by: string | null
|
|
617
|
+
environment: string
|
|
618
|
+
expires_at: Timestamp
|
|
619
|
+
file_key: string | null
|
|
620
|
+
file_size: BigInteger | null
|
|
621
|
+
heartbeat_at: Timestamp
|
|
622
|
+
id: string
|
|
623
|
+
kind: string
|
|
624
|
+
options: string
|
|
625
|
+
problem: string | null
|
|
626
|
+
progress: number | null
|
|
627
|
+
requested_by: string
|
|
628
|
+
requested_by_name: string
|
|
629
|
+
run_id: string | null
|
|
630
|
+
secret: string | null
|
|
631
|
+
sha256: string | null
|
|
632
|
+
stage: string | null
|
|
633
|
+
state: string
|
|
634
|
+
}
|
|
635
|
+
schema_state: {
|
|
636
|
+
hash: string | null
|
|
637
|
+
id: Generated<number>
|
|
638
|
+
revision: string
|
|
639
|
+
status: string
|
|
640
|
+
synced_at: Timestamp
|
|
641
|
+
synced_by: string | null
|
|
642
|
+
version: string
|
|
643
|
+
}
|
|
644
|
+
search_document: {
|
|
645
|
+
body: string
|
|
646
|
+
culture: string
|
|
647
|
+
field_count: number
|
|
648
|
+
fields: string
|
|
649
|
+
id: Generated<number>
|
|
650
|
+
indexed_at: Timestamp
|
|
651
|
+
name: string
|
|
652
|
+
node_id: number
|
|
653
|
+
terms: unknown | null
|
|
654
|
+
}
|
|
655
|
+
search_index_queue: {
|
|
656
|
+
generation: number
|
|
657
|
+
node_id: Generated<number>
|
|
658
|
+
queued_at: Timestamp
|
|
659
|
+
}
|
|
660
|
+
server: {
|
|
661
|
+
crombolo_version: string | null
|
|
662
|
+
last_seen: Timestamp
|
|
663
|
+
node_id: string
|
|
664
|
+
revision: string | null
|
|
665
|
+
role: string | null
|
|
666
|
+
served_at: Timestamp | null
|
|
667
|
+
served_checkpoint: BigInteger | null
|
|
668
|
+
version: string | null
|
|
669
|
+
}
|
|
670
|
+
site_search_document: {
|
|
671
|
+
culture: string
|
|
672
|
+
high: string
|
|
673
|
+
id: Generated<number>
|
|
674
|
+
indexed_at: Timestamp
|
|
675
|
+
low: string
|
|
676
|
+
name: string
|
|
677
|
+
node_id: number
|
|
678
|
+
normal: string
|
|
679
|
+
terms: unknown | null
|
|
680
|
+
text: string
|
|
681
|
+
}
|
|
682
|
+
template: {
|
|
683
|
+
alias: string
|
|
684
|
+
node_id: Generated<number>
|
|
685
|
+
}
|
|
686
|
+
transfer_answer: {
|
|
687
|
+
answered_at: Timestamp
|
|
688
|
+
answered_by: string | null
|
|
689
|
+
bundle_id: string
|
|
690
|
+
handle: string
|
|
691
|
+
node_key: string
|
|
692
|
+
resolution: string
|
|
693
|
+
}
|
|
694
|
+
transfer_pending: {
|
|
695
|
+
allow_missing_blobs: Bool
|
|
696
|
+
bundle_id: string
|
|
697
|
+
checked_at: Timestamp
|
|
698
|
+
checked_by: string | null
|
|
699
|
+
label: string | null
|
|
700
|
+
publish: Bool
|
|
701
|
+
target: string
|
|
702
|
+
target_kind: string
|
|
703
|
+
under_target: string | null
|
|
704
|
+
}
|
|
705
|
+
two_factor_login: {
|
|
706
|
+
create_date: Timestamp
|
|
707
|
+
id: Generated<number>
|
|
708
|
+
last_used_step: BigInteger | null
|
|
709
|
+
owner_key: string
|
|
710
|
+
provider_name: string
|
|
711
|
+
secret: string
|
|
712
|
+
}
|
|
713
|
+
two_factor_recovery_code: {
|
|
714
|
+
code_hash: string
|
|
715
|
+
id: Generated<number>
|
|
716
|
+
owner_key: string
|
|
717
|
+
used_date: Timestamp | null
|
|
718
|
+
}
|
|
719
|
+
user_account: {
|
|
720
|
+
avatar: string | null
|
|
721
|
+
create_date: Timestamp
|
|
722
|
+
email: string
|
|
723
|
+
email_confirmed_date: Timestamp | null
|
|
724
|
+
failed_login_attempts: number
|
|
725
|
+
id: Generated<number>
|
|
726
|
+
invited_date: Timestamp | null
|
|
727
|
+
is_approved: Bool
|
|
728
|
+
is_locked_out: Bool
|
|
729
|
+
key: string
|
|
730
|
+
kind: number
|
|
731
|
+
language: string | null
|
|
732
|
+
last_lockout_date: Timestamp | null
|
|
733
|
+
last_login_date: Timestamp | null
|
|
734
|
+
last_password_change_date: Timestamp | null
|
|
735
|
+
login: string
|
|
736
|
+
password_config: string | null
|
|
737
|
+
password_hash: string | null
|
|
738
|
+
security_stamp: string | null
|
|
739
|
+
update_date: Timestamp
|
|
740
|
+
user_name: string
|
|
741
|
+
}
|
|
742
|
+
user_client_credential: {
|
|
743
|
+
client_id: string
|
|
744
|
+
create_date: Timestamp
|
|
745
|
+
secret_hash: string
|
|
746
|
+
user_id: number
|
|
747
|
+
}
|
|
748
|
+
user_data: {
|
|
749
|
+
data_group: string
|
|
750
|
+
identifier: string
|
|
751
|
+
key: string
|
|
752
|
+
user_id: number
|
|
753
|
+
value: string
|
|
754
|
+
}
|
|
755
|
+
user_group: {
|
|
756
|
+
alias: string
|
|
757
|
+
create_date: Timestamp
|
|
758
|
+
description: string | null
|
|
759
|
+
has_access_to_all_languages: Bool
|
|
760
|
+
icon: string | null
|
|
761
|
+
id: Generated<number>
|
|
762
|
+
key: string
|
|
763
|
+
name: string
|
|
764
|
+
start_content_id: number | null
|
|
765
|
+
start_element_id: number | null
|
|
766
|
+
start_media_id: number | null
|
|
767
|
+
update_date: Timestamp
|
|
768
|
+
}
|
|
769
|
+
user_group_granular_permission: {
|
|
770
|
+
context: string
|
|
771
|
+
id: Generated<number>
|
|
772
|
+
permission: string
|
|
773
|
+
unique_id: string | null
|
|
774
|
+
user_group_key: string
|
|
775
|
+
}
|
|
776
|
+
user_group_language: {
|
|
777
|
+
language_id: number
|
|
778
|
+
user_group_id: Generated<number>
|
|
779
|
+
}
|
|
780
|
+
user_group_member: {
|
|
781
|
+
user_group_id: number
|
|
782
|
+
user_id: Generated<number>
|
|
783
|
+
}
|
|
784
|
+
user_group_permission: {
|
|
785
|
+
id: Generated<number>
|
|
786
|
+
permission: string
|
|
787
|
+
user_group_key: string
|
|
788
|
+
}
|
|
789
|
+
user_group_section: {
|
|
790
|
+
app_alias: string
|
|
791
|
+
user_group_id: Generated<number>
|
|
792
|
+
}
|
|
793
|
+
user_login_session: {
|
|
794
|
+
ip_address: string | null
|
|
795
|
+
last_validated_utc: Timestamp
|
|
796
|
+
logged_in_utc: Timestamp
|
|
797
|
+
logged_out_utc: Timestamp | null
|
|
798
|
+
session_id: string
|
|
799
|
+
user_id: number
|
|
800
|
+
}
|
|
801
|
+
user_notification: {
|
|
802
|
+
action: string
|
|
803
|
+
node_id: number
|
|
804
|
+
user_id: Generated<number>
|
|
805
|
+
}
|
|
806
|
+
user_start_node: {
|
|
807
|
+
id: Generated<number>
|
|
808
|
+
start_node: number
|
|
809
|
+
start_node_type: number
|
|
810
|
+
user_id: number
|
|
811
|
+
}
|
|
812
|
+
user_token: {
|
|
813
|
+
expires_at: Timestamp
|
|
814
|
+
purpose: string
|
|
815
|
+
token_hash: string
|
|
816
|
+
user_id: number
|
|
817
|
+
}
|
|
818
|
+
webhook: {
|
|
819
|
+
content_type_keys: string
|
|
820
|
+
create_date: Timestamp
|
|
821
|
+
description: string | null
|
|
822
|
+
enabled: Bool
|
|
823
|
+
events: string
|
|
824
|
+
headers: string | null
|
|
825
|
+
key: string
|
|
826
|
+
name: string | null
|
|
827
|
+
update_date: Timestamp
|
|
828
|
+
url: string
|
|
829
|
+
}
|
|
830
|
+
webhook_delivery: {
|
|
831
|
+
attempts: number
|
|
832
|
+
create_date: Timestamp
|
|
833
|
+
event_alias: string
|
|
834
|
+
event_id: string | null
|
|
835
|
+
id: string
|
|
836
|
+
last_error: string | null
|
|
837
|
+
payload: string
|
|
838
|
+
run_after: Timestamp
|
|
839
|
+
state: string
|
|
840
|
+
subscriber: string
|
|
841
|
+
update_date: Timestamp
|
|
842
|
+
}
|
|
843
|
+
webhook_log: {
|
|
844
|
+
delivery_id: string
|
|
845
|
+
event_alias: string
|
|
846
|
+
exception: Bool
|
|
847
|
+
key: string
|
|
848
|
+
log_date: Timestamp
|
|
849
|
+
request_body: string
|
|
850
|
+
request_headers: string
|
|
851
|
+
response_body: string
|
|
852
|
+
response_headers: string
|
|
853
|
+
retry_count: number
|
|
854
|
+
status_code: number | null
|
|
855
|
+
subscriber: string
|
|
856
|
+
success: Bool
|
|
857
|
+
url: string
|
|
858
|
+
}
|
|
859
|
+
}
|