feat: lots of renaming

This commit is contained in:
Ary
2024-02-25 11:32:53 -07:00
parent 257f2259e0
commit 1bc6c3e852
11 changed files with 87 additions and 25 deletions
@@ -6,6 +6,7 @@ import { Settings } from './core/Settings.type.js';
import { UserFields } from './core/UserFields.type.js';
import { ViewSettings } from './core/Views.type.js';
import { HttpSettings } from '../index.js';
import { Presets } from './core/Presets.type.js';
export type DatabaseModel = {
rundown: OntimeRundown;
@@ -13,6 +14,7 @@ export type DatabaseModel = {
settings: Settings;
viewSettings: ViewSettings;
aliases: Alias[];
presets: Presets;
userFields: UserFields;
osc: OSCSettings;
http: HttpSettings;
@@ -0,0 +1,7 @@
export type Presets = {
[key: string]: {
alias: string;
pathAndParams: string;
enabled: boolean;
};
};
+3
View File
@@ -27,6 +27,9 @@ export type { TimeFormat } from './definitions/core/TimeFormat.type.js';
// ---> Aliases
export type { Alias } from './definitions/core/Alias.type.js';
// ---> Presets
export type { Presets } from './definitions/core/Presets.type.js';
// ---> User Fields
export type { UserFields } from './definitions/core/UserFields.type.js';