Expand CultCacheTS toward full CultCache ergonomics

This commit is contained in:
Meta Vens 2026-05-06 04:41:11 +01:00
commit be0a96db7b
23 changed files with 1488 additions and 119 deletions

View file

@ -9,7 +9,7 @@ import type { CacheBackingStore, CultCacheEnvelope, PushAllOptions } from "./typ
const envelopeSchema = z.object({
key: z.string().min(1),
type: z.string().min(1),
payload: z.unknown(),
payload: z.instanceof(Uint8Array),
storedAt: z.string().min(1),
});