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-01-18 02:26:26 +00:00
|
|
|
import { MagEventChannel } from "./sse-listener";
|
|
|
|
|
|
|
|
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,
|
|
|
|
types,
|
|
|
|
packed,
|
|
|
|
endpoints,
|
2023-11-05 14:28:55 +00:00
|
|
|
};
|