Changeset View
Changeset View
Standalone View
Standalone View
lib/shared/messages/change-settings-message-spec.js
Show All 14 Lines | |||||
} from '../../types/message-types.js'; | } from '../../types/message-types.js'; | ||||
import { | import { | ||||
type ChangeSettingsMessageData, | type ChangeSettingsMessageData, | ||||
type ChangeSettingsMessageInfo, | type ChangeSettingsMessageInfo, | ||||
type RawChangeSettingsMessageInfo, | type RawChangeSettingsMessageInfo, | ||||
rawChangeSettingsMessageInfoValidator, | rawChangeSettingsMessageInfoValidator, | ||||
} from '../../types/messages/change-settings.js'; | } from '../../types/messages/change-settings.js'; | ||||
import type { NotifTexts } from '../../types/notif-types.js'; | import type { NotifTexts } from '../../types/notif-types.js'; | ||||
import { assertThreadType } from '../../types/thread-types.js'; | import { assertThreadType } 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 { validHexColorRegex } from '../account-utils.js'; | import { validHexColorRegex } from '../account-utils.js'; | ||||
import { notifRobotextForMessageInfo } from '../notif-utils.js'; | import { notifRobotextForMessageInfo } from '../notif-utils.js'; | ||||
import { threadLabel } from '../thread-utils.js'; | import { threadLabel } from '../thread-utils.js'; | ||||
export const changeSettingsMessageSpec: MessageSpec< | export const changeSettingsMessageSpec: MessageSpec< | ||||
▲ Show 20 Lines • Show All 148 Lines • Show Last 20 Lines |