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

34 lines
1 KiB
TypeScript
Raw Normal View History

2023-03-30 04:49:56 +00:00
import { Endpoints } from './api.types.js';
import Stream, { Connection } from './streaming.js';
import { Channels } from './streaming.types.js';
import { Acct } from './acct.js';
2023-05-10 17:48:21 +00:00
import type { Packed, Def } from './schemas.js';
import { refs as _refs } from './schemas.js';
2023-03-30 04:49:56 +00:00
import * as consts from './consts.js';
export {
Endpoints,
Stream,
Connection as ChannelConnection,
Channels,
Acct,
2023-05-10 17:48:21 +00:00
Packed, Def,
};
2023-05-10 17:48:21 +00:00
export const refs = _refs;
export const permissions = consts.permissions;
export const notificationTypes = consts.notificationTypes;
2023-05-10 15:50:15 +00:00
export const obsoleteNotificationTypes = consts.obsoleteNotificationTypes;
export const noteVisibilities = consts.noteVisibilities;
export const mutedNoteReasons = consts.mutedNoteReasons;
export const ffVisibility = consts.ffVisibility;
2023-05-10 15:50:15 +00:00
export const ACHIEVEMENT_TYPES = consts.ACHIEVEMENT_TYPES;
// 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';
export { api, entities };