@sovereignbase/schema-crdt
    Preparing search index...

    Class CRItemList<Type, Shape, Snapshot>

    CRDT-backed Schema.org ItemList.

    Schema.org: A list of items of any sort.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    "@id": string

    JSON-LD identifier for this node.

    "@type": Type

    Schema.org type name for this node.

    additionalType: Readonly<CRSet<string>>

    Schema.org additionalType: An additional type for the item.

    aggregateElement: CRItemListAggregateElement

    Schema.org aggregateElement: A prototype of the elements in the list.

    alternateName: Readonly<CRSet<string>>

    Schema.org alternateName: An alias for the item.

    description: Readonly<CRText>

    Schema.org description: A description of the item.

    disambiguatingDescription: Readonly<CRText>

    Schema.org disambiguatingDescription: A short description used to disambiguate the item from other, similar items.

    identifier: Readonly<
        string
        | CRIdReferenceValue
        | CRTypedIdReferenceValue<"PropertyValue">,
    >

    Schema.org identifier.

    image: Readonly<CRSet<CRThingImage>>

    Schema.org image: An image of the item.

    itemListElement: Readonly<CRList<CRItemListElement>>

    Schema.org itemListElement: An item in the list.

    itemListOrder: CRItemListOrder

    Schema.org itemListOrder: Type of ordering, e.g. ascending or descending.

    mainEntityOfPage: Readonly<CRSet<CRThingMainEntityOfPage>>

    Schema.org mainEntityOfPage: A page or other CreativeWork for which this thing is the main entity being described.

    name: Readonly<CRText>

    Schema.org name: The name of the item.

    numberOfItems: number

    Schema.org numberOfItems: The number of items in an ItemList.

    owner: Readonly<CRSet<CRThingOwner>>

    Schema.org owner: A person or organization who owns this Thing.

    potentialAction: Readonly<CRSet<CRThingPotentialAction>>

    Schema.org potentialAction: A potential Action for this Thing.

    sameAs: Readonly<CRSet<string>>

    Schema.org sameAs: URL of a reference Web page that unambiguously indicates the item's identity.

    subjectOf: Readonly<CRSet<CRThingSubjectOf>>

    Schema.org subjectOf: A CreativeWork or Event about this Thing.

    url: string

    Schema.org url: URL of the item.

    Methods

    • Returns cloned key-value pairs for the current replica state.

      Type Parameters

      • K extends string | number | symbol

      Returns [K, Shape[K]][]

      The current field entries.

    • Removes overwritten identifiers that every provided frontier has acknowledged.

      Parameters

      • frontiers: Partial<Record<keyof Shape, string>>[]

        A collection of acknowledgement frontiers to compact against.

      Returns void

    • Returns the struct field keys.

      Type Parameters

      • K extends string | number | symbol

      Returns K[]

      The field keys in the current replica.

    • Applies a remote or local delta to the replica state.

      Parameters

      • crStructDelta: Partial<CRStructSnapshot<Shape>> | Partial<Record<keyof Shape, unknown>>

        The partial serializable field delta to merge.

      Returns void