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 userData = await storage.get(appleUid); | |
| if (!userData) { | |
| console.log(`[ERROR] User not found in persistent storage.`); | |
| res.sendStatus(404); | |
| return; | |
| } | |
| const response = { |
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
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "RawAppManifestAnyVersion", | |
| "description": "Container for any version of the manifest.", | |
| "oneOf": [ | |
| { | |
| "description": "A manifest with API version 1.", | |
| "type": "object", | |
| "required": [ | |
| "component", |
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
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "RawAppManifestAnyVersionImpl_for_TriggerConfig", | |
| "description": "New Spin manifest versioned with `spin_manifest_version` key", | |
| "type": "object", | |
| "required": [ | |
| "component", | |
| "name", | |
| "spin_manifest_version", | |
| "trigger", |
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
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "RawAppManifestAnyVersionImpl_for_TriggerConfig", | |
| "description": "New Spin manifest versioned with `spin_manifest_version` key", | |
| "type": "object", | |
| "required": [ | |
| "component", | |
| "name", | |
| "spin_manifest_version", | |
| "trigger", |
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 { Plugin } from "vite"; | |
| export default function bsodPlugin(): Plugin { | |
| return { | |
| name: 'vite-plugin-blue-screen-of-death', | |
| apply: 'serve', | |
| transformIndexHtml(html) { | |
| const css = `body { | |
| font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif; | |
| background: #3973aa; |
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 type { Dirent } from 'node:fs'; | |
| import { readFile, writeFile, glob, readdir } from 'node:fs/promises'; | |
| import * as path from 'node:path'; | |
| const ROOT = path.resolve(import.meta.dirname, '..'); | |
| const PACKAGE_JSON = 'package.json'; | |
| function parseJson(text: string): unknown { | |
| return JSON.parse(text); | |
| } |
OlderNewer