Skip to main content

FieldSchemaAlphaUnsafe Interface

Unenforced version of FieldSchemaAlpha.

This API is reserved for internal system use and should not be imported directly. It may change at any time without notice.

For more information about our API support guarantees, see here.

Sealed

This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.

Signature

/** @sealed */
export interface FieldSchemaAlphaUnsafe<out Kind extends FieldKind, out Types extends System_Unsafe.ImplicitAllowedTypesUnsafe, out TCustomMetadata = unknown> extends FieldSchemaAlpha<Kind, any, TCustomMetadata>, System_Unsafe.FieldSchemaUnsafe<Kind, Types, TCustomMetadata>

Extends: FieldSchemaAlpha<Kind, any, TCustomMetadata>, System_Unsafe.FieldSchemaUnsafe<Kind, Types, TCustomMetadata>

Type Parameters

ParameterConstraintDefaultDescription
KindFieldKind
TypesSystem_Unsafe.ImplicitAllowedTypesUnsafe
TCustomMetadataunknown

Remarks

Do not use this type directly: it's only needed in the implementation of generic logic which define recursive schema, not when using recursive schema.

Properties

PropertyAlertsModifiersTypeDescription
allowedTypesAlphareadonlyTypesWhat types of tree nodes are allowed in this field.

Property Details

allowedTypes

What types of tree nodes are allowed in this field.

This API is reserved for internal system use and should not be imported directly. It may change at any time without notice.

For more information about our API support guarantees, see here.

Signature

readonly allowedTypes: Types;

Type: Types