Interface iComplianceDoc<T>

interface iComplianceDoc<T> {
    _docId: string;
    _id?: string;
    accounts: {
        nsfw: {
            bitbadgesAddress: string;
            reason: string;
        }[];
        reported: {
            bitbadgesAddress: string;
            reason: string;
        }[];
    };
    addressLists: {
        nsfw: {
            listId: string;
            reason: string;
        }[];
        reported: {
            listId: string;
            reason: string;
        }[];
    };
    badges: {
        nsfw: iBatchBadgeDetails<T>[];
        reported: iBatchBadgeDetails<T>[];
    };
    groups?: {
        nsfw: {
            groupId: string;
            reason: string;
        }[];
        reported: {
            groupId: string;
            reason: string;
        }[];
    };
}

Type Parameters

Hierarchy (view full)

  • Doc
    • iComplianceDoc

Implemented by

Properties

_docId: string

A unique stringified document ID

_id?: string

A unique document ID (Mongo DB ObjectID)

accounts: {
    nsfw: {
        bitbadgesAddress: string;
        reason: string;
    }[];
    reported: {
        bitbadgesAddress: string;
        reason: string;
    }[];
}
addressLists: {
    nsfw: {
        listId: string;
        reason: string;
    }[];
    reported: {
        listId: string;
        reason: string;
    }[];
}
badges: {
    nsfw: iBatchBadgeDetails<T>[];
    reported: iBatchBadgeDetails<T>[];
}
groups?: {
    nsfw: {
        groupId: string;
        reason: string;
    }[];
    reported: {
        groupId: string;
        reason: string;
    }[];
}