prorm API Reference
    Preparing search index...

    Interface WORMTamperLog

    Tamper log entry for chain verification

    interface WORMTamperLog {
        id: number;
        recordId: string | number;
        tableName: string;
        operation: "create" | "archive" | "freeze" | "unfreeze" | "tamper_detected";
        hash: string;
        previousHash: string;
        timestamp: Date;
        performedBy?: string | number;
        metadata?: Record<string, any>;
    }
    Index
    id: number

    Unique identifier

    recordId: string | number

    Record ID this log applies to

    tableName: string

    Table name

    operation: "create" | "archive" | "freeze" | "unfreeze" | "tamper_detected"

    Operation performed

    hash: string

    Hash of record state at this point

    previousHash: string

    Previous hash in chain

    timestamp: Date

    Timestamp of operation

    performedBy?: string | number

    User who performed the operation

    metadata?: Record<string, any>

    Additional metadata