@nakafa/aksara-contracts 5.0.0 → 6.1.0

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.
Files changed (99) hide show
  1. package/dist/artifact/integrity.d.ts +2 -2
  2. package/dist/artifact/limits.d.ts +1 -1
  3. package/dist/artifact/source.d.ts +1 -1
  4. package/dist/artifact/spec.d.ts +1 -1
  5. package/dist/artifact/verify.d.ts +1 -1
  6. package/dist/assessment/catalog.d.ts +12 -12
  7. package/dist/assessment/figure.d.ts +468 -0
  8. package/dist/assessment/snapshot.d.ts +24 -24
  9. package/dist/content.d.ts +7 -7
  10. package/dist/graph/family.d.ts +2 -2
  11. package/dist/graph/identity.d.ts +1 -1
  12. package/dist/locale.d.ts +21 -10
  13. package/dist/locale.js +24 -9
  14. package/dist/math/bounds.d.ts +3 -2
  15. package/dist/math/bounds.js +37 -8
  16. package/dist/math/curve.d.ts +42 -0
  17. package/dist/math/curve.js +55 -0
  18. package/dist/math/formula/box.d.ts +61 -0
  19. package/dist/math/formula/box.js +68 -0
  20. package/dist/math/formula/compile.d.ts +11 -0
  21. package/dist/math/formula/compile.js +100 -0
  22. package/dist/math/formula/contour.d.ts +17 -0
  23. package/dist/math/formula/contour.js +162 -0
  24. package/dist/math/formula/field.d.ts +19 -0
  25. package/dist/math/formula/field.js +35 -0
  26. package/dist/math/formula/mesh.d.ts +25 -0
  27. package/dist/math/formula/mesh.js +28 -0
  28. package/dist/math/formula/names.d.ts +4 -0
  29. package/dist/math/formula/names.js +23 -0
  30. package/dist/math/formula/parse.d.ts +10 -0
  31. package/dist/math/formula/parse.js +240 -0
  32. package/dist/math/formula/plane.d.ts +62 -0
  33. package/dist/math/formula/plane.js +175 -0
  34. package/dist/math/formula/reader.d.ts +102 -0
  35. package/dist/math/formula/reader.js +58 -0
  36. package/dist/math/formula/sample.d.ts +14 -0
  37. package/dist/math/formula/sample.js +182 -0
  38. package/dist/math/formula/scope.d.ts +37 -0
  39. package/dist/math/formula/scope.js +137 -0
  40. package/dist/math/formula/space.d.ts +10 -0
  41. package/dist/math/formula/space.js +94 -0
  42. package/dist/math/formula/syntax.d.ts +77 -0
  43. package/dist/math/formula/syntax.js +111 -0
  44. package/dist/math/formula/token.d.ts +43 -0
  45. package/dist/math/formula/token.js +150 -0
  46. package/dist/math/plane.d.ts +85 -0
  47. package/dist/math/plane.js +8 -2
  48. package/dist/math/scene.js +11 -2
  49. package/dist/math/solid.d.ts +124 -0
  50. package/dist/math/solid.js +86 -0
  51. package/dist/math/space.d.ts +213 -0
  52. package/dist/math/space.js +8 -2
  53. package/dist/math/visual.d.ts +454 -0
  54. package/dist/preview/artifact.d.ts +6 -6
  55. package/dist/preview/document.d.ts +13 -13
  56. package/dist/preview/spec.d.ts +49 -49
  57. package/dist/preview/target.d.ts +2 -2
  58. package/dist/program/curriculum.d.ts +2 -2
  59. package/dist/program/snapshot/hash.d.ts +6 -6
  60. package/dist/program/snapshot/row.d.ts +4 -4
  61. package/dist/program/spec.d.ts +2 -2
  62. package/dist/projection/article.d.ts +6 -6
  63. package/dist/projection/digest.d.ts +6 -6
  64. package/dist/projection/hash.d.ts +6 -6
  65. package/dist/projection/material.d.ts +6 -6
  66. package/dist/projection/page.d.ts +6 -6
  67. package/dist/projection/spec.d.ts +7 -7
  68. package/dist/projection/verify.d.ts +6 -6
  69. package/dist/quran/attribution.d.ts +4 -4
  70. package/dist/quran/identity.d.ts +7 -7
  71. package/dist/quran/identity.js +3 -3
  72. package/dist/quran/provenance.d.ts +12 -12
  73. package/dist/quran/snapshot/row/hash.d.ts +39 -39
  74. package/dist/quran/snapshot/row.d.ts +12 -12
  75. package/dist/quran/source.d.ts +7 -7
  76. package/dist/quran/spec.d.ts +1 -1
  77. package/dist/quran/spec.js +3 -3
  78. package/dist/release/canonical.d.ts +2 -2
  79. package/dist/release/digest.d.ts +2 -2
  80. package/dist/release/head.d.ts +9 -9
  81. package/dist/release/items.d.ts +2 -2
  82. package/dist/release/result/digest.d.ts +5 -5
  83. package/dist/release/rollback/digest.d.ts +4 -4
  84. package/dist/release/rollback/spec.d.ts +66 -66
  85. package/dist/release/route/digest.d.ts +2 -2
  86. package/dist/release/route/page.d.ts +4 -4
  87. package/dist/release/route/spec.d.ts +6 -6
  88. package/dist/release/route/verify.d.ts +2 -2
  89. package/dist/release/snapshot/data.d.ts +12 -12
  90. package/dist/release/snapshot/verify.d.ts +22 -22
  91. package/dist/release/spec.d.ts +6 -6
  92. package/dist/runtime/spec.d.ts +23 -23
  93. package/dist/runtime/verify.d.ts +14 -14
  94. package/dist/transport/batch.d.ts +22 -22
  95. package/dist/transport/group.d.ts +69 -69
  96. package/dist/transport/request.d.ts +244 -244
  97. package/dist/transport/response.d.ts +92 -92
  98. package/dist/transport/snapshot.d.ts +24 -24
  99. package/package.json +57 -1
@@ -5,7 +5,7 @@ export declare const StageItemBatchInputSchema: Schema.Struct<{
5
5
  items: Schema.NonEmptyArray<Schema.Struct<{
6
6
  readonly change: Schema.Union<readonly [Schema.Struct<{
7
7
  readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
8
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
8
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
9
9
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
10
10
  readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
11
11
  readonly family: Schema.Literals<readonly ["article", "material", "page"]>;
@@ -13,7 +13,7 @@ export declare const StageItemBatchInputSchema: Schema.Struct<{
13
13
  readonly rendererDomain: Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>;
14
14
  readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
15
15
  }>, Schema.Struct<{
16
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
16
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
17
17
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
18
18
  readonly family: Schema.Literals<readonly ["article", "material", "page"]>;
19
19
  readonly operation: Schema.Literal<"delete">;
@@ -35,7 +35,7 @@ export declare const StageItemBatchRequestSchema: Schema.Struct<{
35
35
  readonly items: Schema.NonEmptyArray<Schema.Struct<{
36
36
  readonly change: Schema.Union<readonly [Schema.Struct<{
37
37
  readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
38
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
38
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
39
39
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
40
40
  readonly delivery: Schema.Literals<readonly ["public", "authenticated", "entitled"]>;
41
41
  readonly family: Schema.Literals<readonly ["article", "material", "page"]>;
@@ -43,7 +43,7 @@ export declare const StageItemBatchRequestSchema: Schema.Struct<{
43
43
  readonly rendererDomain: Schema.Literals<readonly ["ai-ds", "biology", "chemistry", "mathematics", "physics", "politics", "site", "snbt-general", "snbt-math", "snbt-plain", "snbt-quant", "tka-math"]>;
44
44
  readonly sourcePath: Schema.brand<Schema.String, "@NakafaAI/AksaraCorpusSourcePath">;
45
45
  }>, Schema.Struct<{
46
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
46
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
47
47
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
48
48
  readonly family: Schema.Literals<readonly ["article", "material", "page"]>;
49
49
  readonly operation: Schema.Literal<"delete">;
@@ -61,12 +61,12 @@ export declare const StageRouteBatchInputSchema: Schema.Struct<{
61
61
  releaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
62
62
  routes: Schema.NonEmptyArray<Schema.Struct<{
63
63
  readonly change: Schema.Union<readonly [Schema.Struct<{
64
- readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
64
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
65
65
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
66
66
  readonly operation: Schema.Literal<"bind">;
67
67
  readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
68
68
  }>, Schema.Struct<{
69
- readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
69
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
70
70
  readonly operation: Schema.Literal<"delete">;
71
71
  readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
72
72
  }>]>;
@@ -81,12 +81,12 @@ export declare const StageRouteBatchRequestSchema: Schema.Struct<{
81
81
  readonly releaseId: Schema.brand<Schema.String, "@NakafaAI/AksaraReleaseId">;
82
82
  readonly routes: Schema.NonEmptyArray<Schema.Struct<{
83
83
  readonly change: Schema.Union<readonly [Schema.Struct<{
84
- readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
84
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
85
85
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
86
86
  readonly operation: Schema.Literal<"bind">;
87
87
  readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
88
88
  }>, Schema.Struct<{
89
- readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
89
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
90
90
  readonly operation: Schema.Literal<"delete">;
91
91
  readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
92
92
  }>]>;
@@ -100,10 +100,10 @@ export type StageRouteBatchRequest = typeof StageRouteBatchRequestSchema.Type;
100
100
  export declare const StageProjectionBatchInputSchema: Schema.Struct<{
101
101
  batchIndex: Schema.Finite;
102
102
  projections: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
103
- readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
103
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
104
104
  readonly articleRouteSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleRouteSlug">;
105
105
  readonly articleSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleSlug">;
106
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
106
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
107
107
  readonly category: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleCategory">;
108
108
  readonly categoryRouteSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleRouteSlug">;
109
109
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
@@ -139,8 +139,8 @@ export declare const StageProjectionBatchInputSchema: Schema.Struct<{
139
139
  }>>;
140
140
  readonly sitemap: Schema.Literal<true>;
141
141
  }>, Schema.Struct<{
142
- readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
143
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
142
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
143
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
144
144
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
145
145
  readonly graph: Schema.Struct<{
146
146
  readonly alignmentId: Schema.String;
@@ -169,8 +169,8 @@ export declare const StageProjectionBatchInputSchema: Schema.Struct<{
169
169
  readonly sitemap: Schema.Literal<true>;
170
170
  readonly topicTitle: Schema.String;
171
171
  }>, Schema.Struct<{
172
- readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
173
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
172
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
173
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
174
174
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
175
175
  readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
176
176
  readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
@@ -191,10 +191,10 @@ export type StageProjectionBatchInput = typeof StageProjectionBatchInputSchema.T
191
191
  export declare const StageProjectionBatchRequestSchema: Schema.Struct<{
192
192
  readonly batchIndex: Schema.Finite;
193
193
  readonly projections: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
194
- readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
194
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
195
195
  readonly articleRouteSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleRouteSlug">;
196
196
  readonly articleSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleSlug">;
197
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
197
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
198
198
  readonly category: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleCategory">;
199
199
  readonly categoryRouteSlug: Schema.brand<Schema.String, "@NakafaAI/AksaraArticleRouteSlug">;
200
200
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
@@ -230,8 +230,8 @@ export declare const StageProjectionBatchRequestSchema: Schema.Struct<{
230
230
  }>>;
231
231
  readonly sitemap: Schema.Literal<true>;
232
232
  }>, Schema.Struct<{
233
- readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
234
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
233
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
234
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
235
235
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
236
236
  readonly graph: Schema.Struct<{
237
237
  readonly alignmentId: Schema.String;
@@ -260,8 +260,8 @@ export declare const StageProjectionBatchRequestSchema: Schema.Struct<{
260
260
  readonly sitemap: Schema.Literal<true>;
261
261
  readonly topicTitle: Schema.String;
262
262
  }>, Schema.Struct<{
263
- readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
264
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
263
+ readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraAppLocale">;
264
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
265
265
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
266
266
  readonly pageKey: Schema.brand<Schema.String, "@NakafaAI/AksaraPageKey">;
267
267
  readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
@@ -285,7 +285,7 @@ export declare const StageArtifactBatchInputSchema: Schema.Struct<{
285
285
  readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
286
286
  readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
287
287
  readonly payload: Schema.Struct<{
288
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
288
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
289
289
  readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
290
290
  readonly compilerVersion: Schema.Literal<"0.2.0">;
291
291
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;
@@ -324,7 +324,7 @@ export declare const StageArtifactBatchRequestSchema: Schema.Struct<{
324
324
  readonly artifactHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
325
325
  readonly keyId: Schema.brand<Schema.String, "@NakafaAI/AksaraSigningKeyId">;
326
326
  readonly payload: Schema.Struct<{
327
- readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraArtifactLocale">;
327
+ readonly artifactLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de", "ms"]>, "@NakafaAI/AksaraArtifactLocale">;
328
328
  readonly compilerConfigHash: Schema.brand<Schema.String, "@NakafaAI/AksaraSha256Hash">;
329
329
  readonly compilerVersion: Schema.Literal<"0.2.0">;
330
330
  readonly contentKey: Schema.brand<Schema.String, "@NakafaAI/AksaraContentKey">;