import { EBindKey, EExchangeNames, EExchangeTypes, IMessageEvent, TEventBaseData } from "../events/index.js"; import { EContentStatus, EContentType } from "./content/index.js"; import { ESupportedLanguages } from "./translation/index.js"; import { ENotificationInteraction } from "./communication/index.js"; export type TContentStateData = { editingId: string; responseType: ENotificationInteraction; requestingId: string; lng: ESupportedLanguages; postId: string; contentType: EContentType; editPostType: EContentStatus; } & TEventBaseData; export interface IContentStateEvent extends IMessageEvent { exchangeName: EExchangeNames.CONTENT_STATE; exchangeType: EExchangeTypes.DIRECT; key: EBindKey.CONTENT_STATE; data?: TContentStateData; } export type TUserStateData = { editingId: string; profileId: string; requestingId: string; responseType: ENotificationInteraction; lng: ESupportedLanguages; } & TEventBaseData; export interface IUserStateEvent extends IMessageEvent { exchangeName: EExchangeNames.USER_STATE; exchangeType: EExchangeTypes.DIRECT; key: EBindKey.USER_STATE; data?: TUserStateData; } export type TGroupingOwnershipData = { responseType: ENotificationInteraction; ownerId: string; groupingId: string; requestingId: string; lng: ESupportedLanguages; } & TEventBaseData; export interface IGroupingOwnershipEvent extends IMessageEvent { exchangeName: EExchangeNames.GROUPING_OWNERSHIP; exchangeType: EExchangeTypes.DIRECT; key: EBindKey.GROUPING_OWNERSHIP; data?: TGroupingOwnershipData; } //# sourceMappingURL=state-events.d.ts.map