Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
140 changes: 91 additions & 49 deletions appwrite.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"$id": "main",
"name": "Main",
"$createdAt": "2023-05-05T17:03:31.534+00:00",
"$updatedAt": "2023-05-13T19:07:13.583+00:00"
"$updatedAt": "2023-05-15T11:22:18.841+00:00"
}
],
"collections": [
Expand All @@ -21,7 +21,7 @@
"documentSecurity": false,
"attributes": [
{
"key": "name",
"key": "tagline",
"type": "string",
"status": "available",
"required": true,
Expand All @@ -30,44 +30,43 @@
"default": null
},
{
"key": "tagline",
"key": "description",
"type": "string",
"status": "available",
"required": true,
"array": false,
"size": 255,
"size": 100000,
"default": null
},
{
"key": "description",
"key": "name",
"type": "string",
"status": "available",
"required": true,
"array": false,
"size": 100000,
"size": 255,
"default": null
},
{
"key": "upvotes",
"type": "integer",
"key": "uiLibrary",
"type": "string",
"status": "available",
"required": true,
"required": false,
"array": false,
"min": -9223372036854775808,
"max": 9223372036854775807,
"size": 255,
"default": null
},
{
"key": "framework",
"key": "urlArticle",
"type": "string",
"status": "available",
"required": false,
"array": false,
"size": 255,
"format": "url",
"default": null
},
{
"key": "uiLibrary",
"key": "framework",
"type": "string",
"status": "available",
"required": false,
Expand All @@ -76,25 +75,26 @@
"default": null
},
{
"key": "useCase",
"type": "string",
"key": "upvotes",
"type": "integer",
"status": "available",
"required": true,
"array": false,
"size": 255,
"min": -9223372036854775808,
"max": 9223372036854775807,
"default": null
},
{
"key": "urlWebsite",
"key": "useCase",
"type": "string",
"status": "available",
"required": false,
"required": true,
"array": false,
"format": "url",
"size": 255,
"default": null
},
{
"key": "urlArticle",
"key": "urlTwitter",
"type": "string",
"status": "available",
"required": false,
Expand All @@ -103,7 +103,7 @@
"default": null
},
{
"key": "urlTwitter",
"key": "urlWebsite",
"type": "string",
"status": "available",
"required": false,
Expand All @@ -130,53 +130,71 @@
"default": null
},
{
"key": "isPublished",
"key": "isFeatured",
"type": "boolean",
"status": "available",
"required": true,
"array": false,
"default": null
},
{
"key": "isFeatured",
"key": "hasDatabases",
"type": "boolean",
"status": "available",
"required": true,
"array": false,
"default": null
},
{
"key": "hasDatabases",
"key": "hasRealtime",
"type": "boolean",
"status": "available",
"required": true,
"array": false,
"default": null
},
{
"key": "hasFunctions",
"key": "hasStorage",
"type": "boolean",
"status": "available",
"required": true,
"array": false,
"default": null
},
{
"key": "hasRealtime",
"key": "hasFunctions",
"type": "boolean",
"status": "available",
"required": true,
"array": false,
"default": null
},
{
"key": "hasStorage",
"key": "isPublished",
"type": "boolean",
"status": "available",
"required": true,
"array": false,
"default": null
},
{
"key": "urlAppStore",
"type": "string",
"status": "available",
"required": false,
"array": false,
"size": 255,
"default": null
},
{
"key": "urlGooglePlay",
"type": "string",
"status": "available",
"required": false,
"array": false,
"size": 255,
"default": null
},
{
"key": "hasAuthentication",
"type": "boolean",
Expand All @@ -195,7 +213,7 @@
"default": "web"
},
{
"key": "urlGooglePlay",
"key": "urlMacOs",
"type": "string",
"status": "available",
"required": false,
Expand All @@ -204,7 +222,7 @@
"default": null
},
{
"key": "urlAppStore",
"key": "urlWindows",
"type": "string",
"status": "available",
"required": false,
Expand All @@ -222,22 +240,31 @@
"default": null
},
{
"key": "urlMacOs",
"key": "search",
"type": "string",
"status": "available",
"required": false,
"array": false,
"size": 255,
"size": 101275,
"default": null
},
{
"key": "urlWindows",
"key": "userId",
"type": "string",
"status": "available",
"required": false,
"array": false,
"size": 255,
"default": null
},
{
"key": "rejectionReason",
"type": "string",
"status": "available",
"required": false,
"array": false,
"size": 100000,
"default": null
}
],
"indexes": [
Expand All @@ -255,26 +282,26 @@
]
},
{
"key": "index_2",
"key": "index_3",
"type": "key",
"status": "available",
"attributes": [
"isPublished"
"upvotes",
"$createdAt"
],
"orders": [
"ASC",
"ASC"
]
},
{
"key": "index_3",
"key": "index_2",
"type": "key",
"status": "available",
"attributes": [
"upvotes",
"$createdAt"
"isPublished"
],
"orders": [
"ASC",
"ASC"
]
},
Expand All @@ -292,11 +319,11 @@
]
},
{
"key": "index_5",
"key": "index_7",
"type": "key",
"status": "available",
"attributes": [
"uiLibrary",
"$id",
"isPublished"
],
"orders": [
Expand All @@ -318,11 +345,11 @@
]
},
{
"key": "index_7",
"key": "index_5",
"type": "key",
"status": "available",
"attributes": [
"$id",
"uiLibrary",
"isPublished"
],
"orders": [
Expand Down Expand Up @@ -357,11 +384,11 @@
]
},
{
"key": "index_11",
"key": "index_13",
"type": "key",
"status": "available",
"attributes": [
"hasRealtime",
"hasAuthentication",
"isPublished"
],
"orders": [
Expand All @@ -383,11 +410,11 @@
]
},
{
"key": "index_13",
"key": "index_14",
"type": "key",
"status": "available",
"attributes": [
"hasAuthentication",
"platform",
"isPublished"
],
"orders": [
Expand All @@ -396,11 +423,11 @@
]
},
{
"key": "index_14",
"key": "index_11",
"type": "key",
"status": "available",
"attributes": [
"platform",
"hasRealtime",
"isPublished"
],
"orders": [
Expand Down Expand Up @@ -546,6 +573,21 @@
"events": [],
"schedule": "",
"timeout": 15
},
{
"$id": "rejectProject",
"name": "rejectProject",
"runtime": "node-16.0",
"path": "functions/rejectProject",
"entrypoint": "src/index.js",
"ignore": [
"node_modules",
".npm"
],
"execute": [],
"events": ["databases.main.collections.projects.documents.*.update"],
"schedule": "",
"timeout": 15
}
]
}
Loading