diff --git a/web/types/app-asset.ts b/web/types/app-asset.ts index 9a63a5dfd6..8fcb9aad12 100644 --- a/web/types/app-asset.ts +++ b/web/types/app-asset.ts @@ -63,14 +63,6 @@ export type AppAssetTreeResponse = { children: AppAssetTreeView[] } -/** - * File content response (GET /apps/{app_id}/assets/files/{node_id}) - */ -export type AppAssetFileContentResponse = { - content: string - metadata?: Record -} - /** * File download URL response (GET /apps/{app_id}/assets/files/{node_id}/download-url) */ @@ -115,24 +107,12 @@ export type CreateFolderPayload = { parent_id?: string | null } -/** - * Request payload for creating a file (form data) - */ -export type CreateFilePayload = { - /** File name (1-255 characters) */ - name: string - /** Parent folder ID, empty or undefined for root */ - parent_id?: string | null -} - /** * Request payload for updating file content (JSON) */ export type UpdateFileContentPayload = { /** New file content (UTF-8) */ content: string - /** Optional metadata associated with the file */ - metadata?: Record } /**