feat(api): 支持外部客户端创建作品和更新版本

This commit is contained in:
yuzhe
2026-07-21 18:28:21 +08:00
parent b42f46c182
commit e4d1d3bcea
13 changed files with 418 additions and 56 deletions

View File

@@ -125,6 +125,7 @@ export interface WorkCollection {
export interface Note {
id: number;
collection_id: number;
external_id: string | null;
title: string;
description: string;
tags: string[];
@@ -144,7 +145,7 @@ export interface NoteImage {
width: number;
height: number;
order_index: number;
storage_provider: 'local' | 'tencent_cos';
storage_provider: 'local' | 'tencent_cos' | 'external';
storage_key: string;
}
@@ -231,4 +232,5 @@ export interface NoteListQuery {
tag?: string;
projectId?: number;
groupId?: number;
externalId?: string;
}