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

    Class CREvent<Type, Shape, Snapshot>

    CRDT-backed Schema.org Event.

    Schema.org: An event happening at a certain time and location.

    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.

    about: Readonly<CRSet<CREventThing>>
    actor: Readonly<CRSet<CREventActor>>
    additionalType: Readonly<CRSet<string>>

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

    aggregateRating: Readonly<CRSet<CRIdReferenceValue | CRAggregateRatingSnapshot>>
    alternateName: Readonly<CRSet<string>>

    Schema.org alternateName: An alias for the item.

    attendee: Readonly<CRSet<CREventPersonOrOrganization>>
    audience: Readonly<CRSet<CRIdReferenceValue | CRAudienceSnapshot>>
    composer: Readonly<CRSet<CREventPersonOrOrganization>>
    contributor: Readonly<CRSet<CREventPersonOrOrganization>>
    description: Readonly<CRText>

    Schema.org description: A description of the item.

    director: Readonly<CRSet<CREventPerson>>
    disambiguatingDescription: Readonly<CRText>

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

    doorTime: string
    duration: CREventDuration
    endDate: string
    eventAttendanceMode: CREventAttendanceMode
    eventSchedule: Readonly<CRSet<CREventSchedule>>
    eventStatus: CREventStatus
    funder: Readonly<CRSet<CREventPersonOrOrganization>>
    funding: Readonly<CRSet<CRIdReferenceValue | CRTypedIdReferenceValue<"Grant">>>
    hasParticipationOffer: Readonly<CRSet<CREventOfferOnly>>
    hasSponsorshipOffer: Readonly<CRSet<CREventOfferOnly>>
    identifier: Readonly<
        string
        | CRIdReferenceValue
        | CRTypedIdReferenceValue<"PropertyValue">,
    >

    Schema.org identifier.

    image: Readonly<CRSet<CRThingImage>>

    Schema.org image: An image of the item.

    inLanguage: Readonly<CRSet<CREventLanguage>>
    isAccessibleForFree: boolean
    keywords: Readonly<CRSet<CREventKeywords>>
    location: Readonly<CRSet<CREventLocation>>
    mainEntityOfPage: Readonly<CRSet<CRThingMainEntityOfPage>>

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

    maximumAttendeeCapacity: number
    maximumPhysicalAttendeeCapacity: number
    maximumVirtualAttendeeCapacity: number
    name: Readonly<CRText>

    Schema.org name: The name of the item.

    offers: Readonly<CRSet<CREventOffer>>
    organizer: Readonly<CRSet<CREventPersonOrOrganization>>
    owner: Readonly<CRSet<CRThingOwner>>

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

    performer: Readonly<CRSet<CREventPersonOrOrganization>>
    potentialAction: Readonly<CRSet<CRThingPotentialAction>>

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

    previousStartDate: Readonly<CRSet<string>>
    recordedIn: Readonly<CRSet<CRIdReferenceValue | CRCreativeWorkSnapshot>>
    remainingAttendeeCapacity: number
    review: Readonly<CRSet<CREventReview>>
    sameAs: Readonly<CRSet<string>>

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

    sponsor: Readonly<CRSet<CREventPersonOrOrganization>>
    startDate: string
    subEvent: Readonly<CRSet<CREventReference>>
    subjectOf: Readonly<CRSet<CRThingSubjectOf>>

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

    superEvent: Readonly<CRSet<CREventReference>>
    translator: Readonly<CRSet<CREventPersonOrOrganization>>
    typicalAgeRange: string
    url: string

    Schema.org url: URL of the item.

    workFeatured: Readonly<CRSet<CRIdReferenceValue | CRCreativeWorkSnapshot>>
    workPerformed: Readonly<CRSet<CRIdReferenceValue | CRCreativeWorkSnapshot>>

    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

    • Returns the current serializable snapshot projection of this replica.

      Called automatically by JSON.stringify.

      Returns CRStructSnapshot<Shape>

    • Returns cloned copies of the current field values.

      Type Parameters

      • K extends string | number | symbol

      Returns Shape[K][]

      The current field values.