This file contains 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 { z } from 'zod'; | |
const mySchema = z.object({ | |
limit: z.number().default(10), | |
offset: z.number().default(0), | |
filter: z.object({ | |
requested: z.boolean(), | |
pending: z.boolean(), | |
approved: z.boolean(), | |
removed: z.boolean(), |
This file contains 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
.DS_Store | |
node_modules | |
/build | |
/.svelte-kit | |
/package | |
.env | |
.env.* | |
!.env.example |
This file contains 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
html { | |
box-sizing: border-box; | |
font-size: 16px; | |
} | |
*, *:before, *:after { | |
box-sizing: inherit; | |
} | |
body, h1, h2, h3, h4, h5, h6, p, ol, ul { |
This file contains 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
{ | |
"arrowParens": "avoid", | |
"bracketSpacing": true, | |
"htmlWhitespaceSensitivity": "ignore", | |
"insertPragma": false, | |
"jsxBracketSameLine": false, | |
"jsxSingleQuote": true, | |
"printWidth": 80, | |
"proseWrap": "preserve", | |
"quoteProps": "consistent", |
This file contains 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
<style> | |
/* scss */ | |
.iframe-container { | |
overflow: hidden; | |
position: relative; | |
width: 100%; | |
&:after { | |
content: ''; | |
display: block; |
This file contains 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
# set aliases | |
git config --global alias.co checkout | |
git config --global alias.br branch | |
git config --global alias.st status | |
# list aliases | |
git config --get-regexp ^alias | |
# delete alias (e.g., delete st) | |
git config --global --unset alias.st |
This file contains 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
type Primitive = string | number | boolean | null | |
type JsonObject = { [k: string]: JsonValue } | |
type JsonArray = JsonValue[] | |
export type JsonValue = Primitive | JsonArray | JsonObject |
This file contains 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
docker exec -u postgres -it fc_db psql -d frontend_community |