@nakafa/aksara-contracts 8.8.0 → 8.9.1
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/assessment/answer.d.ts +2 -0
- package/dist/assessment/answer.js +5 -3
- package/dist/assessment/closure.js +2 -1
- package/dist/assessment/fit.d.ts +16 -2
- package/dist/assessment/fit.js +23 -5
- package/dist/assessment/graphic.d.ts +27 -0
- package/dist/assessment/graphic.js +17 -1
- package/dist/assessment/hash.d.ts +71 -3
- package/dist/assessment/interaction.d.ts +18 -1
- package/dist/assessment/interaction.js +2 -1
- package/dist/assessment/item.d.ts +85 -0
- package/dist/assessment/item.js +1 -1
- package/dist/assessment/joint.d.ts +4 -3
- package/dist/assessment/joint.js +4 -3
- package/dist/assessment/key.d.ts +138 -0
- package/dist/assessment/key.js +6 -0
- package/dist/assessment/paper.d.ts +316 -0
- package/dist/assessment/profile.d.ts +3 -3
- package/dist/assessment/profile.js +4 -4
- package/dist/assessment/rows.d.ts +285 -3
- package/dist/assessment/scoring.d.ts +12 -6
- package/dist/assessment/scoring.js +25 -8
- package/dist/assessment/sketch.d.ts +125 -0
- package/dist/assessment/sketch.js +175 -0
- package/dist/assessment/snapshot.d.ts +746 -10
- package/dist/assessment/structure.js +4 -4
- package/dist/release/snapshot/data.d.ts +88 -2
- package/dist/release/snapshot/verify.d.ts +285 -3
- package/dist/transport/group.d.ts +264 -6
- package/dist/transport/request.d.ts +1886 -22
- package/dist/transport/snapshot.d.ts +176 -4
- package/package.json +2 -2
|
@@ -277,7 +277,7 @@ export declare const StageSnapshotBatchInputSchema: Schema.Struct<{
|
|
|
277
277
|
readonly seconds: Schema.Int;
|
|
278
278
|
}>>;
|
|
279
279
|
readonly defaults: Schema.$Array<Schema.Struct<{
|
|
280
|
-
readonly interaction: Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">)[]]>;
|
|
280
|
+
readonly interaction: Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">)[]]>;
|
|
281
281
|
readonly rule: Schema.Union<readonly [Schema.Struct<{
|
|
282
282
|
readonly kind: Schema.Literal<"allOrNothing">;
|
|
283
283
|
}>, Schema.Struct<{
|
|
@@ -323,7 +323,7 @@ export declare const StageSnapshotBatchInputSchema: Schema.Struct<{
|
|
|
323
323
|
}>]>;
|
|
324
324
|
readonly sections: Schema.NonEmptyArray<Schema.Struct<{
|
|
325
325
|
readonly id: Schema.String;
|
|
326
|
-
readonly interactions: Schema.NonEmptyArray<Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">)[]]>>;
|
|
326
|
+
readonly interactions: Schema.NonEmptyArray<Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">)[]]>>;
|
|
327
327
|
readonly items: Schema.Int;
|
|
328
328
|
readonly names: Schema.$Record<Schema.Literals<readonly ["en", "id", "de", "ms"]>, Schema.Trimmed>;
|
|
329
329
|
readonly navigation: Schema.Literals<readonly ["free", "linear"]>;
|
|
@@ -581,6 +581,23 @@ export declare const StageSnapshotBatchInputSchema: Schema.Struct<{
|
|
|
581
581
|
readonly label: Schema.Trimmed;
|
|
582
582
|
readonly expectedLines: Schema.optionalKey<Schema.Int>;
|
|
583
583
|
readonly kind: Schema.Literal<"extendedText">;
|
|
584
|
+
}>, Schema.Struct<{
|
|
585
|
+
readonly id: Schema.String;
|
|
586
|
+
readonly label: Schema.Trimmed;
|
|
587
|
+
readonly frame: Schema.Struct<{
|
|
588
|
+
readonly kind: Schema.Literal<"cartesian">;
|
|
589
|
+
readonly x: Schema.Struct<{
|
|
590
|
+
readonly max: Schema.Finite;
|
|
591
|
+
readonly min: Schema.Finite;
|
|
592
|
+
}>;
|
|
593
|
+
readonly y: Schema.Struct<{
|
|
594
|
+
readonly max: Schema.Finite;
|
|
595
|
+
readonly min: Schema.Finite;
|
|
596
|
+
}>;
|
|
597
|
+
}>;
|
|
598
|
+
readonly grid: Schema.optionalKey<Schema.Finite>;
|
|
599
|
+
readonly kind: Schema.Literal<"sketch">;
|
|
600
|
+
readonly marks: Schema.$Array<Schema.Literals<readonly ["asymptote", "point"]>>;
|
|
584
601
|
}>]>>;
|
|
585
602
|
readonly joint: Schema.optionalKey<Schema.Struct<{
|
|
586
603
|
readonly levels: Schema.NonEmptyArray<Schema.Struct<{
|
|
@@ -723,12 +740,81 @@ export declare const StageSnapshotBatchInputSchema: Schema.Struct<{
|
|
|
723
740
|
readonly interaction: Schema.String;
|
|
724
741
|
readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
|
|
725
742
|
readonly criterion: Schema.String;
|
|
743
|
+
readonly feedback: Schema.optionalKey<Schema.Struct<{
|
|
744
|
+
readonly earned: Schema.Trimmed;
|
|
745
|
+
readonly missed: Schema.Trimmed;
|
|
746
|
+
}>>;
|
|
726
747
|
readonly levels: Schema.NonEmptyArray<Schema.Struct<{
|
|
727
748
|
readonly descriptor: Schema.Trimmed;
|
|
728
749
|
readonly level: Schema.String;
|
|
729
750
|
}>>;
|
|
730
751
|
}>>;
|
|
731
752
|
readonly kind: Schema.Literal<"extendedText">;
|
|
753
|
+
}>, Schema.Struct<{
|
|
754
|
+
readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
|
|
755
|
+
readonly check: Schema.Struct<{
|
|
756
|
+
readonly feature: Schema.Union<readonly [Schema.Struct<{
|
|
757
|
+
readonly contact: Schema.Literals<readonly ["cross", "touch"]>;
|
|
758
|
+
readonly kind: Schema.Literal<"zero">;
|
|
759
|
+
readonly x: Schema.String;
|
|
760
|
+
}>, Schema.Struct<{
|
|
761
|
+
readonly kind: Schema.Literal<"yIntercept">;
|
|
762
|
+
readonly y: Schema.String;
|
|
763
|
+
}>, Schema.Struct<{
|
|
764
|
+
readonly kind: Schema.Literal<"extremum">;
|
|
765
|
+
readonly turn: Schema.Literals<readonly ["maximum", "minimum"]>;
|
|
766
|
+
readonly x: Schema.String;
|
|
767
|
+
readonly y: Schema.String;
|
|
768
|
+
}>, Schema.Struct<{
|
|
769
|
+
readonly kind: Schema.Literal<"asymptote">;
|
|
770
|
+
readonly line: Schema.Union<readonly [Schema.Struct<{
|
|
771
|
+
readonly kind: Schema.Literal<"vertical">;
|
|
772
|
+
readonly x: Schema.String;
|
|
773
|
+
}>, Schema.Struct<{
|
|
774
|
+
readonly intercept: Schema.String;
|
|
775
|
+
readonly kind: Schema.Literal<"sloped">;
|
|
776
|
+
readonly slope: Schema.String;
|
|
777
|
+
}>]>;
|
|
778
|
+
}>, Schema.Struct<{
|
|
779
|
+
readonly direction: Schema.Literals<readonly ["falling", "rising"]>;
|
|
780
|
+
readonly from: Schema.NullOr<Schema.String>;
|
|
781
|
+
readonly kind: Schema.Literal<"interval">;
|
|
782
|
+
readonly to: Schema.NullOr<Schema.String>;
|
|
783
|
+
}>, Schema.Struct<{
|
|
784
|
+
readonly kind: Schema.Literal<"end">;
|
|
785
|
+
readonly limit: Schema.Union<readonly [Schema.Literals<readonly ["negativeInfinity", "positiveInfinity"]>, Schema.String]>;
|
|
786
|
+
readonly side: Schema.Literals<readonly ["left", "right"]>;
|
|
787
|
+
}>, Schema.Struct<{
|
|
788
|
+
readonly kind: Schema.Literal<"inflection">;
|
|
789
|
+
readonly x: Schema.String;
|
|
790
|
+
readonly y: Schema.String;
|
|
791
|
+
}>, Schema.Struct<{
|
|
792
|
+
readonly end: Schema.optionalKey<Schema.Literals<readonly ["closed", "open"]>>;
|
|
793
|
+
readonly kind: Schema.Literal<"point">;
|
|
794
|
+
readonly x: Schema.String;
|
|
795
|
+
readonly y: Schema.String;
|
|
796
|
+
}>]>;
|
|
797
|
+
readonly kind: Schema.Literal<"feature">;
|
|
798
|
+
}>;
|
|
799
|
+
readonly criterion: Schema.String;
|
|
800
|
+
readonly feedback: Schema.Struct<{
|
|
801
|
+
readonly earned: Schema.Trimmed;
|
|
802
|
+
readonly missed: Schema.Trimmed;
|
|
803
|
+
}>;
|
|
804
|
+
readonly requires: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
|
|
805
|
+
}>>;
|
|
806
|
+
readonly interaction: Schema.String;
|
|
807
|
+
readonly kind: Schema.Literal<"sketch">;
|
|
808
|
+
readonly tolerances: Schema.Struct<{
|
|
809
|
+
readonly asymptote: Schema.optionalKey<Schema.String>;
|
|
810
|
+
readonly end: Schema.optionalKey<Schema.String>;
|
|
811
|
+
readonly extremum: Schema.optionalKey<Schema.String>;
|
|
812
|
+
readonly inflection: Schema.optionalKey<Schema.String>;
|
|
813
|
+
readonly interval: Schema.optionalKey<Schema.String>;
|
|
814
|
+
readonly point: Schema.optionalKey<Schema.String>;
|
|
815
|
+
readonly yIntercept: Schema.optionalKey<Schema.String>;
|
|
816
|
+
readonly zero: Schema.optionalKey<Schema.String>;
|
|
817
|
+
}>;
|
|
732
818
|
}>]>>;
|
|
733
819
|
readonly version: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
734
820
|
}>;
|
|
@@ -1111,7 +1197,7 @@ export declare const StageSnapshotBatchRequestSchema: Schema.Struct<{
|
|
|
1111
1197
|
readonly seconds: Schema.Int;
|
|
1112
1198
|
}>>;
|
|
1113
1199
|
readonly defaults: Schema.$Array<Schema.Struct<{
|
|
1114
|
-
readonly interaction: Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">)[]]>;
|
|
1200
|
+
readonly interaction: Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">)[]]>;
|
|
1115
1201
|
readonly rule: Schema.Union<readonly [Schema.Struct<{
|
|
1116
1202
|
readonly kind: Schema.Literal<"allOrNothing">;
|
|
1117
1203
|
}>, Schema.Struct<{
|
|
@@ -1157,7 +1243,7 @@ export declare const StageSnapshotBatchRequestSchema: Schema.Struct<{
|
|
|
1157
1243
|
}>]>;
|
|
1158
1244
|
readonly sections: Schema.NonEmptyArray<Schema.Struct<{
|
|
1159
1245
|
readonly id: Schema.String;
|
|
1160
|
-
readonly interactions: Schema.NonEmptyArray<Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"textEntry">)[]]>>;
|
|
1246
|
+
readonly interactions: Schema.NonEmptyArray<Schema.Union<[Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">, ...(Schema.Literal<"choice"> | Schema.Literal<"extendedText"> | Schema.Literal<"gapMatch"> | Schema.Literal<"graphPoint"> | Schema.Literal<"hotspot"> | Schema.Literal<"inlineChoice"> | Schema.Literal<"match"> | Schema.Literal<"mathEntry"> | Schema.Literal<"matrix"> | Schema.Literal<"numericEntry"> | Schema.Literal<"order"> | Schema.Literal<"sketch"> | Schema.Literal<"textEntry">)[]]>>;
|
|
1161
1247
|
readonly items: Schema.Int;
|
|
1162
1248
|
readonly names: Schema.$Record<Schema.Literals<readonly ["en", "id", "de", "ms"]>, Schema.Trimmed>;
|
|
1163
1249
|
readonly navigation: Schema.Literals<readonly ["free", "linear"]>;
|
|
@@ -1415,6 +1501,23 @@ export declare const StageSnapshotBatchRequestSchema: Schema.Struct<{
|
|
|
1415
1501
|
readonly label: Schema.Trimmed;
|
|
1416
1502
|
readonly expectedLines: Schema.optionalKey<Schema.Int>;
|
|
1417
1503
|
readonly kind: Schema.Literal<"extendedText">;
|
|
1504
|
+
}>, Schema.Struct<{
|
|
1505
|
+
readonly id: Schema.String;
|
|
1506
|
+
readonly label: Schema.Trimmed;
|
|
1507
|
+
readonly frame: Schema.Struct<{
|
|
1508
|
+
readonly kind: Schema.Literal<"cartesian">;
|
|
1509
|
+
readonly x: Schema.Struct<{
|
|
1510
|
+
readonly max: Schema.Finite;
|
|
1511
|
+
readonly min: Schema.Finite;
|
|
1512
|
+
}>;
|
|
1513
|
+
readonly y: Schema.Struct<{
|
|
1514
|
+
readonly max: Schema.Finite;
|
|
1515
|
+
readonly min: Schema.Finite;
|
|
1516
|
+
}>;
|
|
1517
|
+
}>;
|
|
1518
|
+
readonly grid: Schema.optionalKey<Schema.Finite>;
|
|
1519
|
+
readonly kind: Schema.Literal<"sketch">;
|
|
1520
|
+
readonly marks: Schema.$Array<Schema.Literals<readonly ["asymptote", "point"]>>;
|
|
1418
1521
|
}>]>>;
|
|
1419
1522
|
readonly joint: Schema.optionalKey<Schema.Struct<{
|
|
1420
1523
|
readonly levels: Schema.NonEmptyArray<Schema.Struct<{
|
|
@@ -1557,12 +1660,81 @@ export declare const StageSnapshotBatchRequestSchema: Schema.Struct<{
|
|
|
1557
1660
|
readonly interaction: Schema.String;
|
|
1558
1661
|
readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
|
|
1559
1662
|
readonly criterion: Schema.String;
|
|
1663
|
+
readonly feedback: Schema.optionalKey<Schema.Struct<{
|
|
1664
|
+
readonly earned: Schema.Trimmed;
|
|
1665
|
+
readonly missed: Schema.Trimmed;
|
|
1666
|
+
}>>;
|
|
1560
1667
|
readonly levels: Schema.NonEmptyArray<Schema.Struct<{
|
|
1561
1668
|
readonly descriptor: Schema.Trimmed;
|
|
1562
1669
|
readonly level: Schema.String;
|
|
1563
1670
|
}>>;
|
|
1564
1671
|
}>>;
|
|
1565
1672
|
readonly kind: Schema.Literal<"extendedText">;
|
|
1673
|
+
}>, Schema.Struct<{
|
|
1674
|
+
readonly criteria: Schema.NonEmptyArray<Schema.Struct<{
|
|
1675
|
+
readonly check: Schema.Struct<{
|
|
1676
|
+
readonly feature: Schema.Union<readonly [Schema.Struct<{
|
|
1677
|
+
readonly contact: Schema.Literals<readonly ["cross", "touch"]>;
|
|
1678
|
+
readonly kind: Schema.Literal<"zero">;
|
|
1679
|
+
readonly x: Schema.String;
|
|
1680
|
+
}>, Schema.Struct<{
|
|
1681
|
+
readonly kind: Schema.Literal<"yIntercept">;
|
|
1682
|
+
readonly y: Schema.String;
|
|
1683
|
+
}>, Schema.Struct<{
|
|
1684
|
+
readonly kind: Schema.Literal<"extremum">;
|
|
1685
|
+
readonly turn: Schema.Literals<readonly ["maximum", "minimum"]>;
|
|
1686
|
+
readonly x: Schema.String;
|
|
1687
|
+
readonly y: Schema.String;
|
|
1688
|
+
}>, Schema.Struct<{
|
|
1689
|
+
readonly kind: Schema.Literal<"asymptote">;
|
|
1690
|
+
readonly line: Schema.Union<readonly [Schema.Struct<{
|
|
1691
|
+
readonly kind: Schema.Literal<"vertical">;
|
|
1692
|
+
readonly x: Schema.String;
|
|
1693
|
+
}>, Schema.Struct<{
|
|
1694
|
+
readonly intercept: Schema.String;
|
|
1695
|
+
readonly kind: Schema.Literal<"sloped">;
|
|
1696
|
+
readonly slope: Schema.String;
|
|
1697
|
+
}>]>;
|
|
1698
|
+
}>, Schema.Struct<{
|
|
1699
|
+
readonly direction: Schema.Literals<readonly ["falling", "rising"]>;
|
|
1700
|
+
readonly from: Schema.NullOr<Schema.String>;
|
|
1701
|
+
readonly kind: Schema.Literal<"interval">;
|
|
1702
|
+
readonly to: Schema.NullOr<Schema.String>;
|
|
1703
|
+
}>, Schema.Struct<{
|
|
1704
|
+
readonly kind: Schema.Literal<"end">;
|
|
1705
|
+
readonly limit: Schema.Union<readonly [Schema.Literals<readonly ["negativeInfinity", "positiveInfinity"]>, Schema.String]>;
|
|
1706
|
+
readonly side: Schema.Literals<readonly ["left", "right"]>;
|
|
1707
|
+
}>, Schema.Struct<{
|
|
1708
|
+
readonly kind: Schema.Literal<"inflection">;
|
|
1709
|
+
readonly x: Schema.String;
|
|
1710
|
+
readonly y: Schema.String;
|
|
1711
|
+
}>, Schema.Struct<{
|
|
1712
|
+
readonly end: Schema.optionalKey<Schema.Literals<readonly ["closed", "open"]>>;
|
|
1713
|
+
readonly kind: Schema.Literal<"point">;
|
|
1714
|
+
readonly x: Schema.String;
|
|
1715
|
+
readonly y: Schema.String;
|
|
1716
|
+
}>]>;
|
|
1717
|
+
readonly kind: Schema.Literal<"feature">;
|
|
1718
|
+
}>;
|
|
1719
|
+
readonly criterion: Schema.String;
|
|
1720
|
+
readonly feedback: Schema.Struct<{
|
|
1721
|
+
readonly earned: Schema.Trimmed;
|
|
1722
|
+
readonly missed: Schema.Trimmed;
|
|
1723
|
+
}>;
|
|
1724
|
+
readonly requires: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
|
|
1725
|
+
}>>;
|
|
1726
|
+
readonly interaction: Schema.String;
|
|
1727
|
+
readonly kind: Schema.Literal<"sketch">;
|
|
1728
|
+
readonly tolerances: Schema.Struct<{
|
|
1729
|
+
readonly asymptote: Schema.optionalKey<Schema.String>;
|
|
1730
|
+
readonly end: Schema.optionalKey<Schema.String>;
|
|
1731
|
+
readonly extremum: Schema.optionalKey<Schema.String>;
|
|
1732
|
+
readonly inflection: Schema.optionalKey<Schema.String>;
|
|
1733
|
+
readonly interval: Schema.optionalKey<Schema.String>;
|
|
1734
|
+
readonly point: Schema.optionalKey<Schema.String>;
|
|
1735
|
+
readonly yIntercept: Schema.optionalKey<Schema.String>;
|
|
1736
|
+
readonly zero: Schema.optionalKey<Schema.String>;
|
|
1737
|
+
}>;
|
|
1566
1738
|
}>]>>;
|
|
1567
1739
|
readonly version: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
|
|
1568
1740
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nakafa/aksara-contracts",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.9.1",
|
|
4
4
|
"description": "Schemas and verification contracts for Nakafa content releases.",
|
|
5
5
|
"homepage": "https://github.com/nakafaai/aksara#readme",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"directory": "packages/contracts"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"effect": "4.1.
|
|
24
|
+
"effect": "4.1.5"
|
|
25
25
|
},
|
|
26
26
|
"exports": {
|
|
27
27
|
"./artifact/integrity": {
|