refactor: migrate library spec to factories (#16711)

This commit is contained in:
Jason Rasmussen 2025-03-08 13:44:36 -05:00 committed by GitHub
parent fd46d43726
commit 1e127ae3a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 407 additions and 535 deletions

View file

@ -10,6 +10,20 @@ export type AuthUser = {
quotaSizeInBytes: number | null;
};
export type Library = {
id: string;
ownerId: string;
createdAt: Date;
updatedAt: Date;
updateId: string;
name: string;
importPaths: string[];
exclusionPatterns: string[];
deletedAt: Date | null;
refreshedAt: Date | null;
assets?: Asset[];
};
export type AuthApiKey = {
id: string;
permissions: Permission[];