-
Notifications
You must be signed in to change notification settings - Fork 0
/
appwrite.json
99 lines (99 loc) · 2.01 KB
/
appwrite.json
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
{
"projectId": "almost-wishlist",
"projectName": "almost-wishlist",
"databases": [
{
"$id": "main",
"name": "main",
"$createdAt": "2023-11-25T11:45:03.243+00:00",
"$updatedAt": "2023-11-25T11:45:03.243+00:00",
"enabled": true
}
],
"collections": [
{
"$id": "profile",
"$permissions": ["read(\"any\")"],
"databaseId": "main",
"name": "profile",
"enabled": true,
"documentSecurity": true,
"attributes": [
{
"key": "name",
"type": "string",
"status": "available",
"error": "",
"required": false,
"array": false,
"size": 255,
"default": null
},
{
"key": "note",
"type": "string",
"status": "available",
"error": "",
"required": false,
"array": false,
"size": 255,
"default": null
},
{
"key": "color",
"type": "string",
"status": "available",
"error": "",
"required": false,
"array": false,
"size": 15,
"default": null
},
{
"key": "items",
"type": "string",
"status": "available",
"error": "",
"required": true,
"array": false,
"size": 1000000,
"default": null
}
],
"indexes": []
}
],
"functions": [
{
"$id": "createProfile",
"name": "createProfile",
"runtime": "node-18.0",
"execute": [],
"events": ["users.*.sessions.*.create"],
"schedule": "",
"timeout": 15,
"enabled": true,
"logging": true,
"entrypoint": "src/main.js",
"commands": "npm install",
"ignore": ["node_modules", ".npm"],
"path": "functions/createProfile"
}
],
"buckets": [
{
"$id": "pictures",
"$createdAt": "2023-11-25T14:59:32.117+00:00",
"$updatedAt": "2023-11-25T14:59:56.659+00:00",
"$permissions": ["create(\"any\")", "read(\"any\")"],
"fileSecurity": false,
"name": "pictures",
"enabled": true,
"maximumFileSize": 3000000000,
"allowedFileExtensions": ["png", "jpg", "webp", "jpeg"],
"compression": "none",
"encryption": true,
"antivirus": true
}
]
}