Skip to content

Commit 6840f16

Browse files
committed
share more types...
prevents a (new?) error about access to private types. Not an ideal solution - expands namespace sizes / reduces encapsulation - but working.
1 parent 8d5a864 commit 6840f16

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

packages/vue/src/components/Edit/ComponentRegistration/ComponentRegistration.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ import { CourseConfig, DataShape55, QuestionType55 } from '@vue-skuilder/common'
3838
import * as _ from 'lodash';
3939
import { getCurrentUser } from '@/stores/useAuthStore';
4040
41-
interface DataShapeRegistrationStatus {
41+
export interface DataShapeRegistrationStatus {
4242
name: string;
4343
course: string;
4444
dataShape: DataShape;
4545
registered: boolean;
4646
}
4747
48-
interface QuestionRegistrationStatus {
48+
export interface QuestionRegistrationStatus {
4949
name: string;
5050
course: string;
5151
question: typeof Displayable;

packages/vue/src/components/Edit/ViewableDataInputForm/DataInputForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ type StringIndexable = { [x: string]: unknown };
107107
108108
type QorNull = null | typeof Question;
109109
110-
interface ComponentData {
110+
export interface ComponentData {
111111
tag: string;
112112
tags: string[];
113113
autoCompleteSuggestions: string[];

packages/vue/src/components/Edit/ViewableDataInputForm/FieldInputs/MediaDragDropUploader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import FieldInput from '../OptionsFieldInput';
4343
import { Status } from '@vue-skuilder/common';
4444
import { FieldInputSetupReturn } from '../OptionsFieldInput';
4545
46-
interface MediaItem {
46+
export interface MediaItem {
4747
type: 'image' | 'audio';
4848
file: File;
4949
url: string;

packages/vue/src/courses/piano/utility/MidiConfig.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ import { InputEventNoteon } from 'webmidi';
8686
import { getCurrentUser } from '@/stores/useAuthStore';
8787
import PianoRangeVisualizer from './PianoRangeVisualizer.vue';
8888
89-
interface MidiDevice {
89+
export interface MidiDevice {
9090
text: string;
9191
value: string;
9292
}

packages/vue/src/stores/useAuthStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineStore } from 'pinia';
33
import { User, GuestUsername } from '@vue-skuilder/db';
44
import { ENV } from '@vue-skuilder/common';
55

6-
interface AuthState {
6+
export interface AuthState {
77
_user?: User;
88
loginAndRegistration: {
99
init: boolean;

packages/vue/src/stores/useFieldInputStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { fieldConverters, FieldType } from '@/enums/FieldType';
33
import { Status } from '@vue-skuilder/common';
44
import { defineStore } from 'pinia';
55

6-
interface MediaInputs {
6+
export interface MediaInputs {
77
[key: `audio-${number}`]: unknown;
88
[key: `image-${number}`]: unknown;
99
}

0 commit comments

Comments
 (0)