forked from
tranquil.farm/tranquil-pds
Our Personal Data Server from scratch!
1.3 kB
55 lines
1{
2 "db_name": "PostgreSQL",
3 "query": "SELECT subject, body, comms_type as \"comms_type: String\" FROM comms_queue WHERE user_id = $1 AND comms_type = 'admin_email' ORDER BY created_at DESC LIMIT 1",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "subject",
9 "type_info": "Text"
10 },
11 {
12 "ordinal": 1,
13 "name": "body",
14 "type_info": "Text"
15 },
16 {
17 "ordinal": 2,
18 "name": "comms_type: String",
19 "type_info": {
20 "Custom": {
21 "name": "comms_type",
22 "kind": {
23 "Enum": [
24 "welcome",
25 "email_verification",
26 "password_reset",
27 "email_update",
28 "account_deletion",
29 "admin_email",
30 "plc_operation",
31 "two_factor_code",
32 "channel_verification",
33 "passkey_recovery",
34 "legacy_login_alert",
35 "migration_verification",
36 "channel_verified"
37 ]
38 }
39 }
40 }
41 }
42 ],
43 "parameters": {
44 "Left": [
45 "Uuid"
46 ]
47 },
48 "nullable": [
49 true,
50 false,
51 false
52 ]
53 },
54 "hash": "4445cc86cdf04894b340e67661b79a3c411917144a011f50849b737130b24dbe"
55}