Options
The following reference covers all supported configuration options for Astro PocketBase.
ignore
- Type:
string[]
- Default:
[]
The ignore
option allows you to ignore specific collections from being processed.
nameEnum
- Type:
(enumFieldName: string) => string
- Default:
(enumFieldName) => snakeCase(enumFieldName).toUpperCase()
nameEnumField
- Type:
(collectionName: string, fieldName: string) => string
- Default:
(collectionName, fieldName) => collectionName + pascalName(fieldName)
nameEnumSchema
- Type:
(enumFieldName: string) => string
- Default:
(enumFieldName) => pascalName(enumFieldName)
nameEnumType
- Type:
(enumFieldName: string) => string
- Default:
(enumFieldName) => pascalName(enumFieldName)
nameEnumValues
- Type:
(enumFieldName: string) => string
- Default:
(enumFieldName) => enumFieldName + "Values"
nameRecordSchema
- Type:
(collectionName: string) => string
- Default:
(collectionName) => pascalName(collectionName) + "Record"
nameRecordType
- Type:
(collectionName: string) => string
- Default:
(collectionName) => pascalName(collectionName) + "Record"