feat: add image management functionality

- Implemented image folder repository with CRUD operations.
- Added image reference repository for managing image references to articles.
- Created image repository for handling image assets, including listing, inserting, updating, and deleting images.
- Introduced image usage repository to track storage usage and quotas for tenants.
- Added SQL queries for image assets, folders, references, and usage.
- Developed image handler for HTTP endpoints to manage images and folders.
- Created database migration scripts for image-related tables and structures.
This commit is contained in:
2026-04-16 20:40:41 +08:00
parent 0a3558fc51
commit 27389164b0
57 changed files with 8063 additions and 153 deletions
+3
View File
@@ -4,6 +4,8 @@ import zhCN from "ant-design-vue/es/locale/zh_CN";
import { computed } from "vue";
import { useI18n } from "vue-i18n";
import ImageUploadProgressOverlay from "@/components/ImageUploadProgressOverlay.vue";
const { locale } = useI18n();
const antLocale = computed(() => (locale.value === "en-US" ? enUS : zhCN));
</script>
@@ -21,6 +23,7 @@ const antLocale = computed(() => (locale.value === "en-US" ? enUS : zhCN));
>
<a-app class="app-root">
<router-view />
<ImageUploadProgressOverlay />
</a-app>
</a-config-provider>
</template>