Member Junction
    Preparing search index...

    Represents the structure of a metadata record with optional sync tracking

    interface RecordData {
        deleteRecord?: {
            delete: boolean;
            deletedAt?: string;
            notFound?: boolean;
        };
        fields: Record<string, any>;
        primaryKey?: Record<string, any>;
        relatedEntities?: Record<string, RecordData[]>;
        sync?: { checksum: string; lastModified: string };
    }
    Index

    Properties

    deleteRecord?: { delete: boolean; deletedAt?: string; notFound?: boolean }

    Delete record directive for removing records from the database

    Type Declaration

    • delete: boolean

      Flag to indicate this record should be deleted

    • OptionaldeletedAt?: string

      ISO timestamp of when the deletion was performed

    • OptionalnotFound?: boolean

      Flag to indicate the record was not found when attempting deletion

    fields: Record<string, any>

    Entity field names and their values

    primaryKey?: Record<string, any>

    Primary key field(s) and their values

    relatedEntities?: Record<string, RecordData[]>

    Related entities organized by entity name

    sync?: { checksum: string; lastModified: string }

    Synchronization metadata for change tracking

    Type Declaration

    • checksum: string

      SHA256 checksum of the fields object

    • lastModified: string

      ISO timestamp of last modification