# KysoqlConfig (/docs/codegen/api/interfaces/KysoqlConfig)



[@kysoql/codegen](/docs/codegen/api) / KysoqlConfig

Schema-generation settings. Authentication is resolved explicitly.

## Properties [#properties]

| Property                                         | Modifier   | Type                                                                                                      | Description                                                                |
| ------------------------------------------------ | ---------- | --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| <a id="api-property-auth" /> `auth?`             | `readonly` | [`SalesforceAuthProvider`](/docs/codegen/api/type-aliases/SalesforceAuthProvider)                         | Obtain the Salesforce session used by the CLI.                             |
| <a id="api-property-apiversion" /> `apiVersion?` | `readonly` | `string`                                                                                                  | Salesforce REST API version, without v. Applies to CLI generation only.    |
| <a id="api-property-objects" /> `objects?`       | `readonly` | readonly `string`\[]                                                                                      | API names. Omit or use \[] to include all queryable objects.               |
| <a id="api-property-fields" /> `fields?`         | `readonly` | `Readonly`\<`Record`\<`string`, [`ObjectFieldFilter`](/docs/codegen/api/type-aliases/ObjectFieldFilter)>> | Per-object field rules. Omitted objects retain all described fields.       |
| <a id="api-property-output" /> `output?`         | `readonly` | `string`                                                                                                  | Override the generated file; relative paths resolve from this config file. |
| <a id="api-property-schemaname" /> `schemaName?` | `readonly` | `string`                                                                                                  | Name of the generated TypeScript schema interface.                         |
