Files
vscode-front-matter/src/panelWebView/CommandToCode.ts
T
2022-03-31 17:05:04 +02:00

36 lines
1.3 KiB
TypeScript

export enum CommandToCode {
getData = "get-data",
updateSlug = 'update-slug',
updateDate = 'update-date',
updateLastMod = 'update-lastmod',
publish = 'publish',
updateTags = "update-tags",
updateCategories = "update-categories",
updateKeywords = "update-keywords",
addTagToSettings = "add-tag",
addCategoryToSettings = "add-category",
openSettings = "open-settings",
openFile = "open-file",
openProject = "open-project",
runCustomScript = "custom-script",
initProject = "init-project",
createContent = "create-content",
updateModifiedUpdating = "update-modified-updates",
updateFmHighlight = "update-fm-highlight",
createTemplate = "create-template",
toggleCenterMode = "toggle-center-mode",
toggleWritingSettings = "toggle-writing-settings",
openPreview = "open-preview",
updatePreviewUrl = "update-preview-url",
openInEditor = "open-in-editor",
updateMetadata = "update-metadata",
openDashboard = "open-dashboard",
selectImage = "select-image",
updateCustomTaxonomy = "updateCustomTaxonomy",
addToCustomTaxonomy = "addToCustomTaxonomy",
frameworkCommand = "framework-command",
updateStartCommand = "update-start-command",
getImageUrl = "get-image-url",
updatePlaceholder = "update-placeholder",
getMode = "get-mode",
}