mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-29 10:59:07 +00:00
refactor: expose missing types
This commit is contained in:
committed by
Carlos Valente
parent
fc2e76db0a
commit
1054ec0a5e
@@ -3,6 +3,9 @@ export { MessageTag, RefetchKey } from 'ontime-types';
|
|||||||
export type { ApiAction, ApiActionTag, ApiResponse } from 'ontime-types';
|
export type { ApiAction, ApiActionTag, ApiResponse } from 'ontime-types';
|
||||||
export type { WsPacketToClient, WsPacketToServer } from 'ontime-types';
|
export type { WsPacketToClient, WsPacketToServer } from 'ontime-types';
|
||||||
|
|
||||||
|
// backend response types
|
||||||
|
export type { SessionStats } from 'ontime-types';
|
||||||
|
|
||||||
// stores
|
// stores
|
||||||
export type { RuntimeStore, TimerState, MessageState, RundownState, Offset } from 'ontime-types';
|
export type { RuntimeStore, TimerState, MessageState, RundownState, Offset } from 'ontime-types';
|
||||||
export { TimerPhase, Playback, runtimeStorePlaceholder, OffsetMode } 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';
|
export { SimplePlayback, SimpleDirection } from 'ontime-types';
|
||||||
|
|
||||||
// entries
|
// 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 {
|
export {
|
||||||
SupportedEntry,
|
SupportedEntry,
|
||||||
isOntimeEvent,
|
isOntimeEvent,
|
||||||
|
|||||||
@@ -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
|
* A helper type for sending correct websocket messages to ontime
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { defineConfig } from 'tsup';
|
|||||||
import copyPlugin from '@sprout2000/esbuild-copy-plugin';
|
import copyPlugin from '@sprout2000/esbuild-copy-plugin';
|
||||||
|
|
||||||
export default defineConfig({
|
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'],
|
entry: ['src/main.ts'],
|
||||||
outDir: 'dist',
|
outDir: 'dist',
|
||||||
bundle: true,
|
bundle: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user