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';
|
||||
import Stream, { Connection } from './streaming.js';
|
||||
import { Channels } from './streaming.types.js';
|
||||
import { Acct } from './acct.js';
|
||||
import * as consts from './consts.js';
|
||||
|
||||
export { Endpoints } from './api.types.js';
|
||||
export { default as Stream, Connection as ChannelConnection } from './streaming.js';
|
||||
export { Channels } from './streaming.types.js';
|
||||
export { Acct } from './acct.js';
|
||||
export {
|
||||
Endpoints,
|
||||
Stream,
|
||||
Connection as ChannelConnection,
|
||||
Channels,
|
||||
Acct,
|
||||
};
|
||||
|
||||
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;
|
||||
permissions,
|
||||
notificationTypes,
|
||||
noteVisibilities,
|
||||
mutedNoteReasons,
|
||||
ffVisibility,
|
||||
} from './consts.js';
|
||||
|
||||
// api extractor not supported yet
|
||||
//export * as api from './api';
|
||||
//export * as entities from './entities';
|
||||
import * as api from './api.js';
|
||||
import * as entities from './entities.js';
|
||||
export { api, entities };
|
||||
export * as api from './api.js';
|
||||
export * as entities from './entities.js';
|
||||
|
|
Loading…
Reference in a new issue