2023-11-05 14:28:55 +00:00
|
|
|
import {
|
|
|
|
BackendApiEndpoint,
|
|
|
|
MagApiClient,
|
|
|
|
MagApiError,
|
|
|
|
MagApiErrorCode,
|
|
|
|
Method,
|
2024-01-12 02:56:22 +00:00
|
|
|
PaginatedResult,
|
2023-11-05 14:28:55 +00:00
|
|
|
} from "./be-api";
|
|
|
|
|
|
|
|
import {
|
|
|
|
feEndpoints,
|
|
|
|
FrontendApiEndpoint,
|
|
|
|
FrontendApiEndpoints,
|
|
|
|
} from "./fe-api";
|
|
|
|
|
2024-04-07 02:12:27 +00:00
|
|
|
import { MagEventChannel, MagChannelState } from "./sse-listener";
|
2024-01-18 02:26:26 +00:00
|
|
|
|
|
|
|
import * as types from "./types";
|
|
|
|
import * as packed from "./packed";
|
|
|
|
import * as endpoints from "./endpoints";
|
2023-11-05 14:28:55 +00:00
|
|
|
|
2024-02-28 23:26:09 +00:00
|
|
|
export const notificationTypes: types.NotificationType[] = [
|
|
|
|
"Follow",
|
|
|
|
"FollowRequestReceived",
|
|
|
|
"FollowRequestAccepted",
|
|
|
|
"Mention",
|
|
|
|
"Reply",
|
|
|
|
"Renote",
|
|
|
|
"Reaction",
|
|
|
|
"Quote",
|
|
|
|
"PollEnd",
|
|
|
|
"App",
|
|
|
|
];
|
|
|
|
|
2023-11-05 14:28:55 +00:00
|
|
|
export {
|
|
|
|
Method,
|
|
|
|
BackendApiEndpoint,
|
2024-01-12 02:56:22 +00:00
|
|
|
PaginatedResult,
|
2023-11-05 14:28:55 +00:00
|
|
|
MagApiError,
|
|
|
|
MagApiClient,
|
|
|
|
MagApiErrorCode,
|
|
|
|
feEndpoints,
|
|
|
|
FrontendApiEndpoint,
|
|
|
|
FrontendApiEndpoints,
|
2024-01-18 02:26:26 +00:00
|
|
|
MagEventChannel,
|
2024-04-07 02:12:27 +00:00
|
|
|
MagChannelState,
|
2024-01-18 02:26:26 +00:00
|
|
|
types,
|
|
|
|
packed,
|
|
|
|
endpoints,
|
2023-11-05 14:28:55 +00:00
|
|
|
};
|