Interface iComplianceDoc<T>

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

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: {
        cosmosAddress: string;
        reason: string;
    }[];
    reported: {
        cosmosAddress: string;
        reason: string;
    }[];
}

Type declaration

  • nsfw: {
        cosmosAddress: string;
        reason: string;
    }[]
  • reported: {
        cosmosAddress: string;
        reason: string;
    }[]
addressLists: {
    nsfw: {
        listId: string;
        reason: string;
    }[];
    reported: {
        listId: string;
        reason: string;
    }[];
}

Type declaration

  • nsfw: {
        listId: string;
        reason: string;
    }[]
  • reported: {
        listId: string;
        reason: string;
    }[]
badges: {
    nsfw: iBatchBadgeDetails<T>[];
    reported: iBatchBadgeDetails<T>[];
}

Type declaration