Skip to content

TS FieldType isn't comprehensive of all potential values #232

@tctrautman

Description

@tctrautman

The autogenerated FieldType TS type doesn't seem to be comprehensive of all potential values:

export type FieldType =
| "Color"
| "DateTime"
| "Email"
| "ExtFileRef"
| "Image"
| "Link"
| "MultiImage"
| "MultiReference"
| "Number"
| "Phone"
| "PlainText"
| "Reference"
| "RichText"
| "Switch"
| "Video";

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)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions