diff --git a/libraries/shared/src/paths.ts b/libraries/shared/src/paths.ts index 2bc13d5..79c3c59 100644 --- a/libraries/shared/src/paths.ts +++ b/libraries/shared/src/paths.ts @@ -9,6 +9,7 @@ export const PluginsDirectoryPath = `${BaseDirectory}/plugins` export const PluginsStatesFilePath = `${PluginsDirectoryPath}/states.json` export const ExternalPluginsMetadataFilePath = `${PluginsDirectoryPath}/externals.json` -export const ExternalPluginManifestFilePath = (id: string) => `${PluginsDirectoryPath}/${id}/manifest.json` -export const ExternalPluginSourceFilePath = (id: string) => `${PluginsDirectoryPath}/${id}/source.zip` -export const PluginStoragePath = (id: string) => `${PluginsDirectoryPath}/${id}/storage.json` +export const PluginDirectoryPath = (id: string) => `${PluginsDirectoryPath}/${id}` +export const ExternalPluginManifestFilePath = (id: string) => `${PluginDirectoryPath(id)}/manifest.json` +export const ExternalPluginSourceFilePath = (id: string) => `${PluginDirectoryPath(id)}/source.zip` +export const PluginStoragePath = (id: string) => `${PluginDirectoryPath(id)}/storage.json`