forked from jsnbuchanan/crowd-funder-for-time-pwa
add large notice when user has a new offer to them
This commit is contained in:
@@ -31,8 +31,13 @@ export type Settings = {
|
||||
isRegistered?: boolean;
|
||||
imageServer?: string;
|
||||
lastName?: string; // deprecated - put all names in firstName
|
||||
|
||||
lastAckedOfferToUserJwtId?: string; // the last JWT ID for offer-to-user that they've acknowledged
|
||||
|
||||
// The claim list has a most recent one used in notifications that's separate from the last viewed
|
||||
lastNotifiedClaimId?: string;
|
||||
lastViewedClaimId?: string;
|
||||
|
||||
passkeyExpirationMinutes?: number; // passkey access token time-to-live in minutes
|
||||
profileImageUrl?: string; // may be null if unwanted for a particular account
|
||||
reminderTime?: number; // Time in milliseconds since UNIX epoch for reminders
|
||||
@@ -53,7 +58,7 @@ export type Settings = {
|
||||
webPushServer?: string; // Web Push server URL
|
||||
};
|
||||
|
||||
export function isAnyFeedFilterOn(settings: Settings): boolean {
|
||||
export function checkIsAnyFeedFilterOn(settings: Settings): boolean {
|
||||
return !!(settings?.filterFeedByNearby || settings?.filterFeedByVisible);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user