import locale from '$stores/locale'; import { get } from 'svelte/store'; export const tools: { [key: string]: { name: () => string; description?: () => string; id: string; }; } = { default: { name: () => 'Tools', description: () => 'A collection of tools to help you get the most out of AniList.', id: 'default' }, wrapped: { name: () => 'AniList Wrapped & Statistics Panel', description: () => 'Instantly generate an AniList themed Wrapped for your profile, doubling as a statistics panel for your bio', id: 'wrapped' }, birthdays: { name: () => { return get(locale)().tools.tool.characterBirthdays.long; }, description: () => 'Find and display the birthdays of all characters for today, or any other day of the year', id: 'birthdays' }, sequel_spy: { name: () => 'Sequel Spy', description: () => "Find media with prequels you haven't seen yet for any given simulcast season", id: 'sequel_spy' }, discussions: { name: () => 'Episode Discussion Collector', description: () => 'Find and display all episode discussions created by a given user', id: 'discussions' }, random_follower: { name: () => 'Random Follower Finder', description: () => "Generate random followers from any user's following list", id: 'random_follower' }, likes: { name: () => 'Likes', description: () => 'Get all likes of an activity or forum thread', id: 'likes' }, dump_profile: { name: () => 'Dump Profile', description: () => "Dump a user's profile to JSON", id: 'dump_profile' }, activity_history: { name: () => 'Activity History Analyser', id: 'activity_history', description: () => 'Activity history utilities & image exporter' } };