• Type Parameters

    • TWitness extends WitnessModule = WitnessModule<
          BaseParamsFields & {
              account?: any;
              additionalSigners?: AccountInstance[];
              addToResolvers?: boolean;
              allowNameResolution?: boolean;
              config: DeepRestrictToStringKeys<
                  {
                      allowedQueries?: string[];
                      archiving?: { archivists?: string[]; queries?: string[] };
                      archivist?: any;
                      consoleLogger?: any;
                      labels?: { [x: string]: undefined | string };
                      name?: any;
                      paging?: { [x: string]: { size?: number } };
                      retry?: { backoff?: number; interval?: number; retries?: number };
                      schema: string;
                      security?: {
                          allowAnonymous?: boolean;
                          allowed?: { [x: string]: ((...) | (...))[] };
                          disallowed?: { [x: string]: Lowercase<(...)>[] };
                      };
                      sign?: boolean;
                      storeQueries?: boolean;
                      timestamp?: boolean;
                  },
              >;
              ephemeralQueryAccountEnabled?: boolean;
              moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
          },
          WitnessModuleEventData<
              ModuleInstance<
                  BaseParamsFields & {
                      account?: any;
                      additionalSigners?: AccountInstance[];
                      addToResolvers?: boolean;
                      allowNameResolution?: boolean;
                      config: DeepRestrictToStringKeys<
                          {
                              allowedQueries?: string[];
                              archiving?: { archivists?: (...)[]; queries?: (...)[] };
                              archivist?: any;
                              consoleLogger?: any;
                              labels?: { [x: string]: undefined | string };
                              name?: any;
                              paging?: { [x: string]: { size?: (...) | (...) } };
                              retry?: { backoff?: number; interval?: number; retries?: number };
                              schema: string;
                              security?: {
                                  allowAnonymous?: boolean;
                                  allowed?: { [x: ...]: ... };
                                  disallowed?: { [x: ...]: ... };
                              };
                              sign?: boolean;
                              storeQueries?: boolean;
                              timestamp?: boolean;
                          },
                      >;
                      ephemeralQueryAccountEnabled?: boolean;
                      moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                  },
                  ModuleEventData<object>,
              >,
              DeepRestrictToStringKeys<{ schema: string }>,
              DeepRestrictToStringKeys<{ schema: string }>,
          >,
      >
    • TDiviner extends DivinerModule = DivinerModule<
          BaseParamsFields & {
              account?: any;
              additionalSigners?: AccountInstance[];
              addToResolvers?: boolean;
              allowNameResolution?: boolean;
              config: DeepRestrictToStringKeys<
                  {
                      allowedQueries?: string[];
                      archiving?: { archivists?: string[]; queries?: string[] };
                      archivist?: any;
                      consoleLogger?: any;
                      labels?: { [x: string]: undefined | string };
                      name?: any;
                      paging?: { [x: string]: { size?: number } };
                      retry?: { backoff?: number; interval?: number; retries?: number };
                      schema: string;
                      security?: {
                          allowAnonymous?: boolean;
                          allowed?: { [x: string]: ((...) | (...))[] };
                          disallowed?: { [x: string]: Lowercase<(...)>[] };
                      };
                      sign?: boolean;
                      storeQueries?: boolean;
                      timestamp?: boolean;
                  },
              >;
              ephemeralQueryAccountEnabled?: boolean;
              moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
          },
          DivinerModuleEventData<
              ModuleInstance<
                  BaseParamsFields & {
                      account?: any;
                      additionalSigners?: AccountInstance[];
                      addToResolvers?: boolean;
                      allowNameResolution?: boolean;
                      config: DeepRestrictToStringKeys<
                          {
                              allowedQueries?: string[];
                              archiving?: { archivists?: (...)[]; queries?: (...)[] };
                              archivist?: any;
                              consoleLogger?: any;
                              labels?: { [x: string]: undefined | string };
                              name?: any;
                              paging?: { [x: string]: { size?: (...) | (...) } };
                              retry?: { backoff?: number; interval?: number; retries?: number };
                              schema: string;
                              security?: {
                                  allowAnonymous?: boolean;
                                  allowed?: { [x: ...]: ... };
                                  disallowed?: { [x: ...]: ... };
                              };
                              sign?: boolean;
                              storeQueries?: boolean;
                              timestamp?: boolean;
                          },
                      >;
                      ephemeralQueryAccountEnabled?: boolean;
                      moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
                  },
                  ModuleEventData<object>,
              >,
              DeepRestrictToStringKeys<{ schema: string }>,
              DeepRestrictToStringKeys<{ schema: string }>,
          >,
      >

    Parameters

    Returns PayloadSetDualPlugin<TWitness, TDiviner>