-
+
diff --git a/torii-client/plugin-recent-projects/src/api.ts b/torii-client/plugin-recent-projects/src/service.ts
similarity index 87%
rename from torii-client/plugin-recent-projects/src/api.ts
rename to torii-client/plugin-recent-projects/src/service.ts
index b20f2ed..eb674bd 100644
--- a/torii-client/plugin-recent-projects/src/api.ts
+++ b/torii-client/plugin-recent-projects/src/service.ts
@@ -9,7 +9,7 @@ import { Ref, ref } from 'vue';
/**
* @brief Type of a recent project struct.
*/
-interface RecentProject {
+export interface RecentProject {
/**
* The name of the project.
*/
@@ -24,7 +24,13 @@ interface RecentProject {
* The timestamp of when the project was last opened, in milliseconds since
* the Unix epoch.
*/
- lastOpened?: number;
+ last_opened?: number;
+
+ /**
+ * Wether the project is added by the system. Such projects are not stored
+ * in the recent projects file and cannot be removed.
+ */
+ is_system?: boolean;
}
const recentProjects = ref([]);
diff --git a/torii-client/webapp/src/components/article/MarkdownEditor.vue b/torii-client/webapp/src/components/article/MarkdownEditor.vue
index f75c70e..dd4b3ef 100644
--- a/torii-client/webapp/src/components/article/MarkdownEditor.vue
+++ b/torii-client/webapp/src/components/article/MarkdownEditor.vue
@@ -22,7 +22,6 @@