refactor: expose missing types

This commit is contained in:
Carlos Valente
2025-12-19 17:31:34 +01:00
committed by Carlos Valente
parent fc2e76db0a
commit 1054ec0a5e
3 changed files with 15 additions and 3 deletions
+13 -1
View File
@@ -3,6 +3,9 @@ export { MessageTag, RefetchKey } from 'ontime-types';
export type { ApiAction, ApiActionTag, ApiResponse } from 'ontime-types';
export type { WsPacketToClient, WsPacketToServer } from 'ontime-types';
// backend response types
export type { SessionStats } from 'ontime-types';
// stores
export type { RuntimeStore, TimerState, MessageState, RundownState, Offset } from 'ontime-types';
export { TimerPhase, Playback, runtimeStorePlaceholder, OffsetMode } from 'ontime-types';
@@ -12,7 +15,16 @@ export type { SimpleTimerState } from 'ontime-types';
export { SimplePlayback, SimpleDirection } from 'ontime-types';
// entries
export type { OntimeEvent, OntimeGroup, EntryCustomFields, CustomFields, Rundown } from 'ontime-types';
export type {
OntimeEntry,
OntimeEvent,
OntimeGroup,
OntimeDelay,
OntimeMilestone,
EntryCustomFields,
CustomFields,
Rundown,
} from 'ontime-types';
export {
SupportedEntry,
isOntimeEvent,
+1 -1
View File
@@ -1,4 +1,4 @@
import { ApiAction, ApiActionTag, MessageTag, WsPacketToClient, WsPacketToServer } from 'ontime-types';
import type { ApiAction, ApiActionTag, MessageTag, WsPacketToClient, WsPacketToServer } from 'ontime-types';
/**
* A helper type for sending correct websocket messages to ontime
+1 -1
View File
@@ -2,7 +2,7 @@ import { defineConfig } from 'tsup';
import copyPlugin from '@sprout2000/esbuild-copy-plugin';
export default defineConfig({
clean: false, //we can't use clean as i dose so after the copy plugin runs
clean: false, // we can't use clean as it runs after the copy plugin
entry: ['src/main.ts'],
outDir: 'dist',
bundle: true,