Interface ArchivistModuleEventData

Hierarchy

  • InsertedEventData
  • DeletedEventData
  • ClearedEventData
  • ModuleEventData
    • ArchivistModuleEventData

Properties

cleared: {
    module: ArchivistModule<ArchivistParams<SchemaFields & PayloadFields & {
        archivist?: ArchivistModuleConfig;
        name?: string;
        paging?: Record<string, {
            size?: number;
        }>;
        schema: string;
        security?: {
            allowAnonymous?: boolean;
            allowed?: Record<string, (string | CosigningAddressSet)[]>;
            disallowed?: Record<string, string[]>;
        };
        storeQueries?: boolean;
    } & Omit<Omit<SchemaFields & PayloadFields & {
        archivist?: ArchivistModuleConfig;
        name?: string;
        paging?: Record<string, {
            size?: number;
        }>;
        schema: "network.xyo.archivist.config";
        security?: {
            allowAnonymous?: boolean;
            allowed?: Record<string, (string | CosigningAddressSet)[]>;
            disallowed?: Record<string, string[]>;
        };
        storeQueries?: boolean;
    } & Omit<{
        parents?: ArchivistParents;
        schema: "network.xyo.archivist.config";
        storeParentReads?: boolean;
    } & Omit<undefined, "schema">, "schema">, "schema"> & {
        schema: string;
    }, "schema">, undefined>, ArchivistModuleEventData>;
}

Type declaration

  • module: ArchivistModule<ArchivistParams<SchemaFields & PayloadFields & {
        archivist?: ArchivistModuleConfig;
        name?: string;
        paging?: Record<string, {
            size?: number;
        }>;
        schema: string;
        security?: {
            allowAnonymous?: boolean;
            allowed?: Record<string, (string | CosigningAddressSet)[]>;
            disallowed?: Record<string, string[]>;
        };
        storeQueries?: boolean;
    } & Omit<Omit<SchemaFields & PayloadFields & {
        archivist?: ArchivistModuleConfig;
        name?: string;
        paging?: Record<string, {
            size?: number;
        }>;
        schema: "network.xyo.archivist.config";
        security?: {
            allowAnonymous?: boolean;
            allowed?: Record<string, (string | CosigningAddressSet)[]>;
            disallowed?: Record<string, string[]>;
        };
        storeQueries?: boolean;
    } & Omit<{
        parents?: ArchivistParents;
        schema: "network.xyo.archivist.config";
        storeParentReads?: boolean;
    } & Omit<undefined, "schema">, "schema">, "schema"> & {
        schema: string;
    }, "schema">, undefined>, ArchivistModuleEventData>
deleted: {
    module: ArchivistModule<ArchivistParams<SchemaFields & PayloadFields & {
        archivist?: ArchivistModuleConfig;
        name?: string;
        paging?: Record<string, {
            size?: number;
        }>;
        schema: string;
        security?: {
            allowAnonymous?: boolean;
            allowed?: Record<string, (string | CosigningAddressSet)[]>;
            disallowed?: Record<string, string[]>;
        };
        storeQueries?: boolean;
    } & Omit<Omit<SchemaFields & PayloadFields & {
        archivist?: ArchivistModuleConfig;
        name?: string;
        paging?: Record<string, {
            size?: number;
        }>;
        schema: "network.xyo.archivist.config";
        security?: {
            allowAnonymous?: boolean;
            allowed?: Record<string, (string | CosigningAddressSet)[]>;
            disallowed?: Record<string, string[]>;
        };
        storeQueries?: boolean;
    } & Omit<{
        parents?: ArchivistParents;
        schema: "network.xyo.archivist.config";
        storeParentReads?: boolean;
    } & Omit<undefined, "schema">, "schema">, "schema"> & {
        schema: string;
    }, "schema">, undefined>, ArchivistModuleEventData>;
} & {
    found: boolean[];
    hashes: string[];
}
inserted: {
    module: ArchivistModule<ArchivistParams<SchemaFields & PayloadFields & {
        archivist?: ArchivistModuleConfig;
        name?: string;
        paging?: Record<string, {
            size?: number;
        }>;
        schema: string;
        security?: {
            allowAnonymous?: boolean;
            allowed?: Record<string, (string | CosigningAddressSet)[]>;
            disallowed?: Record<string, string[]>;
        };
        storeQueries?: boolean;
    } & Omit<Omit<SchemaFields & PayloadFields & {
        archivist?: ArchivistModuleConfig;
        name?: string;
        paging?: Record<string, {
            size?: number;
        }>;
        schema: "network.xyo.archivist.config";
        security?: {
            allowAnonymous?: boolean;
            allowed?: Record<string, (string | CosigningAddressSet)[]>;
            disallowed?: Record<string, string[]>;
        };
        storeQueries?: boolean;
    } & Omit<{
        parents?: ArchivistParents;
        schema: "network.xyo.archivist.config";
        storeParentReads?: boolean;
    } & Omit<undefined, "schema">, "schema">, "schema"> & {
        schema: string;
    }, "schema">, undefined>, ArchivistModuleEventData>;
} & {
    boundWitnesses: (SchemaFields & PayloadFields & BoundWitnessFields & {
        schema: "network.xyo.boundwitness";
    })[];
}
moduleQueried: {
    module: Module<ModuleParams<SchemaFields & PayloadFields & {
        archivist?: ArchivistModuleConfig;
        name?: string;
        paging?: Record<string, {
            size?: number;
        }>;
        schema: string;
        security?: {
            allowAnonymous?: boolean;
            allowed?: Record<string, (string | CosigningAddressSet)[]>;
            disallowed?: Record<string, string[]>;
        };
        storeQueries?: boolean;
    } & Omit<Omit<SchemaFields & PayloadFields & {
        archivist?: ArchivistModuleConfig;
        name?: string;
        paging?: Record<string, {
            size?: number;
        }>;
        schema: "network.xyo.module.config";
        security?: {
            allowAnonymous?: boolean;
            allowed?: Record<string, (string | CosigningAddressSet)[]>;
            disallowed?: Record<string, string[]>;
        };
        storeQueries?: boolean;
    } & Omit<undefined, "schema">, "schema"> & {
        schema: string;
    }, "schema">, undefined>, ModuleEventData>;
} & {
    payloads?: (SchemaFields & PayloadFields & {
        schema: string;
    })[];
    query: SchemaFields & PayloadFields & BoundWitnessFields & {
        query: string;
        resultSet?: string;
        schema: "network.xyo.boundwitness";
    };
    result: [SchemaFields & PayloadFields & BoundWitnessFields & {
        schema: "network.xyo.boundwitness";
    }, (SchemaFields & PayloadFields & {
        schema: string;
    })[]];
}

Generated using TypeDoc