-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpb_schema.json
More file actions
107 lines (107 loc) · 3.06 KB
/
pb_schema.json
File metadata and controls
107 lines (107 loc) · 3.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[
{
"id": "_pb_users_auth_",
"name": "users",
"type": "auth",
"system": false,
"schema": [
{
"system": false,
"id": "2guz9lmh",
"name": "isAdmin",
"type": "bool",
"required": false,
"presentable": true,
"unique": false,
"options": {}
}
],
"indexes": [
"CREATE INDEX `__pb_users_auth__created_idx` ON `users` (`created`)"
],
"listRule": "@request.auth.id != \"\" && @request.auth.isAdmin = true",
"viewRule": "@request.auth.id != \"\" && @request.auth.isAdmin = true",
"createRule": "",
"updateRule": "@request.auth.id != \"\"",
"deleteRule": "@request.auth.id != \"\"",
"options": {
"allowEmailAuth": true,
"allowOAuth2Auth": true,
"allowUsernameAuth": true,
"exceptEmailDomains": null,
"manageRule": null,
"minPasswordLength": 8,
"onlyEmailDomains": null,
"requireEmail": false
}
},
{
"id": "espb74ufow2mwm7",
"name": "whispers",
"type": "base",
"system": false,
"schema": [
{
"system": false,
"id": "vj93owrm",
"name": "userId",
"type": "text",
"required": true,
"presentable": false,
"unique": false,
"options": {
"min": null,
"max": null,
"pattern": ""
}
},
{
"system": false,
"id": "guxn8yin",
"name": "whisper",
"type": "text",
"required": true,
"presentable": false,
"unique": false,
"options": {
"min": null,
"max": null,
"pattern": ""
}
},
{
"system": false,
"id": "g52spavm",
"name": "replied",
"type": "bool",
"required": false,
"presentable": false,
"unique": false,
"options": {}
},
{
"system": false,
"id": "o7grfshn",
"name": "reply",
"type": "text",
"required": false,
"presentable": false,
"unique": false,
"options": {
"min": null,
"max": null,
"pattern": ""
}
}
],
"indexes": [
"CREATE INDEX `_espb74ufow2mwm7_created_idx` ON `whispers` (`created`)"
],
"listRule": "",
"viewRule": null,
"createRule": "",
"updateRule": "",
"deleteRule": "",
"options": {}
}
]