Documentation
    Preparing search index...

    Function createManagerInspectorClient

    • Parameters

      • ...args: [baseUrl: string, options?: ClientRequestOptions]

      Returns {
          ping: ClientRequest<
              {
                  $get: {
                      input: {};
                      output: { message: string };
                      outputFormat: "json";
                      status: 200;
                  };
              },
          >;
      } & {
          actors: ClientRequest<
              {
                  $get: | {
                      input: {};
                      output: "Invalid limit";
                      outputFormat: "json";
                      status: 400;
                  }
                  | {
                      input: {};
                      output: {
                          createdAt?: string;
                          destroyedAt?: string;
                          features?: (...)[];
                          id: string & $brand<(...)>;
                          key: string[];
                          name: string;
                          region?: string;
                          startedAt?: string;
                          tags?: { [key: ...]: ... };
                      }[];
                      outputFormat: "json";
                      status: 200;
                  }
                  | {
                      input: {};
                      output: "Failed to fetch actors";
                      outputFormat: "json";
                      status: 500;
                  };
              } & {
                  $post: {
                      input: { json: { input: any; key: string[]; name: string } };
                      output:
                          | {
                              createdAt?: string;
                              destroyedAt?: string;
                              features?: ActorFeature[];
                              id: string & $brand<"ActorId">;
                              key: string[];
                              name: string;
                              region?: string;
                              startedAt?: string;
                              tags?: { [key: string]: string };
                          }
                          | null;
                      outputFormat: "json";
                      status: 201;
                  };
              },
          >;
      } & {
          builds: ClientRequest<
              {
                  $get: {
                      input: {};
                      output: {
                          createdAt?: string;
                          name: string;
                          tags?: { [key: string]: string };
                      }[];
                      outputFormat: "json";
                      status: 200;
                  };
              },
          >;
      } & {
          actor: {
              ":id": ClientRequest<
                  {
                      $get: | {
                          input: { param: { id: string } };
                          output: { error: string };
                          outputFormat: "json";
                          status: 404;
                      }
                      | {
                          input: { param: { id: string } };
                          output: {
                              createdAt?: string;
                              destroyedAt?: string;
                              features?: ActorFeature[];
                              id: string & $brand<"ActorId">;
                              key: string[];
                              name: string;
                              region?: string;
                              startedAt?: string;
                              tags?: { [key: string]: string };
                          };
                          outputFormat: "json";
                          status: 200;
                      };
                  },
              >;
          };
      } & {
          bootstrap: ClientRequest<
              {
                  $get: {
                      input: {};
                      output: {
                          actors: {
                              createdAt?: string;
                              destroyedAt?: string;
                              features?: ActorFeature[];
                              id: string & $brand<"ActorId">;
                              key: string[];
                              name: string;
                              region?: string;
                              startedAt?: string;
                              tags?: { [key: string]: string };
                          }[];
                      };
                      outputFormat: "json";
                      status: 200;
                  };
              },
          >;
      }