Expand CultCacheTS toward full CultCache ergonomics
This commit is contained in:
parent
9562d6a603
commit
be0a96db7b
23 changed files with 1488 additions and 119 deletions
|
|
@ -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),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue