From 380b908ad8d2af60cc05d9d806f49ba45edef832 Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 18 Dec 2019 16:41:58 +0000 Subject: [PATCH 1/3] Add npm-run-parallel to run validate script --- .eslintignore | 2 - .gitignore | 1 + .prettierignore | 2 - lint-staged.config.js | 5 +- package.json | 12 ++- yarn.lock | 206 +++++++++++++----------------------------- 6 files changed, 72 insertions(+), 156 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .prettierignore diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 2041a34..0000000 --- a/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -prisma/generated/ -__playground__/ diff --git a/.gitignore b/.gitignore index 1d235be..c586f8e 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,4 @@ typings/ .next __playground__/ +prisma/generated diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 6a45f2f..0000000 --- a/.prettierignore +++ /dev/null @@ -1,2 +0,0 @@ -.next/ -prisma/generated/ \ No newline at end of file diff --git a/lint-staged.config.js b/lint-staged.config.js index 5df1181..335c186 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -7,10 +7,9 @@ module.exports = { .map(filename => `"${isWin ? filename : escape([filename])}"`) .join(' ') return [ + `tsc -p tsconfig.json`, `prettier --write ${escapedFileNames}`, - `jest --config test/jest.lint.js --passWithNoTests ${filenames - .map(f => `"${f}"`) - .join(' ')}`, + `jest --config test/jest.lint.js --passWithNoTests ${escapedFileNames}`, `git add ${escapedFileNames}`, ] }, diff --git a/package.json b/package.json index 33c429c..cfc0ba3 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,15 @@ "==next==": "------------------------------------------------------------------------------------------", "dev:nodemon": " nodemon --exec \"env-cmd -f ./.config/dev.env node --inspect server.js\" -w ./server.js -w ./next.config.js -w ./.config/dev.env", "build": "NODE_ENV=production next build", + "heroku-postbuild": "yarn schema && NODE_ENV=production next build", "start": "NODE_ENV=production node server.js", "==lint&format==": "-----------------------------------------------------------------------------------", "lint": "jest --config test/jest.lint.js", - "format": "npm run prettier -- --write", "prettier": "prettier \"**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)\"", - "validate": "npm run lint && npm run prettier -- --list-different", + "format": "yarn prettier --write", + "check-format": "yarn prettier --list-different --ignore-path .gitignore", + "check-types": "tsc -p tsconfig.json", + "validate": "npm-run-all --parallel check-types check-format lint", "==docker&prisma==": "---------------------------------------------------------------------------------", "up": "docker-compose up -d", "down": "docker-compose down --remove-orphans", @@ -44,7 +47,8 @@ "ext": [ ".js", ".ts" - ] + ], + "ignorePath": ".gitignore" } }, "dependencies": { @@ -91,7 +95,6 @@ "@typescript-eslint/eslint-plugin": "^2.9.0", "@typescript-eslint/parser": "^2.9.0", "autoprefixer": "^9.7.1", - "concurrently": "^5.0.0", "env-cmd": "^10.0.1", "eslint": "^6.6.0", "eslint-config-kentcdodds": "^14.6.1", @@ -102,6 +105,7 @@ "jest-runner-eslint": "^0.7.5", "lint-staged": "^9.4.3", "nodemon": "^1.19.4", + "npm-run-all": "^4.1.5", "postcss-import": "^12.0.1", "prettier": "^1.19.1", "shell-quote": "^1.7.2", diff --git a/yarn.lock b/yarn.lock index f4f267d..b10390a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2933,15 +2933,6 @@ clipboardy@^1.2.3: arch "^2.1.0" execa "^0.8.0" -cliui@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" - integrity sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ== - dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" - cliui@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" @@ -3096,21 +3087,6 @@ concat-stream@^1.4.7, concat-stream@^1.5.0: readable-stream "^2.2.2" typedarray "^0.0.6" -concurrently@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/concurrently/-/concurrently-5.0.0.tgz#99c7567d009411fbdc98299d553c4b99a978612c" - integrity sha512-1yDvK8mduTIdxIxV9C60KoiOySUl/lfekpdbI+U5GXaPrgdffEavFa9QZB3vh68oWOpbCC+TuvxXV9YRPMvUrA== - dependencies: - chalk "^2.4.2" - date-fns "^2.0.1" - lodash "^4.17.15" - read-pkg "^4.0.1" - rxjs "^6.5.2" - spawn-command "^0.0.2-1" - supports-color "^4.5.0" - tree-kill "^1.2.1" - yargs "^12.0.5" - conf@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/conf/-/conf-5.0.0.tgz#6530308a36041bf010ab96b05a0f4aff5101c65d" @@ -3564,11 +3540,6 @@ date-fns@^1.27.2: resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== -date-fns@^2.0.1: - version "2.7.0" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.7.0.tgz#8271d943cc4636a1f27698f1b8d6a9f1ceb74026" - integrity sha512-wxYp2PGoUDN5ZEACc61aOtYFvSsJUylIvCjpjDOqM1UDaKIIuMJ9fAnMYFHV3TQaDpfTVxhwNK/GiCaHKuemTA== - dayjs@^1.8.17: version "1.8.17" resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.8.17.tgz#53ec413f2a7b02afbea1846d61bb260fa8567cea" @@ -4019,7 +3990,24 @@ es-abstract@^1.12.0, es-abstract@^1.15.0, es-abstract@^1.5.1, es-abstract@^1.7.0 string.prototype.trimleft "^2.1.0" string.prototype.trimright "^2.1.0" -es-to-primitive@^1.2.0: +es-abstract@^1.17.0-next.1: + version "1.17.0-next.1" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.0-next.1.tgz#94acc93e20b05a6e96dacb5ab2f1cb3a81fc2172" + integrity sha512-7MmGr03N7Rnuid6+wyhD9sHNE2n4tFSwExnU2lQl3lIo2ShXWGePY80zYaoMOmILWv57H0amMjZGHNzzGG70Rw== + dependencies: + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.1" + is-callable "^1.1.4" + is-regex "^1.0.4" + object-inspect "^1.7.0" + object-keys "^1.1.1" + object.assign "^4.1.0" + string.prototype.trimleft "^2.1.0" + string.prototype.trimright "^2.1.0" + +es-to-primitive@^1.2.0, es-to-primitive@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== @@ -4989,11 +4977,6 @@ gauge@~2.7.3: strip-ansi "^3.0.1" wide-align "^1.1.0" -get-caller-file@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" - integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== - get-caller-file@^2.0.1: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" @@ -5315,6 +5298,11 @@ has-symbols@^1.0.0: resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q= +has-symbols@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8" + integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg== + has-unicode@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" @@ -5704,11 +5692,6 @@ invariant@^2.2.2, invariant@^2.2.4: dependencies: loose-envify "^1.0.0" -invert-kv@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" - integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== - ipaddr.js@1.9.0: version "1.9.0" resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65" @@ -6746,13 +6729,6 @@ lazystream@^1.0.0: dependencies: readable-stream "^2.0.5" -lcid@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" - integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== - dependencies: - invert-kv "^2.0.0" - left-pad@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" @@ -7183,13 +7159,6 @@ mamacro@^0.0.3: resolved "https://registry.yarnpkg.com/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4" integrity sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA== -map-age-cleaner@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a" - integrity sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w== - dependencies: - p-defer "^1.0.0" - map-cache@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" @@ -7242,15 +7211,6 @@ media-typer@0.3.0: resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= -mem@^4.0.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178" - integrity sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w== - dependencies: - map-age-cleaner "^0.1.1" - mimic-fn "^2.0.0" - p-is-promise "^2.0.0" - memoize-one@^5.0.0: version "5.1.1" resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-5.1.1.tgz#047b6e3199b508eaec03504de71229b8eb1d75c0" @@ -7282,6 +7242,11 @@ memory-pager@^1.0.2: resolved "https://registry.yarnpkg.com/memory-pager/-/memory-pager-1.5.0.tgz#d8751655d22d384682741c972f2c3d6dfa3e66b5" integrity sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg== +memorystream@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" + integrity sha1-htcJCzDORV1j+64S3aUaR93K+bI= + merge-anything@^2.2.4: version "2.4.1" resolved "https://registry.yarnpkg.com/merge-anything/-/merge-anything-2.4.1.tgz#e9bccaec1e49ec6cb5f77ca78c5770d1a35315e6" @@ -7381,7 +7346,7 @@ mimic-fn@^1.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== -mimic-fn@^2.0.0, mimic-fn@^2.1.0: +mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== @@ -7969,6 +7934,21 @@ npm-path@^2.0.2, npm-path@^2.0.3: dependencies: which "^1.2.10" +npm-run-all@^4.1.5: + version "4.1.5" + resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba" + integrity sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ== + dependencies: + ansi-styles "^3.2.1" + chalk "^2.4.1" + cross-spawn "^6.0.5" + memorystream "^0.3.1" + minimatch "^3.0.4" + pidtree "^0.3.0" + read-pkg "^3.0.0" + shell-quote "^1.6.1" + string.prototype.padend "^3.0.0" + npm-run-path@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" @@ -8058,7 +8038,7 @@ object-hash@^2.0.0: resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-2.0.0.tgz#7c4cc341eb8b53367312a7c546142f00c9e0ea20" integrity sha512-I7zGBH0rDKwVGeGZpZoFaDhIwvJa3l1CZE+8VchylXbInNiCj7sxxea9P5dTM4ftKR5//nrqxrdeGSTWL2VpBA== -object-inspect@^1.6.0: +object-inspect@^1.6.0, object-inspect@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" integrity sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw== @@ -8237,15 +8217,6 @@ os-homedir@^1.0.0: resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= -os-locale@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a" - integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q== - dependencies: - execa "^1.0.0" - lcid "^2.0.0" - mem "^4.0.0" - os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -8278,11 +8249,6 @@ p-cancelable@^2.0.0: resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.0.0.tgz#4a3740f5bdaf5ed5d7c3e34882c6fb5d6b266a6e" integrity sha512-wvPXDmbMmu2ksjkB4Z3nZWTSkJEb9lqVdMaCKpZUGJG9TMiNp9XcbG3fn9fPKjem04fJMJnXoyFPk2FmgiaiNg== -p-defer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" - integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww= - p-each-series@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-each-series/-/p-each-series-1.0.0.tgz#930f3d12dd1f50e7434457a22cd6f04ac6ad7f71" @@ -8300,11 +8266,6 @@ p-finally@^2.0.0: resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-2.0.1.tgz#bd6fcaa9c559a096b680806f4d657b3f0f240561" integrity sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw== -p-is-promise@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-2.1.0.tgz#918cebaea248a62cf7ffab8e3bca8c5f882fc42e" - integrity sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg== - p-limit@^1.0.0, p-limit@^1.1.0: version "1.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" @@ -8692,6 +8653,11 @@ picomatch@^2.0.5: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.1.1.tgz#ecdfbea7704adb5fe6fb47f9866c4c0e15e905c5" integrity sha512-OYMyqkKzK7blWO/+XZYP6w8hH0LDvkBvdvKukti+7kqYFCiEAk+gI3DWnryapc0Dau05ugGTy0foQ6mqn4AHYA== +pidtree@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.0.tgz#f6fada10fccc9f99bf50e90d0b23d72c9ebc2e6b" + integrity sha512-9CT4NFlDcosssyg8KVFltgokyKZIFjoBxw8CTGy+5F38Y1eQWrt8tRayiUOXE+zVKQnYu5BR8JjCtvK3BcnBhg== + pify@^2.0.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -9901,15 +9867,6 @@ read-pkg@^3.0.0: normalize-package-data "^2.3.2" path-type "^3.0.0" -read-pkg@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-4.0.1.tgz#963625378f3e1c4d48c85872b5a6ec7d5d093237" - integrity sha1-ljYlN48+HE1IyFhytabsfV0JMjc= - dependencies: - normalize-package-data "^2.3.2" - parse-json "^4.0.0" - pify "^3.0.0" - read-pkg@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" @@ -10169,11 +10126,6 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= -require-main-filename@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" - integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE= - require-main-filename@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" @@ -10334,7 +10286,7 @@ rwlockfile@^1.4.8: dependencies: fs-extra "^5.0.0" -rxjs@^6.3.3, rxjs@^6.4.0, rxjs@^6.5.2: +rxjs@^6.3.3, rxjs@^6.4.0: version "6.5.3" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.3.tgz#510e26317f4db91a7eb1de77d9dd9ba0a4899a3a" integrity sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA== @@ -10718,11 +10670,6 @@ sparse-bitfield@^3.0.3: dependencies: memory-pager "^1.0.2" -spawn-command@^0.0.2-1: - version "0.0.2-1" - resolved "https://registry.yarnpkg.com/spawn-command/-/spawn-command-0.0.2-1.tgz#62f5e9466981c1b796dc5929937e11c9c6921bd0" - integrity sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A= - spdx-correct@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" @@ -10931,6 +10878,14 @@ string-width@^4.1.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" +string.prototype.padend@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.0.tgz#dc08f57a8010dc5c153550318f67e13adbb72ac3" + integrity sha512-3aIv8Ffdp8EZj8iLwREGpQaUZiPyrWrpzMBHvkiSW/bK/EGve9np07Vwy7IJ5waydpGXzQZu/F8Oze2/IWkBaA== + dependencies: + define-properties "^1.1.3" + es-abstract "^1.17.0-next.1" + string.prototype.trimleft@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz#6cc47f0d7eb8d62b0f3701611715a3954591d634" @@ -11098,7 +11053,7 @@ supports-color@^2.0.0: resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= -supports-color@^4.4.0, supports-color@^4.5.0: +supports-color@^4.4.0: version "4.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" integrity sha1-vnoN5ITexcXN34s9WRJQRJEvY1s= @@ -11442,11 +11397,6 @@ traverse@0.6.6: resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137" integrity sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc= -tree-kill@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.1.tgz#5398f374e2f292b9dcc7b2e71e30a5c3bb6c743a" - integrity sha512-4hjqbObwlh2dLyW4tcz0Ymw0ggoaVDMveUB9w8kFSQScdRLo0gxO9J7WFcUBo+W3C1TLdFIEwNOWebgZZ0RH9Q== - treeify@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/treeify/-/treeify-1.1.0.tgz#4e31c6a463accd0943879f30667c4fdaff411bb8" @@ -12265,14 +12215,6 @@ worker-rpc@^0.1.0: dependencies: microevent.ts "~0.1.1" -wrap-ansi@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" - integrity sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU= - dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" - wrap-ansi@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-3.0.1.tgz#288a04d87eda5c286e060dfe8f135ce8d007f8ba" @@ -12388,7 +12330,7 @@ xtend@^4.0.0, xtend@~4.0.1: resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== -"y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0: +y18n@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== @@ -12408,14 +12350,6 @@ yaml-ast-parser@^0.0.40: resolved "https://registry.yarnpkg.com/yaml-ast-parser/-/yaml-ast-parser-0.0.40.tgz#08536d4e73d322b1c9ce207ab8dd70e04d20ae6e" integrity sha1-CFNtTnPTIrHJziB6uN1w4E0grm4= -yargs-parser@^11.1.1: - version "11.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4" - integrity sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - yargs-parser@^13.1.1: version "13.1.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" @@ -12424,24 +12358,6 @@ yargs-parser@^13.1.1: camelcase "^5.0.0" decamelize "^1.2.0" -yargs@^12.0.5: - version "12.0.5" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" - integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== - dependencies: - cliui "^4.0.0" - decamelize "^1.2.0" - find-up "^3.0.0" - get-caller-file "^1.0.1" - os-locale "^3.0.0" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^2.0.0" - which-module "^2.0.0" - y18n "^3.2.1 || ^4.0.0" - yargs-parser "^11.1.1" - yargs@^13.3.0: version "13.3.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83" From e153338bc9cd32bce4c0c4e7cb5fba7844a3d3b4 Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 18 Dec 2019 16:45:19 +0000 Subject: [PATCH 2/3] Remove generated files --- .gitignore | 1 - prisma/generated/js/index.d.ts | 3852 ------------------------- prisma/generated/js/index.js | 42 - prisma/generated/js/prisma-schema.js | 2369 ---------------- prisma/generated/ts/index.ts | 3858 -------------------------- prisma/generated/ts/prisma-schema.ts | 2366 ---------------- 6 files changed, 12488 deletions(-) delete mode 100644 prisma/generated/js/index.d.ts delete mode 100644 prisma/generated/js/index.js delete mode 100644 prisma/generated/js/prisma-schema.js delete mode 100644 prisma/generated/ts/index.ts delete mode 100644 prisma/generated/ts/prisma-schema.ts diff --git a/.gitignore b/.gitignore index c586f8e..1d235be 100644 --- a/.gitignore +++ b/.gitignore @@ -66,4 +66,3 @@ typings/ .next __playground__/ -prisma/generated diff --git a/prisma/generated/js/index.d.ts b/prisma/generated/js/index.d.ts deleted file mode 100644 index 382d838..0000000 --- a/prisma/generated/js/index.d.ts +++ /dev/null @@ -1,3852 +0,0 @@ -// Code generated by Prisma (prisma@1.34.10). DO NOT EDIT. -// Please don't change this file manually but run `prisma generate` to update it. -// For more information, please read the docs: https://www.prisma.io/docs/prisma-client/ - -import { DocumentNode } from "graphql"; -import { - makePrismaClientClass, - BaseClientOptions, - Model -} from "prisma-client-lib"; -import { typeDefs } from "./prisma-schema"; - -export type AtLeastOne }> = Partial & - U[keyof U]; - -export type Maybe = T | undefined | null; - -export interface Exists { - category: (where?: CategoryWhereInput) => Promise; - child: (where?: ChildWhereInput) => Promise; - meal: (where?: MealWhereInput) => Promise; - project: (where?: ProjectWhereInput) => Promise; - proportion: (where?: ProportionWhereInput) => Promise; - tag: (where?: TagWhereInput) => Promise; - user: (where?: UserWhereInput) => Promise; -} - -export interface Node {} - -export type FragmentableArray = Promise> & Fragmentable; - -export interface Fragmentable { - $fragment(fragment: string | DocumentNode): Promise; -} - -export interface Prisma { - $exists: Exists; - $graphql: ( - query: string, - variables?: { [key: string]: any } - ) => Promise; - - /** - * Queries - */ - - category: (where: CategoryWhereUniqueInput) => CategoryNullablePromise; - categories: (args?: { - where?: CategoryWhereInput; - orderBy?: CategoryOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - categoriesConnection: (args?: { - where?: CategoryWhereInput; - orderBy?: CategoryOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => CategoryConnectionPromise; - child: (where: ChildWhereUniqueInput) => ChildNullablePromise; - children: (args?: { - where?: ChildWhereInput; - orderBy?: ChildOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - childrenConnection: (args?: { - where?: ChildWhereInput; - orderBy?: ChildOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => ChildConnectionPromise; - meal: (where: MealWhereUniqueInput) => MealNullablePromise; - meals: (args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - mealsConnection: (args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => MealConnectionPromise; - project: (where: ProjectWhereUniqueInput) => ProjectNullablePromise; - projects: (args?: { - where?: ProjectWhereInput; - orderBy?: ProjectOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - projectsConnection: (args?: { - where?: ProjectWhereInput; - orderBy?: ProjectOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => ProjectConnectionPromise; - proportion: (where: ProportionWhereUniqueInput) => ProportionNullablePromise; - proportions: (args?: { - where?: ProportionWhereInput; - orderBy?: ProportionOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - proportionsConnection: (args?: { - where?: ProportionWhereInput; - orderBy?: ProportionOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => ProportionConnectionPromise; - tag: (where: TagWhereUniqueInput) => TagNullablePromise; - tags: (args?: { - where?: TagWhereInput; - orderBy?: TagOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - tagsConnection: (args?: { - where?: TagWhereInput; - orderBy?: TagOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => TagConnectionPromise; - user: (where: UserWhereUniqueInput) => UserNullablePromise; - users: (args?: { - where?: UserWhereInput; - orderBy?: UserOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - usersConnection: (args?: { - where?: UserWhereInput; - orderBy?: UserOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => UserConnectionPromise; - node: (args: { id: ID_Output }) => Node; - - /** - * Mutations - */ - - createCategory: (data: CategoryCreateInput) => CategoryPromise; - updateCategory: (args: { - data: CategoryUpdateInput; - where: CategoryWhereUniqueInput; - }) => CategoryPromise; - updateManyCategories: (args: { - data: CategoryUpdateManyMutationInput; - where?: CategoryWhereInput; - }) => BatchPayloadPromise; - upsertCategory: (args: { - where: CategoryWhereUniqueInput; - create: CategoryCreateInput; - update: CategoryUpdateInput; - }) => CategoryPromise; - deleteCategory: (where: CategoryWhereUniqueInput) => CategoryPromise; - deleteManyCategories: (where?: CategoryWhereInput) => BatchPayloadPromise; - createChild: (data: ChildCreateInput) => ChildPromise; - updateChild: (args: { - data: ChildUpdateInput; - where: ChildWhereUniqueInput; - }) => ChildPromise; - updateManyChildren: (args: { - data: ChildUpdateManyMutationInput; - where?: ChildWhereInput; - }) => BatchPayloadPromise; - upsertChild: (args: { - where: ChildWhereUniqueInput; - create: ChildCreateInput; - update: ChildUpdateInput; - }) => ChildPromise; - deleteChild: (where: ChildWhereUniqueInput) => ChildPromise; - deleteManyChildren: (where?: ChildWhereInput) => BatchPayloadPromise; - createMeal: (data: MealCreateInput) => MealPromise; - updateMeal: (args: { - data: MealUpdateInput; - where: MealWhereUniqueInput; - }) => MealPromise; - updateManyMeals: (args: { - data: MealUpdateManyMutationInput; - where?: MealWhereInput; - }) => BatchPayloadPromise; - upsertMeal: (args: { - where: MealWhereUniqueInput; - create: MealCreateInput; - update: MealUpdateInput; - }) => MealPromise; - deleteMeal: (where: MealWhereUniqueInput) => MealPromise; - deleteManyMeals: (where?: MealWhereInput) => BatchPayloadPromise; - createProject: (data: ProjectCreateInput) => ProjectPromise; - updateProject: (args: { - data: ProjectUpdateInput; - where: ProjectWhereUniqueInput; - }) => ProjectPromise; - updateManyProjects: (args: { - data: ProjectUpdateManyMutationInput; - where?: ProjectWhereInput; - }) => BatchPayloadPromise; - upsertProject: (args: { - where: ProjectWhereUniqueInput; - create: ProjectCreateInput; - update: ProjectUpdateInput; - }) => ProjectPromise; - deleteProject: (where: ProjectWhereUniqueInput) => ProjectPromise; - deleteManyProjects: (where?: ProjectWhereInput) => BatchPayloadPromise; - createProportion: (data: ProportionCreateInput) => ProportionPromise; - updateProportion: (args: { - data: ProportionUpdateInput; - where: ProportionWhereUniqueInput; - }) => ProportionPromise; - updateManyProportions: (args: { - data: ProportionUpdateManyMutationInput; - where?: ProportionWhereInput; - }) => BatchPayloadPromise; - upsertProportion: (args: { - where: ProportionWhereUniqueInput; - create: ProportionCreateInput; - update: ProportionUpdateInput; - }) => ProportionPromise; - deleteProportion: (where: ProportionWhereUniqueInput) => ProportionPromise; - deleteManyProportions: (where?: ProportionWhereInput) => BatchPayloadPromise; - createTag: (data: TagCreateInput) => TagPromise; - updateTag: (args: { - data: TagUpdateInput; - where: TagWhereUniqueInput; - }) => TagPromise; - updateManyTags: (args: { - data: TagUpdateManyMutationInput; - where?: TagWhereInput; - }) => BatchPayloadPromise; - upsertTag: (args: { - where: TagWhereUniqueInput; - create: TagCreateInput; - update: TagUpdateInput; - }) => TagPromise; - deleteTag: (where: TagWhereUniqueInput) => TagPromise; - deleteManyTags: (where?: TagWhereInput) => BatchPayloadPromise; - createUser: (data: UserCreateInput) => UserPromise; - updateUser: (args: { - data: UserUpdateInput; - where: UserWhereUniqueInput; - }) => UserPromise; - updateManyUsers: (args: { - data: UserUpdateManyMutationInput; - where?: UserWhereInput; - }) => BatchPayloadPromise; - upsertUser: (args: { - where: UserWhereUniqueInput; - create: UserCreateInput; - update: UserUpdateInput; - }) => UserPromise; - deleteUser: (where: UserWhereUniqueInput) => UserPromise; - deleteManyUsers: (where?: UserWhereInput) => BatchPayloadPromise; - - /** - * Subscriptions - */ - - $subscribe: Subscription; -} - -export interface Subscription { - category: ( - where?: CategorySubscriptionWhereInput - ) => CategorySubscriptionPayloadSubscription; - child: ( - where?: ChildSubscriptionWhereInput - ) => ChildSubscriptionPayloadSubscription; - meal: ( - where?: MealSubscriptionWhereInput - ) => MealSubscriptionPayloadSubscription; - project: ( - where?: ProjectSubscriptionWhereInput - ) => ProjectSubscriptionPayloadSubscription; - proportion: ( - where?: ProportionSubscriptionWhereInput - ) => ProportionSubscriptionPayloadSubscription; - tag: ( - where?: TagSubscriptionWhereInput - ) => TagSubscriptionPayloadSubscription; - user: ( - where?: UserSubscriptionWhereInput - ) => UserSubscriptionPayloadSubscription; -} - -export interface ClientConstructor { - new (options?: BaseClientOptions): T; -} - -/** - * Types - */ - -export type MealOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "imageURL_ASC" - | "imageURL_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type ProjectOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "name_ASC" - | "name_DESC" - | "slug_ASC" - | "slug_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type UserOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "consentGDPR_ASC" - | "consentGDPR_DESC" - | "postCode_ASC" - | "postCode_DESC" - | "email_ASC" - | "email_DESC" - | "phoneNumber_ASC" - | "phoneNumber_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type ChildOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "age_ASC" - | "age_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type CategoryOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "name_ASC" - | "name_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type TagOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "name_ASC" - | "name_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type ProportionOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "name_ASC" - | "name_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type MutationType = "CREATED" | "UPDATED" | "DELETED"; - -export interface TagUpdateWithWhereUniqueWithoutMealsInput { - where: TagWhereUniqueInput; - data: TagUpdateWithoutMealsDataInput; -} - -export type CategoryWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; - name?: Maybe; -}>; - -export interface TagUpdateManyDataInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface CategoryWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - meals_every?: Maybe; - meals_some?: Maybe; - meals_none?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProportionUpdateOneWithoutFruitMealsInput { - create?: Maybe; - update?: Maybe; - upsert?: Maybe; - delete?: Maybe; - disconnect?: Maybe; - connect?: Maybe; -} - -export interface ProportionWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - fruitMeals_every?: Maybe; - fruitMeals_some?: Maybe; - fruitMeals_none?: Maybe; - vegMeals_every?: Maybe; - vegMeals_some?: Maybe; - vegMeals_none?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface UserUpdateWithoutMealsDataInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - projects?: Maybe; - children?: Maybe; - phoneNumber?: Maybe; -} - -export interface MealUpdateManyMutationInput { - airtableId?: Maybe; - imageURL?: Maybe; -} - -export interface ProjectUpdateManyWithoutUsersInput { - create?: Maybe< - ProjectCreateWithoutUsersInput[] | ProjectCreateWithoutUsersInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | ProjectUpdateWithWhereUniqueWithoutUsersInput[] - | ProjectUpdateWithWhereUniqueWithoutUsersInput - >; - upsert?: Maybe< - | ProjectUpsertWithWhereUniqueWithoutUsersInput[] - | ProjectUpsertWithWhereUniqueWithoutUsersInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - | ProjectUpdateManyWithWhereNestedInput[] - | ProjectUpdateManyWithWhereNestedInput - >; -} - -export interface ProportionUpdateWithoutFruitMealsDataInput { - airtableId?: Maybe; - name?: Maybe; - vegMeals?: Maybe; -} - -export interface ProjectUpdateWithWhereUniqueWithoutUsersInput { - where: ProjectWhereUniqueInput; - data: ProjectUpdateWithoutUsersDataInput; -} - -export interface TagSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProjectUpdateWithoutUsersDataInput { - airtableId?: Maybe; - name?: Maybe; - slug?: Maybe; -} - -export interface ProjectWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - slug?: Maybe; - slug_not?: Maybe; - slug_in?: Maybe; - slug_not_in?: Maybe; - slug_lt?: Maybe; - slug_lte?: Maybe; - slug_gt?: Maybe; - slug_gte?: Maybe; - slug_contains?: Maybe; - slug_not_contains?: Maybe; - slug_starts_with?: Maybe; - slug_not_starts_with?: Maybe; - slug_ends_with?: Maybe; - slug_not_ends_with?: Maybe; - users_every?: Maybe; - users_some?: Maybe; - users_none?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProjectUpsertWithWhereUniqueWithoutUsersInput { - where: ProjectWhereUniqueInput; - update: ProjectUpdateWithoutUsersDataInput; - create: ProjectCreateWithoutUsersInput; -} - -export interface MealSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProjectScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - slug?: Maybe; - slug_not?: Maybe; - slug_in?: Maybe; - slug_not_in?: Maybe; - slug_lt?: Maybe; - slug_lte?: Maybe; - slug_gt?: Maybe; - slug_gte?: Maybe; - slug_contains?: Maybe; - slug_not_contains?: Maybe; - slug_starts_with?: Maybe; - slug_not_starts_with?: Maybe; - slug_ends_with?: Maybe; - slug_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface MealWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - user?: Maybe; - imageURL?: Maybe; - imageURL_not?: Maybe; - imageURL_in?: Maybe; - imageURL_not_in?: Maybe; - imageURL_lt?: Maybe; - imageURL_lte?: Maybe; - imageURL_gt?: Maybe; - imageURL_gte?: Maybe; - imageURL_contains?: Maybe; - imageURL_not_contains?: Maybe; - imageURL_starts_with?: Maybe; - imageURL_not_starts_with?: Maybe; - imageURL_ends_with?: Maybe; - imageURL_not_ends_with?: Maybe; - categories_every?: Maybe; - categories_some?: Maybe; - categories_none?: Maybe; - tags_every?: Maybe; - tags_some?: Maybe; - tags_none?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProjectUpdateManyWithWhereNestedInput { - where: ProjectScalarWhereInput; - data: ProjectUpdateManyDataInput; -} - -export interface CategorySubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe< - CategorySubscriptionWhereInput[] | CategorySubscriptionWhereInput - >; - OR?: Maybe; - NOT?: Maybe< - CategorySubscriptionWhereInput[] | CategorySubscriptionWhereInput - >; -} - -export interface ProjectUpdateManyDataInput { - airtableId?: Maybe; - name?: Maybe; - slug?: Maybe; -} - -export interface UserUpdateInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - meals?: Maybe; - projects?: Maybe; - children?: Maybe; - phoneNumber?: Maybe; -} - -export interface ChildUpdateManyWithoutParentInput { - create?: Maybe< - ChildCreateWithoutParentInput[] | ChildCreateWithoutParentInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | ChildUpdateWithWhereUniqueWithoutParentInput[] - | ChildUpdateWithWhereUniqueWithoutParentInput - >; - upsert?: Maybe< - | ChildUpsertWithWhereUniqueWithoutParentInput[] - | ChildUpsertWithWhereUniqueWithoutParentInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - ChildUpdateManyWithWhereNestedInput[] | ChildUpdateManyWithWhereNestedInput - >; -} - -export interface TagUpdateManyMutationInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface ChildUpdateWithWhereUniqueWithoutParentInput { - where: ChildWhereUniqueInput; - data: ChildUpdateWithoutParentDataInput; -} - -export interface MealUpsertWithWhereUniqueWithoutTagsInput { - where: MealWhereUniqueInput; - update: MealUpdateWithoutTagsDataInput; - create: MealCreateWithoutTagsInput; -} - -export interface ChildUpdateWithoutParentDataInput { - airtableId?: Maybe; - age?: Maybe; -} - -export interface MealUpdateWithWhereUniqueWithoutTagsInput { - where: MealWhereUniqueInput; - data: MealUpdateWithoutTagsDataInput; -} - -export interface ChildUpsertWithWhereUniqueWithoutParentInput { - where: ChildWhereUniqueInput; - update: ChildUpdateWithoutParentDataInput; - create: ChildCreateWithoutParentInput; -} - -export interface MealUpdateManyWithoutTagsInput { - create?: Maybe; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | MealUpdateWithWhereUniqueWithoutTagsInput[] - | MealUpdateWithWhereUniqueWithoutTagsInput - >; - upsert?: Maybe< - | MealUpsertWithWhereUniqueWithoutTagsInput[] - | MealUpsertWithWhereUniqueWithoutTagsInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - MealUpdateManyWithWhereNestedInput[] | MealUpdateManyWithWhereNestedInput - >; -} - -export interface ChildScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - age?: Maybe; - age_not?: Maybe; - age_in?: Maybe; - age_not_in?: Maybe; - age_lt?: Maybe; - age_lte?: Maybe; - age_gt?: Maybe; - age_gte?: Maybe; - age_contains?: Maybe; - age_not_contains?: Maybe; - age_starts_with?: Maybe; - age_not_starts_with?: Maybe; - age_ends_with?: Maybe; - age_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface MealCreateWithoutTagsInput { - id?: Maybe; - airtableId?: Maybe; - user: UserCreateOneWithoutMealsInput; - imageURL: String; - categories?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface ChildUpdateManyWithWhereNestedInput { - where: ChildScalarWhereInput; - data: ChildUpdateManyDataInput; -} - -export interface MealCreateManyWithoutTagsInput { - create?: Maybe; - connect?: Maybe; -} - -export interface ChildUpdateManyDataInput { - airtableId?: Maybe; - age?: Maybe; -} - -export interface ProportionUpdateManyMutationInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface UserUpsertWithoutMealsInput { - update: UserUpdateWithoutMealsDataInput; - create: UserCreateWithoutMealsInput; -} - -export interface ProportionUpdateInput { - airtableId?: Maybe; - name?: Maybe; - fruitMeals?: Maybe; - vegMeals?: Maybe; -} - -export interface TagUpdateManyWithoutMealsInput { - create?: Maybe; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | TagUpdateWithWhereUniqueWithoutMealsInput[] - | TagUpdateWithWhereUniqueWithoutMealsInput - >; - upsert?: Maybe< - | TagUpsertWithWhereUniqueWithoutMealsInput[] - | TagUpsertWithWhereUniqueWithoutMealsInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - TagUpdateManyWithWhereNestedInput[] | TagUpdateManyWithWhereNestedInput - >; -} - -export interface ProjectUpdateManyMutationInput { - airtableId?: Maybe; - name?: Maybe; - slug?: Maybe; -} - -export interface ProjectUpdateInput { - airtableId?: Maybe; - name?: Maybe; - slug?: Maybe; - users?: Maybe; -} - -export type TagWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; - name?: Maybe; -}>; - -export interface TagUpdateWithoutMealsDataInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface UserScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - consentGDPR?: Maybe; - consentGDPR_not?: Maybe; - postCode?: Maybe; - postCode_not?: Maybe; - postCode_in?: Maybe; - postCode_not_in?: Maybe; - postCode_lt?: Maybe; - postCode_lte?: Maybe; - postCode_gt?: Maybe; - postCode_gte?: Maybe; - postCode_contains?: Maybe; - postCode_not_contains?: Maybe; - postCode_starts_with?: Maybe; - postCode_not_starts_with?: Maybe; - postCode_ends_with?: Maybe; - postCode_not_ends_with?: Maybe; - email?: Maybe; - email_not?: Maybe; - email_in?: Maybe; - email_not_in?: Maybe; - email_lt?: Maybe; - email_lte?: Maybe; - email_gt?: Maybe; - email_gte?: Maybe; - email_contains?: Maybe; - email_not_contains?: Maybe; - email_starts_with?: Maybe; - email_not_starts_with?: Maybe; - email_ends_with?: Maybe; - email_not_ends_with?: Maybe; - phoneNumber?: Maybe; - phoneNumber_not?: Maybe; - phoneNumber_in?: Maybe; - phoneNumber_not_in?: Maybe; - phoneNumber_lt?: Maybe; - phoneNumber_lte?: Maybe; - phoneNumber_gt?: Maybe; - phoneNumber_gte?: Maybe; - phoneNumber_contains?: Maybe; - phoneNumber_not_contains?: Maybe; - phoneNumber_starts_with?: Maybe; - phoneNumber_not_starts_with?: Maybe; - phoneNumber_ends_with?: Maybe; - phoneNumber_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface TagUpsertWithWhereUniqueWithoutMealsInput { - where: TagWhereUniqueInput; - update: TagUpdateWithoutMealsDataInput; - create: TagCreateWithoutMealsInput; -} - -export type UserWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; - email?: Maybe; - phoneNumber?: Maybe; -}>; - -export interface TagScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface UserUpdateWithWhereUniqueWithoutProjectsInput { - where: UserWhereUniqueInput; - data: UserUpdateWithoutProjectsDataInput; -} - -export interface TagUpdateManyWithWhereNestedInput { - where: TagScalarWhereInput; - data: TagUpdateManyDataInput; -} - -export interface MealCreateManyWithoutCategoriesInput { - create?: Maybe< - MealCreateWithoutCategoriesInput[] | MealCreateWithoutCategoriesInput - >; - connect?: Maybe; -} - -export interface TagWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - meals_every?: Maybe; - meals_some?: Maybe; - meals_none?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface UserCreateOneWithoutMealsInput { - create?: Maybe; - connect?: Maybe; -} - -export interface ChildWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - Parent?: Maybe; - age?: Maybe; - age_not?: Maybe; - age_in?: Maybe; - age_not_in?: Maybe; - age_lt?: Maybe; - age_lte?: Maybe; - age_gt?: Maybe; - age_gte?: Maybe; - age_contains?: Maybe; - age_not_contains?: Maybe; - age_starts_with?: Maybe; - age_not_starts_with?: Maybe; - age_ends_with?: Maybe; - age_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProjectCreateManyWithoutUsersInput { - create?: Maybe< - ProjectCreateWithoutUsersInput[] | ProjectCreateWithoutUsersInput - >; - connect?: Maybe; -} - -export interface UserCreateWithoutProjectsInput { - id?: Maybe; - airtableId?: Maybe; - consentGDPR: Boolean; - postCode: String; - email: String; - meals?: Maybe; - children?: Maybe; - phoneNumber: String; -} - -export interface ChildCreateManyWithoutParentInput { - create?: Maybe< - ChildCreateWithoutParentInput[] | ChildCreateWithoutParentInput - >; - connect?: Maybe; -} - -export interface MealUpdateManyWithoutProportionVegInput { - create?: Maybe< - MealCreateWithoutProportionVegInput[] | MealCreateWithoutProportionVegInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | MealUpdateWithWhereUniqueWithoutProportionVegInput[] - | MealUpdateWithWhereUniqueWithoutProportionVegInput - >; - upsert?: Maybe< - | MealUpsertWithWhereUniqueWithoutProportionVegInput[] - | MealUpsertWithWhereUniqueWithoutProportionVegInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - MealUpdateManyWithWhereNestedInput[] | MealUpdateManyWithWhereNestedInput - >; -} - -export interface TagCreateManyWithoutMealsInput { - create?: Maybe; - connect?: Maybe; -} - -export interface MealUpdateWithWhereUniqueWithoutProportionVegInput { - where: MealWhereUniqueInput; - data: MealUpdateWithoutProportionVegDataInput; -} - -export interface ProportionCreateOneWithoutFruitMealsInput { - create?: Maybe; - connect?: Maybe; -} - -export interface MealUpdateWithoutProportionVegDataInput { - airtableId?: Maybe; - user?: Maybe; - imageURL?: Maybe; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; -} - -export interface MealCreateManyWithoutProportionVegInput { - create?: Maybe< - MealCreateWithoutProportionVegInput[] | MealCreateWithoutProportionVegInput - >; - connect?: Maybe; -} - -export interface CategoryUpdateManyWithoutMealsInput { - create?: Maybe< - CategoryCreateWithoutMealsInput[] | CategoryCreateWithoutMealsInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | CategoryUpdateWithWhereUniqueWithoutMealsInput[] - | CategoryUpdateWithWhereUniqueWithoutMealsInput - >; - upsert?: Maybe< - | CategoryUpsertWithWhereUniqueWithoutMealsInput[] - | CategoryUpsertWithWhereUniqueWithoutMealsInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - | CategoryUpdateManyWithWhereNestedInput[] - | CategoryUpdateManyWithWhereNestedInput - >; -} - -export interface CategoryCreateManyWithoutMealsInput { - create?: Maybe< - CategoryCreateWithoutMealsInput[] | CategoryCreateWithoutMealsInput - >; - connect?: Maybe; -} - -export interface CategoryUpdateWithWhereUniqueWithoutMealsInput { - where: CategoryWhereUniqueInput; - data: CategoryUpdateWithoutMealsDataInput; -} - -export interface ProportionCreateOneWithoutVegMealsInput { - create?: Maybe; - connect?: Maybe; -} - -export interface CategoryUpdateWithoutMealsDataInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface MealCreateManyWithoutProportionFruitInput { - create?: Maybe< - | MealCreateWithoutProportionFruitInput[] - | MealCreateWithoutProportionFruitInput - >; - connect?: Maybe; -} - -export interface CategoryUpsertWithWhereUniqueWithoutMealsInput { - where: CategoryWhereUniqueInput; - update: CategoryUpdateWithoutMealsDataInput; - create: CategoryCreateWithoutMealsInput; -} - -export interface CategoryUpdateInput { - airtableId?: Maybe; - name?: Maybe; - meals?: Maybe; -} - -export interface CategoryScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface MealUpdateWithWhereUniqueWithoutCategoriesInput { - where: MealWhereUniqueInput; - data: MealUpdateWithoutCategoriesDataInput; -} - -export interface CategoryUpdateManyWithWhereNestedInput { - where: CategoryScalarWhereInput; - data: CategoryUpdateManyDataInput; -} - -export interface UserUpdateOneRequiredWithoutMealsInput { - create?: Maybe; - update?: Maybe; - upsert?: Maybe; - connect?: Maybe; -} - -export interface CategoryUpdateManyDataInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface ProportionSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe< - ProportionSubscriptionWhereInput[] | ProportionSubscriptionWhereInput - >; - OR?: Maybe< - ProportionSubscriptionWhereInput[] | ProportionSubscriptionWhereInput - >; - NOT?: Maybe< - ProportionSubscriptionWhereInput[] | ProportionSubscriptionWhereInput - >; -} - -export interface MealUpsertWithWhereUniqueWithoutProportionVegInput { - where: MealWhereUniqueInput; - update: MealUpdateWithoutProportionVegDataInput; - create: MealCreateWithoutProportionVegInput; -} - -export interface UserWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - consentGDPR?: Maybe; - consentGDPR_not?: Maybe; - postCode?: Maybe; - postCode_not?: Maybe; - postCode_in?: Maybe; - postCode_not_in?: Maybe; - postCode_lt?: Maybe; - postCode_lte?: Maybe; - postCode_gt?: Maybe; - postCode_gte?: Maybe; - postCode_contains?: Maybe; - postCode_not_contains?: Maybe; - postCode_starts_with?: Maybe; - postCode_not_starts_with?: Maybe; - postCode_ends_with?: Maybe; - postCode_not_ends_with?: Maybe; - email?: Maybe; - email_not?: Maybe; - email_in?: Maybe; - email_not_in?: Maybe; - email_lt?: Maybe; - email_lte?: Maybe; - email_gt?: Maybe; - email_gte?: Maybe; - email_contains?: Maybe; - email_not_contains?: Maybe; - email_starts_with?: Maybe; - email_not_starts_with?: Maybe; - email_ends_with?: Maybe; - email_not_ends_with?: Maybe; - meals_every?: Maybe; - meals_some?: Maybe; - meals_none?: Maybe; - projects_every?: Maybe; - projects_some?: Maybe; - projects_none?: Maybe; - children_every?: Maybe; - children_some?: Maybe; - children_none?: Maybe; - phoneNumber?: Maybe; - phoneNumber_not?: Maybe; - phoneNumber_in?: Maybe; - phoneNumber_not_in?: Maybe; - phoneNumber_lt?: Maybe; - phoneNumber_lte?: Maybe; - phoneNumber_gt?: Maybe; - phoneNumber_gte?: Maybe; - phoneNumber_contains?: Maybe; - phoneNumber_not_contains?: Maybe; - phoneNumber_starts_with?: Maybe; - phoneNumber_not_starts_with?: Maybe; - phoneNumber_ends_with?: Maybe; - phoneNumber_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface MealScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - imageURL?: Maybe; - imageURL_not?: Maybe; - imageURL_in?: Maybe; - imageURL_not_in?: Maybe; - imageURL_lt?: Maybe; - imageURL_lte?: Maybe; - imageURL_gt?: Maybe; - imageURL_gte?: Maybe; - imageURL_contains?: Maybe; - imageURL_not_contains?: Maybe; - imageURL_starts_with?: Maybe; - imageURL_not_starts_with?: Maybe; - imageURL_ends_with?: Maybe; - imageURL_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface UserUpdateManyMutationInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - phoneNumber?: Maybe; -} - -export interface MealUpdateManyWithWhereNestedInput { - where: MealScalarWhereInput; - data: MealUpdateManyDataInput; -} - -export type ChildWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; -}>; - -export interface MealUpdateManyDataInput { - airtableId?: Maybe; - imageURL?: Maybe; -} - -export type MealWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; -}>; - -export interface ProportionUpsertWithoutFruitMealsInput { - update: ProportionUpdateWithoutFruitMealsDataInput; - create: ProportionCreateWithoutFruitMealsInput; -} - -export type ProjectWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; - slug?: Maybe; -}>; - -export interface ProportionUpdateOneWithoutVegMealsInput { - create?: Maybe; - update?: Maybe; - upsert?: Maybe; - delete?: Maybe; - disconnect?: Maybe; - connect?: Maybe; -} - -export type ProportionWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; - name?: Maybe; -}>; - -export interface ProportionUpdateWithoutVegMealsDataInput { - airtableId?: Maybe; - name?: Maybe; - fruitMeals?: Maybe; -} - -export interface UserUpdateManyDataInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - phoneNumber?: Maybe; -} - -export interface MealUpdateManyWithoutProportionFruitInput { - create?: Maybe< - | MealCreateWithoutProportionFruitInput[] - | MealCreateWithoutProportionFruitInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | MealUpdateWithWhereUniqueWithoutProportionFruitInput[] - | MealUpdateWithWhereUniqueWithoutProportionFruitInput - >; - upsert?: Maybe< - | MealUpsertWithWhereUniqueWithoutProportionFruitInput[] - | MealUpsertWithWhereUniqueWithoutProportionFruitInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - MealUpdateManyWithWhereNestedInput[] | MealUpdateManyWithWhereNestedInput - >; -} - -export interface UserUpsertWithWhereUniqueWithoutProjectsInput { - where: UserWhereUniqueInput; - update: UserUpdateWithoutProjectsDataInput; - create: UserCreateWithoutProjectsInput; -} - -export interface MealUpdateWithWhereUniqueWithoutProportionFruitInput { - where: MealWhereUniqueInput; - data: MealUpdateWithoutProportionFruitDataInput; -} - -export interface UserUpdateManyWithoutProjectsInput { - create?: Maybe< - UserCreateWithoutProjectsInput[] | UserCreateWithoutProjectsInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | UserUpdateWithWhereUniqueWithoutProjectsInput[] - | UserUpdateWithWhereUniqueWithoutProjectsInput - >; - upsert?: Maybe< - | UserUpsertWithWhereUniqueWithoutProjectsInput[] - | UserUpsertWithWhereUniqueWithoutProjectsInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - UserUpdateManyWithWhereNestedInput[] | UserUpdateManyWithWhereNestedInput - >; -} - -export interface MealUpdateWithoutProportionFruitDataInput { - airtableId?: Maybe; - user?: Maybe; - imageURL?: Maybe; - categories?: Maybe; - tags?: Maybe; - proportionVeg?: Maybe; -} - -export interface MealCreateWithoutCategoriesInput { - id?: Maybe; - airtableId?: Maybe; - user: UserCreateOneWithoutMealsInput; - imageURL: String; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface MealUpsertWithWhereUniqueWithoutProportionFruitInput { - where: MealWhereUniqueInput; - update: MealUpdateWithoutProportionFruitDataInput; - create: MealCreateWithoutProportionFruitInput; -} - -export interface ProjectCreateWithoutUsersInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - slug: String; -} - -export interface ProportionUpsertWithoutVegMealsInput { - update: ProportionUpdateWithoutVegMealsDataInput; - create: ProportionCreateWithoutVegMealsInput; -} - -export interface TagCreateWithoutMealsInput { - id?: Maybe; - airtableId?: Maybe; - name: String; -} - -export interface MealUpsertWithWhereUniqueWithoutCategoriesInput { - where: MealWhereUniqueInput; - update: MealUpdateWithoutCategoriesDataInput; - create: MealCreateWithoutCategoriesInput; -} - -export interface MealCreateWithoutProportionVegInput { - id?: Maybe; - airtableId?: Maybe; - user: UserCreateOneWithoutMealsInput; - imageURL: String; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; -} - -export interface CategoryUpdateManyMutationInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface ProportionCreateWithoutVegMealsInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - fruitMeals?: Maybe; -} - -export interface UserCreateManyWithoutProjectsInput { - create?: Maybe< - UserCreateWithoutProjectsInput[] | UserCreateWithoutProjectsInput - >; - connect?: Maybe; -} - -export interface MealUpdateManyWithoutCategoriesInput { - create?: Maybe< - MealCreateWithoutCategoriesInput[] | MealCreateWithoutCategoriesInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | MealUpdateWithWhereUniqueWithoutCategoriesInput[] - | MealUpdateWithWhereUniqueWithoutCategoriesInput - >; - upsert?: Maybe< - | MealUpsertWithWhereUniqueWithoutCategoriesInput[] - | MealUpsertWithWhereUniqueWithoutCategoriesInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - MealUpdateManyWithWhereNestedInput[] | MealUpdateManyWithWhereNestedInput - >; -} - -export interface ProjectCreateInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - slug: String; - users?: Maybe; -} - -export interface UserSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ChildCreateInput { - id?: Maybe; - airtableId?: Maybe; - Parent: UserCreateOneWithoutChildrenInput; - age: String; -} - -export interface ChildSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface UserCreateOneWithoutChildrenInput { - create?: Maybe; - connect?: Maybe; -} - -export interface MealUpdateWithoutTagsDataInput { - airtableId?: Maybe; - user?: Maybe; - imageURL?: Maybe; - categories?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface UserCreateWithoutChildrenInput { - id?: Maybe; - airtableId?: Maybe; - consentGDPR: Boolean; - postCode: String; - email: String; - meals?: Maybe; - projects?: Maybe; - phoneNumber: String; -} - -export interface TagCreateInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - meals?: Maybe; -} - -export interface MealCreateManyWithoutUserInput { - create?: Maybe; - connect?: Maybe; -} - -export interface UserUpdateManyWithWhereNestedInput { - where: UserScalarWhereInput; - data: UserUpdateManyDataInput; -} - -export interface MealCreateWithoutUserInput { - id?: Maybe; - airtableId?: Maybe; - imageURL: String; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface CategoryCreateInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - meals?: Maybe; -} - -export interface ChildUpdateInput { - airtableId?: Maybe; - Parent?: Maybe; - age?: Maybe; -} - -export interface ChildCreateWithoutParentInput { - id?: Maybe; - airtableId?: Maybe; - age: String; -} - -export interface UserUpdateOneRequiredWithoutChildrenInput { - create?: Maybe; - update?: Maybe; - upsert?: Maybe; - connect?: Maybe; -} - -export interface CategoryCreateWithoutMealsInput { - id?: Maybe; - airtableId?: Maybe; - name: String; -} - -export interface UserUpdateWithoutChildrenDataInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - meals?: Maybe; - projects?: Maybe; - phoneNumber?: Maybe; -} - -export interface MealUpdateWithoutCategoriesDataInput { - airtableId?: Maybe; - user?: Maybe; - imageURL?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface MealUpdateManyWithoutUserInput { - create?: Maybe; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | MealUpdateWithWhereUniqueWithoutUserInput[] - | MealUpdateWithWhereUniqueWithoutUserInput - >; - upsert?: Maybe< - | MealUpsertWithWhereUniqueWithoutUserInput[] - | MealUpsertWithWhereUniqueWithoutUserInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - MealUpdateManyWithWhereNestedInput[] | MealUpdateManyWithWhereNestedInput - >; -} - -export interface UserCreateInput { - id?: Maybe; - airtableId?: Maybe; - consentGDPR: Boolean; - postCode: String; - email: String; - meals?: Maybe; - projects?: Maybe; - children?: Maybe; - phoneNumber: String; -} - -export interface MealUpdateWithWhereUniqueWithoutUserInput { - where: MealWhereUniqueInput; - data: MealUpdateWithoutUserDataInput; -} - -export interface ProportionCreateInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - fruitMeals?: Maybe; - vegMeals?: Maybe; -} - -export interface MealUpdateWithoutUserDataInput { - airtableId?: Maybe; - imageURL?: Maybe; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface UserCreateWithoutMealsInput { - id?: Maybe; - airtableId?: Maybe; - consentGDPR: Boolean; - postCode: String; - email: String; - projects?: Maybe; - children?: Maybe; - phoneNumber: String; -} - -export interface MealUpsertWithWhereUniqueWithoutUserInput { - where: MealWhereUniqueInput; - update: MealUpdateWithoutUserDataInput; - create: MealCreateWithoutUserInput; -} - -export interface MealCreateWithoutProportionFruitInput { - id?: Maybe; - airtableId?: Maybe; - user: UserCreateOneWithoutMealsInput; - imageURL: String; - categories?: Maybe; - tags?: Maybe; - proportionVeg?: Maybe; -} - -export interface MealUpdateInput { - airtableId?: Maybe; - user?: Maybe; - imageURL?: Maybe; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface MealCreateInput { - id?: Maybe; - airtableId?: Maybe; - user: UserCreateOneWithoutMealsInput; - imageURL: String; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface ChildUpdateManyMutationInput { - airtableId?: Maybe; - age?: Maybe; -} - -export interface UserUpsertWithoutChildrenInput { - update: UserUpdateWithoutChildrenDataInput; - create: UserCreateWithoutChildrenInput; -} - -export interface ProjectSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProportionCreateWithoutFruitMealsInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - vegMeals?: Maybe; -} - -export interface UserUpdateWithoutProjectsDataInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - meals?: Maybe; - children?: Maybe; - phoneNumber?: Maybe; -} - -export interface TagUpdateInput { - airtableId?: Maybe; - name?: Maybe; - meals?: Maybe; -} - -export interface NodeNode { - id: ID_Output; -} - -export interface UserPreviousValues { - id: ID_Output; - airtableId?: String; - consentGDPR: Boolean; - postCode: String; - email: String; - phoneNumber: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface UserPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - consentGDPR: () => Promise; - postCode: () => Promise; - email: () => Promise; - phoneNumber: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface UserPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - consentGDPR: () => Promise>; - postCode: () => Promise>; - email: () => Promise>; - phoneNumber: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ChildConnection { - pageInfo: PageInfo; - edges: ChildEdge[]; -} - -export interface ChildConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface ChildConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface TagSubscriptionPayload { - mutation: MutationType; - node: Tag; - updatedFields: String[]; - previousValues: TagPreviousValues; -} - -export interface TagSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface TagSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface AggregateCategory { - count: Int; -} - -export interface AggregateCategoryPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateCategorySubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface CategoryEdge { - node: Category; - cursor: String; -} - -export interface CategoryEdgePromise - extends Promise, - Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface CategoryEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface BatchPayload { - count: Long; -} - -export interface BatchPayloadPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface BatchPayloadSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface UserSubscriptionPayload { - mutation: MutationType; - node: User; - updatedFields: String[]; - previousValues: UserPreviousValues; -} - -export interface UserSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface UserSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface PageInfo { - hasNextPage: Boolean; - hasPreviousPage: Boolean; - startCursor?: String; - endCursor?: String; -} - -export interface PageInfoPromise extends Promise, Fragmentable { - hasNextPage: () => Promise; - hasPreviousPage: () => Promise; - startCursor: () => Promise; - endCursor: () => Promise; -} - -export interface PageInfoSubscription - extends Promise>, - Fragmentable { - hasNextPage: () => Promise>; - hasPreviousPage: () => Promise>; - startCursor: () => Promise>; - endCursor: () => Promise>; -} - -export interface UserEdge { - node: User; - cursor: String; -} - -export interface UserEdgePromise extends Promise, Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface UserEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface CategoryConnection { - pageInfo: PageInfo; - edges: CategoryEdge[]; -} - -export interface CategoryConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface CategoryConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface AggregateTag { - count: Int; -} - -export interface AggregateTagPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateTagSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface Proportion { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ProportionPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - fruitMeals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - vegMeals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProportionSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - fruitMeals: >>(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - vegMeals: >>(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProportionNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - fruitMeals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - vegMeals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface TagConnection { - pageInfo: PageInfo; - edges: TagEdge[]; -} - -export interface TagConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface TagConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface User { - id: ID_Output; - airtableId?: String; - consentGDPR: Boolean; - postCode: String; - email: String; - phoneNumber: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface UserPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - consentGDPR: () => Promise; - postCode: () => Promise; - email: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - projects: >(args?: { - where?: ProjectWhereInput; - orderBy?: ProjectOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - children: >(args?: { - where?: ChildWhereInput; - orderBy?: ChildOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - phoneNumber: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface UserSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - consentGDPR: () => Promise>; - postCode: () => Promise>; - email: () => Promise>; - meals: >>(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - projects: >>(args?: { - where?: ProjectWhereInput; - orderBy?: ProjectOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - children: >>(args?: { - where?: ChildWhereInput; - orderBy?: ChildOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - phoneNumber: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface UserNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - consentGDPR: () => Promise; - postCode: () => Promise; - email: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - projects: >(args?: { - where?: ProjectWhereInput; - orderBy?: ProjectOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - children: >(args?: { - where?: ChildWhereInput; - orderBy?: ChildOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - phoneNumber: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProportionEdge { - node: Proportion; - cursor: String; -} - -export interface ProportionEdgePromise - extends Promise, - Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface ProportionEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface CategorySubscriptionPayload { - mutation: MutationType; - node: Category; - updatedFields: String[]; - previousValues: CategoryPreviousValues; -} - -export interface CategorySubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface CategorySubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface Category { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface CategoryPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface CategorySubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - meals: >>(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface CategoryNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface CategoryPreviousValues { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface CategoryPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface CategoryPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProjectEdge { - node: Project; - cursor: String; -} - -export interface ProjectEdgePromise extends Promise, Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface ProjectEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface Tag { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface TagPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface TagSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - meals: >>(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface TagNullablePromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface AggregateMeal { - count: Int; -} - -export interface AggregateMealPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateMealSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface ChildSubscriptionPayload { - mutation: MutationType; - node: Child; - updatedFields: String[]; - previousValues: ChildPreviousValues; -} - -export interface ChildSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface ChildSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface MealConnection { - pageInfo: PageInfo; - edges: MealEdge[]; -} - -export interface MealConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface MealConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface ChildPreviousValues { - id: ID_Output; - airtableId?: String; - age: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ChildPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - age: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ChildPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - age: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ChildEdge { - node: Child; - cursor: String; -} - -export interface ChildEdgePromise extends Promise, Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface ChildEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface Child { - id: ID_Output; - airtableId?: String; - age: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ChildPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - Parent: () => T; - age: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ChildSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - Parent: () => T; - age: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ChildNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - Parent: () => T; - age: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface AggregateUser { - count: Int; -} - -export interface AggregateUserPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateUserSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface MealSubscriptionPayload { - mutation: MutationType; - node: Meal; - updatedFields: String[]; - previousValues: MealPreviousValues; -} - -export interface MealSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface MealSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface TagEdge { - node: Tag; - cursor: String; -} - -export interface TagEdgePromise extends Promise, Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface TagEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface MealPreviousValues { - id: ID_Output; - airtableId?: String; - imageURL: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface MealPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - imageURL: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface MealPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - imageURL: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProportionConnection { - pageInfo: PageInfo; - edges: ProportionEdge[]; -} - -export interface ProportionConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface ProportionConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface TagPreviousValues { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface TagPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface TagPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProjectConnection { - pageInfo: PageInfo; - edges: ProjectEdge[]; -} - -export interface ProjectConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface ProjectConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface ProjectSubscriptionPayload { - mutation: MutationType; - node: Project; - updatedFields: String[]; - previousValues: ProjectPreviousValues; -} - -export interface ProjectSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface ProjectSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface AggregateChild { - count: Int; -} - -export interface AggregateChildPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateChildSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface UserConnection { - pageInfo: PageInfo; - edges: UserEdge[]; -} - -export interface UserConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface UserConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface ProportionPreviousValues { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ProportionPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProportionPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProportionSubscriptionPayload { - mutation: MutationType; - node: Proportion; - updatedFields: String[]; - previousValues: ProportionPreviousValues; -} - -export interface ProportionSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface ProportionSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface Project { - id: ID_Output; - airtableId?: String; - name: String; - slug: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ProjectPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - slug: () => Promise; - users: >(args?: { - where?: UserWhereInput; - orderBy?: UserOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProjectSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - slug: () => Promise>; - users: >>(args?: { - where?: UserWhereInput; - orderBy?: UserOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProjectNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - slug: () => Promise; - users: >(args?: { - where?: UserWhereInput; - orderBy?: UserOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProjectPreviousValues { - id: ID_Output; - airtableId?: String; - name: String; - slug: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ProjectPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - slug: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProjectPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - slug: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface AggregateProportion { - count: Int; -} - -export interface AggregateProportionPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateProportionSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface Meal { - id: ID_Output; - airtableId?: String; - imageURL: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface MealPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - user: () => T; - imageURL: () => Promise; - categories: >(args?: { - where?: CategoryWhereInput; - orderBy?: CategoryOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - tags: >(args?: { - where?: TagWhereInput; - orderBy?: TagOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; - proportionFruit: () => T; - proportionVeg: () => T; -} - -export interface MealSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - user: () => T; - imageURL: () => Promise>; - categories: >>(args?: { - where?: CategoryWhereInput; - orderBy?: CategoryOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - tags: >>(args?: { - where?: TagWhereInput; - orderBy?: TagOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise>; - createdAt: () => Promise>; - proportionFruit: () => T; - proportionVeg: () => T; -} - -export interface MealNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - user: () => T; - imageURL: () => Promise; - categories: >(args?: { - where?: CategoryWhereInput; - orderBy?: CategoryOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - tags: >(args?: { - where?: TagWhereInput; - orderBy?: TagOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; - proportionFruit: () => T; - proportionVeg: () => T; -} - -export interface MealEdge { - node: Meal; - cursor: String; -} - -export interface MealEdgePromise extends Promise, Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface MealEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface AggregateProject { - count: Int; -} - -export interface AggregateProjectPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateProjectSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -/* -The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. -*/ -export type Int = number; - -export type Long = string; - -/* -The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID. -*/ -export type ID_Input = string | number; -export type ID_Output = string; - -/* -The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. -*/ -export type String = string; - -/* -The `Boolean` scalar type represents `true` or `false`. -*/ -export type Boolean = boolean; - -/* -DateTime scalar input type, allowing Date -*/ -export type DateTimeInput = Date | string; - -/* -DateTime scalar output type, which is always a string -*/ -export type DateTimeOutput = string; - -/** - * Model Metadata - */ - -export const models: Model[] = [ - { - name: "User", - embedded: false - }, - { - name: "Child", - embedded: false - }, - { - name: "Meal", - embedded: false - }, - { - name: "Tag", - embedded: false - }, - { - name: "Category", - embedded: false - }, - { - name: "Project", - embedded: false - }, - { - name: "Proportion", - embedded: false - } -]; - -/** - * Type Defs - */ - -export const prisma: Prisma; diff --git a/prisma/generated/js/index.js b/prisma/generated/js/index.js deleted file mode 100644 index 7c90cb3..0000000 --- a/prisma/generated/js/index.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var prisma_lib_1 = require("prisma-client-lib"); -var typeDefs = require("./prisma-schema").typeDefs; - -var models = [ - { - name: "User", - embedded: false - }, - { - name: "Child", - embedded: false - }, - { - name: "Meal", - embedded: false - }, - { - name: "Tag", - embedded: false - }, - { - name: "Category", - embedded: false - }, - { - name: "Project", - embedded: false - }, - { - name: "Proportion", - embedded: false - } -]; -exports.Prisma = prisma_lib_1.makePrismaClientClass({ - typeDefs, - models, - endpoint: `${process.env["PRISMA_ENDPOINT"]}`, - secret: `${process.env["PRISMA_SECRET"]}` -}); -exports.prisma = new exports.Prisma(); diff --git a/prisma/generated/js/prisma-schema.js b/prisma/generated/js/prisma-schema.js deleted file mode 100644 index cd454c3..0000000 --- a/prisma/generated/js/prisma-schema.js +++ /dev/null @@ -1,2369 +0,0 @@ -module.exports = { - typeDefs: // Code generated by Prisma (prisma@1.34.10). DO NOT EDIT. - // Please don't change this file manually but run `prisma generate` to update it. - // For more information, please read the docs: https://www.prisma.io/docs/prisma-client/ - -/* GraphQL */ `type AggregateCategory { - count: Int! -} - -type AggregateChild { - count: Int! -} - -type AggregateMeal { - count: Int! -} - -type AggregateProject { - count: Int! -} - -type AggregateProportion { - count: Int! -} - -type AggregateTag { - count: Int! -} - -type AggregateUser { - count: Int! -} - -type BatchPayload { - count: Long! -} - -type Category { - id: ID! - airtableId: String - name: String! - meals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal!] - updatedAt: DateTime! - createdAt: DateTime! -} - -type CategoryConnection { - pageInfo: PageInfo! - edges: [CategoryEdge]! - aggregate: AggregateCategory! -} - -input CategoryCreateInput { - id: ID - airtableId: String - name: String! - meals: MealCreateManyWithoutCategoriesInput -} - -input CategoryCreateManyWithoutMealsInput { - create: [CategoryCreateWithoutMealsInput!] - connect: [CategoryWhereUniqueInput!] -} - -input CategoryCreateWithoutMealsInput { - id: ID - airtableId: String - name: String! -} - -type CategoryEdge { - node: Category! - cursor: String! -} - -enum CategoryOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - name_ASC - name_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type CategoryPreviousValues { - id: ID! - airtableId: String - name: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input CategoryScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [CategoryScalarWhereInput!] - OR: [CategoryScalarWhereInput!] - NOT: [CategoryScalarWhereInput!] -} - -type CategorySubscriptionPayload { - mutation: MutationType! - node: Category - updatedFields: [String!] - previousValues: CategoryPreviousValues -} - -input CategorySubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: CategoryWhereInput - AND: [CategorySubscriptionWhereInput!] - OR: [CategorySubscriptionWhereInput!] - NOT: [CategorySubscriptionWhereInput!] -} - -input CategoryUpdateInput { - airtableId: String - name: String - meals: MealUpdateManyWithoutCategoriesInput -} - -input CategoryUpdateManyDataInput { - airtableId: String - name: String -} - -input CategoryUpdateManyMutationInput { - airtableId: String - name: String -} - -input CategoryUpdateManyWithoutMealsInput { - create: [CategoryCreateWithoutMealsInput!] - delete: [CategoryWhereUniqueInput!] - connect: [CategoryWhereUniqueInput!] - set: [CategoryWhereUniqueInput!] - disconnect: [CategoryWhereUniqueInput!] - update: [CategoryUpdateWithWhereUniqueWithoutMealsInput!] - upsert: [CategoryUpsertWithWhereUniqueWithoutMealsInput!] - deleteMany: [CategoryScalarWhereInput!] - updateMany: [CategoryUpdateManyWithWhereNestedInput!] -} - -input CategoryUpdateManyWithWhereNestedInput { - where: CategoryScalarWhereInput! - data: CategoryUpdateManyDataInput! -} - -input CategoryUpdateWithoutMealsDataInput { - airtableId: String - name: String -} - -input CategoryUpdateWithWhereUniqueWithoutMealsInput { - where: CategoryWhereUniqueInput! - data: CategoryUpdateWithoutMealsDataInput! -} - -input CategoryUpsertWithWhereUniqueWithoutMealsInput { - where: CategoryWhereUniqueInput! - update: CategoryUpdateWithoutMealsDataInput! - create: CategoryCreateWithoutMealsInput! -} - -input CategoryWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - meals_every: MealWhereInput - meals_some: MealWhereInput - meals_none: MealWhereInput - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [CategoryWhereInput!] - OR: [CategoryWhereInput!] - NOT: [CategoryWhereInput!] -} - -input CategoryWhereUniqueInput { - id: ID - airtableId: String - name: String -} - -type Child { - id: ID! - airtableId: String - Parent: User! - age: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -type ChildConnection { - pageInfo: PageInfo! - edges: [ChildEdge]! - aggregate: AggregateChild! -} - -input ChildCreateInput { - id: ID - airtableId: String - Parent: UserCreateOneWithoutChildrenInput! - age: String! -} - -input ChildCreateManyWithoutParentInput { - create: [ChildCreateWithoutParentInput!] - connect: [ChildWhereUniqueInput!] -} - -input ChildCreateWithoutParentInput { - id: ID - airtableId: String - age: String! -} - -type ChildEdge { - node: Child! - cursor: String! -} - -enum ChildOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - age_ASC - age_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type ChildPreviousValues { - id: ID! - airtableId: String - age: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input ChildScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - age: String - age_not: String - age_in: [String!] - age_not_in: [String!] - age_lt: String - age_lte: String - age_gt: String - age_gte: String - age_contains: String - age_not_contains: String - age_starts_with: String - age_not_starts_with: String - age_ends_with: String - age_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [ChildScalarWhereInput!] - OR: [ChildScalarWhereInput!] - NOT: [ChildScalarWhereInput!] -} - -type ChildSubscriptionPayload { - mutation: MutationType! - node: Child - updatedFields: [String!] - previousValues: ChildPreviousValues -} - -input ChildSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: ChildWhereInput - AND: [ChildSubscriptionWhereInput!] - OR: [ChildSubscriptionWhereInput!] - NOT: [ChildSubscriptionWhereInput!] -} - -input ChildUpdateInput { - airtableId: String - Parent: UserUpdateOneRequiredWithoutChildrenInput - age: String -} - -input ChildUpdateManyDataInput { - airtableId: String - age: String -} - -input ChildUpdateManyMutationInput { - airtableId: String - age: String -} - -input ChildUpdateManyWithoutParentInput { - create: [ChildCreateWithoutParentInput!] - delete: [ChildWhereUniqueInput!] - connect: [ChildWhereUniqueInput!] - set: [ChildWhereUniqueInput!] - disconnect: [ChildWhereUniqueInput!] - update: [ChildUpdateWithWhereUniqueWithoutParentInput!] - upsert: [ChildUpsertWithWhereUniqueWithoutParentInput!] - deleteMany: [ChildScalarWhereInput!] - updateMany: [ChildUpdateManyWithWhereNestedInput!] -} - -input ChildUpdateManyWithWhereNestedInput { - where: ChildScalarWhereInput! - data: ChildUpdateManyDataInput! -} - -input ChildUpdateWithoutParentDataInput { - airtableId: String - age: String -} - -input ChildUpdateWithWhereUniqueWithoutParentInput { - where: ChildWhereUniqueInput! - data: ChildUpdateWithoutParentDataInput! -} - -input ChildUpsertWithWhereUniqueWithoutParentInput { - where: ChildWhereUniqueInput! - update: ChildUpdateWithoutParentDataInput! - create: ChildCreateWithoutParentInput! -} - -input ChildWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - Parent: UserWhereInput - age: String - age_not: String - age_in: [String!] - age_not_in: [String!] - age_lt: String - age_lte: String - age_gt: String - age_gte: String - age_contains: String - age_not_contains: String - age_starts_with: String - age_not_starts_with: String - age_ends_with: String - age_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [ChildWhereInput!] - OR: [ChildWhereInput!] - NOT: [ChildWhereInput!] -} - -input ChildWhereUniqueInput { - id: ID - airtableId: String -} - -scalar DateTime - -scalar Long - -type Meal { - id: ID! - airtableId: String - user: User! - imageURL: String! - categories(where: CategoryWhereInput, orderBy: CategoryOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Category!] - tags(where: TagWhereInput, orderBy: TagOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Tag!] - updatedAt: DateTime! - createdAt: DateTime! - proportionFruit: Proportion - proportionVeg: Proportion -} - -type MealConnection { - pageInfo: PageInfo! - edges: [MealEdge]! - aggregate: AggregateMeal! -} - -input MealCreateInput { - id: ID - airtableId: String - user: UserCreateOneWithoutMealsInput! - imageURL: String! - categories: CategoryCreateManyWithoutMealsInput - tags: TagCreateManyWithoutMealsInput - proportionFruit: ProportionCreateOneWithoutFruitMealsInput - proportionVeg: ProportionCreateOneWithoutVegMealsInput -} - -input MealCreateManyWithoutCategoriesInput { - create: [MealCreateWithoutCategoriesInput!] - connect: [MealWhereUniqueInput!] -} - -input MealCreateManyWithoutProportionFruitInput { - create: [MealCreateWithoutProportionFruitInput!] - connect: [MealWhereUniqueInput!] -} - -input MealCreateManyWithoutProportionVegInput { - create: [MealCreateWithoutProportionVegInput!] - connect: [MealWhereUniqueInput!] -} - -input MealCreateManyWithoutTagsInput { - create: [MealCreateWithoutTagsInput!] - connect: [MealWhereUniqueInput!] -} - -input MealCreateManyWithoutUserInput { - create: [MealCreateWithoutUserInput!] - connect: [MealWhereUniqueInput!] -} - -input MealCreateWithoutCategoriesInput { - id: ID - airtableId: String - user: UserCreateOneWithoutMealsInput! - imageURL: String! - tags: TagCreateManyWithoutMealsInput - proportionFruit: ProportionCreateOneWithoutFruitMealsInput - proportionVeg: ProportionCreateOneWithoutVegMealsInput -} - -input MealCreateWithoutProportionFruitInput { - id: ID - airtableId: String - user: UserCreateOneWithoutMealsInput! - imageURL: String! - categories: CategoryCreateManyWithoutMealsInput - tags: TagCreateManyWithoutMealsInput - proportionVeg: ProportionCreateOneWithoutVegMealsInput -} - -input MealCreateWithoutProportionVegInput { - id: ID - airtableId: String - user: UserCreateOneWithoutMealsInput! - imageURL: String! - categories: CategoryCreateManyWithoutMealsInput - tags: TagCreateManyWithoutMealsInput - proportionFruit: ProportionCreateOneWithoutFruitMealsInput -} - -input MealCreateWithoutTagsInput { - id: ID - airtableId: String - user: UserCreateOneWithoutMealsInput! - imageURL: String! - categories: CategoryCreateManyWithoutMealsInput - proportionFruit: ProportionCreateOneWithoutFruitMealsInput - proportionVeg: ProportionCreateOneWithoutVegMealsInput -} - -input MealCreateWithoutUserInput { - id: ID - airtableId: String - imageURL: String! - categories: CategoryCreateManyWithoutMealsInput - tags: TagCreateManyWithoutMealsInput - proportionFruit: ProportionCreateOneWithoutFruitMealsInput - proportionVeg: ProportionCreateOneWithoutVegMealsInput -} - -type MealEdge { - node: Meal! - cursor: String! -} - -enum MealOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - imageURL_ASC - imageURL_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type MealPreviousValues { - id: ID! - airtableId: String - imageURL: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input MealScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - imageURL: String - imageURL_not: String - imageURL_in: [String!] - imageURL_not_in: [String!] - imageURL_lt: String - imageURL_lte: String - imageURL_gt: String - imageURL_gte: String - imageURL_contains: String - imageURL_not_contains: String - imageURL_starts_with: String - imageURL_not_starts_with: String - imageURL_ends_with: String - imageURL_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [MealScalarWhereInput!] - OR: [MealScalarWhereInput!] - NOT: [MealScalarWhereInput!] -} - -type MealSubscriptionPayload { - mutation: MutationType! - node: Meal - updatedFields: [String!] - previousValues: MealPreviousValues -} - -input MealSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: MealWhereInput - AND: [MealSubscriptionWhereInput!] - OR: [MealSubscriptionWhereInput!] - NOT: [MealSubscriptionWhereInput!] -} - -input MealUpdateInput { - airtableId: String - user: UserUpdateOneRequiredWithoutMealsInput - imageURL: String - categories: CategoryUpdateManyWithoutMealsInput - tags: TagUpdateManyWithoutMealsInput - proportionFruit: ProportionUpdateOneWithoutFruitMealsInput - proportionVeg: ProportionUpdateOneWithoutVegMealsInput -} - -input MealUpdateManyDataInput { - airtableId: String - imageURL: String -} - -input MealUpdateManyMutationInput { - airtableId: String - imageURL: String -} - -input MealUpdateManyWithoutCategoriesInput { - create: [MealCreateWithoutCategoriesInput!] - delete: [MealWhereUniqueInput!] - connect: [MealWhereUniqueInput!] - set: [MealWhereUniqueInput!] - disconnect: [MealWhereUniqueInput!] - update: [MealUpdateWithWhereUniqueWithoutCategoriesInput!] - upsert: [MealUpsertWithWhereUniqueWithoutCategoriesInput!] - deleteMany: [MealScalarWhereInput!] - updateMany: [MealUpdateManyWithWhereNestedInput!] -} - -input MealUpdateManyWithoutProportionFruitInput { - create: [MealCreateWithoutProportionFruitInput!] - delete: [MealWhereUniqueInput!] - connect: [MealWhereUniqueInput!] - set: [MealWhereUniqueInput!] - disconnect: [MealWhereUniqueInput!] - update: [MealUpdateWithWhereUniqueWithoutProportionFruitInput!] - upsert: [MealUpsertWithWhereUniqueWithoutProportionFruitInput!] - deleteMany: [MealScalarWhereInput!] - updateMany: [MealUpdateManyWithWhereNestedInput!] -} - -input MealUpdateManyWithoutProportionVegInput { - create: [MealCreateWithoutProportionVegInput!] - delete: [MealWhereUniqueInput!] - connect: [MealWhereUniqueInput!] - set: [MealWhereUniqueInput!] - disconnect: [MealWhereUniqueInput!] - update: [MealUpdateWithWhereUniqueWithoutProportionVegInput!] - upsert: [MealUpsertWithWhereUniqueWithoutProportionVegInput!] - deleteMany: [MealScalarWhereInput!] - updateMany: [MealUpdateManyWithWhereNestedInput!] -} - -input MealUpdateManyWithoutTagsInput { - create: [MealCreateWithoutTagsInput!] - delete: [MealWhereUniqueInput!] - connect: [MealWhereUniqueInput!] - set: [MealWhereUniqueInput!] - disconnect: [MealWhereUniqueInput!] - update: [MealUpdateWithWhereUniqueWithoutTagsInput!] - upsert: [MealUpsertWithWhereUniqueWithoutTagsInput!] - deleteMany: [MealScalarWhereInput!] - updateMany: [MealUpdateManyWithWhereNestedInput!] -} - -input MealUpdateManyWithoutUserInput { - create: [MealCreateWithoutUserInput!] - delete: [MealWhereUniqueInput!] - connect: [MealWhereUniqueInput!] - set: [MealWhereUniqueInput!] - disconnect: [MealWhereUniqueInput!] - update: [MealUpdateWithWhereUniqueWithoutUserInput!] - upsert: [MealUpsertWithWhereUniqueWithoutUserInput!] - deleteMany: [MealScalarWhereInput!] - updateMany: [MealUpdateManyWithWhereNestedInput!] -} - -input MealUpdateManyWithWhereNestedInput { - where: MealScalarWhereInput! - data: MealUpdateManyDataInput! -} - -input MealUpdateWithoutCategoriesDataInput { - airtableId: String - user: UserUpdateOneRequiredWithoutMealsInput - imageURL: String - tags: TagUpdateManyWithoutMealsInput - proportionFruit: ProportionUpdateOneWithoutFruitMealsInput - proportionVeg: ProportionUpdateOneWithoutVegMealsInput -} - -input MealUpdateWithoutProportionFruitDataInput { - airtableId: String - user: UserUpdateOneRequiredWithoutMealsInput - imageURL: String - categories: CategoryUpdateManyWithoutMealsInput - tags: TagUpdateManyWithoutMealsInput - proportionVeg: ProportionUpdateOneWithoutVegMealsInput -} - -input MealUpdateWithoutProportionVegDataInput { - airtableId: String - user: UserUpdateOneRequiredWithoutMealsInput - imageURL: String - categories: CategoryUpdateManyWithoutMealsInput - tags: TagUpdateManyWithoutMealsInput - proportionFruit: ProportionUpdateOneWithoutFruitMealsInput -} - -input MealUpdateWithoutTagsDataInput { - airtableId: String - user: UserUpdateOneRequiredWithoutMealsInput - imageURL: String - categories: CategoryUpdateManyWithoutMealsInput - proportionFruit: ProportionUpdateOneWithoutFruitMealsInput - proportionVeg: ProportionUpdateOneWithoutVegMealsInput -} - -input MealUpdateWithoutUserDataInput { - airtableId: String - imageURL: String - categories: CategoryUpdateManyWithoutMealsInput - tags: TagUpdateManyWithoutMealsInput - proportionFruit: ProportionUpdateOneWithoutFruitMealsInput - proportionVeg: ProportionUpdateOneWithoutVegMealsInput -} - -input MealUpdateWithWhereUniqueWithoutCategoriesInput { - where: MealWhereUniqueInput! - data: MealUpdateWithoutCategoriesDataInput! -} - -input MealUpdateWithWhereUniqueWithoutProportionFruitInput { - where: MealWhereUniqueInput! - data: MealUpdateWithoutProportionFruitDataInput! -} - -input MealUpdateWithWhereUniqueWithoutProportionVegInput { - where: MealWhereUniqueInput! - data: MealUpdateWithoutProportionVegDataInput! -} - -input MealUpdateWithWhereUniqueWithoutTagsInput { - where: MealWhereUniqueInput! - data: MealUpdateWithoutTagsDataInput! -} - -input MealUpdateWithWhereUniqueWithoutUserInput { - where: MealWhereUniqueInput! - data: MealUpdateWithoutUserDataInput! -} - -input MealUpsertWithWhereUniqueWithoutCategoriesInput { - where: MealWhereUniqueInput! - update: MealUpdateWithoutCategoriesDataInput! - create: MealCreateWithoutCategoriesInput! -} - -input MealUpsertWithWhereUniqueWithoutProportionFruitInput { - where: MealWhereUniqueInput! - update: MealUpdateWithoutProportionFruitDataInput! - create: MealCreateWithoutProportionFruitInput! -} - -input MealUpsertWithWhereUniqueWithoutProportionVegInput { - where: MealWhereUniqueInput! - update: MealUpdateWithoutProportionVegDataInput! - create: MealCreateWithoutProportionVegInput! -} - -input MealUpsertWithWhereUniqueWithoutTagsInput { - where: MealWhereUniqueInput! - update: MealUpdateWithoutTagsDataInput! - create: MealCreateWithoutTagsInput! -} - -input MealUpsertWithWhereUniqueWithoutUserInput { - where: MealWhereUniqueInput! - update: MealUpdateWithoutUserDataInput! - create: MealCreateWithoutUserInput! -} - -input MealWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - user: UserWhereInput - imageURL: String - imageURL_not: String - imageURL_in: [String!] - imageURL_not_in: [String!] - imageURL_lt: String - imageURL_lte: String - imageURL_gt: String - imageURL_gte: String - imageURL_contains: String - imageURL_not_contains: String - imageURL_starts_with: String - imageURL_not_starts_with: String - imageURL_ends_with: String - imageURL_not_ends_with: String - categories_every: CategoryWhereInput - categories_some: CategoryWhereInput - categories_none: CategoryWhereInput - tags_every: TagWhereInput - tags_some: TagWhereInput - tags_none: TagWhereInput - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - proportionFruit: ProportionWhereInput - proportionVeg: ProportionWhereInput - AND: [MealWhereInput!] - OR: [MealWhereInput!] - NOT: [MealWhereInput!] -} - -input MealWhereUniqueInput { - id: ID - airtableId: String -} - -type Mutation { - createCategory(data: CategoryCreateInput!): Category! - updateCategory(data: CategoryUpdateInput!, where: CategoryWhereUniqueInput!): Category - updateManyCategories(data: CategoryUpdateManyMutationInput!, where: CategoryWhereInput): BatchPayload! - upsertCategory(where: CategoryWhereUniqueInput!, create: CategoryCreateInput!, update: CategoryUpdateInput!): Category! - deleteCategory(where: CategoryWhereUniqueInput!): Category - deleteManyCategories(where: CategoryWhereInput): BatchPayload! - createChild(data: ChildCreateInput!): Child! - updateChild(data: ChildUpdateInput!, where: ChildWhereUniqueInput!): Child - updateManyChildren(data: ChildUpdateManyMutationInput!, where: ChildWhereInput): BatchPayload! - upsertChild(where: ChildWhereUniqueInput!, create: ChildCreateInput!, update: ChildUpdateInput!): Child! - deleteChild(where: ChildWhereUniqueInput!): Child - deleteManyChildren(where: ChildWhereInput): BatchPayload! - createMeal(data: MealCreateInput!): Meal! - updateMeal(data: MealUpdateInput!, where: MealWhereUniqueInput!): Meal - updateManyMeals(data: MealUpdateManyMutationInput!, where: MealWhereInput): BatchPayload! - upsertMeal(where: MealWhereUniqueInput!, create: MealCreateInput!, update: MealUpdateInput!): Meal! - deleteMeal(where: MealWhereUniqueInput!): Meal - deleteManyMeals(where: MealWhereInput): BatchPayload! - createProject(data: ProjectCreateInput!): Project! - updateProject(data: ProjectUpdateInput!, where: ProjectWhereUniqueInput!): Project - updateManyProjects(data: ProjectUpdateManyMutationInput!, where: ProjectWhereInput): BatchPayload! - upsertProject(where: ProjectWhereUniqueInput!, create: ProjectCreateInput!, update: ProjectUpdateInput!): Project! - deleteProject(where: ProjectWhereUniqueInput!): Project - deleteManyProjects(where: ProjectWhereInput): BatchPayload! - createProportion(data: ProportionCreateInput!): Proportion! - updateProportion(data: ProportionUpdateInput!, where: ProportionWhereUniqueInput!): Proportion - updateManyProportions(data: ProportionUpdateManyMutationInput!, where: ProportionWhereInput): BatchPayload! - upsertProportion(where: ProportionWhereUniqueInput!, create: ProportionCreateInput!, update: ProportionUpdateInput!): Proportion! - deleteProportion(where: ProportionWhereUniqueInput!): Proportion - deleteManyProportions(where: ProportionWhereInput): BatchPayload! - createTag(data: TagCreateInput!): Tag! - updateTag(data: TagUpdateInput!, where: TagWhereUniqueInput!): Tag - updateManyTags(data: TagUpdateManyMutationInput!, where: TagWhereInput): BatchPayload! - upsertTag(where: TagWhereUniqueInput!, create: TagCreateInput!, update: TagUpdateInput!): Tag! - deleteTag(where: TagWhereUniqueInput!): Tag - deleteManyTags(where: TagWhereInput): BatchPayload! - createUser(data: UserCreateInput!): User! - updateUser(data: UserUpdateInput!, where: UserWhereUniqueInput!): User - updateManyUsers(data: UserUpdateManyMutationInput!, where: UserWhereInput): BatchPayload! - upsertUser(where: UserWhereUniqueInput!, create: UserCreateInput!, update: UserUpdateInput!): User! - deleteUser(where: UserWhereUniqueInput!): User - deleteManyUsers(where: UserWhereInput): BatchPayload! -} - -enum MutationType { - CREATED - UPDATED - DELETED -} - -interface Node { - id: ID! -} - -type PageInfo { - hasNextPage: Boolean! - hasPreviousPage: Boolean! - startCursor: String - endCursor: String -} - -type Project { - id: ID! - airtableId: String - name: String! - slug: String! - users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User!] - updatedAt: DateTime! - createdAt: DateTime! -} - -type ProjectConnection { - pageInfo: PageInfo! - edges: [ProjectEdge]! - aggregate: AggregateProject! -} - -input ProjectCreateInput { - id: ID - airtableId: String - name: String! - slug: String! - users: UserCreateManyWithoutProjectsInput -} - -input ProjectCreateManyWithoutUsersInput { - create: [ProjectCreateWithoutUsersInput!] - connect: [ProjectWhereUniqueInput!] -} - -input ProjectCreateWithoutUsersInput { - id: ID - airtableId: String - name: String! - slug: String! -} - -type ProjectEdge { - node: Project! - cursor: String! -} - -enum ProjectOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - name_ASC - name_DESC - slug_ASC - slug_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type ProjectPreviousValues { - id: ID! - airtableId: String - name: String! - slug: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input ProjectScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - slug: String - slug_not: String - slug_in: [String!] - slug_not_in: [String!] - slug_lt: String - slug_lte: String - slug_gt: String - slug_gte: String - slug_contains: String - slug_not_contains: String - slug_starts_with: String - slug_not_starts_with: String - slug_ends_with: String - slug_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [ProjectScalarWhereInput!] - OR: [ProjectScalarWhereInput!] - NOT: [ProjectScalarWhereInput!] -} - -type ProjectSubscriptionPayload { - mutation: MutationType! - node: Project - updatedFields: [String!] - previousValues: ProjectPreviousValues -} - -input ProjectSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: ProjectWhereInput - AND: [ProjectSubscriptionWhereInput!] - OR: [ProjectSubscriptionWhereInput!] - NOT: [ProjectSubscriptionWhereInput!] -} - -input ProjectUpdateInput { - airtableId: String - name: String - slug: String - users: UserUpdateManyWithoutProjectsInput -} - -input ProjectUpdateManyDataInput { - airtableId: String - name: String - slug: String -} - -input ProjectUpdateManyMutationInput { - airtableId: String - name: String - slug: String -} - -input ProjectUpdateManyWithoutUsersInput { - create: [ProjectCreateWithoutUsersInput!] - delete: [ProjectWhereUniqueInput!] - connect: [ProjectWhereUniqueInput!] - set: [ProjectWhereUniqueInput!] - disconnect: [ProjectWhereUniqueInput!] - update: [ProjectUpdateWithWhereUniqueWithoutUsersInput!] - upsert: [ProjectUpsertWithWhereUniqueWithoutUsersInput!] - deleteMany: [ProjectScalarWhereInput!] - updateMany: [ProjectUpdateManyWithWhereNestedInput!] -} - -input ProjectUpdateManyWithWhereNestedInput { - where: ProjectScalarWhereInput! - data: ProjectUpdateManyDataInput! -} - -input ProjectUpdateWithoutUsersDataInput { - airtableId: String - name: String - slug: String -} - -input ProjectUpdateWithWhereUniqueWithoutUsersInput { - where: ProjectWhereUniqueInput! - data: ProjectUpdateWithoutUsersDataInput! -} - -input ProjectUpsertWithWhereUniqueWithoutUsersInput { - where: ProjectWhereUniqueInput! - update: ProjectUpdateWithoutUsersDataInput! - create: ProjectCreateWithoutUsersInput! -} - -input ProjectWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - slug: String - slug_not: String - slug_in: [String!] - slug_not_in: [String!] - slug_lt: String - slug_lte: String - slug_gt: String - slug_gte: String - slug_contains: String - slug_not_contains: String - slug_starts_with: String - slug_not_starts_with: String - slug_ends_with: String - slug_not_ends_with: String - users_every: UserWhereInput - users_some: UserWhereInput - users_none: UserWhereInput - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [ProjectWhereInput!] - OR: [ProjectWhereInput!] - NOT: [ProjectWhereInput!] -} - -input ProjectWhereUniqueInput { - id: ID - airtableId: String - slug: String -} - -type Proportion { - id: ID! - airtableId: String - name: String! - fruitMeals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal!] - vegMeals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal!] - updatedAt: DateTime! - createdAt: DateTime! -} - -type ProportionConnection { - pageInfo: PageInfo! - edges: [ProportionEdge]! - aggregate: AggregateProportion! -} - -input ProportionCreateInput { - id: ID - airtableId: String - name: String! - fruitMeals: MealCreateManyWithoutProportionFruitInput - vegMeals: MealCreateManyWithoutProportionVegInput -} - -input ProportionCreateOneWithoutFruitMealsInput { - create: ProportionCreateWithoutFruitMealsInput - connect: ProportionWhereUniqueInput -} - -input ProportionCreateOneWithoutVegMealsInput { - create: ProportionCreateWithoutVegMealsInput - connect: ProportionWhereUniqueInput -} - -input ProportionCreateWithoutFruitMealsInput { - id: ID - airtableId: String - name: String! - vegMeals: MealCreateManyWithoutProportionVegInput -} - -input ProportionCreateWithoutVegMealsInput { - id: ID - airtableId: String - name: String! - fruitMeals: MealCreateManyWithoutProportionFruitInput -} - -type ProportionEdge { - node: Proportion! - cursor: String! -} - -enum ProportionOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - name_ASC - name_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type ProportionPreviousValues { - id: ID! - airtableId: String - name: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -type ProportionSubscriptionPayload { - mutation: MutationType! - node: Proportion - updatedFields: [String!] - previousValues: ProportionPreviousValues -} - -input ProportionSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: ProportionWhereInput - AND: [ProportionSubscriptionWhereInput!] - OR: [ProportionSubscriptionWhereInput!] - NOT: [ProportionSubscriptionWhereInput!] -} - -input ProportionUpdateInput { - airtableId: String - name: String - fruitMeals: MealUpdateManyWithoutProportionFruitInput - vegMeals: MealUpdateManyWithoutProportionVegInput -} - -input ProportionUpdateManyMutationInput { - airtableId: String - name: String -} - -input ProportionUpdateOneWithoutFruitMealsInput { - create: ProportionCreateWithoutFruitMealsInput - update: ProportionUpdateWithoutFruitMealsDataInput - upsert: ProportionUpsertWithoutFruitMealsInput - delete: Boolean - disconnect: Boolean - connect: ProportionWhereUniqueInput -} - -input ProportionUpdateOneWithoutVegMealsInput { - create: ProportionCreateWithoutVegMealsInput - update: ProportionUpdateWithoutVegMealsDataInput - upsert: ProportionUpsertWithoutVegMealsInput - delete: Boolean - disconnect: Boolean - connect: ProportionWhereUniqueInput -} - -input ProportionUpdateWithoutFruitMealsDataInput { - airtableId: String - name: String - vegMeals: MealUpdateManyWithoutProportionVegInput -} - -input ProportionUpdateWithoutVegMealsDataInput { - airtableId: String - name: String - fruitMeals: MealUpdateManyWithoutProportionFruitInput -} - -input ProportionUpsertWithoutFruitMealsInput { - update: ProportionUpdateWithoutFruitMealsDataInput! - create: ProportionCreateWithoutFruitMealsInput! -} - -input ProportionUpsertWithoutVegMealsInput { - update: ProportionUpdateWithoutVegMealsDataInput! - create: ProportionCreateWithoutVegMealsInput! -} - -input ProportionWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - fruitMeals_every: MealWhereInput - fruitMeals_some: MealWhereInput - fruitMeals_none: MealWhereInput - vegMeals_every: MealWhereInput - vegMeals_some: MealWhereInput - vegMeals_none: MealWhereInput - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [ProportionWhereInput!] - OR: [ProportionWhereInput!] - NOT: [ProportionWhereInput!] -} - -input ProportionWhereUniqueInput { - id: ID - airtableId: String - name: String -} - -type Query { - category(where: CategoryWhereUniqueInput!): Category - categories(where: CategoryWhereInput, orderBy: CategoryOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Category]! - categoriesConnection(where: CategoryWhereInput, orderBy: CategoryOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): CategoryConnection! - child(where: ChildWhereUniqueInput!): Child - children(where: ChildWhereInput, orderBy: ChildOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Child]! - childrenConnection(where: ChildWhereInput, orderBy: ChildOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ChildConnection! - meal(where: MealWhereUniqueInput!): Meal - meals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal]! - mealsConnection(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): MealConnection! - project(where: ProjectWhereUniqueInput!): Project - projects(where: ProjectWhereInput, orderBy: ProjectOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Project]! - projectsConnection(where: ProjectWhereInput, orderBy: ProjectOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ProjectConnection! - proportion(where: ProportionWhereUniqueInput!): Proportion - proportions(where: ProportionWhereInput, orderBy: ProportionOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Proportion]! - proportionsConnection(where: ProportionWhereInput, orderBy: ProportionOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ProportionConnection! - tag(where: TagWhereUniqueInput!): Tag - tags(where: TagWhereInput, orderBy: TagOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Tag]! - tagsConnection(where: TagWhereInput, orderBy: TagOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): TagConnection! - user(where: UserWhereUniqueInput!): User - users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User]! - usersConnection(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): UserConnection! - node(id: ID!): Node -} - -type Subscription { - category(where: CategorySubscriptionWhereInput): CategorySubscriptionPayload - child(where: ChildSubscriptionWhereInput): ChildSubscriptionPayload - meal(where: MealSubscriptionWhereInput): MealSubscriptionPayload - project(where: ProjectSubscriptionWhereInput): ProjectSubscriptionPayload - proportion(where: ProportionSubscriptionWhereInput): ProportionSubscriptionPayload - tag(where: TagSubscriptionWhereInput): TagSubscriptionPayload - user(where: UserSubscriptionWhereInput): UserSubscriptionPayload -} - -type Tag { - id: ID! - airtableId: String - name: String! - meals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal!] - updatedAt: DateTime! - createdAt: DateTime! -} - -type TagConnection { - pageInfo: PageInfo! - edges: [TagEdge]! - aggregate: AggregateTag! -} - -input TagCreateInput { - id: ID - airtableId: String - name: String! - meals: MealCreateManyWithoutTagsInput -} - -input TagCreateManyWithoutMealsInput { - create: [TagCreateWithoutMealsInput!] - connect: [TagWhereUniqueInput!] -} - -input TagCreateWithoutMealsInput { - id: ID - airtableId: String - name: String! -} - -type TagEdge { - node: Tag! - cursor: String! -} - -enum TagOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - name_ASC - name_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type TagPreviousValues { - id: ID! - airtableId: String - name: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input TagScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [TagScalarWhereInput!] - OR: [TagScalarWhereInput!] - NOT: [TagScalarWhereInput!] -} - -type TagSubscriptionPayload { - mutation: MutationType! - node: Tag - updatedFields: [String!] - previousValues: TagPreviousValues -} - -input TagSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: TagWhereInput - AND: [TagSubscriptionWhereInput!] - OR: [TagSubscriptionWhereInput!] - NOT: [TagSubscriptionWhereInput!] -} - -input TagUpdateInput { - airtableId: String - name: String - meals: MealUpdateManyWithoutTagsInput -} - -input TagUpdateManyDataInput { - airtableId: String - name: String -} - -input TagUpdateManyMutationInput { - airtableId: String - name: String -} - -input TagUpdateManyWithoutMealsInput { - create: [TagCreateWithoutMealsInput!] - delete: [TagWhereUniqueInput!] - connect: [TagWhereUniqueInput!] - set: [TagWhereUniqueInput!] - disconnect: [TagWhereUniqueInput!] - update: [TagUpdateWithWhereUniqueWithoutMealsInput!] - upsert: [TagUpsertWithWhereUniqueWithoutMealsInput!] - deleteMany: [TagScalarWhereInput!] - updateMany: [TagUpdateManyWithWhereNestedInput!] -} - -input TagUpdateManyWithWhereNestedInput { - where: TagScalarWhereInput! - data: TagUpdateManyDataInput! -} - -input TagUpdateWithoutMealsDataInput { - airtableId: String - name: String -} - -input TagUpdateWithWhereUniqueWithoutMealsInput { - where: TagWhereUniqueInput! - data: TagUpdateWithoutMealsDataInput! -} - -input TagUpsertWithWhereUniqueWithoutMealsInput { - where: TagWhereUniqueInput! - update: TagUpdateWithoutMealsDataInput! - create: TagCreateWithoutMealsInput! -} - -input TagWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - meals_every: MealWhereInput - meals_some: MealWhereInput - meals_none: MealWhereInput - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [TagWhereInput!] - OR: [TagWhereInput!] - NOT: [TagWhereInput!] -} - -input TagWhereUniqueInput { - id: ID - airtableId: String - name: String -} - -type User { - id: ID! - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - meals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal!] - projects(where: ProjectWhereInput, orderBy: ProjectOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Project!] - children(where: ChildWhereInput, orderBy: ChildOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Child!] - phoneNumber: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -type UserConnection { - pageInfo: PageInfo! - edges: [UserEdge]! - aggregate: AggregateUser! -} - -input UserCreateInput { - id: ID - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - meals: MealCreateManyWithoutUserInput - projects: ProjectCreateManyWithoutUsersInput - children: ChildCreateManyWithoutParentInput - phoneNumber: String! -} - -input UserCreateManyWithoutProjectsInput { - create: [UserCreateWithoutProjectsInput!] - connect: [UserWhereUniqueInput!] -} - -input UserCreateOneWithoutChildrenInput { - create: UserCreateWithoutChildrenInput - connect: UserWhereUniqueInput -} - -input UserCreateOneWithoutMealsInput { - create: UserCreateWithoutMealsInput - connect: UserWhereUniqueInput -} - -input UserCreateWithoutChildrenInput { - id: ID - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - meals: MealCreateManyWithoutUserInput - projects: ProjectCreateManyWithoutUsersInput - phoneNumber: String! -} - -input UserCreateWithoutMealsInput { - id: ID - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - projects: ProjectCreateManyWithoutUsersInput - children: ChildCreateManyWithoutParentInput - phoneNumber: String! -} - -input UserCreateWithoutProjectsInput { - id: ID - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - meals: MealCreateManyWithoutUserInput - children: ChildCreateManyWithoutParentInput - phoneNumber: String! -} - -type UserEdge { - node: User! - cursor: String! -} - -enum UserOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - consentGDPR_ASC - consentGDPR_DESC - postCode_ASC - postCode_DESC - email_ASC - email_DESC - phoneNumber_ASC - phoneNumber_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type UserPreviousValues { - id: ID! - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - phoneNumber: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input UserScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - consentGDPR: Boolean - consentGDPR_not: Boolean - postCode: String - postCode_not: String - postCode_in: [String!] - postCode_not_in: [String!] - postCode_lt: String - postCode_lte: String - postCode_gt: String - postCode_gte: String - postCode_contains: String - postCode_not_contains: String - postCode_starts_with: String - postCode_not_starts_with: String - postCode_ends_with: String - postCode_not_ends_with: String - email: String - email_not: String - email_in: [String!] - email_not_in: [String!] - email_lt: String - email_lte: String - email_gt: String - email_gte: String - email_contains: String - email_not_contains: String - email_starts_with: String - email_not_starts_with: String - email_ends_with: String - email_not_ends_with: String - phoneNumber: String - phoneNumber_not: String - phoneNumber_in: [String!] - phoneNumber_not_in: [String!] - phoneNumber_lt: String - phoneNumber_lte: String - phoneNumber_gt: String - phoneNumber_gte: String - phoneNumber_contains: String - phoneNumber_not_contains: String - phoneNumber_starts_with: String - phoneNumber_not_starts_with: String - phoneNumber_ends_with: String - phoneNumber_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [UserScalarWhereInput!] - OR: [UserScalarWhereInput!] - NOT: [UserScalarWhereInput!] -} - -type UserSubscriptionPayload { - mutation: MutationType! - node: User - updatedFields: [String!] - previousValues: UserPreviousValues -} - -input UserSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: UserWhereInput - AND: [UserSubscriptionWhereInput!] - OR: [UserSubscriptionWhereInput!] - NOT: [UserSubscriptionWhereInput!] -} - -input UserUpdateInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - meals: MealUpdateManyWithoutUserInput - projects: ProjectUpdateManyWithoutUsersInput - children: ChildUpdateManyWithoutParentInput - phoneNumber: String -} - -input UserUpdateManyDataInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - phoneNumber: String -} - -input UserUpdateManyMutationInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - phoneNumber: String -} - -input UserUpdateManyWithoutProjectsInput { - create: [UserCreateWithoutProjectsInput!] - delete: [UserWhereUniqueInput!] - connect: [UserWhereUniqueInput!] - set: [UserWhereUniqueInput!] - disconnect: [UserWhereUniqueInput!] - update: [UserUpdateWithWhereUniqueWithoutProjectsInput!] - upsert: [UserUpsertWithWhereUniqueWithoutProjectsInput!] - deleteMany: [UserScalarWhereInput!] - updateMany: [UserUpdateManyWithWhereNestedInput!] -} - -input UserUpdateManyWithWhereNestedInput { - where: UserScalarWhereInput! - data: UserUpdateManyDataInput! -} - -input UserUpdateOneRequiredWithoutChildrenInput { - create: UserCreateWithoutChildrenInput - update: UserUpdateWithoutChildrenDataInput - upsert: UserUpsertWithoutChildrenInput - connect: UserWhereUniqueInput -} - -input UserUpdateOneRequiredWithoutMealsInput { - create: UserCreateWithoutMealsInput - update: UserUpdateWithoutMealsDataInput - upsert: UserUpsertWithoutMealsInput - connect: UserWhereUniqueInput -} - -input UserUpdateWithoutChildrenDataInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - meals: MealUpdateManyWithoutUserInput - projects: ProjectUpdateManyWithoutUsersInput - phoneNumber: String -} - -input UserUpdateWithoutMealsDataInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - projects: ProjectUpdateManyWithoutUsersInput - children: ChildUpdateManyWithoutParentInput - phoneNumber: String -} - -input UserUpdateWithoutProjectsDataInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - meals: MealUpdateManyWithoutUserInput - children: ChildUpdateManyWithoutParentInput - phoneNumber: String -} - -input UserUpdateWithWhereUniqueWithoutProjectsInput { - where: UserWhereUniqueInput! - data: UserUpdateWithoutProjectsDataInput! -} - -input UserUpsertWithoutChildrenInput { - update: UserUpdateWithoutChildrenDataInput! - create: UserCreateWithoutChildrenInput! -} - -input UserUpsertWithoutMealsInput { - update: UserUpdateWithoutMealsDataInput! - create: UserCreateWithoutMealsInput! -} - -input UserUpsertWithWhereUniqueWithoutProjectsInput { - where: UserWhereUniqueInput! - update: UserUpdateWithoutProjectsDataInput! - create: UserCreateWithoutProjectsInput! -} - -input UserWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - consentGDPR: Boolean - consentGDPR_not: Boolean - postCode: String - postCode_not: String - postCode_in: [String!] - postCode_not_in: [String!] - postCode_lt: String - postCode_lte: String - postCode_gt: String - postCode_gte: String - postCode_contains: String - postCode_not_contains: String - postCode_starts_with: String - postCode_not_starts_with: String - postCode_ends_with: String - postCode_not_ends_with: String - email: String - email_not: String - email_in: [String!] - email_not_in: [String!] - email_lt: String - email_lte: String - email_gt: String - email_gte: String - email_contains: String - email_not_contains: String - email_starts_with: String - email_not_starts_with: String - email_ends_with: String - email_not_ends_with: String - meals_every: MealWhereInput - meals_some: MealWhereInput - meals_none: MealWhereInput - projects_every: ProjectWhereInput - projects_some: ProjectWhereInput - projects_none: ProjectWhereInput - children_every: ChildWhereInput - children_some: ChildWhereInput - children_none: ChildWhereInput - phoneNumber: String - phoneNumber_not: String - phoneNumber_in: [String!] - phoneNumber_not_in: [String!] - phoneNumber_lt: String - phoneNumber_lte: String - phoneNumber_gt: String - phoneNumber_gte: String - phoneNumber_contains: String - phoneNumber_not_contains: String - phoneNumber_starts_with: String - phoneNumber_not_starts_with: String - phoneNumber_ends_with: String - phoneNumber_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [UserWhereInput!] - OR: [UserWhereInput!] - NOT: [UserWhereInput!] -} - -input UserWhereUniqueInput { - id: ID - airtableId: String - email: String - phoneNumber: String -} -` - } - \ No newline at end of file diff --git a/prisma/generated/ts/index.ts b/prisma/generated/ts/index.ts deleted file mode 100644 index c6b38b2..0000000 --- a/prisma/generated/ts/index.ts +++ /dev/null @@ -1,3858 +0,0 @@ -// Code generated by Prisma (prisma@1.34.10). DO NOT EDIT. -// Please don't change this file manually but run `prisma generate` to update it. -// For more information, please read the docs: https://www.prisma.io/docs/prisma-client/ - -import { DocumentNode } from "graphql"; -import { - makePrismaClientClass, - BaseClientOptions, - Model -} from "prisma-client-lib"; -import { typeDefs } from "./prisma-schema"; - -export type AtLeastOne }> = Partial & - U[keyof U]; - -export type Maybe = T | undefined | null; - -export interface Exists { - category: (where?: CategoryWhereInput) => Promise; - child: (where?: ChildWhereInput) => Promise; - meal: (where?: MealWhereInput) => Promise; - project: (where?: ProjectWhereInput) => Promise; - proportion: (where?: ProportionWhereInput) => Promise; - tag: (where?: TagWhereInput) => Promise; - user: (where?: UserWhereInput) => Promise; -} - -export interface Node {} - -export type FragmentableArray = Promise> & Fragmentable; - -export interface Fragmentable { - $fragment(fragment: string | DocumentNode): Promise; -} - -export interface Prisma { - $exists: Exists; - $graphql: ( - query: string, - variables?: { [key: string]: any } - ) => Promise; - - /** - * Queries - */ - - category: (where: CategoryWhereUniqueInput) => CategoryNullablePromise; - categories: (args?: { - where?: CategoryWhereInput; - orderBy?: CategoryOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - categoriesConnection: (args?: { - where?: CategoryWhereInput; - orderBy?: CategoryOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => CategoryConnectionPromise; - child: (where: ChildWhereUniqueInput) => ChildNullablePromise; - children: (args?: { - where?: ChildWhereInput; - orderBy?: ChildOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - childrenConnection: (args?: { - where?: ChildWhereInput; - orderBy?: ChildOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => ChildConnectionPromise; - meal: (where: MealWhereUniqueInput) => MealNullablePromise; - meals: (args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - mealsConnection: (args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => MealConnectionPromise; - project: (where: ProjectWhereUniqueInput) => ProjectNullablePromise; - projects: (args?: { - where?: ProjectWhereInput; - orderBy?: ProjectOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - projectsConnection: (args?: { - where?: ProjectWhereInput; - orderBy?: ProjectOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => ProjectConnectionPromise; - proportion: (where: ProportionWhereUniqueInput) => ProportionNullablePromise; - proportions: (args?: { - where?: ProportionWhereInput; - orderBy?: ProportionOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - proportionsConnection: (args?: { - where?: ProportionWhereInput; - orderBy?: ProportionOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => ProportionConnectionPromise; - tag: (where: TagWhereUniqueInput) => TagNullablePromise; - tags: (args?: { - where?: TagWhereInput; - orderBy?: TagOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - tagsConnection: (args?: { - where?: TagWhereInput; - orderBy?: TagOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => TagConnectionPromise; - user: (where: UserWhereUniqueInput) => UserNullablePromise; - users: (args?: { - where?: UserWhereInput; - orderBy?: UserOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => FragmentableArray; - usersConnection: (args?: { - where?: UserWhereInput; - orderBy?: UserOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => UserConnectionPromise; - node: (args: { id: ID_Output }) => Node; - - /** - * Mutations - */ - - createCategory: (data: CategoryCreateInput) => CategoryPromise; - updateCategory: (args: { - data: CategoryUpdateInput; - where: CategoryWhereUniqueInput; - }) => CategoryPromise; - updateManyCategories: (args: { - data: CategoryUpdateManyMutationInput; - where?: CategoryWhereInput; - }) => BatchPayloadPromise; - upsertCategory: (args: { - where: CategoryWhereUniqueInput; - create: CategoryCreateInput; - update: CategoryUpdateInput; - }) => CategoryPromise; - deleteCategory: (where: CategoryWhereUniqueInput) => CategoryPromise; - deleteManyCategories: (where?: CategoryWhereInput) => BatchPayloadPromise; - createChild: (data: ChildCreateInput) => ChildPromise; - updateChild: (args: { - data: ChildUpdateInput; - where: ChildWhereUniqueInput; - }) => ChildPromise; - updateManyChildren: (args: { - data: ChildUpdateManyMutationInput; - where?: ChildWhereInput; - }) => BatchPayloadPromise; - upsertChild: (args: { - where: ChildWhereUniqueInput; - create: ChildCreateInput; - update: ChildUpdateInput; - }) => ChildPromise; - deleteChild: (where: ChildWhereUniqueInput) => ChildPromise; - deleteManyChildren: (where?: ChildWhereInput) => BatchPayloadPromise; - createMeal: (data: MealCreateInput) => MealPromise; - updateMeal: (args: { - data: MealUpdateInput; - where: MealWhereUniqueInput; - }) => MealPromise; - updateManyMeals: (args: { - data: MealUpdateManyMutationInput; - where?: MealWhereInput; - }) => BatchPayloadPromise; - upsertMeal: (args: { - where: MealWhereUniqueInput; - create: MealCreateInput; - update: MealUpdateInput; - }) => MealPromise; - deleteMeal: (where: MealWhereUniqueInput) => MealPromise; - deleteManyMeals: (where?: MealWhereInput) => BatchPayloadPromise; - createProject: (data: ProjectCreateInput) => ProjectPromise; - updateProject: (args: { - data: ProjectUpdateInput; - where: ProjectWhereUniqueInput; - }) => ProjectPromise; - updateManyProjects: (args: { - data: ProjectUpdateManyMutationInput; - where?: ProjectWhereInput; - }) => BatchPayloadPromise; - upsertProject: (args: { - where: ProjectWhereUniqueInput; - create: ProjectCreateInput; - update: ProjectUpdateInput; - }) => ProjectPromise; - deleteProject: (where: ProjectWhereUniqueInput) => ProjectPromise; - deleteManyProjects: (where?: ProjectWhereInput) => BatchPayloadPromise; - createProportion: (data: ProportionCreateInput) => ProportionPromise; - updateProportion: (args: { - data: ProportionUpdateInput; - where: ProportionWhereUniqueInput; - }) => ProportionPromise; - updateManyProportions: (args: { - data: ProportionUpdateManyMutationInput; - where?: ProportionWhereInput; - }) => BatchPayloadPromise; - upsertProportion: (args: { - where: ProportionWhereUniqueInput; - create: ProportionCreateInput; - update: ProportionUpdateInput; - }) => ProportionPromise; - deleteProportion: (where: ProportionWhereUniqueInput) => ProportionPromise; - deleteManyProportions: (where?: ProportionWhereInput) => BatchPayloadPromise; - createTag: (data: TagCreateInput) => TagPromise; - updateTag: (args: { - data: TagUpdateInput; - where: TagWhereUniqueInput; - }) => TagPromise; - updateManyTags: (args: { - data: TagUpdateManyMutationInput; - where?: TagWhereInput; - }) => BatchPayloadPromise; - upsertTag: (args: { - where: TagWhereUniqueInput; - create: TagCreateInput; - update: TagUpdateInput; - }) => TagPromise; - deleteTag: (where: TagWhereUniqueInput) => TagPromise; - deleteManyTags: (where?: TagWhereInput) => BatchPayloadPromise; - createUser: (data: UserCreateInput) => UserPromise; - updateUser: (args: { - data: UserUpdateInput; - where: UserWhereUniqueInput; - }) => UserPromise; - updateManyUsers: (args: { - data: UserUpdateManyMutationInput; - where?: UserWhereInput; - }) => BatchPayloadPromise; - upsertUser: (args: { - where: UserWhereUniqueInput; - create: UserCreateInput; - update: UserUpdateInput; - }) => UserPromise; - deleteUser: (where: UserWhereUniqueInput) => UserPromise; - deleteManyUsers: (where?: UserWhereInput) => BatchPayloadPromise; - - /** - * Subscriptions - */ - - $subscribe: Subscription; -} - -export interface Subscription { - category: ( - where?: CategorySubscriptionWhereInput - ) => CategorySubscriptionPayloadSubscription; - child: ( - where?: ChildSubscriptionWhereInput - ) => ChildSubscriptionPayloadSubscription; - meal: ( - where?: MealSubscriptionWhereInput - ) => MealSubscriptionPayloadSubscription; - project: ( - where?: ProjectSubscriptionWhereInput - ) => ProjectSubscriptionPayloadSubscription; - proportion: ( - where?: ProportionSubscriptionWhereInput - ) => ProportionSubscriptionPayloadSubscription; - tag: ( - where?: TagSubscriptionWhereInput - ) => TagSubscriptionPayloadSubscription; - user: ( - where?: UserSubscriptionWhereInput - ) => UserSubscriptionPayloadSubscription; -} - -export interface ClientConstructor { - new (options?: BaseClientOptions): T; -} - -/** - * Types - */ - -export type MealOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "imageURL_ASC" - | "imageURL_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type ProjectOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "name_ASC" - | "name_DESC" - | "slug_ASC" - | "slug_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type UserOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "consentGDPR_ASC" - | "consentGDPR_DESC" - | "postCode_ASC" - | "postCode_DESC" - | "email_ASC" - | "email_DESC" - | "phoneNumber_ASC" - | "phoneNumber_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type ChildOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "age_ASC" - | "age_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type CategoryOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "name_ASC" - | "name_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type TagOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "name_ASC" - | "name_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type ProportionOrderByInput = - | "id_ASC" - | "id_DESC" - | "airtableId_ASC" - | "airtableId_DESC" - | "name_ASC" - | "name_DESC" - | "updatedAt_ASC" - | "updatedAt_DESC" - | "createdAt_ASC" - | "createdAt_DESC"; - -export type MutationType = "CREATED" | "UPDATED" | "DELETED"; - -export interface TagUpdateWithWhereUniqueWithoutMealsInput { - where: TagWhereUniqueInput; - data: TagUpdateWithoutMealsDataInput; -} - -export type CategoryWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; - name?: Maybe; -}>; - -export interface TagUpdateManyDataInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface CategoryWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - meals_every?: Maybe; - meals_some?: Maybe; - meals_none?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProportionUpdateOneWithoutFruitMealsInput { - create?: Maybe; - update?: Maybe; - upsert?: Maybe; - delete?: Maybe; - disconnect?: Maybe; - connect?: Maybe; -} - -export interface ProportionWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - fruitMeals_every?: Maybe; - fruitMeals_some?: Maybe; - fruitMeals_none?: Maybe; - vegMeals_every?: Maybe; - vegMeals_some?: Maybe; - vegMeals_none?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface UserUpdateWithoutMealsDataInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - projects?: Maybe; - children?: Maybe; - phoneNumber?: Maybe; -} - -export interface MealUpdateManyMutationInput { - airtableId?: Maybe; - imageURL?: Maybe; -} - -export interface ProjectUpdateManyWithoutUsersInput { - create?: Maybe< - ProjectCreateWithoutUsersInput[] | ProjectCreateWithoutUsersInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | ProjectUpdateWithWhereUniqueWithoutUsersInput[] - | ProjectUpdateWithWhereUniqueWithoutUsersInput - >; - upsert?: Maybe< - | ProjectUpsertWithWhereUniqueWithoutUsersInput[] - | ProjectUpsertWithWhereUniqueWithoutUsersInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - | ProjectUpdateManyWithWhereNestedInput[] - | ProjectUpdateManyWithWhereNestedInput - >; -} - -export interface ProportionUpdateWithoutFruitMealsDataInput { - airtableId?: Maybe; - name?: Maybe; - vegMeals?: Maybe; -} - -export interface ProjectUpdateWithWhereUniqueWithoutUsersInput { - where: ProjectWhereUniqueInput; - data: ProjectUpdateWithoutUsersDataInput; -} - -export interface TagSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProjectUpdateWithoutUsersDataInput { - airtableId?: Maybe; - name?: Maybe; - slug?: Maybe; -} - -export interface ProjectWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - slug?: Maybe; - slug_not?: Maybe; - slug_in?: Maybe; - slug_not_in?: Maybe; - slug_lt?: Maybe; - slug_lte?: Maybe; - slug_gt?: Maybe; - slug_gte?: Maybe; - slug_contains?: Maybe; - slug_not_contains?: Maybe; - slug_starts_with?: Maybe; - slug_not_starts_with?: Maybe; - slug_ends_with?: Maybe; - slug_not_ends_with?: Maybe; - users_every?: Maybe; - users_some?: Maybe; - users_none?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProjectUpsertWithWhereUniqueWithoutUsersInput { - where: ProjectWhereUniqueInput; - update: ProjectUpdateWithoutUsersDataInput; - create: ProjectCreateWithoutUsersInput; -} - -export interface MealSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProjectScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - slug?: Maybe; - slug_not?: Maybe; - slug_in?: Maybe; - slug_not_in?: Maybe; - slug_lt?: Maybe; - slug_lte?: Maybe; - slug_gt?: Maybe; - slug_gte?: Maybe; - slug_contains?: Maybe; - slug_not_contains?: Maybe; - slug_starts_with?: Maybe; - slug_not_starts_with?: Maybe; - slug_ends_with?: Maybe; - slug_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface MealWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - user?: Maybe; - imageURL?: Maybe; - imageURL_not?: Maybe; - imageURL_in?: Maybe; - imageURL_not_in?: Maybe; - imageURL_lt?: Maybe; - imageURL_lte?: Maybe; - imageURL_gt?: Maybe; - imageURL_gte?: Maybe; - imageURL_contains?: Maybe; - imageURL_not_contains?: Maybe; - imageURL_starts_with?: Maybe; - imageURL_not_starts_with?: Maybe; - imageURL_ends_with?: Maybe; - imageURL_not_ends_with?: Maybe; - categories_every?: Maybe; - categories_some?: Maybe; - categories_none?: Maybe; - tags_every?: Maybe; - tags_some?: Maybe; - tags_none?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProjectUpdateManyWithWhereNestedInput { - where: ProjectScalarWhereInput; - data: ProjectUpdateManyDataInput; -} - -export interface CategorySubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe< - CategorySubscriptionWhereInput[] | CategorySubscriptionWhereInput - >; - OR?: Maybe; - NOT?: Maybe< - CategorySubscriptionWhereInput[] | CategorySubscriptionWhereInput - >; -} - -export interface ProjectUpdateManyDataInput { - airtableId?: Maybe; - name?: Maybe; - slug?: Maybe; -} - -export interface UserUpdateInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - meals?: Maybe; - projects?: Maybe; - children?: Maybe; - phoneNumber?: Maybe; -} - -export interface ChildUpdateManyWithoutParentInput { - create?: Maybe< - ChildCreateWithoutParentInput[] | ChildCreateWithoutParentInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | ChildUpdateWithWhereUniqueWithoutParentInput[] - | ChildUpdateWithWhereUniqueWithoutParentInput - >; - upsert?: Maybe< - | ChildUpsertWithWhereUniqueWithoutParentInput[] - | ChildUpsertWithWhereUniqueWithoutParentInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - ChildUpdateManyWithWhereNestedInput[] | ChildUpdateManyWithWhereNestedInput - >; -} - -export interface TagUpdateManyMutationInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface ChildUpdateWithWhereUniqueWithoutParentInput { - where: ChildWhereUniqueInput; - data: ChildUpdateWithoutParentDataInput; -} - -export interface MealUpsertWithWhereUniqueWithoutTagsInput { - where: MealWhereUniqueInput; - update: MealUpdateWithoutTagsDataInput; - create: MealCreateWithoutTagsInput; -} - -export interface ChildUpdateWithoutParentDataInput { - airtableId?: Maybe; - age?: Maybe; -} - -export interface MealUpdateWithWhereUniqueWithoutTagsInput { - where: MealWhereUniqueInput; - data: MealUpdateWithoutTagsDataInput; -} - -export interface ChildUpsertWithWhereUniqueWithoutParentInput { - where: ChildWhereUniqueInput; - update: ChildUpdateWithoutParentDataInput; - create: ChildCreateWithoutParentInput; -} - -export interface MealUpdateManyWithoutTagsInput { - create?: Maybe; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | MealUpdateWithWhereUniqueWithoutTagsInput[] - | MealUpdateWithWhereUniqueWithoutTagsInput - >; - upsert?: Maybe< - | MealUpsertWithWhereUniqueWithoutTagsInput[] - | MealUpsertWithWhereUniqueWithoutTagsInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - MealUpdateManyWithWhereNestedInput[] | MealUpdateManyWithWhereNestedInput - >; -} - -export interface ChildScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - age?: Maybe; - age_not?: Maybe; - age_in?: Maybe; - age_not_in?: Maybe; - age_lt?: Maybe; - age_lte?: Maybe; - age_gt?: Maybe; - age_gte?: Maybe; - age_contains?: Maybe; - age_not_contains?: Maybe; - age_starts_with?: Maybe; - age_not_starts_with?: Maybe; - age_ends_with?: Maybe; - age_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface MealCreateWithoutTagsInput { - id?: Maybe; - airtableId?: Maybe; - user: UserCreateOneWithoutMealsInput; - imageURL: String; - categories?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface ChildUpdateManyWithWhereNestedInput { - where: ChildScalarWhereInput; - data: ChildUpdateManyDataInput; -} - -export interface MealCreateManyWithoutTagsInput { - create?: Maybe; - connect?: Maybe; -} - -export interface ChildUpdateManyDataInput { - airtableId?: Maybe; - age?: Maybe; -} - -export interface ProportionUpdateManyMutationInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface UserUpsertWithoutMealsInput { - update: UserUpdateWithoutMealsDataInput; - create: UserCreateWithoutMealsInput; -} - -export interface ProportionUpdateInput { - airtableId?: Maybe; - name?: Maybe; - fruitMeals?: Maybe; - vegMeals?: Maybe; -} - -export interface TagUpdateManyWithoutMealsInput { - create?: Maybe; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | TagUpdateWithWhereUniqueWithoutMealsInput[] - | TagUpdateWithWhereUniqueWithoutMealsInput - >; - upsert?: Maybe< - | TagUpsertWithWhereUniqueWithoutMealsInput[] - | TagUpsertWithWhereUniqueWithoutMealsInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - TagUpdateManyWithWhereNestedInput[] | TagUpdateManyWithWhereNestedInput - >; -} - -export interface ProjectUpdateManyMutationInput { - airtableId?: Maybe; - name?: Maybe; - slug?: Maybe; -} - -export interface ProjectUpdateInput { - airtableId?: Maybe; - name?: Maybe; - slug?: Maybe; - users?: Maybe; -} - -export type TagWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; - name?: Maybe; -}>; - -export interface TagUpdateWithoutMealsDataInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface UserScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - consentGDPR?: Maybe; - consentGDPR_not?: Maybe; - postCode?: Maybe; - postCode_not?: Maybe; - postCode_in?: Maybe; - postCode_not_in?: Maybe; - postCode_lt?: Maybe; - postCode_lte?: Maybe; - postCode_gt?: Maybe; - postCode_gte?: Maybe; - postCode_contains?: Maybe; - postCode_not_contains?: Maybe; - postCode_starts_with?: Maybe; - postCode_not_starts_with?: Maybe; - postCode_ends_with?: Maybe; - postCode_not_ends_with?: Maybe; - email?: Maybe; - email_not?: Maybe; - email_in?: Maybe; - email_not_in?: Maybe; - email_lt?: Maybe; - email_lte?: Maybe; - email_gt?: Maybe; - email_gte?: Maybe; - email_contains?: Maybe; - email_not_contains?: Maybe; - email_starts_with?: Maybe; - email_not_starts_with?: Maybe; - email_ends_with?: Maybe; - email_not_ends_with?: Maybe; - phoneNumber?: Maybe; - phoneNumber_not?: Maybe; - phoneNumber_in?: Maybe; - phoneNumber_not_in?: Maybe; - phoneNumber_lt?: Maybe; - phoneNumber_lte?: Maybe; - phoneNumber_gt?: Maybe; - phoneNumber_gte?: Maybe; - phoneNumber_contains?: Maybe; - phoneNumber_not_contains?: Maybe; - phoneNumber_starts_with?: Maybe; - phoneNumber_not_starts_with?: Maybe; - phoneNumber_ends_with?: Maybe; - phoneNumber_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface TagUpsertWithWhereUniqueWithoutMealsInput { - where: TagWhereUniqueInput; - update: TagUpdateWithoutMealsDataInput; - create: TagCreateWithoutMealsInput; -} - -export type UserWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; - email?: Maybe; - phoneNumber?: Maybe; -}>; - -export interface TagScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface UserUpdateWithWhereUniqueWithoutProjectsInput { - where: UserWhereUniqueInput; - data: UserUpdateWithoutProjectsDataInput; -} - -export interface TagUpdateManyWithWhereNestedInput { - where: TagScalarWhereInput; - data: TagUpdateManyDataInput; -} - -export interface MealCreateManyWithoutCategoriesInput { - create?: Maybe< - MealCreateWithoutCategoriesInput[] | MealCreateWithoutCategoriesInput - >; - connect?: Maybe; -} - -export interface TagWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - meals_every?: Maybe; - meals_some?: Maybe; - meals_none?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface UserCreateOneWithoutMealsInput { - create?: Maybe; - connect?: Maybe; -} - -export interface ChildWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - Parent?: Maybe; - age?: Maybe; - age_not?: Maybe; - age_in?: Maybe; - age_not_in?: Maybe; - age_lt?: Maybe; - age_lte?: Maybe; - age_gt?: Maybe; - age_gte?: Maybe; - age_contains?: Maybe; - age_not_contains?: Maybe; - age_starts_with?: Maybe; - age_not_starts_with?: Maybe; - age_ends_with?: Maybe; - age_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProjectCreateManyWithoutUsersInput { - create?: Maybe< - ProjectCreateWithoutUsersInput[] | ProjectCreateWithoutUsersInput - >; - connect?: Maybe; -} - -export interface UserCreateWithoutProjectsInput { - id?: Maybe; - airtableId?: Maybe; - consentGDPR: Boolean; - postCode: String; - email: String; - meals?: Maybe; - children?: Maybe; - phoneNumber: String; -} - -export interface ChildCreateManyWithoutParentInput { - create?: Maybe< - ChildCreateWithoutParentInput[] | ChildCreateWithoutParentInput - >; - connect?: Maybe; -} - -export interface MealUpdateManyWithoutProportionVegInput { - create?: Maybe< - MealCreateWithoutProportionVegInput[] | MealCreateWithoutProportionVegInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | MealUpdateWithWhereUniqueWithoutProportionVegInput[] - | MealUpdateWithWhereUniqueWithoutProportionVegInput - >; - upsert?: Maybe< - | MealUpsertWithWhereUniqueWithoutProportionVegInput[] - | MealUpsertWithWhereUniqueWithoutProportionVegInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - MealUpdateManyWithWhereNestedInput[] | MealUpdateManyWithWhereNestedInput - >; -} - -export interface TagCreateManyWithoutMealsInput { - create?: Maybe; - connect?: Maybe; -} - -export interface MealUpdateWithWhereUniqueWithoutProportionVegInput { - where: MealWhereUniqueInput; - data: MealUpdateWithoutProportionVegDataInput; -} - -export interface ProportionCreateOneWithoutFruitMealsInput { - create?: Maybe; - connect?: Maybe; -} - -export interface MealUpdateWithoutProportionVegDataInput { - airtableId?: Maybe; - user?: Maybe; - imageURL?: Maybe; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; -} - -export interface MealCreateManyWithoutProportionVegInput { - create?: Maybe< - MealCreateWithoutProportionVegInput[] | MealCreateWithoutProportionVegInput - >; - connect?: Maybe; -} - -export interface CategoryUpdateManyWithoutMealsInput { - create?: Maybe< - CategoryCreateWithoutMealsInput[] | CategoryCreateWithoutMealsInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | CategoryUpdateWithWhereUniqueWithoutMealsInput[] - | CategoryUpdateWithWhereUniqueWithoutMealsInput - >; - upsert?: Maybe< - | CategoryUpsertWithWhereUniqueWithoutMealsInput[] - | CategoryUpsertWithWhereUniqueWithoutMealsInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - | CategoryUpdateManyWithWhereNestedInput[] - | CategoryUpdateManyWithWhereNestedInput - >; -} - -export interface CategoryCreateManyWithoutMealsInput { - create?: Maybe< - CategoryCreateWithoutMealsInput[] | CategoryCreateWithoutMealsInput - >; - connect?: Maybe; -} - -export interface CategoryUpdateWithWhereUniqueWithoutMealsInput { - where: CategoryWhereUniqueInput; - data: CategoryUpdateWithoutMealsDataInput; -} - -export interface ProportionCreateOneWithoutVegMealsInput { - create?: Maybe; - connect?: Maybe; -} - -export interface CategoryUpdateWithoutMealsDataInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface MealCreateManyWithoutProportionFruitInput { - create?: Maybe< - | MealCreateWithoutProportionFruitInput[] - | MealCreateWithoutProportionFruitInput - >; - connect?: Maybe; -} - -export interface CategoryUpsertWithWhereUniqueWithoutMealsInput { - where: CategoryWhereUniqueInput; - update: CategoryUpdateWithoutMealsDataInput; - create: CategoryCreateWithoutMealsInput; -} - -export interface CategoryUpdateInput { - airtableId?: Maybe; - name?: Maybe; - meals?: Maybe; -} - -export interface CategoryScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - name?: Maybe; - name_not?: Maybe; - name_in?: Maybe; - name_not_in?: Maybe; - name_lt?: Maybe; - name_lte?: Maybe; - name_gt?: Maybe; - name_gte?: Maybe; - name_contains?: Maybe; - name_not_contains?: Maybe; - name_starts_with?: Maybe; - name_not_starts_with?: Maybe; - name_ends_with?: Maybe; - name_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface MealUpdateWithWhereUniqueWithoutCategoriesInput { - where: MealWhereUniqueInput; - data: MealUpdateWithoutCategoriesDataInput; -} - -export interface CategoryUpdateManyWithWhereNestedInput { - where: CategoryScalarWhereInput; - data: CategoryUpdateManyDataInput; -} - -export interface UserUpdateOneRequiredWithoutMealsInput { - create?: Maybe; - update?: Maybe; - upsert?: Maybe; - connect?: Maybe; -} - -export interface CategoryUpdateManyDataInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface ProportionSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe< - ProportionSubscriptionWhereInput[] | ProportionSubscriptionWhereInput - >; - OR?: Maybe< - ProportionSubscriptionWhereInput[] | ProportionSubscriptionWhereInput - >; - NOT?: Maybe< - ProportionSubscriptionWhereInput[] | ProportionSubscriptionWhereInput - >; -} - -export interface MealUpsertWithWhereUniqueWithoutProportionVegInput { - where: MealWhereUniqueInput; - update: MealUpdateWithoutProportionVegDataInput; - create: MealCreateWithoutProportionVegInput; -} - -export interface UserWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - consentGDPR?: Maybe; - consentGDPR_not?: Maybe; - postCode?: Maybe; - postCode_not?: Maybe; - postCode_in?: Maybe; - postCode_not_in?: Maybe; - postCode_lt?: Maybe; - postCode_lte?: Maybe; - postCode_gt?: Maybe; - postCode_gte?: Maybe; - postCode_contains?: Maybe; - postCode_not_contains?: Maybe; - postCode_starts_with?: Maybe; - postCode_not_starts_with?: Maybe; - postCode_ends_with?: Maybe; - postCode_not_ends_with?: Maybe; - email?: Maybe; - email_not?: Maybe; - email_in?: Maybe; - email_not_in?: Maybe; - email_lt?: Maybe; - email_lte?: Maybe; - email_gt?: Maybe; - email_gte?: Maybe; - email_contains?: Maybe; - email_not_contains?: Maybe; - email_starts_with?: Maybe; - email_not_starts_with?: Maybe; - email_ends_with?: Maybe; - email_not_ends_with?: Maybe; - meals_every?: Maybe; - meals_some?: Maybe; - meals_none?: Maybe; - projects_every?: Maybe; - projects_some?: Maybe; - projects_none?: Maybe; - children_every?: Maybe; - children_some?: Maybe; - children_none?: Maybe; - phoneNumber?: Maybe; - phoneNumber_not?: Maybe; - phoneNumber_in?: Maybe; - phoneNumber_not_in?: Maybe; - phoneNumber_lt?: Maybe; - phoneNumber_lte?: Maybe; - phoneNumber_gt?: Maybe; - phoneNumber_gte?: Maybe; - phoneNumber_contains?: Maybe; - phoneNumber_not_contains?: Maybe; - phoneNumber_starts_with?: Maybe; - phoneNumber_not_starts_with?: Maybe; - phoneNumber_ends_with?: Maybe; - phoneNumber_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface MealScalarWhereInput { - id?: Maybe; - id_not?: Maybe; - id_in?: Maybe; - id_not_in?: Maybe; - id_lt?: Maybe; - id_lte?: Maybe; - id_gt?: Maybe; - id_gte?: Maybe; - id_contains?: Maybe; - id_not_contains?: Maybe; - id_starts_with?: Maybe; - id_not_starts_with?: Maybe; - id_ends_with?: Maybe; - id_not_ends_with?: Maybe; - airtableId?: Maybe; - airtableId_not?: Maybe; - airtableId_in?: Maybe; - airtableId_not_in?: Maybe; - airtableId_lt?: Maybe; - airtableId_lte?: Maybe; - airtableId_gt?: Maybe; - airtableId_gte?: Maybe; - airtableId_contains?: Maybe; - airtableId_not_contains?: Maybe; - airtableId_starts_with?: Maybe; - airtableId_not_starts_with?: Maybe; - airtableId_ends_with?: Maybe; - airtableId_not_ends_with?: Maybe; - imageURL?: Maybe; - imageURL_not?: Maybe; - imageURL_in?: Maybe; - imageURL_not_in?: Maybe; - imageURL_lt?: Maybe; - imageURL_lte?: Maybe; - imageURL_gt?: Maybe; - imageURL_gte?: Maybe; - imageURL_contains?: Maybe; - imageURL_not_contains?: Maybe; - imageURL_starts_with?: Maybe; - imageURL_not_starts_with?: Maybe; - imageURL_ends_with?: Maybe; - imageURL_not_ends_with?: Maybe; - updatedAt?: Maybe; - updatedAt_not?: Maybe; - updatedAt_in?: Maybe; - updatedAt_not_in?: Maybe; - updatedAt_lt?: Maybe; - updatedAt_lte?: Maybe; - updatedAt_gt?: Maybe; - updatedAt_gte?: Maybe; - createdAt?: Maybe; - createdAt_not?: Maybe; - createdAt_in?: Maybe; - createdAt_not_in?: Maybe; - createdAt_lt?: Maybe; - createdAt_lte?: Maybe; - createdAt_gt?: Maybe; - createdAt_gte?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface UserUpdateManyMutationInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - phoneNumber?: Maybe; -} - -export interface MealUpdateManyWithWhereNestedInput { - where: MealScalarWhereInput; - data: MealUpdateManyDataInput; -} - -export type ChildWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; -}>; - -export interface MealUpdateManyDataInput { - airtableId?: Maybe; - imageURL?: Maybe; -} - -export type MealWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; -}>; - -export interface ProportionUpsertWithoutFruitMealsInput { - update: ProportionUpdateWithoutFruitMealsDataInput; - create: ProportionCreateWithoutFruitMealsInput; -} - -export type ProjectWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; - slug?: Maybe; -}>; - -export interface ProportionUpdateOneWithoutVegMealsInput { - create?: Maybe; - update?: Maybe; - upsert?: Maybe; - delete?: Maybe; - disconnect?: Maybe; - connect?: Maybe; -} - -export type ProportionWhereUniqueInput = AtLeastOne<{ - id: Maybe; - airtableId?: Maybe; - name?: Maybe; -}>; - -export interface ProportionUpdateWithoutVegMealsDataInput { - airtableId?: Maybe; - name?: Maybe; - fruitMeals?: Maybe; -} - -export interface UserUpdateManyDataInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - phoneNumber?: Maybe; -} - -export interface MealUpdateManyWithoutProportionFruitInput { - create?: Maybe< - | MealCreateWithoutProportionFruitInput[] - | MealCreateWithoutProportionFruitInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | MealUpdateWithWhereUniqueWithoutProportionFruitInput[] - | MealUpdateWithWhereUniqueWithoutProportionFruitInput - >; - upsert?: Maybe< - | MealUpsertWithWhereUniqueWithoutProportionFruitInput[] - | MealUpsertWithWhereUniqueWithoutProportionFruitInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - MealUpdateManyWithWhereNestedInput[] | MealUpdateManyWithWhereNestedInput - >; -} - -export interface UserUpsertWithWhereUniqueWithoutProjectsInput { - where: UserWhereUniqueInput; - update: UserUpdateWithoutProjectsDataInput; - create: UserCreateWithoutProjectsInput; -} - -export interface MealUpdateWithWhereUniqueWithoutProportionFruitInput { - where: MealWhereUniqueInput; - data: MealUpdateWithoutProportionFruitDataInput; -} - -export interface UserUpdateManyWithoutProjectsInput { - create?: Maybe< - UserCreateWithoutProjectsInput[] | UserCreateWithoutProjectsInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | UserUpdateWithWhereUniqueWithoutProjectsInput[] - | UserUpdateWithWhereUniqueWithoutProjectsInput - >; - upsert?: Maybe< - | UserUpsertWithWhereUniqueWithoutProjectsInput[] - | UserUpsertWithWhereUniqueWithoutProjectsInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - UserUpdateManyWithWhereNestedInput[] | UserUpdateManyWithWhereNestedInput - >; -} - -export interface MealUpdateWithoutProportionFruitDataInput { - airtableId?: Maybe; - user?: Maybe; - imageURL?: Maybe; - categories?: Maybe; - tags?: Maybe; - proportionVeg?: Maybe; -} - -export interface MealCreateWithoutCategoriesInput { - id?: Maybe; - airtableId?: Maybe; - user: UserCreateOneWithoutMealsInput; - imageURL: String; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface MealUpsertWithWhereUniqueWithoutProportionFruitInput { - where: MealWhereUniqueInput; - update: MealUpdateWithoutProportionFruitDataInput; - create: MealCreateWithoutProportionFruitInput; -} - -export interface ProjectCreateWithoutUsersInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - slug: String; -} - -export interface ProportionUpsertWithoutVegMealsInput { - update: ProportionUpdateWithoutVegMealsDataInput; - create: ProportionCreateWithoutVegMealsInput; -} - -export interface TagCreateWithoutMealsInput { - id?: Maybe; - airtableId?: Maybe; - name: String; -} - -export interface MealUpsertWithWhereUniqueWithoutCategoriesInput { - where: MealWhereUniqueInput; - update: MealUpdateWithoutCategoriesDataInput; - create: MealCreateWithoutCategoriesInput; -} - -export interface MealCreateWithoutProportionVegInput { - id?: Maybe; - airtableId?: Maybe; - user: UserCreateOneWithoutMealsInput; - imageURL: String; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; -} - -export interface CategoryUpdateManyMutationInput { - airtableId?: Maybe; - name?: Maybe; -} - -export interface ProportionCreateWithoutVegMealsInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - fruitMeals?: Maybe; -} - -export interface UserCreateManyWithoutProjectsInput { - create?: Maybe< - UserCreateWithoutProjectsInput[] | UserCreateWithoutProjectsInput - >; - connect?: Maybe; -} - -export interface MealUpdateManyWithoutCategoriesInput { - create?: Maybe< - MealCreateWithoutCategoriesInput[] | MealCreateWithoutCategoriesInput - >; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | MealUpdateWithWhereUniqueWithoutCategoriesInput[] - | MealUpdateWithWhereUniqueWithoutCategoriesInput - >; - upsert?: Maybe< - | MealUpsertWithWhereUniqueWithoutCategoriesInput[] - | MealUpsertWithWhereUniqueWithoutCategoriesInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - MealUpdateManyWithWhereNestedInput[] | MealUpdateManyWithWhereNestedInput - >; -} - -export interface ProjectCreateInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - slug: String; - users?: Maybe; -} - -export interface UserSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ChildCreateInput { - id?: Maybe; - airtableId?: Maybe; - Parent: UserCreateOneWithoutChildrenInput; - age: String; -} - -export interface ChildSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface UserCreateOneWithoutChildrenInput { - create?: Maybe; - connect?: Maybe; -} - -export interface MealUpdateWithoutTagsDataInput { - airtableId?: Maybe; - user?: Maybe; - imageURL?: Maybe; - categories?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface UserCreateWithoutChildrenInput { - id?: Maybe; - airtableId?: Maybe; - consentGDPR: Boolean; - postCode: String; - email: String; - meals?: Maybe; - projects?: Maybe; - phoneNumber: String; -} - -export interface TagCreateInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - meals?: Maybe; -} - -export interface MealCreateManyWithoutUserInput { - create?: Maybe; - connect?: Maybe; -} - -export interface UserUpdateManyWithWhereNestedInput { - where: UserScalarWhereInput; - data: UserUpdateManyDataInput; -} - -export interface MealCreateWithoutUserInput { - id?: Maybe; - airtableId?: Maybe; - imageURL: String; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface CategoryCreateInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - meals?: Maybe; -} - -export interface ChildUpdateInput { - airtableId?: Maybe; - Parent?: Maybe; - age?: Maybe; -} - -export interface ChildCreateWithoutParentInput { - id?: Maybe; - airtableId?: Maybe; - age: String; -} - -export interface UserUpdateOneRequiredWithoutChildrenInput { - create?: Maybe; - update?: Maybe; - upsert?: Maybe; - connect?: Maybe; -} - -export interface CategoryCreateWithoutMealsInput { - id?: Maybe; - airtableId?: Maybe; - name: String; -} - -export interface UserUpdateWithoutChildrenDataInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - meals?: Maybe; - projects?: Maybe; - phoneNumber?: Maybe; -} - -export interface MealUpdateWithoutCategoriesDataInput { - airtableId?: Maybe; - user?: Maybe; - imageURL?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface MealUpdateManyWithoutUserInput { - create?: Maybe; - delete?: Maybe; - connect?: Maybe; - set?: Maybe; - disconnect?: Maybe; - update?: Maybe< - | MealUpdateWithWhereUniqueWithoutUserInput[] - | MealUpdateWithWhereUniqueWithoutUserInput - >; - upsert?: Maybe< - | MealUpsertWithWhereUniqueWithoutUserInput[] - | MealUpsertWithWhereUniqueWithoutUserInput - >; - deleteMany?: Maybe; - updateMany?: Maybe< - MealUpdateManyWithWhereNestedInput[] | MealUpdateManyWithWhereNestedInput - >; -} - -export interface UserCreateInput { - id?: Maybe; - airtableId?: Maybe; - consentGDPR: Boolean; - postCode: String; - email: String; - meals?: Maybe; - projects?: Maybe; - children?: Maybe; - phoneNumber: String; -} - -export interface MealUpdateWithWhereUniqueWithoutUserInput { - where: MealWhereUniqueInput; - data: MealUpdateWithoutUserDataInput; -} - -export interface ProportionCreateInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - fruitMeals?: Maybe; - vegMeals?: Maybe; -} - -export interface MealUpdateWithoutUserDataInput { - airtableId?: Maybe; - imageURL?: Maybe; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface UserCreateWithoutMealsInput { - id?: Maybe; - airtableId?: Maybe; - consentGDPR: Boolean; - postCode: String; - email: String; - projects?: Maybe; - children?: Maybe; - phoneNumber: String; -} - -export interface MealUpsertWithWhereUniqueWithoutUserInput { - where: MealWhereUniqueInput; - update: MealUpdateWithoutUserDataInput; - create: MealCreateWithoutUserInput; -} - -export interface MealCreateWithoutProportionFruitInput { - id?: Maybe; - airtableId?: Maybe; - user: UserCreateOneWithoutMealsInput; - imageURL: String; - categories?: Maybe; - tags?: Maybe; - proportionVeg?: Maybe; -} - -export interface MealUpdateInput { - airtableId?: Maybe; - user?: Maybe; - imageURL?: Maybe; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface MealCreateInput { - id?: Maybe; - airtableId?: Maybe; - user: UserCreateOneWithoutMealsInput; - imageURL: String; - categories?: Maybe; - tags?: Maybe; - proportionFruit?: Maybe; - proportionVeg?: Maybe; -} - -export interface ChildUpdateManyMutationInput { - airtableId?: Maybe; - age?: Maybe; -} - -export interface UserUpsertWithoutChildrenInput { - update: UserUpdateWithoutChildrenDataInput; - create: UserCreateWithoutChildrenInput; -} - -export interface ProjectSubscriptionWhereInput { - mutation_in?: Maybe; - updatedFields_contains?: Maybe; - updatedFields_contains_every?: Maybe; - updatedFields_contains_some?: Maybe; - node?: Maybe; - AND?: Maybe; - OR?: Maybe; - NOT?: Maybe; -} - -export interface ProportionCreateWithoutFruitMealsInput { - id?: Maybe; - airtableId?: Maybe; - name: String; - vegMeals?: Maybe; -} - -export interface UserUpdateWithoutProjectsDataInput { - airtableId?: Maybe; - consentGDPR?: Maybe; - postCode?: Maybe; - email?: Maybe; - meals?: Maybe; - children?: Maybe; - phoneNumber?: Maybe; -} - -export interface TagUpdateInput { - airtableId?: Maybe; - name?: Maybe; - meals?: Maybe; -} - -export interface NodeNode { - id: ID_Output; -} - -export interface UserPreviousValues { - id: ID_Output; - airtableId?: String; - consentGDPR: Boolean; - postCode: String; - email: String; - phoneNumber: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface UserPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - consentGDPR: () => Promise; - postCode: () => Promise; - email: () => Promise; - phoneNumber: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface UserPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - consentGDPR: () => Promise>; - postCode: () => Promise>; - email: () => Promise>; - phoneNumber: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ChildConnection { - pageInfo: PageInfo; - edges: ChildEdge[]; -} - -export interface ChildConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface ChildConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface TagSubscriptionPayload { - mutation: MutationType; - node: Tag; - updatedFields: String[]; - previousValues: TagPreviousValues; -} - -export interface TagSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface TagSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface AggregateCategory { - count: Int; -} - -export interface AggregateCategoryPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateCategorySubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface CategoryEdge { - node: Category; - cursor: String; -} - -export interface CategoryEdgePromise - extends Promise, - Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface CategoryEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface BatchPayload { - count: Long; -} - -export interface BatchPayloadPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface BatchPayloadSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface UserSubscriptionPayload { - mutation: MutationType; - node: User; - updatedFields: String[]; - previousValues: UserPreviousValues; -} - -export interface UserSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface UserSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface PageInfo { - hasNextPage: Boolean; - hasPreviousPage: Boolean; - startCursor?: String; - endCursor?: String; -} - -export interface PageInfoPromise extends Promise, Fragmentable { - hasNextPage: () => Promise; - hasPreviousPage: () => Promise; - startCursor: () => Promise; - endCursor: () => Promise; -} - -export interface PageInfoSubscription - extends Promise>, - Fragmentable { - hasNextPage: () => Promise>; - hasPreviousPage: () => Promise>; - startCursor: () => Promise>; - endCursor: () => Promise>; -} - -export interface UserEdge { - node: User; - cursor: String; -} - -export interface UserEdgePromise extends Promise, Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface UserEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface CategoryConnection { - pageInfo: PageInfo; - edges: CategoryEdge[]; -} - -export interface CategoryConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface CategoryConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface AggregateTag { - count: Int; -} - -export interface AggregateTagPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateTagSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface Proportion { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ProportionPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - fruitMeals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - vegMeals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProportionSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - fruitMeals: >>(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - vegMeals: >>(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProportionNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - fruitMeals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - vegMeals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface TagConnection { - pageInfo: PageInfo; - edges: TagEdge[]; -} - -export interface TagConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface TagConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface User { - id: ID_Output; - airtableId?: String; - consentGDPR: Boolean; - postCode: String; - email: String; - phoneNumber: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface UserPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - consentGDPR: () => Promise; - postCode: () => Promise; - email: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - projects: >(args?: { - where?: ProjectWhereInput; - orderBy?: ProjectOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - children: >(args?: { - where?: ChildWhereInput; - orderBy?: ChildOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - phoneNumber: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface UserSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - consentGDPR: () => Promise>; - postCode: () => Promise>; - email: () => Promise>; - meals: >>(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - projects: >>(args?: { - where?: ProjectWhereInput; - orderBy?: ProjectOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - children: >>(args?: { - where?: ChildWhereInput; - orderBy?: ChildOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - phoneNumber: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface UserNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - consentGDPR: () => Promise; - postCode: () => Promise; - email: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - projects: >(args?: { - where?: ProjectWhereInput; - orderBy?: ProjectOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - children: >(args?: { - where?: ChildWhereInput; - orderBy?: ChildOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - phoneNumber: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProportionEdge { - node: Proportion; - cursor: String; -} - -export interface ProportionEdgePromise - extends Promise, - Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface ProportionEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface CategorySubscriptionPayload { - mutation: MutationType; - node: Category; - updatedFields: String[]; - previousValues: CategoryPreviousValues; -} - -export interface CategorySubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface CategorySubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface Category { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface CategoryPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface CategorySubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - meals: >>(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface CategoryNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface CategoryPreviousValues { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface CategoryPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface CategoryPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProjectEdge { - node: Project; - cursor: String; -} - -export interface ProjectEdgePromise extends Promise, Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface ProjectEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface Tag { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface TagPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface TagSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - meals: >>(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface TagNullablePromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - meals: >(args?: { - where?: MealWhereInput; - orderBy?: MealOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface AggregateMeal { - count: Int; -} - -export interface AggregateMealPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateMealSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface ChildSubscriptionPayload { - mutation: MutationType; - node: Child; - updatedFields: String[]; - previousValues: ChildPreviousValues; -} - -export interface ChildSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface ChildSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface MealConnection { - pageInfo: PageInfo; - edges: MealEdge[]; -} - -export interface MealConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface MealConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface ChildPreviousValues { - id: ID_Output; - airtableId?: String; - age: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ChildPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - age: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ChildPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - age: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ChildEdge { - node: Child; - cursor: String; -} - -export interface ChildEdgePromise extends Promise, Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface ChildEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface Child { - id: ID_Output; - airtableId?: String; - age: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ChildPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - Parent: () => T; - age: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ChildSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - Parent: () => T; - age: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ChildNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - Parent: () => T; - age: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface AggregateUser { - count: Int; -} - -export interface AggregateUserPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateUserSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface MealSubscriptionPayload { - mutation: MutationType; - node: Meal; - updatedFields: String[]; - previousValues: MealPreviousValues; -} - -export interface MealSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface MealSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface TagEdge { - node: Tag; - cursor: String; -} - -export interface TagEdgePromise extends Promise, Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface TagEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface MealPreviousValues { - id: ID_Output; - airtableId?: String; - imageURL: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface MealPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - imageURL: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface MealPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - imageURL: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProportionConnection { - pageInfo: PageInfo; - edges: ProportionEdge[]; -} - -export interface ProportionConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface ProportionConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface TagPreviousValues { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface TagPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface TagPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProjectConnection { - pageInfo: PageInfo; - edges: ProjectEdge[]; -} - -export interface ProjectConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface ProjectConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface ProjectSubscriptionPayload { - mutation: MutationType; - node: Project; - updatedFields: String[]; - previousValues: ProjectPreviousValues; -} - -export interface ProjectSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface ProjectSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface AggregateChild { - count: Int; -} - -export interface AggregateChildPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateChildSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface UserConnection { - pageInfo: PageInfo; - edges: UserEdge[]; -} - -export interface UserConnectionPromise - extends Promise, - Fragmentable { - pageInfo: () => T; - edges: >() => T; - aggregate: () => T; -} - -export interface UserConnectionSubscription - extends Promise>, - Fragmentable { - pageInfo: () => T; - edges: >>() => T; - aggregate: () => T; -} - -export interface ProportionPreviousValues { - id: ID_Output; - airtableId?: String; - name: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ProportionPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProportionPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProportionSubscriptionPayload { - mutation: MutationType; - node: Proportion; - updatedFields: String[]; - previousValues: ProportionPreviousValues; -} - -export interface ProportionSubscriptionPayloadPromise - extends Promise, - Fragmentable { - mutation: () => Promise; - node: () => T; - updatedFields: () => Promise; - previousValues: () => T; -} - -export interface ProportionSubscriptionPayloadSubscription - extends Promise>, - Fragmentable { - mutation: () => Promise>; - node: () => T; - updatedFields: () => Promise>; - previousValues: () => T; -} - -export interface Project { - id: ID_Output; - airtableId?: String; - name: String; - slug: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ProjectPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - slug: () => Promise; - users: >(args?: { - where?: UserWhereInput; - orderBy?: UserOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProjectSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - slug: () => Promise>; - users: >>(args?: { - where?: UserWhereInput; - orderBy?: UserOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface ProjectNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - slug: () => Promise; - users: >(args?: { - where?: UserWhereInput; - orderBy?: UserOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProjectPreviousValues { - id: ID_Output; - airtableId?: String; - name: String; - slug: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface ProjectPreviousValuesPromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - name: () => Promise; - slug: () => Promise; - updatedAt: () => Promise; - createdAt: () => Promise; -} - -export interface ProjectPreviousValuesSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - name: () => Promise>; - slug: () => Promise>; - updatedAt: () => Promise>; - createdAt: () => Promise>; -} - -export interface AggregateProportion { - count: Int; -} - -export interface AggregateProportionPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateProportionSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -export interface Meal { - id: ID_Output; - airtableId?: String; - imageURL: String; - updatedAt: DateTimeOutput; - createdAt: DateTimeOutput; -} - -export interface MealPromise extends Promise, Fragmentable { - id: () => Promise; - airtableId: () => Promise; - user: () => T; - imageURL: () => Promise; - categories: >(args?: { - where?: CategoryWhereInput; - orderBy?: CategoryOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - tags: >(args?: { - where?: TagWhereInput; - orderBy?: TagOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; - proportionFruit: () => T; - proportionVeg: () => T; -} - -export interface MealSubscription - extends Promise>, - Fragmentable { - id: () => Promise>; - airtableId: () => Promise>; - user: () => T; - imageURL: () => Promise>; - categories: >>(args?: { - where?: CategoryWhereInput; - orderBy?: CategoryOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - tags: >>(args?: { - where?: TagWhereInput; - orderBy?: TagOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise>; - createdAt: () => Promise>; - proportionFruit: () => T; - proportionVeg: () => T; -} - -export interface MealNullablePromise - extends Promise, - Fragmentable { - id: () => Promise; - airtableId: () => Promise; - user: () => T; - imageURL: () => Promise; - categories: >(args?: { - where?: CategoryWhereInput; - orderBy?: CategoryOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - tags: >(args?: { - where?: TagWhereInput; - orderBy?: TagOrderByInput; - skip?: Int; - after?: String; - before?: String; - first?: Int; - last?: Int; - }) => T; - updatedAt: () => Promise; - createdAt: () => Promise; - proportionFruit: () => T; - proportionVeg: () => T; -} - -export interface MealEdge { - node: Meal; - cursor: String; -} - -export interface MealEdgePromise extends Promise, Fragmentable { - node: () => T; - cursor: () => Promise; -} - -export interface MealEdgeSubscription - extends Promise>, - Fragmentable { - node: () => T; - cursor: () => Promise>; -} - -export interface AggregateProject { - count: Int; -} - -export interface AggregateProjectPromise - extends Promise, - Fragmentable { - count: () => Promise; -} - -export interface AggregateProjectSubscription - extends Promise>, - Fragmentable { - count: () => Promise>; -} - -/* -The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. -*/ -export type Int = number; - -export type Long = string; - -/* -The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID. -*/ -export type ID_Input = string | number; -export type ID_Output = string; - -/* -The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. -*/ -export type String = string; - -/* -The `Boolean` scalar type represents `true` or `false`. -*/ -export type Boolean = boolean; - -/* -DateTime scalar input type, allowing Date -*/ -export type DateTimeInput = Date | string; - -/* -DateTime scalar output type, which is always a string -*/ -export type DateTimeOutput = string; - -/** - * Model Metadata - */ - -export const models: Model[] = [ - { - name: "User", - embedded: false - }, - { - name: "Child", - embedded: false - }, - { - name: "Meal", - embedded: false - }, - { - name: "Tag", - embedded: false - }, - { - name: "Category", - embedded: false - }, - { - name: "Project", - embedded: false - }, - { - name: "Proportion", - embedded: false - } -]; - -/** - * Type Defs - */ - -export const Prisma = makePrismaClientClass>({ - typeDefs, - models, - endpoint: `${process.env["PRISMA_ENDPOINT"]}`, - secret: `${process.env["PRISMA_SECRET"]}` -}); -export const prisma = new Prisma(); diff --git a/prisma/generated/ts/prisma-schema.ts b/prisma/generated/ts/prisma-schema.ts deleted file mode 100644 index 7762aea..0000000 --- a/prisma/generated/ts/prisma-schema.ts +++ /dev/null @@ -1,2366 +0,0 @@ -// Code generated by Prisma (prisma@1.34.10). DO NOT EDIT. - // Please don't change this file manually but run `prisma generate` to update it. - // For more information, please read the docs: https://www.prisma.io/docs/prisma-client/ - -export const typeDefs = /* GraphQL */ `type AggregateCategory { - count: Int! -} - -type AggregateChild { - count: Int! -} - -type AggregateMeal { - count: Int! -} - -type AggregateProject { - count: Int! -} - -type AggregateProportion { - count: Int! -} - -type AggregateTag { - count: Int! -} - -type AggregateUser { - count: Int! -} - -type BatchPayload { - count: Long! -} - -type Category { - id: ID! - airtableId: String - name: String! - meals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal!] - updatedAt: DateTime! - createdAt: DateTime! -} - -type CategoryConnection { - pageInfo: PageInfo! - edges: [CategoryEdge]! - aggregate: AggregateCategory! -} - -input CategoryCreateInput { - id: ID - airtableId: String - name: String! - meals: MealCreateManyWithoutCategoriesInput -} - -input CategoryCreateManyWithoutMealsInput { - create: [CategoryCreateWithoutMealsInput!] - connect: [CategoryWhereUniqueInput!] -} - -input CategoryCreateWithoutMealsInput { - id: ID - airtableId: String - name: String! -} - -type CategoryEdge { - node: Category! - cursor: String! -} - -enum CategoryOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - name_ASC - name_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type CategoryPreviousValues { - id: ID! - airtableId: String - name: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input CategoryScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [CategoryScalarWhereInput!] - OR: [CategoryScalarWhereInput!] - NOT: [CategoryScalarWhereInput!] -} - -type CategorySubscriptionPayload { - mutation: MutationType! - node: Category - updatedFields: [String!] - previousValues: CategoryPreviousValues -} - -input CategorySubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: CategoryWhereInput - AND: [CategorySubscriptionWhereInput!] - OR: [CategorySubscriptionWhereInput!] - NOT: [CategorySubscriptionWhereInput!] -} - -input CategoryUpdateInput { - airtableId: String - name: String - meals: MealUpdateManyWithoutCategoriesInput -} - -input CategoryUpdateManyDataInput { - airtableId: String - name: String -} - -input CategoryUpdateManyMutationInput { - airtableId: String - name: String -} - -input CategoryUpdateManyWithoutMealsInput { - create: [CategoryCreateWithoutMealsInput!] - delete: [CategoryWhereUniqueInput!] - connect: [CategoryWhereUniqueInput!] - set: [CategoryWhereUniqueInput!] - disconnect: [CategoryWhereUniqueInput!] - update: [CategoryUpdateWithWhereUniqueWithoutMealsInput!] - upsert: [CategoryUpsertWithWhereUniqueWithoutMealsInput!] - deleteMany: [CategoryScalarWhereInput!] - updateMany: [CategoryUpdateManyWithWhereNestedInput!] -} - -input CategoryUpdateManyWithWhereNestedInput { - where: CategoryScalarWhereInput! - data: CategoryUpdateManyDataInput! -} - -input CategoryUpdateWithoutMealsDataInput { - airtableId: String - name: String -} - -input CategoryUpdateWithWhereUniqueWithoutMealsInput { - where: CategoryWhereUniqueInput! - data: CategoryUpdateWithoutMealsDataInput! -} - -input CategoryUpsertWithWhereUniqueWithoutMealsInput { - where: CategoryWhereUniqueInput! - update: CategoryUpdateWithoutMealsDataInput! - create: CategoryCreateWithoutMealsInput! -} - -input CategoryWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - meals_every: MealWhereInput - meals_some: MealWhereInput - meals_none: MealWhereInput - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [CategoryWhereInput!] - OR: [CategoryWhereInput!] - NOT: [CategoryWhereInput!] -} - -input CategoryWhereUniqueInput { - id: ID - airtableId: String - name: String -} - -type Child { - id: ID! - airtableId: String - Parent: User! - age: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -type ChildConnection { - pageInfo: PageInfo! - edges: [ChildEdge]! - aggregate: AggregateChild! -} - -input ChildCreateInput { - id: ID - airtableId: String - Parent: UserCreateOneWithoutChildrenInput! - age: String! -} - -input ChildCreateManyWithoutParentInput { - create: [ChildCreateWithoutParentInput!] - connect: [ChildWhereUniqueInput!] -} - -input ChildCreateWithoutParentInput { - id: ID - airtableId: String - age: String! -} - -type ChildEdge { - node: Child! - cursor: String! -} - -enum ChildOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - age_ASC - age_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type ChildPreviousValues { - id: ID! - airtableId: String - age: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input ChildScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - age: String - age_not: String - age_in: [String!] - age_not_in: [String!] - age_lt: String - age_lte: String - age_gt: String - age_gte: String - age_contains: String - age_not_contains: String - age_starts_with: String - age_not_starts_with: String - age_ends_with: String - age_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [ChildScalarWhereInput!] - OR: [ChildScalarWhereInput!] - NOT: [ChildScalarWhereInput!] -} - -type ChildSubscriptionPayload { - mutation: MutationType! - node: Child - updatedFields: [String!] - previousValues: ChildPreviousValues -} - -input ChildSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: ChildWhereInput - AND: [ChildSubscriptionWhereInput!] - OR: [ChildSubscriptionWhereInput!] - NOT: [ChildSubscriptionWhereInput!] -} - -input ChildUpdateInput { - airtableId: String - Parent: UserUpdateOneRequiredWithoutChildrenInput - age: String -} - -input ChildUpdateManyDataInput { - airtableId: String - age: String -} - -input ChildUpdateManyMutationInput { - airtableId: String - age: String -} - -input ChildUpdateManyWithoutParentInput { - create: [ChildCreateWithoutParentInput!] - delete: [ChildWhereUniqueInput!] - connect: [ChildWhereUniqueInput!] - set: [ChildWhereUniqueInput!] - disconnect: [ChildWhereUniqueInput!] - update: [ChildUpdateWithWhereUniqueWithoutParentInput!] - upsert: [ChildUpsertWithWhereUniqueWithoutParentInput!] - deleteMany: [ChildScalarWhereInput!] - updateMany: [ChildUpdateManyWithWhereNestedInput!] -} - -input ChildUpdateManyWithWhereNestedInput { - where: ChildScalarWhereInput! - data: ChildUpdateManyDataInput! -} - -input ChildUpdateWithoutParentDataInput { - airtableId: String - age: String -} - -input ChildUpdateWithWhereUniqueWithoutParentInput { - where: ChildWhereUniqueInput! - data: ChildUpdateWithoutParentDataInput! -} - -input ChildUpsertWithWhereUniqueWithoutParentInput { - where: ChildWhereUniqueInput! - update: ChildUpdateWithoutParentDataInput! - create: ChildCreateWithoutParentInput! -} - -input ChildWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - Parent: UserWhereInput - age: String - age_not: String - age_in: [String!] - age_not_in: [String!] - age_lt: String - age_lte: String - age_gt: String - age_gte: String - age_contains: String - age_not_contains: String - age_starts_with: String - age_not_starts_with: String - age_ends_with: String - age_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [ChildWhereInput!] - OR: [ChildWhereInput!] - NOT: [ChildWhereInput!] -} - -input ChildWhereUniqueInput { - id: ID - airtableId: String -} - -scalar DateTime - -scalar Long - -type Meal { - id: ID! - airtableId: String - user: User! - imageURL: String! - categories(where: CategoryWhereInput, orderBy: CategoryOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Category!] - tags(where: TagWhereInput, orderBy: TagOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Tag!] - updatedAt: DateTime! - createdAt: DateTime! - proportionFruit: Proportion - proportionVeg: Proportion -} - -type MealConnection { - pageInfo: PageInfo! - edges: [MealEdge]! - aggregate: AggregateMeal! -} - -input MealCreateInput { - id: ID - airtableId: String - user: UserCreateOneWithoutMealsInput! - imageURL: String! - categories: CategoryCreateManyWithoutMealsInput - tags: TagCreateManyWithoutMealsInput - proportionFruit: ProportionCreateOneWithoutFruitMealsInput - proportionVeg: ProportionCreateOneWithoutVegMealsInput -} - -input MealCreateManyWithoutCategoriesInput { - create: [MealCreateWithoutCategoriesInput!] - connect: [MealWhereUniqueInput!] -} - -input MealCreateManyWithoutProportionFruitInput { - create: [MealCreateWithoutProportionFruitInput!] - connect: [MealWhereUniqueInput!] -} - -input MealCreateManyWithoutProportionVegInput { - create: [MealCreateWithoutProportionVegInput!] - connect: [MealWhereUniqueInput!] -} - -input MealCreateManyWithoutTagsInput { - create: [MealCreateWithoutTagsInput!] - connect: [MealWhereUniqueInput!] -} - -input MealCreateManyWithoutUserInput { - create: [MealCreateWithoutUserInput!] - connect: [MealWhereUniqueInput!] -} - -input MealCreateWithoutCategoriesInput { - id: ID - airtableId: String - user: UserCreateOneWithoutMealsInput! - imageURL: String! - tags: TagCreateManyWithoutMealsInput - proportionFruit: ProportionCreateOneWithoutFruitMealsInput - proportionVeg: ProportionCreateOneWithoutVegMealsInput -} - -input MealCreateWithoutProportionFruitInput { - id: ID - airtableId: String - user: UserCreateOneWithoutMealsInput! - imageURL: String! - categories: CategoryCreateManyWithoutMealsInput - tags: TagCreateManyWithoutMealsInput - proportionVeg: ProportionCreateOneWithoutVegMealsInput -} - -input MealCreateWithoutProportionVegInput { - id: ID - airtableId: String - user: UserCreateOneWithoutMealsInput! - imageURL: String! - categories: CategoryCreateManyWithoutMealsInput - tags: TagCreateManyWithoutMealsInput - proportionFruit: ProportionCreateOneWithoutFruitMealsInput -} - -input MealCreateWithoutTagsInput { - id: ID - airtableId: String - user: UserCreateOneWithoutMealsInput! - imageURL: String! - categories: CategoryCreateManyWithoutMealsInput - proportionFruit: ProportionCreateOneWithoutFruitMealsInput - proportionVeg: ProportionCreateOneWithoutVegMealsInput -} - -input MealCreateWithoutUserInput { - id: ID - airtableId: String - imageURL: String! - categories: CategoryCreateManyWithoutMealsInput - tags: TagCreateManyWithoutMealsInput - proportionFruit: ProportionCreateOneWithoutFruitMealsInput - proportionVeg: ProportionCreateOneWithoutVegMealsInput -} - -type MealEdge { - node: Meal! - cursor: String! -} - -enum MealOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - imageURL_ASC - imageURL_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type MealPreviousValues { - id: ID! - airtableId: String - imageURL: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input MealScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - imageURL: String - imageURL_not: String - imageURL_in: [String!] - imageURL_not_in: [String!] - imageURL_lt: String - imageURL_lte: String - imageURL_gt: String - imageURL_gte: String - imageURL_contains: String - imageURL_not_contains: String - imageURL_starts_with: String - imageURL_not_starts_with: String - imageURL_ends_with: String - imageURL_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [MealScalarWhereInput!] - OR: [MealScalarWhereInput!] - NOT: [MealScalarWhereInput!] -} - -type MealSubscriptionPayload { - mutation: MutationType! - node: Meal - updatedFields: [String!] - previousValues: MealPreviousValues -} - -input MealSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: MealWhereInput - AND: [MealSubscriptionWhereInput!] - OR: [MealSubscriptionWhereInput!] - NOT: [MealSubscriptionWhereInput!] -} - -input MealUpdateInput { - airtableId: String - user: UserUpdateOneRequiredWithoutMealsInput - imageURL: String - categories: CategoryUpdateManyWithoutMealsInput - tags: TagUpdateManyWithoutMealsInput - proportionFruit: ProportionUpdateOneWithoutFruitMealsInput - proportionVeg: ProportionUpdateOneWithoutVegMealsInput -} - -input MealUpdateManyDataInput { - airtableId: String - imageURL: String -} - -input MealUpdateManyMutationInput { - airtableId: String - imageURL: String -} - -input MealUpdateManyWithoutCategoriesInput { - create: [MealCreateWithoutCategoriesInput!] - delete: [MealWhereUniqueInput!] - connect: [MealWhereUniqueInput!] - set: [MealWhereUniqueInput!] - disconnect: [MealWhereUniqueInput!] - update: [MealUpdateWithWhereUniqueWithoutCategoriesInput!] - upsert: [MealUpsertWithWhereUniqueWithoutCategoriesInput!] - deleteMany: [MealScalarWhereInput!] - updateMany: [MealUpdateManyWithWhereNestedInput!] -} - -input MealUpdateManyWithoutProportionFruitInput { - create: [MealCreateWithoutProportionFruitInput!] - delete: [MealWhereUniqueInput!] - connect: [MealWhereUniqueInput!] - set: [MealWhereUniqueInput!] - disconnect: [MealWhereUniqueInput!] - update: [MealUpdateWithWhereUniqueWithoutProportionFruitInput!] - upsert: [MealUpsertWithWhereUniqueWithoutProportionFruitInput!] - deleteMany: [MealScalarWhereInput!] - updateMany: [MealUpdateManyWithWhereNestedInput!] -} - -input MealUpdateManyWithoutProportionVegInput { - create: [MealCreateWithoutProportionVegInput!] - delete: [MealWhereUniqueInput!] - connect: [MealWhereUniqueInput!] - set: [MealWhereUniqueInput!] - disconnect: [MealWhereUniqueInput!] - update: [MealUpdateWithWhereUniqueWithoutProportionVegInput!] - upsert: [MealUpsertWithWhereUniqueWithoutProportionVegInput!] - deleteMany: [MealScalarWhereInput!] - updateMany: [MealUpdateManyWithWhereNestedInput!] -} - -input MealUpdateManyWithoutTagsInput { - create: [MealCreateWithoutTagsInput!] - delete: [MealWhereUniqueInput!] - connect: [MealWhereUniqueInput!] - set: [MealWhereUniqueInput!] - disconnect: [MealWhereUniqueInput!] - update: [MealUpdateWithWhereUniqueWithoutTagsInput!] - upsert: [MealUpsertWithWhereUniqueWithoutTagsInput!] - deleteMany: [MealScalarWhereInput!] - updateMany: [MealUpdateManyWithWhereNestedInput!] -} - -input MealUpdateManyWithoutUserInput { - create: [MealCreateWithoutUserInput!] - delete: [MealWhereUniqueInput!] - connect: [MealWhereUniqueInput!] - set: [MealWhereUniqueInput!] - disconnect: [MealWhereUniqueInput!] - update: [MealUpdateWithWhereUniqueWithoutUserInput!] - upsert: [MealUpsertWithWhereUniqueWithoutUserInput!] - deleteMany: [MealScalarWhereInput!] - updateMany: [MealUpdateManyWithWhereNestedInput!] -} - -input MealUpdateManyWithWhereNestedInput { - where: MealScalarWhereInput! - data: MealUpdateManyDataInput! -} - -input MealUpdateWithoutCategoriesDataInput { - airtableId: String - user: UserUpdateOneRequiredWithoutMealsInput - imageURL: String - tags: TagUpdateManyWithoutMealsInput - proportionFruit: ProportionUpdateOneWithoutFruitMealsInput - proportionVeg: ProportionUpdateOneWithoutVegMealsInput -} - -input MealUpdateWithoutProportionFruitDataInput { - airtableId: String - user: UserUpdateOneRequiredWithoutMealsInput - imageURL: String - categories: CategoryUpdateManyWithoutMealsInput - tags: TagUpdateManyWithoutMealsInput - proportionVeg: ProportionUpdateOneWithoutVegMealsInput -} - -input MealUpdateWithoutProportionVegDataInput { - airtableId: String - user: UserUpdateOneRequiredWithoutMealsInput - imageURL: String - categories: CategoryUpdateManyWithoutMealsInput - tags: TagUpdateManyWithoutMealsInput - proportionFruit: ProportionUpdateOneWithoutFruitMealsInput -} - -input MealUpdateWithoutTagsDataInput { - airtableId: String - user: UserUpdateOneRequiredWithoutMealsInput - imageURL: String - categories: CategoryUpdateManyWithoutMealsInput - proportionFruit: ProportionUpdateOneWithoutFruitMealsInput - proportionVeg: ProportionUpdateOneWithoutVegMealsInput -} - -input MealUpdateWithoutUserDataInput { - airtableId: String - imageURL: String - categories: CategoryUpdateManyWithoutMealsInput - tags: TagUpdateManyWithoutMealsInput - proportionFruit: ProportionUpdateOneWithoutFruitMealsInput - proportionVeg: ProportionUpdateOneWithoutVegMealsInput -} - -input MealUpdateWithWhereUniqueWithoutCategoriesInput { - where: MealWhereUniqueInput! - data: MealUpdateWithoutCategoriesDataInput! -} - -input MealUpdateWithWhereUniqueWithoutProportionFruitInput { - where: MealWhereUniqueInput! - data: MealUpdateWithoutProportionFruitDataInput! -} - -input MealUpdateWithWhereUniqueWithoutProportionVegInput { - where: MealWhereUniqueInput! - data: MealUpdateWithoutProportionVegDataInput! -} - -input MealUpdateWithWhereUniqueWithoutTagsInput { - where: MealWhereUniqueInput! - data: MealUpdateWithoutTagsDataInput! -} - -input MealUpdateWithWhereUniqueWithoutUserInput { - where: MealWhereUniqueInput! - data: MealUpdateWithoutUserDataInput! -} - -input MealUpsertWithWhereUniqueWithoutCategoriesInput { - where: MealWhereUniqueInput! - update: MealUpdateWithoutCategoriesDataInput! - create: MealCreateWithoutCategoriesInput! -} - -input MealUpsertWithWhereUniqueWithoutProportionFruitInput { - where: MealWhereUniqueInput! - update: MealUpdateWithoutProportionFruitDataInput! - create: MealCreateWithoutProportionFruitInput! -} - -input MealUpsertWithWhereUniqueWithoutProportionVegInput { - where: MealWhereUniqueInput! - update: MealUpdateWithoutProportionVegDataInput! - create: MealCreateWithoutProportionVegInput! -} - -input MealUpsertWithWhereUniqueWithoutTagsInput { - where: MealWhereUniqueInput! - update: MealUpdateWithoutTagsDataInput! - create: MealCreateWithoutTagsInput! -} - -input MealUpsertWithWhereUniqueWithoutUserInput { - where: MealWhereUniqueInput! - update: MealUpdateWithoutUserDataInput! - create: MealCreateWithoutUserInput! -} - -input MealWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - user: UserWhereInput - imageURL: String - imageURL_not: String - imageURL_in: [String!] - imageURL_not_in: [String!] - imageURL_lt: String - imageURL_lte: String - imageURL_gt: String - imageURL_gte: String - imageURL_contains: String - imageURL_not_contains: String - imageURL_starts_with: String - imageURL_not_starts_with: String - imageURL_ends_with: String - imageURL_not_ends_with: String - categories_every: CategoryWhereInput - categories_some: CategoryWhereInput - categories_none: CategoryWhereInput - tags_every: TagWhereInput - tags_some: TagWhereInput - tags_none: TagWhereInput - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - proportionFruit: ProportionWhereInput - proportionVeg: ProportionWhereInput - AND: [MealWhereInput!] - OR: [MealWhereInput!] - NOT: [MealWhereInput!] -} - -input MealWhereUniqueInput { - id: ID - airtableId: String -} - -type Mutation { - createCategory(data: CategoryCreateInput!): Category! - updateCategory(data: CategoryUpdateInput!, where: CategoryWhereUniqueInput!): Category - updateManyCategories(data: CategoryUpdateManyMutationInput!, where: CategoryWhereInput): BatchPayload! - upsertCategory(where: CategoryWhereUniqueInput!, create: CategoryCreateInput!, update: CategoryUpdateInput!): Category! - deleteCategory(where: CategoryWhereUniqueInput!): Category - deleteManyCategories(where: CategoryWhereInput): BatchPayload! - createChild(data: ChildCreateInput!): Child! - updateChild(data: ChildUpdateInput!, where: ChildWhereUniqueInput!): Child - updateManyChildren(data: ChildUpdateManyMutationInput!, where: ChildWhereInput): BatchPayload! - upsertChild(where: ChildWhereUniqueInput!, create: ChildCreateInput!, update: ChildUpdateInput!): Child! - deleteChild(where: ChildWhereUniqueInput!): Child - deleteManyChildren(where: ChildWhereInput): BatchPayload! - createMeal(data: MealCreateInput!): Meal! - updateMeal(data: MealUpdateInput!, where: MealWhereUniqueInput!): Meal - updateManyMeals(data: MealUpdateManyMutationInput!, where: MealWhereInput): BatchPayload! - upsertMeal(where: MealWhereUniqueInput!, create: MealCreateInput!, update: MealUpdateInput!): Meal! - deleteMeal(where: MealWhereUniqueInput!): Meal - deleteManyMeals(where: MealWhereInput): BatchPayload! - createProject(data: ProjectCreateInput!): Project! - updateProject(data: ProjectUpdateInput!, where: ProjectWhereUniqueInput!): Project - updateManyProjects(data: ProjectUpdateManyMutationInput!, where: ProjectWhereInput): BatchPayload! - upsertProject(where: ProjectWhereUniqueInput!, create: ProjectCreateInput!, update: ProjectUpdateInput!): Project! - deleteProject(where: ProjectWhereUniqueInput!): Project - deleteManyProjects(where: ProjectWhereInput): BatchPayload! - createProportion(data: ProportionCreateInput!): Proportion! - updateProportion(data: ProportionUpdateInput!, where: ProportionWhereUniqueInput!): Proportion - updateManyProportions(data: ProportionUpdateManyMutationInput!, where: ProportionWhereInput): BatchPayload! - upsertProportion(where: ProportionWhereUniqueInput!, create: ProportionCreateInput!, update: ProportionUpdateInput!): Proportion! - deleteProportion(where: ProportionWhereUniqueInput!): Proportion - deleteManyProportions(where: ProportionWhereInput): BatchPayload! - createTag(data: TagCreateInput!): Tag! - updateTag(data: TagUpdateInput!, where: TagWhereUniqueInput!): Tag - updateManyTags(data: TagUpdateManyMutationInput!, where: TagWhereInput): BatchPayload! - upsertTag(where: TagWhereUniqueInput!, create: TagCreateInput!, update: TagUpdateInput!): Tag! - deleteTag(where: TagWhereUniqueInput!): Tag - deleteManyTags(where: TagWhereInput): BatchPayload! - createUser(data: UserCreateInput!): User! - updateUser(data: UserUpdateInput!, where: UserWhereUniqueInput!): User - updateManyUsers(data: UserUpdateManyMutationInput!, where: UserWhereInput): BatchPayload! - upsertUser(where: UserWhereUniqueInput!, create: UserCreateInput!, update: UserUpdateInput!): User! - deleteUser(where: UserWhereUniqueInput!): User - deleteManyUsers(where: UserWhereInput): BatchPayload! -} - -enum MutationType { - CREATED - UPDATED - DELETED -} - -interface Node { - id: ID! -} - -type PageInfo { - hasNextPage: Boolean! - hasPreviousPage: Boolean! - startCursor: String - endCursor: String -} - -type Project { - id: ID! - airtableId: String - name: String! - slug: String! - users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User!] - updatedAt: DateTime! - createdAt: DateTime! -} - -type ProjectConnection { - pageInfo: PageInfo! - edges: [ProjectEdge]! - aggregate: AggregateProject! -} - -input ProjectCreateInput { - id: ID - airtableId: String - name: String! - slug: String! - users: UserCreateManyWithoutProjectsInput -} - -input ProjectCreateManyWithoutUsersInput { - create: [ProjectCreateWithoutUsersInput!] - connect: [ProjectWhereUniqueInput!] -} - -input ProjectCreateWithoutUsersInput { - id: ID - airtableId: String - name: String! - slug: String! -} - -type ProjectEdge { - node: Project! - cursor: String! -} - -enum ProjectOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - name_ASC - name_DESC - slug_ASC - slug_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type ProjectPreviousValues { - id: ID! - airtableId: String - name: String! - slug: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input ProjectScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - slug: String - slug_not: String - slug_in: [String!] - slug_not_in: [String!] - slug_lt: String - slug_lte: String - slug_gt: String - slug_gte: String - slug_contains: String - slug_not_contains: String - slug_starts_with: String - slug_not_starts_with: String - slug_ends_with: String - slug_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [ProjectScalarWhereInput!] - OR: [ProjectScalarWhereInput!] - NOT: [ProjectScalarWhereInput!] -} - -type ProjectSubscriptionPayload { - mutation: MutationType! - node: Project - updatedFields: [String!] - previousValues: ProjectPreviousValues -} - -input ProjectSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: ProjectWhereInput - AND: [ProjectSubscriptionWhereInput!] - OR: [ProjectSubscriptionWhereInput!] - NOT: [ProjectSubscriptionWhereInput!] -} - -input ProjectUpdateInput { - airtableId: String - name: String - slug: String - users: UserUpdateManyWithoutProjectsInput -} - -input ProjectUpdateManyDataInput { - airtableId: String - name: String - slug: String -} - -input ProjectUpdateManyMutationInput { - airtableId: String - name: String - slug: String -} - -input ProjectUpdateManyWithoutUsersInput { - create: [ProjectCreateWithoutUsersInput!] - delete: [ProjectWhereUniqueInput!] - connect: [ProjectWhereUniqueInput!] - set: [ProjectWhereUniqueInput!] - disconnect: [ProjectWhereUniqueInput!] - update: [ProjectUpdateWithWhereUniqueWithoutUsersInput!] - upsert: [ProjectUpsertWithWhereUniqueWithoutUsersInput!] - deleteMany: [ProjectScalarWhereInput!] - updateMany: [ProjectUpdateManyWithWhereNestedInput!] -} - -input ProjectUpdateManyWithWhereNestedInput { - where: ProjectScalarWhereInput! - data: ProjectUpdateManyDataInput! -} - -input ProjectUpdateWithoutUsersDataInput { - airtableId: String - name: String - slug: String -} - -input ProjectUpdateWithWhereUniqueWithoutUsersInput { - where: ProjectWhereUniqueInput! - data: ProjectUpdateWithoutUsersDataInput! -} - -input ProjectUpsertWithWhereUniqueWithoutUsersInput { - where: ProjectWhereUniqueInput! - update: ProjectUpdateWithoutUsersDataInput! - create: ProjectCreateWithoutUsersInput! -} - -input ProjectWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - slug: String - slug_not: String - slug_in: [String!] - slug_not_in: [String!] - slug_lt: String - slug_lte: String - slug_gt: String - slug_gte: String - slug_contains: String - slug_not_contains: String - slug_starts_with: String - slug_not_starts_with: String - slug_ends_with: String - slug_not_ends_with: String - users_every: UserWhereInput - users_some: UserWhereInput - users_none: UserWhereInput - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [ProjectWhereInput!] - OR: [ProjectWhereInput!] - NOT: [ProjectWhereInput!] -} - -input ProjectWhereUniqueInput { - id: ID - airtableId: String - slug: String -} - -type Proportion { - id: ID! - airtableId: String - name: String! - fruitMeals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal!] - vegMeals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal!] - updatedAt: DateTime! - createdAt: DateTime! -} - -type ProportionConnection { - pageInfo: PageInfo! - edges: [ProportionEdge]! - aggregate: AggregateProportion! -} - -input ProportionCreateInput { - id: ID - airtableId: String - name: String! - fruitMeals: MealCreateManyWithoutProportionFruitInput - vegMeals: MealCreateManyWithoutProportionVegInput -} - -input ProportionCreateOneWithoutFruitMealsInput { - create: ProportionCreateWithoutFruitMealsInput - connect: ProportionWhereUniqueInput -} - -input ProportionCreateOneWithoutVegMealsInput { - create: ProportionCreateWithoutVegMealsInput - connect: ProportionWhereUniqueInput -} - -input ProportionCreateWithoutFruitMealsInput { - id: ID - airtableId: String - name: String! - vegMeals: MealCreateManyWithoutProportionVegInput -} - -input ProportionCreateWithoutVegMealsInput { - id: ID - airtableId: String - name: String! - fruitMeals: MealCreateManyWithoutProportionFruitInput -} - -type ProportionEdge { - node: Proportion! - cursor: String! -} - -enum ProportionOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - name_ASC - name_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type ProportionPreviousValues { - id: ID! - airtableId: String - name: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -type ProportionSubscriptionPayload { - mutation: MutationType! - node: Proportion - updatedFields: [String!] - previousValues: ProportionPreviousValues -} - -input ProportionSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: ProportionWhereInput - AND: [ProportionSubscriptionWhereInput!] - OR: [ProportionSubscriptionWhereInput!] - NOT: [ProportionSubscriptionWhereInput!] -} - -input ProportionUpdateInput { - airtableId: String - name: String - fruitMeals: MealUpdateManyWithoutProportionFruitInput - vegMeals: MealUpdateManyWithoutProportionVegInput -} - -input ProportionUpdateManyMutationInput { - airtableId: String - name: String -} - -input ProportionUpdateOneWithoutFruitMealsInput { - create: ProportionCreateWithoutFruitMealsInput - update: ProportionUpdateWithoutFruitMealsDataInput - upsert: ProportionUpsertWithoutFruitMealsInput - delete: Boolean - disconnect: Boolean - connect: ProportionWhereUniqueInput -} - -input ProportionUpdateOneWithoutVegMealsInput { - create: ProportionCreateWithoutVegMealsInput - update: ProportionUpdateWithoutVegMealsDataInput - upsert: ProportionUpsertWithoutVegMealsInput - delete: Boolean - disconnect: Boolean - connect: ProportionWhereUniqueInput -} - -input ProportionUpdateWithoutFruitMealsDataInput { - airtableId: String - name: String - vegMeals: MealUpdateManyWithoutProportionVegInput -} - -input ProportionUpdateWithoutVegMealsDataInput { - airtableId: String - name: String - fruitMeals: MealUpdateManyWithoutProportionFruitInput -} - -input ProportionUpsertWithoutFruitMealsInput { - update: ProportionUpdateWithoutFruitMealsDataInput! - create: ProportionCreateWithoutFruitMealsInput! -} - -input ProportionUpsertWithoutVegMealsInput { - update: ProportionUpdateWithoutVegMealsDataInput! - create: ProportionCreateWithoutVegMealsInput! -} - -input ProportionWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - fruitMeals_every: MealWhereInput - fruitMeals_some: MealWhereInput - fruitMeals_none: MealWhereInput - vegMeals_every: MealWhereInput - vegMeals_some: MealWhereInput - vegMeals_none: MealWhereInput - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [ProportionWhereInput!] - OR: [ProportionWhereInput!] - NOT: [ProportionWhereInput!] -} - -input ProportionWhereUniqueInput { - id: ID - airtableId: String - name: String -} - -type Query { - category(where: CategoryWhereUniqueInput!): Category - categories(where: CategoryWhereInput, orderBy: CategoryOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Category]! - categoriesConnection(where: CategoryWhereInput, orderBy: CategoryOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): CategoryConnection! - child(where: ChildWhereUniqueInput!): Child - children(where: ChildWhereInput, orderBy: ChildOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Child]! - childrenConnection(where: ChildWhereInput, orderBy: ChildOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ChildConnection! - meal(where: MealWhereUniqueInput!): Meal - meals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal]! - mealsConnection(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): MealConnection! - project(where: ProjectWhereUniqueInput!): Project - projects(where: ProjectWhereInput, orderBy: ProjectOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Project]! - projectsConnection(where: ProjectWhereInput, orderBy: ProjectOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ProjectConnection! - proportion(where: ProportionWhereUniqueInput!): Proportion - proportions(where: ProportionWhereInput, orderBy: ProportionOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Proportion]! - proportionsConnection(where: ProportionWhereInput, orderBy: ProportionOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ProportionConnection! - tag(where: TagWhereUniqueInput!): Tag - tags(where: TagWhereInput, orderBy: TagOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Tag]! - tagsConnection(where: TagWhereInput, orderBy: TagOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): TagConnection! - user(where: UserWhereUniqueInput!): User - users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User]! - usersConnection(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): UserConnection! - node(id: ID!): Node -} - -type Subscription { - category(where: CategorySubscriptionWhereInput): CategorySubscriptionPayload - child(where: ChildSubscriptionWhereInput): ChildSubscriptionPayload - meal(where: MealSubscriptionWhereInput): MealSubscriptionPayload - project(where: ProjectSubscriptionWhereInput): ProjectSubscriptionPayload - proportion(where: ProportionSubscriptionWhereInput): ProportionSubscriptionPayload - tag(where: TagSubscriptionWhereInput): TagSubscriptionPayload - user(where: UserSubscriptionWhereInput): UserSubscriptionPayload -} - -type Tag { - id: ID! - airtableId: String - name: String! - meals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal!] - updatedAt: DateTime! - createdAt: DateTime! -} - -type TagConnection { - pageInfo: PageInfo! - edges: [TagEdge]! - aggregate: AggregateTag! -} - -input TagCreateInput { - id: ID - airtableId: String - name: String! - meals: MealCreateManyWithoutTagsInput -} - -input TagCreateManyWithoutMealsInput { - create: [TagCreateWithoutMealsInput!] - connect: [TagWhereUniqueInput!] -} - -input TagCreateWithoutMealsInput { - id: ID - airtableId: String - name: String! -} - -type TagEdge { - node: Tag! - cursor: String! -} - -enum TagOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - name_ASC - name_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type TagPreviousValues { - id: ID! - airtableId: String - name: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input TagScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [TagScalarWhereInput!] - OR: [TagScalarWhereInput!] - NOT: [TagScalarWhereInput!] -} - -type TagSubscriptionPayload { - mutation: MutationType! - node: Tag - updatedFields: [String!] - previousValues: TagPreviousValues -} - -input TagSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: TagWhereInput - AND: [TagSubscriptionWhereInput!] - OR: [TagSubscriptionWhereInput!] - NOT: [TagSubscriptionWhereInput!] -} - -input TagUpdateInput { - airtableId: String - name: String - meals: MealUpdateManyWithoutTagsInput -} - -input TagUpdateManyDataInput { - airtableId: String - name: String -} - -input TagUpdateManyMutationInput { - airtableId: String - name: String -} - -input TagUpdateManyWithoutMealsInput { - create: [TagCreateWithoutMealsInput!] - delete: [TagWhereUniqueInput!] - connect: [TagWhereUniqueInput!] - set: [TagWhereUniqueInput!] - disconnect: [TagWhereUniqueInput!] - update: [TagUpdateWithWhereUniqueWithoutMealsInput!] - upsert: [TagUpsertWithWhereUniqueWithoutMealsInput!] - deleteMany: [TagScalarWhereInput!] - updateMany: [TagUpdateManyWithWhereNestedInput!] -} - -input TagUpdateManyWithWhereNestedInput { - where: TagScalarWhereInput! - data: TagUpdateManyDataInput! -} - -input TagUpdateWithoutMealsDataInput { - airtableId: String - name: String -} - -input TagUpdateWithWhereUniqueWithoutMealsInput { - where: TagWhereUniqueInput! - data: TagUpdateWithoutMealsDataInput! -} - -input TagUpsertWithWhereUniqueWithoutMealsInput { - where: TagWhereUniqueInput! - update: TagUpdateWithoutMealsDataInput! - create: TagCreateWithoutMealsInput! -} - -input TagWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - name: String - name_not: String - name_in: [String!] - name_not_in: [String!] - name_lt: String - name_lte: String - name_gt: String - name_gte: String - name_contains: String - name_not_contains: String - name_starts_with: String - name_not_starts_with: String - name_ends_with: String - name_not_ends_with: String - meals_every: MealWhereInput - meals_some: MealWhereInput - meals_none: MealWhereInput - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [TagWhereInput!] - OR: [TagWhereInput!] - NOT: [TagWhereInput!] -} - -input TagWhereUniqueInput { - id: ID - airtableId: String - name: String -} - -type User { - id: ID! - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - meals(where: MealWhereInput, orderBy: MealOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Meal!] - projects(where: ProjectWhereInput, orderBy: ProjectOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Project!] - children(where: ChildWhereInput, orderBy: ChildOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Child!] - phoneNumber: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -type UserConnection { - pageInfo: PageInfo! - edges: [UserEdge]! - aggregate: AggregateUser! -} - -input UserCreateInput { - id: ID - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - meals: MealCreateManyWithoutUserInput - projects: ProjectCreateManyWithoutUsersInput - children: ChildCreateManyWithoutParentInput - phoneNumber: String! -} - -input UserCreateManyWithoutProjectsInput { - create: [UserCreateWithoutProjectsInput!] - connect: [UserWhereUniqueInput!] -} - -input UserCreateOneWithoutChildrenInput { - create: UserCreateWithoutChildrenInput - connect: UserWhereUniqueInput -} - -input UserCreateOneWithoutMealsInput { - create: UserCreateWithoutMealsInput - connect: UserWhereUniqueInput -} - -input UserCreateWithoutChildrenInput { - id: ID - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - meals: MealCreateManyWithoutUserInput - projects: ProjectCreateManyWithoutUsersInput - phoneNumber: String! -} - -input UserCreateWithoutMealsInput { - id: ID - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - projects: ProjectCreateManyWithoutUsersInput - children: ChildCreateManyWithoutParentInput - phoneNumber: String! -} - -input UserCreateWithoutProjectsInput { - id: ID - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - meals: MealCreateManyWithoutUserInput - children: ChildCreateManyWithoutParentInput - phoneNumber: String! -} - -type UserEdge { - node: User! - cursor: String! -} - -enum UserOrderByInput { - id_ASC - id_DESC - airtableId_ASC - airtableId_DESC - consentGDPR_ASC - consentGDPR_DESC - postCode_ASC - postCode_DESC - email_ASC - email_DESC - phoneNumber_ASC - phoneNumber_DESC - updatedAt_ASC - updatedAt_DESC - createdAt_ASC - createdAt_DESC -} - -type UserPreviousValues { - id: ID! - airtableId: String - consentGDPR: Boolean! - postCode: String! - email: String! - phoneNumber: String! - updatedAt: DateTime! - createdAt: DateTime! -} - -input UserScalarWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - consentGDPR: Boolean - consentGDPR_not: Boolean - postCode: String - postCode_not: String - postCode_in: [String!] - postCode_not_in: [String!] - postCode_lt: String - postCode_lte: String - postCode_gt: String - postCode_gte: String - postCode_contains: String - postCode_not_contains: String - postCode_starts_with: String - postCode_not_starts_with: String - postCode_ends_with: String - postCode_not_ends_with: String - email: String - email_not: String - email_in: [String!] - email_not_in: [String!] - email_lt: String - email_lte: String - email_gt: String - email_gte: String - email_contains: String - email_not_contains: String - email_starts_with: String - email_not_starts_with: String - email_ends_with: String - email_not_ends_with: String - phoneNumber: String - phoneNumber_not: String - phoneNumber_in: [String!] - phoneNumber_not_in: [String!] - phoneNumber_lt: String - phoneNumber_lte: String - phoneNumber_gt: String - phoneNumber_gte: String - phoneNumber_contains: String - phoneNumber_not_contains: String - phoneNumber_starts_with: String - phoneNumber_not_starts_with: String - phoneNumber_ends_with: String - phoneNumber_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [UserScalarWhereInput!] - OR: [UserScalarWhereInput!] - NOT: [UserScalarWhereInput!] -} - -type UserSubscriptionPayload { - mutation: MutationType! - node: User - updatedFields: [String!] - previousValues: UserPreviousValues -} - -input UserSubscriptionWhereInput { - mutation_in: [MutationType!] - updatedFields_contains: String - updatedFields_contains_every: [String!] - updatedFields_contains_some: [String!] - node: UserWhereInput - AND: [UserSubscriptionWhereInput!] - OR: [UserSubscriptionWhereInput!] - NOT: [UserSubscriptionWhereInput!] -} - -input UserUpdateInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - meals: MealUpdateManyWithoutUserInput - projects: ProjectUpdateManyWithoutUsersInput - children: ChildUpdateManyWithoutParentInput - phoneNumber: String -} - -input UserUpdateManyDataInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - phoneNumber: String -} - -input UserUpdateManyMutationInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - phoneNumber: String -} - -input UserUpdateManyWithoutProjectsInput { - create: [UserCreateWithoutProjectsInput!] - delete: [UserWhereUniqueInput!] - connect: [UserWhereUniqueInput!] - set: [UserWhereUniqueInput!] - disconnect: [UserWhereUniqueInput!] - update: [UserUpdateWithWhereUniqueWithoutProjectsInput!] - upsert: [UserUpsertWithWhereUniqueWithoutProjectsInput!] - deleteMany: [UserScalarWhereInput!] - updateMany: [UserUpdateManyWithWhereNestedInput!] -} - -input UserUpdateManyWithWhereNestedInput { - where: UserScalarWhereInput! - data: UserUpdateManyDataInput! -} - -input UserUpdateOneRequiredWithoutChildrenInput { - create: UserCreateWithoutChildrenInput - update: UserUpdateWithoutChildrenDataInput - upsert: UserUpsertWithoutChildrenInput - connect: UserWhereUniqueInput -} - -input UserUpdateOneRequiredWithoutMealsInput { - create: UserCreateWithoutMealsInput - update: UserUpdateWithoutMealsDataInput - upsert: UserUpsertWithoutMealsInput - connect: UserWhereUniqueInput -} - -input UserUpdateWithoutChildrenDataInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - meals: MealUpdateManyWithoutUserInput - projects: ProjectUpdateManyWithoutUsersInput - phoneNumber: String -} - -input UserUpdateWithoutMealsDataInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - projects: ProjectUpdateManyWithoutUsersInput - children: ChildUpdateManyWithoutParentInput - phoneNumber: String -} - -input UserUpdateWithoutProjectsDataInput { - airtableId: String - consentGDPR: Boolean - postCode: String - email: String - meals: MealUpdateManyWithoutUserInput - children: ChildUpdateManyWithoutParentInput - phoneNumber: String -} - -input UserUpdateWithWhereUniqueWithoutProjectsInput { - where: UserWhereUniqueInput! - data: UserUpdateWithoutProjectsDataInput! -} - -input UserUpsertWithoutChildrenInput { - update: UserUpdateWithoutChildrenDataInput! - create: UserCreateWithoutChildrenInput! -} - -input UserUpsertWithoutMealsInput { - update: UserUpdateWithoutMealsDataInput! - create: UserCreateWithoutMealsInput! -} - -input UserUpsertWithWhereUniqueWithoutProjectsInput { - where: UserWhereUniqueInput! - update: UserUpdateWithoutProjectsDataInput! - create: UserCreateWithoutProjectsInput! -} - -input UserWhereInput { - id: ID - id_not: ID - id_in: [ID!] - id_not_in: [ID!] - id_lt: ID - id_lte: ID - id_gt: ID - id_gte: ID - id_contains: ID - id_not_contains: ID - id_starts_with: ID - id_not_starts_with: ID - id_ends_with: ID - id_not_ends_with: ID - airtableId: String - airtableId_not: String - airtableId_in: [String!] - airtableId_not_in: [String!] - airtableId_lt: String - airtableId_lte: String - airtableId_gt: String - airtableId_gte: String - airtableId_contains: String - airtableId_not_contains: String - airtableId_starts_with: String - airtableId_not_starts_with: String - airtableId_ends_with: String - airtableId_not_ends_with: String - consentGDPR: Boolean - consentGDPR_not: Boolean - postCode: String - postCode_not: String - postCode_in: [String!] - postCode_not_in: [String!] - postCode_lt: String - postCode_lte: String - postCode_gt: String - postCode_gte: String - postCode_contains: String - postCode_not_contains: String - postCode_starts_with: String - postCode_not_starts_with: String - postCode_ends_with: String - postCode_not_ends_with: String - email: String - email_not: String - email_in: [String!] - email_not_in: [String!] - email_lt: String - email_lte: String - email_gt: String - email_gte: String - email_contains: String - email_not_contains: String - email_starts_with: String - email_not_starts_with: String - email_ends_with: String - email_not_ends_with: String - meals_every: MealWhereInput - meals_some: MealWhereInput - meals_none: MealWhereInput - projects_every: ProjectWhereInput - projects_some: ProjectWhereInput - projects_none: ProjectWhereInput - children_every: ChildWhereInput - children_some: ChildWhereInput - children_none: ChildWhereInput - phoneNumber: String - phoneNumber_not: String - phoneNumber_in: [String!] - phoneNumber_not_in: [String!] - phoneNumber_lt: String - phoneNumber_lte: String - phoneNumber_gt: String - phoneNumber_gte: String - phoneNumber_contains: String - phoneNumber_not_contains: String - phoneNumber_starts_with: String - phoneNumber_not_starts_with: String - phoneNumber_ends_with: String - phoneNumber_not_ends_with: String - updatedAt: DateTime - updatedAt_not: DateTime - updatedAt_in: [DateTime!] - updatedAt_not_in: [DateTime!] - updatedAt_lt: DateTime - updatedAt_lte: DateTime - updatedAt_gt: DateTime - updatedAt_gte: DateTime - createdAt: DateTime - createdAt_not: DateTime - createdAt_in: [DateTime!] - createdAt_not_in: [DateTime!] - createdAt_lt: DateTime - createdAt_lte: DateTime - createdAt_gt: DateTime - createdAt_gte: DateTime - AND: [UserWhereInput!] - OR: [UserWhereInput!] - NOT: [UserWhereInput!] -} - -input UserWhereUniqueInput { - id: ID - airtableId: String - email: String - phoneNumber: String -} -` \ No newline at end of file From 69dfb1feb5d3a046e36a9f6dfed182ab8d01ffbb Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 18 Dec 2019 16:45:51 +0000 Subject: [PATCH 3/3] Add prisma/generated to gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 1d235be..65729ee 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,5 @@ typings/ .next __playground__/ + +prisma/generated