@conform-ed/qti-react 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/headless.d.ts +14 -0
- package/dist/headless.js +3062 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +142 -96
- package/dist/item-capability.d.ts +43 -0
- package/package.json +9 -4
- package/src/headless.ts +26 -0
- package/src/index.ts +2 -0
- package/src/item-capability.ts +211 -0
- package/src/runtime.ts +17 -123
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Headless (React-free) surface of @conform-ed/qti-react: the normalize → view adapters
|
|
3
|
+
* and the capability gate, importable on a server (e.g. a QTI ingest pipeline) without
|
|
4
|
+
* pulling React. Exposed at `@conform-ed/qti-react/headless`; everything here is also
|
|
5
|
+
* re-exported from the package root for React consumers.
|
|
6
|
+
*
|
|
7
|
+
* Keep this entry free of React-coupled imports — only ./normalized-item and
|
|
8
|
+
* ./item-capability (value) plus type-only re-exports.
|
|
9
|
+
*/
|
|
10
|
+
export { assessmentItemViewFromNormalized, assessmentTestViewFromNormalized, stimulusContentFromNormalized, } from "./normalized-item";
|
|
11
|
+
export { referenceInteractionKinds, reportItemCapability, type ItemCapabilityOptions } from "./item-capability";
|
|
12
|
+
export type { CapabilityIssue, CapabilityIssueType, CapabilityReport } from "./capability";
|
|
13
|
+
export type { AssessmentItemView, AssessmentStimulusRefView, BodyNode, InteractionNode, StimulusContentView, XmlContentNode, } from "./runtime";
|
|
14
|
+
export type { AssessmentTestView } from "./test";
|