@@ -49,6 +49,17 @@ export type CreateGroupInput = {
4949 scopeSetIDs ?: InputMaybe < Array < Scalars [ 'ID' ] [ 'input' ] > > ;
5050} ;
5151
52+ /**
53+ * CreatePointInput is used for create Point object.
54+ * Input was generated by ent.
55+ */
56+ export type CreatePointInput = {
57+ description ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
58+ grantedAt ?: InputMaybe < Scalars [ 'Time' ] [ 'input' ] > ;
59+ points ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
60+ userID : Scalars [ 'ID' ] [ 'input' ] ;
61+ } ;
62+
5263/**
5364 * CreateQuestionInput is used for create Question object.
5465 * Input was generated by ent.
@@ -388,6 +399,8 @@ export type Mutation = {
388399 createDatabase : Database ;
389400 /** Create a new group. */
390401 createGroup ?: Maybe < Group > ;
402+ /** Create a new point record for a user. */
403+ createPoint ?: Maybe < Point > ;
391404 /** Create a question. */
392405 createQuestion : Question ;
393406 /** Create a new scope set. */
@@ -440,6 +453,11 @@ export type MutationCreateGroupArgs = {
440453} ;
441454
442455
456+ export type MutationCreatePointArgs = {
457+ input : CreatePointInput ;
458+ } ;
459+
460+
443461export type MutationCreateQuestionArgs = {
444462 input : CreateQuestionInput ;
445463} ;
@@ -897,13 +915,13 @@ export enum QuestionOrderField {
897915
898916export type QuestionStatistics = {
899917 __typename ?: 'QuestionStatistics' ;
900- /** 嘗試人數 */
918+ /** Number of users who attempted */
901919 attemptedUsers : Scalars [ 'Int' ] [ 'output' ] ;
902- /** 答案正確的提交數 */
920+ /** Number of correct submissions */
903921 correctSubmissionCount : Scalars [ 'Int' ] [ 'output' ] ;
904- /** 通過的學生數 */
922+ /** Number of users who passed */
905923 passedUsers : Scalars [ 'Int' ] [ 'output' ] ;
906- /** 所有提交數 */
924+ /** Total number of submissions */
907925 submissionCount : Scalars [ 'Int' ] [ 'output' ] ;
908926} ;
909927
0 commit comments