@opencrvs/toolkit 2.0.0-rc.43eff87 → 2.0.0-rc.447b0cf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,7 +22,6 @@ export * from './FieldValue';
|
|
|
22
22
|
export * from './FormConfig';
|
|
23
23
|
export * from './CompositeFieldValue';
|
|
24
24
|
export * from './state';
|
|
25
|
-
export * from './state/flags';
|
|
26
25
|
export * from './utils';
|
|
27
26
|
export * from './defineConfig';
|
|
28
27
|
export * from './DeduplicationConfig';
|
|
@@ -3,7 +3,6 @@ import { Flag, CustomFlag } from '../Flag';
|
|
|
3
3
|
import { EventConfig } from '../EventConfig';
|
|
4
4
|
import { EventDocument } from '../EventDocument';
|
|
5
5
|
export declare function findPendingCorrectionAction(writeActions: Action[]): RequestedCorrectionAction | undefined;
|
|
6
|
-
export declare function isPotentialDuplicate(actions: Action[]): boolean;
|
|
7
6
|
/**
|
|
8
7
|
* This function resolves custom flags for an event based on its actions.
|
|
9
8
|
* Flags are not stored to the event state or any database directly, instead they are always computed/evaluated from the event actions.
|
package/dist/events/index.js
CHANGED
|
@@ -282,7 +282,6 @@ __export(events_exports, {
|
|
|
282
282
|
findActiveDraftForEvent: () => findActiveDraftForEvent,
|
|
283
283
|
findAllFields: () => findAllFields,
|
|
284
284
|
findLastAssignmentAction: () => findLastAssignmentAction,
|
|
285
|
-
findPendingCorrectionAction: () => findPendingCorrectionAction,
|
|
286
285
|
findRecordActionPages: () => findRecordActionPages,
|
|
287
286
|
flag: () => flag,
|
|
288
287
|
flattenFieldReference: () => flattenFieldReference,
|
|
@@ -324,7 +323,6 @@ __export(events_exports, {
|
|
|
324
323
|
getDeclarationFields: () => getDeclarationFields,
|
|
325
324
|
getDeclarationPages: () => getDeclarationPages,
|
|
326
325
|
getEventConfigById: () => getEventConfigById,
|
|
327
|
-
getEventFlags: () => getEventFlags,
|
|
328
326
|
getFilePathsFromEvent: () => getFilePathsFromEvent,
|
|
329
327
|
getLocationHierarchy: () => getLocationHierarchy,
|
|
330
328
|
getMixedPath: () => getMixedPath,
|
|
@@ -387,7 +385,6 @@ __export(events_exports, {
|
|
|
387
385
|
isPageVisible: () => isPageVisible,
|
|
388
386
|
isParagraphFieldType: () => isParagraphFieldType,
|
|
389
387
|
isPhoneFieldType: () => isPhoneFieldType,
|
|
390
|
-
isPotentialDuplicate: () => isPotentialDuplicate,
|
|
391
388
|
isPrintButtonFieldType: () => isPrintButtonFieldType,
|
|
392
389
|
isQrReaderFieldType: () => isQrReaderFieldType,
|
|
393
390
|
isQueryParamReaderFieldType: () => isQueryParamReaderFieldType,
|
|
@@ -421,7 +418,6 @@ __export(events_exports, {
|
|
|
421
418
|
plainDateToLocalDate: () => plainDateToLocalDate,
|
|
422
419
|
precompileActionSchemas: () => precompileActionSchemas,
|
|
423
420
|
resolveDateOfEvent: () => resolveDateOfEvent,
|
|
424
|
-
resolveEventCustomFlags: () => resolveEventCustomFlags,
|
|
425
421
|
resolvePlaceOfEvent: () => resolvePlaceOfEvent,
|
|
426
422
|
runFieldValidations: () => runFieldValidations,
|
|
427
423
|
runStructuralValidations: () => runStructuralValidations,
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|