feat: singleton array list widget (#336)

This commit is contained in:
Daniel Lautzenheiser
2023-01-12 14:15:41 -05:00
committed by GitHub
parent a60d53b4ec
commit c5e94ed16d
64 changed files with 1353 additions and 575 deletions

View File

@ -8,9 +8,9 @@
* action coming through the system. Think of it as a thunk that
* blocks until the condition is met.
*/
import type { AnyAction, Dispatch, Middleware, MiddlewareAPI } from '@reduxjs/toolkit';
import { WAIT_UNTIL_ACTION } from '@staticcms/core/constants';
export const WAIT_UNTIL_ACTION = 'WAIT_UNTIL_ACTION';
import type { AnyAction, Dispatch, Middleware, MiddlewareAPI } from '@reduxjs/toolkit';
export interface WaitActionArgs {
predicate: (action: AnyAction) => boolean;