Interfacecustom-idv0.3.2CustomIdFieldOne field in a customId shape, its wire kind plus the type it decodes to. The chain methods build these for you. Write one by hand when you need a shape in a type, like CustomId<'page', { index: CustomIdField<number> }>. interface CustomIdField<Decoded>Member overviewPropertieschoicesdecodedkindmaxminnullableType parametersDecodedDecodedPropertieschoicesThe allowed values, for a oneOf or someOf field. readonly choices?: readonly string[]decodedOnly there to carry the decoded type for the compiler. Nothing sets it at runtime. readonly decoded?: DecodedkindWhich wire encoding this field uses. readonly kind: 'snowflake' | 'uuid' | 'int' | 'bool' | 'oneOf' | 'someOf' | 'string'maxUpper bound, for a bounded int field. readonly max?: numberminLower bound, for a bounded int field. readonly min?: numbernullableWhether this field also accepts null. readonly nullable?: boolean
decodedOnly there to carry the decoded type for the compiler. Nothing sets it at runtime. readonly decoded?: Decoded
kindWhich wire encoding this field uses. readonly kind: 'snowflake' | 'uuid' | 'int' | 'bool' | 'oneOf' | 'someOf' | 'string'