🎉 init

This commit is contained in:
2026-07-01 15:43:18 +02:00
commit 2f492c55be
64 changed files with 11645 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
const STORAGE_KEY = 'stb:last-payment-link'
type StorageLike = Pick<Storage, 'getItem' | 'setItem'>
export function readCachedPaymentLink(storage: StorageLike): string | null {
return storage.getItem(STORAGE_KEY) || null
}
export function writeCachedPaymentLink(storage: StorageLike, link: string): void {
storage.setItem(STORAGE_KEY, link)
}