Files
supabase/apps/docs/content/reference-beta/index.schema.json

59 lines
1.4 KiB
JSON

{
"title": "Reference library index frontmatter",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"title": {
"type": "string"
},
"package": {
"description": "Package or binary name shown under the title, e.g. `@supabase/server`.",
"type": "string"
},
"repo": {
"description": "Source repository, linked from the package name.",
"type": "string",
"format": "uri"
},
"icon": {
"description": "Menu icon id shown next to the title, e.g. `reference-javascript`.",
"type": "string"
},
"version": {
"type": "string"
},
"description": {
"type": "string"
},
"category_order": {
"description": "Category ids in display order. Unlisted categories follow alphabetically.",
"type": "array",
"items": {
"type": "string"
}
},
"code_lang": {
"description": "Language used to label signatures.",
"type": "string"
},
"hidden_labels": {
"description": "Labels to leave out of definition pages, e.g. `optional` for a CLI where every flag is.",
"type": "array",
"items": {
"type": "string",
"enum": [
"required",
"optional",
"deprecated",
"beta",
"experimental"
]
}
}
},
"required": [
"title"
],
"additionalProperties": false
}