@nakafa/aksara-contracts 0.42.0 → 0.44.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/README.md +20 -1
- package/dist/math/resolution.js +1 -1
- package/dist/math/scene.js +1 -1
- package/dist/preview/artifact.d.ts +44 -0
- package/dist/preview/document.d.ts +36 -12
- package/dist/preview/spec.d.ts +196 -36
- package/dist/preview/target.d.ts +10 -3
- package/dist/program/snapshot/digest.d.ts +1 -1
- package/dist/program/snapshot/digest.js +1 -1
- package/dist/program/snapshot/hash.d.ts +153 -0
- package/dist/program/snapshot/hash.js +31 -0
- package/dist/projection/digest.d.ts +74 -22
- package/dist/projection/material.d.ts +10 -0
- package/dist/projection/material.js +15 -0
- package/dist/projection/question.d.ts +188 -0
- package/dist/projection/spec.d.ts +45 -0
- package/dist/projection/verify.d.ts +127 -75
- package/dist/question/answer.d.ts +141 -0
- package/dist/question/answer.js +238 -0
- package/dist/question/item.d.ts +276 -1
- package/dist/question/item.js +63 -38
- package/dist/question/label.d.ts +3 -0
- package/dist/question/label.js +3 -0
- package/dist/question/points.d.ts +18 -0
- package/dist/question/points.js +22 -0
- package/dist/question/response.d.ts +187 -5
- package/dist/question/response.js +41 -4
- package/dist/question/rubric.d.ts +234 -0
- package/dist/question/rubric.js +182 -0
- package/dist/release/rollback/spec.d.ts +264 -0
- package/dist/release/snapshot/data.d.ts +52 -3
- package/dist/release/snapshot/{program-evidence.d.ts → evidence/program.d.ts} +2 -2
- package/dist/release/snapshot/{program-evidence.js → evidence/program.js} +1 -1
- package/dist/release/snapshot/{quran-evidence.d.ts → evidence/quran.d.ts} +2 -2
- package/dist/release/snapshot/{quran-evidence.js → evidence/quran.js} +1 -1
- package/dist/release/snapshot/{tryout-evidence.d.ts → evidence/tryout.d.ts} +2 -2
- package/dist/release/snapshot/{tryout-evidence.js → evidence/tryout.js} +4 -4
- package/dist/release/snapshot/evidence.d.ts +2 -2
- package/dist/release/snapshot/evidence.js +3 -3
- package/dist/release/snapshot/verify.d.ts +88 -31
- package/dist/runtime/spec.d.ts +25 -22
- package/dist/runtime/verify.d.ts +46 -44
- package/dist/transport/batch.d.ts +88 -0
- package/dist/transport/group.d.ts +288 -9
- package/dist/transport/request.d.ts +1858 -1018
- package/dist/transport/response.d.ts +499 -131
- package/dist/transport/snapshot.d.ts +104 -6
- package/dist/tryout/catalog.d.ts +28 -10
- package/dist/tryout/catalog.js +6 -2
- package/dist/tryout/closure/accounting.d.ts +16 -0
- package/dist/tryout/closure/accounting.js +68 -0
- package/dist/tryout/closure/locale.d.ts +14 -0
- package/dist/tryout/{locale-closure.js → closure/locale.js} +13 -72
- package/dist/tryout/{placement-closure.js → closure/placement.js} +1 -0
- package/dist/tryout/{catalog-hash.d.ts → hash/catalog.d.ts} +25 -20
- package/dist/tryout/{catalog-hash.js → hash/catalog.js} +8 -1
- package/dist/tryout/{content-hash.d.ts → hash/content.d.ts} +43 -0
- package/dist/tryout/{placement-hash.d.ts → hash/placement.d.ts} +1 -1
- package/dist/tryout/{placement-hash.js → hash/placement.js} +2 -1
- package/dist/tryout/placement.d.ts +136 -1
- package/dist/tryout/placement.js +16 -2
- package/dist/tryout/scoring.d.ts +37 -0
- package/dist/tryout/scoring.js +89 -0
- package/dist/tryout/spec.d.ts +32 -4
- package/dist/tryout/spec.js +35 -4
- package/package.json +29 -21
- package/dist/program/snapshot/row-hash.d.ts +0 -155
- package/dist/program/snapshot/row-hash.js +0 -34
- package/dist/tryout/locale-closure.d.ts +0 -20
- /package/dist/math/{arc-precision.d.ts → arc.d.ts} +0 -0
- /package/dist/math/{arc-precision.js → arc.js} +0 -0
- /package/dist/release/snapshot/{evidence-requirement.d.ts → evidence/requirement.d.ts} +0 -0
- /package/dist/release/snapshot/{evidence-requirement.js → evidence/requirement.js} +0 -0
- /package/dist/tryout/{placement-closure.d.ts → closure/placement.d.ts} +0 -0
- /package/dist/tryout/{row-hash.d.ts → digest.d.ts} +0 -0
- /package/dist/tryout/{row-hash.js → digest.js} +0 -0
- /package/dist/tryout/{content-hash.js → hash/content.js} +0 -0
|
@@ -447,16 +447,15 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
447
447
|
readonly title: string;
|
|
448
448
|
readonly countryKey: string;
|
|
449
449
|
readonly examKey: string;
|
|
450
|
-
readonly kind: "
|
|
450
|
+
readonly kind: "track";
|
|
451
451
|
readonly order: number;
|
|
452
|
-
readonly publicPath
|
|
452
|
+
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
453
453
|
readonly questionCount: number;
|
|
454
|
-
readonly
|
|
455
|
-
readonly
|
|
456
|
-
readonly setKey: string;
|
|
457
|
-
readonly timeLimitSeconds: number;
|
|
454
|
+
readonly sectionCount: number;
|
|
455
|
+
readonly setCount: number;
|
|
458
456
|
readonly trackKey: string;
|
|
459
|
-
readonly
|
|
457
|
+
readonly trackKind: "institution" | "subject" | "year";
|
|
458
|
+
readonly visibleSectionCount: number;
|
|
460
459
|
} | {
|
|
461
460
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
462
461
|
readonly description?: string | undefined;
|
|
@@ -476,7 +475,7 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
476
475
|
readonly order: number;
|
|
477
476
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
478
477
|
readonly questionCount: number;
|
|
479
|
-
readonly scoringStrategy: "irt" | "raw";
|
|
478
|
+
readonly scoringStrategy: "irt" | "penalized" | "raw";
|
|
480
479
|
readonly sectionCount: number;
|
|
481
480
|
readonly setKey: string;
|
|
482
481
|
readonly trackKey: string;
|
|
@@ -495,15 +494,21 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
495
494
|
readonly title: string;
|
|
496
495
|
readonly countryKey: string;
|
|
497
496
|
readonly examKey: string;
|
|
498
|
-
readonly kind: "
|
|
497
|
+
readonly kind: "section";
|
|
498
|
+
readonly marks?: {
|
|
499
|
+
readonly blank: number;
|
|
500
|
+
readonly correct: number;
|
|
501
|
+
readonly wrong: number;
|
|
502
|
+
};
|
|
499
503
|
readonly order: number;
|
|
500
|
-
readonly publicPath
|
|
504
|
+
readonly publicPath?: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">) | undefined;
|
|
501
505
|
readonly questionCount: number;
|
|
502
|
-
readonly
|
|
503
|
-
readonly
|
|
506
|
+
readonly questionSourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
507
|
+
readonly sectionKey: string;
|
|
508
|
+
readonly setKey: string;
|
|
509
|
+
readonly timeLimitSeconds: number;
|
|
504
510
|
readonly trackKey: string;
|
|
505
|
-
readonly
|
|
506
|
-
readonly visibleSectionCount: number;
|
|
511
|
+
readonly visibility: "internal-entry" | "visible";
|
|
507
512
|
} | {
|
|
508
513
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
509
514
|
readonly description?: string | undefined;
|
|
@@ -516,12 +521,11 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
516
521
|
};
|
|
517
522
|
readonly sourceRevision: string;
|
|
518
523
|
readonly title: string;
|
|
524
|
+
readonly countryCode: string;
|
|
519
525
|
readonly countryKey: string;
|
|
520
|
-
readonly
|
|
521
|
-
readonly kind: "exam";
|
|
526
|
+
readonly kind: "country";
|
|
522
527
|
readonly order: number;
|
|
523
528
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
524
|
-
readonly scoringStrategy: "irt" | "raw";
|
|
525
529
|
} | {
|
|
526
530
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
527
531
|
readonly description?: string | undefined;
|
|
@@ -534,11 +538,12 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
534
538
|
};
|
|
535
539
|
readonly sourceRevision: string;
|
|
536
540
|
readonly title: string;
|
|
537
|
-
readonly countryCode: string;
|
|
538
541
|
readonly countryKey: string;
|
|
539
|
-
readonly
|
|
542
|
+
readonly examKey: string;
|
|
543
|
+
readonly kind: "exam";
|
|
540
544
|
readonly order: number;
|
|
541
545
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
546
|
+
readonly scoringStrategy: "irt" | "penalized" | "raw";
|
|
542
547
|
};
|
|
543
548
|
readonly rowHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
544
549
|
};
|
|
@@ -564,18 +569,24 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
564
569
|
readonly kind: "fixed";
|
|
565
570
|
readonly language: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraDeliveryLanguage">;
|
|
566
571
|
};
|
|
572
|
+
readonly points?: number;
|
|
567
573
|
readonly questionArtifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
568
574
|
readonly questionContentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
569
575
|
readonly questionOrder: number;
|
|
570
576
|
readonly questionSourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
571
577
|
readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
|
|
572
578
|
readonly response: {
|
|
573
|
-
readonly
|
|
574
|
-
|
|
575
|
-
readonly
|
|
579
|
+
readonly categories: readonly {
|
|
580
|
+
readonly categoryKey: string;
|
|
581
|
+
readonly label: string;
|
|
582
|
+
readonly order: number;
|
|
583
|
+
}[];
|
|
584
|
+
readonly kind: "category";
|
|
585
|
+
readonly statements: readonly {
|
|
586
|
+
readonly correctCategoryKey: string;
|
|
576
587
|
readonly label: string;
|
|
577
|
-
readonly optionKey: string;
|
|
578
588
|
readonly order: number;
|
|
589
|
+
readonly statementKey: string;
|
|
579
590
|
}[];
|
|
580
591
|
} | {
|
|
581
592
|
readonly kind: "multiple-choice";
|
|
@@ -586,18 +597,64 @@ export declare function decodeContentSnapshotRows<E, R>(rows: Stream.Stream<unkn
|
|
|
586
597
|
readonly order: number;
|
|
587
598
|
}[];
|
|
588
599
|
} | {
|
|
589
|
-
readonly
|
|
590
|
-
|
|
600
|
+
readonly kind: "single-choice";
|
|
601
|
+
readonly options: readonly {
|
|
602
|
+
readonly isCorrect: boolean;
|
|
591
603
|
readonly label: string;
|
|
604
|
+
readonly optionKey: string;
|
|
592
605
|
readonly order: number;
|
|
593
606
|
}[];
|
|
594
|
-
|
|
595
|
-
readonly
|
|
596
|
-
readonly
|
|
597
|
-
readonly
|
|
607
|
+
} | {
|
|
608
|
+
readonly criteria: readonly {
|
|
609
|
+
readonly criterionKey: string;
|
|
610
|
+
readonly finalAnswer?: {
|
|
611
|
+
readonly acceptsFractions: boolean;
|
|
612
|
+
readonly kind: "number";
|
|
613
|
+
readonly tolerance?: {
|
|
614
|
+
readonly kind: "absolute" | "relative";
|
|
615
|
+
readonly value: string;
|
|
616
|
+
};
|
|
617
|
+
readonly value: string;
|
|
618
|
+
} | {
|
|
619
|
+
readonly acceptedAnswers: readonly [string, ...string[]];
|
|
620
|
+
readonly collapseWhitespace: boolean;
|
|
621
|
+
readonly ignoreCase: boolean;
|
|
622
|
+
readonly kind: "text";
|
|
623
|
+
};
|
|
598
624
|
readonly order: number;
|
|
599
|
-
readonly
|
|
625
|
+
readonly label: {
|
|
626
|
+
readonly de: string;
|
|
627
|
+
readonly en: string;
|
|
628
|
+
readonly id: string;
|
|
629
|
+
};
|
|
630
|
+
readonly levels: readonly {
|
|
631
|
+
readonly levelKey: string;
|
|
632
|
+
readonly order: number;
|
|
633
|
+
readonly points: number;
|
|
634
|
+
readonly label: {
|
|
635
|
+
readonly de: string;
|
|
636
|
+
readonly en: string;
|
|
637
|
+
readonly id: string;
|
|
638
|
+
};
|
|
639
|
+
}[];
|
|
600
640
|
}[];
|
|
641
|
+
readonly kind: "rubric";
|
|
642
|
+
} | {
|
|
643
|
+
readonly key: {
|
|
644
|
+
readonly acceptsFractions: boolean;
|
|
645
|
+
readonly kind: "number";
|
|
646
|
+
readonly tolerance?: {
|
|
647
|
+
readonly kind: "absolute" | "relative";
|
|
648
|
+
readonly value: string;
|
|
649
|
+
};
|
|
650
|
+
readonly value: string;
|
|
651
|
+
} | {
|
|
652
|
+
readonly acceptedAnswers: readonly [string, ...string[]];
|
|
653
|
+
readonly collapseWhitespace: boolean;
|
|
654
|
+
readonly ignoreCase: boolean;
|
|
655
|
+
readonly kind: "text";
|
|
656
|
+
};
|
|
657
|
+
readonly kind: "short-answer";
|
|
601
658
|
};
|
|
602
659
|
readonly scope: "server";
|
|
603
660
|
readonly sectionKey: string;
|
|
@@ -650,5 +707,5 @@ export declare const verifyContentSnapshots: <ManifestError, ManifestContext, Ro
|
|
|
650
707
|
};
|
|
651
708
|
};
|
|
652
709
|
stagedRows: number;
|
|
653
|
-
}, ManifestError | RowError | import("../../program/snapshot/digest.js").ProgramDigestError | import("../../program/snapshot/
|
|
710
|
+
}, ManifestError | RowError | import("../../program/snapshot/digest.js").ProgramDigestError | import("../../program/snapshot/hash.js").ProgramRowHashError | import("../../program/snapshot/hash.js").ProgramSnapshotHashError | import("../../quran/snapshot/row/hash.js").QuranRowHashError | import("../../quran/snapshot/digest.js").QuranRowIntegrityError | import("../../quran/snapshot/digest.js").QuranRowOrderError | import("../../quran/snapshot/hash.js").QuranSnapshotHashError | import("./evidence/requirement.js").SnapshotEvidenceError | SnapshotManifestDecodeError | SnapshotManifestOrderError | SnapshotRowDecodeError | SnapshotRowFamilyError | SnapshotStagedCountError | SnapshotTransitionError | import("../../tryout/closure/accounting.js").TryoutClosureError | import("../../tryout/digest.js").TryoutDigestError | import("../../tryout/scoring.js").TryoutScoringError, ManifestContext | RowContext>;
|
|
654
711
|
export {};
|
package/dist/runtime/spec.d.ts
CHANGED
|
@@ -171,6 +171,7 @@ export declare const PublicContentRuntimeFoundSchema: Schema.Struct<{
|
|
|
171
171
|
readonly name: Schema.String;
|
|
172
172
|
}>>;
|
|
173
173
|
readonly description: Schema.optional<Schema.String>;
|
|
174
|
+
readonly searchTitle: Schema.optionalKey<Schema.Trimmed>;
|
|
174
175
|
readonly subject: Schema.optional<Schema.String>;
|
|
175
176
|
readonly title: Schema.String;
|
|
176
177
|
}>;
|
|
@@ -357,6 +358,7 @@ export declare const PublicContentRuntimeResponseSchema: Schema.Union<readonly [
|
|
|
357
358
|
readonly name: Schema.String;
|
|
358
359
|
}>>;
|
|
359
360
|
readonly description: Schema.optional<Schema.String>;
|
|
361
|
+
readonly searchTitle: Schema.optionalKey<Schema.Trimmed>;
|
|
360
362
|
readonly subject: Schema.optional<Schema.String>;
|
|
361
363
|
readonly title: Schema.String;
|
|
362
364
|
}>;
|
|
@@ -494,11 +496,7 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
494
496
|
readonly delivery: "public";
|
|
495
497
|
readonly projection: {
|
|
496
498
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
497
|
-
readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
498
|
-
readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
|
|
499
499
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
500
|
-
readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
|
|
501
|
-
readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
502
500
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
503
501
|
readonly graph: {
|
|
504
502
|
readonly alignmentId: string;
|
|
@@ -507,9 +505,11 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
507
505
|
readonly learningObjectId: string;
|
|
508
506
|
readonly lensId: string;
|
|
509
507
|
};
|
|
508
|
+
readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
|
|
509
|
+
readonly order: number;
|
|
510
510
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
511
|
-
readonly
|
|
512
|
-
readonly kind: "
|
|
511
|
+
readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
|
|
512
|
+
readonly kind: "subject-lesson";
|
|
513
513
|
readonly metadata: {
|
|
514
514
|
readonly dateModified?: string;
|
|
515
515
|
readonly datePublished: string;
|
|
@@ -517,23 +517,20 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
517
517
|
readonly name: string;
|
|
518
518
|
}[];
|
|
519
519
|
readonly description?: string | undefined;
|
|
520
|
+
readonly searchTitle?: string;
|
|
521
|
+
readonly subject?: string | undefined;
|
|
520
522
|
readonly title: string;
|
|
521
523
|
};
|
|
522
|
-
readonly official: boolean;
|
|
523
524
|
readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
524
|
-
readonly references: readonly {
|
|
525
|
-
readonly authors: string;
|
|
526
|
-
readonly citation?: string | undefined;
|
|
527
|
-
readonly details?: string | undefined;
|
|
528
|
-
readonly publication?: string | undefined;
|
|
529
|
-
readonly title: string;
|
|
530
|
-
readonly url?: string | undefined;
|
|
531
|
-
readonly year: number;
|
|
532
|
-
}[];
|
|
533
525
|
readonly sitemap: true;
|
|
526
|
+
readonly topicTitle: string;
|
|
534
527
|
} | {
|
|
535
528
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
529
|
+
readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
530
|
+
readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
|
|
536
531
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
532
|
+
readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
|
|
533
|
+
readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
537
534
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
538
535
|
readonly graph: {
|
|
539
536
|
readonly alignmentId: string;
|
|
@@ -542,11 +539,9 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
542
539
|
readonly learningObjectId: string;
|
|
543
540
|
readonly lensId: string;
|
|
544
541
|
};
|
|
545
|
-
readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
|
|
546
|
-
readonly order: number;
|
|
547
542
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
548
|
-
readonly
|
|
549
|
-
readonly kind: "
|
|
543
|
+
readonly categoryTitle: string;
|
|
544
|
+
readonly kind: "article";
|
|
550
545
|
readonly metadata: {
|
|
551
546
|
readonly dateModified?: string;
|
|
552
547
|
readonly datePublished: string;
|
|
@@ -554,12 +549,20 @@ export declare const decodePublicContentRuntimeResponse: (input: unknown) => Eff
|
|
|
554
549
|
readonly name: string;
|
|
555
550
|
}[];
|
|
556
551
|
readonly description?: string | undefined;
|
|
557
|
-
readonly subject?: string | undefined;
|
|
558
552
|
readonly title: string;
|
|
559
553
|
};
|
|
554
|
+
readonly official: boolean;
|
|
560
555
|
readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
556
|
+
readonly references: readonly {
|
|
557
|
+
readonly authors: string;
|
|
558
|
+
readonly citation?: string | undefined;
|
|
559
|
+
readonly details?: string | undefined;
|
|
560
|
+
readonly publication?: string | undefined;
|
|
561
|
+
readonly title: string;
|
|
562
|
+
readonly url?: string | undefined;
|
|
563
|
+
readonly year: number;
|
|
564
|
+
}[];
|
|
561
565
|
readonly sitemap: true;
|
|
562
|
-
readonly topicTitle: string;
|
|
563
566
|
} | {
|
|
564
567
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
565
568
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
package/dist/runtime/verify.d.ts
CHANGED
|
@@ -111,31 +111,17 @@ export declare const verifyContentRuntimeEvidenceExchange: (input: {
|
|
|
111
111
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
112
112
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
113
113
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
114
|
-
readonly
|
|
115
|
-
readonly alignmentId: string;
|
|
116
|
-
readonly assetId: string;
|
|
117
|
-
readonly conceptId: string;
|
|
118
|
-
readonly learningObjectId: string;
|
|
119
|
-
readonly lensId: string;
|
|
120
|
-
};
|
|
121
|
-
readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
|
|
122
|
-
readonly order: number;
|
|
114
|
+
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
123
115
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
124
|
-
readonly
|
|
125
|
-
readonly kind: "subject-lesson";
|
|
116
|
+
readonly kind: "public-page";
|
|
126
117
|
readonly metadata: {
|
|
127
118
|
readonly dateModified?: string;
|
|
128
119
|
readonly datePublished: string;
|
|
129
|
-
readonly
|
|
130
|
-
readonly name: string;
|
|
131
|
-
}[];
|
|
132
|
-
readonly description?: string | undefined;
|
|
133
|
-
readonly subject?: string | undefined;
|
|
120
|
+
readonly description: string;
|
|
134
121
|
readonly title: string;
|
|
135
122
|
};
|
|
136
|
-
readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
137
123
|
readonly sitemap: true;
|
|
138
|
-
readonly
|
|
124
|
+
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
139
125
|
} | {
|
|
140
126
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
141
127
|
readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
@@ -179,17 +165,32 @@ export declare const verifyContentRuntimeEvidenceExchange: (input: {
|
|
|
179
165
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
180
166
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
181
167
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
182
|
-
readonly
|
|
168
|
+
readonly graph: {
|
|
169
|
+
readonly alignmentId: string;
|
|
170
|
+
readonly assetId: string;
|
|
171
|
+
readonly conceptId: string;
|
|
172
|
+
readonly learningObjectId: string;
|
|
173
|
+
readonly lensId: string;
|
|
174
|
+
};
|
|
175
|
+
readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
|
|
176
|
+
readonly order: number;
|
|
183
177
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
184
|
-
readonly
|
|
178
|
+
readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
|
|
179
|
+
readonly kind: "subject-lesson";
|
|
185
180
|
readonly metadata: {
|
|
186
181
|
readonly dateModified?: string;
|
|
187
182
|
readonly datePublished: string;
|
|
188
|
-
readonly
|
|
183
|
+
readonly authors: readonly {
|
|
184
|
+
readonly name: string;
|
|
185
|
+
}[];
|
|
186
|
+
readonly description?: string | undefined;
|
|
187
|
+
readonly searchTitle?: string;
|
|
188
|
+
readonly subject?: string | undefined;
|
|
189
189
|
readonly title: string;
|
|
190
190
|
};
|
|
191
|
+
readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
191
192
|
readonly sitemap: true;
|
|
192
|
-
readonly
|
|
193
|
+
readonly topicTitle: string;
|
|
193
194
|
};
|
|
194
195
|
readonly projectionHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
195
196
|
} | {
|
|
@@ -310,31 +311,17 @@ export declare const verifyContentRuntimeExchange: (input: {
|
|
|
310
311
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
311
312
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
312
313
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
313
|
-
readonly
|
|
314
|
-
readonly alignmentId: string;
|
|
315
|
-
readonly assetId: string;
|
|
316
|
-
readonly conceptId: string;
|
|
317
|
-
readonly learningObjectId: string;
|
|
318
|
-
readonly lensId: string;
|
|
319
|
-
};
|
|
320
|
-
readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
|
|
321
|
-
readonly order: number;
|
|
314
|
+
readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
|
|
322
315
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
323
|
-
readonly
|
|
324
|
-
readonly kind: "subject-lesson";
|
|
316
|
+
readonly kind: "public-page";
|
|
325
317
|
readonly metadata: {
|
|
326
318
|
readonly dateModified?: string;
|
|
327
319
|
readonly datePublished: string;
|
|
328
|
-
readonly
|
|
329
|
-
readonly name: string;
|
|
330
|
-
}[];
|
|
331
|
-
readonly description?: string | undefined;
|
|
332
|
-
readonly subject?: string | undefined;
|
|
320
|
+
readonly description: string;
|
|
333
321
|
readonly title: string;
|
|
334
322
|
};
|
|
335
|
-
readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
336
323
|
readonly sitemap: true;
|
|
337
|
-
readonly
|
|
324
|
+
readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
|
|
338
325
|
} | {
|
|
339
326
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
340
327
|
readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
|
|
@@ -378,17 +365,32 @@ export declare const verifyContentRuntimeExchange: (input: {
|
|
|
378
365
|
readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
|
|
379
366
|
readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
|
|
380
367
|
readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
|
|
381
|
-
readonly
|
|
368
|
+
readonly graph: {
|
|
369
|
+
readonly alignmentId: string;
|
|
370
|
+
readonly assetId: string;
|
|
371
|
+
readonly conceptId: string;
|
|
372
|
+
readonly learningObjectId: string;
|
|
373
|
+
readonly lensId: string;
|
|
374
|
+
};
|
|
375
|
+
readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
|
|
376
|
+
readonly order: number;
|
|
382
377
|
readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
383
|
-
readonly
|
|
378
|
+
readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
|
|
379
|
+
readonly kind: "subject-lesson";
|
|
384
380
|
readonly metadata: {
|
|
385
381
|
readonly dateModified?: string;
|
|
386
382
|
readonly datePublished: string;
|
|
387
|
-
readonly
|
|
383
|
+
readonly authors: readonly {
|
|
384
|
+
readonly name: string;
|
|
385
|
+
}[];
|
|
386
|
+
readonly description?: string | undefined;
|
|
387
|
+
readonly searchTitle?: string;
|
|
388
|
+
readonly subject?: string | undefined;
|
|
388
389
|
readonly title: string;
|
|
389
390
|
};
|
|
391
|
+
readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
|
|
390
392
|
readonly sitemap: true;
|
|
391
|
-
readonly
|
|
393
|
+
readonly topicTitle: string;
|
|
392
394
|
};
|
|
393
395
|
readonly projectionHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
|
|
394
396
|
} | {
|
|
@@ -161,6 +161,7 @@ export declare const StageProjectionBatchInputSchema: Schema.Struct<{
|
|
|
161
161
|
readonly name: Schema.String;
|
|
162
162
|
}>>;
|
|
163
163
|
readonly description: Schema.optional<Schema.String>;
|
|
164
|
+
readonly searchTitle: Schema.optionalKey<Schema.Trimmed>;
|
|
164
165
|
readonly subject: Schema.optional<Schema.String>;
|
|
165
166
|
readonly title: Schema.String;
|
|
166
167
|
}>;
|
|
@@ -226,6 +227,49 @@ export declare const StageProjectionBatchInputSchema: Schema.Struct<{
|
|
|
226
227
|
readonly optionKey: Schema.String;
|
|
227
228
|
readonly order: Schema.Int;
|
|
228
229
|
}>>;
|
|
230
|
+
}>, Schema.Struct<{
|
|
231
|
+
readonly criteria: Schema.$Array<Schema.Struct<{
|
|
232
|
+
readonly criterionKey: Schema.String;
|
|
233
|
+
readonly finalAnswer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
234
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
235
|
+
readonly kind: Schema.Literal<"number">;
|
|
236
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
237
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
238
|
+
readonly value: Schema.String;
|
|
239
|
+
}>>;
|
|
240
|
+
readonly value: Schema.String;
|
|
241
|
+
}>, Schema.Struct<{
|
|
242
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
243
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
244
|
+
readonly ignoreCase: Schema.Boolean;
|
|
245
|
+
readonly kind: Schema.Literal<"text">;
|
|
246
|
+
}>]>>;
|
|
247
|
+
readonly order: Schema.Int;
|
|
248
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
249
|
+
readonly levels: Schema.$Array<Schema.Struct<{
|
|
250
|
+
readonly levelKey: Schema.String;
|
|
251
|
+
readonly order: Schema.Int;
|
|
252
|
+
readonly points: Schema.Int;
|
|
253
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
254
|
+
}>>;
|
|
255
|
+
}>>;
|
|
256
|
+
readonly kind: Schema.Literal<"rubric">;
|
|
257
|
+
}>, Schema.Struct<{
|
|
258
|
+
readonly key: Schema.Union<readonly [Schema.Struct<{
|
|
259
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
260
|
+
readonly kind: Schema.Literal<"number">;
|
|
261
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
262
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
263
|
+
readonly value: Schema.String;
|
|
264
|
+
}>>;
|
|
265
|
+
readonly value: Schema.String;
|
|
266
|
+
}>, Schema.Struct<{
|
|
267
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
268
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
269
|
+
readonly ignoreCase: Schema.Boolean;
|
|
270
|
+
readonly kind: Schema.Literal<"text">;
|
|
271
|
+
}>]>;
|
|
272
|
+
readonly kind: Schema.Literal<"short-answer">;
|
|
229
273
|
}>, Schema.Struct<{
|
|
230
274
|
readonly kind: Schema.Literal<"single-choice">;
|
|
231
275
|
readonly options: Schema.$Array<Schema.Struct<{
|
|
@@ -327,6 +371,7 @@ export declare const StageProjectionBatchRequestSchema: Schema.Struct<{
|
|
|
327
371
|
readonly name: Schema.String;
|
|
328
372
|
}>>;
|
|
329
373
|
readonly description: Schema.optional<Schema.String>;
|
|
374
|
+
readonly searchTitle: Schema.optionalKey<Schema.Trimmed>;
|
|
330
375
|
readonly subject: Schema.optional<Schema.String>;
|
|
331
376
|
readonly title: Schema.String;
|
|
332
377
|
}>;
|
|
@@ -392,6 +437,49 @@ export declare const StageProjectionBatchRequestSchema: Schema.Struct<{
|
|
|
392
437
|
readonly optionKey: Schema.String;
|
|
393
438
|
readonly order: Schema.Int;
|
|
394
439
|
}>>;
|
|
440
|
+
}>, Schema.Struct<{
|
|
441
|
+
readonly criteria: Schema.$Array<Schema.Struct<{
|
|
442
|
+
readonly criterionKey: Schema.String;
|
|
443
|
+
readonly finalAnswer: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
444
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
445
|
+
readonly kind: Schema.Literal<"number">;
|
|
446
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
447
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
448
|
+
readonly value: Schema.String;
|
|
449
|
+
}>>;
|
|
450
|
+
readonly value: Schema.String;
|
|
451
|
+
}>, Schema.Struct<{
|
|
452
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
453
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
454
|
+
readonly ignoreCase: Schema.Boolean;
|
|
455
|
+
readonly kind: Schema.Literal<"text">;
|
|
456
|
+
}>]>>;
|
|
457
|
+
readonly order: Schema.Int;
|
|
458
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
459
|
+
readonly levels: Schema.$Array<Schema.Struct<{
|
|
460
|
+
readonly levelKey: Schema.String;
|
|
461
|
+
readonly order: Schema.Int;
|
|
462
|
+
readonly points: Schema.Int;
|
|
463
|
+
readonly label: Schema.$Record<Schema.Literals<readonly ["en", "id", "de"]>, Schema.String>;
|
|
464
|
+
}>>;
|
|
465
|
+
}>>;
|
|
466
|
+
readonly kind: Schema.Literal<"rubric">;
|
|
467
|
+
}>, Schema.Struct<{
|
|
468
|
+
readonly key: Schema.Union<readonly [Schema.Struct<{
|
|
469
|
+
readonly acceptsFractions: Schema.Boolean;
|
|
470
|
+
readonly kind: Schema.Literal<"number">;
|
|
471
|
+
readonly tolerance: Schema.optionalKey<Schema.Struct<{
|
|
472
|
+
readonly kind: Schema.Literals<readonly ["absolute", "relative"]>;
|
|
473
|
+
readonly value: Schema.String;
|
|
474
|
+
}>>;
|
|
475
|
+
readonly value: Schema.String;
|
|
476
|
+
}>, Schema.Struct<{
|
|
477
|
+
readonly acceptedAnswers: Schema.NonEmptyArray<Schema.Trimmed>;
|
|
478
|
+
readonly collapseWhitespace: Schema.Boolean;
|
|
479
|
+
readonly ignoreCase: Schema.Boolean;
|
|
480
|
+
readonly kind: Schema.Literal<"text">;
|
|
481
|
+
}>]>;
|
|
482
|
+
readonly kind: Schema.Literal<"short-answer">;
|
|
395
483
|
}>, Schema.Struct<{
|
|
396
484
|
readonly kind: Schema.Literal<"single-choice">;
|
|
397
485
|
readonly options: Schema.$Array<Schema.Struct<{
|