UNPKG

caccl-api

Version:

A class that defines a set of smart Canvas endpoints that actually behave how you'd expect them to.

19 lines (16 loc) 462 B
// Import shared types import APIStructure from '../../types/API'; import VisitEndpointFunc from './VisitEndpointFunc'; /** * Arguments required for initializing an endpoint category * @author Gabe Abrams */ type InitPack = { // Function to use for sending requests to Canvas visitEndpoint: VisitEndpointFunc, // Top-level api instance api: APIStructure, // Default courseId if there is one defaultCourseId?: number, }; export default InitPack;