UNPKG

alpha-version-dce-check-in-ui

Version:

UI for taking attendance and checking people in.

19 lines (17 loc) 535 B
/** * Add an action to the log. * @author Gabe Abrams * @param {string} type - action type * @param {string} [description="N/A"] - human-readable description of * the action * @param {object} [metadata={}] - a metadata object to attach to the log * @param {boolean} [ignoreSessionExpiry] - if true, catch session expiry * separately */ type LogAction = (opts: { type: string, description?: string, metadata?: { [key in string]: any }, ignoreSessionExpiry?: boolean, }) => Promise<void>; export default LogAction;