foundkey-js: use re-export syntax
All checks were successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
All checks were successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
This commit is contained in:
parent
12bc89b7ce
commit
f0a2d368a3
1 changed files with 12 additions and 23 deletions
|
@ -1,26 +1,15 @@
|
||||||
import { Endpoints } from './api.types.js';
|
export { Endpoints } from './api.types.js';
|
||||||
import Stream, { Connection } from './streaming.js';
|
export { default as Stream, Connection as ChannelConnection } from './streaming.js';
|
||||||
import { Channels } from './streaming.types.js';
|
export { Channels } from './streaming.types.js';
|
||||||
import { Acct } from './acct.js';
|
export { Acct } from './acct.js';
|
||||||
import * as consts from './consts.js';
|
|
||||||
|
|
||||||
export {
|
export {
|
||||||
Endpoints,
|
permissions,
|
||||||
Stream,
|
notificationTypes,
|
||||||
Connection as ChannelConnection,
|
noteVisibilities,
|
||||||
Channels,
|
mutedNoteReasons,
|
||||||
Acct,
|
ffVisibility,
|
||||||
};
|
} from './consts.js';
|
||||||
|
|
||||||
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;
|
|
||||||
|
|
||||||
// api extractor not supported yet
|
// api extractor not supported yet
|
||||||
//export * as api from './api';
|
export * as api from './api.js';
|
||||||
//export * as entities from './entities';
|
export * as entities from './entities.js';
|
||||||
import * as api from './api.js';
|
|
||||||
import * as entities from './entities.js';
|
|
||||||
export { api, entities };
|
|
||||||
|
|
Loading…
Reference in a new issue