PinnedLoading
- GraphQL Client
GraphQL Client 1import{TypedDocumentString}from"~/graphql/graphql";
23importextractFiles,{ExtractableFile}from"extract-files/extractFiles.mjs";
4importisExtractableFilefrom"extract-files/isExtractableFile.mjs";
5import{ExecutionResult}from"graphql";
- 🎣 useForm hook. Simple as it can get
🎣 useForm hook. Simple as it can get 1import{Dispatch,useReducer}from"react"
2import*aszfrom"zod"
34/**
5* useForm hook
- 💀 Custom error and error handler
💀 Custom error and error handler 1exportclassAppErrorextendsError{
2publicreadonlyname:string;
3publicreadonlyisOperational:boolean;
4publicreadonlycause?:Error;
5publicreadonlyadditionalProps:{[additionalProps:string]:unknown};
- 🗄️ Back up a postgres database runni...
🗄️ Back up a postgres database running inside a docker container to S3 1#!/bin/bash
23set -e
4set -o pipefail
5 - ⛓️ Chain functions as arrays
⛓️ Chain functions as arrays 1exporttypeFn<Input=any,Output=any>=(input:Input)=>Output;
23exporttypeChain<FnsextendsFn[]>=
4// We chain two functions at one time
5Fnsextends[inferFn1, inferFn2, ...inferRestFns]
Something went wrong, please refresh the page to try again.
If the problem persists, check theGitHub status page orcontact support.
If the problem persists, check theGitHub status page orcontact support.