ar-test/app/types/asset.ts
2026-10-27 16:28:48 +05:30

29 lines
592 B
TypeScript

import type { RecordModel } from 'pocketbase';
import type { Project } from '~/types/project';
export interface ArAsset extends RecordModel {
name: string;
glb_file: string;
glb_url: string;
usdz_file: string;
usdz_url: string;
qr_url: string;
project: string;
branded_qr: boolean;
created: string;
updated: string;
expand?: { project?: Project };
}
export interface AssetPage {
items: ArAsset[];
page: number;
totalPages: number;
totalItems: number;
}
export interface AssetCounts {
total: number;
unassigned: number;
}