# Function configure

- configure<C>(options): (<I, O>(inputs) => Generator<GraphQlRequest | Web3Request, {
  artifacts: $<ContractObject & C["artifact"] & {
  db: {
  callBytecode: Resources.IdObject<"bytecodes">;
  contract: Resources.IdObject<"contracts">;
  createBytecode: Resources.IdObject<"bytecodes">;
  };
  networks?: {
  [networkId: string]: ArtifactNetwork<C>;
  };
  } & {
  db: {
  callBytecode: Resources.IdObject<"bytecodes">;
  contract: Resources.IdObject<"contracts">;
  createBytecode: Resources.IdObject<"bytecodes">;
  };
  networks?: {
  [networkId: string]: _;
  };
  }, [I & O]>[];
  network: $<Project.LoadMigrate.Batch.Network<C>, [I & O]>;
  }, any>)

- #### Type Parameters

  - #### C extends Project.LoadMigrate.Batch.Config

  #### Parameters

  - ##### options: Project.LoadMigrate.Batch.Options<C>

  #### Returns (<I, O>(inputs) => Generator<GraphQlRequest | Web3Request, {
  artifacts: $<ContractObject & C["artifact"] & {
  db: {
  callBytecode: Resources.IdObject<"bytecodes">;
  contract: Resources.IdObject<"contracts">;
  createBytecode: Resources.IdObject<"bytecodes">;
  };
  networks?: {
  [networkId: string]: ArtifactNetwork<C>;
  };
  } & {
  db: {
  callBytecode: Resources.IdObject<"bytecodes">;
  contract: Resources.IdObject<"contracts">;
  createBytecode: Resources.IdObject<"bytecodes">;
  };
  networks?: {
  [networkId: string]: _;
  };
  }, [I & O]>[];
  network: $<Project.LoadMigrate.Batch.Network<C>, [I & O]>;
  }, any>)

  - - <I, O>(inputs): Generator<GraphQlRequest | Web3Request, {
      artifacts: $<ContractObject & C["artifact"] & {
      db: {
      callBytecode: Resources.IdObject<"bytecodes">;
      contract: Resources.IdObject<"contracts">;
      createBytecode: Resources.IdObject<"bytecodes">;
      };
      networks?: {
      [networkId: string]: ArtifactNetwork<C>;
      };
      } & {
      db: {
      callBytecode: Resources.IdObject<"bytecodes">;
      contract: Resources.IdObject<"contracts">;
      createBytecode: Resources.IdObject<"bytecodes">;
      };
      networks?: {
      [networkId: string]: _;
      };
      }, [I & O]>[];
      network: $<Project.LoadMigrate.Batch.Network<C>, [I & O]>;
      }, any>

    - #### Type Parameters

      - #### I extends NetworkObject

      - #### O extends NetworkObject

      #### Parameters

      - ##### inputs: {
        artifacts: $<ContractObject & C["artifact"] & {
        db: {
        callBytecode: Resources.IdObject<"bytecodes">;
        contract: Resources.IdObject<"contracts">;
        createBytecode: Resources.IdObject<"bytecodes">;
        };
        networks?: {
        [networkId: string]: ArtifactNetwork<C>;
        };
        } & {
        db: {
        callBytecode: Resources.IdObject<"bytecodes">;
        contract: Resources.IdObject<"contracts">;
        createBytecode: Resources.IdObject<"bytecodes">;
        };
        networks?: {
        [networkId: string]: _;
        };
        }, [I]>[];
        network: $<Project.LoadMigrate.Batch.Network<C>, [I]>;
        }

        - ##### artifacts: $<ContractObject & C["artifact"] & {
          db: {
          callBytecode: Resources.IdObject<"bytecodes">;
          contract: Resources.IdObject<"contracts">;
          createBytecode: Resources.IdObject<"bytecodes">;
          };
          networks?: {
          [networkId: string]: ArtifactNetwork<C>;
          };
          } & {
          db: {
          callBytecode: Resources.IdObject<"bytecodes">;
          contract: Resources.IdObject<"contracts">;
          createBytecode: Resources.IdObject<"bytecodes">;
          };
          networks?: {
          [networkId: string]: _;
          };
          }, [I]>[]

        - ##### network: $<Project.LoadMigrate.Batch.Network<C>, [I]>

      #### Returns Generator<GraphQlRequest | Web3Request, {
      artifacts: $<ContractObject & C["artifact"] & {
      db: {
      callBytecode: Resources.IdObject<"bytecodes">;
      contract: Resources.IdObject<"contracts">;
      createBytecode: Resources.IdObject<"bytecodes">;
      };
      networks?: {
      [networkId: string]: ArtifactNetwork<C>;
      };
      } & {
      db: {
      callBytecode: Resources.IdObject<"bytecodes">;
      contract: Resources.IdObject<"contracts">;
      createBytecode: Resources.IdObject<"bytecodes">;
      };
      networks?: {
      [networkId: string]: _;
      };
      }, [I & O]>[];
      network: $<Project.LoadMigrate.Batch.Network<C>, [I & O]>;
      }, any>

  - Defined in packages/db/src/project/loadMigrate/batch.ts:89

Generated using TypeDoc