A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
// SPDX-License-Identifier: AGPL-3.0-or-later
import type {ReportFlowSurface, ReportFlowTargetType} from '@fluxer/schema/src/domains/report/ReportFlowSchemas';
export interface ReportFlowDef {
target: ReportFlowTargetType;
start: Record<ReportFlowSurface, string>;
}
export const REPORT_FLOWS: Record<ReportFlowTargetType, ReportFlowDef> = {
message: {target: 'message', start: {in_app: 'root_message', dsa: 'root_message'}},
user: {target: 'user', start: {in_app: 'user_start', dsa: 'profile_parts'}},
guild: {target: 'guild', start: {in_app: 'community_parts', dsa: 'community_parts'}},
};