@coxwave/tap-kit-types 2.9.4 → 2.10.1
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.d.ts +10 -6
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -217,7 +217,12 @@ type FeatureFlagKey =
|
|
|
217
217
|
* Enable/disable flashcard widget on home page
|
|
218
218
|
* @default false (disabled, feature in development)
|
|
219
219
|
*/
|
|
220
|
-
| "home.flashcard.enabled"
|
|
220
|
+
| "home.flashcard.enabled"
|
|
221
|
+
/**
|
|
222
|
+
* Enable/disable activity buttons on home page
|
|
223
|
+
* @default true (enabled by default)
|
|
224
|
+
*/
|
|
225
|
+
| "home.activity.enabled";
|
|
221
226
|
/**
|
|
222
227
|
* Feature flags object type
|
|
223
228
|
*
|
|
@@ -2495,7 +2500,7 @@ type SyncableConfigKey = Exclude<ConfigUpdateKey, "apiKey" | "hostOrigin" | "tap
|
|
|
2495
2500
|
type Course = {
|
|
2496
2501
|
userId: string;
|
|
2497
2502
|
courseId: string;
|
|
2498
|
-
clipId
|
|
2503
|
+
clipId?: string;
|
|
2499
2504
|
clipPlayHead?: number;
|
|
2500
2505
|
};
|
|
2501
2506
|
/**
|
|
@@ -2818,11 +2823,10 @@ interface TapKitInstance {
|
|
|
2818
2823
|
hide(): void;
|
|
2819
2824
|
/**
|
|
2820
2825
|
* Update course information
|
|
2821
|
-
* @param course - Course info (courseId
|
|
2826
|
+
* @param course - Course info (courseId required, clipId optional)
|
|
2822
2827
|
*/
|
|
2823
2828
|
setCourse(course: Partial<Course> & {
|
|
2824
2829
|
courseId: string;
|
|
2825
|
-
clipId: string;
|
|
2826
2830
|
}): void;
|
|
2827
2831
|
}
|
|
2828
2832
|
/** TapKit constructor type */
|
|
@@ -3458,10 +3462,10 @@ interface TapKitElement extends HTMLElement {
|
|
|
3458
3462
|
|
|
3459
3463
|
/**
|
|
3460
3464
|
* Update course information
|
|
3461
|
-
* @param course - Partial course information (courseId
|
|
3465
|
+
* @param course - Partial course information (courseId required, clipId optional)
|
|
3462
3466
|
* @example kit.setCourse({ courseId: 'new', clipId: 'new-1' })
|
|
3463
3467
|
*/
|
|
3464
|
-
setCourse(course: Partial<Course> & { courseId: string
|
|
3468
|
+
setCourse(course: Partial<Course> & { courseId: string }): void;
|
|
3465
3469
|
|
|
3466
3470
|
// ===== Delegate Properties (Read-only) =====
|
|
3467
3471
|
|
package/dist/index.js
CHANGED
|
@@ -162,7 +162,7 @@ var MaterialViewerError = class _MaterialViewerError extends TapKitError {
|
|
|
162
162
|
// src/protocol/alarm.ts
|
|
163
163
|
var ALARM_DURATION = 16e3;
|
|
164
164
|
|
|
165
|
-
// ../../node_modules/.pnpm/valibot@1.1.0_typescript@5.9.
|
|
165
|
+
// ../../node_modules/.pnpm/valibot@1.1.0_typescript@5.9.3/node_modules/valibot/dist/index.js
|
|
166
166
|
var store;
|
|
167
167
|
// @__NO_SIDE_EFFECTS__
|
|
168
168
|
function getGlobalConfig(config2) {
|