-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappwrite.json
More file actions
84 lines (84 loc) · 1.64 KB
/
appwrite.json
File metadata and controls
84 lines (84 loc) · 1.64 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
{
"projectId": "instantgram",
"projectName": "Instantgram",
"collections": [
{
"$id": "posts",
"$createdAt": "2022-10-17T00:09:43.636+00:00",
"$updatedAt": "2022-10-17T00:32:39.455+00:00",
"$permissions": [
"create(\"users\")",
"read(\"users\")",
"update(\"users\")",
"delete(\"users\")"
],
"databaseId": "instantgram",
"name": "Posts",
"enabled": true,
"documentSecurity": true,
"attributes": [
{
"key": "mediaType",
"type": "string",
"status": "available",
"required": false,
"array": false,
"elements": ["image", "video", "none"],
"format": "enum",
"default": "none"
},
{
"key": "mediaUrl",
"type": "string",
"status": "available",
"required": false,
"array": false,
"format": "url",
"default": null
},
{
"key": "title",
"type": "string",
"status": "available",
"required": true,
"array": false,
"size": 128,
"default": null
},
{
"key": "content",
"type": "string",
"status": "available",
"required": true,
"array": false,
"size": 4096,
"default": null
},
{
"key": "userId",
"type": "string",
"status": "available",
"required": true,
"array": false,
"size": 256,
"default": null
}
],
"indexes": []
}
],
"functions": [
{
"$id": "get-user-info",
"name": "Get user info",
"runtime": "node-16.0",
"path": "functions/Get user info",
"entrypoint": "src/index.js",
"ignore": ["node_modules", ".npm"],
"execute": ["any"],
"events": [],
"schedule": "",
"timeout": 15
}
]
}