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
{ | |
"atomKeymap.promptV3Features": true, | |
"editor.bracketPairColorization.enabled": true, | |
"editor.fontFamily": "DroidSansMono Nerd Font, Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontSize": 16, | |
"editor.formatOnPaste": true, | |
"editor.guides.bracketPairs": "active", | |
"editor.letterSpacing": 0.6, | |
"editor.lineHeight": 26, | |
"editor.minimap.enabled": false, |
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
setopt PROMPT_SUBST | |
autoload -Uz vcs_info | |
alias updatezsh='source ~/.zshrc' | |
alias l='colorls --group-directories-first --almost-all' | |
alias ll='colorls --group-directories-first --almost-all --long' | |
source $(dirname $(gem which colorls))/tab_complete.sh | |
## Uses the zsh precmd function hook to set the tab title to the current working directory before each prompt | |
function precmd() { | |
window_title="\\033]0;${PWD##*/}\\007" |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// When a new tab is opened, use the user root as the CWD. | |
preserveCWD: false, | |
// choose either `'stable'` for receiving highly polished, |
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
## Stage 1 (multi environment base) | |
# This is our inital setup. The minimum for production while still | |
# allowing for other stages to build successfully (without production settings) | |
FROM node:10.16.3-alpine AS base | |
EXPOSE 3000 | |
ENV NODE_ENV=production | |
WORKDIR /opt | |
COPY package*.json ./ | |
RUN npm ci \ |
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
{ | |
"data": { | |
"allBudgets": [ | |
{ | |
"allocation": 1000, | |
"users": [] | |
}, | |
{ | |
"allocation": 1000, | |
"users": [] |
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
{ | |
allBudgets { | |
allocation | |
users { | |
id | |
name | |
} | |
} | |
} |
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
mutation CreateBudget1 { | |
createBudget( | |
allocation: 1000 | |
usersIds: ["cj5ivb8dh0d8a0182w3lv4z0e", "cj5iv6waql85f0130e5qnpqey"] | |
) { | |
id | |
} | |
} |
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
mutation CreateBudgetUser1 { | |
createBudgetUser( | |
name: "budgetUserTheFirst") { | |
id | |
} | |
} | |
mutation CreateBudgetUser2 { | |
createBudgetUser( | |
name: "budgetUserTheSecond") { |
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 BudgetUser { | |
createdAt: DateTime! | |
id: ID! @inUnique | |
name: String! @isUnique | |
updatedAt: DateTime! | |
budgets: [Budget!]! @relation(name: "UserBudgets") | |
} | |
type Budget { | |
createdAt: DateTime! |
NewerOlder