misskey/packages/misskey-js/src/index.ts

27 lines
766 B
TypeScript
Raw Normal View History

2021-06-19 23:07:08 +09:00
import { Endpoints } from './api.types';
2022-01-14 01:33:42 +09:00
import Stream, { Connection } from './streaming';
import { Channels } from './streaming.types';
2021-05-16 11:12:29 +09:00
import { Acct } from './acct';
2021-11-11 22:49:16 +09:00
import * as consts from './consts';
2021-05-16 11:12:29 +09:00
export {
Endpoints,
Stream,
2022-01-14 01:33:42 +09:00
Connection as ChannelConnection,
Channels,
Acct,
2021-05-16 11:12:29 +09:00
};
2021-05-16 11:16:32 +09:00
2021-11-11 22:49:16 +09:00
export const permissions = consts.permissions;
export const notificationTypes = consts.notificationTypes;
export const noteVisibilities = consts.noteVisibilities;
export const mutedNoteReasons = consts.mutedNoteReasons;
export const ffVisibility = consts.ffVisibility;
2021-07-30 13:01:52 +09:00
// api extractor not supported yet
//export * as api from './api';
//export * as entities from './entities';
import * as api from './api';
import * as entities from './entities';
export { api, entities };