@speakableio/core 1.0.3 → 1.0.4

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.
@@ -446,6 +446,7 @@ interface Assignment {
446
446
  };
447
447
  aiEnabled?: boolean;
448
448
  chat_experience?: boolean;
449
+ showScores?: boolean;
449
450
  }
450
451
  interface AssignmentWithId extends Assignment {
451
452
  id: string;
@@ -631,6 +632,7 @@ declare const createAssignmentRepo: () => {
631
632
  types?: { [key in ActivityPageType]?: number; };
632
633
  aiEnabled?: boolean;
633
634
  chat_experience?: boolean;
635
+ showScores?: boolean;
634
636
  } | null>;
635
637
  attachScoresAssignment: (args_0: {
636
638
  assignments: AssignmentWithId[];
@@ -681,6 +683,7 @@ declare const createAssignmentRepo: () => {
681
683
  types?: { [key in ActivityPageType]?: number; };
682
684
  aiEnabled?: boolean;
683
685
  chat_experience?: boolean;
686
+ showScores?: boolean;
684
687
  }[]>;
685
688
  getAssignmentScores: (args_0: {
686
689
  assignmentId: string;
@@ -750,6 +753,7 @@ declare function useAssignment({ assignmentId, enabled, analyticType, userId, }:
750
753
  types?: { [key in ActivityPageType]?: number; };
751
754
  aiEnabled?: boolean;
752
755
  chat_experience?: boolean;
756
+ showScores?: boolean;
753
757
  } | null, Error>;
754
758
 
755
759
  declare const scoreQueryKeys: {
@@ -1012,6 +1016,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1012
1016
  types?: { [key in ActivityPageType]?: number; };
1013
1017
  aiEnabled?: boolean;
1014
1018
  chat_experience?: boolean;
1019
+ showScores?: boolean;
1015
1020
  } | null>;
1016
1021
  attachScoresAssignment: (args_0: {
1017
1022
  assignments: AssignmentWithId[];
@@ -1062,6 +1067,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1062
1067
  types?: { [key in ActivityPageType]?: number; };
1063
1068
  aiEnabled?: boolean;
1064
1069
  chat_experience?: boolean;
1070
+ showScores?: boolean;
1065
1071
  }[]>;
1066
1072
  getAssignmentScores: (args_0: {
1067
1073
  assignmentId: string;
@@ -1374,6 +1380,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
1374
1380
  types?: { [key in ActivityPageType]?: number; };
1375
1381
  aiEnabled?: boolean;
1376
1382
  chat_experience?: boolean;
1383
+ showScores?: boolean;
1377
1384
  } | null | undefined;
1378
1385
  query: _tanstack_react_query.UseQueryResult<AssignmentWithId | {
1379
1386
  scores: any;
@@ -1419,6 +1426,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
1419
1426
  types?: { [key in ActivityPageType]?: number; };
1420
1427
  aiEnabled?: boolean;
1421
1428
  chat_experience?: boolean;
1429
+ showScores?: boolean;
1422
1430
  } | null, Error>;
1423
1431
  };
1424
1432
  scores: {
@@ -2688,6 +2696,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
2688
2696
  types?: { [key in ActivityPageType]?: number; };
2689
2697
  aiEnabled?: boolean;
2690
2698
  chat_experience?: boolean;
2699
+ showScores?: boolean;
2691
2700
  } | null>;
2692
2701
  attachScoresAssignment: (args_0: {
2693
2702
  assignments: AssignmentWithId[];
@@ -2738,6 +2747,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
2738
2747
  types?: { [key in ActivityPageType]?: number; };
2739
2748
  aiEnabled?: boolean;
2740
2749
  chat_experience?: boolean;
2750
+ showScores?: boolean;
2741
2751
  }[]>;
2742
2752
  getAssignmentScores: (args_0: {
2743
2753
  assignmentId: string;
@@ -446,6 +446,7 @@ interface Assignment {
446
446
  };
447
447
  aiEnabled?: boolean;
448
448
  chat_experience?: boolean;
449
+ showScores?: boolean;
449
450
  }
450
451
  interface AssignmentWithId extends Assignment {
451
452
  id: string;
@@ -631,6 +632,7 @@ declare const createAssignmentRepo: () => {
631
632
  types?: { [key in ActivityPageType]?: number; };
632
633
  aiEnabled?: boolean;
633
634
  chat_experience?: boolean;
635
+ showScores?: boolean;
634
636
  } | null>;
635
637
  attachScoresAssignment: (args_0: {
636
638
  assignments: AssignmentWithId[];
@@ -681,6 +683,7 @@ declare const createAssignmentRepo: () => {
681
683
  types?: { [key in ActivityPageType]?: number; };
682
684
  aiEnabled?: boolean;
683
685
  chat_experience?: boolean;
686
+ showScores?: boolean;
684
687
  }[]>;
685
688
  getAssignmentScores: (args_0: {
686
689
  assignmentId: string;
@@ -750,6 +753,7 @@ declare function useAssignment({ assignmentId, enabled, analyticType, userId, }:
750
753
  types?: { [key in ActivityPageType]?: number; };
751
754
  aiEnabled?: boolean;
752
755
  chat_experience?: boolean;
756
+ showScores?: boolean;
753
757
  } | null, Error>;
754
758
 
755
759
  declare const scoreQueryKeys: {
@@ -1012,6 +1016,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1012
1016
  types?: { [key in ActivityPageType]?: number; };
1013
1017
  aiEnabled?: boolean;
1014
1018
  chat_experience?: boolean;
1019
+ showScores?: boolean;
1015
1020
  } | null>;
1016
1021
  attachScoresAssignment: (args_0: {
1017
1022
  assignments: AssignmentWithId[];
@@ -1062,6 +1067,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1062
1067
  types?: { [key in ActivityPageType]?: number; };
1063
1068
  aiEnabled?: boolean;
1064
1069
  chat_experience?: boolean;
1070
+ showScores?: boolean;
1065
1071
  }[]>;
1066
1072
  getAssignmentScores: (args_0: {
1067
1073
  assignmentId: string;
@@ -1374,6 +1380,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
1374
1380
  types?: { [key in ActivityPageType]?: number; };
1375
1381
  aiEnabled?: boolean;
1376
1382
  chat_experience?: boolean;
1383
+ showScores?: boolean;
1377
1384
  } | null | undefined;
1378
1385
  query: _tanstack_react_query.UseQueryResult<AssignmentWithId | {
1379
1386
  scores: any;
@@ -1419,6 +1426,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
1419
1426
  types?: { [key in ActivityPageType]?: number; };
1420
1427
  aiEnabled?: boolean;
1421
1428
  chat_experience?: boolean;
1429
+ showScores?: boolean;
1422
1430
  } | null, Error>;
1423
1431
  };
1424
1432
  scores: {
@@ -2688,6 +2696,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
2688
2696
  types?: { [key in ActivityPageType]?: number; };
2689
2697
  aiEnabled?: boolean;
2690
2698
  chat_experience?: boolean;
2699
+ showScores?: boolean;
2691
2700
  } | null>;
2692
2701
  attachScoresAssignment: (args_0: {
2693
2702
  assignments: AssignmentWithId[];
@@ -2738,6 +2747,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
2738
2747
  types?: { [key in ActivityPageType]?: number; };
2739
2748
  aiEnabled?: boolean;
2740
2749
  chat_experience?: boolean;
2750
+ showScores?: boolean;
2741
2751
  }[]>;
2742
2752
  getAssignmentScores: (args_0: {
2743
2753
  assignmentId: string;
@@ -446,6 +446,7 @@ interface Assignment {
446
446
  };
447
447
  aiEnabled?: boolean;
448
448
  chat_experience?: boolean;
449
+ showScores?: boolean;
449
450
  }
450
451
  interface AssignmentWithId extends Assignment {
451
452
  id: string;
@@ -631,6 +632,7 @@ declare const createAssignmentRepo: () => {
631
632
  types?: { [key in ActivityPageType]?: number; };
632
633
  aiEnabled?: boolean;
633
634
  chat_experience?: boolean;
635
+ showScores?: boolean;
634
636
  } | null>;
635
637
  attachScoresAssignment: (args_0: {
636
638
  assignments: AssignmentWithId[];
@@ -681,6 +683,7 @@ declare const createAssignmentRepo: () => {
681
683
  types?: { [key in ActivityPageType]?: number; };
682
684
  aiEnabled?: boolean;
683
685
  chat_experience?: boolean;
686
+ showScores?: boolean;
684
687
  }[]>;
685
688
  getAssignmentScores: (args_0: {
686
689
  assignmentId: string;
@@ -750,6 +753,7 @@ declare function useAssignment({ assignmentId, enabled, analyticType, userId, }:
750
753
  types?: { [key in ActivityPageType]?: number; };
751
754
  aiEnabled?: boolean;
752
755
  chat_experience?: boolean;
756
+ showScores?: boolean;
753
757
  } | null, Error>;
754
758
 
755
759
  declare const scoreQueryKeys: {
@@ -1012,6 +1016,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1012
1016
  types?: { [key in ActivityPageType]?: number; };
1013
1017
  aiEnabled?: boolean;
1014
1018
  chat_experience?: boolean;
1019
+ showScores?: boolean;
1015
1020
  } | null>;
1016
1021
  attachScoresAssignment: (args_0: {
1017
1022
  assignments: AssignmentWithId[];
@@ -1062,6 +1067,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1062
1067
  types?: { [key in ActivityPageType]?: number; };
1063
1068
  aiEnabled?: boolean;
1064
1069
  chat_experience?: boolean;
1070
+ showScores?: boolean;
1065
1071
  }[]>;
1066
1072
  getAssignmentScores: (args_0: {
1067
1073
  assignmentId: string;
@@ -1374,6 +1380,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
1374
1380
  types?: { [key in ActivityPageType]?: number; };
1375
1381
  aiEnabled?: boolean;
1376
1382
  chat_experience?: boolean;
1383
+ showScores?: boolean;
1377
1384
  } | null | undefined;
1378
1385
  query: _tanstack_react_query.UseQueryResult<AssignmentWithId | {
1379
1386
  scores: any;
@@ -1419,6 +1426,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
1419
1426
  types?: { [key in ActivityPageType]?: number; };
1420
1427
  aiEnabled?: boolean;
1421
1428
  chat_experience?: boolean;
1429
+ showScores?: boolean;
1422
1430
  } | null, Error>;
1423
1431
  };
1424
1432
  scores: {
@@ -2688,6 +2696,7 @@ declare const createFsClientWeb: ({ db, httpsCallable, logEvent }: FsClientParam
2688
2696
  types?: { [key in ActivityPageType]?: number; };
2689
2697
  aiEnabled?: boolean;
2690
2698
  chat_experience?: boolean;
2699
+ showScores?: boolean;
2691
2700
  } | null>;
2692
2701
  attachScoresAssignment: (args_0: {
2693
2702
  assignments: AssignmentWithId[];
@@ -2738,6 +2747,7 @@ declare const createFsClientWeb: ({ db, httpsCallable, logEvent }: FsClientParam
2738
2747
  types?: { [key in ActivityPageType]?: number; };
2739
2748
  aiEnabled?: boolean;
2740
2749
  chat_experience?: boolean;
2750
+ showScores?: boolean;
2741
2751
  }[]>;
2742
2752
  getAssignmentScores: (args_0: {
2743
2753
  assignmentId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakableio/core",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Speakable-io/speakable-core.git"