# Type Alias: IpaHubOptions

```ts
type IpaHubOptions = Interaction & object;
```

Defined in: [src/library/types.ts:4](https://github.com/giladgd/ipa-hub/blob/master/src/library/types.ts#L4)

Configuration shared by operations on an IpaHub instance.

## Type Declaration

### dataDir?

```ts
dataDir?: string;
```

Defaults to `IPA_HUB_HOME`, or `.ipa-hub` inside `os.homedir()` when unset.
Relative paths resolve from the working directory; `~` is literal.

### updateServerURL?

```ts
updateServerURL?: string;
```

An additional HTTP address for installed apps to contact for updates. Local destinations are discovered automatically.

### warn?

```ts
warn?: (message) => void;
```

Receives platform, compatibility, and background-operation warnings. Defaults to stderr.

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `message` | `string` |

#### Returns

`void`

