@cfxlabsinc/b2b-services
    Preparing search index...

    Shape returned from service to controllers.

    awsS3Path is an internal detail — controllers MUST strip it before returning a document to an API consumer.

    type EntityDocument = {
        awsS3Path: string;
        createdAt: Date;
        description?: string;
        entityId: string;
        fileName: string;
        id: string;
        side?: "FRONT" | "BACK";
        status: SelectEntityDocument["status"];
        type: SelectEntityDocument["type"];
        updatedAt: Date;
    }
    Index

    Properties

    awsS3Path: string
    createdAt: Date
    description?: string
    entityId: string
    fileName: string
    id: string
    side?: "FRONT" | "BACK"
    status: SelectEntityDocument["status"]
    type: SelectEntityDocument["type"]
    updatedAt: Date