This commit is contained in:
kakkokari-gtyih 2024-08-20 14:25:59 +09:00
parent 78f3d3a974
commit 7152eca0a0
1 changed files with 16 additions and 13 deletions

View File

@ -1,19 +1,6 @@
import { type Endpoints } from './api.types.js';
import Stream, { Connection } from './streaming.js'; import Stream, { Connection } from './streaming.js';
import { type Channels } from './streaming.types.js';
import { type Acct } from './acct.js';
import type { StreamEvents, IStream, IChannelConnection } from './streaming.js';
import * as consts from './consts.js'; import * as consts from './consts.js';
export type {
Endpoints,
Channels,
Acct,
StreamEvents,
IStream,
IChannelConnection,
};
export { export {
Stream, Stream,
Connection as ChannelConnection, Connection as ChannelConnection,
@ -36,3 +23,19 @@ import * as entities from './entities.js';
import * as acct from './acct.js'; import * as acct from './acct.js';
import * as note from './note.js'; import * as note from './note.js';
export { api, entities, acct, note }; export { api, entities, acct, note };
//#region standalone types
import type { Endpoints } from './api.types.js';
import type { StreamEvents, IStream, IChannelConnection } from './streaming.js';
import type { Channels } from './streaming.types.js';
import type { Acct } from './acct.js';
export type {
Endpoints,
Channels,
Acct,
StreamEvents,
IStream,
IChannelConnection,
};
//#endregion