Class ManifestWrapperEx<TManifest, TParams>

Type Parameters

Hierarchy (View Summary)

Constructors

  • Type Parameters

    • TManifest extends
          | void
          | {
              description?: string;
              modules?: {
                  [key: string]: {
                      config: {
                          accountPath?: string;
                          features?: string[];
                          labels?: { [key: string]: undefined
                          | string };
                          language?: string;
                          name: string;
                          os?: string;
                          schema: string;
                      };
                      description?: string;
                      lazyStart?: boolean;
                      status?: {
                          address: Lowercase<string>;
                          children?: { [key: Lowercase<string>]: null | string };
                      };
                  };
              };
              nodes: {
                  config: {
                      accountPath?: string;
                      features?: string[];
                      labels?: { [key: string]: undefined
                      | string };
                      language?: string;
                      name: string;
                      os?: string;
                      schema: string;
                  };
                  description?: string;
                  lazyStart?: boolean;
                  modules?: {
                      private?: (
                          | string
                          | {
                              config: {
                                  accountPath?: ...;
                                  features?: ...;
                                  labels?: ...;
                                  language?: ...;
                                  name: ...;
                                  os?: ...;
                                  schema: ...;
                              };
                              description?: (...)
                              | (...);
                              lazyStart?: (...) | (...) | (...);
                              status?: (...) | (...);
                          }
                      )[];
                      public?: (
                          | string
                          | {
                              config: {
                                  accountPath?: ...;
                                  features?: ...;
                                  labels?: ...;
                                  language?: ...;
                                  name: ...;
                                  os?: ...;
                                  schema: ...;
                              };
                              description?: (...)
                              | (...);
                              lazyStart?: (...) | (...) | (...);
                              status?: (...) | (...);
                          }
                      )[];
                  };
                  status?: {
                      address: Lowercase<string>;
                      children?: { [key: Lowercase<string>]: null | string };
                  };
              }[];
              schema: string;
          }
    • TParams extends ManifestWrapperExParams = ManifestWrapperExParams

    Parameters

    • payload: TManifest extends {
          description?: string;
          modules?: {
              [key: string]: {
                  config: {
                      accountPath?: string;
                      features?: string[];
                      labels?: { [key: string]: undefined
                      | string };
                      language?: string;
                      name: string;
                      os?: string;
                      schema: string;
                  };
                  description?: string;
                  lazyStart?: boolean;
                  status?: {
                      address: Lowercase<string>;
                      children?: { [key: Lowercase<string>]: null | string };
                  };
              };
          };
          nodes: {
              config: {
                  accountPath?: string;
                  features?: string[];
                  labels?: { [key: string]: undefined
                  | string };
                  language?: string;
                  name: string;
                  os?: string;
                  schema: string;
              };
              description?: string;
              lazyStart?: boolean;
              modules?: {
                  private?: (
                      | string
                      | {
                          config: {
                              accountPath?: ...;
                              features?: ...;
                              labels?: ...;
                              language?: ...;
                              name: ...;
                              os?: ...;
                              schema: ...;
                          };
                          description?: (...)
                          | (...);
                          lazyStart?: (...) | (...) | (...);
                          status?: (...) | (...);
                      }
                  )[];
                  public?: (
                      | string
                      | {
                          config: {
                              accountPath?: ...;
                              features?: ...;
                              labels?: ...;
                              language?: ...;
                              name: ...;
                              os?: ...;
                              schema: ...;
                          };
                          description?: (...)
                          | (...);
                          lazyStart?: (...) | (...) | (...);
                          status?: (...) | (...);
                      }
                  )[];
              };
              status?: {
                  address: Lowercase<string>;
                  children?: { [key: Lowercase<string>]: null | string };
              };
          }[];
          schema: string;
      }
          ? TManifest<TManifest>
          : {
              description?: string;
              modules?: {
                  [key: string]: {
                      config: {
                          accountPath?: string;
                          features?: string[];
                          labels?: { [key: string]: undefined | string };
                          language?: string;
                          name: string;
                          os?: string;
                          schema: string;
                      };
                      description?: string;
                      lazyStart?: boolean;
                      status?: {
                          address: Lowercase<string>;
                          children?: { [key: Lowercase<string>]: null | string };
                      };
                  };
              };
              nodes: {
                  config: {
                      accountPath?: string;
                      features?: string[];
                      labels?: { [key: string]: undefined
                      | string };
                      language?: string;
                      name: string;
                      os?: string;
                      schema: string;
                  };
                  description?: string;
                  lazyStart?: boolean;
                  modules?: {
                      private?: (
                          | string
                          | {
                              config: {
                                  accountPath?: ...;
                                  features?: ...;
                                  labels?: ...;
                                  language?: ...;
                                  name: ...;
                                  os?: ...;
                                  schema: ...;
                              };
                              description?: (...)
                              | (...);
                              lazyStart?: (...) | (...) | (...);
                              status?: (...) | (...);
                          }
                      )[];
                      public?: (
                          | string
                          | {
                              config: {
                                  accountPath?: ...;
                                  features?: ...;
                                  labels?: ...;
                                  language?: ...;
                                  name: ...;
                                  os?: ...;
                                  schema: ...;
                              };
                              description?: (...)
                              | (...);
                              lazyStart?: (...) | (...) | (...);
                              status?: (...) | (...);
                          }
                      )[];
                  };
                  status?: {
                      address: Lowercase<string>;
                      children?: { [key: Lowercase<string>]: null | string };
                  };
              }[];
              schema: string;
          }
    • params: TParams

    Returns ManifestWrapperEx<TManifest, TParams>

Properties

params: TParams
payload: TManifest extends {
    description?: string;
    modules?: {
        [key: string]: {
            config: {
                accountPath?: string;
                features?: string[];
                labels?: { [key: string]: undefined
                | string };
                language?: string;
                name: string;
                os?: string;
                schema: string;
            };
            description?: string;
            lazyStart?: boolean;
            status?: {
                address: Lowercase<string>;
                children?: { [key: Lowercase<string>]: null | string };
            };
        };
    };
    nodes: {
        config: {
            accountPath?: string;
            features?: string[];
            labels?: { [key: string]: undefined
            | string };
            language?: string;
            name: string;
            os?: string;
            schema: string;
        };
        description?: string;
        lazyStart?: boolean;
        modules?: {
            private?: (
                | string
                | {
                    config: {
                        accountPath?: ...;
                        features?: ...;
                        labels?: ...;
                        language?: ...;
                        name: ...;
                        os?: ...;
                        schema: ...;
                    };
                    description?: (...)
                    | (...);
                    lazyStart?: (...) | (...) | (...);
                    status?: (...) | (...);
                }
            )[];
            public?: (
                | string
                | {
                    config: {
                        accountPath?: ...;
                        features?: ...;
                        labels?: ...;
                        language?: ...;
                        name: ...;
                        os?: ...;
                        schema: ...;
                    };
                    description?: (...)
                    | (...);
                    lazyStart?: (...) | (...) | (...);
                    status?: (...) | (...);
                }
            )[];
        };
        status?: {
            address: Lowercase<string>;
            children?: { [key: Lowercase<string>]: null | string };
        };
    }[];
    schema: string;
}
    ? TManifest<TManifest>
    : {
        description?: string;
        modules?: {
            [key: string]: {
                config: {
                    accountPath?: string;
                    features?: string[];
                    labels?: { [key: string]: undefined | string };
                    language?: string;
                    name: string;
                    os?: string;
                    schema: string;
                };
                description?: string;
                lazyStart?: boolean;
                status?: {
                    address: Lowercase<string>;
                    children?: { [key: Lowercase<string>]: null | string };
                };
            };
        };
        nodes: {
            config: {
                accountPath?: string;
                features?: string[];
                labels?: { [key: string]: undefined
                | string };
                language?: string;
                name: string;
                os?: string;
                schema: string;
            };
            description?: string;
            lazyStart?: boolean;
            modules?: {
                private?: (
                    | string
                    | {
                        config: {
                            accountPath?: ...;
                            features?: ...;
                            labels?: ...;
                            language?: ...;
                            name: ...;
                            os?: ...;
                            schema: ...;
                        };
                        description?: (...)
                        | (...);
                        lazyStart?: (...) | (...) | (...);
                        status?: (...) | (...);
                    }
                )[];
                public?: (
                    | string
                    | {
                        config: {
                            accountPath?: ...;
                            features?: ...;
                            labels?: ...;
                            language?: ...;
                            name: ...;
                            os?: ...;
                            schema: ...;
                        };
                        description?: (...)
                        | (...);
                        lazyStart?: (...) | (...) | (...);
                        status?: (...) | (...);
                    }
                )[];
            };
            status?: {
                address: Lowercase<string>;
                children?: { [key: Lowercase<string>]: null | string };
            };
        }[];
        schema: string;
    }
loaderFactory: null | PayloadLoaderFactory

Accessors

Methods

  • Returns Promise<Lowercase<string>>

  • Returns Promise<Error[]>

  • Returns Promise<boolean>

  • Parameters

    • index: number

    Returns Promise<MemoryNode>

  • Parameters

    • index: number

    Returns {
        config: {
            accountPath?: string;
            features?: string[];
            labels?: { [x: string]: undefined | string };
            language?: string;
            name: string;
            os?: string;
            schema: string;
        };
        description?: string;
        lazyStart?: boolean;
        modules?: {
            private?: (
                | string
                | {
                    config: {
                        accountPath?: string;
                        features?: string[];
                        labels?: { [x: string]: (...)
                        | (...) };
                        language?: string;
                        name: string;
                        os?: string;
                        schema: string;
                    };
                    description?: string;
                    lazyStart?: boolean;
                    status?: { address: Address; children?: { [x: ...]: ... } };
                }
            )[];
            public?: (
                | string
                | {
                    config: {
                        accountPath?: string;
                        features?: string[];
                        labels?: { [x: string]: (...)
                        | (...) };
                        language?: string;
                        name: string;
                        os?: string;
                        schema: string;
                    };
                    description?: string;
                    lazyStart?: boolean;
                    status?: { address: Address; children?: { [x: ...]: ... } };
                }
            )[];
        };
        status?: {
            address: Address;
            children?: { [x: Lowercase<string>]: null | string };
        };
    }

  • Returns string

  • Returns Promise<Error[]>

  • 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>>>