@speakableio/core 0.1.68 → 0.1.70
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/index.native.d.mts +12 -0
- package/dist/index.native.d.ts +12 -0
- package/dist/index.web.d.mts +12 -0
- package/dist/index.web.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.native.d.mts
CHANGED
|
@@ -420,6 +420,7 @@ interface Assignment {
|
|
|
420
420
|
types?: {
|
|
421
421
|
[key in ActivityPageType]?: number;
|
|
422
422
|
};
|
|
423
|
+
aiEnabled?: boolean;
|
|
423
424
|
}
|
|
424
425
|
interface AssignmentWithId extends Assignment {
|
|
425
426
|
id: string;
|
|
@@ -514,6 +515,8 @@ interface PageScore {
|
|
|
514
515
|
key_indicators?: string[];
|
|
515
516
|
};
|
|
516
517
|
status?: string;
|
|
518
|
+
transcriptError?: boolean;
|
|
519
|
+
feedbackError?: boolean;
|
|
517
520
|
}
|
|
518
521
|
|
|
519
522
|
declare const enum AssignmentAnalyticsType {
|
|
@@ -573,6 +576,7 @@ declare const createAssignmentRepo: () => {
|
|
|
573
576
|
weights?: Record<string, number>;
|
|
574
577
|
language?: string;
|
|
575
578
|
types?: { [key in ActivityPageType]?: number; };
|
|
579
|
+
aiEnabled?: boolean;
|
|
576
580
|
} | null>;
|
|
577
581
|
attachScoresAssignment: (args_0: {
|
|
578
582
|
assignments: AssignmentWithId[];
|
|
@@ -621,6 +625,7 @@ declare const createAssignmentRepo: () => {
|
|
|
621
625
|
weights?: Record<string, number>;
|
|
622
626
|
language?: string;
|
|
623
627
|
types?: { [key in ActivityPageType]?: number; };
|
|
628
|
+
aiEnabled?: boolean;
|
|
624
629
|
}[]>;
|
|
625
630
|
getAssignmentScores: (args_0: {
|
|
626
631
|
assignmentId: string;
|
|
@@ -688,6 +693,7 @@ declare function useAssignment({ assignmentId, enabled, analyticType, userId, }:
|
|
|
688
693
|
weights?: Record<string, number>;
|
|
689
694
|
language?: string;
|
|
690
695
|
types?: { [key in ActivityPageType]?: number; };
|
|
696
|
+
aiEnabled?: boolean;
|
|
691
697
|
} | null, Error>;
|
|
692
698
|
|
|
693
699
|
declare const scoreQueryKeys: {
|
|
@@ -940,6 +946,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
940
946
|
weights?: Record<string, number>;
|
|
941
947
|
language?: string;
|
|
942
948
|
types?: { [key in ActivityPageType]?: number; };
|
|
949
|
+
aiEnabled?: boolean;
|
|
943
950
|
} | null>;
|
|
944
951
|
attachScoresAssignment: (args_0: {
|
|
945
952
|
assignments: AssignmentWithId[];
|
|
@@ -988,6 +995,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
988
995
|
weights?: Record<string, number>;
|
|
989
996
|
language?: string;
|
|
990
997
|
types?: { [key in ActivityPageType]?: number; };
|
|
998
|
+
aiEnabled?: boolean;
|
|
991
999
|
}[]>;
|
|
992
1000
|
getAssignmentScores: (args_0: {
|
|
993
1001
|
assignmentId: string;
|
|
@@ -1293,6 +1301,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1293
1301
|
weights?: Record<string, number>;
|
|
1294
1302
|
language?: string;
|
|
1295
1303
|
types?: { [key in ActivityPageType]?: number; };
|
|
1304
|
+
aiEnabled?: boolean;
|
|
1296
1305
|
} | null | undefined;
|
|
1297
1306
|
query: _tanstack_react_query.UseQueryResult<AssignmentWithId | {
|
|
1298
1307
|
scores: any;
|
|
@@ -1336,6 +1345,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1336
1345
|
weights?: Record<string, number>;
|
|
1337
1346
|
language?: string;
|
|
1338
1347
|
types?: { [key in ActivityPageType]?: number; };
|
|
1348
|
+
aiEnabled?: boolean;
|
|
1339
1349
|
} | null, Error>;
|
|
1340
1350
|
};
|
|
1341
1351
|
scores: {
|
|
@@ -2593,6 +2603,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2593
2603
|
weights?: Record<string, number>;
|
|
2594
2604
|
language?: string;
|
|
2595
2605
|
types?: { [key in ActivityPageType]?: number; };
|
|
2606
|
+
aiEnabled?: boolean;
|
|
2596
2607
|
} | null>;
|
|
2597
2608
|
attachScoresAssignment: (args_0: {
|
|
2598
2609
|
assignments: AssignmentWithId[];
|
|
@@ -2641,6 +2652,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2641
2652
|
weights?: Record<string, number>;
|
|
2642
2653
|
language?: string;
|
|
2643
2654
|
types?: { [key in ActivityPageType]?: number; };
|
|
2655
|
+
aiEnabled?: boolean;
|
|
2644
2656
|
}[]>;
|
|
2645
2657
|
getAssignmentScores: (args_0: {
|
|
2646
2658
|
assignmentId: string;
|
package/dist/index.native.d.ts
CHANGED
|
@@ -420,6 +420,7 @@ interface Assignment {
|
|
|
420
420
|
types?: {
|
|
421
421
|
[key in ActivityPageType]?: number;
|
|
422
422
|
};
|
|
423
|
+
aiEnabled?: boolean;
|
|
423
424
|
}
|
|
424
425
|
interface AssignmentWithId extends Assignment {
|
|
425
426
|
id: string;
|
|
@@ -514,6 +515,8 @@ interface PageScore {
|
|
|
514
515
|
key_indicators?: string[];
|
|
515
516
|
};
|
|
516
517
|
status?: string;
|
|
518
|
+
transcriptError?: boolean;
|
|
519
|
+
feedbackError?: boolean;
|
|
517
520
|
}
|
|
518
521
|
|
|
519
522
|
declare const enum AssignmentAnalyticsType {
|
|
@@ -573,6 +576,7 @@ declare const createAssignmentRepo: () => {
|
|
|
573
576
|
weights?: Record<string, number>;
|
|
574
577
|
language?: string;
|
|
575
578
|
types?: { [key in ActivityPageType]?: number; };
|
|
579
|
+
aiEnabled?: boolean;
|
|
576
580
|
} | null>;
|
|
577
581
|
attachScoresAssignment: (args_0: {
|
|
578
582
|
assignments: AssignmentWithId[];
|
|
@@ -621,6 +625,7 @@ declare const createAssignmentRepo: () => {
|
|
|
621
625
|
weights?: Record<string, number>;
|
|
622
626
|
language?: string;
|
|
623
627
|
types?: { [key in ActivityPageType]?: number; };
|
|
628
|
+
aiEnabled?: boolean;
|
|
624
629
|
}[]>;
|
|
625
630
|
getAssignmentScores: (args_0: {
|
|
626
631
|
assignmentId: string;
|
|
@@ -688,6 +693,7 @@ declare function useAssignment({ assignmentId, enabled, analyticType, userId, }:
|
|
|
688
693
|
weights?: Record<string, number>;
|
|
689
694
|
language?: string;
|
|
690
695
|
types?: { [key in ActivityPageType]?: number; };
|
|
696
|
+
aiEnabled?: boolean;
|
|
691
697
|
} | null, Error>;
|
|
692
698
|
|
|
693
699
|
declare const scoreQueryKeys: {
|
|
@@ -940,6 +946,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
940
946
|
weights?: Record<string, number>;
|
|
941
947
|
language?: string;
|
|
942
948
|
types?: { [key in ActivityPageType]?: number; };
|
|
949
|
+
aiEnabled?: boolean;
|
|
943
950
|
} | null>;
|
|
944
951
|
attachScoresAssignment: (args_0: {
|
|
945
952
|
assignments: AssignmentWithId[];
|
|
@@ -988,6 +995,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
988
995
|
weights?: Record<string, number>;
|
|
989
996
|
language?: string;
|
|
990
997
|
types?: { [key in ActivityPageType]?: number; };
|
|
998
|
+
aiEnabled?: boolean;
|
|
991
999
|
}[]>;
|
|
992
1000
|
getAssignmentScores: (args_0: {
|
|
993
1001
|
assignmentId: string;
|
|
@@ -1293,6 +1301,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1293
1301
|
weights?: Record<string, number>;
|
|
1294
1302
|
language?: string;
|
|
1295
1303
|
types?: { [key in ActivityPageType]?: number; };
|
|
1304
|
+
aiEnabled?: boolean;
|
|
1296
1305
|
} | null | undefined;
|
|
1297
1306
|
query: _tanstack_react_query.UseQueryResult<AssignmentWithId | {
|
|
1298
1307
|
scores: any;
|
|
@@ -1336,6 +1345,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1336
1345
|
weights?: Record<string, number>;
|
|
1337
1346
|
language?: string;
|
|
1338
1347
|
types?: { [key in ActivityPageType]?: number; };
|
|
1348
|
+
aiEnabled?: boolean;
|
|
1339
1349
|
} | null, Error>;
|
|
1340
1350
|
};
|
|
1341
1351
|
scores: {
|
|
@@ -2593,6 +2603,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2593
2603
|
weights?: Record<string, number>;
|
|
2594
2604
|
language?: string;
|
|
2595
2605
|
types?: { [key in ActivityPageType]?: number; };
|
|
2606
|
+
aiEnabled?: boolean;
|
|
2596
2607
|
} | null>;
|
|
2597
2608
|
attachScoresAssignment: (args_0: {
|
|
2598
2609
|
assignments: AssignmentWithId[];
|
|
@@ -2641,6 +2652,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
2641
2652
|
weights?: Record<string, number>;
|
|
2642
2653
|
language?: string;
|
|
2643
2654
|
types?: { [key in ActivityPageType]?: number; };
|
|
2655
|
+
aiEnabled?: boolean;
|
|
2644
2656
|
}[]>;
|
|
2645
2657
|
getAssignmentScores: (args_0: {
|
|
2646
2658
|
assignmentId: string;
|
package/dist/index.web.d.mts
CHANGED
|
@@ -420,6 +420,7 @@ interface Assignment {
|
|
|
420
420
|
types?: {
|
|
421
421
|
[key in ActivityPageType]?: number;
|
|
422
422
|
};
|
|
423
|
+
aiEnabled?: boolean;
|
|
423
424
|
}
|
|
424
425
|
interface AssignmentWithId extends Assignment {
|
|
425
426
|
id: string;
|
|
@@ -514,6 +515,8 @@ interface PageScore {
|
|
|
514
515
|
key_indicators?: string[];
|
|
515
516
|
};
|
|
516
517
|
status?: string;
|
|
518
|
+
transcriptError?: boolean;
|
|
519
|
+
feedbackError?: boolean;
|
|
517
520
|
}
|
|
518
521
|
|
|
519
522
|
declare const enum AssignmentAnalyticsType {
|
|
@@ -573,6 +576,7 @@ declare const createAssignmentRepo: () => {
|
|
|
573
576
|
weights?: Record<string, number>;
|
|
574
577
|
language?: string;
|
|
575
578
|
types?: { [key in ActivityPageType]?: number; };
|
|
579
|
+
aiEnabled?: boolean;
|
|
576
580
|
} | null>;
|
|
577
581
|
attachScoresAssignment: (args_0: {
|
|
578
582
|
assignments: AssignmentWithId[];
|
|
@@ -621,6 +625,7 @@ declare const createAssignmentRepo: () => {
|
|
|
621
625
|
weights?: Record<string, number>;
|
|
622
626
|
language?: string;
|
|
623
627
|
types?: { [key in ActivityPageType]?: number; };
|
|
628
|
+
aiEnabled?: boolean;
|
|
624
629
|
}[]>;
|
|
625
630
|
getAssignmentScores: (args_0: {
|
|
626
631
|
assignmentId: string;
|
|
@@ -688,6 +693,7 @@ declare function useAssignment({ assignmentId, enabled, analyticType, userId, }:
|
|
|
688
693
|
weights?: Record<string, number>;
|
|
689
694
|
language?: string;
|
|
690
695
|
types?: { [key in ActivityPageType]?: number; };
|
|
696
|
+
aiEnabled?: boolean;
|
|
691
697
|
} | null, Error>;
|
|
692
698
|
|
|
693
699
|
declare const scoreQueryKeys: {
|
|
@@ -940,6 +946,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
940
946
|
weights?: Record<string, number>;
|
|
941
947
|
language?: string;
|
|
942
948
|
types?: { [key in ActivityPageType]?: number; };
|
|
949
|
+
aiEnabled?: boolean;
|
|
943
950
|
} | null>;
|
|
944
951
|
attachScoresAssignment: (args_0: {
|
|
945
952
|
assignments: AssignmentWithId[];
|
|
@@ -988,6 +995,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
988
995
|
weights?: Record<string, number>;
|
|
989
996
|
language?: string;
|
|
990
997
|
types?: { [key in ActivityPageType]?: number; };
|
|
998
|
+
aiEnabled?: boolean;
|
|
991
999
|
}[]>;
|
|
992
1000
|
getAssignmentScores: (args_0: {
|
|
993
1001
|
assignmentId: string;
|
|
@@ -1293,6 +1301,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1293
1301
|
weights?: Record<string, number>;
|
|
1294
1302
|
language?: string;
|
|
1295
1303
|
types?: { [key in ActivityPageType]?: number; };
|
|
1304
|
+
aiEnabled?: boolean;
|
|
1296
1305
|
} | null | undefined;
|
|
1297
1306
|
query: _tanstack_react_query.UseQueryResult<AssignmentWithId | {
|
|
1298
1307
|
scores: any;
|
|
@@ -1336,6 +1345,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1336
1345
|
weights?: Record<string, number>;
|
|
1337
1346
|
language?: string;
|
|
1338
1347
|
types?: { [key in ActivityPageType]?: number; };
|
|
1348
|
+
aiEnabled?: boolean;
|
|
1339
1349
|
} | null, Error>;
|
|
1340
1350
|
};
|
|
1341
1351
|
scores: {
|
|
@@ -2593,6 +2603,7 @@ declare const createFsClientWeb: ({ db, httpsCallable, logEvent }: FsClientParam
|
|
|
2593
2603
|
weights?: Record<string, number>;
|
|
2594
2604
|
language?: string;
|
|
2595
2605
|
types?: { [key in ActivityPageType]?: number; };
|
|
2606
|
+
aiEnabled?: boolean;
|
|
2596
2607
|
} | null>;
|
|
2597
2608
|
attachScoresAssignment: (args_0: {
|
|
2598
2609
|
assignments: AssignmentWithId[];
|
|
@@ -2641,6 +2652,7 @@ declare const createFsClientWeb: ({ db, httpsCallable, logEvent }: FsClientParam
|
|
|
2641
2652
|
weights?: Record<string, number>;
|
|
2642
2653
|
language?: string;
|
|
2643
2654
|
types?: { [key in ActivityPageType]?: number; };
|
|
2655
|
+
aiEnabled?: boolean;
|
|
2644
2656
|
}[]>;
|
|
2645
2657
|
getAssignmentScores: (args_0: {
|
|
2646
2658
|
assignmentId: string;
|
package/dist/index.web.d.ts
CHANGED
|
@@ -420,6 +420,7 @@ interface Assignment {
|
|
|
420
420
|
types?: {
|
|
421
421
|
[key in ActivityPageType]?: number;
|
|
422
422
|
};
|
|
423
|
+
aiEnabled?: boolean;
|
|
423
424
|
}
|
|
424
425
|
interface AssignmentWithId extends Assignment {
|
|
425
426
|
id: string;
|
|
@@ -514,6 +515,8 @@ interface PageScore {
|
|
|
514
515
|
key_indicators?: string[];
|
|
515
516
|
};
|
|
516
517
|
status?: string;
|
|
518
|
+
transcriptError?: boolean;
|
|
519
|
+
feedbackError?: boolean;
|
|
517
520
|
}
|
|
518
521
|
|
|
519
522
|
declare const enum AssignmentAnalyticsType {
|
|
@@ -573,6 +576,7 @@ declare const createAssignmentRepo: () => {
|
|
|
573
576
|
weights?: Record<string, number>;
|
|
574
577
|
language?: string;
|
|
575
578
|
types?: { [key in ActivityPageType]?: number; };
|
|
579
|
+
aiEnabled?: boolean;
|
|
576
580
|
} | null>;
|
|
577
581
|
attachScoresAssignment: (args_0: {
|
|
578
582
|
assignments: AssignmentWithId[];
|
|
@@ -621,6 +625,7 @@ declare const createAssignmentRepo: () => {
|
|
|
621
625
|
weights?: Record<string, number>;
|
|
622
626
|
language?: string;
|
|
623
627
|
types?: { [key in ActivityPageType]?: number; };
|
|
628
|
+
aiEnabled?: boolean;
|
|
624
629
|
}[]>;
|
|
625
630
|
getAssignmentScores: (args_0: {
|
|
626
631
|
assignmentId: string;
|
|
@@ -688,6 +693,7 @@ declare function useAssignment({ assignmentId, enabled, analyticType, userId, }:
|
|
|
688
693
|
weights?: Record<string, number>;
|
|
689
694
|
language?: string;
|
|
690
695
|
types?: { [key in ActivityPageType]?: number; };
|
|
696
|
+
aiEnabled?: boolean;
|
|
691
697
|
} | null, Error>;
|
|
692
698
|
|
|
693
699
|
declare const scoreQueryKeys: {
|
|
@@ -940,6 +946,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
940
946
|
weights?: Record<string, number>;
|
|
941
947
|
language?: string;
|
|
942
948
|
types?: { [key in ActivityPageType]?: number; };
|
|
949
|
+
aiEnabled?: boolean;
|
|
943
950
|
} | null>;
|
|
944
951
|
attachScoresAssignment: (args_0: {
|
|
945
952
|
assignments: AssignmentWithId[];
|
|
@@ -988,6 +995,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
988
995
|
weights?: Record<string, number>;
|
|
989
996
|
language?: string;
|
|
990
997
|
types?: { [key in ActivityPageType]?: number; };
|
|
998
|
+
aiEnabled?: boolean;
|
|
991
999
|
}[]>;
|
|
992
1000
|
getAssignmentScores: (args_0: {
|
|
993
1001
|
assignmentId: string;
|
|
@@ -1293,6 +1301,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1293
1301
|
weights?: Record<string, number>;
|
|
1294
1302
|
language?: string;
|
|
1295
1303
|
types?: { [key in ActivityPageType]?: number; };
|
|
1304
|
+
aiEnabled?: boolean;
|
|
1296
1305
|
} | null | undefined;
|
|
1297
1306
|
query: _tanstack_react_query.UseQueryResult<AssignmentWithId | {
|
|
1298
1307
|
scores: any;
|
|
@@ -1336,6 +1345,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1336
1345
|
weights?: Record<string, number>;
|
|
1337
1346
|
language?: string;
|
|
1338
1347
|
types?: { [key in ActivityPageType]?: number; };
|
|
1348
|
+
aiEnabled?: boolean;
|
|
1339
1349
|
} | null, Error>;
|
|
1340
1350
|
};
|
|
1341
1351
|
scores: {
|
|
@@ -2593,6 +2603,7 @@ declare const createFsClientWeb: ({ db, httpsCallable, logEvent }: FsClientParam
|
|
|
2593
2603
|
weights?: Record<string, number>;
|
|
2594
2604
|
language?: string;
|
|
2595
2605
|
types?: { [key in ActivityPageType]?: number; };
|
|
2606
|
+
aiEnabled?: boolean;
|
|
2596
2607
|
} | null>;
|
|
2597
2608
|
attachScoresAssignment: (args_0: {
|
|
2598
2609
|
assignments: AssignmentWithId[];
|
|
@@ -2641,6 +2652,7 @@ declare const createFsClientWeb: ({ db, httpsCallable, logEvent }: FsClientParam
|
|
|
2641
2652
|
weights?: Record<string, number>;
|
|
2642
2653
|
language?: string;
|
|
2643
2654
|
types?: { [key in ActivityPageType]?: number; };
|
|
2655
|
+
aiEnabled?: boolean;
|
|
2644
2656
|
}[]>;
|
|
2645
2657
|
getAssignmentScores: (args_0: {
|
|
2646
2658
|
assignmentId: string;
|