enhance(frontend): Websocketを使用しないモードを実装
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { type Endpoints } from './api.types.js';
|
||||
import Stream, { Connection } from './streaming.js';
|
||||
import { type StreamEvents } from './streaming.js';
|
||||
import { type Channels } from './streaming.types.js';
|
||||
import { type Acct } from './acct.js';
|
||||
import * as consts from './consts.js';
|
||||
@@ -8,6 +9,7 @@ export type {
|
||||
Endpoints,
|
||||
Channels,
|
||||
Acct,
|
||||
StreamEvents,
|
||||
};
|
||||
|
||||
export {
|
||||
|
@@ -17,7 +17,7 @@ export function urlQuery(obj: Record<string, string | number | boolean | undefin
|
||||
|
||||
type AnyOf<T extends Record<any, any>> = T[keyof T];
|
||||
|
||||
type StreamEvents = {
|
||||
export type StreamEvents = {
|
||||
_connected_: void;
|
||||
_disconnected_: void;
|
||||
} & BroadcastEvents;
|
||||
|
Reference in New Issue
Block a user