@nakafa/aksara-contracts 4.1.2 → 5.0.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.
- package/dist/assessment/catalog.d.ts +56 -8
- package/dist/assessment/catalog.js +28 -8
- package/dist/assessment/hash.d.ts +327 -327
- package/dist/assessment/paper.d.ts +139 -139
- package/dist/assessment/snapshot.d.ts +400 -324
- package/dist/locale.d.ts +1 -1
- package/dist/math/visual.d.ts +202 -202
- package/dist/quran/snapshot/row/hash.d.ts +80 -80
- package/dist/release/snapshot/data.d.ts +20 -1
- package/dist/release/snapshot/verify.d.ts +229 -210
- package/dist/runtime/spec.d.ts +28 -28
- package/dist/runtime/verify.d.ts +40 -40
- package/dist/transport/group.d.ts +60 -3
- package/dist/transport/request.d.ts +2498 -2346
- package/dist/transport/response.d.ts +571 -571
- package/dist/transport/snapshot.d.ts +40 -2
- package/package.json +1 -1
package/dist/runtime/spec.d.ts
CHANGED
|
@@ -423,6 +423,11 @@ export declare const decodePublicContentRuntimeRequest: (input: unknown) => Effe
|
|
|
423
423
|
}, import("../errors.js").ContractDecodeError, never>;
|
|
424
424
|
/** Strictly decodes one unknown public server-runtime response. */
|
|
425
425
|
export declare const decodePublicContentRuntimeResponse: (input: unknown) => Effect.Effect<{
|
|
426
|
+
readonly kind: "missing";
|
|
427
|
+
} | {
|
|
428
|
+
readonly code: "CONTENT_RUNTIME_INTERNAL" | "CONTENT_RUNTIME_INVALID" | "CONTENT_RUNTIME_RESPONSE_TOO_LARGE" | "CONTENT_RUNTIME_UNAUTHORIZED";
|
|
429
|
+
readonly kind: "failure";
|
|
430
|
+
} | {
|
|
426
431
|
readonly artifact: {
|
|
427
432
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
428
433
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
@@ -528,7 +533,11 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
528
533
|
readonly delivery: "public";
|
|
529
534
|
readonly projection: {
|
|
530
535
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
536
|
+
readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
537
|
+
readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
|
|
531
538
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
539
|
+
readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
|
|
540
|
+
readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
532
541
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
533
542
|
readonly graph: {
|
|
534
543
|
readonly alignmentId: string;
|
|
@@ -537,11 +546,9 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
537
546
|
readonly learningObjectId: string;
|
|
538
547
|
readonly lensId: string;
|
|
539
548
|
};
|
|
540
|
-
readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
|
|
541
|
-
readonly order: number;
|
|
542
549
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
543
|
-
readonly
|
|
544
|
-
readonly kind: "
|
|
550
|
+
readonly categoryTitle: string;
|
|
551
|
+
readonly kind: "article";
|
|
545
552
|
readonly metadata: {
|
|
546
553
|
readonly dateModified?: string;
|
|
547
554
|
readonly datePublished: string;
|
|
@@ -549,20 +556,23 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
549
556
|
readonly name: string;
|
|
550
557
|
}[];
|
|
551
558
|
readonly description?: string | undefined;
|
|
552
|
-
readonly searchTitle?: string;
|
|
553
|
-
readonly subject?: string | undefined;
|
|
554
559
|
readonly title: string;
|
|
555
560
|
};
|
|
561
|
+
readonly official: boolean;
|
|
556
562
|
readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
563
|
+
readonly references: readonly {
|
|
564
|
+
readonly authors: string;
|
|
565
|
+
readonly citation?: string | undefined;
|
|
566
|
+
readonly details?: string | undefined;
|
|
567
|
+
readonly publication?: string | undefined;
|
|
568
|
+
readonly title: string;
|
|
569
|
+
readonly url?: string | undefined;
|
|
570
|
+
readonly year: number;
|
|
571
|
+
}[];
|
|
557
572
|
readonly sitemap: true;
|
|
558
|
-
readonly topicTitle: string;
|
|
559
573
|
} | {
|
|
560
574
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
561
|
-
readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
562
|
-
readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
|
|
563
575
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
564
|
-
readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
|
|
565
|
-
readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
566
576
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
567
577
|
readonly graph: {
|
|
568
578
|
readonly alignmentId: string;
|
|
@@ -571,9 +581,11 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
571
581
|
readonly learningObjectId: string;
|
|
572
582
|
readonly lensId: string;
|
|
573
583
|
};
|
|
584
|
+
readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
|
|
585
|
+
readonly order: number;
|
|
574
586
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
575
|
-
readonly
|
|
576
|
-
readonly kind: "
|
|
587
|
+
readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
|
|
588
|
+
readonly kind: "subject-lesson";
|
|
577
589
|
readonly metadata: {
|
|
578
590
|
readonly dateModified?: string;
|
|
579
591
|
readonly datePublished: string;
|
|
@@ -581,20 +593,13 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
581
593
|
readonly name: string;
|
|
582
594
|
}[];
|
|
583
595
|
readonly description?: string | undefined;
|
|
596
|
+
readonly searchTitle?: string;
|
|
597
|
+
readonly subject?: string | undefined;
|
|
584
598
|
readonly title: string;
|
|
585
599
|
};
|
|
586
|
-
readonly official: boolean;
|
|
587
600
|
readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
588
|
-
readonly references: readonly {
|
|
589
|
-
readonly authors: string;
|
|
590
|
-
readonly citation?: string | undefined;
|
|
591
|
-
readonly details?: string | undefined;
|
|
592
|
-
readonly publication?: string | undefined;
|
|
593
|
-
readonly title: string;
|
|
594
|
-
readonly url?: string | undefined;
|
|
595
|
-
readonly year: number;
|
|
596
|
-
}[];
|
|
597
601
|
readonly sitemap: true;
|
|
602
|
+
readonly topicTitle: string;
|
|
598
603
|
} | {
|
|
599
604
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
600
605
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
@@ -612,9 +617,4 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
612
617
|
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
613
618
|
};
|
|
614
619
|
readonly projectionHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
615
|
-
} | {
|
|
616
|
-
readonly kind: "missing";
|
|
617
|
-
} | {
|
|
618
|
-
readonly code: "CONTENT_RUNTIME_INTERNAL" | "CONTENT_RUNTIME_INVALID" | "CONTENT_RUNTIME_RESPONSE_TOO_LARGE" | "CONTENT_RUNTIME_UNAUTHORIZED";
|
|
619
|
-
readonly kind: "failure";
|
|
620
620
|
}, import("../errors.js").ContractDecodeError, never>;
|
package/dist/runtime/verify.d.ts
CHANGED
|
@@ -10,6 +10,11 @@ export declare const verifyContentRuntimeEvidenceExchange: (input: {
|
|
|
10
10
|
readonly request: unknown;
|
|
11
11
|
readonly response: unknown;
|
|
12
12
|
}) => Effect.Effect<{
|
|
13
|
+
readonly kind: "missing";
|
|
14
|
+
} | {
|
|
15
|
+
readonly code: "CONTENT_RUNTIME_INTERNAL" | "CONTENT_RUNTIME_INVALID" | "CONTENT_RUNTIME_RESPONSE_TOO_LARGE" | "CONTENT_RUNTIME_UNAUTHORIZED";
|
|
16
|
+
readonly kind: "failure";
|
|
17
|
+
} | {
|
|
13
18
|
readonly artifact: {
|
|
14
19
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
15
20
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
@@ -114,21 +119,6 @@ export declare const verifyContentRuntimeEvidenceExchange: (input: {
|
|
|
114
119
|
readonly activeReleaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
|
|
115
120
|
readonly delivery: "public";
|
|
116
121
|
readonly projection: {
|
|
117
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
118
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
119
|
-
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
120
|
-
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
121
|
-
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
122
|
-
readonly kind: "public-page";
|
|
123
|
-
readonly metadata: {
|
|
124
|
-
readonly dateModified?: string;
|
|
125
|
-
readonly datePublished: string;
|
|
126
|
-
readonly description: string;
|
|
127
|
-
readonly title: string;
|
|
128
|
-
};
|
|
129
|
-
readonly sitemap: true;
|
|
130
|
-
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
131
|
-
} | {
|
|
132
122
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
133
123
|
readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
134
124
|
readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
|
|
@@ -197,13 +187,23 @@ export declare const verifyContentRuntimeEvidenceExchange: (input: {
|
|
|
197
187
|
readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
198
188
|
readonly sitemap: true;
|
|
199
189
|
readonly topicTitle: string;
|
|
190
|
+
} | {
|
|
191
|
+
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
192
|
+
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
193
|
+
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
194
|
+
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
195
|
+
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
196
|
+
readonly kind: "public-page";
|
|
197
|
+
readonly metadata: {
|
|
198
|
+
readonly dateModified?: string;
|
|
199
|
+
readonly datePublished: string;
|
|
200
|
+
readonly description: string;
|
|
201
|
+
readonly title: string;
|
|
202
|
+
};
|
|
203
|
+
readonly sitemap: true;
|
|
204
|
+
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
200
205
|
};
|
|
201
206
|
readonly projectionHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
202
|
-
} | {
|
|
203
|
-
readonly kind: "missing";
|
|
204
|
-
} | {
|
|
205
|
-
readonly code: "CONTENT_RUNTIME_INTERNAL" | "CONTENT_RUNTIME_INVALID" | "CONTENT_RUNTIME_RESPONSE_TOO_LARGE" | "CONTENT_RUNTIME_UNAUTHORIZED";
|
|
206
|
-
readonly kind: "failure";
|
|
207
207
|
}, import("../artifact/spec.js").ArtifactHashMismatchError | import("../artifact/spec.js").ArtifactPayloadFieldByteLimitError | import("../artifact/spec.js").ArtifactRendererComponentMissingError | import("../artifact/spec.js").ArtifactRendererDomainUnpublishedError | import("../artifact/spec.js").ArtifactSourceHashMismatchError | import("../artifact/spec.js").ArtifactTreeComponentUnlistedError | import("../artifact/spec.js").ArtifactVerificationByteLimitError | import("../artifact/spec.js").ArtifactVerificationDecodeError | ContentRuntimeMismatchError | import("../errors.js").ContractDecodeError | import("../signature/spec.js").PublicKeyParseError | import("../signature/spec.js").PublicKeyTypeError | import("#contracts/release/verify").ReleaseBundleVerificationDecodeError | import("#contracts/release/verify").ReleaseManifestHashMismatchError | import("#contracts/release/verify").ReleaseVerificationDecodeError | import("../renderer/contract.js").RendererDomainCapabilityMissingError | import("../renderer/contract.js").RendererManifestHashMismatchError | import("../signature/spec.js").SignatureCheckError | import("../signature/spec.js").SignatureInvalidError | import("../signature/spec.js").SigningKeyNotFoundError | import("../signature/spec.js").SigningKeyResolutionError, import("../signature/spec.js").ContentVerificationKeyResolver>;
|
|
208
208
|
/**
|
|
209
209
|
* Verifies independently signed runtime values selected for one exact request.
|
|
@@ -216,6 +216,11 @@ export declare const verifyContentRuntimeExchange: (input: {
|
|
|
216
216
|
readonly request: unknown;
|
|
217
217
|
readonly response: unknown;
|
|
218
218
|
}) => Effect.Effect<{
|
|
219
|
+
readonly kind: "missing";
|
|
220
|
+
} | {
|
|
221
|
+
readonly code: "CONTENT_RUNTIME_INTERNAL" | "CONTENT_RUNTIME_INVALID" | "CONTENT_RUNTIME_RESPONSE_TOO_LARGE" | "CONTENT_RUNTIME_UNAUTHORIZED";
|
|
222
|
+
readonly kind: "failure";
|
|
223
|
+
} | {
|
|
219
224
|
readonly artifact: {
|
|
220
225
|
readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
221
226
|
readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
|
|
@@ -320,21 +325,6 @@ export declare const verifyContentRuntimeExchange: (input: {
|
|
|
320
325
|
readonly activeReleaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
|
|
321
326
|
readonly delivery: "public";
|
|
322
327
|
readonly projection: {
|
|
323
|
-
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
324
|
-
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
325
|
-
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
326
|
-
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
327
|
-
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
328
|
-
readonly kind: "public-page";
|
|
329
|
-
readonly metadata: {
|
|
330
|
-
readonly dateModified?: string;
|
|
331
|
-
readonly datePublished: string;
|
|
332
|
-
readonly description: string;
|
|
333
|
-
readonly title: string;
|
|
334
|
-
};
|
|
335
|
-
readonly sitemap: true;
|
|
336
|
-
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
337
|
-
} | {
|
|
338
328
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
339
329
|
readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
340
330
|
readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
|
|
@@ -403,11 +393,21 @@ export declare const verifyContentRuntimeExchange: (input: {
|
|
|
403
393
|
readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
404
394
|
readonly sitemap: true;
|
|
405
395
|
readonly topicTitle: string;
|
|
396
|
+
} | {
|
|
397
|
+
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
398
|
+
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
399
|
+
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
400
|
+
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
401
|
+
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
402
|
+
readonly kind: "public-page";
|
|
403
|
+
readonly metadata: {
|
|
404
|
+
readonly dateModified?: string;
|
|
405
|
+
readonly datePublished: string;
|
|
406
|
+
readonly description: string;
|
|
407
|
+
readonly title: string;
|
|
408
|
+
};
|
|
409
|
+
readonly sitemap: true;
|
|
410
|
+
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
406
411
|
};
|
|
407
412
|
readonly projectionHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
408
|
-
} | {
|
|
409
|
-
readonly kind: "missing";
|
|
410
|
-
} | {
|
|
411
|
-
readonly code: "CONTENT_RUNTIME_INTERNAL" | "CONTENT_RUNTIME_INVALID" | "CONTENT_RUNTIME_RESPONSE_TOO_LARGE" | "CONTENT_RUNTIME_UNAUTHORIZED";
|
|
412
|
-
readonly kind: "failure";
|
|
413
413
|
}, import("../artifact/spec.js").ArtifactHashMismatchError | import("../artifact/spec.js").ArtifactPayloadFieldByteLimitError | import("../artifact/spec.js").ArtifactRendererComponentMissingError | import("../artifact/spec.js").ArtifactRendererDomainUnpublishedError | import("../artifact/spec.js").ArtifactSourceHashMismatchError | import("../artifact/spec.js").ArtifactTreeComponentUnlistedError | import("../artifact/spec.js").ArtifactVerificationByteLimitError | import("../artifact/spec.js").ArtifactVerificationDecodeError | ContentRuntimeMismatchError | import("../errors.js").ContractDecodeError | import("../signature/spec.js").PublicKeyParseError | import("../signature/spec.js").PublicKeyTypeError | import("#contracts/release/verify").ReleaseBundleVerificationDecodeError | import("#contracts/release/verify").ReleaseManifestHashMismatchError | import("#contracts/release/verify").ReleaseVerificationDecodeError | import("../renderer/contract.js").RendererDomainCapabilityMissingError | import("../renderer/contract.js").RendererManifestHashMismatchError | import("../signature/spec.js").SignatureCheckError | import("../signature/spec.js").SignatureInvalidError | import("../signature/spec.js").SigningKeyNotFoundError | import("../signature/spec.js").SigningKeyResolutionError, import("../signature/spec.js").ContentVerificationKeyResolver>;
|
|
@@ -265,9 +265,28 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
265
265
|
readonly title: Schema.String;
|
|
266
266
|
readonly countryKey: Schema.String;
|
|
267
267
|
readonly examKey: Schema.String;
|
|
268
|
+
readonly groupAxis: Schema.Literals<readonly ["grade", "institution", "year"]>;
|
|
268
269
|
readonly kind: Schema.Literal<"exam">;
|
|
269
270
|
readonly order: Schema.Int;
|
|
270
271
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
272
|
+
}>, Schema.Struct<{
|
|
273
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
274
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
275
|
+
readonly graph: Schema.Struct<{
|
|
276
|
+
readonly alignmentId: Schema.String;
|
|
277
|
+
readonly assetId: Schema.String;
|
|
278
|
+
readonly conceptId: Schema.String;
|
|
279
|
+
readonly learningObjectId: Schema.String;
|
|
280
|
+
readonly lensId: Schema.String;
|
|
281
|
+
}>;
|
|
282
|
+
readonly sourceRevision: Schema.Trimmed;
|
|
283
|
+
readonly title: Schema.String;
|
|
284
|
+
readonly countryKey: Schema.String;
|
|
285
|
+
readonly examKey: Schema.String;
|
|
286
|
+
readonly groupKey: Schema.String;
|
|
287
|
+
readonly kind: Schema.Literal<"group">;
|
|
288
|
+
readonly order: Schema.Int;
|
|
289
|
+
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
271
290
|
}>, Schema.Struct<{
|
|
272
291
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
273
292
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
@@ -283,10 +302,10 @@ export declare const StageOperationSchema: Schema.Union<readonly [Schema.Struct<
|
|
|
283
302
|
readonly countryKey: Schema.String;
|
|
284
303
|
readonly examKey: Schema.String;
|
|
285
304
|
readonly trackKey: Schema.String;
|
|
305
|
+
readonly groupKey: Schema.String;
|
|
286
306
|
readonly kind: Schema.Literal<"track">;
|
|
287
307
|
readonly order: Schema.Int;
|
|
288
308
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
289
|
-
readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
|
|
290
309
|
}>, Schema.Struct<{
|
|
291
310
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
292
311
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
@@ -1282,9 +1301,28 @@ export declare const StageGroupInputSchema: Schema.Struct<{
|
|
|
1282
1301
|
readonly title: Schema.String;
|
|
1283
1302
|
readonly countryKey: Schema.String;
|
|
1284
1303
|
readonly examKey: Schema.String;
|
|
1304
|
+
readonly groupAxis: Schema.Literals<readonly ["grade", "institution", "year"]>;
|
|
1285
1305
|
readonly kind: Schema.Literal<"exam">;
|
|
1286
1306
|
readonly order: Schema.Int;
|
|
1287
1307
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
1308
|
+
}>, Schema.Struct<{
|
|
1309
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
1310
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
1311
|
+
readonly graph: Schema.Struct<{
|
|
1312
|
+
readonly alignmentId: Schema.String;
|
|
1313
|
+
readonly assetId: Schema.String;
|
|
1314
|
+
readonly conceptId: Schema.String;
|
|
1315
|
+
readonly learningObjectId: Schema.String;
|
|
1316
|
+
readonly lensId: Schema.String;
|
|
1317
|
+
}>;
|
|
1318
|
+
readonly sourceRevision: Schema.Trimmed;
|
|
1319
|
+
readonly title: Schema.String;
|
|
1320
|
+
readonly countryKey: Schema.String;
|
|
1321
|
+
readonly examKey: Schema.String;
|
|
1322
|
+
readonly groupKey: Schema.String;
|
|
1323
|
+
readonly kind: Schema.Literal<"group">;
|
|
1324
|
+
readonly order: Schema.Int;
|
|
1325
|
+
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
1288
1326
|
}>, Schema.Struct<{
|
|
1289
1327
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
1290
1328
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
@@ -1300,10 +1338,10 @@ export declare const StageGroupInputSchema: Schema.Struct<{
|
|
|
1300
1338
|
readonly countryKey: Schema.String;
|
|
1301
1339
|
readonly examKey: Schema.String;
|
|
1302
1340
|
readonly trackKey: Schema.String;
|
|
1341
|
+
readonly groupKey: Schema.String;
|
|
1303
1342
|
readonly kind: Schema.Literal<"track">;
|
|
1304
1343
|
readonly order: Schema.Int;
|
|
1305
1344
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
1306
|
-
readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
|
|
1307
1345
|
}>, Schema.Struct<{
|
|
1308
1346
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
1309
1347
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
@@ -2300,9 +2338,28 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
|
|
|
2300
2338
|
readonly title: Schema.String;
|
|
2301
2339
|
readonly countryKey: Schema.String;
|
|
2302
2340
|
readonly examKey: Schema.String;
|
|
2341
|
+
readonly groupAxis: Schema.Literals<readonly ["grade", "institution", "year"]>;
|
|
2303
2342
|
readonly kind: Schema.Literal<"exam">;
|
|
2304
2343
|
readonly order: Schema.Int;
|
|
2305
2344
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
2345
|
+
}>, Schema.Struct<{
|
|
2346
|
+
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
2347
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
2348
|
+
readonly graph: Schema.Struct<{
|
|
2349
|
+
readonly alignmentId: Schema.String;
|
|
2350
|
+
readonly assetId: Schema.String;
|
|
2351
|
+
readonly conceptId: Schema.String;
|
|
2352
|
+
readonly learningObjectId: Schema.String;
|
|
2353
|
+
readonly lensId: Schema.String;
|
|
2354
|
+
}>;
|
|
2355
|
+
readonly sourceRevision: Schema.Trimmed;
|
|
2356
|
+
readonly title: Schema.String;
|
|
2357
|
+
readonly countryKey: Schema.String;
|
|
2358
|
+
readonly examKey: Schema.String;
|
|
2359
|
+
readonly groupKey: Schema.String;
|
|
2360
|
+
readonly kind: Schema.Literal<"group">;
|
|
2361
|
+
readonly order: Schema.Int;
|
|
2362
|
+
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
2306
2363
|
}>, Schema.Struct<{
|
|
2307
2364
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
2308
2365
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
@@ -2318,10 +2375,10 @@ export declare const StageGroupRequestSchema: Schema.Struct<{
|
|
|
2318
2375
|
readonly countryKey: Schema.String;
|
|
2319
2376
|
readonly examKey: Schema.String;
|
|
2320
2377
|
readonly trackKey: Schema.String;
|
|
2378
|
+
readonly groupKey: Schema.String;
|
|
2321
2379
|
readonly kind: Schema.Literal<"track">;
|
|
2322
2380
|
readonly order: Schema.Int;
|
|
2323
2381
|
readonly publicPath: Schema.brand<Schema.String, "@NakafaAI/AksaraPublicPath">;
|
|
2324
|
-
readonly trackKind: Schema.Literals<readonly ["institution", "subject", "year"]>;
|
|
2325
2382
|
}>, Schema.Struct<{
|
|
2326
2383
|
readonly appLocale: Schema.brand<Schema.Literals<readonly ["en", "id", "de"]>, "@NakafaAI/AksaraAppLocale">;
|
|
2327
2384
|
readonly description: Schema.optionalKey<Schema.String>;
|