@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
19 lines (18 loc) • 875 B
TypeScript
import { RadioComponentSchema } from '@open-formulieren/types';
import { Option } from '@open-formulieren/types/lib/formio/common';
import { JSONObject } from '@open-formulieren/types/lib/types';
import { ComponentWithReferenceLists } from '../../components/builder/values/reference-lists/types';
export declare const checkIsManualOptions: (component: RadioComponentSchema) => component is RadioComponentSchema & {
values: Option[] | undefined;
};
export declare const checkIsReferenceListsOptions: (component: RadioComponentSchema) => component is RadioComponentSchema & ComponentWithReferenceLists & {
openForms: {
code: string;
service: string;
};
};
export declare const checkIsVariableOptions: (component: RadioComponentSchema) => component is RadioComponentSchema & {
openForms: {
itemsExpression: string | JSONObject;
};
};