41 lines
1.3 KiB
TypeScript
41 lines
1.3 KiB
TypeScript
// Module ID: 5334
|
|
// Function ID: 5335
|
|
// Name: map
|
|
// Dependencies: [676, 1236, 2]
|
|
|
|
// Module 5334 (map)
|
|
import set from "set" /* 2 */;
|
|
import ME from "ME" /* 676 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1236 */;
|
|
|
|
ME.AutoCompleteResultTypes;
|
|
const items = [["game", "gameMentionInput"]];
|
|
const map = new Map(items);
|
|
const result = set.fileFinishedImporting("utils/native/AutocompleteUtils.tsx");
|
|
|
|
export default {
|
|
MENTION_EVERYONE() {
|
|
const obj = { type: AutoCompleteResultTypes.GLOBAL, test: "everyone", text: "@everyone", description: null };
|
|
const intl = getSystemLocale.intl;
|
|
obj[3] = intl.string(getSystemLocale.t["5atMLZ"]);
|
|
return obj;
|
|
},
|
|
MENTION_HERE() {
|
|
const obj = { type: AutoCompleteResultTypes.GLOBAL, test: "here", text: "@here", description: null };
|
|
const intl = getSystemLocale.intl;
|
|
obj[3] = intl.string(getSystemLocale.t.iX9SFD);
|
|
return obj;
|
|
},
|
|
MENTION_GAME() {
|
|
const obj = { test: "game", text: "@game", inlineAutocompleteType: "gameMentionInput", description: null };
|
|
const intl = getSystemLocale.intl;
|
|
obj[3] = intl.string(getSystemLocale.t["1kR88y"]);
|
|
return obj;
|
|
},
|
|
LAUNCHABLE_APPLICATIONS() {
|
|
return [];
|
|
},
|
|
findAutoInsertOnSpaceMentionInlineAutocompleteType(trigger) {
|
|
return map.get(trigger.toLowerCase());
|
|
}
|
|
};
|