@timeback/oneroster 0.2.2-beta.20260422071626 → 0.2.2-beta.20260423215532
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/index.js +49 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1796,15 +1796,48 @@ var QtiFeedbackInline = z11.object({
|
|
|
1796
1796
|
identifier: NonEmptyString,
|
|
1797
1797
|
showHide: QtiShowHide,
|
|
1798
1798
|
content: z11.string(),
|
|
1799
|
-
class: z11.array(z11.string())
|
|
1799
|
+
class: z11.array(z11.string()).optional()
|
|
1800
1800
|
}).strict();
|
|
1801
1801
|
var QtiFeedbackBlock = z11.object({
|
|
1802
1802
|
outcomeIdentifier: NonEmptyString,
|
|
1803
1803
|
identifier: NonEmptyString,
|
|
1804
1804
|
showHide: QtiShowHide,
|
|
1805
1805
|
content: z11.string(),
|
|
1806
|
-
class: z11.array(z11.string())
|
|
1806
|
+
class: z11.array(z11.string()).optional()
|
|
1807
1807
|
}).strict();
|
|
1808
|
+
var QtiInteractionChoice = z11.object({
|
|
1809
|
+
identifier: NonEmptyString,
|
|
1810
|
+
content: z11.string(),
|
|
1811
|
+
feedbackInline: z11.string().nullable().optional(),
|
|
1812
|
+
feedbackOutcomeIdentifier: NonEmptyString.optional()
|
|
1813
|
+
}).loose();
|
|
1814
|
+
var QtiQuestionStructure = z11.object({
|
|
1815
|
+
prompt: z11.string().optional(),
|
|
1816
|
+
choices: z11.array(QtiInteractionChoice).optional()
|
|
1817
|
+
}).loose();
|
|
1818
|
+
var QtiInteractionAttributes = z11.object({
|
|
1819
|
+
"expected-length": z11.number().int().nonnegative().optional(),
|
|
1820
|
+
"pattern-mask": z11.string().optional(),
|
|
1821
|
+
placeholder: z11.string().optional()
|
|
1822
|
+
}).loose();
|
|
1823
|
+
var QtiAssessmentItemInteraction = z11.object({
|
|
1824
|
+
type: QtiAssessmentItemType,
|
|
1825
|
+
responseIdentifier: NonEmptyString,
|
|
1826
|
+
shuffle: z11.boolean().optional(),
|
|
1827
|
+
maxChoices: z11.number().int().nonnegative().optional(),
|
|
1828
|
+
attributes: QtiInteractionAttributes.optional(),
|
|
1829
|
+
questionStructure: QtiQuestionStructure
|
|
1830
|
+
}).loose();
|
|
1831
|
+
var QtiRubric = z11.object({
|
|
1832
|
+
use: NonEmptyString,
|
|
1833
|
+
view: NonEmptyString,
|
|
1834
|
+
body: z11.string()
|
|
1835
|
+
}).loose();
|
|
1836
|
+
var QtiStimulusReference = z11.object({
|
|
1837
|
+
identifier: NonEmptyString,
|
|
1838
|
+
href: NonEmptyString.optional(),
|
|
1839
|
+
title: z11.string().optional()
|
|
1840
|
+
}).loose();
|
|
1808
1841
|
var QtiStylesheet = z11.object({
|
|
1809
1842
|
href: NonEmptyString,
|
|
1810
1843
|
type: NonEmptyString
|
|
@@ -1815,6 +1848,7 @@ var QtiCatalogInfo = z11.object({
|
|
|
1815
1848
|
content: z11.string()
|
|
1816
1849
|
}).strict();
|
|
1817
1850
|
var QtiPaginationParams = z11.object({
|
|
1851
|
+
query: z11.string().optional(),
|
|
1818
1852
|
page: z11.number().int().positive().optional(),
|
|
1819
1853
|
limit: z11.number().int().positive().optional(),
|
|
1820
1854
|
sort: z11.string().optional(),
|
|
@@ -1826,31 +1860,41 @@ var QtiAssessmentItemXmlCreateInput = z11.object({
|
|
|
1826
1860
|
metadata: QtiItemMetadata.optional()
|
|
1827
1861
|
}).strict();
|
|
1828
1862
|
var QtiAssessmentItemJsonCreateInput = z11.object({
|
|
1863
|
+
format: z11.literal("json").optional(),
|
|
1829
1864
|
identifier: NonEmptyString,
|
|
1830
1865
|
title: NonEmptyString,
|
|
1831
1866
|
type: QtiAssessmentItemType,
|
|
1832
1867
|
qtiVersion: z11.string().optional(),
|
|
1833
1868
|
timeDependent: z11.boolean().optional(),
|
|
1834
1869
|
adaptive: z11.boolean().optional(),
|
|
1870
|
+
preInteraction: z11.string().optional(),
|
|
1871
|
+
interaction: QtiAssessmentItemInteraction.optional(),
|
|
1872
|
+
postInteraction: z11.string().optional(),
|
|
1835
1873
|
responseDeclarations: z11.array(QtiResponseDeclaration).optional(),
|
|
1836
1874
|
outcomeDeclarations: z11.array(QtiOutcomeDeclaration).optional(),
|
|
1837
1875
|
responseProcessing: QtiResponseProcessing.optional(),
|
|
1838
1876
|
metadata: QtiItemMetadata.optional(),
|
|
1839
1877
|
modalFeedback: z11.array(QtiModalFeedback).optional(),
|
|
1840
1878
|
feedbackInline: z11.array(QtiFeedbackInline).optional(),
|
|
1841
|
-
feedbackBlock: z11.array(QtiFeedbackBlock).optional()
|
|
1879
|
+
feedbackBlock: z11.array(QtiFeedbackBlock).optional(),
|
|
1880
|
+
rubrics: z11.array(QtiRubric).optional(),
|
|
1881
|
+
stimulus: QtiStimulusReference.optional()
|
|
1842
1882
|
}).strict();
|
|
1843
1883
|
var QtiAssessmentItemCreateInput = z11.union([
|
|
1844
1884
|
QtiAssessmentItemXmlCreateInput,
|
|
1845
1885
|
QtiAssessmentItemJsonCreateInput
|
|
1846
1886
|
]);
|
|
1847
1887
|
var QtiAssessmentItemUpdateInput = z11.object({
|
|
1888
|
+
format: z11.literal("json").optional(),
|
|
1848
1889
|
identifier: NonEmptyString.optional(),
|
|
1849
1890
|
title: NonEmptyString,
|
|
1850
1891
|
type: QtiAssessmentItemType,
|
|
1851
1892
|
qtiVersion: z11.string().optional(),
|
|
1852
1893
|
timeDependent: z11.boolean().optional(),
|
|
1853
1894
|
adaptive: z11.boolean().optional(),
|
|
1895
|
+
preInteraction: z11.string().optional(),
|
|
1896
|
+
interaction: QtiAssessmentItemInteraction.optional(),
|
|
1897
|
+
postInteraction: z11.string().optional(),
|
|
1854
1898
|
responseDeclarations: z11.array(QtiResponseDeclaration).optional(),
|
|
1855
1899
|
outcomeDeclarations: z11.array(QtiOutcomeDeclaration).optional(),
|
|
1856
1900
|
responseProcessing: QtiResponseProcessing.optional(),
|
|
@@ -1858,6 +1902,8 @@ var QtiAssessmentItemUpdateInput = z11.object({
|
|
|
1858
1902
|
modalFeedback: z11.array(QtiModalFeedback).optional(),
|
|
1859
1903
|
feedbackInline: z11.array(QtiFeedbackInline).optional(),
|
|
1860
1904
|
feedbackBlock: z11.array(QtiFeedbackBlock).optional(),
|
|
1905
|
+
rubrics: z11.array(QtiRubric).optional(),
|
|
1906
|
+
stimulus: QtiStimulusReference.optional(),
|
|
1861
1907
|
rawXml: z11.string(),
|
|
1862
1908
|
content: z11.record(z11.string(), z11.unknown())
|
|
1863
1909
|
}).strict();
|