# Class ComponentWrapper

- Defined in src/Components/ComponentWrapper.class.ts:7

##### Index

### Constructors

constructor

### Properties

outputPathRewrite

### Accessors

agentMaker
data
id
internalData

### Methods

inputs

## Constructors

### constructor

- new ComponentWrapper(_internalData: any, _agentMaker?: Agent): ComponentWrapper

  #### Parameters

  - _internalData: any
  - `Optional`_agentMaker: Agent

  #### Returns ComponentWrapper

  - Defined in src/Components/ComponentWrapper.class.ts:80

## Properties

### outputPathRewrite

outputPathRewrite: (path: string) => string = ...

- Defined in src/Components/ComponentWrapper.class.ts:10

## Accessors

### agentMaker

- get agentMaker(): Agent

  #### Returns Agent

  - Defined in src/Components/ComponentWrapper.class.ts:19
- set agentMaker(agentMaker: Agent): void

  #### Parameters

  - agentMaker: Agent

  #### Returns void

  - Defined in src/Components/ComponentWrapper.class.ts:22

### data

- get data(): {
  data: any;
  displayName: any;
  id: string;
  inputs: any[];
  left: string;
  name: any;
  outputs: any[];
  process: any;
  title: any;
  top: string;
  }

  #### Returns {
  data: any;
  displayName: any;
  id: string;
  inputs: any[];
  left: string;
  name: any;
  outputs: any[];
  process: any;
  title: any;
  top: string;
  }

  - Defined in src/Components/ComponentWrapper.class.ts:26

### id

- get id(): string

  #### Returns string

  - Defined in src/Components/ComponentWrapper.class.ts:16

### internalData

- get internalData(): any

  #### Returns any

  - Defined in src/Components/ComponentWrapper.class.ts:12

## Methods

### inputs

- inputs<T extends Record<string, any>>(inputsList: T): ComponentWrapper

  #### Type Parameters

  - T extends Record<string, any>

  #### Parameters

  - inputsList: T

  #### Returns ComponentWrapper

  - Defined in src/Components/ComponentWrapper.class.ts:84