@refinio/one.models
    Preparing search index...

    This directory takes a (partial) date as input and loads the ObjectData objects for those dates.

    Type Parameters

    • T = unknown

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Mark all cached values out of date that happened after the timeOfEarliestChange.

      Note: The individual implementations decide whether to invalidate the content of a folder. At the moment all implementations adhere to the >= timeOfEarliestChange rule, but this might change.

      Parameters

      • timeOfEarliestChange: Date

      Returns void

    • Needs to return whether the content of a sub-directories has to be updated (cache needs to be invalidated).

      Parameters

      • _creationTimeHash: string
      • _timeOfEarliestChange: Date

      Returns boolean

    • This implementation needs to return the parameters that are forwarded to the sub-directory based on the value that was initially returned by the iterator.

      Parameters

      • creationTimeHash: string

      Returns { data: ObjectData<T> }