Files
vscode-front-matter/src/panelWebView/CommandToCode.ts
2024-06-26 11:35:02 +02:00

51 lines
1.8 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',
selectFile = 'select-file',
updateCustomTaxonomy = 'updateCustomTaxonomy',
addToCustomTaxonomy = 'addToCustomTaxonomy',
frameworkCommand = 'framework-command',
updateStartCommand = 'update-start-command',
getImageUrl = 'get-image-url',
updatePlaceholder = 'update-placeholder',
getMode = 'get-mode',
generateContentType = 'generate-content-type',
addMissingFields = 'add-missing-fields',
setContentType = 'set-content-type',
getDataEntries = 'get-data-entries',
generateSlug = 'generate-slug',
stopServer = 'stop-server',
aiSuggestTaxonomy = 'ai-suggest-taxonomy',
aiSuggestDescription = 'ai-suggest-description',
copilotSuggestDescription = 'copilot-suggest-description',
copilotSuggestTaxonomy = 'copilot-suggest-taxonomy',
searchByType = 'search-by-type',
processMediaData = 'process-media-data',
isServerStarted = 'is-server-started'
}