2023-03-30 04:49:56 +00:00
|
|
|
import Stream, { Connection } from './streaming.js';
|
|
|
|
import * as consts from './consts.js';
|
2023-03-30 00:33:19 +00:00
|
|
|
|
2024-03-30 06:28:19 +00:00
|
|
|
export {
|
|
|
|
Stream,
|
|
|
|
Connection as ChannelConnection,
|
|
|
|
};
|
|
|
|
|
2023-03-30 00:33:19 +00:00
|
|
|
export const permissions = consts.permissions;
|
|
|
|
export const notificationTypes = consts.notificationTypes;
|
|
|
|
export const noteVisibilities = consts.noteVisibilities;
|
|
|
|
export const mutedNoteReasons = consts.mutedNoteReasons;
|
2023-12-18 11:59:20 +00:00
|
|
|
export const followingVisibilities = consts.followingVisibilities;
|
|
|
|
export const followersVisibilities = consts.followersVisibilities;
|
2023-09-23 09:28:16 +00:00
|
|
|
export const moderationLogTypes = consts.moderationLogTypes;
|
2024-08-16 12:02:12 +00:00
|
|
|
export const reversiUpdateKeys = consts.reversiUpdateKeys;
|
2023-03-30 00:33:19 +00:00
|
|
|
|
|
|
|
// api extractor not supported yet
|
2023-03-30 04:49:56 +00:00
|
|
|
//export * as api from './api.js';
|
|
|
|
//export * as entities from './entities.js';
|
|
|
|
import * as api from './api.js';
|
|
|
|
import * as entities from './entities.js';
|
2023-09-04 04:33:38 +00:00
|
|
|
import * as acct from './acct.js';
|
2024-08-17 02:28:22 +00:00
|
|
|
import * as note from './note.js';
|
2024-09-09 11:57:36 +00:00
|
|
|
import { nyaize } from './nyaize.js';
|
|
|
|
export { api, entities, acct, note, nyaize };
|
|
|
|
|
|
|
|
//#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
|