SagnikPradhan
Follow
Pinned Loading
-
-
GraphQL Client
GraphQL Client 1import { TypedDocumentString } from "~/graphql/graphql";
23import extractFiles, { ExtractableFile } from "extract-files/extractFiles.mjs";
4import isExtractableFile from "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 * as z from "zod"
34/**
5* useForm hook
-
π Custom error and error handler
π Custom error and error handler 1export class AppError extends Error {
2public readonly name: string;
3public readonly isOperational: boolean;
4public readonly cause?: Error;
5public readonly additionalProps: { [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 1export type Fn<Input = any, Output = any> = (input: Input) => Output;
23export type Chain<Fns extends Fn[]> =
4// We chain two functions at one time
5Fns extends [infer Fn1, infer Fn2, ...infer RestFns]
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.