@thestatic-tv/dcl-sdk 2.9.0 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +141 -2
- package/dist/index.d.mts +536 -6
- package/dist/index.d.ts +536 -6
- package/dist/index.js +1632 -230
- package/dist/index.mjs +1616 -217
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -79,9 +79,36 @@ interface StaticTVConfig {
|
|
|
79
79
|
onBroadcast?: (text: string) => void;
|
|
80
80
|
/**
|
|
81
81
|
* Command handler for scene-specific commands (Pro tier).
|
|
82
|
-
* Called when admin triggers a command from the panel
|
|
82
|
+
* Called when admin triggers a command from the panel, and on every visitor's copy for each queued command the
|
|
83
|
+
* SDK does not play itself. Kicks no longer need it (2026-11-17): the SDK carries out `kickBanned` and `kickAll`
|
|
84
|
+
* on every visitor's copy, and still hands them here too.
|
|
83
85
|
*/
|
|
84
86
|
onCommand?: (type: string, payload?: Record<string, unknown>) => void;
|
|
87
|
+
/**
|
|
88
|
+
* Called when this visitor becomes banned or kicked, and again when they are clear (Pro tier, 2026-11-17).
|
|
89
|
+
* The SDK already keeps a blocked visitor out of the scene's parcels, shows them only the notice, closes its
|
|
90
|
+
* panels and stops the video it plays on `videoScreen`; the scene's own media - a radio, a screen it plays
|
|
91
|
+
* itself through `onVideoPlay` - is the scene's to stop here. `staticTV.isVisitorBlocked` reads the same.
|
|
92
|
+
* Since 2026-11-19 'private' too: the scene's private mode keeps this visitor out (Venue).
|
|
93
|
+
* @example
|
|
94
|
+
* onBlockedChange: (blocked) => { if (blocked) radio.stop() }
|
|
95
|
+
*/
|
|
96
|
+
onBlockedChange?: (blocked: boolean, standing: 'banned' | 'kicked' | 'private' | 'clear') => void;
|
|
97
|
+
/**
|
|
98
|
+
* The scene's own controls (2026-11-18; Venue since 2026-11-19, Pro until then): each a named group of options the Admin Panel's CONTROLS tab
|
|
99
|
+
* and the scene's page on thestatic.tv draw as buttons. A press reaches every visitor's copy through the scene's
|
|
100
|
+
* command queue and runs the control's `onChange`. `staticTV.registerControls()` adds more after construction.
|
|
101
|
+
* See `SceneControl`.
|
|
102
|
+
*/
|
|
103
|
+
controls?: SceneControl[];
|
|
104
|
+
/**
|
|
105
|
+
* The scene's picture frames (Venue tier, 2026-11-19): spots the scene places itself, whose picture, hover text and
|
|
106
|
+
* link the scene's page on thestatic.tv edits. Every visitor's copy reads the content at load and hands each frame
|
|
107
|
+
* its own through `onContent`. `staticTV.registerFrames()` adds more at any time; `staticTV.openFrame(id)` is the
|
|
108
|
+
* click. Kept whatever the tier; without Venue nothing is read or sent, and a click still opens the default's link.
|
|
109
|
+
* See `SceneFrame`.
|
|
110
|
+
*/
|
|
111
|
+
frames?: SceneFrame[];
|
|
85
112
|
/** Automatically start session tracking on init (default: true) */
|
|
86
113
|
autoStartSession?: boolean;
|
|
87
114
|
/** Interval for session heartbeats in ms (default: 30000) */
|
|
@@ -192,6 +219,11 @@ interface SessionResponse {
|
|
|
192
219
|
keyId?: string;
|
|
193
220
|
keyType?: 'scene' | 'channel';
|
|
194
221
|
sdkType?: SDKTier | 'lite' | 'full';
|
|
222
|
+
/**
|
|
223
|
+
* Venue (2026-11-19): the tier above Pro, carried as a flag beside sdkType 'pro' - never as an sdkType,
|
|
224
|
+
* which every SDK before it would read as free. True only with sdkType 'pro'.
|
|
225
|
+
*/
|
|
226
|
+
venue?: boolean;
|
|
195
227
|
version: string;
|
|
196
228
|
}
|
|
197
229
|
/**
|
|
@@ -344,6 +376,92 @@ interface VideoSlot {
|
|
|
344
376
|
* Command handler for scene-specific commands
|
|
345
377
|
*/
|
|
346
378
|
type CommandHandler = (type: string, payload?: Record<string, unknown>) => void;
|
|
379
|
+
/**
|
|
380
|
+
* One option of a scene control: a button in the CONTROLS tab and on the scene's page
|
|
381
|
+
*/
|
|
382
|
+
interface SceneControlOption {
|
|
383
|
+
/** A slug: /^[a-z0-9][a-z0-9-]{0,31}$/ - never 'off', which the OFF button sends */
|
|
384
|
+
id: string;
|
|
385
|
+
/** The button's label, 1 to 40 characters */
|
|
386
|
+
label: string;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* A scene control (2026-11-18; the Venue tier since 2026-11-19, Pro until then): a named group of options the scene's code declares, drawn as buttons in the
|
|
390
|
+
* Admin Panel's CONTROLS tab and on the scene's page at thestatic.tv. A press, in-world or on the page, queues one
|
|
391
|
+
* command, `sceneControl { control, option }`, which every visitor's copy reads and runs through `onChange`. The SDK
|
|
392
|
+
* uploads the declaration (ids and labels, never code) to the scene's record once per load from an admin's copy;
|
|
393
|
+
* thestatic.tv checks every press against it. At most 20 controls a scene; the declaration's JSON at most 8 KB.
|
|
394
|
+
*
|
|
395
|
+
* @example
|
|
396
|
+
* ```typescript
|
|
397
|
+
* {
|
|
398
|
+
* id: 'digifog', label: 'DigiFog', off: true, persist: true,
|
|
399
|
+
* options: [{ id: 'stars', label: 'Stars' }, { id: 'pulse', label: 'Pulse' }],
|
|
400
|
+
* onChange: (option) => fog.play(option) // 'off' when OFF is pressed
|
|
401
|
+
* }
|
|
402
|
+
* ```
|
|
403
|
+
*/
|
|
404
|
+
interface SceneControl {
|
|
405
|
+
/** A slug: /^[a-z0-9][a-z0-9-]{0,31}$/ */
|
|
406
|
+
id: string;
|
|
407
|
+
/** The section's label in the tab, 1 to 40 characters */
|
|
408
|
+
label: string;
|
|
409
|
+
/** 1 to 24 options */
|
|
410
|
+
options: SceneControlOption[];
|
|
411
|
+
/** Draws an OFF button, which sends the option 'off' */
|
|
412
|
+
off?: boolean;
|
|
413
|
+
/** The current option is saved on thestatic.tv and applied at load, so a late arrival sees the same state */
|
|
414
|
+
persist?: boolean;
|
|
415
|
+
/** Runs in every visitor's copy with the option's id, or 'off' when OFF is pressed */
|
|
416
|
+
onChange: (option: string) => void;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* What a frame shows (Venue tier, 2026-11-19): its saved content from thestatic.tv, or its default with version
|
|
420
|
+
* 'default'. The scene applies it to its own entity in `SceneFrame.onContent`.
|
|
421
|
+
*/
|
|
422
|
+
interface FrameContent {
|
|
423
|
+
/** The picture, an https: URL */
|
|
424
|
+
image: string;
|
|
425
|
+
/** The hover text, '' when none */
|
|
426
|
+
text: string;
|
|
427
|
+
/** Where a click goes, '' when nowhere - `staticTV.openFrame(id)` opens it */
|
|
428
|
+
link: string;
|
|
429
|
+
/** Changes with each new picture (a click count restarts with it); 'default' for the frame's default */
|
|
430
|
+
version: string;
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* A picture frame (Venue tier, 2026-11-19): a spot the scene's code declares and places itself, whose picture, hover
|
|
434
|
+
* text and link the scene's page on thestatic.tv edits. Every visitor's copy reads the content at load and again when
|
|
435
|
+
* the page saves a frame, and calls `onContent` with the frame's saved content, else its `default`; a frame with
|
|
436
|
+
* neither gets no call. The SDK uploads the declaration (ids, labels and defaults, never code) once per load from an
|
|
437
|
+
* admin's copy. At most 64 frames a scene; thestatic.tv checks the ids, labels and URLs.
|
|
438
|
+
*
|
|
439
|
+
* @example
|
|
440
|
+
* ```typescript
|
|
441
|
+
* {
|
|
442
|
+
* id: 'f00', label: 'Ground floor, west wall',
|
|
443
|
+
* default: { image: 'https://example.com/poster.png', text: 'Our sponsor', link: 'https://example.com' },
|
|
444
|
+
* onContent: (c) => showPicture(frameEntity, c.image, c.text) // a click: staticTV.openFrame('f00')
|
|
445
|
+
* }
|
|
446
|
+
* ```
|
|
447
|
+
*/
|
|
448
|
+
interface SceneFrame {
|
|
449
|
+
/** A slug: /^[a-z0-9][a-z0-9-]{0,31}$/ */
|
|
450
|
+
id: string;
|
|
451
|
+
/** The frame's name on the scene's page, 1 to 40 characters */
|
|
452
|
+
label: string;
|
|
453
|
+
/**
|
|
454
|
+
* Shown until the scene's page saves content for the frame, and again after a reset (an https: image). Its link is
|
|
455
|
+
* what `openFrame` opens while the frame shows no content from thestatic.tv - without Venue, or before the read lands.
|
|
456
|
+
*/
|
|
457
|
+
default?: {
|
|
458
|
+
image: string;
|
|
459
|
+
text?: string;
|
|
460
|
+
link?: string;
|
|
461
|
+
};
|
|
462
|
+
/** Runs in every visitor's copy with what the frame shows; the scene applies it to its own entity */
|
|
463
|
+
onContent: (content: FrameContent) => void;
|
|
464
|
+
}
|
|
347
465
|
/**
|
|
348
466
|
* Custom scene tab definition for Pro tier
|
|
349
467
|
*/
|
|
@@ -413,6 +531,10 @@ interface AdminPanelConfig {
|
|
|
413
531
|
* Called when admin triggers a command from the panel
|
|
414
532
|
*/
|
|
415
533
|
onCommand?: CommandHandler;
|
|
534
|
+
/**
|
|
535
|
+
* The scene's own controls, drawn in the CONTROLS tab (2026-11-18; Venue since 2026-11-19). See `SceneControl`.
|
|
536
|
+
*/
|
|
537
|
+
controls?: SceneControl[];
|
|
416
538
|
/**
|
|
417
539
|
* Callback when video URL should be played
|
|
418
540
|
*/
|
|
@@ -657,6 +779,72 @@ declare class InteractionsModule {
|
|
|
657
779
|
follow(channelSlug: string): Promise<InteractionResponse | null>;
|
|
658
780
|
}
|
|
659
781
|
|
|
782
|
+
/** What the module needs of the client (StaticTVClient) */
|
|
783
|
+
interface FramesHost {
|
|
784
|
+
getBaseUrl(): string;
|
|
785
|
+
getSceneId(): string | undefined;
|
|
786
|
+
log(message: string, ...args: unknown[]): void;
|
|
787
|
+
warn(message: string): void;
|
|
788
|
+
error(message: string, err?: unknown): void;
|
|
789
|
+
}
|
|
790
|
+
declare class FramesModule {
|
|
791
|
+
private host;
|
|
792
|
+
private entries;
|
|
793
|
+
/** Venue is known: the reads, the upload and the clicks may go */
|
|
794
|
+
private enabled;
|
|
795
|
+
/** This copy's admin check succeeded: the declaration may be uploaded */
|
|
796
|
+
private adminOk;
|
|
797
|
+
private uploaded;
|
|
798
|
+
private loadReadStarted;
|
|
799
|
+
/** The last good read's `frames` object (saved content by frame id), or null until a read succeeds */
|
|
800
|
+
private answer;
|
|
801
|
+
/** Reads are numbered as they start; an answer older than the one shown is dropped */
|
|
802
|
+
private readSeq;
|
|
803
|
+
private shownSeq;
|
|
804
|
+
/** A framesRefresh is waiting out its jitter: another inside the wait shares its read */
|
|
805
|
+
private refreshWaiting;
|
|
806
|
+
constructor(host: FramesHost);
|
|
807
|
+
/** The declared frames' ids, in the order they were first registered */
|
|
808
|
+
get ids(): string[];
|
|
809
|
+
/** True once Venue is known for this scene */
|
|
810
|
+
get isEnabled(): boolean;
|
|
811
|
+
/**
|
|
812
|
+
* Declare frames: kept until Venue is known; after, a frame registered now gets what the last read gave at once,
|
|
813
|
+
* and the load read and the upload that waited on frames go now (each still once a load)
|
|
814
|
+
*/
|
|
815
|
+
register(frames: SceneFrame[]): void;
|
|
816
|
+
/** Venue is known (the client calls this once the session confirms it): the load read, and the upload if it waited */
|
|
817
|
+
enable(): void;
|
|
818
|
+
/** This copy's admin check succeeded (the admin panel calls this): the declaration goes up once Venue is known */
|
|
819
|
+
adminCheckSucceeded(): void;
|
|
820
|
+
/**
|
|
821
|
+
* A queued framesRefresh (the scene's page saved or reset a frame): read again after a random wait of up to
|
|
822
|
+
* REFRESH_JITTER_MS. Refreshes that arrive inside the wait share its read.
|
|
823
|
+
*/
|
|
824
|
+
refresh(): void;
|
|
825
|
+
/**
|
|
826
|
+
* A visitor clicked a frame. The link opens when it is an https: one: the shown content's, else the frame's default's
|
|
827
|
+
* - so a scene without Venue (or before its read lands), which shows its own defaults, has no dead frames. The click is
|
|
828
|
+
* posted signed under the shown version (fire and forget; a failure is logged, never shown) only with Venue and
|
|
829
|
+
* something shown. An id not declared opens nothing and posts nothing.
|
|
830
|
+
*/
|
|
831
|
+
open(id: string): void;
|
|
832
|
+
/** The routes' base for this scene: the scene id encoded, as any value in a url path is */
|
|
833
|
+
private sceneUrl;
|
|
834
|
+
/** The read at load: once, when Venue is known and a frame is declared */
|
|
835
|
+
private loadRead;
|
|
836
|
+
/** Read the saved content and show it; a failed read keeps what was shown */
|
|
837
|
+
private read;
|
|
838
|
+
/** A frame's content from the last good read: its saved content when usable, else its default, else null */
|
|
839
|
+
private contentFor;
|
|
840
|
+
/** Each declared frame's content handed to its onContent when it differs from what the frame shows */
|
|
841
|
+
private apply;
|
|
842
|
+
/** The declaration - ids, labels, defaults, never the handlers - once a load, in its own request to the config route */
|
|
843
|
+
private upload;
|
|
844
|
+
/** The click, signed: thestatic.tv counts it under the frame's shown version (one a wallet a frame a 10 s) */
|
|
845
|
+
private postClick;
|
|
846
|
+
}
|
|
847
|
+
|
|
660
848
|
/**
|
|
661
849
|
* Guide UI Module - provides channel/video browser
|
|
662
850
|
*/
|
|
@@ -760,6 +948,7 @@ declare class ChatUIModule {
|
|
|
760
948
|
private systemMessages;
|
|
761
949
|
private inputText;
|
|
762
950
|
private chatScrollOffset;
|
|
951
|
+
private historyError;
|
|
763
952
|
private position;
|
|
764
953
|
private chatTimerId;
|
|
765
954
|
private playerInfoTimerId;
|
|
@@ -840,13 +1029,112 @@ declare class ChatUIModule {
|
|
|
840
1029
|
private renderToggleButton;
|
|
841
1030
|
}
|
|
842
1031
|
|
|
1032
|
+
/** Precedence banned, kicked, private, clear ('private' since 2026-11-19: the scene's private mode keeps this visitor out) */
|
|
1033
|
+
type Standing = 'banned' | 'kicked' | 'private' | 'clear';
|
|
1034
|
+
/** What admin-check answered, as far as standing goes */
|
|
1035
|
+
interface StandingAnswer {
|
|
1036
|
+
isBanned: boolean;
|
|
1037
|
+
/** owner, scene admin, authorized or platform admin: KICK ALL passes them by */
|
|
1038
|
+
canModerate: boolean;
|
|
1039
|
+
/** The scene's private mode is on and the server does not admit this visitor (2026-11-19; absent before: open) */
|
|
1040
|
+
privateBlocked?: boolean;
|
|
1041
|
+
/** This visitor's wallet is linked to a TheStatic.tv account (2026-11-19; absent before: not a citizen) */
|
|
1042
|
+
isCitizen?: boolean;
|
|
1043
|
+
}
|
|
1044
|
+
interface ModerationDeps {
|
|
1045
|
+
/** Read admin-check again, signed as this visitor; it hands the answer to applyStanding */
|
|
1046
|
+
reread: () => Promise<void>;
|
|
1047
|
+
/** This visitor's wallet, or null while unknown */
|
|
1048
|
+
myWallet: () => string | null;
|
|
1049
|
+
/** Blocked turned on or off, or its reason changed */
|
|
1050
|
+
onChange?: (blocked: boolean, standing: Standing) => void;
|
|
1051
|
+
log?: (msg: string, ...args: unknown[]) => void;
|
|
1052
|
+
now?: () => number;
|
|
1053
|
+
/** 0 (inclusive) to 1 (exclusive), for a hint's wait; Math.random when not given */
|
|
1054
|
+
random?: () => number;
|
|
1055
|
+
}
|
|
1056
|
+
declare class ModerationModule {
|
|
1057
|
+
private deps;
|
|
1058
|
+
private banned;
|
|
1059
|
+
private kickedUntil;
|
|
1060
|
+
private canModerate;
|
|
1061
|
+
private privateBlocked;
|
|
1062
|
+
private citizen;
|
|
1063
|
+
private citizenAnsweredAt;
|
|
1064
|
+
private hintDueAt;
|
|
1065
|
+
private readWaiters;
|
|
1066
|
+
private rects;
|
|
1067
|
+
private boxes;
|
|
1068
|
+
private wallEntities;
|
|
1069
|
+
private lastBlocked;
|
|
1070
|
+
private lastStanding;
|
|
1071
|
+
private lastReadAt;
|
|
1072
|
+
private readInFlight;
|
|
1073
|
+
private readPending;
|
|
1074
|
+
private wasInScene;
|
|
1075
|
+
private sinceCheck;
|
|
1076
|
+
private started;
|
|
1077
|
+
constructor(deps: ModerationDeps);
|
|
1078
|
+
private now;
|
|
1079
|
+
private log;
|
|
1080
|
+
/** Reads the scene's parcels and starts the checks (once) */
|
|
1081
|
+
start(): Promise<void>;
|
|
1082
|
+
/** banned, kicked (KICK ALL, until it lapses), private (the scene's private mode) or clear - in that precedence */
|
|
1083
|
+
get standing(): Standing;
|
|
1084
|
+
/** The last answer's isCitizen (2026-11-19): false before one, and from a server that does not answer it */
|
|
1085
|
+
get isCitizen(): boolean;
|
|
1086
|
+
/**
|
|
1087
|
+
* Whether this visitor is a TheStatic.tv citizen (2026-11-19): the last answer when it is under READ_GAP_MS old, else
|
|
1088
|
+
* the answer of the next read - started now, or the one in flight - through the same gate as every other read. A
|
|
1089
|
+
* read that fails answers what the last one said (false before any), and so does one that has not settled within
|
|
1090
|
+
* CITIZEN_WAIT_MS (the module's system ends that wait).
|
|
1091
|
+
*/
|
|
1092
|
+
checkCitizen(): Promise<boolean>;
|
|
1093
|
+
get blocked(): boolean;
|
|
1094
|
+
/** How long a kick has left, in ms (0 when not kicked) */
|
|
1095
|
+
get kickLeftMs(): number;
|
|
1096
|
+
/**
|
|
1097
|
+
* admin-check's answer: the ban list's word on this visitor, whether they moderate the scene, and (2026-11-19) the
|
|
1098
|
+
* private mode's word and whether they are a citizen. Only the boolean true counts, so an answer without the new
|
|
1099
|
+
* fields reads as open and not a citizen. One who can moderate is never walled by private mode here, whatever the
|
|
1100
|
+
* answer says (the server admits them; this keeps a wrong answer from locking an admin out).
|
|
1101
|
+
*/
|
|
1102
|
+
applyStanding(answer: StandingAnswer): void;
|
|
1103
|
+
/**
|
|
1104
|
+
* A command from the scene's queue (the poll every visitor runs). Returns true for the three this module takes.
|
|
1105
|
+
* kickBanned names a wallet: the named visitor re-reads their standing, every other visitor does nothing.
|
|
1106
|
+
* privateMode (2026-11-19) is a hint for every visitor: its payload is not read - a re-read after a random wait of up
|
|
1107
|
+
* to HINT_SPREAD_MS, joined by any hint that comes while it waits, and still gated by one read in flight and
|
|
1108
|
+
* READ_GAP_MS, so no number of hints makes this copy read faster than that.
|
|
1109
|
+
*/
|
|
1110
|
+
handleCommand(type: string, payload?: Record<string, unknown>): boolean;
|
|
1111
|
+
/** Ask for a fresh standing read: at once when the gate allows, else as soon as it does */
|
|
1112
|
+
requestRead(): void;
|
|
1113
|
+
private tryRead;
|
|
1114
|
+
/** The walls follow blocked; the scene hears of a change */
|
|
1115
|
+
private sync;
|
|
1116
|
+
private raiseWalls;
|
|
1117
|
+
private lowerWalls;
|
|
1118
|
+
/** The walls this copy has up (one per parcel while blocked) */
|
|
1119
|
+
get wallCount(): number;
|
|
1120
|
+
/** Every CHECK_EVERY_S: a lapsed kick, the re-reads, and a blocked visitor inside a wall moved above it */
|
|
1121
|
+
system: (dt: number) => void;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
843
1124
|
/**
|
|
844
1125
|
* Admin Panel UI Module for The Static TV SDK (Pro Tier)
|
|
845
1126
|
*
|
|
846
1127
|
* Provides in-scene admin controls:
|
|
1128
|
+
* - Controls Tab: the scene's own controls (SceneControl), first in the bar when any are registered (2026-11-18) -
|
|
1129
|
+
* Venue only since 2026-11-19 (the controls are kept on a Pro scene without it, never drawn, uploaded or run)
|
|
847
1130
|
* - Video Tab: Stream control, video playback, slots
|
|
848
|
-
* - Mod Tab: Scene admins, banned wallets, broadcast
|
|
1131
|
+
* - Mod Tab: Scene admins, banned wallets, broadcast; private mode ON / OFF on a Venue scene (2026-11-19)
|
|
849
1132
|
* - Custom Scene Tabs: Pro tier
|
|
1133
|
+
*
|
|
1134
|
+
* Since 2026-11-18 every button that changes what visitors see - the controls, the Video tab's plays, Stop and Reset
|
|
1135
|
+
* Default, the broadcast, the kicks - goes through one signed sender to the scene's command queue on thestatic.tv,
|
|
1136
|
+
* which every visitor's copy polls; the presser's copy does the same at once and skips its own command when the poll
|
|
1137
|
+
* returns it. Until then the Video and Broadcast buttons reached the presser's copy alone.
|
|
850
1138
|
*/
|
|
851
1139
|
|
|
852
1140
|
declare class AdminPanelUIModule {
|
|
@@ -885,6 +1173,38 @@ declare class AdminPanelUIModule {
|
|
|
885
1173
|
private broadcastText;
|
|
886
1174
|
private modStatus;
|
|
887
1175
|
private modsFetched;
|
|
1176
|
+
private kickStatus;
|
|
1177
|
+
private videoStatus;
|
|
1178
|
+
private broadcastStatus;
|
|
1179
|
+
/** The url the screen last played - the scene's current one from the video state at load, or the last play here - which PLAYBACK Play sends */
|
|
1180
|
+
private currentVideoUrl;
|
|
1181
|
+
private controls;
|
|
1182
|
+
private currentOption;
|
|
1183
|
+
private controlStatus;
|
|
1184
|
+
private controlsUploaded;
|
|
1185
|
+
private stateRead;
|
|
1186
|
+
/** init has read the video state: the saved control state may be read now (a persist control registered later reads then) */
|
|
1187
|
+
private loadReadsDone;
|
|
1188
|
+
private commandCursor;
|
|
1189
|
+
private seenCommandIds;
|
|
1190
|
+
private seenCommandOrder;
|
|
1191
|
+
private readonly controlLine;
|
|
1192
|
+
private readonly videoLine;
|
|
1193
|
+
private readonly broadcastLine;
|
|
1194
|
+
private kickLine;
|
|
1195
|
+
private privateModeOn;
|
|
1196
|
+
private privateStatus;
|
|
1197
|
+
private readonly privateLine;
|
|
1198
|
+
/**
|
|
1199
|
+
* The Venue tier (2026-11-19): scene controls and private mode are Venue's, so the CONTROLS tab, the declaration's
|
|
1200
|
+
* upload, a press, the saved state's read, a queued control's run and the private-mode switch all need it. The
|
|
1201
|
+
* client knows it from the session start, before this panel exists.
|
|
1202
|
+
*/
|
|
1203
|
+
private get venue();
|
|
1204
|
+
/** This visitor's own standing - banned, kicked or clear - and the walls that follow it (2026-11-17) */
|
|
1205
|
+
readonly moderation: ModerationModule;
|
|
1206
|
+
/** The admin check, run once the player is known: with none yet it waits for one (utils/player-wait.ts, 2026-11-17) */
|
|
1207
|
+
private adminWait;
|
|
888
1208
|
constructor(client: StaticTVClient, config: AdminPanelConfig);
|
|
889
1209
|
private log;
|
|
890
1210
|
/** Scale a dimension by shared uiScale */
|
|
@@ -896,9 +1216,22 @@ declare class AdminPanelUIModule {
|
|
|
896
1216
|
*/
|
|
897
1217
|
init(): Promise<void>;
|
|
898
1218
|
/**
|
|
899
|
-
* Check if current player is an admin for this scene
|
|
1219
|
+
* Check if current player is an admin for this scene. With no player yet it waits for one on the SDK's timer and
|
|
1220
|
+
* checks then (utils/player-wait.ts): one wait at a time, ended quietly after 30 s with no wallet. A guest reading
|
|
1221
|
+
* (isGuest true) is checked at once and the wait goes on for a non-guest reading, checked once more if one comes
|
|
1222
|
+
* within the 30 s. Resolves when the check is done, or at once when there is none to run.
|
|
900
1223
|
*/
|
|
901
1224
|
checkAdminStatus(): Promise<void>;
|
|
1225
|
+
/** The admin check proper, for a player the explorer has resolved */
|
|
1226
|
+
private checkAdminFor;
|
|
1227
|
+
/** My wallet, lowercased: admin-check's player, else the explorer's */
|
|
1228
|
+
private myWallet;
|
|
1229
|
+
/** Blocked turned on or off: the panel closes, and the client stops what it plays and tells the scene */
|
|
1230
|
+
private onStandingChange;
|
|
1231
|
+
/** True while this visitor is banned or kicked (2026-11-17) */
|
|
1232
|
+
get isVisitorBlocked(): boolean;
|
|
1233
|
+
/** A url the scene's queue or the slots would play - nothing while this visitor is blocked */
|
|
1234
|
+
private playUrl;
|
|
902
1235
|
/**
|
|
903
1236
|
* Toggle the admin panel open/closed
|
|
904
1237
|
*/
|
|
@@ -923,6 +1256,37 @@ declare class AdminPanelUIModule {
|
|
|
923
1256
|
* Register a custom scene tab (Pro tier)
|
|
924
1257
|
*/
|
|
925
1258
|
registerSceneTab(tab: SceneTabDefinition): void;
|
|
1259
|
+
/**
|
|
1260
|
+
* Register scene controls: the CONTROLS tab draws them, a press reaches every visitor's copy through the scene's
|
|
1261
|
+
* queue, and the declaration goes to the scene's record once an admin's check has succeeded. The same as the config's
|
|
1262
|
+
* `controls`; a control registered again by id replaces the earlier one. Only the shape is checked here - thestatic.tv
|
|
1263
|
+
* checks the ids, labels and bounds when the declaration is uploaded, and every press against it.
|
|
1264
|
+
*/
|
|
1265
|
+
registerControls(controls: SceneControl[]): void;
|
|
1266
|
+
/** True when `option` is one of the control's, or 'off' on a control that has OFF */
|
|
1267
|
+
private isControlOption;
|
|
1268
|
+
/** A queued sceneControl's registered control and valid option, or null for anything else */
|
|
1269
|
+
private controlCommand;
|
|
1270
|
+
/** Run a control's option on this copy and mark it current; a handler that throws is logged and breaks nothing else */
|
|
1271
|
+
private applyControl;
|
|
1272
|
+
/** A press in the CONTROLS tab: this copy runs it at once, then everyone's through the queue (Venue, 2026-11-19) */
|
|
1273
|
+
private pressControl;
|
|
1274
|
+
/**
|
|
1275
|
+
* The saved option of every persist control, read once a load from the scene's public state route - after the admin
|
|
1276
|
+
* check and the video state, before the poll starts - and run on this copy, so a late arrival sees what the last
|
|
1277
|
+
* press set. A saved option that is not one of the control's is ignored, as is a failed read; a control with no saved
|
|
1278
|
+
* option keeps the scene's own default.
|
|
1279
|
+
*/
|
|
1280
|
+
private readSavedState;
|
|
1281
|
+
/**
|
|
1282
|
+
* The declaration - each control's id, label, options, off and persist, never its handler - posted once a load to the
|
|
1283
|
+
* scene's record on thestatic.tv, from a copy whose admin check succeeded, so the scene's page draws the same buttons.
|
|
1284
|
+
* thestatic.tv checks the shape and bounds and writes only a declaration that differs. A refusal is logged, never
|
|
1285
|
+
* shown to the visitor, and not retried in this load.
|
|
1286
|
+
*/
|
|
1287
|
+
private uploadControls;
|
|
1288
|
+
/** Remember a command id the poll has run or this copy has sent, forgetting the oldest past SEEN_COMMAND_IDS_MAX */
|
|
1289
|
+
private markCommandSeen;
|
|
926
1290
|
private startStreamPolling;
|
|
927
1291
|
private stopStreamPolling;
|
|
928
1292
|
private startCommandPolling;
|
|
@@ -934,7 +1298,17 @@ declare class AdminPanelUIModule {
|
|
|
934
1298
|
* body proved nothing and is no longer sent. Returns a fetch-like shape for the call sites.
|
|
935
1299
|
*/
|
|
936
1300
|
private signedRequest;
|
|
1301
|
+
/**
|
|
1302
|
+
* Every visitor's copy reads the scene's queue (a public GET, every 5 s). Since 2026-11-18 the poll sends the server's
|
|
1303
|
+
* cursor back as `since` once it has one - the first poll has none, so the 30-second replay on load stays, which the
|
|
1304
|
+
* kicks rely on - and tells commands apart by id: a bounded set of the last SEEN_COMMAND_IDS_MAX, this copy's own
|
|
1305
|
+
* sends among them (a press is not run twice here), so two commands in one millisecond both run. A command with no id
|
|
1306
|
+
* falls back to the timestamp rule every command used until then, and a server that answers no cursor (production
|
|
1307
|
+
* before 2026-11-18) gets no since and is read as before.
|
|
1308
|
+
*/
|
|
937
1309
|
private pollCommands;
|
|
1310
|
+
/** One queued command on this copy: the SDK's own types here, a registered control's option, else the scene's onCommand */
|
|
1311
|
+
private runCommand;
|
|
938
1312
|
private fetchStreamData;
|
|
939
1313
|
private refreshStreamStatus;
|
|
940
1314
|
private fetchVideoState;
|
|
@@ -972,11 +1346,69 @@ declare class AdminPanelUIModule {
|
|
|
972
1346
|
private removeSceneAdmin;
|
|
973
1347
|
private banWallet;
|
|
974
1348
|
private unbanWallet;
|
|
975
|
-
|
|
1349
|
+
/**
|
|
1350
|
+
* Queue a command on thestatic.tv for every visitor's copy of the scene (2026-11-17): a signed POST to the scene's
|
|
1351
|
+
* commands route, which takes it from the scene's owner, an admin or an authorized user at the scene's registered
|
|
1352
|
+
* location, and which every copy's poll reads within its 30-second window. The one sender for the kicks, the scene
|
|
1353
|
+
* controls and, since 2026-11-18, the Video and Broadcast buttons; each shows what it came to on its section's own
|
|
1354
|
+
* line. The command id the server answers goes into the seen set, so this copy's poll does not run its own press a
|
|
1355
|
+
* second time. Returns that id (empty when the answer carries none), or null when the command was not sent.
|
|
1356
|
+
*/
|
|
1357
|
+
private sendSceneCommand;
|
|
1358
|
+
/**
|
|
1359
|
+
* The one signed sender's POST (2026-11-18; since 2026-11-19 private mode's switch goes through it too, to its own
|
|
1360
|
+
* route): signed as the presser to one of the scene's routes on thestatic.tv, which decides whether the presser may;
|
|
1361
|
+
* what it came to shown on the section's line in a control's four words. Returns the answer, or null when not sent.
|
|
1362
|
+
*/
|
|
1363
|
+
private sendSigned;
|
|
1364
|
+
/**
|
|
1365
|
+
* PRIVATE MODE ON / OFF (2026-11-19, Venue; thestatic-hq docs/MERGE-CONTRACT-2026-11-19.md section 2): `{ on }` to
|
|
1366
|
+
* the scene's private route through the one signed sender. thestatic.tv decides who may switch it (its scene access
|
|
1367
|
+
* check) and queues `privateMode` for every copy, this one included, which re-reads its standing on it. The state
|
|
1368
|
+
* shown follows the server's answer, never the press.
|
|
1369
|
+
*/
|
|
1370
|
+
private setPrivateMode;
|
|
1371
|
+
/** KICK ALL: every visitor who cannot moderate the scene is moved out and kept out for a while (2026-11-17) */
|
|
1372
|
+
private kickAll;
|
|
1373
|
+
/**
|
|
1374
|
+
* BROADCAST (2026-11-18): queued for every visitor, as the scene's page on thestatic.tv sends it - `from` the presser's
|
|
1375
|
+
* display name, ADMIN when the explorer has none (the page's own default) - and shown here at once as everyone sees
|
|
1376
|
+
* it, `from: text`. Until then the in-world Send reached the presser's copy alone.
|
|
1377
|
+
*/
|
|
976
1378
|
private sendBroadcast;
|
|
1379
|
+
/** The presser's display name for a broadcast's from, ADMIN when the explorer has none; within the route's 100 */
|
|
1380
|
+
private myName;
|
|
1381
|
+
/** PLAY NOW: the typed url plays here and is queued as videoSetUrl, which thestatic.tv keeps for later arrivals */
|
|
1382
|
+
private playNow;
|
|
1383
|
+
/** Play on Screen: the scene's own live stream, as PLAY NOW with its HLS url (what the scene's page sends for it) */
|
|
1384
|
+
private playStreamOnScreen;
|
|
1385
|
+
/** Play 1-5: the slot plays here (its url from the video state) and is queued as videoPlaySlot; the server resolves its url for everyone */
|
|
1386
|
+
private pressSlot;
|
|
1387
|
+
/**
|
|
1388
|
+
* PLAYBACK Play: the current video - the one the screen last played here, or the scene's current url from the video
|
|
1389
|
+
* state at load - plays again here and is queued as videoPlay with its url; with none known nothing is sent and the
|
|
1390
|
+
* line says so. onCommand gets ('videoPlay', { playing: true }) as it did before, for a scene that reads it.
|
|
1391
|
+
*/
|
|
1392
|
+
private playbackPlay;
|
|
1393
|
+
/** Stop: the screen stops here and videoStop is queued for everyone */
|
|
1394
|
+
private playbackStop;
|
|
1395
|
+
/**
|
|
1396
|
+
* Reset Default: the screen goes back to its default here - what every copy does on a queued videoClear - and
|
|
1397
|
+
* videoClear is queued, which also clears the scene's kept url on thestatic.tv. onCommand gets ('videoClear', {}) as
|
|
1398
|
+
* it did before.
|
|
1399
|
+
*/
|
|
1400
|
+
private resetDefault;
|
|
977
1401
|
private setActiveTab;
|
|
978
1402
|
private SectionHead;
|
|
979
1403
|
private TabBtn;
|
|
1404
|
+
/** A control's button (2026-11-18): the option's label, highlighted while that option is current on this copy */
|
|
1405
|
+
private controlButton;
|
|
1406
|
+
/**
|
|
1407
|
+
* The CONTROLS tab (2026-11-18): a section per registered control, a button per option, OFF when the control has one,
|
|
1408
|
+
* the current option highlighted, and one status line for the last press. Listed first in the tab bar, only when
|
|
1409
|
+
* controls are registered, for the same admins the VIDEO tab is.
|
|
1410
|
+
*/
|
|
1411
|
+
private ControlsTab;
|
|
980
1412
|
private VideoTab;
|
|
981
1413
|
private ModTab;
|
|
982
1414
|
/**
|
|
@@ -1011,9 +1443,13 @@ declare class StaticTVClient {
|
|
|
1011
1443
|
private _keyId;
|
|
1012
1444
|
private _disabled;
|
|
1013
1445
|
private _tier;
|
|
1446
|
+
/** Venue (2026-11-19): the server's flag beside a Pro tier; the event features need it */
|
|
1447
|
+
private _venue;
|
|
1014
1448
|
private _standardFeaturesEnabled;
|
|
1015
1449
|
private _proFeaturesEnabled;
|
|
1016
1450
|
private _pendingProConfig;
|
|
1451
|
+
/** Controls registered before the admin panel exists (the tier not yet confirmed) - handed to it at init (2026-11-18) */
|
|
1452
|
+
private _pendingControls;
|
|
1017
1453
|
private _featuresReadyPromise;
|
|
1018
1454
|
private _featuresReadyResolve;
|
|
1019
1455
|
private _featuresResolved;
|
|
@@ -1031,6 +1467,11 @@ declare class StaticTVClient {
|
|
|
1031
1467
|
chatUI: ChatUIModule | null;
|
|
1032
1468
|
/** Admin Panel module - Video/Mod tabs (pro tier only) */
|
|
1033
1469
|
adminPanel: AdminPanelUIModule | null;
|
|
1470
|
+
/**
|
|
1471
|
+
* Frames module - the scene's picture frames, their content and their clicks (Venue tier, 2026-11-19). Holds the
|
|
1472
|
+
* declared frames from construction; reads, uploads and clicks only once the session confirms Venue.
|
|
1473
|
+
*/
|
|
1474
|
+
readonly frames: FramesModule;
|
|
1034
1475
|
/** UI scale - fixed at 1.0. DCL's UI system auto-scales based on viewport. */
|
|
1035
1476
|
readonly uiScale: number;
|
|
1036
1477
|
/** Get the API base URL (for internal module use) */
|
|
@@ -1239,6 +1680,38 @@ declare class StaticTVClient {
|
|
|
1239
1680
|
* ```
|
|
1240
1681
|
*/
|
|
1241
1682
|
confirmVideoPlaying(): void;
|
|
1683
|
+
/**
|
|
1684
|
+
* True while this visitor is banned from the scene or kicked out of it (Pro tier, 2026-11-17), or kept out by its
|
|
1685
|
+
* private mode (Venue, 2026-11-19): the SDK keeps them out of the scene's parcels, shows them only the notice and
|
|
1686
|
+
* plays them no video. A scene with its own media (a radio, its own screen) checks this, or passes
|
|
1687
|
+
* `onBlockedChange`, and stops it.
|
|
1688
|
+
*/
|
|
1689
|
+
get isVisitorBlocked(): boolean;
|
|
1690
|
+
/**
|
|
1691
|
+
* This visitor's standing: 'banned', 'kicked', 'private' (2026-11-19) or 'clear', in that precedence (always 'clear'
|
|
1692
|
+
* without the Pro tier's admin panel)
|
|
1693
|
+
*/
|
|
1694
|
+
get visitorStanding(): Standing;
|
|
1695
|
+
/**
|
|
1696
|
+
* True when the last standing read said this visitor is a TheStatic.tv citizen - their wallet linked to an account
|
|
1697
|
+
* (2026-11-19). False before a read, from a server that does not answer it, and without the Pro tier's admin panel.
|
|
1698
|
+
* For a fresh answer, `checkCitizen()`.
|
|
1699
|
+
*/
|
|
1700
|
+
get visitorIsCitizen(): boolean;
|
|
1701
|
+
/**
|
|
1702
|
+
* Whether this visitor is a TheStatic.tv citizen, fresh (2026-11-19): a read of the scene's admin-check through the
|
|
1703
|
+
* moderation module - the last answer when it is under 5 s old, else the next read, gated as every standing read
|
|
1704
|
+
* is. False without the Pro tier's admin panel, and when no read has answered. A scene's citizens-only door asks
|
|
1705
|
+
* this instead of calling a route of its own; thestatic.tv answers it from the signed request, so a scene cannot
|
|
1706
|
+
* claim a citizen.
|
|
1707
|
+
*/
|
|
1708
|
+
checkCitizen(): Promise<boolean>;
|
|
1709
|
+
/**
|
|
1710
|
+
* The admin panel's moderation reports blocked on or off (2026-11-17): the panels close, the SDK's own video
|
|
1711
|
+
* stops (and its fallback loop comes back once clear), the watch heartbeat stops, and the scene hears of it.
|
|
1712
|
+
* @internal
|
|
1713
|
+
*/
|
|
1714
|
+
_onBlockedChange(blocked: boolean, standing: Standing): void;
|
|
1242
1715
|
/**
|
|
1243
1716
|
* Internal handler for broadcast messages
|
|
1244
1717
|
* @internal
|
|
@@ -1278,7 +1751,7 @@ declare class StaticTVClient {
|
|
|
1278
1751
|
* request came from the scene deployed at that scene's registered location.
|
|
1279
1752
|
*/
|
|
1280
1753
|
getSceneId(): string | undefined;
|
|
1281
|
-
_enableFeaturesForTier(tier: SDKTier, keyId?: string | null): void;
|
|
1754
|
+
_enableFeaturesForTier(tier: SDKTier, keyId?: string | null, venue?: boolean): void;
|
|
1282
1755
|
/**
|
|
1283
1756
|
* @deprecated Use `_enableFeaturesForTier` instead
|
|
1284
1757
|
* @internal
|
|
@@ -1296,6 +1769,11 @@ declare class StaticTVClient {
|
|
|
1296
1769
|
* Check if pro features are enabled (admin panel)
|
|
1297
1770
|
*/
|
|
1298
1771
|
get hasProFeatures(): boolean;
|
|
1772
|
+
/**
|
|
1773
|
+
* True when the server confirmed the Venue tier (2026-11-19): Pro plus the event features - scene
|
|
1774
|
+
* controls, frames, private mode. `tier` stays 'pro' for a Venue scene, so a scene's own Pro checks hold.
|
|
1775
|
+
*/
|
|
1776
|
+
get hasVenueFeatures(): boolean;
|
|
1299
1777
|
/**
|
|
1300
1778
|
* @deprecated Use `tier` instead
|
|
1301
1779
|
*/
|
|
@@ -1346,6 +1824,46 @@ declare class StaticTVClient {
|
|
|
1346
1824
|
* ```
|
|
1347
1825
|
*/
|
|
1348
1826
|
registerSceneTab(tab: SceneTabDefinition): void;
|
|
1827
|
+
/**
|
|
1828
|
+
* Register scene controls for the Admin Panel's CONTROLS tab and the scene's page on thestatic.tv (2026-11-18;
|
|
1829
|
+
* the Venue tier since 2026-11-19, Pro until then) - the same as passing `controls` in the config. Before the panel
|
|
1830
|
+
* exists (the tier not yet confirmed) they are kept and handed to it at init; after, they join the tab at once. On a
|
|
1831
|
+
* Pro scene without Venue they are kept and never drawn, uploaded or run. See `SceneControl`.
|
|
1832
|
+
*
|
|
1833
|
+
* @example
|
|
1834
|
+
* ```typescript
|
|
1835
|
+
* staticTV.registerControls([{
|
|
1836
|
+
* id: 'digifog', label: 'DigiFog', off: true, persist: true,
|
|
1837
|
+
* options: [{ id: 'stars', label: 'Stars' }, { id: 'pulse', label: 'Pulse' }],
|
|
1838
|
+
* onChange: (option) => fog.play(option)
|
|
1839
|
+
* }])
|
|
1840
|
+
* ```
|
|
1841
|
+
*/
|
|
1842
|
+
registerControls(controls: SceneControl[]): void;
|
|
1843
|
+
/**
|
|
1844
|
+
* Register picture frames (Venue tier, 2026-11-19) - the same as passing `frames` in the config. Kept whatever the
|
|
1845
|
+
* tier (without Venue `openFrame` still opens a default's link); once Venue is known, a frame registered now gets the
|
|
1846
|
+
* content the last read gave at once. A frame registered again by id
|
|
1847
|
+
* replaces the earlier one; at most 64. Only the shape is checked here - thestatic.tv checks the ids, labels and URLs
|
|
1848
|
+
* when the declaration is uploaded. See `SceneFrame`.
|
|
1849
|
+
*
|
|
1850
|
+
* @example
|
|
1851
|
+
* ```typescript
|
|
1852
|
+
* staticTV.registerFrames([{
|
|
1853
|
+
* id: 'f00', label: 'Ground floor, west wall',
|
|
1854
|
+
* default: { image: 'https://example.com/poster.png' },
|
|
1855
|
+
* onContent: (c) => showPicture(frameEntity, c.image, c.text)
|
|
1856
|
+
* }])
|
|
1857
|
+
* ```
|
|
1858
|
+
*/
|
|
1859
|
+
registerFrames(frames: SceneFrame[]): void;
|
|
1860
|
+
/**
|
|
1861
|
+
* A visitor clicked a frame (2026-11-19): the link opens when it is an https: one - the content's, else the frame's
|
|
1862
|
+
* default's, so a frame works before Venue is on - and, with Venue, the click is counted on thestatic.tv under the
|
|
1863
|
+
* picture the frame shows (signed, fire and forget). Call it from the frame's own pointer handler. Nothing happens
|
|
1864
|
+
* for an id the scene did not declare.
|
|
1865
|
+
*/
|
|
1866
|
+
openFrame(id: string): void;
|
|
1349
1867
|
/**
|
|
1350
1868
|
* Close Admin/Guide panels (they share the same screen space)
|
|
1351
1869
|
* Chat is independent and stays open.
|
|
@@ -1458,6 +1976,13 @@ declare function getPlayerWallet(): string | null;
|
|
|
1458
1976
|
*/
|
|
1459
1977
|
declare function getPlayerDisplayName(): string | null;
|
|
1460
1978
|
|
|
1979
|
+
interface ParcelRect {
|
|
1980
|
+
minX: number;
|
|
1981
|
+
maxX: number;
|
|
1982
|
+
minZ: number;
|
|
1983
|
+
maxZ: number;
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1461
1986
|
interface SceneBounds {
|
|
1462
1987
|
minX: number;
|
|
1463
1988
|
maxX: number;
|
|
@@ -1478,6 +2003,11 @@ declare function getSceneBounds(): Promise<SceneBounds | null>;
|
|
|
1478
2003
|
* Returns true if in bounds, false if out of bounds or can't determine.
|
|
1479
2004
|
*/
|
|
1480
2005
|
declare function isPlayerInBounds(_bounds: SceneBounds): boolean;
|
|
2006
|
+
/**
|
|
2007
|
+
* Each of the scene's parcels as a square in the scene's coordinates, once getSceneBounds() has read them; empty
|
|
2008
|
+
* before, or when they could not be read (2026-11-17: the blocked visitor's walls and move are built from these)
|
|
2009
|
+
*/
|
|
2010
|
+
declare function getParcelRects(): ParcelRect[];
|
|
1481
2011
|
/**
|
|
1482
2012
|
* Get player's current position
|
|
1483
2013
|
*/
|
|
@@ -1487,4 +2017,4 @@ declare function getPlayerPosition(): {
|
|
|
1487
2017
|
z: number;
|
|
1488
2018
|
} | null;
|
|
1489
2019
|
|
|
1490
|
-
export { type AdminPanelConfig, AdminPanelUIModule, type Channel, type ChatChannel, type ChatMessage, type ChatUIConfig, ChatUIModule, type CommandHandler, type GuideFeaturedPlaylist, GuideModule, type GuideResponse, type GuideUIConfig, GuideUIModule, type GuideVideo, HeartbeatModule, type HeartbeatResponse, type InteractionResponse, InteractionsModule, KEY_TYPE_CHANNEL, KEY_TYPE_SCENE, NotificationBanner, type PlayerData, type SDKTier, type SceneBounds$1 as SceneBounds, type SceneStats, type SceneStatsResponse, type SceneTabDefinition, SessionModule, type SessionResponse, StaticTVClient, type StaticTVConfig, type StreamData, type VideoSlot, type Vod, fetchUserData, getPlayerDisplayName, getPlayerPosition, getPlayerWallet, getSceneBounds, hideNotification, isPlayerInBounds, setupStaticUI, showNotification };
|
|
2020
|
+
export { type AdminPanelConfig, AdminPanelUIModule, type Channel, type ChatChannel, type ChatMessage, type ChatUIConfig, ChatUIModule, type CommandHandler, type FrameContent, FramesModule, type GuideFeaturedPlaylist, GuideModule, type GuideResponse, type GuideUIConfig, GuideUIModule, type GuideVideo, HeartbeatModule, type HeartbeatResponse, type InteractionResponse, InteractionsModule, KEY_TYPE_CHANNEL, KEY_TYPE_SCENE, ModerationModule, NotificationBanner, type PlayerData, type SDKTier, type SceneBounds$1 as SceneBounds, type SceneControl, type SceneControlOption, type SceneFrame, type SceneStats, type SceneStatsResponse, type SceneTabDefinition, SessionModule, type SessionResponse, type Standing, StaticTVClient, type StaticTVConfig, type StreamData, type VideoSlot, type Vod, fetchUserData, getParcelRects, getPlayerDisplayName, getPlayerPosition, getPlayerWallet, getSceneBounds, hideNotification, isPlayerInBounds, setupStaticUI, showNotification };
|