@speakableio/core 1.0.37 → 1.0.39
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 -68
- package/dist/index.native.d.ts +21 -68
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.d.mts +21 -68
- 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' | 'embed' | 'document';
|
|
92
|
+
url: string;
|
|
93
|
+
transcript?: string | null;
|
|
94
|
+
}
|
|
90
95
|
interface PageActivity {
|
|
91
96
|
owners: string[];
|
|
92
97
|
checked?: boolean;
|
|
@@ -94,11 +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
|
-
transcript?: string | null;
|
|
101
|
-
} | null;
|
|
102
|
+
media?: MediaPageActivity | null;
|
|
102
103
|
score?: number;
|
|
103
104
|
verificationStatus?: VerificationCardStatus;
|
|
104
105
|
native_text?: string;
|
|
@@ -200,11 +201,7 @@ declare function useCards({ cardIds, enabled, asObject, }: {
|
|
|
200
201
|
media_area_id?: string | null;
|
|
201
202
|
media_area_layout?: "left" | "right" | null;
|
|
202
203
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
203
|
-
media?:
|
|
204
|
-
type: "image" | "video" | "link";
|
|
205
|
-
url: string;
|
|
206
|
-
transcript?: string | null;
|
|
207
|
-
} | null;
|
|
204
|
+
media?: MediaPageActivity | null;
|
|
208
205
|
score?: number;
|
|
209
206
|
verificationStatus?: VerificationCardStatus;
|
|
210
207
|
native_text?: string;
|
|
@@ -283,11 +280,7 @@ declare function useCreateCards(): {
|
|
|
283
280
|
media_area_id?: string | null;
|
|
284
281
|
media_area_layout?: "left" | "right" | null;
|
|
285
282
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
286
|
-
media?:
|
|
287
|
-
type: "image" | "video" | "link";
|
|
288
|
-
url: string;
|
|
289
|
-
transcript?: string | null;
|
|
290
|
-
} | null;
|
|
283
|
+
media?: MediaPageActivity | null;
|
|
291
284
|
score?: number;
|
|
292
285
|
verificationStatus?: VerificationCardStatus;
|
|
293
286
|
native_text?: string;
|
|
@@ -374,11 +367,7 @@ declare function useGetCard({ cardId, enabled }: {
|
|
|
374
367
|
media_area_id?: string | null;
|
|
375
368
|
media_area_layout?: "left" | "right" | null;
|
|
376
369
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
377
|
-
media?:
|
|
378
|
-
type: "image" | "video" | "link";
|
|
379
|
-
url: string;
|
|
380
|
-
transcript?: string | null;
|
|
381
|
-
} | null;
|
|
370
|
+
media?: MediaPageActivity | null;
|
|
382
371
|
score?: number;
|
|
383
372
|
verificationStatus?: VerificationCardStatus;
|
|
384
373
|
native_text?: string;
|
|
@@ -457,11 +446,7 @@ declare const createCardRepo: () => {
|
|
|
457
446
|
media_area_id?: string | null;
|
|
458
447
|
media_area_layout?: "left" | "right" | null;
|
|
459
448
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
460
|
-
media?:
|
|
461
|
-
type: "image" | "video" | "link";
|
|
462
|
-
url: string;
|
|
463
|
-
transcript?: string | null;
|
|
464
|
-
} | null;
|
|
449
|
+
media?: MediaPageActivity | null;
|
|
465
450
|
score?: number;
|
|
466
451
|
verificationStatus?: VerificationCardStatus;
|
|
467
452
|
native_text?: string;
|
|
@@ -535,11 +520,7 @@ declare const createCardRepo: () => {
|
|
|
535
520
|
media_area_id?: string | null;
|
|
536
521
|
media_area_layout?: "left" | "right" | null;
|
|
537
522
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
538
|
-
media?:
|
|
539
|
-
type: "image" | "video" | "link";
|
|
540
|
-
url: string;
|
|
541
|
-
transcript?: string | null;
|
|
542
|
-
} | null;
|
|
523
|
+
media?: MediaPageActivity | null;
|
|
543
524
|
score?: number;
|
|
544
525
|
verificationStatus?: VerificationCardStatus;
|
|
545
526
|
native_text?: string;
|
|
@@ -651,12 +632,8 @@ declare function getPageMediaData(page: PageActivityWithId): {
|
|
|
651
632
|
direction: "left" | "right";
|
|
652
633
|
mode: "single" | "media_area" | "none" | null;
|
|
653
634
|
singleMedia: {
|
|
654
|
-
rawObject:
|
|
655
|
-
|
|
656
|
-
url: string;
|
|
657
|
-
transcript?: string | null;
|
|
658
|
-
};
|
|
659
|
-
type: "image" | "video" | "link";
|
|
635
|
+
rawObject: MediaPageActivity;
|
|
636
|
+
type: "document" | "image" | "video" | "link" | "audio" | "embed";
|
|
660
637
|
content: string;
|
|
661
638
|
} | undefined;
|
|
662
639
|
isMediaPage: boolean;
|
|
@@ -665,12 +642,8 @@ declare function getPageMediaData(page: PageActivityWithId): {
|
|
|
665
642
|
shouldRenderMediaArea: boolean;
|
|
666
643
|
};
|
|
667
644
|
declare function getSingleMediaPageData(page: PageActivityWithId): {
|
|
668
|
-
rawObject:
|
|
669
|
-
|
|
670
|
-
url: string;
|
|
671
|
-
transcript?: string | null;
|
|
672
|
-
};
|
|
673
|
-
type: "image" | "video" | "link";
|
|
645
|
+
rawObject: MediaPageActivity;
|
|
646
|
+
type: "document" | "image" | "video" | "link" | "audio" | "embed";
|
|
674
647
|
content: string;
|
|
675
648
|
} | undefined;
|
|
676
649
|
|
|
@@ -1406,11 +1379,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1406
1379
|
media_area_id?: string | null;
|
|
1407
1380
|
media_area_layout?: "left" | "right" | null;
|
|
1408
1381
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1409
|
-
media?:
|
|
1410
|
-
type: "image" | "video" | "link";
|
|
1411
|
-
url: string;
|
|
1412
|
-
transcript?: string | null;
|
|
1413
|
-
} | null;
|
|
1382
|
+
media?: MediaPageActivity | null;
|
|
1414
1383
|
score?: number;
|
|
1415
1384
|
verificationStatus?: VerificationCardStatus;
|
|
1416
1385
|
native_text?: string;
|
|
@@ -1484,11 +1453,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1484
1453
|
media_area_id?: string | null;
|
|
1485
1454
|
media_area_layout?: "left" | "right" | null;
|
|
1486
1455
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1487
|
-
media?:
|
|
1488
|
-
type: "image" | "video" | "link";
|
|
1489
|
-
url: string;
|
|
1490
|
-
transcript?: string | null;
|
|
1491
|
-
} | null;
|
|
1456
|
+
media?: MediaPageActivity | null;
|
|
1492
1457
|
score?: number;
|
|
1493
1458
|
verificationStatus?: VerificationCardStatus;
|
|
1494
1459
|
native_text?: string;
|
|
@@ -1745,11 +1710,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1745
1710
|
media_area_id?: string | null;
|
|
1746
1711
|
media_area_layout?: "left" | "right" | null;
|
|
1747
1712
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1748
|
-
media?:
|
|
1749
|
-
type: "image" | "video" | "link";
|
|
1750
|
-
url: string;
|
|
1751
|
-
transcript?: string | null;
|
|
1752
|
-
} | null;
|
|
1713
|
+
media?: MediaPageActivity | null;
|
|
1753
1714
|
score?: number;
|
|
1754
1715
|
verificationStatus?: VerificationCardStatus;
|
|
1755
1716
|
native_text?: string;
|
|
@@ -3294,11 +3255,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3294
3255
|
media_area_id?: string | null;
|
|
3295
3256
|
media_area_layout?: "left" | "right" | null;
|
|
3296
3257
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
3297
|
-
media?:
|
|
3298
|
-
type: "image" | "video" | "link";
|
|
3299
|
-
url: string;
|
|
3300
|
-
transcript?: string | null;
|
|
3301
|
-
} | null;
|
|
3258
|
+
media?: MediaPageActivity | null;
|
|
3302
3259
|
score?: number;
|
|
3303
3260
|
verificationStatus?: VerificationCardStatus;
|
|
3304
3261
|
native_text?: string;
|
|
@@ -3372,11 +3329,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3372
3329
|
media_area_id?: string | null;
|
|
3373
3330
|
media_area_layout?: "left" | "right" | null;
|
|
3374
3331
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
3375
|
-
media?:
|
|
3376
|
-
type: "image" | "video" | "link";
|
|
3377
|
-
url: string;
|
|
3378
|
-
transcript?: string | null;
|
|
3379
|
-
} | null;
|
|
3332
|
+
media?: MediaPageActivity | null;
|
|
3380
3333
|
score?: number;
|
|
3381
3334
|
verificationStatus?: VerificationCardStatus;
|
|
3382
3335
|
native_text?: string;
|
|
@@ -3441,4 +3394,4 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3441
3394
|
};
|
|
3442
3395
|
};
|
|
3443
3396
|
|
|
3444
|
-
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' | 'embed' | 'document';
|
|
92
|
+
url: string;
|
|
93
|
+
transcript?: string | null;
|
|
94
|
+
}
|
|
90
95
|
interface PageActivity {
|
|
91
96
|
owners: string[];
|
|
92
97
|
checked?: boolean;
|
|
@@ -94,11 +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
|
-
transcript?: string | null;
|
|
101
|
-
} | null;
|
|
102
|
+
media?: MediaPageActivity | null;
|
|
102
103
|
score?: number;
|
|
103
104
|
verificationStatus?: VerificationCardStatus;
|
|
104
105
|
native_text?: string;
|
|
@@ -200,11 +201,7 @@ declare function useCards({ cardIds, enabled, asObject, }: {
|
|
|
200
201
|
media_area_id?: string | null;
|
|
201
202
|
media_area_layout?: "left" | "right" | null;
|
|
202
203
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
203
|
-
media?:
|
|
204
|
-
type: "image" | "video" | "link";
|
|
205
|
-
url: string;
|
|
206
|
-
transcript?: string | null;
|
|
207
|
-
} | null;
|
|
204
|
+
media?: MediaPageActivity | null;
|
|
208
205
|
score?: number;
|
|
209
206
|
verificationStatus?: VerificationCardStatus;
|
|
210
207
|
native_text?: string;
|
|
@@ -283,11 +280,7 @@ declare function useCreateCards(): {
|
|
|
283
280
|
media_area_id?: string | null;
|
|
284
281
|
media_area_layout?: "left" | "right" | null;
|
|
285
282
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
286
|
-
media?:
|
|
287
|
-
type: "image" | "video" | "link";
|
|
288
|
-
url: string;
|
|
289
|
-
transcript?: string | null;
|
|
290
|
-
} | null;
|
|
283
|
+
media?: MediaPageActivity | null;
|
|
291
284
|
score?: number;
|
|
292
285
|
verificationStatus?: VerificationCardStatus;
|
|
293
286
|
native_text?: string;
|
|
@@ -374,11 +367,7 @@ declare function useGetCard({ cardId, enabled }: {
|
|
|
374
367
|
media_area_id?: string | null;
|
|
375
368
|
media_area_layout?: "left" | "right" | null;
|
|
376
369
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
377
|
-
media?:
|
|
378
|
-
type: "image" | "video" | "link";
|
|
379
|
-
url: string;
|
|
380
|
-
transcript?: string | null;
|
|
381
|
-
} | null;
|
|
370
|
+
media?: MediaPageActivity | null;
|
|
382
371
|
score?: number;
|
|
383
372
|
verificationStatus?: VerificationCardStatus;
|
|
384
373
|
native_text?: string;
|
|
@@ -457,11 +446,7 @@ declare const createCardRepo: () => {
|
|
|
457
446
|
media_area_id?: string | null;
|
|
458
447
|
media_area_layout?: "left" | "right" | null;
|
|
459
448
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
460
|
-
media?:
|
|
461
|
-
type: "image" | "video" | "link";
|
|
462
|
-
url: string;
|
|
463
|
-
transcript?: string | null;
|
|
464
|
-
} | null;
|
|
449
|
+
media?: MediaPageActivity | null;
|
|
465
450
|
score?: number;
|
|
466
451
|
verificationStatus?: VerificationCardStatus;
|
|
467
452
|
native_text?: string;
|
|
@@ -535,11 +520,7 @@ declare const createCardRepo: () => {
|
|
|
535
520
|
media_area_id?: string | null;
|
|
536
521
|
media_area_layout?: "left" | "right" | null;
|
|
537
522
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
538
|
-
media?:
|
|
539
|
-
type: "image" | "video" | "link";
|
|
540
|
-
url: string;
|
|
541
|
-
transcript?: string | null;
|
|
542
|
-
} | null;
|
|
523
|
+
media?: MediaPageActivity | null;
|
|
543
524
|
score?: number;
|
|
544
525
|
verificationStatus?: VerificationCardStatus;
|
|
545
526
|
native_text?: string;
|
|
@@ -651,12 +632,8 @@ declare function getPageMediaData(page: PageActivityWithId): {
|
|
|
651
632
|
direction: "left" | "right";
|
|
652
633
|
mode: "single" | "media_area" | "none" | null;
|
|
653
634
|
singleMedia: {
|
|
654
|
-
rawObject:
|
|
655
|
-
|
|
656
|
-
url: string;
|
|
657
|
-
transcript?: string | null;
|
|
658
|
-
};
|
|
659
|
-
type: "image" | "video" | "link";
|
|
635
|
+
rawObject: MediaPageActivity;
|
|
636
|
+
type: "document" | "image" | "video" | "link" | "audio" | "embed";
|
|
660
637
|
content: string;
|
|
661
638
|
} | undefined;
|
|
662
639
|
isMediaPage: boolean;
|
|
@@ -665,12 +642,8 @@ declare function getPageMediaData(page: PageActivityWithId): {
|
|
|
665
642
|
shouldRenderMediaArea: boolean;
|
|
666
643
|
};
|
|
667
644
|
declare function getSingleMediaPageData(page: PageActivityWithId): {
|
|
668
|
-
rawObject:
|
|
669
|
-
|
|
670
|
-
url: string;
|
|
671
|
-
transcript?: string | null;
|
|
672
|
-
};
|
|
673
|
-
type: "image" | "video" | "link";
|
|
645
|
+
rawObject: MediaPageActivity;
|
|
646
|
+
type: "document" | "image" | "video" | "link" | "audio" | "embed";
|
|
674
647
|
content: string;
|
|
675
648
|
} | undefined;
|
|
676
649
|
|
|
@@ -1406,11 +1379,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1406
1379
|
media_area_id?: string | null;
|
|
1407
1380
|
media_area_layout?: "left" | "right" | null;
|
|
1408
1381
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1409
|
-
media?:
|
|
1410
|
-
type: "image" | "video" | "link";
|
|
1411
|
-
url: string;
|
|
1412
|
-
transcript?: string | null;
|
|
1413
|
-
} | null;
|
|
1382
|
+
media?: MediaPageActivity | null;
|
|
1414
1383
|
score?: number;
|
|
1415
1384
|
verificationStatus?: VerificationCardStatus;
|
|
1416
1385
|
native_text?: string;
|
|
@@ -1484,11 +1453,7 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
|
|
|
1484
1453
|
media_area_id?: string | null;
|
|
1485
1454
|
media_area_layout?: "left" | "right" | null;
|
|
1486
1455
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1487
|
-
media?:
|
|
1488
|
-
type: "image" | "video" | "link";
|
|
1489
|
-
url: string;
|
|
1490
|
-
transcript?: string | null;
|
|
1491
|
-
} | null;
|
|
1456
|
+
media?: MediaPageActivity | null;
|
|
1492
1457
|
score?: number;
|
|
1493
1458
|
verificationStatus?: VerificationCardStatus;
|
|
1494
1459
|
native_text?: string;
|
|
@@ -1745,11 +1710,7 @@ declare function useActivity({ id, isAssignment, onAssignmentSubmitted, ltiData,
|
|
|
1745
1710
|
media_area_id?: string | null;
|
|
1746
1711
|
media_area_layout?: "left" | "right" | null;
|
|
1747
1712
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
1748
|
-
media?:
|
|
1749
|
-
type: "image" | "video" | "link";
|
|
1750
|
-
url: string;
|
|
1751
|
-
transcript?: string | null;
|
|
1752
|
-
} | null;
|
|
1713
|
+
media?: MediaPageActivity | null;
|
|
1753
1714
|
score?: number;
|
|
1754
1715
|
verificationStatus?: VerificationCardStatus;
|
|
1755
1716
|
native_text?: string;
|
|
@@ -3294,11 +3255,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3294
3255
|
media_area_id?: string | null;
|
|
3295
3256
|
media_area_layout?: "left" | "right" | null;
|
|
3296
3257
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
3297
|
-
media?:
|
|
3298
|
-
type: "image" | "video" | "link";
|
|
3299
|
-
url: string;
|
|
3300
|
-
transcript?: string | null;
|
|
3301
|
-
} | null;
|
|
3258
|
+
media?: MediaPageActivity | null;
|
|
3302
3259
|
score?: number;
|
|
3303
3260
|
verificationStatus?: VerificationCardStatus;
|
|
3304
3261
|
native_text?: string;
|
|
@@ -3372,11 +3329,7 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3372
3329
|
media_area_id?: string | null;
|
|
3373
3330
|
media_area_layout?: "left" | "right" | null;
|
|
3374
3331
|
media_mode?: "single" | "media_area" | "none" | null;
|
|
3375
|
-
media?:
|
|
3376
|
-
type: "image" | "video" | "link";
|
|
3377
|
-
url: string;
|
|
3378
|
-
transcript?: string | null;
|
|
3379
|
-
} | null;
|
|
3332
|
+
media?: MediaPageActivity | null;
|
|
3380
3333
|
score?: number;
|
|
3381
3334
|
verificationStatus?: VerificationCardStatus;
|
|
3382
3335
|
native_text?: string;
|
|
@@ -3441,4 +3394,4 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
|
|
|
3441
3394
|
};
|
|
3442
3395
|
};
|
|
3443
3396
|
|
|
3444
|
-
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 };
|