afv-library/samples/ui-bundle-template-app-react-sample-b2e/force-app/main/default/uiBundles/propertymanagementapp/codegen.yml
k-j-kim 92cae58d5f
Rename webapp-template npm packages to ui-bundle-template @W-21338965@ (#135)
* chore: rename webapp-template packages to ui-bundle-template

* chore: sync React b2e and b2x samples from npm @1.117.3

* chore: rename sample folders to match ui-bundle-template package names

* chore: sync React b2e and b2x samples from npm @1.117.5

* chore: remove accidental trace.md from b2e sample

* chore: keep old webapp-template sample directories alongside new ui-bundle-template ones

* chore: revert component.md change from skills/generating-webapplication-ui

* chore: update ui-bundle-template sample versions to 1.117.5
2026-03-30 15:50:18 -05:00

96 lines
2.4 KiB
YAML

schema: '../../../../../schema.graphql'
documents: 'src/**/*.{graphql,ts,tsx}'
generates:
src/api/graphql-operations-types.ts:
plugins:
- 'graphql-codegen-typescript-operation-types'
- 'typescript-operations'
config:
onlyOperationTypes: true
skipTypename: true
preResolveTypes: true
scalars:
# String-serialized scalars
JSON:
input: 'string'
output: 'string'
Date:
input: 'string'
output: 'string'
DateTime:
input: 'string'
output: 'string'
Time:
input: 'string'
output: 'string'
Email:
input: 'string'
output: 'string'
Url:
input: 'string'
output: 'string'
PhoneNumber:
input: 'string'
output: 'string'
Picklist:
input: 'string'
output: 'string'
MultiPicklist:
input: 'string'
output: 'string'
TextArea:
input: 'string'
output: 'string'
LongTextArea:
input: 'string'
output: 'string'
RichTextArea:
input: 'string'
output: 'string'
EncryptedString:
input: 'string'
output: 'string'
Base64:
input: 'string'
output: 'string'
IdOrRef:
input: 'string'
output: 'string'
# BigDecimal-serialized scalars (accepts number or string, returns number)
Currency:
input: 'number | string'
output: 'number'
BigDecimal:
input: 'number | string'
output: 'number'
Double:
input: 'number | string'
output: 'number'
Percent:
input: 'number | string'
output: 'number'
Longitude:
input: 'number | string'
output: 'number'
Latitude:
input: 'number | string'
output: 'number'
# Integer-like scalars
Long:
input: 'number'
output: 'number'
BigInteger:
input: 'number'
output: 'number'
Short:
input: 'number'
output: 'number'
Byte:
input: 'number'
output: 'number'
Char:
input: 'number'
output: 'number'
overwrite: true
ignoreNoDocuments: true