()
| 214 | |
| 215 | static async getRandomTexts(): Promise<string[]> { |
| 216 | await this.init(); |
| 217 | return this.db?.data?.random_texts ?? []; |
| 218 | } |
| 219 | |
| 220 | static async saveRandomTexts(texts: string[]): Promise<boolean> { |
| 221 | await this.init(); |
| 222 | try { |
no test coverage detected