• Type Parameters

    • TType extends DivinerModule<
          BaseParamsFields & {
              account?: AccountInstance
              | "random";
              additionalSigners?: AccountInstance[];
              addToResolvers?: boolean;
              allowNameResolution?: boolean;
              config: DeepRestrictToStringKeys<
                  {
                      allowedQueries?: string[];
                      archiving?: { archivists?: string[]; queries?: string[] };
                      archivist?: string;
                      consoleLogger?: any;
                      labels?: { [x: string]: undefined | string };
                      name?: string;
                      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[];
          },
      >

    Parameters

    Returns undefined | TType

  • Type Parameters

    • TType extends DivinerModule<
          BaseParamsFields & {
              account?: AccountInstance
              | "random";
              additionalSigners?: AccountInstance[];
              addToResolvers?: boolean;
              allowNameResolution?: boolean;
              config: DeepRestrictToStringKeys<
                  {
                      allowedQueries?: string[];
                      archiving?: { archivists?: string[]; queries?: string[] };
                      archivist?: string;
                      consoleLogger?: any;
                      labels?: { [x: string]: undefined | string };
                      name?: string;
                      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[];
          },
      >

    Parameters

    • value: AnyNonPromise
    • assert: StringOrAlertFunction<
          DivinerModule<
              BaseParamsFields & {
                  account?: AccountInstance
                  | "random";
                  additionalSigners?: AccountInstance[];
                  addToResolvers?: boolean;
                  allowNameResolution?: boolean;
                  config: DeepRestrictToStringKeys<
                      {
                          allowedQueries?: string[];
                          archiving?: { archivists?: string[]; queries?: string[] };
                          archivist?: string;
                          consoleLogger?: any;
                          labels?: { [x: string]: undefined | string };
                          name?: string;
                          paging?: { [x: string]: { size?: number } };
                          retry?: { backoff?: number; interval?: number; retries?: number };
                          schema: string;
                          security?: {
                              allowAnonymous?: boolean;
                              allowed?: { [x: string]: (...)[] };
                              disallowed?: { [x: string]: (...)[] };
                          };
                          sign?: boolean;
                          storeQueries?: boolean;
                          timestamp?: boolean;
                      },
                  >;
                  ephemeralQueryAccountEnabled?: boolean;
                  moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
              },
          >,
      >
    • Optionalconfig: TypeCheckConfig

    Returns TType