Files
romm/frontend/src/__generated__/models/MemoryCardSchema.ts
Zach Clendenen d9fe02bdb1 feat(memory-cards): store whole memory card images per user and emulator
Adds the MemoryCard/MemoryCardVersion models and migration, a database
handler, and the /api/memory-cards endpoints for creating, renaming,
sharing, downloading and uploading a card. Cards are scoped to a user
and emulator rather than a rom, since one card holds every game's saves.

Also streams zip entries when hashing so a compression bomb cannot
exhaust memory, and adds a CLI helper for importing an existing card.
2026-08-30 22:41:36 -05:00

22 lines
581 B
TypeScript

/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* A card's identity. Its data lives in `versions`; the list views return
* the card without them (fetch history via the versions route) so the schema
* never touches the lazy="raise" relationship.
*/
export type MemoryCardSchema = {
id: number;
user_id: number;
emulator: string;
platform_id?: (number | null);
name: string;
slot: number;
is_public?: boolean;
created_at: string;
updated_at: string;
};