@neutron.co.id/pendidikan-operation 1.10.0 → 1.10.1-beta.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/build/index.cjs +211 -23
- package/build/index.d.ts +6 -2
- package/build/index.mjs +211 -24
- package/package.json +5 -4
package/build/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Action, Hook } from '@neon.id/operation';
|
|
2
|
+
import { NStream } from '@neon.id/types';
|
|
2
3
|
|
|
3
4
|
interface SetSomethingInput {
|
|
4
5
|
}
|
|
@@ -186,7 +187,7 @@ interface GradingComparatorComparison {
|
|
|
186
187
|
}
|
|
187
188
|
interface GradingComparator {
|
|
188
189
|
id: string;
|
|
189
|
-
|
|
190
|
+
acceptedGradingInserts?: {
|
|
190
191
|
scores?: Record<string, number>;
|
|
191
192
|
acceptedValidation?: 'verified' | 'accept' | 'rejected';
|
|
192
193
|
}[];
|
|
@@ -265,6 +266,7 @@ interface RasionalizeGradingOutput {
|
|
|
265
266
|
interface RasionalizeGradingMeta {
|
|
266
267
|
}
|
|
267
268
|
declare const rasionalizeGrading: Action<"rasionalizeGrading", RasionalizeGradingInput, RasionalizeGradingOutput, RasionalizeGradingMeta>;
|
|
269
|
+
declare function syncModel(stream: NStream.Stream, model: string, filter: any, limit: number): Promise<void>;
|
|
268
270
|
type RasionalizeGradingAction = typeof rasionalizeGrading;
|
|
269
271
|
|
|
270
272
|
interface UpdateGradingAndScoresInput {
|
|
@@ -530,6 +532,7 @@ declare const index_sendAnswer: typeof sendAnswer;
|
|
|
530
532
|
declare const index_sendQuestion: typeof sendQuestion;
|
|
531
533
|
declare const index_setSomething: typeof setSomething;
|
|
532
534
|
declare const index_syncCommitment: typeof syncCommitment;
|
|
535
|
+
declare const index_syncModel: typeof syncModel;
|
|
533
536
|
declare const index_syncStudentBranch: typeof syncStudentBranch;
|
|
534
537
|
declare const index_updateGradingAndScores: typeof updateGradingAndScores;
|
|
535
538
|
declare const index_userCountStats: typeof userCountStats;
|
|
@@ -685,6 +688,7 @@ declare namespace index {
|
|
|
685
688
|
index_sendQuestion as sendQuestion,
|
|
686
689
|
index_setSomething as setSomething,
|
|
687
690
|
index_syncCommitment as syncCommitment,
|
|
691
|
+
index_syncModel as syncModel,
|
|
688
692
|
index_syncStudentBranch as syncStudentBranch,
|
|
689
693
|
index_updateGradingAndScores as updateGradingAndScores,
|
|
690
694
|
index_userCountStats as userCountStats,
|
|
@@ -693,4 +697,4 @@ declare namespace index {
|
|
|
693
697
|
|
|
694
698
|
declare function registerOfficePendidikanHooks(hook: Hook): void;
|
|
695
699
|
|
|
696
|
-
export { AcceptQuestionAction, AcceptQuestionInput, AcceptQuestionMeta, AcceptQuestionOutput, AddManyGradingComponentAction, AddManyGradingComponentInput, AddManyGradingComponentMeta, AddManyGradingComponentOutput, AllConflictAction, AllConflictInput, AllConflictMeta, AllConflictOutput, CalculateGradingAction, CalculateGradingInput, CalculateGradingMeta, CalculateGradingOutput, CalculateManyComparatorAction, CalculateManyComparatorInput, CalculateManyComparatorMeta, CalculateManyComparatorOutput, CalculateOneComparatorAction, CalculateOneComparatorInput, CalculateOneComparatorMeta, CalculateOneComparatorOutput, ClearAllOverridesAction, ClearAllOverridesInput, ClearAllOverridesMeta, ClearAllOverridesOutput, ClearGradingAction, ClearGradingInput, ClearGradingMeta, ClearGradingOutput, ClearOneOverridesAction, ClearOneOverridesInput, ClearOneOverridesMeta, ClearOneOverridesOutput, CreateGradingAndScoresAction, CreateGradingAndScoresInput, CreateGradingAndScoresMeta, CreateGradingAndScoresOutput, CreateManySessionAction, CreateManySessionInput, CreateManySessionMeta, CreateManySessionOutput, EditAnswerAction, EditAnswerInput, EditAnswerMeta, EditAnswerOutput, GenerateGradingAction, GenerateGradingInput, GenerateGradingMeta, GenerateGradingOutput, GetGradingCountAction, GetGradingCountInput, GetGradingCountMeta, GetGradingCountOutput, GetQuestionCountAction, GetQuestionCountInput, GetQuestionCountMeta, GetQuestionCountOutput, GetStaffIdAction, GetStaffIdInput, GetStaffIdMeta, GetStaffIdOutput, GetStudentIdAction, GetStudentIdInput, GetStudentIdMeta, GetStudentIdOutput, GradingComparator, GradingComparatorComparison, HasUnderstandAction, HasUnderstandInput, HasUnderstandMeta, HasUnderstandOutput, NotUnderstandAction, NotUnderstandInput, NotUnderstandMeta, NotUnderstandOutput, PrepareConflictAction, PrepareConflictInput, PrepareConflictMeta, PrepareConflictOutput, PresenceSessionStudentAction, PresenceSessionStudentInput, PresenceSessionStudentMeta, PresenceSessionStudentOutput, PresenceSessionTeacherAction, PresenceSessionTeacherInput, PresenceSessionTeacherMeta, PresenceSessionTeacherOutput, RasionalizeGradingAction, RasionalizeGradingInput, RasionalizeGradingMeta, RasionalizeGradingOutput, SendAnswerAction, SendAnswerInput, SendAnswerMeta, SendAnswerOutput, SendQuestionAction, SendQuestionInput, SendQuestionMeta, SendQuestionOutput, SetSomethingAction, SetSomethingInput, SetSomethingMeta, SetSomethingOutput, SyncCommitmentAction, SyncCommitmentInput, SyncCommitmentMeta, SyncCommitmentOutput, SyncStudentBranchAction, SyncStudentBranchInput, SyncStudentBranchMeta, SyncStudentBranchOutput, UpdateGradingAndScoresAction, UpdateGradingAndScoresInput, UpdateGradingAndScoresMeta, UpdateGradingAndScoresOutput, UserCountStatsAction, UserCountStatsInput, UserCountStatsMeta, UserCountStatsOutput, _calculateComparison, acceptQuestion, index as actions, addManyGradingComponent, allConflict, calculateGrading, calculateManyComparator, calculateOneComparator, clearAllOverrides, clearGrading, clearOneOverrides, createGradingAndScores, createManySession, editAnswer, generateGrading, getGradingCount, getQuestionCount, getStaffId, getStudentId, hasUnderstand, notUnderstand, prepareConflict, presenceSessionStudent, presenceSessionTeacher, rasionalizeGrading, registerOfficePendidikanHooks, sendAnswer, sendQuestion, setSomething, syncCommitment, syncStudentBranch, updateGradingAndScores, userCountStats };
|
|
700
|
+
export { AcceptQuestionAction, AcceptQuestionInput, AcceptQuestionMeta, AcceptQuestionOutput, AddManyGradingComponentAction, AddManyGradingComponentInput, AddManyGradingComponentMeta, AddManyGradingComponentOutput, AllConflictAction, AllConflictInput, AllConflictMeta, AllConflictOutput, CalculateGradingAction, CalculateGradingInput, CalculateGradingMeta, CalculateGradingOutput, CalculateManyComparatorAction, CalculateManyComparatorInput, CalculateManyComparatorMeta, CalculateManyComparatorOutput, CalculateOneComparatorAction, CalculateOneComparatorInput, CalculateOneComparatorMeta, CalculateOneComparatorOutput, ClearAllOverridesAction, ClearAllOverridesInput, ClearAllOverridesMeta, ClearAllOverridesOutput, ClearGradingAction, ClearGradingInput, ClearGradingMeta, ClearGradingOutput, ClearOneOverridesAction, ClearOneOverridesInput, ClearOneOverridesMeta, ClearOneOverridesOutput, CreateGradingAndScoresAction, CreateGradingAndScoresInput, CreateGradingAndScoresMeta, CreateGradingAndScoresOutput, CreateManySessionAction, CreateManySessionInput, CreateManySessionMeta, CreateManySessionOutput, EditAnswerAction, EditAnswerInput, EditAnswerMeta, EditAnswerOutput, GenerateGradingAction, GenerateGradingInput, GenerateGradingMeta, GenerateGradingOutput, GetGradingCountAction, GetGradingCountInput, GetGradingCountMeta, GetGradingCountOutput, GetQuestionCountAction, GetQuestionCountInput, GetQuestionCountMeta, GetQuestionCountOutput, GetStaffIdAction, GetStaffIdInput, GetStaffIdMeta, GetStaffIdOutput, GetStudentIdAction, GetStudentIdInput, GetStudentIdMeta, GetStudentIdOutput, GradingComparator, GradingComparatorComparison, HasUnderstandAction, HasUnderstandInput, HasUnderstandMeta, HasUnderstandOutput, NotUnderstandAction, NotUnderstandInput, NotUnderstandMeta, NotUnderstandOutput, PrepareConflictAction, PrepareConflictInput, PrepareConflictMeta, PrepareConflictOutput, PresenceSessionStudentAction, PresenceSessionStudentInput, PresenceSessionStudentMeta, PresenceSessionStudentOutput, PresenceSessionTeacherAction, PresenceSessionTeacherInput, PresenceSessionTeacherMeta, PresenceSessionTeacherOutput, RasionalizeGradingAction, RasionalizeGradingInput, RasionalizeGradingMeta, RasionalizeGradingOutput, SendAnswerAction, SendAnswerInput, SendAnswerMeta, SendAnswerOutput, SendQuestionAction, SendQuestionInput, SendQuestionMeta, SendQuestionOutput, SetSomethingAction, SetSomethingInput, SetSomethingMeta, SetSomethingOutput, SyncCommitmentAction, SyncCommitmentInput, SyncCommitmentMeta, SyncCommitmentOutput, SyncStudentBranchAction, SyncStudentBranchInput, SyncStudentBranchMeta, SyncStudentBranchOutput, UpdateGradingAndScoresAction, UpdateGradingAndScoresInput, UpdateGradingAndScoresMeta, UpdateGradingAndScoresOutput, UserCountStatsAction, UserCountStatsInput, UserCountStatsMeta, UserCountStatsOutput, _calculateComparison, acceptQuestion, index as actions, addManyGradingComponent, allConflict, calculateGrading, calculateManyComparator, calculateOneComparator, clearAllOverrides, clearGrading, clearOneOverrides, createGradingAndScores, createManySession, editAnswer, generateGrading, getGradingCount, getQuestionCount, getStaffId, getStudentId, hasUnderstand, notUnderstand, prepareConflict, presenceSessionStudent, presenceSessionTeacher, rasionalizeGrading, registerOfficePendidikanHooks, sendAnswer, sendQuestion, setSomething, syncCommitment, syncModel, syncStudentBranch, updateGradingAndScores, userCountStats };
|