mirror of
https://github.com/rommapp/romm.git
synced 2026-12-04 12:52:19 +01:00
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.
12 lines
277 B
TypeScript
12 lines
277 B
TypeScript
/* generated using openapi-typescript-codegen -- do not edit */
|
|
/* istanbul ignore file */
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
export type MemoryCardCreatePayload = {
|
|
name: string;
|
|
emulator: string;
|
|
platform_id?: (number | null);
|
|
is_public?: boolean;
|
|
};
|
|
|