alpha-version-dce-check-in-api
Version:
API for taking attendance and checking people in.
12 lines (11 loc) • 487 B
TypeScript
import OccurrenceBasicInfo from '../types/OccurrenceBasicInfo';
/**
* Parse an occurrence ID string into an Occurrence object.
* Expects input to be like an OccurrenceId (see types).
* Throws a TypeError if input is in wrong format.
* @author Benedikt Arnarsson
* @param occStr - the occurrence ID.
* @returns an object containing course, event, series, and data info.
*/
declare const parseOccurrenceId: (occStr: string) => OccurrenceBasicInfo;
export default parseOccurrenceId;