@speakableio/core 1.0.36 → 1.0.38
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 +21 -55
- package/dist/index.native.d.ts +21 -55
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.d.mts +21 -55
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.native.d.mts
CHANGED
|
@@ -87,6 +87,11 @@ declare const refsCardsFiresotre: {
|
|
|
87
87
|
interface PageActivityWithId extends PageActivity {
|
|
88
88
|
id: string;
|
|
89
89
|
}
|
|
90
|
+
interface MediaPageActivity {
|
|
91
|
+
type: 'image' | 'video' | 'link' | 'audio';
|
|
92
|
+
url: string;
|
|
93
|
+
transcript?: string | null;
|
|
94
|
+
}
|
|
90
95
|
interface PageActivity {
|
|
91
96
|
owners: string[];
|
|
92
97
|
checked?: boolean;
|
|
@@ -94,10 +99,7 @@ interface PageActivity {
|
|
|
94
99
|
media_area_id?: string | null;
|
|
95
100
|
media_area_layout?: 'left' | 'right' | null;
|
|
96
101
|
media_mode?: 'single' | 'media_area' | 'none' | null;
|
|
97
|
-
media?:
|
|
98
|
-
type: 'image' | 'video' | 'link';
|
|
99
|
-
url: string;
|
|
100
|
-
} | null;
|
|
102
|
+
media?: MediaPageActivity | null;
|
|
101
103
|
score?: number;
|
|
102
104
|
verificationStatus?: VerificationCardStatus;
|
|
103
105
|
native_text?: string;
|
|
@@ -199,10 +201,7 @@ declare function useCards({ cardIds, enabled, asObject, }: {
|
|
|
199
201
|
media_area_id?: string | null;
|
|
200
202
|
media_area_layout?: "left" | "right" | null;
|
|
201
203
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
202
|
-
media?:
|
|
203
|
-
type: "image" | "video" | "link";
|
|
204
|
-
url: string;
|
|
205
|
-
} | null;
|
|
204
|
+
media?: MediaPageActivity | null;
|
|
206
205
|
score?: number;
|
|
207
206
|
verificationStatus?: VerificationCardStatus;
|
|
208
207
|
native_text?: string;
|
|
@@ -281,10 +280,7 @@ declare function useCreateCards(): {
|
|
|
281
280
|
media_area_id?: string | null;
|
|
282
281
|
media_area_layout?: "left" | "right" | null;
|
|
283
282
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
284
|
-
media?:
|
|
285
|
-
type: "image" | "video" | "link";
|
|
286
|
-
url: string;
|
|
287
|
-
} | null;
|
|
283
|
+
media?: MediaPageActivity | null;
|
|
288
284
|
score?: number;
|
|
289
285
|
verificationStatus?: VerificationCardStatus;
|
|
290
286
|
native_text?: string;
|
|
@@ -371,10 +367,7 @@ declare function useGetCard({ cardId, enabled }: {
|
|
|
371
367
|
media_area_id?: string | null;
|
|
372
368
|
media_area_layout?: "left" | "right" | null;
|
|
373
369
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
374
|
-
media?:
|
|
375
|
-
type: "image" | "video" | "link";
|
|
376
|
-
url: string;
|
|
377
|
-
} | null;
|
|
370
|
+
media?: MediaPageActivity | null;
|
|
378
371
|
score?: number;
|
|
379
372
|
verificationStatus?: VerificationCardStatus;
|
|
380
373
|
native_text?: string;
|
|
@@ -453,10 +446,7 @@ declare const createCardRepo: () => {
|
|
|
453
446
|
media_area_id?: string | null;
|
|
454
447
|
media_area_layout?: "left" | "right" | null;
|
|
455
448
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
456
|
-
media?:
|
|
457
|
-
type: "image" | "video" | "link";
|
|
458
|
-
url: string;
|
|
459
|
-
} | null;
|
|
449
|
+
media?: MediaPageActivity | null;
|
|
460
450
|
score?: number;
|
|
461
451
|
verificationStatus?: VerificationCardStatus;
|
|
462
452
|
native_text?: string;
|
|
@@ -530,10 +520,7 @@ declare const createCardRepo: () => {
|
|
|
530
520
|
media_area_id?: string | null;
|
|
531
521
|
media_area_layout?: "left" | "right" | null;
|
|
532
522
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
533
|
-
media?:
|
|
534
|
-
type: "image" | "video" | "link";
|
|
535
|
-
url: string;
|
|
536
|
-
} | null;
|
|
523
|
+
media?: MediaPageActivity | null;
|
|
537
524
|
score?: number;
|
|
538
525
|
verificationStatus?: VerificationCardStatus;
|
|
539
526
|
native_text?: string;
|
|
@@ -645,11 +632,8 @@ declare function getPageMediaData(page: PageActivityWithId): {
|
|
|
645
632
|
direction: "left" | "right";
|
|
646
633
|
mode: "single" | "media_area" | "none" | null;
|
|
647
634
|
singleMedia: {
|
|
648
|
-
rawObject:
|
|
649
|
-
|
|
650
|
-
url: string;
|
|
651
|
-
};
|
|
652
|
-
type: "image" | "video" | "link";
|
|
635
|
+
rawObject: MediaPageActivity;
|
|
636
|
+
type: "image" | "video" | "link" | "audio";
|
|
653
637
|
content: string;
|
|
654
638
|
} | undefined;
|
|
655
639
|
isMediaPage: boolean;
|
|
@@ -658,11 +642,8 @@ declare function getPageMediaData(page: PageActivityWithId): {
|
|
|
658
642
|
shouldRenderMediaArea: boolean;
|
|
659
643
|
};
|
|
660
644
|
declare function getSingleMediaPageData(page: PageActivityWithId): {
|
|
661
|
-
rawObject:
|
|
662
|
-
|
|
663
|
-
url: string;
|
|
664
|
-
};
|
|
665
|
-
type: "image" | "video" | "link";
|
|
645
|
+
rawObject: MediaPageActivity;
|
|
646
|
+
type: "image" | "video" | "link" | "audio";
|
|
666
647
|
content: string;
|
|
667
648
|
} | undefined;
|
|
668
649
|
|
|
@@ -1398,10 +1379,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1398
1379
|
media_area_id?: string | null;
|
|
1399
1380
|
media_area_layout?: "left" | "right" | null;
|
|
1400
1381
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1401
|
-
media?:
|
|
1402
|
-
type: "image" | "video" | "link";
|
|
1403
|
-
url: string;
|
|
1404
|
-
} | null;
|
|
1382
|
+
media?: MediaPageActivity | null;
|
|
1405
1383
|
score?: number;
|
|
1406
1384
|
verificationStatus?: VerificationCardStatus;
|
|
1407
1385
|
native_text?: string;
|
|
@@ -1475,10 +1453,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1475
1453
|
media_area_id?: string | null;
|
|
1476
1454
|
media_area_layout?: "left" | "right" | null;
|
|
1477
1455
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1478
|
-
media?:
|
|
1479
|
-
type: "image" | "video" | "link";
|
|
1480
|
-
url: string;
|
|
1481
|
-
} | null;
|
|
1456
|
+
media?: MediaPageActivity | null;
|
|
1482
1457
|
score?: number;
|
|
1483
1458
|
verificationStatus?: VerificationCardStatus;
|
|
1484
1459
|
native_text?: string;
|
|
@@ -1735,10 +1710,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1735
1710
|
media_area_id?: string | null;
|
|
1736
1711
|
media_area_layout?: "left" | "right" | null;
|
|
1737
1712
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1738
|
-
media?:
|
|
1739
|
-
type: "image" | "video" | "link";
|
|
1740
|
-
url: string;
|
|
1741
|
-
} | null;
|
|
1713
|
+
media?: MediaPageActivity | null;
|
|
1742
1714
|
score?: number;
|
|
1743
1715
|
verificationStatus?: VerificationCardStatus;
|
|
1744
1716
|
native_text?: string;
|
|
@@ -3283,10 +3255,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3283
3255
|
media_area_id?: string | null;
|
|
3284
3256
|
media_area_layout?: "left" | "right" | null;
|
|
3285
3257
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
3286
|
-
media?:
|
|
3287
|
-
type: "image" | "video" | "link";
|
|
3288
|
-
url: string;
|
|
3289
|
-
} | null;
|
|
3258
|
+
media?: MediaPageActivity | null;
|
|
3290
3259
|
score?: number;
|
|
3291
3260
|
verificationStatus?: VerificationCardStatus;
|
|
3292
3261
|
native_text?: string;
|
|
@@ -3360,10 +3329,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3360
3329
|
media_area_id?: string | null;
|
|
3361
3330
|
media_area_layout?: "left" | "right" | null;
|
|
3362
3331
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
3363
|
-
media?:
|
|
3364
|
-
type: "image" | "video" | "link";
|
|
3365
|
-
url: string;
|
|
3366
|
-
} | null;
|
|
3332
|
+
media?: MediaPageActivity | null;
|
|
3367
3333
|
score?: number;
|
|
3368
3334
|
verificationStatus?: VerificationCardStatus;
|
|
3369
3335
|
native_text?: string;
|
|
@@ -3428,4 +3394,4 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3428
3394
|
};
|
|
3429
3395
|
};
|
|
3430
3396
|
|
|
3431
|
-
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, getPageMediaData, getPagePrompt, getPhraseLength, getRespondCardTool, getSetFromCache, getSingleMediaPageData, 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 };
|
|
3397
|
+
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 MediaPageActivity, 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, getPageMediaData, getPagePrompt, getPhraseLength, getRespondCardTool, getSetFromCache, getSingleMediaPageData, 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
|
@@ -87,6 +87,11 @@ declare const refsCardsFiresotre: {
|
|
|
87
87
|
interface PageActivityWithId extends PageActivity {
|
|
88
88
|
id: string;
|
|
89
89
|
}
|
|
90
|
+
interface MediaPageActivity {
|
|
91
|
+
type: 'image' | 'video' | 'link' | 'audio';
|
|
92
|
+
url: string;
|
|
93
|
+
transcript?: string | null;
|
|
94
|
+
}
|
|
90
95
|
interface PageActivity {
|
|
91
96
|
owners: string[];
|
|
92
97
|
checked?: boolean;
|
|
@@ -94,10 +99,7 @@ interface PageActivity {
|
|
|
94
99
|
media_area_id?: string | null;
|
|
95
100
|
media_area_layout?: 'left' | 'right' | null;
|
|
96
101
|
media_mode?: 'single' | 'media_area' | 'none' | null;
|
|
97
|
-
media?:
|
|
98
|
-
type: 'image' | 'video' | 'link';
|
|
99
|
-
url: string;
|
|
100
|
-
} | null;
|
|
102
|
+
media?: MediaPageActivity | null;
|
|
101
103
|
score?: number;
|
|
102
104
|
verificationStatus?: VerificationCardStatus;
|
|
103
105
|
native_text?: string;
|
|
@@ -199,10 +201,7 @@ declare function useCards({ cardIds, enabled, asObject, }: {
|
|
|
199
201
|
media_area_id?: string | null;
|
|
200
202
|
media_area_layout?: "left" | "right" | null;
|
|
201
203
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
202
|
-
media?:
|
|
203
|
-
type: "image" | "video" | "link";
|
|
204
|
-
url: string;
|
|
205
|
-
} | null;
|
|
204
|
+
media?: MediaPageActivity | null;
|
|
206
205
|
score?: number;
|
|
207
206
|
verificationStatus?: VerificationCardStatus;
|
|
208
207
|
native_text?: string;
|
|
@@ -281,10 +280,7 @@ declare function useCreateCards(): {
|
|
|
281
280
|
media_area_id?: string | null;
|
|
282
281
|
media_area_layout?: "left" | "right" | null;
|
|
283
282
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
284
|
-
media?:
|
|
285
|
-
type: "image" | "video" | "link";
|
|
286
|
-
url: string;
|
|
287
|
-
} | null;
|
|
283
|
+
media?: MediaPageActivity | null;
|
|
288
284
|
score?: number;
|
|
289
285
|
verificationStatus?: VerificationCardStatus;
|
|
290
286
|
native_text?: string;
|
|
@@ -371,10 +367,7 @@ declare function useGetCard({ cardId, enabled }: {
|
|
|
371
367
|
media_area_id?: string | null;
|
|
372
368
|
media_area_layout?: "left" | "right" | null;
|
|
373
369
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
374
|
-
media?:
|
|
375
|
-
type: "image" | "video" | "link";
|
|
376
|
-
url: string;
|
|
377
|
-
} | null;
|
|
370
|
+
media?: MediaPageActivity | null;
|
|
378
371
|
score?: number;
|
|
379
372
|
verificationStatus?: VerificationCardStatus;
|
|
380
373
|
native_text?: string;
|
|
@@ -453,10 +446,7 @@ declare const createCardRepo: () => {
|
|
|
453
446
|
media_area_id?: string | null;
|
|
454
447
|
media_area_layout?: "left" | "right" | null;
|
|
455
448
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
456
|
-
media?:
|
|
457
|
-
type: "image" | "video" | "link";
|
|
458
|
-
url: string;
|
|
459
|
-
} | null;
|
|
449
|
+
media?: MediaPageActivity | null;
|
|
460
450
|
score?: number;
|
|
461
451
|
verificationStatus?: VerificationCardStatus;
|
|
462
452
|
native_text?: string;
|
|
@@ -530,10 +520,7 @@ declare const createCardRepo: () => {
|
|
|
530
520
|
media_area_id?: string | null;
|
|
531
521
|
media_area_layout?: "left" | "right" | null;
|
|
532
522
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
533
|
-
media?:
|
|
534
|
-
type: "image" | "video" | "link";
|
|
535
|
-
url: string;
|
|
536
|
-
} | null;
|
|
523
|
+
media?: MediaPageActivity | null;
|
|
537
524
|
score?: number;
|
|
538
525
|
verificationStatus?: VerificationCardStatus;
|
|
539
526
|
native_text?: string;
|
|
@@ -645,11 +632,8 @@ declare function getPageMediaData(page: PageActivityWithId): {
|
|
|
645
632
|
direction: "left" | "right";
|
|
646
633
|
mode: "single" | "media_area" | "none" | null;
|
|
647
634
|
singleMedia: {
|
|
648
|
-
rawObject:
|
|
649
|
-
|
|
650
|
-
url: string;
|
|
651
|
-
};
|
|
652
|
-
type: "image" | "video" | "link";
|
|
635
|
+
rawObject: MediaPageActivity;
|
|
636
|
+
type: "image" | "video" | "link" | "audio";
|
|
653
637
|
content: string;
|
|
654
638
|
} | undefined;
|
|
655
639
|
isMediaPage: boolean;
|
|
@@ -658,11 +642,8 @@ declare function getPageMediaData(page: PageActivityWithId): {
|
|
|
658
642
|
shouldRenderMediaArea: boolean;
|
|
659
643
|
};
|
|
660
644
|
declare function getSingleMediaPageData(page: PageActivityWithId): {
|
|
661
|
-
rawObject:
|
|
662
|
-
|
|
663
|
-
url: string;
|
|
664
|
-
};
|
|
665
|
-
type: "image" | "video" | "link";
|
|
645
|
+
rawObject: MediaPageActivity;
|
|
646
|
+
type: "image" | "video" | "link" | "audio";
|
|
666
647
|
content: string;
|
|
667
648
|
} | undefined;
|
|
668
649
|
|
|
@@ -1398,10 +1379,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1398
1379
|
media_area_id?: string | null;
|
|
1399
1380
|
media_area_layout?: "left" | "right" | null;
|
|
1400
1381
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1401
|
-
media?:
|
|
1402
|
-
type: "image" | "video" | "link";
|
|
1403
|
-
url: string;
|
|
1404
|
-
} | null;
|
|
1382
|
+
media?: MediaPageActivity | null;
|
|
1405
1383
|
score?: number;
|
|
1406
1384
|
verificationStatus?: VerificationCardStatus;
|
|
1407
1385
|
native_text?: string;
|
|
@@ -1475,10 +1453,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1475
1453
|
media_area_id?: string | null;
|
|
1476
1454
|
media_area_layout?: "left" | "right" | null;
|
|
1477
1455
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1478
|
-
media?:
|
|
1479
|
-
type: "image" | "video" | "link";
|
|
1480
|
-
url: string;
|
|
1481
|
-
} | null;
|
|
1456
|
+
media?: MediaPageActivity | null;
|
|
1482
1457
|
score?: number;
|
|
1483
1458
|
verificationStatus?: VerificationCardStatus;
|
|
1484
1459
|
native_text?: string;
|
|
@@ -1735,10 +1710,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1735
1710
|
media_area_id?: string | null;
|
|
1736
1711
|
media_area_layout?: "left" | "right" | null;
|
|
1737
1712
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1738
|
-
media?:
|
|
1739
|
-
type: "image" | "video" | "link";
|
|
1740
|
-
url: string;
|
|
1741
|
-
} | null;
|
|
1713
|
+
media?: MediaPageActivity | null;
|
|
1742
1714
|
score?: number;
|
|
1743
1715
|
verificationStatus?: VerificationCardStatus;
|
|
1744
1716
|
native_text?: string;
|
|
@@ -3283,10 +3255,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3283
3255
|
media_area_id?: string | null;
|
|
3284
3256
|
media_area_layout?: "left" | "right" | null;
|
|
3285
3257
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
3286
|
-
media?:
|
|
3287
|
-
type: "image" | "video" | "link";
|
|
3288
|
-
url: string;
|
|
3289
|
-
} | null;
|
|
3258
|
+
media?: MediaPageActivity | null;
|
|
3290
3259
|
score?: number;
|
|
3291
3260
|
verificationStatus?: VerificationCardStatus;
|
|
3292
3261
|
native_text?: string;
|
|
@@ -3360,10 +3329,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3360
3329
|
media_area_id?: string | null;
|
|
3361
3330
|
media_area_layout?: "left" | "right" | null;
|
|
3362
3331
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
3363
|
-
media?:
|
|
3364
|
-
type: "image" | "video" | "link";
|
|
3365
|
-
url: string;
|
|
3366
|
-
} | null;
|
|
3332
|
+
media?: MediaPageActivity | null;
|
|
3367
3333
|
score?: number;
|
|
3368
3334
|
verificationStatus?: VerificationCardStatus;
|
|
3369
3335
|
native_text?: string;
|
|
@@ -3428,4 +3394,4 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3428
3394
|
};
|
|
3429
3395
|
};
|
|
3430
3396
|
|
|
3431
|
-
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, getPageMediaData, getPagePrompt, getPhraseLength, getRespondCardTool, getSetFromCache, getSingleMediaPageData, 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 };
|
|
3397
|
+
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 MediaPageActivity, 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, getPageMediaData, getPagePrompt, getPhraseLength, getRespondCardTool, getSetFromCache, getSingleMediaPageData, 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 };
|