@opencrvs/toolkit
Advanced tools
Comparing version
@@ -64,4 +64,20 @@ import { TranslationConfig } from './TranslationConfig'; | ||
} | undefined; | ||
export declare const findActiveActionFormPages: (configuration: EventConfig, action: ActionType) => { | ||
id: string; | ||
title: TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[] | undefined; | ||
export declare const getFormFields: (formConfig: FormConfig) => import("./FieldConfig").Inferred[]; | ||
export declare const findActiveActionFields: (configuration: EventConfig, action: ActionType) => FieldConfig[]; | ||
/** | ||
* Returns only form fields for the action type, if any, excluding review fields. | ||
*/ | ||
export declare const findActiveActionFormFields: (configuration: EventConfig, action: ActionType) => FieldConfig[] | undefined; | ||
/** | ||
* Returns all fields for the action type, including review fields, if any. | ||
*/ | ||
export declare const findActiveActionFields: (configuration: EventConfig, action: ActionType) => FieldConfig[] | undefined; | ||
/** | ||
* Returns all fields for the action type, including review fields, or throws | ||
*/ | ||
export declare function getActiveActionFields(configuration: EventConfig, action: ActionType): FieldConfig[]; | ||
export declare function getEventConfiguration(eventConfigurations: EventConfig[], type: string): EventConfig; | ||
@@ -68,0 +84,0 @@ export declare function isOptionalUncheckedCheckbox(field: FieldConfig, form: EventState): boolean; |
{ | ||
"name": "@opencrvs/toolkit", | ||
"version": "1.8.0-rc.9b64f75", | ||
"version": "1.8.0-rc.9e587db", | ||
"description": "OpenCRVS toolkit for building country configurations", | ||
@@ -5,0 +5,0 @@ "license": "MPL-2.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
47349
0.01%1777837
-0.03%