This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import FirebaseFirestore | |
| /// A Codable representation of any JSON-compatible value | |
| enum AnyCodable: Codable, Equatable, Hashable { | |
| case null | |
| case bool(Bool) | |
| case int(Int) | |
| case double(Double) | |
| case string(String) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { join } = require('node:path'); | |
| const { writeFileSync } = require('node:fs'); | |
| const puppeteer = require('puppeteer'); | |
| const imageHtmlHead = () => { | |
| return ` | |
| <head> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Source+Serif+Pro&family=PT+Sans&display=swap" rel="stylesheet"> |