Cedarling JavaScript/TypeScript API
    Preparing search index...

    Class DataEntry

    A WASM wrapper for the Rust cedarling::DataEntry struct. Represents a data entry in the DataStore with value and metadata.

    Index
    access_count: bigint

    Number of times this entry has been accessed

    created_at: string

    Timestamp when this entry was created (RFC 3339 format)

    data_type: string

    The inferred Cedar type of the value

    key: string

    The key for this entry

    • get expires_at(): string | undefined

      Timestamp when this entry expires (RFC 3339 format). The getter returns undefined if no TTL.

      Returns string | undefined

    • set expires_at(value: string | null | undefined): void

      Timestamp when this entry expires (RFC 3339 format). The getter returns undefined if no TTL.

      Parameters

      • value: string | null | undefined

      Returns void

    • Returns void

    • Returns void

    • Convert DataEntry to json string value

      Returns string

    • Get the value stored in this entry as a JavaScript object

      Returns any