Package Exports
- @superbuilders/qti
- @superbuilders/qti/core
- @superbuilders/qti/core.js
- @superbuilders/qti/funcs/assessmentItemManagementCreateAssessmentItem
- @superbuilders/qti/funcs/assessmentItemManagementCreateAssessmentItem.js
- @superbuilders/qti/funcs/assessmentItemManagementDeleteAssessmentItem
- @superbuilders/qti/funcs/assessmentItemManagementDeleteAssessmentItem.js
- @superbuilders/qti/funcs/assessmentItemManagementGetAssessmentItem
- @superbuilders/qti/funcs/assessmentItemManagementGetAssessmentItem.js
- @superbuilders/qti/funcs/assessmentItemManagementSearchAssessmentItems
- @superbuilders/qti/funcs/assessmentItemManagementSearchAssessmentItems.js
- @superbuilders/qti/funcs/assessmentItemManagementUpdateAssessmentItem
- @superbuilders/qti/funcs/assessmentItemManagementUpdateAssessmentItem.js
- @superbuilders/qti/funcs/assessmentTestManagementCreateAssessmentTest
- @superbuilders/qti/funcs/assessmentTestManagementCreateAssessmentTest.js
- @superbuilders/qti/funcs/assessmentTestManagementCreateAssessmentTestRaw
- @superbuilders/qti/funcs/assessmentTestManagementCreateAssessmentTestRaw.js
- @superbuilders/qti/funcs/assessmentTestManagementDeleteAssessmentTest
- @superbuilders/qti/funcs/assessmentTestManagementDeleteAssessmentTest.js
- @superbuilders/qti/funcs/assessmentTestManagementGetAllQuestions
- @superbuilders/qti/funcs/assessmentTestManagementGetAllQuestions.js
- @superbuilders/qti/funcs/assessmentTestManagementGetAssessmentTest
- @superbuilders/qti/funcs/assessmentTestManagementGetAssessmentTest.js
- @superbuilders/qti/funcs/assessmentTestManagementSearchAssessmentTests
- @superbuilders/qti/funcs/assessmentTestManagementSearchAssessmentTests.js
- @superbuilders/qti/funcs/assessmentTestManagementUpdateAssessmentTest
- @superbuilders/qti/funcs/assessmentTestManagementUpdateAssessmentTest.js
- @superbuilders/qti/funcs/assessmentTestManagementUpdateAssessmentTestMetadata
- @superbuilders/qti/funcs/assessmentTestManagementUpdateAssessmentTestMetadata.js
- @superbuilders/qti/funcs/assessmentTestManagementUpdateAssessmentTestRaw
- @superbuilders/qti/funcs/assessmentTestManagementUpdateAssessmentTestRaw.js
- @superbuilders/qti/funcs/sectionManagementAddAssessmentItem
- @superbuilders/qti/funcs/sectionManagementAddAssessmentItem.js
- @superbuilders/qti/funcs/sectionManagementCreateSection
- @superbuilders/qti/funcs/sectionManagementCreateSection.js
- @superbuilders/qti/funcs/sectionManagementDeleteSection
- @superbuilders/qti/funcs/sectionManagementDeleteSection.js
- @superbuilders/qti/funcs/sectionManagementGetSection
- @superbuilders/qti/funcs/sectionManagementGetSection.js
- @superbuilders/qti/funcs/sectionManagementRemoveAssessmentItem
- @superbuilders/qti/funcs/sectionManagementRemoveAssessmentItem.js
- @superbuilders/qti/funcs/sectionManagementSearchSections
- @superbuilders/qti/funcs/sectionManagementSearchSections.js
- @superbuilders/qti/funcs/sectionManagementUpdateAssessmentItemOrder
- @superbuilders/qti/funcs/sectionManagementUpdateAssessmentItemOrder.js
- @superbuilders/qti/funcs/sectionManagementUpdateSection
- @superbuilders/qti/funcs/sectionManagementUpdateSection.js
- @superbuilders/qti/funcs/stimulusManagementCreateStimulus
- @superbuilders/qti/funcs/stimulusManagementCreateStimulus.js
- @superbuilders/qti/funcs/stimulusManagementDeleteStimulus
- @superbuilders/qti/funcs/stimulusManagementDeleteStimulus.js
- @superbuilders/qti/funcs/stimulusManagementGetStimulus
- @superbuilders/qti/funcs/stimulusManagementGetStimulus.js
- @superbuilders/qti/funcs/stimulusManagementSearchStimuli
- @superbuilders/qti/funcs/stimulusManagementSearchStimuli.js
- @superbuilders/qti/funcs/stimulusManagementUpdateStimulus
- @superbuilders/qti/funcs/stimulusManagementUpdateStimulus.js
- @superbuilders/qti/funcs/testPartManagementCreateTestPart
- @superbuilders/qti/funcs/testPartManagementCreateTestPart.js
- @superbuilders/qti/funcs/testPartManagementDeleteTestPart
- @superbuilders/qti/funcs/testPartManagementDeleteTestPart.js
- @superbuilders/qti/funcs/testPartManagementGetTestPart
- @superbuilders/qti/funcs/testPartManagementGetTestPart.js
- @superbuilders/qti/funcs/testPartManagementSearchTestParts
- @superbuilders/qti/funcs/testPartManagementSearchTestParts.js
- @superbuilders/qti/funcs/testPartManagementUpdateTestPart
- @superbuilders/qti/funcs/testPartManagementUpdateTestPart.js
- @superbuilders/qti/hooks/clientcredentials
- @superbuilders/qti/hooks/clientcredentials.js
- @superbuilders/qti/hooks/hooks
- @superbuilders/qti/hooks/hooks.js
- @superbuilders/qti/hooks/index
- @superbuilders/qti/hooks/index.js
- @superbuilders/qti/hooks/registration
- @superbuilders/qti/hooks/registration.js
- @superbuilders/qti/hooks/types
- @superbuilders/qti/hooks/types.js
- @superbuilders/qti/index
- @superbuilders/qti/index.js
- @superbuilders/qti/lib/base64
- @superbuilders/qti/lib/base64.js
- @superbuilders/qti/lib/config
- @superbuilders/qti/lib/config.js
- @superbuilders/qti/lib/dlv
- @superbuilders/qti/lib/dlv.js
- @superbuilders/qti/lib/encodings
- @superbuilders/qti/lib/encodings.js
- @superbuilders/qti/lib/env
- @superbuilders/qti/lib/env.js
- @superbuilders/qti/lib/files
- @superbuilders/qti/lib/files.js
- @superbuilders/qti/lib/http
- @superbuilders/qti/lib/http.js
- @superbuilders/qti/lib/is-plain-object
- @superbuilders/qti/lib/is-plain-object.js
- @superbuilders/qti/lib/logger
- @superbuilders/qti/lib/logger.js
- @superbuilders/qti/lib/matchers
- @superbuilders/qti/lib/matchers.js
- @superbuilders/qti/lib/primitives
- @superbuilders/qti/lib/primitives.js
- @superbuilders/qti/lib/retries
- @superbuilders/qti/lib/retries.js
- @superbuilders/qti/lib/schemas
- @superbuilders/qti/lib/schemas.js
- @superbuilders/qti/lib/sdks
- @superbuilders/qti/lib/sdks.js
- @superbuilders/qti/lib/security
- @superbuilders/qti/lib/security.js
- @superbuilders/qti/lib/url
- @superbuilders/qti/lib/url.js
- @superbuilders/qti/mcp-server/cli
- @superbuilders/qti/mcp-server/cli.js
- @superbuilders/qti/mcp-server/cli/start/command
- @superbuilders/qti/mcp-server/cli/start/command.js
- @superbuilders/qti/mcp-server/cli/start/impl
- @superbuilders/qti/mcp-server/cli/start/impl.js
- @superbuilders/qti/mcp-server/console-logger
- @superbuilders/qti/mcp-server/console-logger.js
- @superbuilders/qti/mcp-server/extensions
- @superbuilders/qti/mcp-server/extensions.js
- @superbuilders/qti/mcp-server/mcp-server
- @superbuilders/qti/mcp-server/mcp-server.js
- @superbuilders/qti/mcp-server/prompts
- @superbuilders/qti/mcp-server/prompts.js
- @superbuilders/qti/mcp-server/resources
- @superbuilders/qti/mcp-server/resources.js
- @superbuilders/qti/mcp-server/scopes
- @superbuilders/qti/mcp-server/scopes.js
- @superbuilders/qti/mcp-server/server
- @superbuilders/qti/mcp-server/server.js
- @superbuilders/qti/mcp-server/shared
- @superbuilders/qti/mcp-server/shared.js
- @superbuilders/qti/mcp-server/tools
- @superbuilders/qti/mcp-server/tools.js
- @superbuilders/qti/mcp-server/tools/assessmentItemManagementCreateAssessmentItem
- @superbuilders/qti/mcp-server/tools/assessmentItemManagementCreateAssessmentItem.js
- @superbuilders/qti/mcp-server/tools/assessmentItemManagementDeleteAssessmentItem
- @superbuilders/qti/mcp-server/tools/assessmentItemManagementDeleteAssessmentItem.js
- @superbuilders/qti/mcp-server/tools/assessmentItemManagementGetAssessmentItem
- @superbuilders/qti/mcp-server/tools/assessmentItemManagementGetAssessmentItem.js
- @superbuilders/qti/mcp-server/tools/assessmentItemManagementSearchAssessmentItems
- @superbuilders/qti/mcp-server/tools/assessmentItemManagementSearchAssessmentItems.js
- @superbuilders/qti/mcp-server/tools/assessmentItemManagementUpdateAssessmentItem
- @superbuilders/qti/mcp-server/tools/assessmentItemManagementUpdateAssessmentItem.js
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementCreateAssessmentTest
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementCreateAssessmentTest.js
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementCreateAssessmentTestRaw
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementCreateAssessmentTestRaw.js
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementDeleteAssessmentTest
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementDeleteAssessmentTest.js
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementGetAllQuestions
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementGetAllQuestions.js
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementGetAssessmentTest
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementGetAssessmentTest.js
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementSearchAssessmentTests
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementSearchAssessmentTests.js
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementUpdateAssessmentTest
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementUpdateAssessmentTest.js
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementUpdateAssessmentTestMetadata
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementUpdateAssessmentTestMetadata.js
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementUpdateAssessmentTestRaw
- @superbuilders/qti/mcp-server/tools/assessmentTestManagementUpdateAssessmentTestRaw.js
- @superbuilders/qti/mcp-server/tools/sectionManagementAddAssessmentItem
- @superbuilders/qti/mcp-server/tools/sectionManagementAddAssessmentItem.js
- @superbuilders/qti/mcp-server/tools/sectionManagementCreateSection
- @superbuilders/qti/mcp-server/tools/sectionManagementCreateSection.js
- @superbuilders/qti/mcp-server/tools/sectionManagementDeleteSection
- @superbuilders/qti/mcp-server/tools/sectionManagementDeleteSection.js
- @superbuilders/qti/mcp-server/tools/sectionManagementGetSection
- @superbuilders/qti/mcp-server/tools/sectionManagementGetSection.js
- @superbuilders/qti/mcp-server/tools/sectionManagementRemoveAssessmentItem
- @superbuilders/qti/mcp-server/tools/sectionManagementRemoveAssessmentItem.js
- @superbuilders/qti/mcp-server/tools/sectionManagementSearchSections
- @superbuilders/qti/mcp-server/tools/sectionManagementSearchSections.js
- @superbuilders/qti/mcp-server/tools/sectionManagementUpdateAssessmentItemOrder
- @superbuilders/qti/mcp-server/tools/sectionManagementUpdateAssessmentItemOrder.js
- @superbuilders/qti/mcp-server/tools/sectionManagementUpdateSection
- @superbuilders/qti/mcp-server/tools/sectionManagementUpdateSection.js
- @superbuilders/qti/mcp-server/tools/stimulusManagementCreateStimulus
- @superbuilders/qti/mcp-server/tools/stimulusManagementCreateStimulus.js
- @superbuilders/qti/mcp-server/tools/stimulusManagementDeleteStimulus
- @superbuilders/qti/mcp-server/tools/stimulusManagementDeleteStimulus.js
- @superbuilders/qti/mcp-server/tools/stimulusManagementGetStimulus
- @superbuilders/qti/mcp-server/tools/stimulusManagementGetStimulus.js
- @superbuilders/qti/mcp-server/tools/stimulusManagementSearchStimuli
- @superbuilders/qti/mcp-server/tools/stimulusManagementSearchStimuli.js
- @superbuilders/qti/mcp-server/tools/stimulusManagementUpdateStimulus
- @superbuilders/qti/mcp-server/tools/stimulusManagementUpdateStimulus.js
- @superbuilders/qti/mcp-server/tools/testPartManagementCreateTestPart
- @superbuilders/qti/mcp-server/tools/testPartManagementCreateTestPart.js
- @superbuilders/qti/mcp-server/tools/testPartManagementDeleteTestPart
- @superbuilders/qti/mcp-server/tools/testPartManagementDeleteTestPart.js
- @superbuilders/qti/mcp-server/tools/testPartManagementGetTestPart
- @superbuilders/qti/mcp-server/tools/testPartManagementGetTestPart.js
- @superbuilders/qti/mcp-server/tools/testPartManagementSearchTestParts
- @superbuilders/qti/mcp-server/tools/testPartManagementSearchTestParts.js
- @superbuilders/qti/mcp-server/tools/testPartManagementUpdateTestPart
- @superbuilders/qti/mcp-server/tools/testPartManagementUpdateTestPart.js
- @superbuilders/qti/models
- @superbuilders/qti/models/assessmentitem
- @superbuilders/qti/models/assessmentitem.js
- @superbuilders/qti/models/assessmenttest
- @superbuilders/qti/models/assessmenttest.js
- @superbuilders/qti/models/errors
- @superbuilders/qti/models/errors/addassessmentitem
- @superbuilders/qti/models/errors/addassessmentitem.js
- @superbuilders/qti/models/errors/createassessmentitem
- @superbuilders/qti/models/errors/createassessmentitem.js
- @superbuilders/qti/models/errors/createassessmenttest
- @superbuilders/qti/models/errors/createassessmenttest.js
- @superbuilders/qti/models/errors/createassessmenttestraw
- @superbuilders/qti/models/errors/createassessmenttestraw.js
- @superbuilders/qti/models/errors/createsection
- @superbuilders/qti/models/errors/createsection.js
- @superbuilders/qti/models/errors/createstimulus
- @superbuilders/qti/models/errors/createstimulus.js
- @superbuilders/qti/models/errors/createtestpart
- @superbuilders/qti/models/errors/createtestpart.js
- @superbuilders/qti/models/errors/deleteassessmentitem
- @superbuilders/qti/models/errors/deleteassessmentitem.js
- @superbuilders/qti/models/errors/deleteassessmenttest
- @superbuilders/qti/models/errors/deleteassessmenttest.js
- @superbuilders/qti/models/errors/deletesection
- @superbuilders/qti/models/errors/deletesection.js
- @superbuilders/qti/models/errors/deletestimulus
- @superbuilders/qti/models/errors/deletestimulus.js
- @superbuilders/qti/models/errors/deletetestpart
- @superbuilders/qti/models/errors/deletetestpart.js
- @superbuilders/qti/models/errors/getallquestions
- @superbuilders/qti/models/errors/getallquestions.js
- @superbuilders/qti/models/errors/getassessmentitem
- @superbuilders/qti/models/errors/getassessmentitem.js
- @superbuilders/qti/models/errors/getassessmenttest
- @superbuilders/qti/models/errors/getassessmenttest.js
- @superbuilders/qti/models/errors/getsection
- @superbuilders/qti/models/errors/getsection.js
- @superbuilders/qti/models/errors/getstimulus
- @superbuilders/qti/models/errors/getstimulus.js
- @superbuilders/qti/models/errors/gettestpart
- @superbuilders/qti/models/errors/gettestpart.js
- @superbuilders/qti/models/errors/httpclienterrors
- @superbuilders/qti/models/errors/httpclienterrors.js
- @superbuilders/qti/models/errors/index
- @superbuilders/qti/models/errors/index.js
- @superbuilders/qti/models/errors/qtidefaulterror
- @superbuilders/qti/models/errors/qtidefaulterror.js
- @superbuilders/qti/models/errors/qtierror
- @superbuilders/qti/models/errors/qtierror.js
- @superbuilders/qti/models/errors/removeassessmentitem
- @superbuilders/qti/models/errors/removeassessmentitem.js
- @superbuilders/qti/models/errors/responsevalidationerror
- @superbuilders/qti/models/errors/responsevalidationerror.js
- @superbuilders/qti/models/errors/sdkvalidationerror
- @superbuilders/qti/models/errors/sdkvalidationerror.js
- @superbuilders/qti/models/errors/searchassessmentitems
- @superbuilders/qti/models/errors/searchassessmentitems.js
- @superbuilders/qti/models/errors/searchassessmenttests
- @superbuilders/qti/models/errors/searchassessmenttests.js
- @superbuilders/qti/models/errors/searchsections
- @superbuilders/qti/models/errors/searchsections.js
- @superbuilders/qti/models/errors/searchstimuli
- @superbuilders/qti/models/errors/searchstimuli.js
- @superbuilders/qti/models/errors/searchtestparts
- @superbuilders/qti/models/errors/searchtestparts.js
- @superbuilders/qti/models/errors/updateassessmentitem
- @superbuilders/qti/models/errors/updateassessmentitem.js
- @superbuilders/qti/models/errors/updateassessmentitemorder
- @superbuilders/qti/models/errors/updateassessmentitemorder.js
- @superbuilders/qti/models/errors/updateassessmenttest
- @superbuilders/qti/models/errors/updateassessmenttest.js
- @superbuilders/qti/models/errors/updateassessmenttestmetadata
- @superbuilders/qti/models/errors/updateassessmenttestmetadata.js
- @superbuilders/qti/models/errors/updateassessmenttestraw
- @superbuilders/qti/models/errors/updateassessmenttestraw.js
- @superbuilders/qti/models/errors/updatesection
- @superbuilders/qti/models/errors/updatesection.js
- @superbuilders/qti/models/errors/updatestimulus
- @superbuilders/qti/models/errors/updatestimulus.js
- @superbuilders/qti/models/errors/updatetestpart
- @superbuilders/qti/models/errors/updatetestpart.js
- @superbuilders/qti/models/index
- @superbuilders/qti/models/index.js
- @superbuilders/qti/models/operations
- @superbuilders/qti/models/operations/addassessmentitem
- @superbuilders/qti/models/operations/addassessmentitem.js
- @superbuilders/qti/models/operations/createassessmentitem
- @superbuilders/qti/models/operations/createassessmentitem.js
- @superbuilders/qti/models/operations/createassessmenttest
- @superbuilders/qti/models/operations/createassessmenttest.js
- @superbuilders/qti/models/operations/createassessmenttestraw
- @superbuilders/qti/models/operations/createassessmenttestraw.js
- @superbuilders/qti/models/operations/createsection
- @superbuilders/qti/models/operations/createsection.js
- @superbuilders/qti/models/operations/createstimulus
- @superbuilders/qti/models/operations/createstimulus.js
- @superbuilders/qti/models/operations/createtestpart
- @superbuilders/qti/models/operations/createtestpart.js
- @superbuilders/qti/models/operations/deleteassessmentitem
- @superbuilders/qti/models/operations/deleteassessmentitem.js
- @superbuilders/qti/models/operations/deleteassessmenttest
- @superbuilders/qti/models/operations/deleteassessmenttest.js
- @superbuilders/qti/models/operations/deletesection
- @superbuilders/qti/models/operations/deletesection.js
- @superbuilders/qti/models/operations/deletestimulus
- @superbuilders/qti/models/operations/deletestimulus.js
- @superbuilders/qti/models/operations/deletetestpart
- @superbuilders/qti/models/operations/deletetestpart.js
- @superbuilders/qti/models/operations/getallquestions
- @superbuilders/qti/models/operations/getallquestions.js
- @superbuilders/qti/models/operations/getassessmentitem
- @superbuilders/qti/models/operations/getassessmentitem.js
- @superbuilders/qti/models/operations/getassessmenttest
- @superbuilders/qti/models/operations/getassessmenttest.js
- @superbuilders/qti/models/operations/getsection
- @superbuilders/qti/models/operations/getsection.js
- @superbuilders/qti/models/operations/getstimulus
- @superbuilders/qti/models/operations/getstimulus.js
- @superbuilders/qti/models/operations/gettestpart
- @superbuilders/qti/models/operations/gettestpart.js
- @superbuilders/qti/models/operations/index
- @superbuilders/qti/models/operations/index.js
- @superbuilders/qti/models/operations/removeassessmentitem
- @superbuilders/qti/models/operations/removeassessmentitem.js
- @superbuilders/qti/models/operations/searchassessmentitems
- @superbuilders/qti/models/operations/searchassessmentitems.js
- @superbuilders/qti/models/operations/searchassessmenttests
- @superbuilders/qti/models/operations/searchassessmenttests.js
- @superbuilders/qti/models/operations/searchsections
- @superbuilders/qti/models/operations/searchsections.js
- @superbuilders/qti/models/operations/searchstimuli
- @superbuilders/qti/models/operations/searchstimuli.js
- @superbuilders/qti/models/operations/searchtestparts
- @superbuilders/qti/models/operations/searchtestparts.js
- @superbuilders/qti/models/operations/updateassessmentitem
- @superbuilders/qti/models/operations/updateassessmentitem.js
- @superbuilders/qti/models/operations/updateassessmentitemorder
- @superbuilders/qti/models/operations/updateassessmentitemorder.js
- @superbuilders/qti/models/operations/updateassessmenttest
- @superbuilders/qti/models/operations/updateassessmenttest.js
- @superbuilders/qti/models/operations/updateassessmenttestmetadata
- @superbuilders/qti/models/operations/updateassessmenttestmetadata.js
- @superbuilders/qti/models/operations/updateassessmenttestraw
- @superbuilders/qti/models/operations/updateassessmenttestraw.js
- @superbuilders/qti/models/operations/updatesection
- @superbuilders/qti/models/operations/updatesection.js
- @superbuilders/qti/models/operations/updatestimulus
- @superbuilders/qti/models/operations/updatestimulus.js
- @superbuilders/qti/models/operations/updatetestpart
- @superbuilders/qti/models/operations/updatetestpart.js
- @superbuilders/qti/models/schemeoauth2
- @superbuilders/qti/models/schemeoauth2.js
- @superbuilders/qti/models/section
- @superbuilders/qti/models/section.js
- @superbuilders/qti/models/security
- @superbuilders/qti/models/security.js
- @superbuilders/qti/models/stimulus
- @superbuilders/qti/models/stimulus.js
- @superbuilders/qti/models/testpart
- @superbuilders/qti/models/testpart.js
- @superbuilders/qti/package.json
- @superbuilders/qti/sdk/assessmentitemmanagement
- @superbuilders/qti/sdk/assessmentitemmanagement.js
- @superbuilders/qti/sdk/assessmenttestmanagement
- @superbuilders/qti/sdk/assessmenttestmanagement.js
- @superbuilders/qti/sdk/index
- @superbuilders/qti/sdk/index.js
- @superbuilders/qti/sdk/sdk
- @superbuilders/qti/sdk/sdk.js
- @superbuilders/qti/sdk/sectionmanagement
- @superbuilders/qti/sdk/sectionmanagement.js
- @superbuilders/qti/sdk/stimulusmanagement
- @superbuilders/qti/sdk/stimulusmanagement.js
- @superbuilders/qti/sdk/testpartmanagement
- @superbuilders/qti/sdk/testpartmanagement.js
- @superbuilders/qti/types
- @superbuilders/qti/types/async
- @superbuilders/qti/types/async.js
- @superbuilders/qti/types/blobs
- @superbuilders/qti/types/blobs.js
- @superbuilders/qti/types/constdatetime
- @superbuilders/qti/types/constdatetime.js
- @superbuilders/qti/types/enums
- @superbuilders/qti/types/enums.js
- @superbuilders/qti/types/fp
- @superbuilders/qti/types/fp.js
- @superbuilders/qti/types/index
- @superbuilders/qti/types/index.js
- @superbuilders/qti/types/operations
- @superbuilders/qti/types/operations.js
- @superbuilders/qti/types/rfcdate
- @superbuilders/qti/types/rfcdate.js
- @superbuilders/qti/types/streams
- @superbuilders/qti/types/streams.js
Readme
qti
Developer-friendly & type-safe Typescript SDK specifically catered to leverage qti API.
[!IMPORTANT] This SDK is not yet ready for production use. To complete setup please follow the steps outlined in your workspace. Delete this section before > publishing to a package manager.
Summary
QTI API: A robust assessment engine implementing the QTI 3.0 specification, designed for creating, managing, and delivering educational assessments.
Table of Contents
SDK Installation
[!TIP] To finish publishing your SDK to npm and others you must run your first generation action.
The SDK can be installed with either npm, pnpm, bun or yarn package managers.
NPM
npm add <UNSET>PNPM
pnpm add <UNSET>Bun
bun add <UNSET>Yarn
yarn add <UNSET> zod
# Note that Yarn does not install peer dependencies automatically. You will need
# to install zod as shown above.[!NOTE] This package is published with CommonJS and ES Modules (ESM) support.
Model Context Protocol (MCP) Server
This SDK is also an installable MCP server where the various SDK methods are exposed as tools that can be invoked by AI applications.
Node.js v20 or greater is required to run the MCP server from npm.
Claude installation steps
Add the following server definition to your claude_desktop_config.json file:
{
"mcpServers": {
"Qti": {
"command": "npx",
"args": [
"-y", "--package", "qti",
"--",
"mcp", "start",
"--client-id", "...",
"--client-secret", "...",
"--token-url", "...",
"--mcp", "..."
]
}
}
}Cursor installation steps
Create a .cursor/mcp.json file in your project root with the following content:
{
"mcpServers": {
"Qti": {
"command": "npx",
"args": [
"-y", "--package", "qti",
"--",
"mcp", "start",
"--client-id", "...",
"--client-secret", "...",
"--token-url", "...",
"--mcp", "..."
]
}
}
}You can also run MCP servers as a standalone binary with no additional dependencies. You must pull these binaries from available Github releases:
curl -L -o mcp-server \
https://github.com/{org}/{repo}/releases/download/{tag}/mcp-server-bun-darwin-arm64 && \
chmod +x mcp-serverIf the repo is a private repo you must add your Github PAT to download a release -H "Authorization: Bearer {GITHUB_PAT}".
{
"mcpServers": {
"Todos": {
"command": "./DOWNLOAD/PATH/mcp-server",
"args": [
"start"
]
}
}
}For a full list of server arguments, run:
npx -y --package qti -- mcp start --helpRequirements
For supported JavaScript runtimes, please consult RUNTIMES.md.
SDK Example Usage
Example
import { Qti } from "qti";
const qti = new Qti({
security: {
oAuth2: {
clientID: process.env["QTI_CLIENT_ID"] ?? "",
clientSecret: process.env["QTI_CLIENT_SECRET"] ?? "",
tokenURL: process.env["QTI_TOKEN_URL"] ?? "",
},
},
});
async function run() {
const result = await qti.stimulusManagement.searchStimuli({
sort: "createdAt",
});
console.log(result);
}
run();
Authentication
Per-Client Security Schemes
This SDK supports the following security schemes globally:
| Name | Type | Scheme | Environment Variable |
|---|---|---|---|
oAuth2 |
oauth2 | OAuth2 token | QTI_O_AUTH2 |
mcp |
oauth2 | OAuth2 token | QTI_MCP |
You can set the security parameters through the security optional parameter when initializing the SDK client instance. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example:
import { Qti } from "qti";
const qti = new Qti({
security: {
oAuth2: {
clientID: process.env["QTI_CLIENT_ID"] ?? "",
clientSecret: process.env["QTI_CLIENT_SECRET"] ?? "",
tokenURL: process.env["QTI_TOKEN_URL"] ?? "",
},
},
});
async function run() {
const result = await qti.stimulusManagement.searchStimuli({
sort: "createdAt",
});
console.log(result);
}
run();
Available Resources and Operations
Available methods
assessmentItemManagement
- searchAssessmentItems - Search and filter assessment items
- createAssessmentItem - Create a new assessment item
- getAssessmentItem - Get an assessment item with complete question content
- updateAssessmentItem - Update an assessment item's content and configuration
- deleteAssessmentItem - Delete an assessment item
assessmentTestManagement
- searchAssessmentTests - Search and filter assessment tests
- createAssessmentTest - Create a new assessment test
- createAssessmentTestRaw - Create a new assessment test
- getAssessmentTest - Get a complete assessment test with full structure
- updateAssessmentTest - Update an entire assessment test
- updateAssessmentTestRaw - Update an entire assessment test
- deleteAssessmentTest - Delete an assessment test
- getAllQuestions - Get all assessment items referenced by an assessment test
- updateAssessmentTestMetadata - Update assessment test metadata only
sectionManagement
- searchSections - Search sections within a test part
- createSection - Create a new section in a test part
- getSection - Get a section with all its assessment item references
- updateSection - Update a section's configuration and item references
- deleteSection - Delete a section and its item references
- addAssessmentItem - Add an assessment item reference to a section
- removeAssessmentItem - Remove an assessment item reference from a section
- updateAssessmentItemOrder - Reorder assessment items within a section
stimulusManagement
- searchStimuli - Search and filter stimuli
- createStimulus - Create a new stimulus
- getStimulus - Get a stimulus with its complete content
- updateStimulus - Update a stimulus and its content
- deleteStimulus - Delete a stimulus
testPartManagement
- searchTestParts - Search and filter test parts within an assessment test
- createTestPart - Create a new test part in an assessment test
- getTestPart - Get a specific test part with all its sections
- updateTestPart - Update a test part's configuration and sections
- deleteTestPart - Delete a test part and all its sections
Standalone functions
All the methods listed above are available as standalone functions. These functions are ideal for use in applications running in the browser, serverless runtimes or other environments where application bundle size is a primary concern. When using a bundler to build your application, all unused functionality will be either excluded from the final bundle or tree-shaken away.
To read more about standalone functions, check FUNCTIONS.md.
Available standalone functions
assessmentItemManagementCreateAssessmentItem- Create a new assessment itemassessmentItemManagementDeleteAssessmentItem- Delete an assessment itemassessmentItemManagementGetAssessmentItem- Get an assessment item with complete question contentassessmentItemManagementSearchAssessmentItems- Search and filter assessment itemsassessmentItemManagementUpdateAssessmentItem- Update an assessment item's content and configurationassessmentTestManagementCreateAssessmentTest- Create a new assessment testassessmentTestManagementCreateAssessmentTestRaw- Create a new assessment testassessmentTestManagementDeleteAssessmentTest- Delete an assessment testassessmentTestManagementGetAllQuestions- Get all assessment items referenced by an assessment testassessmentTestManagementGetAssessmentTest- Get a complete assessment test with full structureassessmentTestManagementSearchAssessmentTests- Search and filter assessment testsassessmentTestManagementUpdateAssessmentTest- Update an entire assessment testassessmentTestManagementUpdateAssessmentTestMetadata- Update assessment test metadata onlyassessmentTestManagementUpdateAssessmentTestRaw- Update an entire assessment testsectionManagementAddAssessmentItem- Add an assessment item reference to a sectionsectionManagementCreateSection- Create a new section in a test partsectionManagementDeleteSection- Delete a section and its item referencessectionManagementGetSection- Get a section with all its assessment item referencessectionManagementRemoveAssessmentItem- Remove an assessment item reference from a sectionsectionManagementSearchSections- Search sections within a test partsectionManagementUpdateAssessmentItemOrder- Reorder assessment items within a sectionsectionManagementUpdateSection- Update a section's configuration and item referencesstimulusManagementCreateStimulus- Create a new stimulusstimulusManagementDeleteStimulus- Delete a stimulusstimulusManagementGetStimulus- Get a stimulus with its complete contentstimulusManagementSearchStimuli- Search and filter stimulistimulusManagementUpdateStimulus- Update a stimulus and its contenttestPartManagementCreateTestPart- Create a new test part in an assessment testtestPartManagementDeleteTestPart- Delete a test part and all its sectionstestPartManagementGetTestPart- Get a specific test part with all its sectionstestPartManagementSearchTestParts- Search and filter test parts within an assessment testtestPartManagementUpdateTestPart- Update a test part's configuration and sections
File uploads
Certain SDK methods accept files as part of a multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
[!TIP]
Depending on your JavaScript runtime, there are convenient utilities that return a handle to a file without reading the entire contents into memory:
- Node.js v20+: Since v20, Node.js comes with a native
openAsBlobfunction innode:fs.- Bun: The native
Bun.filefunction produces a file handle that can be used for streaming file uploads.- Browsers: All supported browsers return an instance to a
Filewhen reading the value from an<input type="file">element.- Node.js v18: A file stream can be created using the
fileFromhelper fromfetch-blob/from.js.
import { Qti } from "qti";
const qti = new Qti({
security: {
oAuth2: {
clientID: process.env["QTI_CLIENT_ID"] ?? "",
clientSecret: process.env["QTI_CLIENT_SECRET"] ?? "",
tokenURL: process.env["QTI_TOKEN_URL"] ?? "",
},
},
});
async function run() {
const result = await qti.assessmentTestManagement.createAssessmentTestRaw(
bytesToStream(
new TextEncoder().encode(
"{\"identifier\":\"<value>\",\"title\":\"<value>\",\"qtiVersion\":\"3.0\",\"qti-test-part\":[]}",
),
),
);
console.log(result);
}
run();
Retries
Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
To change the default retry strategy for a single API call, simply provide a retryConfig object to the call:
import { Qti } from "qti";
const qti = new Qti({
security: {
oAuth2: {
clientID: process.env["QTI_CLIENT_ID"] ?? "",
clientSecret: process.env["QTI_CLIENT_SECRET"] ?? "",
tokenURL: process.env["QTI_TOKEN_URL"] ?? "",
},
},
});
async function run() {
const result = await qti.stimulusManagement.searchStimuli({
sort: "createdAt",
}, {
retries: {
strategy: "backoff",
backoff: {
initialInterval: 1,
maxInterval: 50,
exponent: 1.1,
maxElapsedTime: 100,
},
retryConnectionErrors: false,
},
});
console.log(result);
}
run();
If you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization:
import { Qti } from "qti";
const qti = new Qti({
retryConfig: {
strategy: "backoff",
backoff: {
initialInterval: 1,
maxInterval: 50,
exponent: 1.1,
maxElapsedTime: 100,
},
retryConnectionErrors: false,
},
security: {
oAuth2: {
clientID: process.env["QTI_CLIENT_ID"] ?? "",
clientSecret: process.env["QTI_CLIENT_SECRET"] ?? "",
tokenURL: process.env["QTI_TOKEN_URL"] ?? "",
},
},
});
async function run() {
const result = await qti.stimulusManagement.searchStimuli({
sort: "createdAt",
});
console.log(result);
}
run();
Error Handling
QtiError is the base class for all HTTP error responses. It has the following properties:
| Property | Type | Description |
|---|---|---|
error.message |
string |
Error message |
error.statusCode |
number |
HTTP response status code eg 404 |
error.headers |
Headers |
HTTP response headers |
error.body |
string |
HTTP body. Can be empty string if no body is returned. |
error.rawResponse |
Response |
Raw HTTP response |
error.data$ |
Optional. Some errors may contain structured data. See Error Classes. |
Example
import { Qti } from "qti";
import * as errors from "qti/models/errors";
const qti = new Qti({
security: {
oAuth2: {
clientID: process.env["QTI_CLIENT_ID"] ?? "",
clientSecret: process.env["QTI_CLIENT_SECRET"] ?? "",
tokenURL: process.env["QTI_TOKEN_URL"] ?? "",
},
},
});
async function run() {
try {
const result = await qti.stimulusManagement.searchStimuli({
sort: "createdAt",
});
console.log(result);
} catch (error) {
// The base class for HTTP error responses
if (error instanceof errors.QtiError) {
console.log(error.message);
console.log(error.statusCode);
console.log(error.body);
console.log(error.headers);
// Depending on the method different errors may be thrown
if (error instanceof errors.SearchStimuliInternalServerError) {
console.log(error.data$.error); // string
console.log(error.data$.message); // string
console.log(error.data$.eventId); // string
console.log(error.data$.details); // string
}
}
}
}
run();
Error Classes
Primary error:
QtiError: The base class for HTTP error responses.
Less common errors (89)
Network errors:
ConnectionError: HTTP client was unable to make a request to a server.RequestTimeoutError: HTTP request timed out due to an AbortSignal signal.RequestAbortedError: HTTP request was aborted by the client.InvalidRequestError: Any input used to create a request is invalid.UnexpectedClientError: Unrecognised or unexpected error.
Inherit from QtiError:
CreateStimulusBadRequestError: Invalid stimulus data. Status code400. Applicable to 1 of 32 methods.*UpdateStimulusBadRequestError: Invalid stimulus data. Status code400. Applicable to 1 of 32 methods.*SearchAssessmentItemsBadRequestError: Validation failed. Status code400. Applicable to 1 of 32 methods.*CreateAssessmentItemBadRequestError: Invalid request body or stimulus not found. Status code400. Applicable to 1 of 32 methods.*UpdateAssessmentItemBadRequestError: Invalid request body or stimulus not found. Status code400. Applicable to 1 of 32 methods.*SearchAssessmentTestsBadRequestError: Invalid request parameters. Status code400. Applicable to 1 of 32 methods.*CreateAssessmentTestBadRequestError: Invalid assessment test data. Status code400. Applicable to 1 of 32 methods.*CreateAssessmentTestRawBadRequestError: Invalid assessment test data. Status code400. Applicable to 1 of 32 methods.*UpdateAssessmentTestMetadataBadRequestError: Metadata is required and must be an object. Status code400. Applicable to 1 of 32 methods.*SearchTestPartsBadRequestError: Missing required parameters. Status code400. Applicable to 1 of 32 methods.*CreateTestPartBadRequestError: Missig required paramater or Invalid test part data. Status code400. Applicable to 1 of 32 methods.*UpdateTestPartBadRequestError: Missing required parameters or invalid test part data. Status code400. Applicable to 1 of 32 methods.*SearchSectionsBadRequestError: Missing required parameters. Status code400. Applicable to 1 of 32 methods.*CreateSectionBadRequestError: Invalid request body or validation error. Status code400. Applicable to 1 of 32 methods.*GetSectionBadRequestError: Missing required parameters. Status code400. Applicable to 1 of 32 methods.*UpdateSectionBadRequestError: Missing required parameters or invalid section data. Status code400. Applicable to 1 of 32 methods.*AddAssessmentItemBadRequestError: Missing assessment item identifier or item already exists in section. Status code400. Applicable to 1 of 32 methods.*UpdateAssessmentItemOrderBadRequestError: Invalid items array or validation error. Status code400. Applicable to 1 of 32 methods.*GetStimulusNotFoundError: Stimulus not found. Status code404. Applicable to 1 of 32 methods.*UpdateStimulusNotFoundError: Stimulus not found or Failed to update Stimulus. Status code404. Applicable to 1 of 32 methods.*DeleteStimulusNotFoundError: Stimulus not found. Status code404. Applicable to 1 of 32 methods.*GetAssessmentItemNotFoundError: Item not found. Status code404. Applicable to 1 of 32 methods.*UpdateAssessmentItemNotFoundError: Item not found. Status code404. Applicable to 1 of 32 methods.*DeleteAssessmentItemNotFoundError: Item not found. Status code404. Applicable to 1 of 32 methods.*GetAssessmentTestNotFoundError: Assessment test not found. Status code404. Applicable to 1 of 32 methods.*UpdateAssessmentTestNotFoundError: Assessment test not found. Status code404. Applicable to 1 of 32 methods.*UpdateAssessmentTestRawNotFoundError: Assessment test not found. Status code404. Applicable to 1 of 32 methods.*DeleteAssessmentTestNotFoundError: Assessment test not found. Status code404. Applicable to 1 of 32 methods.*GetAllQuestionsNotFoundError: Assessment test not found. Status code404. Applicable to 1 of 32 methods.*UpdateAssessmentTestMetadataNotFoundError: Assessment test not found. Status code404. Applicable to 1 of 32 methods.*SearchTestPartsNotFoundError: Assessment test not found. Status code404. Applicable to 1 of 32 methods.*CreateTestPartNotFoundError: Assessment test not found. Status code404. Applicable to 1 of 32 methods.*GetTestPartNotFoundError: Assessment test or test part not found. Status code404. Applicable to 1 of 32 methods.*UpdateTestPartNotFoundError: Assessment test or test part not found. Status code404. Applicable to 1 of 32 methods.*DeleteTestPartNotFoundError: Assessment test or test part not found. Status code404. Applicable to 1 of 32 methods.*SearchSectionsNotFoundError: Assessment test or test part not found. Status code404. Applicable to 1 of 32 methods.*CreateSectionNotFoundError: Assessment test or test part not found. Status code404. Applicable to 1 of 32 methods.*GetSectionNotFoundError: Assessment test, test part, or section not found. Status code404. Applicable to 1 of 32 methods.*UpdateSectionNotFoundError: Assessment test, test part, or section not found. Status code404. Applicable to 1 of 32 methods.*DeleteSectionNotFoundError: Assessment test, test part, or section not found. Status code404. Applicable to 1 of 32 methods.*AddAssessmentItemNotFoundError: Assessment test, test part, section, or assessment item not found. Status code404. Applicable to 1 of 32 methods.*RemoveAssessmentItemNotFoundError: Assessment test, test part, section, or item reference not found. Status code404. Applicable to 1 of 32 methods.*UpdateAssessmentItemOrderNotFoundError: Assessment test, test part, section, or item references not found. Status code404. Applicable to 1 of 32 methods.*CreateStimulusConflictError: Stimulus with this identifier already exists. Status code409. Applicable to 1 of 32 methods.*CreateAssessmentItemConflictError: Assessment item with this identifier already exists. Status code409. Applicable to 1 of 32 methods.*CreateAssessmentTestConflictError: Assessment test with this identifier already exists. Status code409. Applicable to 1 of 32 methods.*CreateAssessmentTestRawConflictError: Assessment test with this identifier already exists. Status code409. Applicable to 1 of 32 methods.*CreateTestPartConflictError: Test part with this identifier already exists. Status code409. Applicable to 1 of 32 methods.*SearchStimuliInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*CreateStimulusInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*GetStimulusInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*UpdateStimulusInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*DeleteStimulusInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*SearchAssessmentItemsInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*CreateAssessmentItemInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*GetAssessmentItemInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*UpdateAssessmentItemInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*DeleteAssessmentItemInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*SearchAssessmentTestsInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*CreateAssessmentTestInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*CreateAssessmentTestRawInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*GetAssessmentTestInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*UpdateAssessmentTestInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*UpdateAssessmentTestRawInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*DeleteAssessmentTestInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*GetAllQuestionsInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*UpdateAssessmentTestMetadataInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*SearchTestPartsInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*CreateTestPartInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*GetTestPartInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*UpdateTestPartInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*DeleteTestPartInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*SearchSectionsInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*CreateSectionInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*GetSectionInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*UpdateSectionInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*DeleteSectionInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*AddAssessmentItemInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*RemoveAssessmentItemInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*UpdateAssessmentItemOrderInternalServerError: Internal server error response. Status code500. Applicable to 1 of 32 methods.*UpdateTestPartNotImplementedError: XML update not supported yet. Status code501. Applicable to 1 of 32 methods.*CreateSectionNotImplementedError: XML format not supported. Status code501. Applicable to 1 of 32 methods.*UpdateSectionNotImplementedError: XML format not supported. Status code501. Applicable to 1 of 32 methods.*ResponseValidationError: Type mismatch between the data returned from the server and the structure expected by the SDK. Seeerror.rawValuefor the raw value anderror.pretty()for a nicely formatted multi-line string.
* Check the method documentation to see if the error is applicable.
Server Selection
Override Server URL Per-Client
The default server can be overridden globally by passing a URL to the serverURL: string optional parameter when initializing the SDK client instance. For example:
import { Qti } from "qti";
const qti = new Qti({
serverURL: "https://qti.alpha-1edtech.com/api",
security: {
oAuth2: {
clientID: process.env["QTI_CLIENT_ID"] ?? "",
clientSecret: process.env["QTI_CLIENT_SECRET"] ?? "",
tokenURL: process.env["QTI_TOKEN_URL"] ?? "",
},
},
});
async function run() {
const result = await qti.stimulusManagement.searchStimuli({
sort: "createdAt",
});
console.log(result);
}
run();
Custom HTTP Client
The TypeScript SDK makes API calls using an HTTPClient that wraps the native
Fetch API. This
client is a thin wrapper around fetch and provides the ability to attach hooks
around the request lifecycle that can be used to modify the request or handle
errors and response.
The HTTPClient constructor takes an optional fetcher argument that can be
used to integrate a third-party HTTP client or when writing tests to mock out
the HTTP client and feed in fixtures.
The following example shows how to use the "beforeRequest" hook to to add a
custom header and a timeout to requests and how to use the "requestError" hook
to log errors:
import { Qti } from "qti";
import { HTTPClient } from "qti/lib/http";
const httpClient = new HTTPClient({
// fetcher takes a function that has the same signature as native `fetch`.
fetcher: (request) => {
return fetch(request);
}
});
httpClient.addHook("beforeRequest", (request) => {
const nextRequest = new Request(request, {
signal: request.signal || AbortSignal.timeout(5000)
});
nextRequest.headers.set("x-custom-header", "custom value");
return nextRequest;
});
httpClient.addHook("requestError", (error, request) => {
console.group("Request Error");
console.log("Reason:", `${error}`);
console.log("Endpoint:", `${request.method} ${request.url}`);
console.groupEnd();
});
const sdk = new Qti({ httpClient });Debugging
You can setup your SDK to emit debug logs for SDK requests and responses.
You can pass a logger that matches console's interface as an SDK option.
[!WARNING] Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.
import { Qti } from "qti";
const sdk = new Qti({ debugLogger: console });You can also enable a default debug logger by setting an environment variable QTI_DEBUG to true.
Development
Maturity
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
Contributions
While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation. We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.