forked from rajun/ar-test
29 lines
592 B
TypeScript
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;
|
|
}
|