• Type Parameters

    • TType extends SchemaFields & object & {
          archivist?: string;
          labels?: Labels;
          name?: string;
          paging?: Record<string, {
              size?: number;
          }>;
          retry?: RetryConfig;
          schema: "network.xyo.api.call.witness.config";
          security?: {
              allowAnonymous?: boolean;
              allowed?: Record<string, (string | CosigningAddressSet)[]>;
              disallowed?: Record<string, string[]>;
          };
          sign?: boolean;
          storeQueries?: boolean;
          timestamp?: boolean;
      } & ArchivingModuleConfig & {
          schema: "network.xyo.api.call.witness.config";
      } & {
          archivist?: string;
          labels?: Labels;
          name?: string;
          paging?: Record<string, {
              size?: number;
          }>;
          retry?: RetryConfig;
          schema: "network.xyo.api.call.witness.config";
          security?: {
              allowAnonymous?: boolean;
              allowed?: Record<string, (string | CosigningAddressSet)[]>;
              disallowed?: Record<string, string[]>;
          };
          sign?: boolean;
          storeQueries?: boolean;
          timestamp?: boolean;
      } & {
          schema: "network.xyo.api.call.witness.config";
      } & {
          accept?: "application/json";
          queries?: Queries;
          schema: "network.xyo.api.call.witness.config";
          timeout?: number;
          verb?: Verb;
      } & {
          uri: string;
      }

    Parameters

    • value: unknown
    • Optional config: TypeCheckConfig

    Returns undefined | TType

  • Type Parameters

    • TType_1 extends SchemaFields & object & {
          archivist?: string;
          labels?: Labels;
          name?: string;
          paging?: Record<string, {
              size?: number;
          }>;
          retry?: RetryConfig;
          schema: "network.xyo.api.call.witness.config";
          security?: {
              allowAnonymous?: boolean;
              allowed?: Record<string, (string | CosigningAddressSet)[]>;
              disallowed?: Record<string, string[]>;
          };
          sign?: boolean;
          storeQueries?: boolean;
          timestamp?: boolean;
      } & ArchivingModuleConfig & {
          schema: "network.xyo.api.call.witness.config";
      } & {
          archivist?: string;
          labels?: Labels;
          name?: string;
          paging?: Record<string, {
              size?: number;
          }>;
          retry?: RetryConfig;
          schema: "network.xyo.api.call.witness.config";
          security?: {
              allowAnonymous?: boolean;
              allowed?: Record<string, (string | CosigningAddressSet)[]>;
              disallowed?: Record<string, string[]>;
          };
          sign?: boolean;
          storeQueries?: boolean;
          timestamp?: boolean;
      } & {
          schema: "network.xyo.api.call.witness.config";
      } & {
          accept?: "application/json";
          queries?: Queries;
          schema: "network.xyo.api.call.witness.config";
          timeout?: number;
          verb?: Verb;
      } & {
          uri: string;
      }

    Parameters

    • value: unknown
    • assert: string | (() => string)
    • Optional config: TypeCheckConfig

    Returns TType_1

Generated using TypeDoc