alpha-version-dce-check-in-ui
Version:
UI for taking attendance and checking people in.
20 lines (19 loc) • 555 B
TypeScript
/**
* 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;