Files
upload-gltf/lib/types.ts
T
2026-04-27 17:22:53 +02:00

32 lines
574 B
TypeScript

import type { AssetCategory } from './asset-classification'
export interface ParsedFile {
filename: string
buffer: Buffer
isModel: boolean
}
export interface PushFile {
path: string
contentBase64: string
}
export type FileChange = 'new' | 'changed' | 'unchanged'
export interface FileDiff {
name: string
status: 'changed' | 'new' | 'deleted'
}
export interface RemoteFile {
name: string
size: number
}
export interface PreparedAssetSummary {
filename: string
kind: 'model' | 'texture' | 'asset'
category?: AssetCategory
compressed: boolean
}