API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceCacheRecordKey

@codexo/exojs / assets / stable

The identity of one persisted cache record. A SourceKey alone is deliberately not enough. It carries no asset type - two types may acquire one URL and keep entirely different representations of it - and it says nothing about the layout that wrote the record. Both belong in the persistent identity, or a store would serve one type's representation to another, and a layout change would decode data it no longer understands.

4
props
0
methods
0
events
Import
import { CacheRecordKey } from '@codexo/exojs'

The identity of one persisted cache record.

A SourceKey alone is deliberately not enough. It carries no asset type - two types may acquire one URL and keep entirely different representations of it - and it says nothing about the layout that wrote the record. Both belong in the persistent identity, or a store would serve one type's representation to another, and a layout change would decode data it no longer understands.

Properties4
namespace: string
The storage namespace, which is the asset type's stable id.
record: string
Which of the layout's records this is.
source: string
The source identity the record was acquired for.
version: number
The CacheLayout version that wrote it.
Source