(s: StateStore)
| 50 | }; |
| 51 | |
| 52 | function storeKind(s: StateStore): "memory" | "postgres" | "redis" | "custom" { |
| 53 | const n = s.constructor?.name; |
| 54 | if (n === "MemoryStore") return "memory"; |
| 55 | if (n === "PostgresStore") return "postgres"; |
| 56 | if (n === "RedisStore") return "redis"; |
| 57 | return "custom"; |
| 58 | } |
| 59 | |
| 60 | /** Platforms whose tokens the emoji table can normalize. */ |
| 61 | const EMOJI_PLATFORMS: ReadonlySet<EmojiPlatform> = new Set([ |
no outgoing calls
no test coverage detected
searching dependent graphs…