So, in summary, we have:
packages/
app/
tsconfig.json
shared/
tsconfig.json
tsconfig.base.json
tsconfig.json
import { type CacheEntry, cachified } from '@epic-web/cachified' | |
import { distanceBetween, geohashQueryBounds } from 'geofire-common' | |
import * as jose from 'jose' | |
import { ofetch } from 'ofetch' | |
import { type Primitive } from 'type-fest' | |
import { env } from './env.js' | |
type UpdateData<T> = T extends Primitive | |
? T |
import { createRequestHandler } from '@remix-run/express' | |
import { broadcastDevReady } from '@remix-run/node' | |
import cookie from 'cookie' | |
import express from 'express' | |
import { getApp as getAdminApp } from 'firebase-admin/app' | |
import { getAuth as getAdminAuth } from 'firebase-admin/auth' | |
import { type FirebaseApp, deleteApp, initializeApp } from 'firebase/app' | |
import { getAuth, signInWithCustomToken } from 'firebase/auth' | |
import { LRUCache } from 'lru-cache' |
export type GestureHandler = ( | |
delta: { panX: number; panY: number; scale: number }, | |
event: PointerEvent, | |
) => { recalculate?: boolean } | void | |
export const gesture = ( | |
gestureArea: HTMLElement, | |
{ | |
activatableArea = gestureArea, | |
onEvent, |
import { Client, SearchClient } from 'typesense' | |
const TYPESENSE_HOST = '' | |
const TYPESENSE_PORT = 0 | |
const TYPESENSE_ADMIN_KEY = '' | |
const TYPESENSE_SEARCH_KEY = '' | |
const client = new Client({ | |
nodes: [ | |
{ |
const { join } = require('path') | |
const eslintSveltePreprocess = require('./eslint-svelte-preprocess') | |
module.exports = { | |
root: true, | |
env: { | |
node: true, | |
browser: true, | |
}, |
So, in summary, we have:
packages/
app/
tsconfig.json
shared/
tsconfig.json
tsconfig.base.json
tsconfig.json
import base64Url from 'base64-url' | |
import delve from 'dlv' | |
import { Collection, ObjectId } from 'mongodb' | |
// @ts-ignore | |
import * as EJSON from 'mongodb-extjson' | |
const DEFAULT_LIMIT = 25 | |
type CursorObject = { | |
readonly id: ObjectId |
import fs from 'fs' | |
/** | |
* Determines the maximum lp that will be tested. | |
* @example MAX = 10 // => '/dev/usb/lp9' | |
*/ | |
const MAX = 10 | |
/** | |
* How much to wait after each testing cycle. |