mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-03-28 17:42:40 +01:00
2664 lines
94 KiB
JSON
2664 lines
94 KiB
JSON
{
|
|
"name": "vscode-front-matter-beta",
|
|
"displayName": "Front Matter CMS",
|
|
"description": "Front Matter is a CMS that runs within Visual Studio Code. It gives you the power and control of a full-blown CMS while also providing you the flexibility and speed of the static site generator of your choice like: Hugo, Jekyll, Docusaurus, NextJs, Gatsby, and many more...",
|
|
"icon": "assets/frontmatter-teal-128x128.png",
|
|
"version": "9.5.0",
|
|
"preview": false,
|
|
"publisher": "eliostruyf",
|
|
"galleryBanner": {
|
|
"color": "#0e131f",
|
|
"theme": "dark"
|
|
},
|
|
"badges": [
|
|
{
|
|
"description": "version",
|
|
"url": "https://img.shields.io/github/package-json/v/estruyf/vscode-front-matter?color=green&label=vscode-front-matter&style=flat-square",
|
|
"href": "https://github.com/estruyf/vscode-front-matter"
|
|
},
|
|
{
|
|
"description": "Buy me a coffee",
|
|
"url": "https://img.shields.io/badge/Buy%20me%20a%20coffee-€%203-blue?logo=buy-me-a-coffee&style=flat-square",
|
|
"href": "https://www.buymeacoffee.com/zMeFRy9"
|
|
}
|
|
],
|
|
"sponsor": {
|
|
"url": "https://github.com/sponsors/estruyf"
|
|
},
|
|
"qna": "https://github.com/estruyf/vscode-front-matter/discussions",
|
|
"engines": {
|
|
"vscode": "^1.73.0"
|
|
},
|
|
"l10n": "./l10n",
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"keywords": [
|
|
"Front Matter",
|
|
"CMS",
|
|
"Markdown",
|
|
"Taxonomy"
|
|
],
|
|
"license": "MIT",
|
|
"author": "Elio Struyf <elio@struyfconsulting.be> (https://www.eliostruyf.com)",
|
|
"homepage": "https://frontmatter.codes",
|
|
"bugs": {
|
|
"url": "https://github.com/estruyf/vscode-front-matter/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/estruyf/vscode-front-matter"
|
|
},
|
|
"activationEvents": [
|
|
"workspaceContains:**/.frontmatter",
|
|
"workspaceContains:**/frontmatter.json",
|
|
"onStartupFinished"
|
|
],
|
|
"main": "./dist/extension.js",
|
|
"contributes": {
|
|
"icons": {
|
|
"fm-logo": {
|
|
"description": "Front Matter icon",
|
|
"default": {
|
|
"fontPath": "assets/frontmatter.woff",
|
|
"fontCharacter": "\\e900"
|
|
}
|
|
}
|
|
},
|
|
"configurationDefaults": {
|
|
"files.associations": {
|
|
"**/frontmatter.json": "jsonc",
|
|
"**/.frontmatter/config/*.json": "jsonc"
|
|
}
|
|
},
|
|
"keybindings": [
|
|
{
|
|
"command": "frontMatter.dashboard",
|
|
"key": "alt+d"
|
|
},
|
|
{
|
|
"command": "frontMatter.insertMedia",
|
|
"key": "ctrl+shift+i",
|
|
"mac": "cmd+shift+i",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"command": "frontMatter.insertSnippet",
|
|
"key": "ctrl+shift+v",
|
|
"mac": "cmd+shift+v",
|
|
"when": "editorTextFocus"
|
|
}
|
|
],
|
|
"viewsContainers": {
|
|
"activitybar": [
|
|
{
|
|
"id": "frontmatter-explorer",
|
|
"title": "FM",
|
|
"icon": "$(fm-logo)"
|
|
}
|
|
]
|
|
},
|
|
"views": {
|
|
"frontmatter-explorer": [
|
|
{
|
|
"id": "frontMatter.explorer",
|
|
"name": "Front Matter",
|
|
"icon": "$(fm-logo)",
|
|
"type": "webview"
|
|
}
|
|
]
|
|
},
|
|
"configuration": {
|
|
"title": "%settings.configuration.title%",
|
|
"type": "object",
|
|
"properties": {
|
|
"frontMatter.projects": {
|
|
"type": "array",
|
|
"markdownDescription": "%setting.frontMatter.projects.markdownDescription%",
|
|
"default": [],
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"markdownDescription": "%setting.frontMatter.projects.items.properties.name.markdownDescription%"
|
|
},
|
|
"default": {
|
|
"type": "boolean",
|
|
"markdownDescription": "%setting.frontMatter.projects.items.properties.default.markdownDescription%"
|
|
},
|
|
"configuration": {
|
|
"$ref": "https://frontmatter.codes/frontmatter.schema.json"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"frontMatter.sponsors.ai.enabled": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"markdownDescription": "%setting.frontMatter.sponsors.ai.enabled.markdownDescription%",
|
|
"scope": "Sponsors"
|
|
},
|
|
"frontMatter.extensibility.scripts": {
|
|
"type": "array",
|
|
"markdownDescription": "%setting.frontMatter.extensibility.scripts.markdownDescription%",
|
|
"default": [],
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"frontMatter.experimental": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"markdownDescription": "%setting.frontMatter.experimental.markdownDescription%"
|
|
},
|
|
"frontMatter.extends": {
|
|
"type": "array",
|
|
"markdownDescription": "%setting.frontMatter.extends.markdownDescription%",
|
|
"default": [],
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"frontMatter.config.dynamicFilePath": {
|
|
"type": "string",
|
|
"markdownDescription": "%setting.frontMatter.config.dynamicFilePath.markdownDescription%",
|
|
"default": ""
|
|
},
|
|
"frontMatter.content.autoUpdateDate": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"markdownDescription": "%setting.frontMatter.content.autoUpdateDate.markdownDescription%",
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.defaultFileType": {
|
|
"type": "string",
|
|
"default": "md",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"md",
|
|
"mdx"
|
|
]
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"markdownDescription": "%setting.frontMatter.content.defaultFileType.markdownDescription%",
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.defaultSorting": {
|
|
"type": "string",
|
|
"default": "",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"LastModifiedAsc",
|
|
"LastModifiedDesc",
|
|
"FileNameAsc",
|
|
"FileNameDesc"
|
|
]
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"markdownDescription": "%setting.frontMatter.content.defaultSorting.markdownDescription%",
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.draftField": {
|
|
"type": "object",
|
|
"markdownDescription": "%setting.frontMatter.content.draftField.markdownDescription%",
|
|
"default": {
|
|
"name": "draft",
|
|
"type": "boolean"
|
|
},
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"boolean",
|
|
"choice"
|
|
],
|
|
"description": "%setting.frontMatter.content.draftField.properties.type.description%"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.content.draftField.properties.name.description%"
|
|
},
|
|
"invert": {
|
|
"type": "boolean",
|
|
"description": "%setting.frontMatter.content.draftField.properties.invert.description%"
|
|
},
|
|
"choices": {
|
|
"type": "array",
|
|
"description": "%setting.frontMatter.content.draftField.properties.choices.description%",
|
|
"items": {
|
|
"type": [
|
|
"string"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"type",
|
|
"name"
|
|
],
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.fmHighlight": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"markdownDescription": "%setting.frontMatter.content.fmHighlight.markdownDescription%",
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.hideFm": {
|
|
"type": "boolean",
|
|
"markdownDescription": "%setting.frontMatter.content.hideFm.markdownDescription%",
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.hideFmMessage": {
|
|
"type": "string",
|
|
"default": "Use the editor panel to make front matter changes",
|
|
"markdownDescription": "%setting.frontMatter.content.hideFmMessage.markdownDescription%",
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.pageFolders": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.content.pageFolders.markdownDescription%",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.content.pageFolders.items.properties.title.description%"
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.content.pageFolders.items.properties.path.description%"
|
|
},
|
|
"excludeSubdir": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.content.pageFolders.items.properties.excludeSubdir.description%"
|
|
},
|
|
"previewPath": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
],
|
|
"default": null,
|
|
"description": "%setting.frontMatter.content.pageFolders.items.properties.previewPath.description%"
|
|
},
|
|
"filePrefix": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
],
|
|
"description": "%setting.frontMatter.content.pageFolders.items.properties.filePrefix.description%"
|
|
},
|
|
"contentTypes": {
|
|
"type": "array",
|
|
"description": "%setting.frontMatter.content.pageFolders.items.properties.contentTypes.description%",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"disableCreation": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.content.pageFolders.items.properties.disableCreation.description%"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"title",
|
|
"path"
|
|
]
|
|
},
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.placeholders": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.content.placeholders.markdownDescription%",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.content.placeholders.items.properties.id.description%"
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.content.placeholders.items.properties.value.description%"
|
|
},
|
|
"script": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.content.placeholders.items.properties.script.description%"
|
|
},
|
|
"command": {
|
|
"$ref": "#scriptCommand"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id"
|
|
]
|
|
},
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.publicFolder": {
|
|
"type": [
|
|
"string",
|
|
"object"
|
|
],
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.content.publicFolder.properties.path.description%"
|
|
},
|
|
"relative": {
|
|
"type": "boolean",
|
|
"description": "%setting.frontMatter.content.publicFolder.properties.relative.description%",
|
|
"default": false
|
|
}
|
|
},
|
|
"default": "",
|
|
"markdownDescription": "%setting.frontMatter.content.publicFolder.markdownDescription%",
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.snippets.wrapper.enabled": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"markdownDescription": "%setting.frontMatter.snippets.wrapper.enabled.markdownDescription%",
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.snippets": {
|
|
"type": "object",
|
|
"markdownDescription": "%setting.frontMatter.content.snippets.markdownDescription%",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"required": [
|
|
"body"
|
|
],
|
|
"properties": {
|
|
"body": {
|
|
"markdownDescription": "The snippet content.",
|
|
"type": [
|
|
"string",
|
|
"array"
|
|
],
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"title": {
|
|
"description": "The snippet title.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "The snippet description.",
|
|
"type": "string"
|
|
},
|
|
"fields": {
|
|
"$ref": "#contenttypefield"
|
|
},
|
|
"openingTags": {
|
|
"description": "The snippet opening tags.",
|
|
"type": "string",
|
|
"default": "[["
|
|
},
|
|
"closingTags": {
|
|
"description": "The snippet closing tags.",
|
|
"type": "string",
|
|
"default": "]]"
|
|
},
|
|
"isMediaSnippet": {
|
|
"description": "Specify if the snippet is to be used for media files.",
|
|
"type": "boolean",
|
|
"default": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"frontMatter.content.sorting": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.content.sorting.markdownDescription%",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.content.sorting.items.properties.id.description%"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.content.sorting.items.properties.title.description%"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.content.sorting.items.properties.name.description%"
|
|
},
|
|
"order": {
|
|
"type": "string",
|
|
"enum": [
|
|
"asc",
|
|
"desc"
|
|
],
|
|
"description": "%setting.frontMatter.content.sorting.items.properties.order.description%"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"default": "string",
|
|
"enum": [
|
|
"string",
|
|
"date",
|
|
"number"
|
|
],
|
|
"description": "%setting.frontMatter.content.sorting.items.properties.type.description%"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"title",
|
|
"name",
|
|
"order"
|
|
]
|
|
},
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.supportedFileTypes": {
|
|
"type": "array",
|
|
"default": [
|
|
"md",
|
|
"mdx",
|
|
"markdown"
|
|
],
|
|
"markdownDescription": "%setting.frontMatter.content.supportedFileTypes.markdownDescription%",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.content.wysiwyg": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"markdownDescription": "%setting.frontMatter.content.wysiwyg.markdownDescription%",
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.custom.scripts": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.custom.scripts.markdownDescription%",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.id.description%"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.title.description%"
|
|
},
|
|
"script": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.script.description%"
|
|
},
|
|
"nodeBin": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.nodeBin.description%"
|
|
},
|
|
"bulk": {
|
|
"type": "boolean",
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.bulk.description%"
|
|
},
|
|
"output": {
|
|
"type": "string",
|
|
"enum": [
|
|
"editor",
|
|
"notification"
|
|
],
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.output.description%"
|
|
},
|
|
"outputType": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.outputType.description%"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"default": "content",
|
|
"enum": [
|
|
"content",
|
|
"mediaFolder",
|
|
"mediaFile"
|
|
],
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.type.description%"
|
|
},
|
|
"command": {
|
|
"$id": "#scriptCommand",
|
|
"type": "string",
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"node",
|
|
"bash",
|
|
"powershell",
|
|
"python",
|
|
"python3"
|
|
]
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.command.description%",
|
|
"default": "node"
|
|
},
|
|
"hidden": {
|
|
"type": "boolean",
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.hidden.description%",
|
|
"default": false
|
|
},
|
|
"environments": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"macos",
|
|
"linux",
|
|
"windows"
|
|
],
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.environments.items.properties.type.description%"
|
|
},
|
|
"script": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.environments.items.properties.script.description%"
|
|
},
|
|
"command": {
|
|
"$ref": "#scriptCommand"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"contentTypes": {
|
|
"type": "array",
|
|
"description": "%setting.frontMatter.custom.scripts.items.properties.contentTypes.description%",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"title",
|
|
"script"
|
|
]
|
|
},
|
|
"scope": "Custom scripts"
|
|
},
|
|
"frontMatter.dashboard.content.pagination": {
|
|
"type": [
|
|
"boolean",
|
|
"number"
|
|
],
|
|
"default": true,
|
|
"markdownDescription": "%setting.frontMatter.dashboard.content.pagination.markdownDescription%",
|
|
"scope": "Dashboard"
|
|
},
|
|
"frontMatter.dashboard.content.cardTags": {
|
|
"type": "string",
|
|
"default": "tags",
|
|
"markdownDescription": "%setting.frontMatter.dashboard.content.cardTags.markdownDescription%",
|
|
"scope": "Dashboard"
|
|
},
|
|
"frontMatter.dashboard.content.card.fields.state": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"markdownDescription": "%setting.frontMatter.dashboard.content.card.fields.state.markdownDescription%"
|
|
},
|
|
"frontMatter.dashboard.content.card.fields.date": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"markdownDescription": "%setting.frontMatter.dashboard.content.card.fields.date.markdownDescription%"
|
|
},
|
|
"frontMatter.dashboard.content.card.fields.description": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
],
|
|
"default": "",
|
|
"markdownDescription": "%setting.frontMatter.dashboard.content.card.fields.description.markdownDescription%"
|
|
},
|
|
"frontMatter.dashboard.content.card.fields.title": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
],
|
|
"default": "",
|
|
"markdownDescription": "%setting.frontMatter.dashboard.content.card.fields.title.markdownDescription%"
|
|
},
|
|
"frontMatter.dashboard.mediaSnippet": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.dashboard.mediaSnippet.markdownDescription%",
|
|
"deprecationMessage": "%setting.frontMatter.dashboard.mediaSnippet.deprecationMessage%",
|
|
"items": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.dashboard.mediaSnippet.items.description%"
|
|
},
|
|
"scope": "dashboard"
|
|
},
|
|
"frontMatter.dashboard.openOnStart": {
|
|
"type": [
|
|
"boolean",
|
|
"null"
|
|
],
|
|
"default": null,
|
|
"markdownDescription": "%setting.frontMatter.dashboard.openOnStart.markdownDescription%",
|
|
"scope": "Dashboard"
|
|
},
|
|
"frontMatter.data.files": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.data.files.markdownDescription%",
|
|
"items": {
|
|
"type": "object",
|
|
"default": {},
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.data.files.items.properties.id.description%"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.data.files.items.properties.title.description%"
|
|
},
|
|
"labelField": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.data.files.items.properties.labelField.description%"
|
|
},
|
|
"file": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.data.files.items.properties.file.description%",
|
|
"default": "[[workspace]]/"
|
|
},
|
|
"fileType": {
|
|
"type": "string",
|
|
"default": "json",
|
|
"enum": [
|
|
"json",
|
|
"yaml"
|
|
],
|
|
"description": "%setting.frontMatter.data.files.items.properties.fileType.description%"
|
|
},
|
|
"schema": {
|
|
"$id": "#dataFileSchema",
|
|
"type": "object",
|
|
"default": {},
|
|
"description": "%setting.frontMatter.data.files.items.properties.schema.description%",
|
|
"additionalProperties": true,
|
|
"required": [
|
|
"type",
|
|
"properties"
|
|
],
|
|
"properties": {
|
|
"title": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.data.files.items.properties.schema.properties.title.description%"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.data.files.items.properties.schema.properties.type.description%",
|
|
"default": "object"
|
|
},
|
|
"required": {
|
|
"type": "array",
|
|
"description": "%setting.frontMatter.data.files.items.properties.schema.properties.required.description%",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"properties": {
|
|
"type": "object",
|
|
"description": "%setting.frontMatter.data.files.items.properties.schema.properties.properties.description%",
|
|
"additionalProperties": true
|
|
}
|
|
}
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"default": "content",
|
|
"description": "%setting.frontMatter.data.files.items.properties.type.description%"
|
|
},
|
|
"singleEntry": {
|
|
"type": "boolean",
|
|
"description": "%setting.frontMatter.data.files.items.properties.singleEntry.description%",
|
|
"default": false
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"title",
|
|
"file"
|
|
],
|
|
"anyOf": [
|
|
{
|
|
"required": [
|
|
"schema"
|
|
]
|
|
},
|
|
{
|
|
"required": [
|
|
"type"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"scope": "Data"
|
|
},
|
|
"frontMatter.data.folders": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.data.folders.markdownDescription%",
|
|
"items": {
|
|
"type": "object",
|
|
"default": {},
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.data.folders.items.properties.id.description%"
|
|
},
|
|
"labelField": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.data.folders.items.properties.labelField.description%"
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.data.folders.items.properties.path.description%",
|
|
"default": "[[workspace]]/"
|
|
},
|
|
"schema": {
|
|
"$ref": "#dataFileSchema"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"default": "content",
|
|
"description": "%setting.frontMatter.data.folders.items.properties.type.description%"
|
|
},
|
|
"singleEntry": {
|
|
"type": "boolean",
|
|
"description": "%setting.frontMatter.data.folders.items.properties.singleEntry.description%",
|
|
"default": false
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"path"
|
|
],
|
|
"anyOf": [
|
|
{
|
|
"required": [
|
|
"schema"
|
|
]
|
|
},
|
|
{
|
|
"required": [
|
|
"type"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"scope": "Data"
|
|
},
|
|
"frontMatter.data.types": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.data.types.markdownDescription%",
|
|
"items": {
|
|
"type": "object",
|
|
"default": {},
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.data.types.items.properties.id.description%"
|
|
},
|
|
"schema": {
|
|
"$ref": "#dataFileSchema"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"schema"
|
|
]
|
|
},
|
|
"scope": "Data"
|
|
},
|
|
"frontMatter.file.preserveCasing": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"markdownDescription": "%setting.frontMatter.file.preserveCasing.markdownDescription%",
|
|
"scope": "File"
|
|
},
|
|
"frontMatter.framework.id": {
|
|
"type": "string",
|
|
"default": "",
|
|
"markdownDescription": "%setting.frontMatter.framework.id.markdownDescription%"
|
|
},
|
|
"frontMatter.framework.startCommand": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"default": null,
|
|
"markdownDescription": "%setting.frontMatter.framework.startCommand.markdownDescription%"
|
|
},
|
|
"frontMatter.git.enabled": {
|
|
"type": "boolean",
|
|
"markdownDescription": "%setting.frontMatter.git.enabled.markdownDescription%",
|
|
"default": false
|
|
},
|
|
"frontMatter.git.commitMessage": {
|
|
"type": "string",
|
|
"markdownDescription": "%setting.frontMatter.git.commitMessage.markdownDescription%",
|
|
"default": "Synced by Front Matter"
|
|
},
|
|
"frontMatter.git.submodule.pull": {
|
|
"type": "boolean",
|
|
"markdownDescription": "%setting.frontMatter.git.submodule.pull.markdownDescription%",
|
|
"default": false
|
|
},
|
|
"frontMatter.git.submodule.push": {
|
|
"type": "boolean",
|
|
"markdownDescription": "%setting.frontMatter.git.submodule.push.markdownDescription%",
|
|
"default": false
|
|
},
|
|
"frontMatter.git.submodule.branch": {
|
|
"type": "string",
|
|
"markdownDescription": "%setting.frontMatter.git.submodule.branch.markdownDescription%",
|
|
"default": ""
|
|
},
|
|
"frontMatter.git.submodule.folder": {
|
|
"type": "string",
|
|
"markdownDescription": "%setting.frontMatter.git.submodule.folder.markdownDescription%",
|
|
"default": ""
|
|
},
|
|
"frontMatter.global.activeMode": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"default": "",
|
|
"markdownDescription": "%setting.frontMatter.global.activeMode.markdownDescription%",
|
|
"scope": "Global"
|
|
},
|
|
"frontMatter.global.modes": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.global.modes.markdownDescription%",
|
|
"items": {
|
|
"type": "object",
|
|
"default": {},
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.global.modes.items.properties.id.description%"
|
|
},
|
|
"features": {
|
|
"type": "array",
|
|
"default": [],
|
|
"description": "%setting.frontMatter.global.modes.items.properties.features.description%",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"panel.globalSettings",
|
|
"panel.seo",
|
|
"panel.actions",
|
|
"panel.contentType",
|
|
"panel.metadata",
|
|
"panel.recentlyModified",
|
|
"panel.otherActions",
|
|
"dashboard.snippets.view",
|
|
"dashboard.snippets.manage",
|
|
"dashboard.data.view",
|
|
"dashboard.taxonomy.view"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"features"
|
|
]
|
|
},
|
|
"scope": "Global"
|
|
},
|
|
"frontMatter.global.notifications": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"info",
|
|
"warning",
|
|
"error"
|
|
]
|
|
},
|
|
"default": [
|
|
"info",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"markdownDescription": "%setting.frontMatter.global.notifications.markdownDescription%",
|
|
"scope": "Templates"
|
|
},
|
|
"frontMatter.global.disabledNotifications": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.global.disabledNotifications.markdownDescription%",
|
|
"enum": [
|
|
"requiredFieldValidation"
|
|
]
|
|
},
|
|
"frontMatter.media.defaultSorting": {
|
|
"type": "string",
|
|
"default": "",
|
|
"enum": [
|
|
"LastModifiedAsc",
|
|
"LastModifiedDesc",
|
|
"FileNameAsc",
|
|
"FileNameDesc"
|
|
],
|
|
"markdownDescription": "%setting.frontMatter.media.defaultSorting.markdownDescription%",
|
|
"scope": "Content"
|
|
},
|
|
"frontMatter.media.supportedMimeTypes": {
|
|
"type": "array",
|
|
"default": [
|
|
"image/*",
|
|
"video/*",
|
|
"audio/*"
|
|
],
|
|
"markdownDescription": "%setting.frontMatter.media.supportedMimeTypes.markdownDescription%",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"scope": "Media"
|
|
},
|
|
"frontMatter.panel.freeform": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"markdownDescription": "%setting.frontMatter.panel.freeform.markdownDescription%",
|
|
"scope": "Panel"
|
|
},
|
|
"frontMatter.panel.actions.disabled": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.panel.actions.disabled.markdownDescription%",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"openDashboard",
|
|
"createContent",
|
|
"optimizeSlug",
|
|
"preview",
|
|
"openOnWebsite",
|
|
"startStopServer",
|
|
"customActions"
|
|
]
|
|
}
|
|
},
|
|
"frontMatter.preview.host": {
|
|
"type": "string",
|
|
"default": "",
|
|
"markdownDescription": "%setting.frontMatter.preview.host.markdownDescription%",
|
|
"scope": "Site preview"
|
|
},
|
|
"frontMatter.preview.pathName": {
|
|
"type": "string",
|
|
"default": "",
|
|
"markdownDescription": "%setting.frontMatter.preview.pathName.markdownDescription%",
|
|
"scope": "Site preview"
|
|
},
|
|
"frontMatter.site.baseURL": {
|
|
"type": "string",
|
|
"default": "",
|
|
"markdownDescription": "%setting.frontMatter.site.baseURL.markdownDescription%",
|
|
"scope": "Site"
|
|
},
|
|
"frontMatter.taxonomy.alignFilename": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.alignFilename.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.categories": {
|
|
"type": "array",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.categories.markdownDescription%",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.commaSeparatedFields": {
|
|
"type": "array",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.commaSeparatedFields.markdownDescription%",
|
|
"items": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.commaSeparatedFields.items.description%"
|
|
},
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.contentTypes": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.contentTypes.markdownDescription%",
|
|
"items": {
|
|
"type": "object",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.description%",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.name.description%"
|
|
},
|
|
"fileType": {
|
|
"type": "string",
|
|
"default": "",
|
|
"enum": [
|
|
"md",
|
|
"mdx"
|
|
],
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fileType.description%"
|
|
},
|
|
"clearEmpty": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.clearEmpty.description%"
|
|
},
|
|
"allowAsSubContent": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.allowAsSubContent.description%"
|
|
},
|
|
"isSubContent": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.isSubContent.description%"
|
|
},
|
|
"fields": {
|
|
"$id": "#contenttypefield",
|
|
"type": "array",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.description%",
|
|
"items": {
|
|
"type": "object",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.description%",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"string",
|
|
"number",
|
|
"datetime",
|
|
"boolean",
|
|
"image",
|
|
"file",
|
|
"choice",
|
|
"taxonomy",
|
|
"tags",
|
|
"categories",
|
|
"draft",
|
|
"fields",
|
|
"json",
|
|
"block",
|
|
"list",
|
|
"dataFile",
|
|
"slug",
|
|
"divider",
|
|
"heading",
|
|
"customField",
|
|
"contentRelationship",
|
|
"fieldCollection"
|
|
],
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.type.description%"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.name.description%"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.title.description%"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.description.description%"
|
|
},
|
|
"default": {
|
|
"type": [
|
|
"string",
|
|
"number",
|
|
"boolean",
|
|
"array",
|
|
"object",
|
|
"null"
|
|
],
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.default.description%"
|
|
},
|
|
"choices": {
|
|
"type": "array",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.choices.description%",
|
|
"items": {
|
|
"type": [
|
|
"object",
|
|
"string"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
],
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.choices.items.properties.id.description%"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.choices.items.properties.title.description%"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"single": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.single.description%"
|
|
},
|
|
"wysiwyg": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.wysiwyg.description%"
|
|
},
|
|
"multiple": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.multiple.description%"
|
|
},
|
|
"isPreviewImage": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.isPreviewImage.description%"
|
|
},
|
|
"hidden": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.hidden.description%"
|
|
},
|
|
"taxonomyId": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.taxonomyId.description%",
|
|
"not": {
|
|
"anyOf": [
|
|
{
|
|
"const": ""
|
|
},
|
|
{
|
|
"const": "tags"
|
|
},
|
|
{
|
|
"const": "categories"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"fileExtensions": {
|
|
"type": "array",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.fileExtensions.description%",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"fields": {
|
|
"$ref": "#contenttypefield"
|
|
},
|
|
"fieldGroup": {
|
|
"type": [
|
|
"string",
|
|
"array"
|
|
],
|
|
"default": [],
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.fieldGroup.description%",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"dataType": {
|
|
"type": [
|
|
"string",
|
|
"array"
|
|
],
|
|
"default": [],
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.dataType.description%",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"numberOptions": {
|
|
"type": "object",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.numberOptions.description%",
|
|
"properties": {
|
|
"isDecimal": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.numberOptions.properties.isDecimal.description%"
|
|
},
|
|
"min": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.numberOptions.properties.min.description%"
|
|
},
|
|
"max": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.numberOptions.properties.max.description%"
|
|
},
|
|
"step": {
|
|
"type": "number",
|
|
"default": 1,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.numberOptions.properties.step.description%"
|
|
}
|
|
}
|
|
},
|
|
"taxonomyLimit": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.taxonomyLimit.description%"
|
|
},
|
|
"singleValueAsString": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.singleValueAsString.description%"
|
|
},
|
|
"isPublishDate": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.isPublishDate.description%"
|
|
},
|
|
"isModifiedDate": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.isModifiedDate.description%"
|
|
},
|
|
"dataFileId": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.dataFileId.description%"
|
|
},
|
|
"dataFileKey": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.dataFileKey.description%"
|
|
},
|
|
"dataFileValue": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.dataFileValue.description%"
|
|
},
|
|
"editable": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.editable.description%"
|
|
},
|
|
"encodeEmoji": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.encodeEmoji.description%"
|
|
},
|
|
"dateFormat": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.dateFormat.description%"
|
|
},
|
|
"required": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.required.description%"
|
|
},
|
|
"customType": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.customType.description%"
|
|
},
|
|
"contentTypeName": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.contentTypeName.description%"
|
|
},
|
|
"contentTypeValue": {
|
|
"type": "string",
|
|
"enum": [
|
|
"path",
|
|
"slug"
|
|
],
|
|
"default": "path",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.contentTypeValue.description%"
|
|
},
|
|
"when": {
|
|
"type": "object",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.when.description%",
|
|
"properties": {
|
|
"fieldRef": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.when.properties.fieldRef.description%"
|
|
},
|
|
"operator": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.when.properties.operator.description%",
|
|
"enum": [
|
|
"eq",
|
|
"neq",
|
|
"contains",
|
|
"notContains",
|
|
"startsWith",
|
|
"endsWith",
|
|
"gt",
|
|
"gte",
|
|
"lt",
|
|
"lte",
|
|
"minimum",
|
|
"maximum",
|
|
"exlusiveMinimum",
|
|
"exclusiveMaximum"
|
|
]
|
|
},
|
|
"value": {
|
|
"type": [
|
|
"string",
|
|
"number",
|
|
"boolean",
|
|
"array"
|
|
],
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.when.properties.value.description%"
|
|
},
|
|
"caseSensitive": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.fields.items.properties.when.properties.caseSensitive.description%"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"type",
|
|
"name"
|
|
],
|
|
"allOf": [
|
|
{
|
|
"if": {
|
|
"properties": {
|
|
"type": {
|
|
"const": "divider"
|
|
}
|
|
}
|
|
},
|
|
"then": {
|
|
"required": [
|
|
"type"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"properties": {
|
|
"type": {
|
|
"const": "dataFile"
|
|
}
|
|
}
|
|
},
|
|
"then": {
|
|
"required": [
|
|
"dataFileId",
|
|
"dataFileKey"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"properties": {
|
|
"type": {
|
|
"const": "customType"
|
|
}
|
|
}
|
|
},
|
|
"then": {
|
|
"required": [
|
|
"customType"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"properties": {
|
|
"type": {
|
|
"const": "file"
|
|
}
|
|
}
|
|
},
|
|
"then": {
|
|
"required": [
|
|
"fileExtensions"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"properties": {
|
|
"type": {
|
|
"const": "taxonomy"
|
|
}
|
|
}
|
|
},
|
|
"then": {
|
|
"required": [
|
|
"taxonomyId"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"properties": {
|
|
"type": {
|
|
"const": "contentRelationship"
|
|
}
|
|
}
|
|
},
|
|
"then": {
|
|
"required": [
|
|
"contentTypeName"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"properties": {
|
|
"type": {
|
|
"const": "choice"
|
|
}
|
|
}
|
|
},
|
|
"then": {
|
|
"required": [
|
|
"choices"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"properties": {
|
|
"type": {
|
|
"const": "fields"
|
|
}
|
|
}
|
|
},
|
|
"then": {
|
|
"required": [
|
|
"fields"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"properties": {
|
|
"type": {
|
|
"const": "block"
|
|
}
|
|
}
|
|
},
|
|
"then": {
|
|
"required": [
|
|
"fieldGroup"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"properties": {
|
|
"type": {
|
|
"const": "fieldCollection"
|
|
}
|
|
}
|
|
},
|
|
"then": {
|
|
"required": [
|
|
"fieldGroup"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"properties": {
|
|
"type": {
|
|
"const": "json"
|
|
}
|
|
}
|
|
},
|
|
"then": {
|
|
"required": [
|
|
"dataType"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"pageBundle": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.pageBundle.description%"
|
|
},
|
|
"previewPath": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
],
|
|
"default": null,
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.previewPath.description%"
|
|
},
|
|
"template": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.template.description%"
|
|
},
|
|
"postScript": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.postScript.description%"
|
|
},
|
|
"filePrefix": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
],
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.filePrefix.description%"
|
|
},
|
|
"defaultFileName": {
|
|
"type": "string",
|
|
"default": "index",
|
|
"description": "%setting.frontMatter.taxonomy.contentTypes.items.properties.defaultFileName.description%"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"name",
|
|
"fields"
|
|
]
|
|
},
|
|
"default": [
|
|
{
|
|
"name": "default",
|
|
"pageBundle": false,
|
|
"fields": [
|
|
{
|
|
"title": "Title",
|
|
"name": "title",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"title": "Description",
|
|
"name": "description",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"title": "Publishing date",
|
|
"name": "date",
|
|
"type": "datetime",
|
|
"default": "{{now}}",
|
|
"isPublishDate": true
|
|
},
|
|
{
|
|
"title": "Content preview",
|
|
"name": "preview",
|
|
"type": "image"
|
|
},
|
|
{
|
|
"title": "Is in draft",
|
|
"name": "draft",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"title": "Tags",
|
|
"name": "tags",
|
|
"type": "tags"
|
|
},
|
|
{
|
|
"title": "Categories",
|
|
"name": "categories",
|
|
"type": "categories"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.customTaxonomy": {
|
|
"type": "array",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.customTaxonomy.markdownDescription%",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.customTaxonomy.items.properties.id.description%",
|
|
"not": {
|
|
"anyOf": [
|
|
{
|
|
"const": ""
|
|
},
|
|
{
|
|
"const": "tags"
|
|
},
|
|
{
|
|
"const": "categories"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"options": {
|
|
"type": "array",
|
|
"description": "%setting.frontMatter.taxonomy.customTaxonomy.items.properties.options.description%",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"options"
|
|
]
|
|
},
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.dateField": {
|
|
"type": "string",
|
|
"default": "date",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.dateField.markdownDescription%",
|
|
"deprecationMessage": "%setting.frontMatter.taxonomy.dateField.deprecationMessage%"
|
|
},
|
|
"frontMatter.taxonomy.dateFormat": {
|
|
"type": "string",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.dateFormat.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.fieldGroups": {
|
|
"type": "array",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.fieldGroups.markdownDescription%",
|
|
"default": [],
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.fieldGroups.items.properties.id.description%"
|
|
},
|
|
"labelField": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.fieldGroups.items.properties.labelField.description%"
|
|
},
|
|
"fields": {
|
|
"$ref": "#contenttypefield"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"fields"
|
|
]
|
|
}
|
|
},
|
|
"frontMatter.taxonomy.frontMatterType": {
|
|
"type": "string",
|
|
"default": "YAML",
|
|
"enum": [
|
|
"YAML",
|
|
"TOML",
|
|
"JSON"
|
|
],
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.frontMatterType.markdownDescription%",
|
|
"enumDescriptions": [
|
|
"Specifies you want to use YAML markup for the front matter (default)",
|
|
"Specifies you want to use TOML markup for the front matter",
|
|
"Specifies you want to use JSON markup for the front matter"
|
|
],
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.indentArrays": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.indentArrays.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.modifiedField": {
|
|
"type": "string",
|
|
"default": "lastmod",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.modifiedField.markdownDescription%",
|
|
"deprecationMessage": "%setting.frontMatter.taxonomy.modifiedField.deprecationMessage%"
|
|
},
|
|
"frontMatter.taxonomy.quoteStringValues": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.quoteStringValues.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.noPropertyValueQuotes": {
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.noPropertyValueQuotes.markdownDescription%",
|
|
"items": {
|
|
"type": "string",
|
|
"description": "%setting.frontMatter.taxonomy.noPropertyValueQuotes.items.description%"
|
|
},
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.seoContentLengh": {
|
|
"type": "number",
|
|
"default": 1760,
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.seoContentLengh.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.seoDescriptionField": {
|
|
"type": "string",
|
|
"default": "description",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.seoDescriptionField.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.seoDescriptionLength": {
|
|
"type": "number",
|
|
"default": 160,
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.seoDescriptionLength.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.seoSlugLength": {
|
|
"type": "number",
|
|
"default": 75,
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.seoSlugLength.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.seoTitleField": {
|
|
"type": "string",
|
|
"default": "title",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.seoTitleField.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.seoTitleLength": {
|
|
"type": "number",
|
|
"default": 60,
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.seoTitleLength.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.slugPrefix": {
|
|
"type": "string",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.slugPrefix.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.slugSuffix": {
|
|
"type": "string",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.slugSuffix.markdownDescription%",
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.taxonomy.tags": {
|
|
"type": "array",
|
|
"markdownDescription": "%setting.frontMatter.taxonomy.tags.markdownDescription%",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"scope": "Taxonomy"
|
|
},
|
|
"frontMatter.telemetry.disable": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"markdownDescription": "%setting.frontMatter.telemetry.disable.markdownDescription%"
|
|
},
|
|
"frontMatter.templates.enabled": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"markdownDescription": "%setting.frontMatter.templates.enabled.markdownDescription%",
|
|
"scope": "Templates"
|
|
},
|
|
"frontMatter.templates.folder": {
|
|
"type": "string",
|
|
"default": ".frontmatter/templates",
|
|
"markdownDescription": "%setting.frontMatter.templates.folder.markdownDescription%",
|
|
"scope": "Templates"
|
|
},
|
|
"frontMatter.templates.prefix": {
|
|
"type": "string",
|
|
"default": "yyyy-MM-dd",
|
|
"markdownDescription": "%setting.frontMatter.templates.prefix.markdownDescription%",
|
|
"scope": "Templates"
|
|
},
|
|
"frontMatter.website.host": {
|
|
"type": "string",
|
|
"markdownDescription": "%setting.frontMatter.website.host.markdownDescription%"
|
|
}
|
|
}
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "frontMatter.project.switch",
|
|
"title": "%command.frontMatter.project.switch%",
|
|
"category": "Front Matter",
|
|
"icon": "$(arrow-swap)"
|
|
},
|
|
{
|
|
"command": "frontMatter.settings.refresh",
|
|
"title": "%command.frontMatter.settings.refresh%",
|
|
"category": "Front Matter",
|
|
"icon": "$(refresh)"
|
|
},
|
|
{
|
|
"command": "frontMatter.config.reload",
|
|
"title": "%command.frontMatter.config.reload%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.authenticate",
|
|
"title": "%command.frontMatter.authenticate%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.contenttype.generate",
|
|
"title": "%command.frontMatter.contenttype.generate%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.contenttype.addMissingFields",
|
|
"title": "%command.frontMatter.contenttype.addMissingFields%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.contenttype.setContentType",
|
|
"title": "%command.frontMatter.contenttype.setContentType%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.blockquote",
|
|
"title": "%command.frontMatter.markup.blockquote%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/blockquote-light.svg",
|
|
"dark": "assets/icons/blockquote-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.bold",
|
|
"title": "%command.frontMatter.markup.bold%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/bold-light.svg",
|
|
"dark": "assets/icons/bold-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard.close",
|
|
"title": "%command.frontMatter.dashboard.close%",
|
|
"category": "Front Matter",
|
|
"icon": "$(fm-logo)"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.code",
|
|
"title": "%command.frontMatter.markup.code%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/code-light.svg",
|
|
"dark": "assets/icons/code-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.codeblock",
|
|
"title": "%command.frontMatter.markup.codeblock%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/codeblock-light.svg",
|
|
"dark": "assets/icons/codeblock-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.hyperlink",
|
|
"title": "%command.frontMatter.markup.hyperlink%",
|
|
"category": "Front Matter",
|
|
"icon": "$(link)"
|
|
},
|
|
{
|
|
"command": "frontMatter.collapseSections",
|
|
"title": "%command.frontMatter.collapseSections%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/close-light.svg",
|
|
"dark": "assets/icons/close-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.initTemplate",
|
|
"title": "%command.frontMatter.initTemplate%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.createTemplate",
|
|
"title": "%command.frontMatter.createTemplate%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.createCategory",
|
|
"title": "%command.frontMatter.createCategory%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.createContent",
|
|
"title": "%command.frontMatter.createContent%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.createTag",
|
|
"title": "%command.frontMatter.createTag%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.diagnostics",
|
|
"title": "%command.frontMatter.diagnostics%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.exportTaxonomy",
|
|
"title": "%command.frontMatter.exportTaxonomy%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.createFromTemplate",
|
|
"title": "%command.frontMatter.createFromTemplate%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.registerFolder",
|
|
"title": "%command.frontMatter.registerFolder%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.unregisterFolder",
|
|
"title": "%command.frontMatter.unregisterFolder%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.generateSlug",
|
|
"title": "%command.frontMatter.generateSlug%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.heading",
|
|
"title": "%command.frontMatter.markup.heading%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/heading-light.svg",
|
|
"dark": "assets/icons/heading-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.init",
|
|
"title": "%command.frontMatter.init%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.insertCategories",
|
|
"title": "%command.frontMatter.insertCategories%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.insertMedia",
|
|
"title": "%command.frontMatter.insertMedia%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"dark": "/assets/icons/media-dark.svg",
|
|
"light": "/assets/icons/media-light.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.insertSnippet",
|
|
"title": "%command.frontMatter.insertSnippet%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"dark": "/assets/icons/scissors-dark.svg",
|
|
"light": "/assets/icons/scissors-light.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.insertTags",
|
|
"title": "%command.frontMatter.insertTags%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.italic",
|
|
"title": "%command.frontMatter.markup.italic%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/italic-light.svg",
|
|
"dark": "assets/icons/italic-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard",
|
|
"title": "%command.frontMatter.dashboard%",
|
|
"category": "Front Matter",
|
|
"icon": "$(fm-logo)"
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard.data",
|
|
"title": "%command.frontMatter.dashboard.data%",
|
|
"category": "Front Matter",
|
|
"icon": "$(fm-logo)"
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard.media",
|
|
"title": "%command.frontMatter.dashboard.media%",
|
|
"category": "Front Matter",
|
|
"icon": "$(fm-logo)"
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard.snippets",
|
|
"title": "%command.frontMatter.dashboard.snippets%",
|
|
"category": "Front Matter",
|
|
"icon": "$(fm-logo)"
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard.taxonomy",
|
|
"title": "%command.frontMatter.dashboard.taxonomy%",
|
|
"category": "Front Matter",
|
|
"icon": "$(fm-logo)"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.orderedlist",
|
|
"title": "%command.frontMatter.markup.orderedlist%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/ordered-list-light.svg",
|
|
"dark": "assets/icons/ordered-list-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.options",
|
|
"title": "%command.frontMatter.markup.options%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/options-light.svg",
|
|
"dark": "assets/icons/options-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.preview",
|
|
"title": "%command.frontMatter.preview%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.chatbot",
|
|
"title": "%command.frontMatter.chatbot%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/chatbot-light.svg",
|
|
"dark": "assets/icons/chatbot-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.promoteSettings",
|
|
"title": "%command.frontMatter.promoteSettings%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.remap",
|
|
"title": "%command.frontMatter.remap%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.setLastModifiedDate",
|
|
"title": "%command.frontMatter.setLastModifiedDate%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.strikethrough",
|
|
"title": "%command.frontMatter.markup.strikethrough%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/strikethrough-light.svg",
|
|
"dark": "assets/icons/strikethrough-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.mode.switch",
|
|
"title": "%command.frontMatter.mode.switch%",
|
|
"category": "Front Matter",
|
|
"icon": "$(preview)"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.tasklist",
|
|
"title": "%command.frontMatter.markup.tasklist%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.unorderedlist",
|
|
"title": "%command.frontMatter.markup.unorderedlist%",
|
|
"category": "Front Matter",
|
|
"icon": {
|
|
"light": "assets/icons/unordered-list-light.svg",
|
|
"dark": "assets/icons/unordered-list-dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "frontMatter.git.sync",
|
|
"title": "%command.frontMatter.git.sync%",
|
|
"category": "Front Matter"
|
|
},
|
|
{
|
|
"command": "frontMatter.cache.clear",
|
|
"title": "%command.frontMatter.cache.clear%",
|
|
"category": "Front Matter"
|
|
}
|
|
],
|
|
"submenus": [
|
|
{
|
|
"id": "frontmatter.submenu",
|
|
"label": "Front Matter"
|
|
}
|
|
],
|
|
"menus": {
|
|
"webview/context": [
|
|
{
|
|
"command": "workbench.action.webview.openDeveloperTools",
|
|
"when": "frontMatter:isDevelopment"
|
|
}
|
|
],
|
|
"editor/title": [
|
|
{
|
|
"command": "frontMatter.markup.heading",
|
|
"group": "navigation@-133",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:markdown:wysiwyg"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.bold",
|
|
"group": "navigation@-132",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:markdown:wysiwyg"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.italic",
|
|
"group": "navigation@-131",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:markdown:wysiwyg"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.hyperlink",
|
|
"group": "navigation@-130",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:markdown:wysiwyg"
|
|
},
|
|
{
|
|
"command": "frontMatter.insertSnippet",
|
|
"group": "navigation@-129",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:dashboard:snippets:enabled"
|
|
},
|
|
{
|
|
"command": "frontMatter.insertMedia",
|
|
"group": "navigation@-128",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.options",
|
|
"group": "navigation@-126",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:markdown:wysiwyg"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.orderedlist",
|
|
"group": "1_markup@1",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:markdown:wysiwyg"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.unorderedlist",
|
|
"group": "1_markup@2",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:markdown:wysiwyg"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.tasklist",
|
|
"group": "1_markup@3",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:markdown:wysiwyg"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.code",
|
|
"group": "1_markup@4",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:markdown:wysiwyg"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.codeblock",
|
|
"group": "1_markup@5",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:markdown:wysiwyg"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.blockquote",
|
|
"group": "1_markup@6",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:markdown:wysiwyg"
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard",
|
|
"group": "navigation@-98",
|
|
"when": "frontMatter:enabled == true && frontMatter:dashboard:open == false"
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard.close",
|
|
"group": "navigation@-98",
|
|
"when": "frontMatter:enabled == true && frontMatter:dashboard:open == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.chatbot",
|
|
"group": "navigation@-97",
|
|
"when": "resourceFilename == 'frontmatter.json'"
|
|
}
|
|
],
|
|
"explorer/context": [
|
|
{
|
|
"submenu": "frontmatter.submenu",
|
|
"group": "frontmatter@1"
|
|
}
|
|
],
|
|
"frontmatter.submenu": [
|
|
{
|
|
"command": "frontMatter.createFromTemplate",
|
|
"when": "explorerResourceIsFolder",
|
|
"group": "frontmatter@1"
|
|
},
|
|
{
|
|
"command": "frontMatter.registerFolder",
|
|
"when": "explorerResourceIsFolder",
|
|
"group": "frontmatter@2"
|
|
},
|
|
{
|
|
"command": "frontMatter.unregisterFolder",
|
|
"when": "explorerResourceIsFolder",
|
|
"group": "frontmatter@3"
|
|
}
|
|
],
|
|
"commandPalette": [
|
|
{
|
|
"command": "frontMatter.init",
|
|
"when": "frontMatterCanInit"
|
|
},
|
|
{
|
|
"command": "frontMatter.project.switch",
|
|
"when": "frontMatter:project:switch:enabled"
|
|
},
|
|
{
|
|
"command": "frontMatter.createTemplate",
|
|
"when": "!frontMatterCanInit"
|
|
},
|
|
{
|
|
"command": "frontMatter.preview",
|
|
"when": "frontMatterCanOpenPreview"
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard.data",
|
|
"when": "frontMatter:dashboard:data:enabled"
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard.snippets",
|
|
"when": "frontMatter:dashboard:snippets:enabled"
|
|
},
|
|
{
|
|
"command": "frontMatter.git.sync",
|
|
"when": "frontMatter:git:enabled"
|
|
},
|
|
{
|
|
"command": "frontMatter.collapseSections",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.registerFolder",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.unregisterFolder",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.createFromTemplate",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard.close",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.bold",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.italic",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.strikethrough",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.code",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.codeblock",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.blockquote",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.heading",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.unorderedlist",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.orderedlist",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.tasklist",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.markup.options",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.config.reload",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "frontMatter.insertSnippet",
|
|
"when": "frontMatter:file:isValid == true && frontMatter:dashboard:snippets:enabled"
|
|
},
|
|
{
|
|
"command": "frontMatter.insertMedia",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.createCategory",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.createTag",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.insertCategories",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.insertTags",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.createTemplate",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.preview",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.setLastModifiedDate",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.generateSlug",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.contenttype.generate",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.contenttype.addMissingFields",
|
|
"when": "frontMatter:file:isValid == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.contenttype.setContentType",
|
|
"when": "frontMatter:file:isValid == true"
|
|
}
|
|
],
|
|
"view/title": [
|
|
{
|
|
"command": "frontMatter.chatbot",
|
|
"group": "navigation@0",
|
|
"when": "view == frontMatter.explorer"
|
|
},
|
|
{
|
|
"command": "frontMatter.collapseSections",
|
|
"group": "navigation@1",
|
|
"when": "view == frontMatter.explorer"
|
|
},
|
|
{
|
|
"command": "frontMatter.mode.switch",
|
|
"group": "navigation@2",
|
|
"when": "view == frontMatter.explorer && frontMatter:has:modes == true"
|
|
},
|
|
{
|
|
"command": "frontMatter.project.switch",
|
|
"group": "navigation@3",
|
|
"when": "view == frontMatter.explorer && frontMatter:project:switch:enabled"
|
|
},
|
|
{
|
|
"command": "frontMatter.settings.refresh",
|
|
"group": "navigation@4",
|
|
"when": "view == frontMatter.explorer"
|
|
},
|
|
{
|
|
"command": "frontMatter.dashboard",
|
|
"group": "navigation@5",
|
|
"when": "view == frontMatter.explorer || view == explorer"
|
|
}
|
|
]
|
|
},
|
|
"grammars": [
|
|
{
|
|
"path": "./syntaxes/hugo.tmLanguage.json",
|
|
"scopeName": "frontmatter.markdown.hugo",
|
|
"injectTo": [
|
|
"text.html.markdown"
|
|
]
|
|
}
|
|
],
|
|
"walkthroughs": [
|
|
{
|
|
"id": "frontmatter.welcome",
|
|
"title": "Get started with Front Matter",
|
|
"description": "Discover the features of Front Matter and learn how to use the CMS for your SSG or static site.",
|
|
"steps": [
|
|
{
|
|
"id": "frontmatter.welcome.init",
|
|
"title": "Get started",
|
|
"description": "Initial steps to get started.\n[Open dashboard](command:frontMatter.dashboard)",
|
|
"media": {
|
|
"markdown": "assets/walkthrough/get-started.md"
|
|
},
|
|
"completionEvents": [
|
|
"onContext:frontMatterInitialized"
|
|
]
|
|
},
|
|
{
|
|
"id": "frontmatter.welcome.documentation",
|
|
"title": "Documentation",
|
|
"description": "Check out the documentation for Front Matter.\n[View our documentation](https://frontmatter.codes/docs)",
|
|
"media": {
|
|
"markdown": "assets/walkthrough/documentation.md"
|
|
},
|
|
"completionEvents": [
|
|
"onLink:https://frontmatter.codes/docs"
|
|
]
|
|
},
|
|
{
|
|
"id": "frontmatter.welcome.supporter",
|
|
"title": "Support the project",
|
|
"description": "Become a supporter.\n[Support the project](https://github.com/sponsors/estruyf)",
|
|
"media": {
|
|
"markdown": "assets/walkthrough/support-the-project.md"
|
|
},
|
|
"completionEvents": [
|
|
"onLink:https://github.com/sponsors/estruyf"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"dev:ext": "npm run clean && npm run localization:generate && npm-run-all --parallel watch:*",
|
|
"vscode:prepublish": "npm run clean && npm run localization:generate && npm-run-all --parallel prod:*",
|
|
"build:ext": "npm run clean && npm-run-all --parallel dev:build:*",
|
|
"watch:ext": "webpack --mode development --watch --config ./webpack/extension.config.js",
|
|
"watch:dashboard": "webpack serve --mode development --config ./webpack/dashboard.config.js",
|
|
"watch:panel": "webpack serve --mode development --config ./webpack/panel.config.js",
|
|
"dev:build:ext": "webpack --mode development --config ./webpack/extension.config.js",
|
|
"dev:build:dashboard": "webpack --mode development --config ./webpack/dashboard.config.js",
|
|
"dev:build:panel": "webpack --mode development --config ./webpack/panel.config.js",
|
|
"prod:ext": "webpack --mode production --config ./webpack/extension.config.js",
|
|
"prod:dashboard": "webpack --mode production --config ./webpack/dashboard.config.js",
|
|
"prod:panel": "webpack --mode production --config ./webpack/panel.config.js",
|
|
"test-compile": "tsc -p ./",
|
|
"clean": "rimraf dist",
|
|
"start:site": "cd ./docs && npm run dev",
|
|
"clean:test": "rm ./e2e/sample/frontmatter.json || exit 0 && rm -rf ./e2e/sample/.frontmatter || exit 0",
|
|
"test": "npm run lint; tsc -p tsconfig.e2e.json && npm run clean:test && npm run i -g @vscode/vsce && node ./e2e/out/runTests.js",
|
|
"lint": "eslint --max-warnings=0 ./src/{commands,components}",
|
|
"prettier": "prettier --write ./src",
|
|
"localization:watch": "node ./scripts/watch-localization.js",
|
|
"localization:generate": "node scripts/generate-localization-enum.js",
|
|
"localization:sync": "node scripts/sync-localization.js",
|
|
"localization:find": "node scripts/find-localization.js"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "^1.10.0",
|
|
"@bendera/vscode-webview-elements": "0.6.2",
|
|
"@estruyf/vscode": "^1.1.0",
|
|
"@headlessui/react": "^1.7.17",
|
|
"@heroicons/react": "^2.1.1",
|
|
"@iarna/toml": "2.2.3",
|
|
"@octokit/rest": "^18.12.0",
|
|
"@popperjs/core": "^2.11.6",
|
|
"@sentry/react": "^6.19.7",
|
|
"@sentry/tracing": "^6.19.7",
|
|
"@tailwindcss/forms": "^0.5.3",
|
|
"@types/chai": "^4.3.4",
|
|
"@types/glob": "7.1.3",
|
|
"@types/invariant": "^2.2.35",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/lodash.omit": "^4.5.7",
|
|
"@types/lodash.uniqby": "4.7.6",
|
|
"@types/lodash.xor": "^4.5.7",
|
|
"@types/mdast": "^3.0.10",
|
|
"@types/mime-types": "^2.1.1",
|
|
"@types/mocha": "^5.2.7",
|
|
"@types/mustache": "^4.2.2",
|
|
"@types/node": "10.17.48",
|
|
"@types/node-fetch": "^2.6.2",
|
|
"@types/react": "17.0.0",
|
|
"@types/react-datepicker": "^4.8.0",
|
|
"@types/react-dom": "17.0.0",
|
|
"@types/vscode": "^1.73.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
|
"@typescript-eslint/parser": "^5.50.0",
|
|
"@vscode/codicons": "0.0.20",
|
|
"@vscode/l10n": "^0.0.14",
|
|
"@vscode/webview-ui-toolkit": "^1.2.2",
|
|
"@webpack-cli/serve": "^1.7.0",
|
|
"ajv": "^8.12.0",
|
|
"array-move": "^4.0.0",
|
|
"assert": "^2.0.0",
|
|
"autoprefixer": "^10.4.13",
|
|
"chai": "^4.3.7",
|
|
"cheerio": "1.0.0-rc.12",
|
|
"css-loader": "5.2.7",
|
|
"date-fns": "2.23.0",
|
|
"dotenv": "^16.3.1",
|
|
"downshift": "6.0.6",
|
|
"eslint": "^8.33.0",
|
|
"fuse.js": "6.5.3",
|
|
"github-directory-downloader": "^1.3.6",
|
|
"glob": "7.1.6",
|
|
"gray-matter": "4.0.3",
|
|
"html-loader": "1.3.2",
|
|
"html-webpack-plugin": "4.5.0",
|
|
"image-size": "^1.0.2",
|
|
"invariant": "^2.2.4",
|
|
"js-yaml": "^4.1.0",
|
|
"jsonc-parser": "^3.2.0",
|
|
"lodash-es": "^4.17.21",
|
|
"lodash.omit": "^4.5.0",
|
|
"lodash.uniqby": "4.7.0",
|
|
"lodash.xor": "^4.5.0",
|
|
"mdast-util-from-markdown": "1.0.0",
|
|
"mime-types": "^2.1.35",
|
|
"mocha": "^10.2.0",
|
|
"mustache": "^4.2.0",
|
|
"node-fetch": "^2.6.9",
|
|
"node-json-db": "^2.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"path-browserify": "^1.0.1",
|
|
"postcss": "^8.4.21",
|
|
"postcss-loader": "^7.0.2",
|
|
"prettier": "^2.8.3",
|
|
"prettier-plugin-tailwindcss": "^0.2.2",
|
|
"process": "^0.11.10",
|
|
"react": "17.0.1",
|
|
"react-datepicker": "4.2.1",
|
|
"react-dom": "17.0.1",
|
|
"react-dropzone": "^11.7.1",
|
|
"react-markdown": "^8.0.7",
|
|
"react-popper": "^2.3.0",
|
|
"react-quill": "^2.0.0",
|
|
"react-router-dom": "^6.8.0",
|
|
"react-sortable-hoc": "^2.0.0",
|
|
"recoil": "^0.4.1",
|
|
"remark-gfm": "^3.0.1",
|
|
"rimraf": "^3.0.2",
|
|
"semver": "^7.3.8",
|
|
"simple-git": "^3.16.0",
|
|
"style-loader": "2.0.0",
|
|
"tailwindcss": "^3.2.4",
|
|
"ts-loader": "^9.4.2",
|
|
"typescript": "^4.9.5",
|
|
"uniforms": "^3.10.2",
|
|
"uniforms-antd": "^3.10.2",
|
|
"uniforms-bridge-json-schema": "^3.10.2",
|
|
"uniforms-unstyled": "^3.10.2",
|
|
"url-join-ts": "^1.0.5",
|
|
"vscode-extension-tester": "^5.3.0",
|
|
"wc-react": "github:estruyf/wc-react",
|
|
"webpack": "^5.75.0",
|
|
"webpack-bundle-analyzer": "^4.7.0",
|
|
"webpack-cli": "^4.10.0",
|
|
"webpack-dev-server": "^4.11.1",
|
|
"webpack-ignore-dynamic-require": "^1.0.0",
|
|
"yaml": "^2.2.1",
|
|
"yawn-yaml": "^1.5.0"
|
|
},
|
|
"vsce": {
|
|
"dependencies": false
|
|
}
|
|
}
|