Skip to content

Commit 28e71c4

Browse files
committed
export StudySession and its config type
1 parent f18b6ae commit 28e71c4

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* Misc. config for a study StudySessionConfig
3+
*/
4+
export type StudySessionConfig = {
5+
likesConfetti: boolean;
6+
};

packages/common-ui/src/components/StudySession.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,6 @@ type StudyInstance = ReturnType<typeof defineComponent> & {
125125
$refs: StudyRefs;
126126
};
127127
128-
export type StudySessionConfig = {
129-
likesConfetti: boolean;
130-
};
131-
132128
export default defineComponent({
133129
name: 'StudySession',
134130

packages/common-ui/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ export * from './composables/Displayable';
2323

2424
/*
2525
Study Session Components
26-
2726
*/
2827

28+
export { default as StudySession } from './components/StudySession.vue';
2929
export { default as StudySessionTimer } from './components/StudySessionTimer.vue';
30+
export type { StudySessionConfig } from './components/StudySession.types';
3031

3132
/*
3233
studentInputs

0 commit comments

Comments
 (0)