Changeset View
Changeset View
Standalone View
Standalone View
lib/shared/mention-utils.js
// @flow | // @flow | ||||
import { oldValidUsernameRegexString } from './account-utils.js'; | import { oldValidUsernameRegexString } from './account-utils.js'; | ||||
import SearchIndex from './search-index.js'; | import SearchIndex from './search-index.js'; | ||||
import { threadOtherMembers } from './thread-utils.js'; | import { threadOtherMembers } from './thread-utils.js'; | ||||
import { stringForUserExplicit } from './user-utils.js'; | import { stringForUserExplicit } from './user-utils.js'; | ||||
import { threadTypes } from '../types/thread-types-enum.js'; | |||||
import { | import { | ||||
threadTypes, | |||||
type ThreadInfo, | type ThreadInfo, | ||||
type RelativeMemberInfo, | type RelativeMemberInfo, | ||||
} from '../types/thread-types.js'; | } from '../types/thread-types.js'; | ||||
export type TypeaheadMatchedStrings = { | export type TypeaheadMatchedStrings = { | ||||
+textBeforeAtSymbol: string, | +textBeforeAtSymbol: string, | ||||
+usernamePrefix: string, | +usernamePrefix: string, | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 104 Lines • Show Last 20 Lines |