collection indexes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-03-02 17:45:45 +01:00
parent dddd5229d5
commit 771ee5e73c
2 changed files with 64 additions and 0 deletions

View File

@@ -9,6 +9,10 @@
"type": "string",
"description": "collection name, part of api path"
},
"defaultLanguage": {
"type": "string",
"description": "default language for database text index"
},
"uploadPath": {
"type": "string",
"description": "relative to config.yml, path for file uploads"
@@ -182,6 +186,21 @@
}
]
}
},
"indexes": {
"type": "array",
"description": "indexes of collection",
"items": {
"oneOf": [
{
"$comment": "for include tag",
"type": "string"
},
{
"$ref": "index.json"
}
]
}
}
},
"required": ["name", "permissions"]