feat: add app ping url (#2380)

Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
Manuel
2025-02-21 22:47:30 +01:00
committed by GitHub
parent 9d54e938c8
commit fb467ac165
18 changed files with 3679 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ export const mapOldmarrApp = (app: OldmarrApp): InferSelectModel<typeof apps> =>
iconUrl: app.appearance.iconUrl,
description: app.behaviour.tooltipDescription ?? null,
href: app.behaviour.externalUrl || app.url,
pingUrl: app.url.length > 0 ? app.url : null,
};
};
@@ -23,5 +24,6 @@ export const mapOldmarrBookmarkApp = (
iconUrl: app.iconUrl,
description: null,
href: app.href,
pingUrl: null,
};
};