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
| [ | |
| { | |
| "userId": 1, | |
| "id": 1, | |
| "title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit", | |
| "body": "quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto" | |
| }, | |
| { | |
| "userId": 1, | |
| "id": 2, |
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
| [ | |
| { | |
| "postId": 1, | |
| "id": 1, | |
| "name": "id labore ex et quam laborum", | |
| "email": "Eliseo@gardner.biz", | |
| "body": "laudantium enim quasi est quidem magnam voluptate ipsam eos\ntempora quo necessitatibus\ndolor quam autem quasi\nreiciendis et nam sapiente accusantium" | |
| }, | |
| { | |
| "postId": 1, |
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
| apiVersion: apps/v1beta2 | |
| kind: Deployment | |
| metadata: | |
| name: vte-example | |
| labels: | |
| app: vte-example | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: |
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
| type Replace<Target extends Record<string, any>, Value extends any> = { | |
| [Key in keyof Target]: Target[Key] extends object | |
| ? Replace<Target[Key], Value> | |
| : Value | |
| } |
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
| { | |
| "workbench.colorTheme": "One Dark Pro Bold", | |
| "editor.fontFamily": "'Fira Code'", | |
| "editor.fontLigatures": true, | |
| "window.zoomLevel": 0.9, | |
| "workbench.iconTheme": "file-icons", | |
| "workbench.statusBar.visible": false, | |
| "editor.minimap.enabled": false, | |
| "editor.scrollBeyondLastLine": false, | |
| "files.insertFinalNewline": true, |
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
Show hidden characters
| { | |
| "compilerOptions": { | |
| "target": "esnext", | |
| "module": "esnext", | |
| "lib": ["esnext"], | |
| "jsx": "preserve", | |
| "moduleResolution": "node", | |
| "allowSyntheticDefaultImports": true, | |
| "esModuleInterop": true, |
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 ava from 'ava' | |
| import nanoid from 'nanoid' | |
| import mongoose from 'mongoose' | |
| /* | |
| test wrapper for ava | |
| creates new database and drops it afterwards | |
| */ | |
| export const test = (message, cb) => | |
| ava(message, async (t) => { |
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
| export default { | |
| compileEnhancements: false, | |
| extensions: ['ts'], | |
| require: ['ts-node/register', 'tsconfig-paths/register'], | |
| sources: ['src/**/*'], | |
| } |
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
| { | |
| "compilerOptions": { | |
| "target": "esnext", | |
| "module": "none", | |
| "lib": ["dom", "esnext"], | |
| "jsx": "preserve", | |
| /* Module Resolution Options */ | |
| "moduleResolution": "node", | |
| "baseUrl": "./", |
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
| { | |
| "semi": false, | |
| "tabWidth": 2, | |
| "printWidth": 90, | |
| "singleQuote": true, | |
| "trailingComma": "all", | |
| "bracketSpacing": true, | |
| "jsxBracketSameLine": false, | |
| "arrowParens": "always", | |
| "parser": "typescript", |