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