Type Parameters

Hierarchy (View Summary)

Constructors

  • Type Parameters

    • T extends DeepRestrictToStringKeys<
          {
              additional?: string[];
              aliases?: { [key: string]: { huri: string; name?: string } };
              networks?: {
                  name?: string;
                  nodes?: {
                      docs?: string;
                      name?: string;
                      schema: "network.xyo.network.node";
                      slug: string;
                      type: NetworkNodeType;
                      uri: string;
                      web?: string;
                  }[];
                  schema: "network.xyo.network";
                  slug: string;
              }[];
              schema: "network.xyo.domain";
          },
      > = DeepRestrictToStringKeys<
          {
              additional?: string[];
              aliases?: { [key: string]: { huri: string; name?: string } };
              networks?: {
                  name?: string;
                  nodes?: {
                      docs?: string;
                      name?: string;
                      schema: "network.xyo.network.node";
                      slug: string;
                      type: NetworkNodeType;
                      uri: string;
                      web?: string;
                  }[];
                  schema: "network.xyo.network";
                  slug: string;
              }[];
              schema: "network.xyo.domain";
          },
      >

    Parameters

    • payload: T

    Returns DomainPayloadWrapper<T>

Properties

aliases?: null | FetchedAlias[]
payload: T
loaderFactory: null | PayloadLoaderFactory

Methods

  • Returns Promise<Lowercase<string>>

  • Parameters

    • OptionalnetworkSlug: Lowercase<string>

    Returns Promise<void>

  • Parameters

    • OptionalnetworkSlug: Lowercase<string>

    Returns Promise<void>

  • Returns Promise<Error[]>

  • Returns Promise<boolean>

  • Returns string

  • Returns Promise<Error[]>

  • Parameters

    • reverseDomainName: string
    • Optionalproxy: string

    Returns Promise<
        | undefined
        | DomainPayloadWrapper<
            DeepRestrictToStringKeys<
                {
                    additional?: string[];
                    aliases?: { [x: string]: { huri: string; name?: string } };
                    networks?: {
                        name?: string;
                        nodes?: {
                            docs?: ...;
                            name?: ...;
                            schema: ...;
                            slug: ...;
                            type: ...;
                            uri: ...;
                            web?: ...;
                        }[];
                        schema: "network.xyo.network";
                        slug: string;
                    }[];
                    schema: "network.xyo.domain";
                },
            >,
        >,
    >

  • Parameters

    • domain: string

    Returns Promise<
        | undefined
        | DomainPayloadWrapper<
            DeepRestrictToStringKeys<
                {
                    additional?: string[];
                    aliases?: { [x: string]: { huri: string; name?: string } };
                    networks?: {
                        name?: string;
                        nodes?: {
                            docs?: ...;
                            name?: ...;
                            schema: ...;
                            slug: ...;
                            type: ...;
                            uri: ...;
                            web?: ...;
                        }[];
                        schema: "network.xyo.network";
                        slug: string;
                    }[];
                    schema: "network.xyo.domain";
                },
            >,
        >,
    >

  • Parameters

    • domain: string
    • Optionalproxy: string

    Returns Promise<
        | undefined
        | DomainPayloadWrapper<
            DeepRestrictToStringKeys<
                {
                    additional?: string[];
                    aliases?: { [x: string]: { huri: string; name?: string } };
                    networks?: {
                        name?: string;
                        nodes?: {
                            docs?: ...;
                            name?: ...;
                            schema: ...;
                            slug: ...;
                            type: ...;
                            uri: ...;
                            web?: ...;
                        }[];
                        schema: "network.xyo.network";
                        slug: string;
                    }[];
                    schema: "network.xyo.domain";
                },
            >,
        >,
    >

  • Parameters

    • domain: string

    Returns Promise<
        | undefined
        | DomainPayloadWrapper<
            DeepRestrictToStringKeys<
                {
                    additional?: string[];
                    aliases?: { [x: string]: { huri: string; name?: string } };
                    networks?: {
                        name?: string;
                        nodes?: {
                            docs?: ...;
                            name?: ...;
                            schema: ...;
                            slug: ...;
                            type: ...;
                            uri: ...;
                            web?: ...;
                        }[];
                        schema: "network.xyo.network";
                        slug: string;
                    }[];
                    schema: "network.xyo.domain";
                },
            >,
        >,
    >

  • Parameters

    • domain: string
    • Optionalproxy: string

    Returns Promise<
        | undefined
        | DomainPayloadWrapper<
            DeepRestrictToStringKeys<
                {
                    additional?: string[];
                    aliases?: { [x: string]: { huri: string; name?: string } };
                    networks?: {
                        name?: string;
                        nodes?: {
                            docs?: ...;
                            name?: ...;
                            schema: ...;
                            slug: ...;
                            type: ...;
                            uri: ...;
                            web?: ...;
                        }[];
                        schema: "network.xyo.network";
                        slug: string;
                    }[];
                    schema: "network.xyo.domain";
                },
            >,
        >,
    >

  • Parameters

    • address: Lowercase<string>

    Returns Promise<null | PayloadDataWrapper<DeepRestrictToStringKeys<{ schema: string }>>>

  • Type Parameters

    Parameters

    • Optionalpayload: unknown

    Returns undefined | PayloadDataWrapper<T>

  • Type Parameters

    Parameters

    • obj: unknown

    Returns undefined | PayloadDataWrapper<T>

  • Type Parameters

    Parameters

    • Optionalpayload: T | PayloadDataWrapper<T>

    Returns PayloadDataWrapper<T>

  • Type Parameters

    Parameters

    • payloads: (T | PayloadDataWrapper<T>)[]

    Returns Promise<Record<string, PayloadDataWrapper<T>>>