harperdb
Version:
HarperDB is a distributed database, caching service, streaming broker, and application development platform focused on performance and ease of use.
72 lines (71 loc) • 1.55 kB
JSON
{
"$schema": "https://json-schema.org/draft-06/schema",
"$id": "https://harper.fast/schema/config.schema.json",
"type": "object",
"properties": {
"rest": {
"type": "boolean",
"description": "Enable REST API endpoints."
},
"graphqlSchema": {
"type": "object",
"description": "GraphQL schema configuration.",
"additionalProperties": false,
"properties": {
"files": {
"description": "Glob(s) or path(s) to GraphQL schema files.",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"required": [
"files"
]
},
"jsResource": {
"type": "object",
"description": "JavaScript resource(s) configuration.",
"additionalProperties": false,
"properties": {
"files": {
"description": "Path(s) to JS resource file(s).",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"required": [
"files"
]
}
},
"additionalProperties": true,
"examples": [
{
"rest": true,
"graphqlSchema": {
"files": "*.graphql"
},
"jsResource": {
"files": "resources.js"
}
}
]
}