feat: album order per user

This commit is contained in:
Alex Tran
2026-05-03 14:12:04 -05:00
parent 3d320d9751
commit 59384b90b0
12 changed files with 137 additions and 37 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
import { Selectable } from 'kysely';
import { AlbumUserRole } from 'src/enum';
import { AlbumUserRole, AssetOrder } from 'src/enum';
import { AlbumUserTable } from 'src/schema/tables/album-user.table';
import { AlbumFactory } from 'test/factories/album.factory';
import { build } from 'test/factories/builder.factory';
@@ -24,6 +24,7 @@ export class AlbumUserFactory {
albumId: newUuid(),
userId: newUuid(),
role: AlbumUserRole.Editor,
order: AssetOrder.Desc,
createId: newUuidV7(),
createdAt: newDate(),
updateId: newUuidV7(),