forked from jsnbuchanan/crowd-funder-for-time-pwa
12 lines
424 B
TypeScript
12 lines
424 B
TypeScript
export interface Log {
|
|
date: string;
|
|
message: string;
|
|
}
|
|
|
|
export const LogSchema = {
|
|
// Currently keyed by "date" because A) today's log data is what we need so we append, and
|
|
// B) we don't want it to grow so we remove everything if this is the first entry today.
|
|
// See safari-notifications.js logMessage for the associated logic.
|
|
logs: "date", // definitely don't key by the potentially large message field
|
|
};
|