High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
import type { CommonPosition } from '#lib/utils/layout-utils.ts';
import type { TimelineAsset } from './types';
export class ViewerAsset {
position: CommonPosition | undefined = $state.raw();
asset: TimelineAsset = $state() as TimelineAsset;
id: string = $derived(this.asset.id);
constructor(asset: TimelineAsset) {
this.asset = asset;
}
}