Interface MetaFlowDataField

A screen's declared data entry (a type plus an example value).

interface MetaFlowDataField {
    __example__?: unknown;
    items?: MetaFlowDataField;
    type: "string" | "number" | "boolean" | "object" | "array";
    [key: string]: unknown;
}

Indexable

  • [key: string]: unknown

Properties

__example__?: unknown

Element schema for type: "array". Meta REQUIRES this for arrays and rejects the publish with INVALID_SCREEN_DATA ("Missing the schema for property 'items' in array") when it is absent.

type: "string" | "number" | "boolean" | "object" | "array"