js-webflow-api
js-webflow-api copied to clipboard
TS FieldType isn't comprehensive of all potential values
The autogenerated FieldType TS type doesn't seem to be comprehensive of all potential values:
https://github.com/webflow/js-webflow-api/blob/b40a6a12d7dc723ff01ccfeec1e6d30a5d5de73d/src/api/types/FieldType.ts#L8-L23
These are types that I've received from the API that aren't included in the type definitions:
- SkuSettings
- TextOption
- Option
- MembershipPlan
- MultiExternalFile
- Price
- SkuValues
Is there a publicly available list of all potential values that's more reliable than this autogenerated file (api/types/FieldType.ts)?
Hey @tctrautman - the ts file should be a good source of truth, and likely we missed updating the list here. We'll get this fixed, thank you for reporting
Sounds good, thank you!