feat(api): 支持外部客户端创建作品和更新版本
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user