import type EmailAddressName from "./EmailAddressName.js"; /** * Since set of names will intersect with set of tags very rarely. * We want to break names by spaces and save tokens with and without numbers. * We will save username @ domain.com separately for faster search. * * Why not store full text in EmailAddressName itself? * Since one name will be linked with many addresses. It will require less * storage and faster access compared to inbuilt FTS. * * And This is the most important part for Auto Complete. * * Why store suggest column? * In dropdown we will only display suggestion if the name token has more than * 2 chars. * * So why store less than 2 chars? * User should be able to search `akash.in` by searching for 'in' in the search bar * ignoring auto complete. */ export default class NameToken { nameTokenID: number; word: string; suggest: boolean; emailAddressNames: EmailAddressName[]; } //# sourceMappingURL=NameToken.d.ts.map