@speakableio/core 1.0.25 → 1.0.27
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 +39 -2
- package/dist/index.native.d.ts +39 -2
- package/dist/index.native.js +251 -6
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +250 -5
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.d.mts +39 -2
- package/dist/index.web.js +250 -5
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.native.d.mts
CHANGED
|
@@ -777,6 +777,7 @@ interface PageScore {
|
|
|
777
777
|
fileName?: string | null;
|
|
778
778
|
transcript?: string | null;
|
|
779
779
|
} | null;
|
|
780
|
+
transcriptModel?: 'gemini' | 'assemblyai' | 'whisper';
|
|
780
781
|
}
|
|
781
782
|
|
|
782
783
|
declare enum AssignmentAnalyticsType {
|
|
@@ -1524,7 +1525,15 @@ declare function getTranscript(model: 'gemini' | 'assemblyai' | 'whisper', args:
|
|
|
1524
1525
|
language: string;
|
|
1525
1526
|
audioUrl: string;
|
|
1526
1527
|
prompt?: string;
|
|
1527
|
-
}): Promise<string | null>;
|
|
1528
|
+
}, cleanHallucinations?: boolean): Promise<string | null>;
|
|
1529
|
+
declare function getTranscriptCycle(args: {
|
|
1530
|
+
audioUrl: string;
|
|
1531
|
+
language: string;
|
|
1532
|
+
prompt: string;
|
|
1533
|
+
}): Promise<{
|
|
1534
|
+
transcript: string;
|
|
1535
|
+
success: boolean;
|
|
1536
|
+
}>;
|
|
1528
1537
|
|
|
1529
1538
|
declare const getRespondCardTool: ({ language, standard, }: {
|
|
1530
1539
|
language: string;
|
|
@@ -1899,6 +1908,7 @@ declare const useUserCredits: () => {
|
|
|
1899
1908
|
isPaused: boolean;
|
|
1900
1909
|
isRefetching: boolean;
|
|
1901
1910
|
isStale: boolean;
|
|
1911
|
+
isEnabled: boolean;
|
|
1902
1912
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
1903
1913
|
id: string;
|
|
1904
1914
|
userId: string;
|
|
@@ -2042,6 +2052,7 @@ declare const useUserCredits: () => {
|
|
|
2042
2052
|
isPaused: boolean;
|
|
2043
2053
|
isRefetching: boolean;
|
|
2044
2054
|
isStale: boolean;
|
|
2055
|
+
isEnabled: boolean;
|
|
2045
2056
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
2046
2057
|
id: string;
|
|
2047
2058
|
userId: string;
|
|
@@ -2146,6 +2157,7 @@ declare const useUserCredits: () => {
|
|
|
2146
2157
|
isPaused: boolean;
|
|
2147
2158
|
isRefetching: boolean;
|
|
2148
2159
|
isStale: boolean;
|
|
2160
|
+
isEnabled: boolean;
|
|
2149
2161
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
2150
2162
|
id: string;
|
|
2151
2163
|
userId: string;
|
|
@@ -2250,6 +2262,7 @@ declare const useUserCredits: () => {
|
|
|
2250
2262
|
isPaused: boolean;
|
|
2251
2263
|
isRefetching: boolean;
|
|
2252
2264
|
isStale: boolean;
|
|
2265
|
+
isEnabled: boolean;
|
|
2253
2266
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
2254
2267
|
id: string;
|
|
2255
2268
|
userId: string;
|
|
@@ -2354,6 +2367,7 @@ declare const useUserCredits: () => {
|
|
|
2354
2367
|
isPaused: boolean;
|
|
2355
2368
|
isRefetching: boolean;
|
|
2356
2369
|
isStale: boolean;
|
|
2370
|
+
isEnabled: boolean;
|
|
2357
2371
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
2358
2372
|
id: string;
|
|
2359
2373
|
userId: string;
|
|
@@ -2497,6 +2511,7 @@ declare const useUserCredits: () => {
|
|
|
2497
2511
|
isPaused: boolean;
|
|
2498
2512
|
isRefetching: boolean;
|
|
2499
2513
|
isStale: boolean;
|
|
2514
|
+
isEnabled: boolean;
|
|
2500
2515
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
2501
2516
|
id: string;
|
|
2502
2517
|
userId: string;
|
|
@@ -2626,6 +2641,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2626
2641
|
isPaused: boolean;
|
|
2627
2642
|
isRefetching: boolean;
|
|
2628
2643
|
isStale: boolean;
|
|
2644
|
+
isEnabled: boolean;
|
|
2629
2645
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2630
2646
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2631
2647
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2652,6 +2668,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2652
2668
|
isPaused: boolean;
|
|
2653
2669
|
isRefetching: boolean;
|
|
2654
2670
|
isStale: boolean;
|
|
2671
|
+
isEnabled: boolean;
|
|
2655
2672
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2656
2673
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2657
2674
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2678,6 +2695,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2678
2695
|
isPaused: boolean;
|
|
2679
2696
|
isRefetching: boolean;
|
|
2680
2697
|
isStale: boolean;
|
|
2698
|
+
isEnabled: boolean;
|
|
2681
2699
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2682
2700
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2683
2701
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2704,6 +2722,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2704
2722
|
isPaused: boolean;
|
|
2705
2723
|
isRefetching: boolean;
|
|
2706
2724
|
isStale: boolean;
|
|
2725
|
+
isEnabled: boolean;
|
|
2707
2726
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2708
2727
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2709
2728
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2730,6 +2749,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2730
2749
|
isPaused: boolean;
|
|
2731
2750
|
isRefetching: boolean;
|
|
2732
2751
|
isStale: boolean;
|
|
2752
|
+
isEnabled: boolean;
|
|
2733
2753
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2734
2754
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2735
2755
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2756,6 +2776,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2756
2776
|
isPaused: boolean;
|
|
2757
2777
|
isRefetching: boolean;
|
|
2758
2778
|
isStale: boolean;
|
|
2779
|
+
isEnabled: boolean;
|
|
2759
2780
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2760
2781
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2761
2782
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2769,6 +2790,16 @@ declare function useSpeakableTranscript(): {
|
|
|
2769
2790
|
prompt?: string;
|
|
2770
2791
|
}, unknown>;
|
|
2771
2792
|
};
|
|
2793
|
+
declare function useSpeakableTranscriptCycle(): {
|
|
2794
|
+
mutationTranscriptCycle: _tanstack_react_query.UseMutationResult<{
|
|
2795
|
+
transcript: string;
|
|
2796
|
+
success: boolean;
|
|
2797
|
+
}, Error, {
|
|
2798
|
+
audioUrl: string;
|
|
2799
|
+
language: string;
|
|
2800
|
+
prompt: string;
|
|
2801
|
+
}, unknown>;
|
|
2802
|
+
};
|
|
2772
2803
|
|
|
2773
2804
|
declare const useUpdateStudentVocab: (page: PageActivityWithId | null) => {
|
|
2774
2805
|
studentVocabMarkVoiceSuccess: undefined;
|
|
@@ -2878,6 +2909,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
2878
2909
|
isPaused: boolean;
|
|
2879
2910
|
isRefetching: boolean;
|
|
2880
2911
|
isStale: boolean;
|
|
2912
|
+
isEnabled: boolean;
|
|
2881
2913
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
2882
2914
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2883
2915
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -2904,6 +2936,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
2904
2936
|
isPaused: boolean;
|
|
2905
2937
|
isRefetching: boolean;
|
|
2906
2938
|
isStale: boolean;
|
|
2939
|
+
isEnabled: boolean;
|
|
2907
2940
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
2908
2941
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2909
2942
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -2930,6 +2963,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
2930
2963
|
isPaused: boolean;
|
|
2931
2964
|
isRefetching: boolean;
|
|
2932
2965
|
isStale: boolean;
|
|
2966
|
+
isEnabled: boolean;
|
|
2933
2967
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
2934
2968
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2935
2969
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -2956,6 +2990,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
2956
2990
|
isPaused: boolean;
|
|
2957
2991
|
isRefetching: boolean;
|
|
2958
2992
|
isStale: boolean;
|
|
2993
|
+
isEnabled: boolean;
|
|
2959
2994
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
2960
2995
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2961
2996
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -2982,6 +3017,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
2982
3017
|
isPaused: boolean;
|
|
2983
3018
|
isRefetching: boolean;
|
|
2984
3019
|
isStale: boolean;
|
|
3020
|
+
isEnabled: boolean;
|
|
2985
3021
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
2986
3022
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2987
3023
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -3008,6 +3044,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
3008
3044
|
isPaused: boolean;
|
|
3009
3045
|
isRefetching: boolean;
|
|
3010
3046
|
isStale: boolean;
|
|
3047
|
+
isEnabled: boolean;
|
|
3011
3048
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
3012
3049
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
3013
3050
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -3277,4 +3314,4 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3277
3314
|
};
|
|
3278
3315
|
};
|
|
3279
3316
|
|
|
3280
|
-
export { ActivityPageType, type Assignment, type AssignmentAnalyticsType$1 as AssignmentAnalyticsType, type AssignmentWithId, BASE_MULTIPLE_CHOICE_FIELD_VALUES, BASE_REPEAT_FIELD_VALUES, BASE_RESPOND_FIELD_VALUES, type CreditContract, FeedbackTypesCard, FsCtx, type InstitutionSubscription, LENIENCY_OPTIONS, LeniencyCard, MULTIPLE_CHOICE_PAGE_ACTIVITY_TYPES, type Organization, type OrganizationAccess, type PageActivity, type PageActivityWithId, type PageScore, REPEAT_PAGE_ACTIVITY_TYPES, RESPOND_AUDIO_PAGE_ACTIVITY_TYPES, RESPOND_PAGE_ACTIVITY_TYPES, RESPOND_WRITE_PAGE_ACTIVITY_TYPES, type RefsCardsFiresotre, type RefsSetsFirestore, SPEAKABLE_NOTIFICATIONS, STUDENT_LEVELS_OPTIONS, type Score, type ScoreWithId, type Set, type SetWithId, type SpeakableNotificationType, SpeakableNotificationTypes, SpeakableProvider, VerificationCardStatus, assignmentQueryKeys, cardsQueryKeys, checkIsMCPage, checkIsMediaPage, checkIsRepeatPage, checkIsRespondAudioPage, checkIsRespondPage, checkIsRespondWrittenPage, checkIsShortAnswerPage, checkTypePageActivity, cleanString, createAssignmentRepo, createCardRepo, createFsClientNative as createFsClient, createSetRepo, creditQueryKeys, debounce, getCardFromCache, getLabelPage, getPagePrompt, getPhraseLength, getRespondCardTool, getSetFromCache, getTotalCompletedCards, getTranscript, getWordHash, purify, refsCardsFiresotre, refsSetsFirestore, scoreQueryKeys, setsQueryKeys, updateCardInCache, updateSetInCache, useActivity, useActivityFeedbackAccess, useAssignment, useBaseOpenAI, useCards, useClearScore, useClearScoreV2, useCreateCard, useCreateCards, useCreateNotification, useGetCard, useOrganizationAccess, useScore, useSet, useSpeakableApi, useSpeakableTranscript, useSubmitAssignmentScore, useSubmitPracticeScore, useUpdateCardScore, useUpdateScore, useUpdateStudentVocab, useUserCredits };
|
|
3317
|
+
export { ActivityPageType, type Assignment, type AssignmentAnalyticsType$1 as AssignmentAnalyticsType, type AssignmentWithId, BASE_MULTIPLE_CHOICE_FIELD_VALUES, BASE_REPEAT_FIELD_VALUES, BASE_RESPOND_FIELD_VALUES, type CreditContract, FeedbackTypesCard, FsCtx, type InstitutionSubscription, LENIENCY_OPTIONS, LeniencyCard, MULTIPLE_CHOICE_PAGE_ACTIVITY_TYPES, type Organization, type OrganizationAccess, type PageActivity, type PageActivityWithId, type PageScore, REPEAT_PAGE_ACTIVITY_TYPES, RESPOND_AUDIO_PAGE_ACTIVITY_TYPES, RESPOND_PAGE_ACTIVITY_TYPES, RESPOND_WRITE_PAGE_ACTIVITY_TYPES, type RefsCardsFiresotre, type RefsSetsFirestore, SPEAKABLE_NOTIFICATIONS, STUDENT_LEVELS_OPTIONS, type Score, type ScoreWithId, type Set, type SetWithId, type SpeakableNotificationType, SpeakableNotificationTypes, SpeakableProvider, VerificationCardStatus, assignmentQueryKeys, cardsQueryKeys, checkIsMCPage, checkIsMediaPage, checkIsRepeatPage, checkIsRespondAudioPage, checkIsRespondPage, checkIsRespondWrittenPage, checkIsShortAnswerPage, checkTypePageActivity, cleanString, createAssignmentRepo, createCardRepo, createFsClientNative as createFsClient, createSetRepo, creditQueryKeys, debounce, getCardFromCache, getLabelPage, getPagePrompt, getPhraseLength, getRespondCardTool, getSetFromCache, getTotalCompletedCards, getTranscript, getTranscriptCycle, getWordHash, purify, refsCardsFiresotre, refsSetsFirestore, scoreQueryKeys, setsQueryKeys, updateCardInCache, updateSetInCache, useActivity, useActivityFeedbackAccess, useAssignment, useBaseOpenAI, useCards, useClearScore, useClearScoreV2, useCreateCard, useCreateCards, useCreateNotification, useGetCard, useOrganizationAccess, useScore, useSet, useSpeakableApi, useSpeakableTranscript, useSpeakableTranscriptCycle, useSubmitAssignmentScore, useSubmitPracticeScore, useUpdateCardScore, useUpdateScore, useUpdateStudentVocab, useUserCredits };
|
package/dist/index.native.d.ts
CHANGED
|
@@ -777,6 +777,7 @@ interface PageScore {
|
|
|
777
777
|
fileName?: string | null;
|
|
778
778
|
transcript?: string | null;
|
|
779
779
|
} | null;
|
|
780
|
+
transcriptModel?: 'gemini' | 'assemblyai' | 'whisper';
|
|
780
781
|
}
|
|
781
782
|
|
|
782
783
|
declare enum AssignmentAnalyticsType {
|
|
@@ -1524,7 +1525,15 @@ declare function getTranscript(model: 'gemini' | 'assemblyai' | 'whisper', args:
|
|
|
1524
1525
|
language: string;
|
|
1525
1526
|
audioUrl: string;
|
|
1526
1527
|
prompt?: string;
|
|
1527
|
-
}): Promise<string | null>;
|
|
1528
|
+
}, cleanHallucinations?: boolean): Promise<string | null>;
|
|
1529
|
+
declare function getTranscriptCycle(args: {
|
|
1530
|
+
audioUrl: string;
|
|
1531
|
+
language: string;
|
|
1532
|
+
prompt: string;
|
|
1533
|
+
}): Promise<{
|
|
1534
|
+
transcript: string;
|
|
1535
|
+
success: boolean;
|
|
1536
|
+
}>;
|
|
1528
1537
|
|
|
1529
1538
|
declare const getRespondCardTool: ({ language, standard, }: {
|
|
1530
1539
|
language: string;
|
|
@@ -1899,6 +1908,7 @@ declare const useUserCredits: () => {
|
|
|
1899
1908
|
isPaused: boolean;
|
|
1900
1909
|
isRefetching: boolean;
|
|
1901
1910
|
isStale: boolean;
|
|
1911
|
+
isEnabled: boolean;
|
|
1902
1912
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
1903
1913
|
id: string;
|
|
1904
1914
|
userId: string;
|
|
@@ -2042,6 +2052,7 @@ declare const useUserCredits: () => {
|
|
|
2042
2052
|
isPaused: boolean;
|
|
2043
2053
|
isRefetching: boolean;
|
|
2044
2054
|
isStale: boolean;
|
|
2055
|
+
isEnabled: boolean;
|
|
2045
2056
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
2046
2057
|
id: string;
|
|
2047
2058
|
userId: string;
|
|
@@ -2146,6 +2157,7 @@ declare const useUserCredits: () => {
|
|
|
2146
2157
|
isPaused: boolean;
|
|
2147
2158
|
isRefetching: boolean;
|
|
2148
2159
|
isStale: boolean;
|
|
2160
|
+
isEnabled: boolean;
|
|
2149
2161
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
2150
2162
|
id: string;
|
|
2151
2163
|
userId: string;
|
|
@@ -2250,6 +2262,7 @@ declare const useUserCredits: () => {
|
|
|
2250
2262
|
isPaused: boolean;
|
|
2251
2263
|
isRefetching: boolean;
|
|
2252
2264
|
isStale: boolean;
|
|
2265
|
+
isEnabled: boolean;
|
|
2253
2266
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
2254
2267
|
id: string;
|
|
2255
2268
|
userId: string;
|
|
@@ -2354,6 +2367,7 @@ declare const useUserCredits: () => {
|
|
|
2354
2367
|
isPaused: boolean;
|
|
2355
2368
|
isRefetching: boolean;
|
|
2356
2369
|
isStale: boolean;
|
|
2370
|
+
isEnabled: boolean;
|
|
2357
2371
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
2358
2372
|
id: string;
|
|
2359
2373
|
userId: string;
|
|
@@ -2497,6 +2511,7 @@ declare const useUserCredits: () => {
|
|
|
2497
2511
|
isPaused: boolean;
|
|
2498
2512
|
isRefetching: boolean;
|
|
2499
2513
|
isStale: boolean;
|
|
2514
|
+
isEnabled: boolean;
|
|
2500
2515
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<{
|
|
2501
2516
|
id: string;
|
|
2502
2517
|
userId: string;
|
|
@@ -2626,6 +2641,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2626
2641
|
isPaused: boolean;
|
|
2627
2642
|
isRefetching: boolean;
|
|
2628
2643
|
isStale: boolean;
|
|
2644
|
+
isEnabled: boolean;
|
|
2629
2645
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2630
2646
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2631
2647
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2652,6 +2668,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2652
2668
|
isPaused: boolean;
|
|
2653
2669
|
isRefetching: boolean;
|
|
2654
2670
|
isStale: boolean;
|
|
2671
|
+
isEnabled: boolean;
|
|
2655
2672
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2656
2673
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2657
2674
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2678,6 +2695,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2678
2695
|
isPaused: boolean;
|
|
2679
2696
|
isRefetching: boolean;
|
|
2680
2697
|
isStale: boolean;
|
|
2698
|
+
isEnabled: boolean;
|
|
2681
2699
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2682
2700
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2683
2701
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2704,6 +2722,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2704
2722
|
isPaused: boolean;
|
|
2705
2723
|
isRefetching: boolean;
|
|
2706
2724
|
isStale: boolean;
|
|
2725
|
+
isEnabled: boolean;
|
|
2707
2726
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2708
2727
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2709
2728
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2730,6 +2749,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2730
2749
|
isPaused: boolean;
|
|
2731
2750
|
isRefetching: boolean;
|
|
2732
2751
|
isStale: boolean;
|
|
2752
|
+
isEnabled: boolean;
|
|
2733
2753
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2734
2754
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2735
2755
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2756,6 +2776,7 @@ declare const useOrganizationAccess: () => {
|
|
|
2756
2776
|
isPaused: boolean;
|
|
2757
2777
|
isRefetching: boolean;
|
|
2758
2778
|
isStale: boolean;
|
|
2779
|
+
isEnabled: boolean;
|
|
2759
2780
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<OrganizationAccess, Error>>;
|
|
2760
2781
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2761
2782
|
promise: Promise<OrganizationAccess>;
|
|
@@ -2769,6 +2790,16 @@ declare function useSpeakableTranscript(): {
|
|
|
2769
2790
|
prompt?: string;
|
|
2770
2791
|
}, unknown>;
|
|
2771
2792
|
};
|
|
2793
|
+
declare function useSpeakableTranscriptCycle(): {
|
|
2794
|
+
mutationTranscriptCycle: _tanstack_react_query.UseMutationResult<{
|
|
2795
|
+
transcript: string;
|
|
2796
|
+
success: boolean;
|
|
2797
|
+
}, Error, {
|
|
2798
|
+
audioUrl: string;
|
|
2799
|
+
language: string;
|
|
2800
|
+
prompt: string;
|
|
2801
|
+
}, unknown>;
|
|
2802
|
+
};
|
|
2772
2803
|
|
|
2773
2804
|
declare const useUpdateStudentVocab: (page: PageActivityWithId | null) => {
|
|
2774
2805
|
studentVocabMarkVoiceSuccess: undefined;
|
|
@@ -2878,6 +2909,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
2878
2909
|
isPaused: boolean;
|
|
2879
2910
|
isRefetching: boolean;
|
|
2880
2911
|
isStale: boolean;
|
|
2912
|
+
isEnabled: boolean;
|
|
2881
2913
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
2882
2914
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2883
2915
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -2904,6 +2936,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
2904
2936
|
isPaused: boolean;
|
|
2905
2937
|
isRefetching: boolean;
|
|
2906
2938
|
isStale: boolean;
|
|
2939
|
+
isEnabled: boolean;
|
|
2907
2940
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
2908
2941
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2909
2942
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -2930,6 +2963,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
2930
2963
|
isPaused: boolean;
|
|
2931
2964
|
isRefetching: boolean;
|
|
2932
2965
|
isStale: boolean;
|
|
2966
|
+
isEnabled: boolean;
|
|
2933
2967
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
2934
2968
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2935
2969
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -2956,6 +2990,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
2956
2990
|
isPaused: boolean;
|
|
2957
2991
|
isRefetching: boolean;
|
|
2958
2992
|
isStale: boolean;
|
|
2993
|
+
isEnabled: boolean;
|
|
2959
2994
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
2960
2995
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2961
2996
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -2982,6 +3017,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
2982
3017
|
isPaused: boolean;
|
|
2983
3018
|
isRefetching: boolean;
|
|
2984
3019
|
isStale: boolean;
|
|
3020
|
+
isEnabled: boolean;
|
|
2985
3021
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
2986
3022
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2987
3023
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -3008,6 +3044,7 @@ declare const useActivityFeedbackAccess: ({ aiEnabled, isActivityRoute, }: {
|
|
|
3008
3044
|
isPaused: boolean;
|
|
3009
3045
|
isRefetching: boolean;
|
|
3010
3046
|
isStale: boolean;
|
|
3047
|
+
isEnabled: boolean;
|
|
3011
3048
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ActivityFeedbackAccess, Error>>;
|
|
3012
3049
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
3013
3050
|
promise: Promise<ActivityFeedbackAccess>;
|
|
@@ -3277,4 +3314,4 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3277
3314
|
};
|
|
3278
3315
|
};
|
|
3279
3316
|
|
|
3280
|
-
export { ActivityPageType, type Assignment, type AssignmentAnalyticsType$1 as AssignmentAnalyticsType, type AssignmentWithId, BASE_MULTIPLE_CHOICE_FIELD_VALUES, BASE_REPEAT_FIELD_VALUES, BASE_RESPOND_FIELD_VALUES, type CreditContract, FeedbackTypesCard, FsCtx, type InstitutionSubscription, LENIENCY_OPTIONS, LeniencyCard, MULTIPLE_CHOICE_PAGE_ACTIVITY_TYPES, type Organization, type OrganizationAccess, type PageActivity, type PageActivityWithId, type PageScore, REPEAT_PAGE_ACTIVITY_TYPES, RESPOND_AUDIO_PAGE_ACTIVITY_TYPES, RESPOND_PAGE_ACTIVITY_TYPES, RESPOND_WRITE_PAGE_ACTIVITY_TYPES, type RefsCardsFiresotre, type RefsSetsFirestore, SPEAKABLE_NOTIFICATIONS, STUDENT_LEVELS_OPTIONS, type Score, type ScoreWithId, type Set, type SetWithId, type SpeakableNotificationType, SpeakableNotificationTypes, SpeakableProvider, VerificationCardStatus, assignmentQueryKeys, cardsQueryKeys, checkIsMCPage, checkIsMediaPage, checkIsRepeatPage, checkIsRespondAudioPage, checkIsRespondPage, checkIsRespondWrittenPage, checkIsShortAnswerPage, checkTypePageActivity, cleanString, createAssignmentRepo, createCardRepo, createFsClientNative as createFsClient, createSetRepo, creditQueryKeys, debounce, getCardFromCache, getLabelPage, getPagePrompt, getPhraseLength, getRespondCardTool, getSetFromCache, getTotalCompletedCards, getTranscript, getWordHash, purify, refsCardsFiresotre, refsSetsFirestore, scoreQueryKeys, setsQueryKeys, updateCardInCache, updateSetInCache, useActivity, useActivityFeedbackAccess, useAssignment, useBaseOpenAI, useCards, useClearScore, useClearScoreV2, useCreateCard, useCreateCards, useCreateNotification, useGetCard, useOrganizationAccess, useScore, useSet, useSpeakableApi, useSpeakableTranscript, useSubmitAssignmentScore, useSubmitPracticeScore, useUpdateCardScore, useUpdateScore, useUpdateStudentVocab, useUserCredits };
|
|
3317
|
+
export { ActivityPageType, type Assignment, type AssignmentAnalyticsType$1 as AssignmentAnalyticsType, type AssignmentWithId, BASE_MULTIPLE_CHOICE_FIELD_VALUES, BASE_REPEAT_FIELD_VALUES, BASE_RESPOND_FIELD_VALUES, type CreditContract, FeedbackTypesCard, FsCtx, type InstitutionSubscription, LENIENCY_OPTIONS, LeniencyCard, MULTIPLE_CHOICE_PAGE_ACTIVITY_TYPES, type Organization, type OrganizationAccess, type PageActivity, type PageActivityWithId, type PageScore, REPEAT_PAGE_ACTIVITY_TYPES, RESPOND_AUDIO_PAGE_ACTIVITY_TYPES, RESPOND_PAGE_ACTIVITY_TYPES, RESPOND_WRITE_PAGE_ACTIVITY_TYPES, type RefsCardsFiresotre, type RefsSetsFirestore, SPEAKABLE_NOTIFICATIONS, STUDENT_LEVELS_OPTIONS, type Score, type ScoreWithId, type Set, type SetWithId, type SpeakableNotificationType, SpeakableNotificationTypes, SpeakableProvider, VerificationCardStatus, assignmentQueryKeys, cardsQueryKeys, checkIsMCPage, checkIsMediaPage, checkIsRepeatPage, checkIsRespondAudioPage, checkIsRespondPage, checkIsRespondWrittenPage, checkIsShortAnswerPage, checkTypePageActivity, cleanString, createAssignmentRepo, createCardRepo, createFsClientNative as createFsClient, createSetRepo, creditQueryKeys, debounce, getCardFromCache, getLabelPage, getPagePrompt, getPhraseLength, getRespondCardTool, getSetFromCache, getTotalCompletedCards, getTranscript, getTranscriptCycle, getWordHash, purify, refsCardsFiresotre, refsSetsFirestore, scoreQueryKeys, setsQueryKeys, updateCardInCache, updateSetInCache, useActivity, useActivityFeedbackAccess, useAssignment, useBaseOpenAI, useCards, useClearScore, useClearScoreV2, useCreateCard, useCreateCards, useCreateNotification, useGetCard, useOrganizationAccess, useScore, useSet, useSpeakableApi, useSpeakableTranscript, useSpeakableTranscriptCycle, useSubmitAssignmentScore, useSubmitPracticeScore, useUpdateCardScore, useUpdateScore, useUpdateStudentVocab, useUserCredits };
|