Files
crowd-funder-for-time-pwa/src/db/tables/temp.ts

13 lines
339 B
TypeScript

// for ephemeral uses, eg. passing a blob from the service worker to the main thread
export type Temp = {
id: string;
blob?: Blob; // deprecated because webkit (Safari) does not support Blob
blobB64?: string; // base64-encoded blob
};
/**
* Schema for the Temp table in the database.
*/
export const TempSchema = { temp: "id" };