mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
18 lines
956 B
TypeScript
18 lines
956 B
TypeScript
import { useReplicant } from 'nodecg-vue-composable';
|
|
import type { Schemas } from '../types';
|
|
|
|
// YOU MUST CHANGE THIS TO YOUR BUNDLE'S NAME!
|
|
const thisBundle = 'scoreko-dev';
|
|
|
|
/**
|
|
* This is where you can declare all of your replicants to import easily into other (browser based) files.
|
|
* "useReplicant" is a helper composable to make accessing/modifying replicants easier.
|
|
* For more information see https://github.com/Dan-Shields/nodecg-vue-composable
|
|
*/
|
|
export const exampleReplicant = useReplicant<Schemas.ExampleReplicant>('exampleReplicant', thisBundle);
|
|
export const playersReplicant = useReplicant<Schemas.Players>('players', thisBundle);
|
|
export const scoreboardReplicant = useReplicant<Schemas.Scoreboard>('scoreboard', thisBundle);
|
|
export const graphicsSettingsReplicant = useReplicant<Schemas.GraphicsSettings>('graphicsSettings', thisBundle);
|
|
|
|
export const commentaryReplicant = useReplicant<Schemas.Commentary>('commentary', thisBundle);
|