hippofish/packages/firefish-js/src/index.ts

42 lines
1.2 KiB
TypeScript
Raw Normal View History

2024-04-26 04:22:51 +02:00
import * as acct from "./acct.js";
import type { Acct } from "./acct.js";
import type { Endpoints } from "./api.types.js";
import type * as ApiTypes from "./api.types.js";
import * as consts from "./consts.js";
import Stream, { Connection } from "./streaming.js";
import * as StreamTypes from "./streaming.types.js";
import type * as TypeUtils from "./type-utils.js";
2024-04-26 04:22:51 +02:00
import type * as SchemaTypes from "./misc/schema.js";
import * as Schema from "./misc/schema.js";
export {
2024-04-26 04:22:51 +02:00
type Endpoints,
2024-04-13 17:08:58 +02:00
type ApiTypes,
Stream,
Connection as ChannelConnection,
StreamTypes,
acct,
2024-03-16 16:49:12 +01:00
type Acct,
type TypeUtils,
Schema,
type SchemaTypes,
};
export const permissions = consts.permissions;
export const notificationTypes = consts.notificationTypes;
export const noteVisibilities = consts.noteVisibilities;
export const mutedNoteReasons = consts.mutedNoteReasons;
export const languages = consts.languages;
export const ffVisibility = consts.ffVisibility;
export const instanceSortParam = consts.instanceSortParam;
2024-04-26 04:22:51 +02:00
import { langmap } from "./misc/langmap.js";
// api extractor not supported yet
//export * as api from './api';
//export * as entities from './entities';
2024-04-26 04:22:51 +02:00
import * as api from "./api.js";
import * as entities from "./entities.js";
export { api, entities, langmap };