UNPKG

biketag-admin

Version:

<h1 align=center>BikeTag-Admin</h1> <div align="center"> <img alt="biketag-admin logo" src="https://raw.githubusercontent.com/keneucker/biketag-website/production/public/img/Tag-Logo-Stacked-V2-medium.png" height="auto" width="200" style="border-radius:25

1,495 lines 72.7 kB
import { Tag } from 'biketag/dist/common/schema'; import { BikeTagAdminStoreState } from '../common'; export declare const initBikeTagAdminStore: () => void; export declare const useBikeTagAdminStore: import("pinia").StoreDefinition<string, BikeTagAdminStoreState, { getThisGame: (state: { dataLoaded: boolean; achievements: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; description: string; key: string; value: string; group: string; }[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; players: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; profile: { name?: string | undefined; sub?: string | undefined; slug?: string | undefined; token?: string | undefined; email?: string | undefined; locale?: string | undefined; nonce?: string | undefined; picture?: string | undefined; user_metadata?: { name: string; passcode: string; social: { reddit: string; instagram: string; twitter: string; imgur: string; discord: string; }; options: { skipSteps: boolean; }; credentials: { imgur: { clientId: string; clientSecret: string; refreshToken: string; }; sanity: { projectId: string; dataset: string; }; reddit: { clientId: string; clientSecret: string; username: string; password: string; }; }; } | undefined; zipcode?: string | undefined; address1?: string | undefined; address2?: string | undefined; city?: string | undefined; country?: string | undefined; isBikeTagAmbassador?: boolean | undefined; phone?: string | undefined; }; } & import("pinia").PiniaCustomStateProperties<BikeTagAdminStoreState>) => () => { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; ambassadors: string[]; settings: import("biketag/dist/common/schema").settingsArray; boundary: string; mainhash?: string | undefined; archivehash?: string | undefined; queuehash?: string | undefined; subreddit?: string | undefined; twitter?: string | undefined; logo: string; region: { slug: string; name: string; description: string; zipcode: number; }; } | null; getGame: (state: { dataLoaded: boolean; achievements: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; description: string; key: string; value: string; group: string; }[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; players: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; profile: { name?: string | undefined; sub?: string | undefined; slug?: string | undefined; token?: string | undefined; email?: string | undefined; locale?: string | undefined; nonce?: string | undefined; picture?: string | undefined; user_metadata?: { name: string; passcode: string; social: { reddit: string; instagram: string; twitter: string; imgur: string; discord: string; }; options: { skipSteps: boolean; }; credentials: { imgur: { clientId: string; clientSecret: string; refreshToken: string; }; sanity: { projectId: string; dataset: string; }; reddit: { clientId: string; clientSecret: string; username: string; password: string; }; }; } | undefined; zipcode?: string | undefined; address1?: string | undefined; address2?: string | undefined; city?: string | undefined; country?: string | undefined; isBikeTagAmbassador?: boolean | undefined; phone?: string | undefined; }; } & import("pinia").PiniaCustomStateProperties<BikeTagAdminStoreState>) => (game?: string) => { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; ambassadors: string[]; settings: import("biketag/dist/common/schema").settingsArray; boundary: string; mainhash?: string | undefined; archivehash?: string | undefined; queuehash?: string | undefined; subreddit?: string | undefined; twitter?: string | undefined; logo: string; region: { slug: string; name: string; description: string; zipcode: number; }; } | undefined; getGames: (state: { dataLoaded: boolean; achievements: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; description: string; key: string; value: string; group: string; }[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; players: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; profile: { name?: string | undefined; sub?: string | undefined; slug?: string | undefined; token?: string | undefined; email?: string | undefined; locale?: string | undefined; nonce?: string | undefined; picture?: string | undefined; user_metadata?: { name: string; passcode: string; social: { reddit: string; instagram: string; twitter: string; imgur: string; discord: string; }; options: { skipSteps: boolean; }; credentials: { imgur: { clientId: string; clientSecret: string; refreshToken: string; }; sanity: { projectId: string; dataset: string; }; reddit: { clientId: string; clientSecret: string; username: string; password: string; }; }; } | undefined; zipcode?: string | undefined; address1?: string | undefined; address2?: string | undefined; city?: string | undefined; country?: string | undefined; isBikeTagAmbassador?: boolean | undefined; phone?: string | undefined; }; } & import("pinia").PiniaCustomStateProperties<BikeTagAdminStoreState>) => { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; ambassadors: string[]; settings: import("biketag/dist/common/schema").settingsArray; boundary: string; mainhash?: string | undefined; archivehash?: string | undefined; queuehash?: string | undefined; subreddit?: string | undefined; twitter?: string | undefined; logo: string; region: { slug: string; name: string; description: string; zipcode: number; }; }[]; getTag: (state: { dataLoaded: boolean; achievements: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; description: string; key: string; value: string; group: string; }[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; players: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; profile: { name?: string | undefined; sub?: string | undefined; slug?: string | undefined; token?: string | undefined; email?: string | undefined; locale?: string | undefined; nonce?: string | undefined; picture?: string | undefined; user_metadata?: { name: string; passcode: string; social: { reddit: string; instagram: string; twitter: string; imgur: string; discord: string; }; options: { skipSteps: boolean; }; credentials: { imgur: { clientId: string; clientSecret: string; refreshToken: string; }; sanity: { projectId: string; dataset: string; }; reddit: { clientId: string; clientSecret: string; username: string; password: string; }; }; } | undefined; zipcode?: string | undefined; address1?: string | undefined; address2?: string | undefined; city?: string | undefined; country?: string | undefined; isBikeTagAmbassador?: boolean | undefined; phone?: string | undefined; }; } & import("pinia").PiniaCustomStateProperties<BikeTagAdminStoreState>) => (game: string, tagnumber: number) => Promise<Tag | undefined>; getTags: (state: { dataLoaded: boolean; achievements: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; description: string; key: string; value: string; group: string; }[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; players: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; profile: { name?: string | undefined; sub?: string | undefined; slug?: string | undefined; token?: string | undefined; email?: string | undefined; locale?: string | undefined; nonce?: string | undefined; picture?: string | undefined; user_metadata?: { name: string; passcode: string; social: { reddit: string; instagram: string; twitter: string; imgur: string; discord: string; }; options: { skipSteps: boolean; }; credentials: { imgur: { clientId: string; clientSecret: string; refreshToken: string; }; sanity: { projectId: string; dataset: string; }; reddit: { clientId: string; clientSecret: string; username: string; password: string; }; }; } | undefined; zipcode?: string | undefined; address1?: string | undefined; address2?: string | undefined; city?: string | undefined; country?: string | undefined; isBikeTagAmbassador?: boolean | undefined; phone?: string | undefined; }; } & import("pinia").PiniaCustomStateProperties<BikeTagAdminStoreState>) => (game: string) => Promise<Tag[]>; getPlayer: (state: { dataLoaded: boolean; achievements: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; description: string; key: string; value: string; group: string; }[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; players: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; profile: { name?: string | undefined; sub?: string | undefined; slug?: string | undefined; token?: string | undefined; email?: string | undefined; locale?: string | undefined; nonce?: string | undefined; picture?: string | undefined; user_metadata?: { name: string; passcode: string; social: { reddit: string; instagram: string; twitter: string; imgur: string; discord: string; }; options: { skipSteps: boolean; }; credentials: { imgur: { clientId: string; clientSecret: string; refreshToken: string; }; sanity: { projectId: string; dataset: string; }; reddit: { clientId: string; clientSecret: string; username: string; password: string; }; }; } | undefined; zipcode?: string | undefined; address1?: string | undefined; address2?: string | undefined; city?: string | undefined; country?: string | undefined; isBikeTagAmbassador?: boolean | undefined; phone?: string | undefined; }; } & import("pinia").PiniaCustomStateProperties<BikeTagAdminStoreState>) => (player: string) => { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; } | undefined; getPlayers: (state: { dataLoaded: boolean; achievements: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; description: string; key: string; value: string; group: string; }[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; players: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; profile: { name?: string | undefined; sub?: string | undefined; slug?: string | undefined; token?: string | undefined; email?: string | undefined; locale?: string | undefined; nonce?: string | undefined; picture?: string | undefined; user_metadata?: { name: string; passcode: string; social: { reddit: string; instagram: string; twitter: string; imgur: string; discord: string; }; options: { skipSteps: boolean; }; credentials: { imgur: { clientId: string; clientSecret: string; refreshToken: string; }; sanity: { projectId: string; dataset: string; }; reddit: { clientId: string; clientSecret: string; username: string; password: string; }; }; } | undefined; zipcode?: string | undefined; address1?: string | undefined; address2?: string | undefined; city?: string | undefined; country?: string | undefined; isBikeTagAmbassador?: boolean | undefined; phone?: string | undefined; }; } & import("pinia").PiniaCustomStateProperties<BikeTagAdminStoreState>) => () => { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; playersGames: (state: { dataLoaded: boolean; achievements: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; description: string; key: string; value: string; group: string; }[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; players: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; profile: { name?: string | undefined; sub?: string | undefined; slug?: string | undefined; token?: string | undefined; email?: string | undefined; locale?: string | undefined; nonce?: string | undefined; picture?: string | undefined; user_metadata?: { name: string; passcode: string; social: { reddit: string; instagram: string; twitter: string; imgur: string; discord: string; }; options: { skipSteps: boolean; }; credentials: { imgur: { clientId: string; clientSecret: string; refreshToken: string; }; sanity: { projectId: string; dataset: string; }; reddit: { clientId: string; clientSecret: string; username: string; password: string; }; }; } | undefined; zipcode?: string | undefined; address1?: string | undefined; address2?: string | undefined; city?: string | undefined; country?: string | undefined; isBikeTagAmbassador?: boolean | undefined; phone?: string | undefined; }; } & import("pinia").PiniaCustomStateProperties<BikeTagAdminStoreState>) => (player: string) => string[]; gamesPlayers: (state: { dataLoaded: boolean; achievements: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; description: string; key: string; value: string; group: string; }[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; players: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; profile: { name?: string | undefined; sub?: string | undefined; slug?: string | undefined; token?: string | undefined; email?: string | undefined; locale?: string | undefined; nonce?: string | undefined; picture?: string | undefined; user_metadata?: { name: string; passcode: string; social: { reddit: string; instagram: string; twitter: string; imgur: string; discord: string; }; options: { skipSteps: boolean; }; credentials: { imgur: { clientId: string; clientSecret: string; refreshToken: string; }; sanity: { projectId: string; dataset: string; }; reddit: { clientId: string; clientSecret: string; username: string; password: string; }; }; } | undefined; zipcode?: string | undefined; address1?: string | undefined; address2?: string | undefined; city?: string | undefined; country?: string | undefined; isBikeTagAmbassador?: boolean | undefined; phone?: string | undefined; }; } & import("pinia").PiniaCustomStateProperties<BikeTagAdminStoreState>) => (game: string) => { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; getAmbassador: (state: { dataLoaded: boolean; achievements: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; description: string; key: string; value: string; group: string; }[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; players: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; bicon: string; games: string[]; achievements: string[]; tags: { _id?: string | undefined; _type?: string | undefined; slug: string; name: string; tagnumber: number; mysteryPlayer: string; mysteryImage?: string | undefined; mysteryImageUrl: string; mysteryTime: number; foundPlayer: string; foundImage?: string | undefined; foundImageUrl: string; foundTime: number; foundLocation: string; confirmedBoundary: boolean; game: string; hint: string; discussionUrl?: string | undefined; mentionUrl?: string | undefined; shareUrl?: string | undefined; gps: { lat: number; long: number; alt: number; }; playerId?: string | undefined; }[]; metadata: { social: { reddit: string; imgur: string; discord: string; }; }; }[]; profile: { name?: string | undefined; sub?: string | undefined; slug?: string | undefined; token?: string | undefined; email?: string | undefined; locale?: string | undefined; nonce?: string | undefined; picture?: string | undefined; user_metadata?: { name: string; passcode: string; social: { reddit: string; instagram: string; twitter: string; imgur: string; discord: string; }; options: { skipSteps: boolean