Interface SchemaHistoryEntry

Full schema history entry with content

interface SchemaHistoryEntry {
    at: string | Date;
    author: string;
    id: string;
    originalId: string;
    value: {
        _id: string;
        id: string;
        legacyId?: string;
        parentSchemaId?: null | string;
        schema: ElementSchema;
        scope: string;
    };
}

Hierarchy (View Summary)

Properties

at: string | Date

Timestamp when the change was made

author: string

User ID who made the change

id: string

MongoDB ObjectId as string

originalId: string

The original schema ID this history entry belongs to

value: {
    _id: string;
    id: string;
    legacyId?: string;
    parentSchemaId?: null | string;
    schema: ElementSchema;
    scope: string;
}

The schema data at this point in history (MongoDB document format)