Changeset View
Changeset View
Standalone View
Standalone View
lib/shared/messages/create-sub-thread-message-spec.js
Show All 16 Lines | |||||
} from '../../types/message-types.js'; | } from '../../types/message-types.js'; | ||||
import { | import { | ||||
type CreateSubthreadMessageData, | type CreateSubthreadMessageData, | ||||
type CreateSubthreadMessageInfo, | type CreateSubthreadMessageInfo, | ||||
type RawCreateSubthreadMessageInfo, | type RawCreateSubthreadMessageInfo, | ||||
rawCreateSubthreadMessageInfoValidator, | rawCreateSubthreadMessageInfoValidator, | ||||
} from '../../types/messages/create-subthread.js'; | } from '../../types/messages/create-subthread.js'; | ||||
import type { NotifTexts } from '../../types/notif-types.js'; | import type { NotifTexts } from '../../types/notif-types.js'; | ||||
import { threadPermissions, threadTypes } from '../../types/thread-types.js'; | import { threadPermissions } from '../../types/thread-permission-types.js'; | ||||
import { threadTypes } from '../../types/thread-types-enum.js'; | |||||
import type { ThreadInfo } from '../../types/thread-types.js'; | import type { ThreadInfo } from '../../types/thread-types.js'; | ||||
import type { RelativeUserInfo } from '../../types/user-types.js'; | import type { RelativeUserInfo } from '../../types/user-types.js'; | ||||
import { ET, type EntityText } from '../../utils/entity-text.js'; | import { ET, type EntityText } from '../../utils/entity-text.js'; | ||||
import { notifTextsForSubthreadCreation } from '../notif-utils.js'; | import { notifTextsForSubthreadCreation } from '../notif-utils.js'; | ||||
export const createSubThreadMessageSpec: MessageSpec< | export const createSubThreadMessageSpec: MessageSpec< | ||||
CreateSubthreadMessageData, | CreateSubthreadMessageData, | ||||
RawCreateSubthreadMessageInfo, | RawCreateSubthreadMessageInfo, | ||||
▲ Show 20 Lines • Show All 133 Lines • Show Last 20 Lines |