> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modelence.com/llms.txt
> Use this file to discover all available pages before exploring further.

# systemConfig

[API Reference](/api-reference/modelence/client/variables/../../../index) / [modelence](/api-reference/modelence/client/variables/../../index) / [client](/api-reference/modelence/client/variables/../index) / systemConfig

> `const` **systemConfig**: `object`

Defined in: [packages/modelence/src/system/client.ts:4](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/modelence/src/system/client.ts#L4)

## Type declaration

| Name              | Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Description                                                                                                                                                                                                                                                                                                                                                            | Defined in                                                                                                                                                                       |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `getConfig()`     | (`key`) => `undefined` \| `PublicKeyOf`\<\{ `env.type`: \{ `default`: `string`; `isPublic`: `true`; `type`: `"string"`; }; `mongodbPoolSize`: \{ `default`: `number`; `isPublic`: `false`; `type`: `"number"`; }; `mongodbUri`: \{ `default`: `string`; `isPublic`: `false`; `type`: `"secret"`; }; `multiInstance`: \{ `default`: `false`; `isPublic`: `false`; `type`: `"boolean"`; }; `site.url`: \{ `default`: `string`; `isPublic`: `true`; `type`: `"string"`; }; }>\[`K`] | -                                                                                                                                                                                                                                                                                                                                                                      | [packages/modelence/src/client/module.ts:90](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/modelence/src/client/module.ts#L90)   |
| `infiniteQuery()` | (`name`, `getArgs`) => `object`                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Returns options for `useInfiniteQuery`. The `getArgs` callback receives the current `pageParam` and returns the args to pass to the query handler. Spread the result into `useInfiniteQuery` alongside `getNextPageParam`. Annotate the `pageParam` type in the callback so TypeScript can infer the page param type — no manual generic needed on `useInfiniteQuery`. | [packages/modelence/src/client/module.ts:134](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/modelence/src/client/module.ts#L134) |
| `mutation()`      | (`name`) => `object`                                                                                                                                                                                                                                                                                                                                                                                                                                                             | -                                                                                                                                                                                                                                                                                                                                                                      | [packages/modelence/src/client/module.ts:114](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/modelence/src/client/module.ts#L114) |
| `query()`         | (`name`, ...`rest`) => `object`                                                                                                                                                                                                                                                                                                                                                                                                                                                  | -                                                                                                                                                                                                                                                                                                                                                                      | [packages/modelence/src/client/module.ts:97](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/modelence/src/client/module.ts#L97)   |
