diff --git a/src/.DS_Store b/.DS_Store similarity index 75% rename from src/.DS_Store rename to .DS_Store index 1f2ce79..5008ddf 100644 Binary files a/src/.DS_Store and b/.DS_Store differ diff --git a/.env.public b/.env.public index 45605c1..c28d7f4 100644 --- a/.env.public +++ b/.env.public @@ -1 +1,2 @@ -GATSBY_SQ_DEBUG=true \ No newline at end of file +GATSBY_LENS_API_URL=https://api.lens.walther.exp.univie.ac.at:8080/graphql +GATSBY_ORIGIN_API_URL=https://services.photonq.org/graphql diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 3487c23..f1da3e6 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -17,7 +17,7 @@ permissions: on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ['main', 'dev'] # Allows you to run this workflow from another workflow workflow_call: # Allows you to run this workflow manually from the Actions tab @@ -29,7 +29,7 @@ jobs: uses: atsnek/jaen/.github/workflows/jaen-deploy.yaml@main # https://docs.github.com/en/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow with: - CLOUDFLARE_PROJECT_NAME: 'fhkit' + CLOUDFLARE_PROJECT_NAME: 'netsnek' secrets: GATSBY_MYSHOPIFY_URL: ${{ secrets.GATSBY_MYSHOPIFY_URL }} GATSBY_STOREFRONT_API_KEY: ${{ secrets.GATSBY_STOREFRONT_API_KEY }} diff --git a/.github/workflows/jaen-publish.yaml b/.github/workflows/jaen-publish.yaml new file mode 100644 index 0000000..03c1d5d --- /dev/null +++ b/.github/workflows/jaen-publish.yaml @@ -0,0 +1,62 @@ +# Workflow that receives a migrationUrl via a dispatch event + +name: Publish + +# https://help.github.com/en/articles/workflow-syntax-for-github-actions#on +on: + # https://help.github.com/en/articles/workflow-syntax-for-github-actions + repository_dispatch: + types: [UPDATE_JAEN_RESOURCE] + +jobs: + migrate: + # https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idruns-on + runs-on: ubuntu-latest + defaults: + run: + # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions# + working-directory: ${{github.event.client_payload.cwd}} + + steps: + # https://github.com/actions/checkout + - name: Checkout 🛎️ + uses: actions/checkout@v3 + # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepswith + with: + # Relative path under $GITHUB_WORKSPACE to place the repository + path: '.' + + # https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstepsid + - name: Configure GitHub Authentication 🔧 + # https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstepsrun + run: | + # Git: set identity + git config user.name "snekmin" + git config user.email "noreply.snek.at@gmail.com" + + # Git: set remote + # https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#http-based-git-access-by-an-installation + git remote set-url origin "https://x-access-token:${{secrets.GITHUB_TOKEN}}@github.com/${GITHUB_REPOSITORY}.git" + + - name: Migrate Jaen Data 📝 + # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions# + working-directory: ${{github.event.client_payload.cwd}} + # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsif + if: ${{github.event.client_payload.migrationURL}} + # https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstepsrun + run: | + # Create gh-pages branch without history + #git checkout --orphan gh-pages + git checkout main + + echo "${{github.event.client_payload.migrationURL}}" >> ./jaen-data/patches.txt + + # Git: add, commit, and push changes + git add . + git commit -m "jaen-publish: migrate jaen-data" || echo "Nothing to commit, working tree clean." + GIT_TRACE=1 git push -f --verbose origin main + + build: + needs: migrate + uses: ./.github/workflows/deploy.yaml + secrets: inherit diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..2fe683e --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,46 @@ +name: publish + +on: [push] +env: + IMAGE_NAME: photonq-gatsby + +jobs: + # Push image to GitHub Packages. + # See also https://docs.docker.com/docker-hub/builds/ + publish-container: + runs-on: ubuntu-latest + environment: photonq-internal + env: + GATSBY_ORIGIN_API_URL: ${{ vars.GATSBY_ORIGIN_API_URL }} + permissions: + packages: write + contents: read + + steps: + - uses: actions/checkout@v2 + + - name: Build image + run: docker build . --file Dockerfile --tag $IMAGE_NAME + + - name: Log into registry + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin + + - name: Push image + run: | + IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME + + # Change all uppercase to lowercase + IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]') + # Strip git ref prefix from version + VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') + # Strip "v" prefix from tag name + [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') + # Use Docker `latest` tag convention + [ "$VERSION" == "main" ] && VERSION=latest + echo IMAGE_ID=$IMAGE_ID + echo VERSION=$VERSION + docker tag $IMAGE_NAME $IMAGE_ID:$VERSION + docker push $IMAGE_ID:$VERSION + +# SPDX-License-Identifier: (EUPL-1.2) +# Copyright © 2019-2022 snek.at diff --git a/.gitignore b/.gitignore index a266deb..c967002 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,7 @@ node_modules **/dist -**/tsconfig.tsbuildinfo \ No newline at end of file +**/tsconfig.tsbuildinfo +src/.DS_Store + +.vscode/tasks.json diff --git a/.prettierrc.json b/.prettierrc.json index 2e33864..6bffb9d 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -2,11 +2,13 @@ "printWidth": 80, "tabWidth": 2, "useTabs": false, - "semi": false, + "semi": true, "singleQuote": true, "trailingComma": "none", - "bracketSpacing": false, + "bracketSpacing": true, "arrowParens": "avoid", - "bracketSameLine": true, - "jsxBracketSameLine": true + "jsxBracketSameLine": false, + "importOrder": ["^@(.*)$", "^[./]"], + "importOrderSeparation": true, + "experimentalBabelParserPluginsList": ["jsx", "typescript"] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 1885395..3eefb63 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,11 +1,8 @@ { "typescript.tsdk": "node_modules/typescript/lib", "editor.codeActionsOnSave": { - // For ESLint - "source.fixAll.eslint": true, - // For TSLint - "source.fixAll.tslint": true, - // For Stylelint - "source.fixAll.stylelint": true + "source.fixAll.eslint": "explicit", + "source.fixAll.tslint": "explicit", + "source.fixAll.stylelint": "explicit" } } diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0c483ee --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +# Use a specific version of Node as the base image +FROM node:18-bullseye-slim + +# Set the working directory in the container +WORKDIR /app + +# Copy package.json and yarn.lock first to leverage Docker caching for dependencies +COPY package.json yarn.lock ./ + +# Install dependencies only if package.json or yarn.lock changes +RUN yarn install --frozen-lockfile + +# Copy the rest of the application code (e) +COPY . . + +# Build the application +RUN yarn build + +# Expose the port that the app will run on +EXPOSE 9000 + +# Set the entry point for the container +ENTRYPOINT ["yarn", "gatsby", "serve", "-H", "0.0.0.0"] diff --git a/README.md b/README.md index b3cdbc7..29d7c64 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# jaen-template \ No newline at end of file +# jaen-template diff --git a/gatsby-browser.tsx b/gatsby-browser.tsx new file mode 100644 index 0000000..1cd9590 --- /dev/null +++ b/gatsby-browser.tsx @@ -0,0 +1 @@ +import './src/styles/global.css'; diff --git a/gatsby-config.ts b/gatsby-config.ts index 94a549c..71293bb 100644 --- a/gatsby-config.ts +++ b/gatsby-config.ts @@ -1,22 +1,56 @@ -import type {GatsbyConfig} from 'gatsby' +import type { GatsbyConfig } from 'gatsby'; + +require('dotenv').config({ + path: `.env.public` +}); const config: GatsbyConfig = { + siteMetadata: { + siteUrl: `https://www.yourdomain.tld` + }, // More easily incorporate content into your pages through automatic TypeScript type generation and better GraphQL IntelliSense. // If you use VSCode you can also use the GraphQL plugin // Learn more at: https://gatsby.dev/graphql-typegen graphqlTypegen: true, flags: { - DEV_SSR: true + DEV_SSR: false }, - jsxRuntime: 'automatic', plugins: [ + `gatsby-plugin-cloudflare-pages`, { resolve: `gatsby-plugin-jaen`, options: { - snekResourceId: `0ee5d9f5-7580-4787-855f-4fc8bd89d3bf` + pylonUrl: 'https://pylons.photonq.org/jaen-agent/graphql', + remote: { + repository: 'netsnek/fhkit.at' + }, + zitadel: { + organizationId: '263581005107959413', + clientId: '263491440007517793@services', + authority: 'https://accounts.photonq.org', + redirectUri: + process.env.NODE_ENV === 'production' + ? 'https://fhkit.com' + : 'https://opulent-carnival-pg7v6wp7prhr556-8000.app.github.dev', + projectIds: ['263491274097563233'] + }, + // sentry: { + // org: 'photonq', + // project: 'website', + // dsn: 'https://37ffbc7589f79cfab5936ce5fca4f310@sentry.cronit.io/10' + // }, + googleAnalytics: { + trackingIds: ['G-M58K75M9PG'] + } + } + }, + { + resolve: `gatsby-jaen-mailpress`, + options: { + pylonUrl: 'https://pylons.photonq.org/mailpress/graphql' } } ] -} +}; -export default config +export default config; diff --git a/gatsby-node.ts b/gatsby-node.ts new file mode 100644 index 0000000..2b454b9 --- /dev/null +++ b/gatsby-node.ts @@ -0,0 +1,114 @@ +import { PageConfig } from '@atsnek/jaen'; +import { GatsbyNode } from 'gatsby'; +import path from 'path'; +import fs from 'fs'; +import { buildSearchIndex } from './src/utils/search/build-search-index'; + +export const onCreateWebpackConfig: GatsbyNode['onCreateWebpackConfig'] = ({ + actions +}) => { + actions.setWebpackConfig({ + resolve: { + alias: { + '@/clients': path.resolve(__dirname, 'src/clients') + } + } + }); +}; + +export const onPostBuild: GatsbyNode['onPostBuild'] = async ({ + graphql, + reporter +}) => { + const result = await graphql<{ + allJaenPage: { + nodes: Array<{ + id: string; + slug: string; + parentPage: { + id: string; + } | null; + template: string | null; + jaenPageMetadata: { + title: string; + }; + jaenFields: Record | null; + pageConfig: PageConfig | null; + buildPath: string; + }>; + }; + }>(` + query { + allJaenPage { + nodes { + id + slug + parentPage { + id + } + template + jaenPageMetadata { + title + } + jaenFields + pageConfig + buildPath + } + } + } + `); + + if (result.errors || !result.data) { + reporter.panicOnBuild( + `Error while running GraphQL query. ${result.errors}` + ); + + return; + } + + const { allJaenPage } = result.data; + + await preparePagesAndBuildSearch(allJaenPage); +}; + +async function preparePagesAndBuildSearch(allJaenPage: { + nodes: Array<{ + id: string; + slug: string; + parentPage: { + id: string; + } | null; + template: string | null; + jaenPageMetadata: { + title: string; + }; + jaenFields: Record | null; + pageConfig: PageConfig | null; + buildPath: string; + }>; +}) { + const nodesForSearchIndex = allJaenPage.nodes.map(node => { + const originPath = node.buildPath; + + let type = node.template; + + if (type && path.extname(type)) { + type = path.basename(type, path.extname(type)); + } + + return { + id: node.id, + path: originPath, + jaenPageMetadata: node.jaenPageMetadata, + jaenFields: node.jaenFields, + type + }; + }); + + const searchIndex = await buildSearchIndex(nodesForSearchIndex as any); + + await fs.promises.writeFile( + path.join('public', 'search-index.json'), + JSON.stringify(searchIndex) + ); +} diff --git a/gatsby-ssr.tsx b/gatsby-ssr.tsx new file mode 100644 index 0000000..1cd9590 --- /dev/null +++ b/gatsby-ssr.tsx @@ -0,0 +1 @@ +import './src/styles/global.css'; diff --git a/package.json b/package.json index 7cb937b..29d5e61 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Template for Jaen projects", "version": "1.0.0", "private": true, - "author": "Florian Kleber", + "author": "Nico Schett", "keywords": [ "gatsby" ], @@ -13,26 +13,44 @@ "build": "NODE_OPTIONS=--max-old-space-size=8192 gatsby build", "serve": "gatsby serve", "clean": "gatsby clean", - "typecheck": "tsc --noEmit" + "typecheck": "tsc --noEmit", + "postinstall": "patch-package" }, "dependencies": { - "@atsnek/jaen": "^1.0.0-rc.37", - "@chakra-ui/icons": "^2.1.1", + "@atsnek/jaen": "^1.0.0-rc.70", + "@atsnek/jaen-fields-mdx": "^1.0.0-rc.14", + "gatsby-jaen-mailpress": "^0.0.6", + "@chakra-ui/icons": "^2.1.0", "@chakra-ui/react": "^2.8.1", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", - "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.11.0/react-icons-all-files-4.11.0.tgz", - "framer-motion": "^10.16.4", - "gatsby": "^5.12.0", - "gatsby-plugin-jaen": "^1.0.0-rc.61", + "@reach/router": "^1.3.4", + "@snek-functions/origin": "^0.9.8", + "flexsearch": "^0.7.43", + "framer-motion": "^10.16.1", + "gatsby": "^5.11.0", + "gatsby-jaen-mailpress": "0.0.6", + "gatsby-plugin-cloudflare-pages": "^1.0.2", + "gatsby-plugin-jaen": "^1.0.0-rc.96", + "github-slugger": "^2.0.0", + "prismjs": "^1.29.0", + "quantum-circuit": "^0.9.218", "react": "^18.2.0", "react-dom": "^18.2.0", - "snek-query": "^0.0.93" + "react-fast-marquee": "^1.6.4", + "react-highlight-words": "^0.20.0", + "react-simple-code-editor": "^0.13.1", + "snek-query": "^0.0.114", + "use-debounce": "^10.0.0" }, "devDependencies": { + "@types/github-slugger": "^2.0.0", "@types/node": "^20.3.3", + "@types/prismjs": "^1.26.1", "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", + "@types/react-highlight-words": "^0.16.4", + "patch-package": "^8.0.0", "typescript": "^5.1.6" } } diff --git a/patches/gatsby-source-jaen+1.0.0-rc.25.patch b/patches/gatsby-source-jaen+1.0.0-rc.25.patch new file mode 100644 index 0000000..69bd837 --- /dev/null +++ b/patches/gatsby-source-jaen+1.0.0-rc.25.patch @@ -0,0 +1,20 @@ +diff --git a/node_modules/gatsby-source-jaen/dist/source-nodes/jaen-data.js b/node_modules/gatsby-source-jaen/dist/source-nodes/jaen-data.js +index 21d71ca..10f88e3 100644 +--- a/node_modules/gatsby-source-jaen/dist/source-nodes/jaen-data.js ++++ b/node_modules/gatsby-source-jaen/dist/source-nodes/jaen-data.js +@@ -95,7 +95,14 @@ var sourceNodes = function (args) { return __awaiter(void 0, void 0, void 0, fun + }); + if (response) { + jaenData = (0, deepmerge_1.default)(jaenData, response.data, { +- arrayMerge: deepmerge_2.deepmergeArrayIdMerge ++ arrayMerge: deepmerge_2.deepmergeArrayIdMerge, ++ customMerge: function (key) { ++ if (key === 'IMA:MdxField') { ++ return function (target, source) { ++ return __assign(__assign({}, target), source); ++ }; ++ } ++ } + }); + } + _a.label = 5; diff --git a/src/assets/.DS_Store b/src/assets/.DS_Store new file mode 100644 index 0000000..6c99c28 Binary files /dev/null and b/src/assets/.DS_Store differ diff --git a/src/assets/icons/dots.svg b/src/assets/icons/dots.svg new file mode 100644 index 0000000..07082dc --- /dev/null +++ b/src/assets/icons/dots.svg @@ -0,0 +1,11350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/icons/uni-wien-logo-colorized.svg b/src/assets/icons/uni-wien-logo-colorized.svg new file mode 100644 index 0000000..0e1b012 --- /dev/null +++ b/src/assets/icons/uni-wien-logo-colorized.svg @@ -0,0 +1,451 @@ + +image/svg+xml diff --git a/src/assets/icons/uni-wien-logo-gray.svg b/src/assets/icons/uni-wien-logo-gray.svg new file mode 100644 index 0000000..17ace9a --- /dev/null +++ b/src/assets/icons/uni-wien-logo-gray.svg @@ -0,0 +1,451 @@ + +image/svg+xml diff --git a/src/assets/images/hero_img.webp b/src/assets/images/hero_img.webp new file mode 100644 index 0000000..0a06b83 Binary files /dev/null and b/src/assets/images/hero_img.webp differ diff --git a/src/assets/images/services.svg b/src/assets/images/services.svg new file mode 100644 index 0000000..4716809 --- /dev/null +++ b/src/assets/images/services.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/client/.gitignore b/src/client/.gitignore deleted file mode 100644 index f06235c..0000000 --- a/src/client/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -dist diff --git a/src/client/package.json b/src/client/package.json deleted file mode 100644 index dba5e35..0000000 --- a/src/client/package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "sq-client", - "version": "0.0.1", - "description": "Auto-generated API client", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "scripts": { - "build": "tsc" - }, - "author": "", - "license": "", - "dependencies": { - "snek-query": "*" - } -} \ No newline at end of file diff --git a/src/client/src/index.ts b/src/client/src/index.ts deleted file mode 100644 index b0d6ae9..0000000 --- a/src/client/src/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -import {makeSnekQuery} from 'snek-query' -import {Query, Mutation} from './schema.generated' - -export const sq = makeSnekQuery( - {Query, Mutation}, - { - apiURL: 'https://services.snek.at/graphql' - } -) diff --git a/src/client/src/schema.generated.ts b/src/client/src/schema.generated.ts deleted file mode 100644 index 9652507..0000000 --- a/src/client/src/schema.generated.ts +++ /dev/null @@ -1,790 +0,0 @@ - -import { proxy, arrayProxy, fnProxy, fnArrayProxy, t } from "snek-query"; - -export enum OAuthProvider { - google = "google", - azure = "azure" -} -export enum Language { - EN = "EN", - DE = "DE" -} -export enum Privacy { - PUBLIC = "PUBLIC", - PRIVATE = "PRIVATE", - FRIENDS = "FRIENDS" -} -export enum PrivacyInputInput { - PUBLIC = "PUBLIC", - PRIVATE = "PRIVATE", - FRIENDS = "FRIENDS" -} -export enum LanguageInputInput { - EN = "EN", - DE = "DE" -} -export enum OAuthProviderInputInput { - google = "google", - azure = "azure" -} -export enum EmailAddressTypeInputInput { - EMAIL_ADDRESS = "EMAIL_ADDRESS", - EMAIL_ID = "EMAIL_ID", - USER_ID = "USER_ID" -} - -export type ArgsInput = { - filter?: FilterInput_1Input; -}; -export type FilterInput_1Input = { - emailId?: t.String; - emailAddress?: t.String; -}; -export type ArgsInput_1_2 = { - name: t.String; -}; -export type ArgsInput_1 = { - id: t.String; -}; -export type ArgsInput_1_2_3_4_5_6_7 = { - after?: t.String; - before?: t.String; - first: t.NotSupportedYet; - last: t.NotSupportedYet; - filters?: FiltersInput_1_2_3_4Input; -}; -export type FiltersInput_1_2_3_4Input = { - userId?: t.String; -}; -export type ArgsInput_1_2_3 = { - after?: t.String; - before?: t.String; - first: t.NotSupportedYet; - last: t.NotSupportedYet; -}; -export type ArgsInput_1_2_3_4 = { - after?: t.String; - before?: t.String; - first: t.NotSupportedYet; - last: t.NotSupportedYet; - filters?: FiltersInput_1_2Input; -}; -export type FiltersInput_1_2Input = { - userId?: t.String; -}; -export type ArgsInput_1_2_3_4_5 = { - after?: t.String; - before?: t.String; - first: t.NotSupportedYet; - last: t.NotSupportedYet; - filters?: FiltersInput_1_2_3Input; -}; -export type FiltersInput_1_2_3Input = { - userId?: t.String; -}; -export type ArgsInput_1_2_3_4_5_6 = { - after?: t.String; - before?: t.String; - first: t.NotSupportedYet; - last: t.NotSupportedYet; -}; -export type FiltersInputInput = { - userId?: t.String; - privacy?: PrivacyInputInput; - language?: LanguageInputInput; - query?: t.String; -}; -export type FiltersInput_1Input = { - limit: t.NotSupportedYet; - offset: t.NotSupportedYet; - profileId?: t.String; - language?: LanguageInputInput; -}; -export type ValuesInputInput = { - emailAddress: t.String; - username: t.String; - password: t.String; - accountId?: t.String; - isActive?: t.Boolean; - isAdmin?: t.Boolean; - details?: DetailsInputInput; -}; -export type DetailsInputInput = { - firstName?: t.String; - lastName?: t.String; -}; -export type ValuesInput_1Input = { - username?: t.String; - password?: t.String; - isActive?: t.Boolean; - isAdmin?: t.Boolean; - details?: DetailsInput_1Input; -}; -export type DetailsInput_1Input = { - firstName?: t.String; - lastName?: t.String; - avatarFile?: t.String; -}; -export type EmailConfigCreateInputInput = { - externalCredentialId: t.String; - isEnabled?: t.Boolean; -}; -export type ValuesInput_1_2Input = { - emailAddress?: t.String; - isPrimary?: t.Boolean; - config?: EmailConfigUpdateInputInput; -}; -export type EmailConfigUpdateInputInput = { - externalCredentialId?: t.String; - isEnabled?: t.Boolean; -}; -export type SMTPCredentialInputInput = { - host: t.String; - port: t.NotSupportedYet; - username: t.String; - password: t.String; - secure: t.Boolean; -}; -export type OAuthCredentialInputInput = { - provider: OAuthProviderInputInput; - accessToken: t.String; - refreshToken: t.String; -}; -export type ShopifyProductCreateInput = { - handle?: t.String; - title: t.String; - descriptionHtml?: t.String; - metafields?: MetafieldsInput[]; - productType?: t.String; - tags?: t.String[]; - variants?: VariantsInput; - vendor?: t.String; -}; -export type MetafieldsInput = { - namespace: t.String; - key: t.String; - value: t.String; - type: t.String; -}; -export type VariantsInput = { - price?: t.String; - compareAtPrice?: t.String; - sku?: t.String; - taxable?: t.Boolean; - inventoryPolicy?: t.String; - inventoryItem?: InventoryItemInput; -}; -export type InventoryItemInput = { - tracked?: t.Boolean; -}; -export type ShopifyProductUpdateInput = { - id: t.String; - handle?: t.String; - title?: t.String; - descriptionHtml?: t.String; - metafields?: MetafieldsInput_1[]; - productType?: t.String; - tags?: t.String[]; - variants?: VariantsInput_1; - vendor?: t.String; -}; -export type MetafieldsInput_1 = { - namespace: t.String; - key: t.String; - value: t.String; - type: t.String; -}; -export type VariantsInput_1 = { - price?: t.String; - compareAtPrice?: t.String; - sku?: t.String; - taxable?: t.Boolean; - inventoryPolicy?: t.String; - inventoryItem?: InventoryItemInput_1; -}; -export type InventoryItemInput_1 = { - tracked?: t.Boolean; -}; -export type EmailEnvelopeInputInput = { - from?: EmailAddressInputInput; - to?: EmailAddressInputInput[]; - subject?: t.String; - replyTo?: EmailAddressInputInput; -}; -export type EmailAddressInputInput = { - value: t.String; - type: EmailAddressTypeInputInput; -}; -export type TemplateInputInput = { - id: t.String; - values: t.NotSupportedYet; -}; -export type ProfileUpdateDataInputInput = { - language?: LanguageInputInput; - bio?: t.String; -}; -export type PostDataInputInput = { - title: t.String; - avatarURL?: t.String; - summary?: t.String; - content?: t.String; - privacy?: PrivacyInputInput; -}; -export type PostUpdateDataInputInput = { - title?: t.String; - language?: LanguageInputInput; - avatarURL?: t.String; - summary?: t.String; - content?: t.String; - privacy?: PrivacyInputInput; -}; - -export class Query { - __typename: t.String; - user: (args?: { - id?: t.String; - resourceId?: t.String; - login?: t.String; - }) => ObjectAndUser; - allUser: (args: { - resourceId: t.String; - }) => t.Nullable[]; - userMe: t.Nullable; - resource: (args: { - id: t.String; - }) => Resource; - shopifyAllProductId: (args: { - resourceId: t.String; - }) => t.String[]; - socialPost: (args?: { - postId?: t.String; - slug?: t.String; - }) => t.Nullable; - allSocialPost: (args?: { - after?: t.String; - before?: t.String; - first?: t.NotSupportedYet; - last?: t.NotSupportedYet; - filters?: FiltersInputInput; - }) => t.Nullable; - allSocialPostTrending: (args?: { - after?: t.String; - before?: t.String; - first?: t.NotSupportedYet; - last?: t.NotSupportedYet; - filters?: FiltersInput_1Input; - }) => t.Nullable; - version: t.String; - constructor() { this.__typename = ""; this.user = fnProxy(ObjectAndUser); this.allUser = fnArrayProxy(User); this.userMe = proxy(User); this.resource = fnProxy(Resource); this.shopifyAllProductId = () => []; this.socialPost = fnProxy(Post); this.allSocialPost = fnProxy(Connection_1); this.allSocialPostTrending = fnProxy(Connection_1); this.version = ""; } -} -export class ObjectAndUser { - __typename: t.String; - isActive: t.Boolean; - id: t.String; - username: t.String; - resourceId: t.String; - accountId: t.String; - isAdmin: t.Boolean; - createdAt: t.String; - primaryEmailAddress: t.String; - email: (args?: { - args?: ArgsInput; - }) => Email; - emails: Email[]; - account: Account; - resource: Resource_1; - tokens: Token[]; - details: t.Nullable
; - externalCredential: (args: { - args: ArgsInput_1; - }) => ExternalCredential; - externalCredentials: ExternalCredential[]; - profile: t.Nullable; - constructor() { this.__typename = ""; this.isActive = false; this.id = ""; this.username = ""; this.resourceId = ""; this.accountId = ""; this.isAdmin = false; this.createdAt = ""; this.primaryEmailAddress = ""; this.email = fnProxy(Email); this.emails = arrayProxy(Email); this.account = proxy(Account); this.resource = proxy(Resource_1); this.tokens = arrayProxy(Token); this.details = proxy(Details); this.externalCredential = fnProxy(ExternalCredential); this.externalCredentials = arrayProxy(ExternalCredential); this.profile = proxy(Profile); } -} -export class Email { - __typename: t.String; - id: t.String; - emailAddress: t.String; - resourceId: t.String; - isPrimary: t.Boolean; - isVerified: t.Boolean; - userId: t.Nullable; - config: t.Nullable; - constructor() { this.__typename = ""; this.id = ""; this.emailAddress = ""; this.resourceId = ""; this.isPrimary = false; this.isVerified = false; this.userId = null; this.config = proxy(EmailConfig); } -} -export class EmailConfig { - __typename: t.String; - id: t.String; - isEnabled: t.Boolean; - externalCredential: ExternalCredential; - constructor() { this.__typename = ""; this.id = ""; this.isEnabled = false; this.externalCredential = proxy(ExternalCredential); } -} -export class ExternalCredential { - __typename: t.String; - id: t.String; - smtp: t.Nullable; - oauth: t.Nullable; - constructor() { this.__typename = ""; this.id = ""; this.smtp = proxy(SMTPCredential); this.oauth = proxy(OAuthCredential); } -} -export class SMTPCredential { - __typename: t.String; - host: t.String; - port: t.NotSupportedYet; - username: t.String; - password: t.String; - secure: t.Boolean; - constructor() { this.__typename = ""; this.host = ""; this.port = null; this.username = ""; this.password = ""; this.secure = false; } -} -export class OAuthCredential { - __typename: t.String; - provider: t.Nullable; - accessToken: t.String; - refreshToken: t.String; - constructor() { this.__typename = ""; this.provider = null; this.accessToken = ""; this.refreshToken = ""; } -} -export class Account { - __typename: t.String; - id: t.String; - users: User[]; - constructor() { this.__typename = ""; this.id = ""; this.users = arrayProxy(User); } -} -export class User { - __typename: t.String; - isActive: t.Boolean; - id: t.String; - username: t.String; - resourceId: t.String; - accountId: t.String; - isAdmin: t.Boolean; - createdAt: t.String; - primaryEmailAddress: t.String; - email: (args?: { - args?: ArgsInput; - }) => Email; - emails: Email[]; - account: Account; - resource: Resource_1; - tokens: Token[]; - details: t.Nullable
; - externalCredential: (args: { - args: ArgsInput_1; - }) => ExternalCredential; - externalCredentials: ExternalCredential[]; - constructor() { this.__typename = ""; this.isActive = false; this.id = ""; this.username = ""; this.resourceId = ""; this.accountId = ""; this.isAdmin = false; this.createdAt = ""; this.primaryEmailAddress = ""; this.email = fnProxy(Email); this.emails = arrayProxy(Email); this.account = proxy(Account); this.resource = proxy(Resource_1); this.tokens = arrayProxy(Token); this.details = proxy(Details); this.externalCredential = fnProxy(ExternalCredential); this.externalCredentials = arrayProxy(ExternalCredential); } -} -export class Resource_1 { - __typename: t.String; - id: t.String; - name: t.String; - users: User[]; - config: GenericObject; - secrets: SecretObject[]; - secret: (args: { - args: ArgsInput_1_2; - }) => SecretObject; - constructor() { this.__typename = ""; this.id = ""; this.name = ""; this.users = arrayProxy(User); this.config = proxy(GenericObject); this.secrets = arrayProxy(SecretObject); this.secret = fnProxy(SecretObject); } -} -export class GenericObject { - __typename: t.String; - id: t.String; - value: t.NotSupportedYet; - tag: t.Nullable; - expiresAt: t.Nullable; - constructor() { this.__typename = ""; this.id = ""; this.value = null; this.tag = null; this.expiresAt = null; } -} -export class SecretObject { - __typename: t.String; - name: t.String; - value: t.NotSupportedYet; - expiresAt: t.Nullable; - constructor() { this.__typename = ""; this.name = ""; this.value = null; this.expiresAt = null; } -} -export class Token { - __typename: t.String; - id: t.String; - name: t.String; - expiresAt: t.Nullable; - constructor() { this.__typename = ""; this.id = ""; this.name = ""; this.expiresAt = null; } -} -export class Details { - __typename: t.String; - firstName: t.Nullable; - lastName: t.Nullable; - avatarURL: t.Nullable; - constructor() { this.__typename = ""; this.firstName = null; this.lastName = null; this.avatarURL = null; } -} -export class Profile { - __typename: t.String; - id: t.String; - bio: t.Nullable; - createdAt: t.String; - updatedAt: t.String; - language: t.Nullable; - posts: Post[]; - starredPosts: (args?: { - args?: ArgsInput_1_2_3; - }) => Connection_1_2; - followers: (args?: { - args?: ArgsInput_1_2_3_4; - }) => Connection_1_2_3; - following: (args?: { - args?: ArgsInput_1_2_3_4_5; - }) => Connection_1_2_3_4; - activity: (args?: { - args?: ArgsInput_1_2_3_4_5_6; - }) => Connection_1_2_3_4_5; - views: t.NotSupportedYet; - constructor() { this.__typename = ""; this.id = ""; this.bio = null; this.createdAt = ""; this.updatedAt = ""; this.language = null; this.posts = arrayProxy(Post); this.starredPosts = fnProxy(Connection_1_2); this.followers = fnProxy(Connection_1_2_3); this.following = fnProxy(Connection_1_2_3_4); this.activity = fnProxy(Connection_1_2_3_4_5); this.views = null; } -} -export class Post { - __typename: t.String; - id: t.String; - slug: t.String; - title: t.String; - avatarURL: t.Nullable; - summary: t.Nullable; - content: t.Nullable; - profileId: t.String; - createdAt: t.String; - updatedAt: t.String; - privacy: t.Nullable; - language: t.Nullable; - profile: t.Nullable; - stars: (args?: { - args?: ArgsInput_1_2_3_4_5_6_7; - }) => Connection_1_2_3_4_5_6; - views: t.NotSupportedYet; - constructor() { this.__typename = ""; this.id = ""; this.slug = ""; this.title = ""; this.avatarURL = null; this.summary = null; this.content = null; this.profileId = ""; this.createdAt = ""; this.updatedAt = ""; this.privacy = null; this.language = null; this.profile = proxy(Profile); this.stars = fnProxy(Connection_1_2_3_4_5_6); this.views = null; } -} -export class Connection_1_2_3_4_5_6 { - __typename: t.String; - nodes: Nodes[]; - edges: Edge[]; - pageInfo: PageInfo; - totalCount: t.NotSupportedYet; - constructor() { this.__typename = ""; this.nodes = arrayProxy(Nodes); this.edges = arrayProxy(Edge); this.pageInfo = proxy(PageInfo); this.totalCount = null; } -} -export class Nodes { - __typename: t.String; - profile: Profile; - createdAt: t.String; - constructor() { this.__typename = ""; this.profile = proxy(Profile); this.createdAt = ""; } -} -export class Edge { - __typename: t.String; - cursor: t.String; - node: Nodes; - constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(Nodes); } -} -export class PageInfo { - __typename: t.String; - hasNextPage: t.Boolean; - hasPreviousPage: t.Boolean; - startCursor: t.Nullable; - endCursor: t.Nullable; - constructor() { this.__typename = ""; this.hasNextPage = false; this.hasPreviousPage = false; this.startCursor = null; this.endCursor = null; } -} -export class Connection_1_2 { - __typename: t.String; - nodes: Nodes_1[]; - edges: Edge_1[]; - pageInfo: PageInfo; - totalCount: t.NotSupportedYet; - constructor() { this.__typename = ""; this.nodes = arrayProxy(Nodes_1); this.edges = arrayProxy(Edge_1); this.pageInfo = proxy(PageInfo); this.totalCount = null; } -} -export class Nodes_1 { - __typename: t.String; - post: Post; - createdAt: t.String; - constructor() { this.__typename = ""; this.post = proxy(Post); this.createdAt = ""; } -} -export class Edge_1 { - __typename: t.String; - cursor: t.String; - node: Nodes_1; - constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(Nodes_1); } -} -export class Connection_1_2_3 { - __typename: t.String; - nodes: Nodes_1_2[]; - edges: Edge_1_2[]; - pageInfo: PageInfo; - totalCount: t.NotSupportedYet; - constructor() { this.__typename = ""; this.nodes = arrayProxy(Nodes_1_2); this.edges = arrayProxy(Edge_1_2); this.pageInfo = proxy(PageInfo); this.totalCount = null; } -} -export class Nodes_1_2 { - __typename: t.String; - follower: Profile; - createdAt: t.String; - constructor() { this.__typename = ""; this.follower = proxy(Profile); this.createdAt = ""; } -} -export class Edge_1_2 { - __typename: t.String; - cursor: t.String; - node: Nodes_1_2; - constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(Nodes_1_2); } -} -export class Connection_1_2_3_4 { - __typename: t.String; - nodes: Nodes_1_2_3[]; - edges: Edge_1_2_3[]; - pageInfo: PageInfo; - totalCount: t.NotSupportedYet; - constructor() { this.__typename = ""; this.nodes = arrayProxy(Nodes_1_2_3); this.edges = arrayProxy(Edge_1_2_3); this.pageInfo = proxy(PageInfo); this.totalCount = null; } -} -export class Nodes_1_2_3 { - __typename: t.String; - followed: Profile; - createdAt: t.String; - constructor() { this.__typename = ""; this.followed = proxy(Profile); this.createdAt = ""; } -} -export class Edge_1_2_3 { - __typename: t.String; - cursor: t.String; - node: Nodes_1_2_3; - constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(Nodes_1_2_3); } -} -export class Connection_1_2_3_4_5 { - __typename: t.String; - nodes: Nodes_1_2_3_4[]; - edges: Edge_1_2_3_4[]; - pageInfo: PageInfo; - totalCount: t.NotSupportedYet; - constructor() { this.__typename = ""; this.nodes = arrayProxy(Nodes_1_2_3_4); this.edges = arrayProxy(Edge_1_2_3_4); this.pageInfo = proxy(PageInfo); this.totalCount = null; } -} -export class Nodes_1_2_3_4 { - __typename: t.String; - createdAt: t.String; - type: t.String; - post: t.Nullable; - follow: t.Nullable; - constructor() { this.__typename = ""; this.createdAt = ""; this.type = ""; this.post = proxy(Post); this.follow = proxy(Follow); } -} -export class Follow { - __typename: t.String; - createdAt: t.String; - followed: Profile; - constructor() { this.__typename = ""; this.createdAt = ""; this.followed = proxy(Profile); } -} -export class Edge_1_2_3_4 { - __typename: t.String; - cursor: t.String; - node: Nodes_1_2_3_4; - constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(Nodes_1_2_3_4); } -} -export class Resource { - __typename: t.String; - id: t.String; - name: t.String; - config: t.NotSupportedYet; - secret: (args: { - name: t.String; - }) => Secret; - constructor() { this.__typename = ""; this.id = ""; this.name = ""; this.config = null; this.secret = fnProxy(Secret); } -} -export class Secret { - __typename: t.String; - name: t.String; - value: t.NotSupportedYet; - constructor() { this.__typename = ""; this.name = ""; this.value = null; } -} -export class Connection_1 { - __typename: t.String; - nodes: Post[]; - edges: Edge_1_2_3_4_5_6[]; - pageInfo: PageInfo; - totalCount: t.NotSupportedYet; - constructor() { this.__typename = ""; this.nodes = arrayProxy(Post); this.edges = arrayProxy(Edge_1_2_3_4_5_6); this.pageInfo = proxy(PageInfo); this.totalCount = null; } -} -export class Edge_1_2_3_4_5_6 { - __typename: t.String; - cursor: t.String; - node: Post; - constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(Post); } -} -export class Mutation { - __typename: t.String; - passwordReset: (args: { - emailAddress: t.String; - resourceId: t.String; - }) => t.Boolean; - passwordResetConfirm: (args: { - emailAddress: t.String; - resourceId: t.String; - password: t.String; - otp: t.String; - }) => t.Boolean; - userSignIn: (args: { - login: t.String; - password: t.String; - resourceId: t.String; - }) => UserSignIn; - userSignOut: (args?: { - resourceId?: t.String; - }) => t.NotSupportedYet; - userRefresh: (args: { - accessToken: t.String; - refreshToken: t.String; - }) => UserRefresh; - userRegister: (args: { - resourceId: t.String; - values: ValuesInputInput; - skipEmailVerification?: t.Boolean; - }) => t.Nullable; - userUpdate: (args: { - id: t.String; - values: ValuesInput_1Input; - }) => t.Nullable; - userDelete: (args: { - id: t.String; - }) => t.Nullable; - userEmailCreate: (args: { - emailAddress: t.String; - isPrimary?: t.Boolean; - config?: EmailConfigCreateInputInput; - }) => UserEmail; - userEmailConfirm: (args: { - emailId: t.String; - otp: t.String; - }) => UserEmailConfirm; - userEmailConfirmationResend: (args: { - emailId: t.String; - }) => Email; - userEmailUpdate: (args: { - emailId: t.String; - values: ValuesInput_1_2Input; - }) => UserEmail; - userEmailDelete: (args: { - emailId: t.String; - }) => t.Boolean; - userExternalCredentialCreate: (args?: { - smtp?: SMTPCredentialInputInput; - oauth?: OAuthCredentialInputInput; - }) => t.String; - jaenPublish: (args: { - resourceId: t.String; - migrationURL: t.String; - }) => t.String; - shopifyProductCreate: (args: { - resourceId: t.String; - input: ShopifyProductCreateInput; - }) => t.String; - shopifyProductUpdate: (args: { - resourceId: t.String; - input: ShopifyProductUpdateInput; - }) => t.String; - shopifyProductDelete: (args: { - resourceId: t.String; - id: t.String; - }) => t.String; - mailpressMailSchedule: (args: { - envelope: EmailEnvelopeInputInput; - body?: t.String; - bodyHTML?: t.String; - template?: TemplateInputInput; - }) => t.String; - socialProfileUpdate: (args: { - values: ProfileUpdateDataInputInput; - }) => t.Nullable; - socialProfileFollow: (args: { - userId: t.String; - }) => t.Nullable; - socialProfileUnfollow: (args: { - userId: t.String; - }) => t.Nullable; - socialPostCreate: (args: { - values: PostDataInputInput; - }) => t.Nullable; - socialPostUpdate: (args: { - postId: t.String; - values: PostUpdateDataInputInput; - }) => t.Nullable; - socialPostDelete: (args: { - postId: t.String; - }) => t.NotSupportedYet; - socialPostStar: (args: { - postId: t.String; - }) => t.Nullable; - socialPostUnstar: (args: { - postId: t.String; - }) => t.Nullable; - constructor() { this.__typename = ""; this.passwordReset = () => false; this.passwordResetConfirm = () => false; this.userSignIn = fnProxy(UserSignIn); this.userSignOut = () => null; this.userRefresh = fnProxy(UserRefresh); this.userRegister = fnProxy(UserCreate); this.userUpdate = fnProxy(User); this.userDelete = () => null; this.userEmailCreate = fnProxy(UserEmail); this.userEmailConfirm = fnProxy(UserEmailConfirm); this.userEmailConfirmationResend = fnProxy(Email); this.userEmailUpdate = fnProxy(UserEmail); this.userEmailDelete = () => false; this.userExternalCredentialCreate = () => ""; this.jaenPublish = () => ""; this.shopifyProductCreate = () => ""; this.shopifyProductUpdate = () => ""; this.shopifyProductDelete = () => ""; this.mailpressMailSchedule = () => ""; this.socialProfileUpdate = fnProxy(Profile); this.socialProfileFollow = fnProxy(ProfileFollow); this.socialProfileUnfollow = fnProxy(ProfileFollow); this.socialPostCreate = fnProxy(Post); this.socialPostUpdate = fnProxy(Post); this.socialPostDelete = () => null; this.socialPostStar = fnProxy(PostStar); this.socialPostUnstar = fnProxy(PostStar); } -} -export class UserSignIn { - __typename: t.String; - tokenPair: TokenPair; - user: ObjectAndUser; - constructor() { this.__typename = ""; this.tokenPair = proxy(TokenPair); this.user = proxy(ObjectAndUser); } -} -export class TokenPair { - __typename: t.String; - id: t.String; - accessToken: t.String; - refreshToken: t.String; - headers: t.NotSupportedYet; - constructor() { this.__typename = ""; this.id = ""; this.accessToken = ""; this.refreshToken = ""; this.headers = null; } -} -export class UserRefresh { - __typename: t.String; - tokenPair: TokenPair_1; - me: t.Nullable; - constructor() { this.__typename = ""; this.tokenPair = proxy(TokenPair_1); this.me = proxy(User); } -} -export class TokenPair_1 { - __typename: t.String; - accessToken: t.String; - refreshToken: t.String; - constructor() { this.__typename = ""; this.accessToken = ""; this.refreshToken = ""; } -} -export class UserCreate { - __typename: t.String; - user: User; - accessToken: t.String; - constructor() { this.__typename = ""; this.user = proxy(User); this.accessToken = ""; } -} -export class UserEmail { - __typename: t.String; - id: t.String; - emailAddress: t.String; - isPrimary: t.Boolean; - isVerified: t.Boolean; - config: t.Nullable; - constructor() { this.__typename = ""; this.id = ""; this.emailAddress = ""; this.isPrimary = false; this.isVerified = false; this.config = proxy(EmailConfig_1); } -} -export class EmailConfig_1 { - __typename: t.String; - id: t.String; - isEnabled: t.Boolean; - externalCredential: t.Nullable; - constructor() { this.__typename = ""; this.id = ""; this.isEnabled = false; this.externalCredential = proxy(ExternalCredential_1); } -} -export class ExternalCredential_1 { - __typename: t.String; - smtp: t.Nullable; - oauth: t.Nullable; - constructor() { this.__typename = ""; this.smtp = proxy(SMTPCredential); this.oauth = proxy(OAuthCredential); } -} -export class UserEmailConfirm { - __typename: t.String; - id: t.String; - isVerified: t.Boolean; - constructor() { this.__typename = ""; this.id = ""; this.isVerified = false; } -} -export class ProfileFollow { - __typename: t.String; - id: t.String; - followerId: t.String; - followedId: t.String; - createdAt: t.String; - constructor() { this.__typename = ""; this.id = ""; this.followerId = ""; this.followedId = ""; this.createdAt = ""; } -} -export class PostStar { - __typename: t.String; - id: t.String; - postId: t.String; - profileId: t.String; - createdAt: t.String; - constructor() { this.__typename = ""; this.id = ""; this.postId = ""; this.profileId = ""; this.createdAt = ""; } -} - diff --git a/src/client/tsconfig.json b/src/client/tsconfig.json deleted file mode 100644 index 038f3f6..0000000 --- a/src/client/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2015", - "declaration": true, - "declarationDir": "./dist", - "outDir": "./dist", - "esModuleInterop": true, - "moduleResolution": "node", - "allowSyntheticDefaultImports": true - }, - "include": [ - "src/**/*" - ] -} \ No newline at end of file diff --git a/src/client/yarn.lock b/src/client/yarn.lock deleted file mode 100644 index 792b246..0000000 --- a/src/client/yarn.lock +++ /dev/null @@ -1,352 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -abort-controller@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392" - integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg== - dependencies: - event-target-shim "^5.0.0" - -atomic-sleep@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/atomic-sleep/-/atomic-sleep-1.0.0.tgz#eb85b77a601fc932cfe432c5acd364a9e2c9075b" - integrity sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ== - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -base64-js@^1.3.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - -brace-expansion@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" - integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== - dependencies: - balanced-match "^1.0.0" - -buffer@^6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" - integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.2.1" - -colorette@^2.0.7: - version "2.0.20" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" - integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== - -commander@^9.4.1: - version "9.5.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-9.5.0.tgz#bc08d1eb5cedf7ccb797a96199d41c7bc3e60d30" - integrity sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ== - -dateformat@^4.6.3: - version "4.6.3" - resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-4.6.3.tgz#556fa6497e5217fedb78821424f8a1c22fa3f4b5" - integrity sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA== - -end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -event-target-shim@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" - integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== - -events@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== - -fast-copy@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/fast-copy/-/fast-copy-3.0.1.tgz#9e89ef498b8c04c1cd76b33b8e14271658a732aa" - integrity sha512-Knr7NOtK3HWRYGtHoJrjkaWepqT8thIVGAwt0p0aUs1zqkAzXZV4vo9fFNwyb5fcqK1GKYFYxldQdIDVKhUAfA== - -fast-redact@^3.1.1: - version "3.3.0" - resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.3.0.tgz#7c83ce3a7be4898241a46560d51de10f653f7634" - integrity sha512-6T5V1QK1u4oF+ATxs1lWUmlEk6P2T9HqJG3e2DnHOdVgZy2rFJBoEnrIedcTXlkAHU/zKC+7KETJ+KGGKwxgMQ== - -fast-safe-stringify@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" - integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - -glob@^8.0.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" - integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^5.0.1" - once "^1.3.0" - -graphql@^16.6.0: - version "16.8.1" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.8.1.tgz#1930a965bef1170603702acdb68aedd3f3cf6f07" - integrity sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw== - -help-me@^4.0.1: - version "4.2.0" - resolved "https://registry.yarnpkg.com/help-me/-/help-me-4.2.0.tgz#50712bfd799ff1854ae1d312c36eafcea85b0563" - integrity sha512-TAOnTB8Tz5Dw8penUuzHVrKNKlCIbwwbHnXraNJxPwf8LRtE2HlM84RYuezMFcwOJmoYOCWVDyJ8TQGxn9PgxA== - dependencies: - glob "^8.0.0" - readable-stream "^3.6.0" - -ieee754@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@^2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -joycon@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/joycon/-/joycon-3.1.1.tgz#bce8596d6ae808f8b68168f5fc69280996894f03" - integrity sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw== - -lodash.clonedeep@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" - integrity sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ== - -minimatch@^5.0.1: - version "5.1.6" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" - integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== - dependencies: - brace-expansion "^2.0.1" - -minimist@^1.2.6: - version "1.2.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" - integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== - -on-exit-leak-free@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/on-exit-leak-free/-/on-exit-leak-free-2.1.0.tgz#5c703c968f7e7f851885f6459bf8a8a57edc9cc4" - integrity sha512-VuCaZZAjReZ3vUwgOB8LxAosIurDiAW0s13rI1YwmaP++jvcxP77AWoQvenZebpCA2m8WC1/EosPYPMjnRAp/w== - -once@^1.3.0, once@^1.3.1, once@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== - dependencies: - wrappy "1" - -pino-abstract-transport@^1.0.0, pino-abstract-transport@v1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/pino-abstract-transport/-/pino-abstract-transport-1.1.0.tgz#083d98f966262164504afb989bccd05f665937a8" - integrity sha512-lsleG3/2a/JIWUtf9Q5gUNErBqwIu1tUKTT3dUzaf5DySw9ra1wcqKjJjLX1VTY64Wk1eEOYsVGSaGfCK85ekA== - dependencies: - readable-stream "^4.0.0" - split2 "^4.0.0" - -pino-pretty@^9.1.1: - version "9.4.1" - resolved "https://registry.yarnpkg.com/pino-pretty/-/pino-pretty-9.4.1.tgz#89121ef32d00a4d2e4b1c62850dcfff26f62a185" - integrity sha512-loWr5SNawVycvY//hamIzyz3Fh5OSpvkcO13MwdDW+eKIGylobPLqnVGTDwDXkdmpJd1BhEG+qhDw09h6SqJiQ== - dependencies: - colorette "^2.0.7" - dateformat "^4.6.3" - fast-copy "^3.0.0" - fast-safe-stringify "^2.1.1" - help-me "^4.0.1" - joycon "^3.1.1" - minimist "^1.2.6" - on-exit-leak-free "^2.1.0" - pino-abstract-transport "^1.0.0" - pump "^3.0.0" - readable-stream "^4.0.0" - secure-json-parse "^2.4.0" - sonic-boom "^3.0.0" - strip-json-comments "^3.1.1" - -pino-std-serializers@^6.0.0: - version "6.2.2" - resolved "https://registry.yarnpkg.com/pino-std-serializers/-/pino-std-serializers-6.2.2.tgz#d9a9b5f2b9a402486a5fc4db0a737570a860aab3" - integrity sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA== - -pino@^8.8.0: - version "8.15.1" - resolved "https://registry.yarnpkg.com/pino/-/pino-8.15.1.tgz#04b815ff7aa4e46b1bbab88d8010aaa2b17eaba4" - integrity sha512-Cp4QzUQrvWCRJaQ8Lzv0mJzXVk4z2jlq8JNKMGaixC2Pz5L4l2p95TkuRvYbrEbe85NQsDKrAd4zalf7Ml6WiA== - dependencies: - atomic-sleep "^1.0.0" - fast-redact "^3.1.1" - on-exit-leak-free "^2.1.0" - pino-abstract-transport v1.1.0 - pino-std-serializers "^6.0.0" - process-warning "^2.0.0" - quick-format-unescaped "^4.0.3" - real-require "^0.2.0" - safe-stable-stringify "^2.3.1" - sonic-boom "^3.1.0" - thread-stream "^2.0.0" - -process-warning@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-2.2.0.tgz#008ec76b579820a8e5c35d81960525ca64feb626" - integrity sha512-/1WZ8+VQjR6avWOgHeEPd7SDQmFQ1B5mC1eRXsCm5TarlNmx/wCsa5GEaxGm05BORRtyG/Ex/3xq3TuRvq57qg== - -process@^0.11.10: - version "0.11.10" - resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" - integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -quick-format-unescaped@^4.0.3: - version "4.0.4" - resolved "https://registry.yarnpkg.com/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz#93ef6dd8d3453cbc7970dd614fad4c5954d6b5a7" - integrity sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg== - -readable-stream@^3.6.0: - version "3.6.2" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" - integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - -readable-stream@^4.0.0: - version "4.4.2" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-4.4.2.tgz#e6aced27ad3b9d726d8308515b9a1b98dc1b9d13" - integrity sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA== - dependencies: - abort-controller "^3.0.0" - buffer "^6.0.3" - events "^3.3.0" - process "^0.11.10" - string_decoder "^1.3.0" - -real-require@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/real-require/-/real-require-0.2.0.tgz#209632dea1810be2ae063a6ac084fee7e33fba78" - integrity sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg== - -rxjs@^7.8.0: - version "7.8.1" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" - integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== - dependencies: - tslib "^2.1.0" - -safe-buffer@~5.2.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - -safe-stable-stringify@^2.3.1: - version "2.4.3" - resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz#138c84b6f6edb3db5f8ef3ef7115b8f55ccbf886" - integrity sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g== - -secure-json-parse@^2.4.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/secure-json-parse/-/secure-json-parse-2.7.0.tgz#5a5f9cd6ae47df23dba3151edd06855d47e09862" - integrity sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw== - -snek-query@*: - version "0.0.93" - resolved "https://registry.yarnpkg.com/snek-query/-/snek-query-0.0.93.tgz#cb9ce0b9e8da918bdd2c81d02b5026f192ed198a" - integrity sha512-cxotXlFt82wGicBDKEjhVtCmBTvDy2eO5/0kV8pYMI4O4KSlBOkbjMWvSCLv8fa4J5gtyEquerhSYIyIguuRgQ== - dependencies: - commander "^9.4.1" - graphql "^16.6.0" - lodash.clonedeep "^4.5.0" - pino "^8.8.0" - pino-pretty "^9.1.1" - rxjs "^7.8.0" - typescript "^4.9.4" - -sonic-boom@^3.0.0, sonic-boom@^3.1.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/sonic-boom/-/sonic-boom-3.3.0.tgz#cffab6dafee3b2bcb88d08d589394198bee1838c" - integrity sha512-LYxp34KlZ1a2Jb8ZQgFCK3niIHzibdwtwNUWKg0qQRzsDoJ3Gfgkf8KdBTFU3SkejDEIlWwnSnpVdOZIhFMl/g== - dependencies: - atomic-sleep "^1.0.0" - -split2@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/split2/-/split2-4.2.0.tgz#c9c5920904d148bab0b9f67145f245a86aadbfa4" - integrity sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg== - -string_decoder@^1.1.1, string_decoder@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - -strip-json-comments@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" - integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== - -thread-stream@^2.0.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/thread-stream/-/thread-stream-2.4.0.tgz#5def29598d1d4171ba3bace7e023a71d87d99c07" - integrity sha512-xZYtOtmnA63zj04Q+F9bdEay5r47bvpo1CaNqsKi7TpoJHcotUez8Fkfo2RJWpW91lnnaApdpRbVwCWsy+ifcw== - dependencies: - real-require "^0.2.0" - -tslib@^2.1.0: - version "2.6.2" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" - integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== - -typescript@^4.9.4: - version "4.9.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" - integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== - -util-deprecate@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== diff --git a/src/clients/qasm-runner/index.ts b/src/clients/qasm-runner/index.ts new file mode 100644 index 0000000..bd747dd --- /dev/null +++ b/src/clients/qasm-runner/index.ts @@ -0,0 +1 @@ +export { sq } from './src/index'; diff --git a/src/clients/qasm-runner/src/index.ts b/src/clients/qasm-runner/src/index.ts new file mode 100644 index 0000000..cd01ef7 --- /dev/null +++ b/src/clients/qasm-runner/src/index.ts @@ -0,0 +1,9 @@ +import { makeSnekQuery } from 'snek-query'; +import { Query, Mutation } from './schema.generated'; + +export const sq = makeSnekQuery( + { Query, Mutation }, + { + apiURL: 'https://qasm-runner.photonq.org/graphql' + } +); diff --git a/src/clients/qasm-runner/src/schema.generated.ts b/src/clients/qasm-runner/src/schema.generated.ts new file mode 100644 index 0000000..96b1009 --- /dev/null +++ b/src/clients/qasm-runner/src/schema.generated.ts @@ -0,0 +1,68 @@ + +import { proxy, arrayProxy, fnProxy, fnArrayProxy, t } from "snek-query"; + +export enum COMPLETED_WAITING_ACTIVE_DELAYED_FAILED_PAUSED_STUCK { + completed = "completed", + waiting = "waiting", + active = "active", + delayed = "delayed", + failed = "failed", + paused = "paused", + stuck = "stuck" +} +export enum TRANSLATION_SIMULATION { + translation = "translation", + simulation = "simulation" +} + + +export class Query { + __typename: t.String; + execution: (args: { + taskId: t.String; + }) => Execution; + version: t.String; + constructor() { this.__typename = ""; this.execution = fnProxy(Execution); this.version = ""; } +} +export class Execution { + __typename: t.String; + id: t.String; + status: t.Nullable; + progress: JobData; + data: JobData; + constructor() { this.__typename = ""; this.id = ""; this.status = null; this.progress = proxy(JobData); this.data = proxy(JobData); } +} +export class JobData { + __typename: t.String; + type: t.Nullable; + base64Qasm: t.String; + result: t.Nullable; + constructor() { this.__typename = ""; this.type = null; this.base64Qasm = ""; this.result = proxy(Result); } +} +export class Result { + __typename: t.String; + errors: t.String[]; + warnings: t.String[]; + infos: t.String[]; + data: Data[]; + constructor() { this.__typename = ""; this.errors = []; this.warnings = []; this.infos = []; this.data = arrayProxy(Data); } +} +export class Data { + __typename: t.String; + mimeType: t.String; + value: t.String; + dataUri: t.String; + name: t.Nullable; + constructor() { this.__typename = ""; this.mimeType = ""; this.value = ""; this.dataUri = ""; this.name = null; } +} +export class Mutation { + __typename: t.String; + translate: (args: { + base64Code: t.String; + }) => Execution; + simulate: (args: { + base64Code: t.String; + }) => Execution; + constructor() { this.__typename = ""; this.translate = fnProxy(Execution); this.simulate = fnProxy(Execution); } +} + diff --git a/src/clients/social/index.ts b/src/clients/social/index.ts new file mode 100644 index 0000000..bd747dd --- /dev/null +++ b/src/clients/social/index.ts @@ -0,0 +1 @@ +export { sq } from './src/index'; diff --git a/src/clients/social/src/index.ts b/src/clients/social/src/index.ts new file mode 100644 index 0000000..332da7e --- /dev/null +++ b/src/clients/social/src/index.ts @@ -0,0 +1,28 @@ +import { makeSnekQuery } from 'snek-query'; +import { User } from 'oidc-client-ts'; + +import { Query, Mutation } from './schema.generated'; + +export const sq = makeSnekQuery( + { Query, Mutation }, + { + apiURL: 'https://pylons.photonq.org/social/graphql', + middlewares: [ + ({ context }) => { + context.headers['x-org-id'] = __JAEN_ZITADEL__.organizationId; + + const oidcStorage = sessionStorage.getItem( + `oidc.user:${__JAEN_ZITADEL__.authority}:${__JAEN_ZITADEL__.clientId}` + ); + + if (oidcStorage) { + const user = User.fromStorageString(oidcStorage); + + context.headers['Authorization'] = `Bearer ${user.access_token}`; + } + + return context; + } + ] + } +); diff --git a/src/clients/social/src/schema.generated.ts b/src/clients/social/src/schema.generated.ts new file mode 100644 index 0000000..11939fc --- /dev/null +++ b/src/clients/social/src/schema.generated.ts @@ -0,0 +1,3529 @@ + +import { proxy, arrayProxy, fnProxy, fnArrayProxy, t } from "snek-query"; + +export enum Language { + EN = "EN", + DE = "DE" +} +export enum USER_STATE_UNSPECIFIED_USER_STATE_ACTIVE_USER_STATE_INACTIVE_USER_STATE_DELETED_USER_STATE_LOCKED_USER_STATE_SUSPEND_USER_STATE_INITIAL { + USER_STATE_UNSPECIFIED = "USER_STATE_UNSPECIFIED", + USER_STATE_ACTIVE = "USER_STATE_ACTIVE", + USER_STATE_INACTIVE = "USER_STATE_INACTIVE", + USER_STATE_DELETED = "USER_STATE_DELETED", + USER_STATE_LOCKED = "USER_STATE_LOCKED", + USER_STATE_SUSPEND = "USER_STATE_SUSPEND", + USER_STATE_INITIAL = "USER_STATE_INITIAL" +} +export enum Privacy { + PUBLIC = "PUBLIC", + PRIVATE = "PRIVATE", + FRIENDS = "FRIENDS" +} +export enum ActivityType { + USER_CREATED = "USER_CREATED", + POST_CREATED = "POST_CREATED", + FOLLOW = "FOLLOW", + UNFOLLOW = "UNFOLLOW", + STAR = "STAR", + UNSTAR = "UNSTAR" +} +export enum PrivacyInput { + PUBLIC = "PUBLIC", + PRIVATE = "PRIVATE", + FRIENDS = "FRIENDS" +} +export enum LanguageInput { + EN = "EN", + DE = "DE" +} +export enum ActivityTypeInput { + USER_CREATED = "USER_CREATED", + POST_CREATED = "POST_CREATED", + FOLLOW = "FOLLOW", + UNFOLLOW = "UNFOLLOW", + STAR = "STAR", + UNSTAR = "UNSTAR" +} +export enum SortOrderInput { + asc = "asc", + desc = "desc" +} +export enum UserOrderByRelevanceFieldEnumInput { + id = "id", + organizationId = "organizationId", + bio = "bio" +} +export enum PostOrderByRelevanceFieldEnumInput { + id = "id", + content = "content", + summary = "summary", + title = "title", + userId = "userId", + slug = "slug", + avatarURL = "avatarURL" +} +export enum StarOrderByRelevanceFieldEnumInput { + id = "id", + postId = "postId", + userId = "userId" +} +export enum ActivityOrderByRelevanceFieldEnumInput { + id = "id", + postId = "postId", + userId = "userId", + relatedUserId = "relatedUserId" +} +export enum PostViewOrderByRelevanceFieldEnumInput { + postId = "postId", + viewedById = "viewedById" +} +export enum FollowOrderByRelevanceFieldEnumInput { + id = "id", + followerId = "followerId", + followedId = "followedId" +} +export enum UserViewOrderByRelevanceFieldEnumInput { + userId = "userId", + viewedById = "viewedById" +} + +export type UserWhereInputInput = { + AND?: UserWhereInputInput[]; + OR?: UserWhereInputInput[]; + NOT?: UserWhereInputInput[]; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + organization?: WithoutInput_14AndOrganizationWhereInputInput; + posts?: PostListRelationFilterInput; + followers?: FollowListRelationFilterInput; + followings?: FollowListRelationFilterInput; + starredPosts?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + relatedActivities?: ActivityListRelationFilterInput; + receivedUserViews?: UserViewListRelationFilterInput; + performedUserViews?: UserViewListRelationFilterInput; + performedPostViews?: PostViewListRelationFilterInput; +}; +export type WithoutInput_14AndOrganizationWhereInputInput = { + is?: OrganizationWhereInputInput; + isNot?: OrganizationWhereInputInput; + AND?: OrganizationWhereInputInput[]; + OR?: OrganizationWhereInputInput[]; + NOT?: OrganizationWhereInputInput[]; + id?: t.String; + users?: UserListRelationFilterInput; +}; +export type OrganizationWhereInputInput = { + AND?: OrganizationWhereInputInput[]; + OR?: OrganizationWhereInputInput[]; + NOT?: OrganizationWhereInputInput[]; + id?: t.String; + users?: UserListRelationFilterInput; +}; +export type UserListRelationFilterInput = { + every?: UserWhereInputInput; + some?: UserWhereInputInput; + none?: UserWhereInputInput; +}; +export type PostListRelationFilterInput = { + every?: PostWhereInputInput; + some?: PostWhereInputInput; + none?: PostWhereInputInput; +}; +export type PostWhereInputInput = { + AND?: PostWhereInputInput[]; + OR?: PostWhereInputInput[]; + NOT?: PostWhereInputInput[]; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: EnumPrivacyFilterInput; + language?: EnumLanguageFilterInput_1; + user?: WithoutInput_16AndUserWhereInputInput; + stars?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + views?: PostViewListRelationFilterInput; +}; +export type EnumPrivacyFilterInput = { + equals?: t.String; + in?: PrivacyInput[]; + notIn?: PrivacyInput[]; + not?: t.String; +}; +export type EnumLanguageFilterInput_1 = { + equals?: t.String; + in?: LanguageInput[]; + notIn?: LanguageInput[]; + not?: t.String; +}; +export type WithoutInput_16AndUserWhereInputInput = { + is?: UserWhereInputInput; + isNot?: UserWhereInputInput; + AND?: UserWhereInputInput[]; + OR?: UserWhereInputInput[]; + NOT?: UserWhereInputInput[]; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + organization?: WithoutInput_14AndOrganizationWhereInputInput; + posts?: PostListRelationFilterInput; + followers?: FollowListRelationFilterInput; + followings?: FollowListRelationFilterInput; + starredPosts?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + relatedActivities?: ActivityListRelationFilterInput; + receivedUserViews?: UserViewListRelationFilterInput; + performedUserViews?: UserViewListRelationFilterInput; + performedPostViews?: PostViewListRelationFilterInput; +}; +export type FollowListRelationFilterInput = { + every?: FollowWhereInputInput; + some?: FollowWhereInputInput; + none?: FollowWhereInputInput; +}; +export type FollowWhereInputInput = { + AND?: FollowWhereInputInput[]; + OR?: FollowWhereInputInput[]; + NOT?: FollowWhereInputInput[]; + id?: t.String; + followerId?: t.String; + followedId?: t.String; + createdAt?: t.String; + follower?: WithoutInput_16AndUserWhereInputInput; + followed?: WithoutInput_16AndUserWhereInputInput; +}; +export type StarListRelationFilterInput = { + every?: StarWhereInputInput; + some?: StarWhereInputInput; + none?: StarWhereInputInput; +}; +export type StarWhereInputInput = { + AND?: StarWhereInputInput[]; + OR?: StarWhereInputInput[]; + NOT?: StarWhereInputInput[]; + id?: t.String; + postId?: t.String; + userId?: t.String; + createdAt?: t.String; + user?: WithoutInput_16AndUserWhereInputInput; + post?: WithoutInput_18AndPostWhereInputInput; +}; +export type WithoutInput_18AndPostWhereInputInput = { + is?: PostWhereInputInput; + isNot?: PostWhereInputInput; + AND?: PostWhereInputInput[]; + OR?: PostWhereInputInput[]; + NOT?: PostWhereInputInput[]; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: EnumPrivacyFilterInput; + language?: EnumLanguageFilterInput_1; + user?: WithoutInput_16AndUserWhereInputInput; + stars?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + views?: PostViewListRelationFilterInput; +}; +export type ActivityListRelationFilterInput = { + every?: ActivityWhereInputInput; + some?: ActivityWhereInputInput; + none?: ActivityWhereInputInput; +}; +export type ActivityWhereInputInput = { + AND?: ActivityWhereInputInput[]; + OR?: ActivityWhereInputInput[]; + NOT?: ActivityWhereInputInput[]; + id?: t.String; + type?: EnumActivityTypeFilterInput; + createdAt?: t.String; + userId?: t.String; + postId?: t.String; + relatedUserId?: t.String; + user?: WithoutInput_16AndUserWhereInputInput; + post?: WithoutInput_18AndPostWhereInputInput; + relatedUser?: WithoutInput_20AndUserWhereInputInput; +}; +export type EnumActivityTypeFilterInput = { + equals?: t.String; + in?: ActivityTypeInput[]; + notIn?: ActivityTypeInput[]; + not?: t.String; +}; +export type WithoutInput_20AndUserWhereInputInput = { + is?: UserWhereInputInput; + isNot?: UserWhereInputInput; + AND?: UserWhereInputInput[]; + OR?: UserWhereInputInput[]; + NOT?: UserWhereInputInput[]; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + organization?: WithoutInput_14AndOrganizationWhereInputInput; + posts?: PostListRelationFilterInput; + followers?: FollowListRelationFilterInput; + followings?: FollowListRelationFilterInput; + starredPosts?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + relatedActivities?: ActivityListRelationFilterInput; + receivedUserViews?: UserViewListRelationFilterInput; + performedUserViews?: UserViewListRelationFilterInput; + performedPostViews?: PostViewListRelationFilterInput; +}; +export type UserViewListRelationFilterInput = { + every?: UserViewWhereInputInput; + some?: UserViewWhereInputInput; + none?: UserViewWhereInputInput; +}; +export type UserViewWhereInputInput = { + AND?: UserViewWhereInputInput[]; + OR?: UserViewWhereInputInput[]; + NOT?: UserViewWhereInputInput[]; + id?: t.Number; + userId?: t.String; + viewedById?: t.String; + createdAt?: t.String; + user?: WithoutInput_16AndUserWhereInputInput; + viewedBy?: WithoutInput_16AndUserWhereInputInput; +}; +export type PostViewListRelationFilterInput = { + every?: PostViewWhereInputInput; + some?: PostViewWhereInputInput; + none?: PostViewWhereInputInput; +}; +export type PostViewWhereInputInput = { + AND?: PostViewWhereInputInput[]; + OR?: PostViewWhereInputInput[]; + NOT?: PostViewWhereInputInput[]; + id?: t.Number; + postId?: t.String; + viewedById?: t.String; + createdAt?: t.String; + post?: WithoutInput_22AndPostWhereInputInput; + viewedBy?: WithoutInput_16AndUserWhereInputInput; +}; +export type WithoutInput_22AndPostWhereInputInput = { + is?: PostWhereInputInput; + isNot?: PostWhereInputInput; + AND?: PostWhereInputInput[]; + OR?: PostWhereInputInput[]; + NOT?: PostWhereInputInput[]; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: EnumPrivacyFilterInput; + language?: EnumLanguageFilterInput_1; + user?: WithoutInput_16AndUserWhereInputInput; + stars?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + views?: PostViewListRelationFilterInput; +}; +export type UserOrderByWithRelationAndSearchRelevanceInputInput = { + id?: SortOrderInput; + organizationId?: SortOrderInput; + bio?: t.String; + createdAt?: SortOrderInput; + updatedAt?: SortOrderInput; + language?: SortOrderInput; + organization?: OrganizationOrderByWithRelationAndSearchRelevanceInputInput; + posts?: PostOrderByRelationAggregateInputInput; + followers?: FollowOrderByRelationAggregateInputInput; + followings?: FollowOrderByRelationAggregateInputInput; + starredPosts?: StarOrderByRelationAggregateInputInput; + activities?: ActivityOrderByRelationAggregateInputInput; + relatedActivities?: ActivityOrderByRelationAggregateInputInput; + receivedUserViews?: UserViewOrderByRelationAggregateInputInput; + performedUserViews?: UserViewOrderByRelationAggregateInputInput; + performedPostViews?: PostViewOrderByRelationAggregateInputInput; + _relevance?: UserOrderByRelevanceInputInput; +}; +export type OrganizationOrderByWithRelationAndSearchRelevanceInputInput = { + id?: SortOrderInput; + users?: UserOrderByRelationAggregateInputInput; + _relevance?: OrganizationOrderByRelevanceInputInput; +}; +export type UserOrderByRelationAggregateInputInput = { + _count?: SortOrderInput; +}; +export type OrganizationOrderByRelevanceInputInput = { + fields?: t.String[]; + sort: SortOrderInput; + search: t.String; +}; +export type PostOrderByRelationAggregateInputInput = { + _count?: SortOrderInput; +}; +export type FollowOrderByRelationAggregateInputInput = { + _count?: SortOrderInput; +}; +export type StarOrderByRelationAggregateInputInput = { + _count?: SortOrderInput; +}; +export type ActivityOrderByRelationAggregateInputInput = { + _count?: SortOrderInput; +}; +export type UserViewOrderByRelationAggregateInputInput = { + _count?: SortOrderInput; +}; +export type PostViewOrderByRelationAggregateInputInput = { + _count?: SortOrderInput; +}; +export type UserOrderByRelevanceInputInput = { + fields: t.String; + sort: SortOrderInput; + search: t.String; +}; +export type OmitInput_20 = { + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + organization?: OrganizationCreateNestedOneWithoutUsersInputInput; + posts?: PostUncheckedCreateNestedManyWithoutUserInputInput; + followers?: FollowUncheckedCreateNestedManyWithoutFollowedInputInput; + followings?: FollowUncheckedCreateNestedManyWithoutFollowerInputInput; + starredPosts?: StarUncheckedCreateNestedManyWithoutUserInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutUserInputInput; + relatedActivities?: ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput; + receivedUserViews?: UserViewUncheckedCreateNestedManyWithoutViewedByInputInput; + performedUserViews?: UserViewUncheckedCreateNestedManyWithoutUserInputInput; + performedPostViews?: PostViewUncheckedCreateNestedManyWithoutViewedByInputInput; +}; +export type OrganizationCreateNestedOneWithoutUsersInputInput = { + create?: ObjectAndOrganizationUncheckedCreateWithoutUsersInputInput; + connectOrCreate?: OrganizationCreateOrConnectWithoutUsersInputInput; + connect?: WhereInput_3AndWhereInput_4; +}; +export type ObjectAndOrganizationUncheckedCreateWithoutUsersInputInput = { + id: t.String; +}; +export type OrganizationCreateOrConnectWithoutUsersInputInput = { + where: WhereInput_3AndWhereInput_4; + create: ObjectAndOrganizationUncheckedCreateWithoutUsersInputInput; +}; +export type WhereInput_3AndWhereInput_4 = { + id?: t.String; + AND?: OrganizationWhereInputInput[]; + OR?: OrganizationWhereInputInput[]; + NOT?: OrganizationWhereInputInput[]; + users?: UserListRelationFilterInput; +}; +export type PostUncheckedCreateNestedManyWithoutUserInputInput = { + create?: ObjectAndPostUncheckedCreateWithoutUserInputInput; + connectOrCreate?: PostCreateOrConnectWithoutUserInputInput[]; + createMany?: PostCreateManyUserInputEnvelopeInput; + connect?: WhereInput_8AndWhereInput_7; +}; +export type ObjectAndPostUncheckedCreateWithoutUserInputInput = { + id?: t.String; + slug: t.String; + title: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: PrivacyInput; + language?: LanguageInput; + stars?: StarUncheckedCreateNestedManyWithoutPostInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutPostInputInput; + views?: PostViewUncheckedCreateNestedManyWithoutPostInputInput; +}; +export type StarUncheckedCreateNestedManyWithoutPostInputInput = { + create?: WithoutInput_24AndStarUncheckedCreateWithoutPostInputInput; + connectOrCreate?: StarCreateOrConnectWithoutPostInputInput[]; + createMany?: StarCreateManyPostInputEnvelopeInput; + connect?: WhereInput_16AndWhereInput_15; +}; +export type WithoutInput_24AndStarUncheckedCreateWithoutPostInputInput = { + user?: UserCreateNestedOneWithoutStarredPostsInputInput; + id?: t.String; + userId?: t.String; + createdAt?: t.String; +}; +export type UserCreateNestedOneWithoutStarredPostsInputInput = { + create?: WithoutInput_26AndUserUncheckedCreateWithoutStarredPostsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutStarredPostsInputInput; + connect?: WhereInput_27AndWhereInput_28; +}; +export type WithoutInput_26AndUserUncheckedCreateWithoutStarredPostsInputInput = { + organization?: OrganizationCreateNestedOneWithoutUsersInputInput; + id: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + posts?: PostUncheckedCreateNestedManyWithoutUserInputInput; + followers?: FollowUncheckedCreateNestedManyWithoutFollowedInputInput; + followings?: FollowUncheckedCreateNestedManyWithoutFollowerInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutUserInputInput; + relatedActivities?: ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput; + receivedUserViews?: UserViewUncheckedCreateNestedManyWithoutViewedByInputInput; + performedUserViews?: UserViewUncheckedCreateNestedManyWithoutUserInputInput; + performedPostViews?: PostViewUncheckedCreateNestedManyWithoutViewedByInputInput; +}; +export type FollowUncheckedCreateNestedManyWithoutFollowedInputInput = { + create?: WithoutInput_28AndFollowUncheckedCreateWithoutFollowedInputInput; + connectOrCreate?: FollowCreateOrConnectWithoutFollowedInputInput[]; + createMany?: FollowCreateManyFollowedInputEnvelopeInput; + connect?: WhereInput_12AndWhereInput_11; +}; +export type WithoutInput_28AndFollowUncheckedCreateWithoutFollowedInputInput = { + follower?: UserCreateNestedOneWithoutFollowingsInputInput; + id?: t.String; + followerId?: t.String; + createdAt?: t.String; +}; +export type UserCreateNestedOneWithoutFollowingsInputInput = { + create?: WithoutInput_30AndUserUncheckedCreateWithoutFollowingsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutFollowingsInputInput; + connect?: WhereInput_27AndWhereInput_28; +}; +export type WithoutInput_30AndUserUncheckedCreateWithoutFollowingsInputInput = { + organization?: OrganizationCreateNestedOneWithoutUsersInputInput; + id: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + posts?: PostUncheckedCreateNestedManyWithoutUserInputInput; + followers?: FollowUncheckedCreateNestedManyWithoutFollowedInputInput; + starredPosts?: StarUncheckedCreateNestedManyWithoutUserInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutUserInputInput; + relatedActivities?: ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput; + receivedUserViews?: UserViewUncheckedCreateNestedManyWithoutViewedByInputInput; + performedUserViews?: UserViewUncheckedCreateNestedManyWithoutUserInputInput; + performedPostViews?: PostViewUncheckedCreateNestedManyWithoutViewedByInputInput; +}; +export type StarUncheckedCreateNestedManyWithoutUserInputInput = { + create?: WithoutInput_32AndStarUncheckedCreateWithoutUserInputInput; + connectOrCreate?: StarCreateOrConnectWithoutUserInputInput[]; + createMany?: StarCreateManyUserInputEnvelopeInput; + connect?: WhereInput_16AndWhereInput_15; +}; +export type WithoutInput_32AndStarUncheckedCreateWithoutUserInputInput = { + post?: PostCreateNestedOneWithoutStarsInputInput; + id?: t.String; + postId?: t.String; + createdAt?: t.String; +}; +export type PostCreateNestedOneWithoutStarsInputInput = { + create?: WithoutInput_34AndPostUncheckedCreateWithoutStarsInputInput; + connectOrCreate?: PostCreateOrConnectWithoutStarsInputInput; + connect?: WhereInput_6AndWhereInput_7; +}; +export type WithoutInput_34AndPostUncheckedCreateWithoutStarsInputInput = { + user?: UserCreateNestedOneWithoutPostsInputInput; + id?: t.String; + slug: t.String; + title: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: PrivacyInput; + language?: LanguageInput; + activities?: ActivityUncheckedCreateNestedManyWithoutPostInputInput; + views?: PostViewUncheckedCreateNestedManyWithoutPostInputInput; +}; +export type UserCreateNestedOneWithoutPostsInputInput = { + create?: WithoutInput_36AndUserUncheckedCreateWithoutPostsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutPostsInputInput; + connect?: WhereInput_27AndWhereInput_28; +}; +export type WithoutInput_36AndUserUncheckedCreateWithoutPostsInputInput = { + organization?: OrganizationCreateNestedOneWithoutUsersInputInput; + id: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + followers?: FollowUncheckedCreateNestedManyWithoutFollowedInputInput; + followings?: FollowUncheckedCreateNestedManyWithoutFollowerInputInput; + starredPosts?: StarUncheckedCreateNestedManyWithoutUserInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutUserInputInput; + relatedActivities?: ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput; + receivedUserViews?: UserViewUncheckedCreateNestedManyWithoutViewedByInputInput; + performedUserViews?: UserViewUncheckedCreateNestedManyWithoutUserInputInput; + performedPostViews?: PostViewUncheckedCreateNestedManyWithoutViewedByInputInput; +}; +export type FollowUncheckedCreateNestedManyWithoutFollowerInputInput = { + create?: WithoutInput_38AndFollowUncheckedCreateWithoutFollowerInputInput; + connectOrCreate?: FollowCreateOrConnectWithoutFollowerInputInput[]; + createMany?: FollowCreateManyFollowerInputEnvelopeInput; + connect?: WhereInput_12AndWhereInput_11; +}; +export type WithoutInput_38AndFollowUncheckedCreateWithoutFollowerInputInput = { + followed?: UserCreateNestedOneWithoutFollowersInputInput; + id?: t.String; + followedId?: t.String; + createdAt?: t.String; +}; +export type UserCreateNestedOneWithoutFollowersInputInput = { + create?: WithoutInput_40AndUserUncheckedCreateWithoutFollowersInputInput; + connectOrCreate?: UserCreateOrConnectWithoutFollowersInputInput; + connect?: WhereInput_27AndWhereInput_28; +}; +export type WithoutInput_40AndUserUncheckedCreateWithoutFollowersInputInput = { + organization?: OrganizationCreateNestedOneWithoutUsersInputInput; + id: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + posts?: PostUncheckedCreateNestedManyWithoutUserInputInput; + followings?: FollowUncheckedCreateNestedManyWithoutFollowerInputInput; + starredPosts?: StarUncheckedCreateNestedManyWithoutUserInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutUserInputInput; + relatedActivities?: ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput; + receivedUserViews?: UserViewUncheckedCreateNestedManyWithoutViewedByInputInput; + performedUserViews?: UserViewUncheckedCreateNestedManyWithoutUserInputInput; + performedPostViews?: PostViewUncheckedCreateNestedManyWithoutViewedByInputInput; +}; +export type ActivityUncheckedCreateNestedManyWithoutUserInputInput = { + create?: WithoutInput_42AndActivityUncheckedCreateWithoutUserInputInput; + connectOrCreate?: ActivityCreateOrConnectWithoutUserInputInput[]; + createMany?: ActivityCreateManyUserInputEnvelopeInput; + connect?: WhereInput_20AndWhereInput_19; +}; +export type WithoutInput_42AndActivityUncheckedCreateWithoutUserInputInput = { + post?: PostCreateNestedOneWithoutActivitiesInputInput; + relatedUser?: UserCreateNestedOneWithoutRelatedActivitiesInputInput; + id?: t.String; + type: ActivityTypeInput; + createdAt?: t.String; + postId?: t.String; + relatedUserId?: t.String; +}; +export type PostCreateNestedOneWithoutActivitiesInputInput = { + create?: WithoutInput_44AndPostUncheckedCreateWithoutActivitiesInputInput; + connectOrCreate?: PostCreateOrConnectWithoutActivitiesInputInput; + connect?: WhereInput_6AndWhereInput_7; +}; +export type WithoutInput_44AndPostUncheckedCreateWithoutActivitiesInputInput = { + user?: UserCreateNestedOneWithoutPostsInputInput; + id?: t.String; + slug: t.String; + title: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: PrivacyInput; + language?: LanguageInput; + stars?: StarUncheckedCreateNestedManyWithoutPostInputInput; + views?: PostViewUncheckedCreateNestedManyWithoutPostInputInput; +}; +export type PostViewUncheckedCreateNestedManyWithoutPostInputInput = { + create?: WithoutInput_46AndPostViewUncheckedCreateWithoutPostInputInput; + connectOrCreate?: PostViewCreateOrConnectWithoutPostInputInput[]; + createMany?: PostViewCreateManyPostInputEnvelopeInput; + connect?: WhereInput_26AndWhereInput_25; +}; +export type WithoutInput_46AndPostViewUncheckedCreateWithoutPostInputInput = { + viewedBy?: UserCreateNestedOneWithoutPerformedPostViewsInputInput; + id?: t.Number; + viewedById?: t.String; + createdAt?: t.String; +}; +export type UserCreateNestedOneWithoutPerformedPostViewsInputInput = { + create?: WithoutInput_48AndUserUncheckedCreateWithoutPerformedPostViewsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutPerformedPostViewsInputInput; + connect?: WhereInput_27AndWhereInput_28; +}; +export type WithoutInput_48AndUserUncheckedCreateWithoutPerformedPostViewsInputInput = { + organization?: OrganizationCreateNestedOneWithoutUsersInputInput; + id: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + posts?: PostUncheckedCreateNestedManyWithoutUserInputInput; + followers?: FollowUncheckedCreateNestedManyWithoutFollowedInputInput; + followings?: FollowUncheckedCreateNestedManyWithoutFollowerInputInput; + starredPosts?: StarUncheckedCreateNestedManyWithoutUserInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutUserInputInput; + relatedActivities?: ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput; + receivedUserViews?: UserViewUncheckedCreateNestedManyWithoutViewedByInputInput; + performedUserViews?: UserViewUncheckedCreateNestedManyWithoutUserInputInput; +}; +export type ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput = { + create?: WithoutInput_50AndActivityUncheckedCreateWithoutRelatedUserInputInput; + connectOrCreate?: ActivityCreateOrConnectWithoutRelatedUserInputInput[]; + createMany?: ActivityCreateManyRelatedUserInputEnvelopeInput; + connect?: WhereInput_20AndWhereInput_19; +}; +export type WithoutInput_50AndActivityUncheckedCreateWithoutRelatedUserInputInput = { + user?: UserCreateNestedOneWithoutActivitiesInputInput; + post?: PostCreateNestedOneWithoutActivitiesInputInput; + id?: t.String; + type: ActivityTypeInput; + createdAt?: t.String; + userId?: t.String; + postId?: t.String; +}; +export type UserCreateNestedOneWithoutActivitiesInputInput = { + create?: WithoutInput_52AndUserUncheckedCreateWithoutActivitiesInputInput; + connectOrCreate?: UserCreateOrConnectWithoutActivitiesInputInput; + connect?: WhereInput_27AndWhereInput_28; +}; +export type WithoutInput_52AndUserUncheckedCreateWithoutActivitiesInputInput = { + organization?: OrganizationCreateNestedOneWithoutUsersInputInput; + id: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + posts?: PostUncheckedCreateNestedManyWithoutUserInputInput; + followers?: FollowUncheckedCreateNestedManyWithoutFollowedInputInput; + followings?: FollowUncheckedCreateNestedManyWithoutFollowerInputInput; + starredPosts?: StarUncheckedCreateNestedManyWithoutUserInputInput; + relatedActivities?: ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput; + receivedUserViews?: UserViewUncheckedCreateNestedManyWithoutViewedByInputInput; + performedUserViews?: UserViewUncheckedCreateNestedManyWithoutUserInputInput; + performedPostViews?: PostViewUncheckedCreateNestedManyWithoutViewedByInputInput; +}; +export type UserViewUncheckedCreateNestedManyWithoutViewedByInputInput = { + create?: WithoutInput_54AndUserViewUncheckedCreateWithoutViewedByInputInput; + connectOrCreate?: UserViewCreateOrConnectWithoutViewedByInputInput[]; + createMany?: UserViewCreateManyViewedByInputEnvelopeInput; + connect?: WhereInput_23AndWhereInput_22; +}; +export type WithoutInput_54AndUserViewUncheckedCreateWithoutViewedByInputInput = { + user?: UserCreateNestedOneWithoutPerformedUserViewsInputInput; + id?: t.Number; + userId?: t.String; + createdAt?: t.String; +}; +export type UserCreateNestedOneWithoutPerformedUserViewsInputInput = { + create?: WithoutInput_56AndUserUncheckedCreateWithoutPerformedUserViewsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutPerformedUserViewsInputInput; + connect?: WhereInput_27AndWhereInput_28; +}; +export type WithoutInput_56AndUserUncheckedCreateWithoutPerformedUserViewsInputInput = { + organization?: OrganizationCreateNestedOneWithoutUsersInputInput; + id: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + posts?: PostUncheckedCreateNestedManyWithoutUserInputInput; + followers?: FollowUncheckedCreateNestedManyWithoutFollowedInputInput; + followings?: FollowUncheckedCreateNestedManyWithoutFollowerInputInput; + starredPosts?: StarUncheckedCreateNestedManyWithoutUserInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutUserInputInput; + relatedActivities?: ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput; + receivedUserViews?: UserViewUncheckedCreateNestedManyWithoutViewedByInputInput; + performedPostViews?: PostViewUncheckedCreateNestedManyWithoutViewedByInputInput; +}; +export type PostViewUncheckedCreateNestedManyWithoutViewedByInputInput = { + create?: WithoutInput_58AndPostViewUncheckedCreateWithoutViewedByInputInput; + connectOrCreate?: PostViewCreateOrConnectWithoutViewedByInputInput[]; + createMany?: PostViewCreateManyViewedByInputEnvelopeInput; + connect?: WhereInput_26AndWhereInput_25; +}; +export type WithoutInput_58AndPostViewUncheckedCreateWithoutViewedByInputInput = { + post?: PostCreateNestedOneWithoutViewsInputInput; + id?: t.Number; + postId?: t.String; + createdAt?: t.String; +}; +export type PostCreateNestedOneWithoutViewsInputInput = { + create?: WithoutInput_60AndPostUncheckedCreateWithoutViewsInputInput; + connectOrCreate?: PostCreateOrConnectWithoutViewsInputInput; + connect?: WhereInput_6AndWhereInput_7; +}; +export type WithoutInput_60AndPostUncheckedCreateWithoutViewsInputInput = { + user?: UserCreateNestedOneWithoutPostsInputInput; + id?: t.String; + slug: t.String; + title: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: PrivacyInput; + language?: LanguageInput; + stars?: StarUncheckedCreateNestedManyWithoutPostInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutPostInputInput; +}; +export type ActivityUncheckedCreateNestedManyWithoutPostInputInput = { + create?: WithoutInput_62AndActivityUncheckedCreateWithoutPostInputInput; + connectOrCreate?: ActivityCreateOrConnectWithoutPostInputInput[]; + createMany?: ActivityCreateManyPostInputEnvelopeInput; + connect?: WhereInput_20AndWhereInput_19; +}; +export type WithoutInput_62AndActivityUncheckedCreateWithoutPostInputInput = { + user?: UserCreateNestedOneWithoutActivitiesInputInput; + relatedUser?: UserCreateNestedOneWithoutRelatedActivitiesInputInput; + id?: t.String; + type: ActivityTypeInput; + createdAt?: t.String; + userId?: t.String; + relatedUserId?: t.String; +}; +export type UserCreateNestedOneWithoutRelatedActivitiesInputInput = { + create?: WithoutInput_64AndUserUncheckedCreateWithoutRelatedActivitiesInputInput; + connectOrCreate?: UserCreateOrConnectWithoutRelatedActivitiesInputInput; + connect?: WhereInput_27AndWhereInput_28; +}; +export type WithoutInput_64AndUserUncheckedCreateWithoutRelatedActivitiesInputInput = { + organization?: OrganizationCreateNestedOneWithoutUsersInputInput; + id: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + posts?: PostUncheckedCreateNestedManyWithoutUserInputInput; + followers?: FollowUncheckedCreateNestedManyWithoutFollowedInputInput; + followings?: FollowUncheckedCreateNestedManyWithoutFollowerInputInput; + starredPosts?: StarUncheckedCreateNestedManyWithoutUserInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutUserInputInput; + receivedUserViews?: UserViewUncheckedCreateNestedManyWithoutViewedByInputInput; + performedUserViews?: UserViewUncheckedCreateNestedManyWithoutUserInputInput; + performedPostViews?: PostViewUncheckedCreateNestedManyWithoutViewedByInputInput; +}; +export type UserViewUncheckedCreateNestedManyWithoutUserInputInput = { + create?: WithoutInput_66AndUserViewUncheckedCreateWithoutUserInputInput; + connectOrCreate?: UserViewCreateOrConnectWithoutUserInputInput[]; + createMany?: UserViewCreateManyUserInputEnvelopeInput; + connect?: WhereInput_23AndWhereInput_22; +}; +export type WithoutInput_66AndUserViewUncheckedCreateWithoutUserInputInput = { + viewedBy?: UserCreateNestedOneWithoutReceivedUserViewsInputInput; + id?: t.Number; + viewedById?: t.String; + createdAt?: t.String; +}; +export type UserCreateNestedOneWithoutReceivedUserViewsInputInput = { + create?: WithoutInput_68AndUserUncheckedCreateWithoutReceivedUserViewsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutReceivedUserViewsInputInput; + connect?: WhereInput_27AndWhereInput_28; +}; +export type WithoutInput_68AndUserUncheckedCreateWithoutReceivedUserViewsInputInput = { + organization?: OrganizationCreateNestedOneWithoutUsersInputInput; + id: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + posts?: PostUncheckedCreateNestedManyWithoutUserInputInput; + followers?: FollowUncheckedCreateNestedManyWithoutFollowedInputInput; + followings?: FollowUncheckedCreateNestedManyWithoutFollowerInputInput; + starredPosts?: StarUncheckedCreateNestedManyWithoutUserInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutUserInputInput; + relatedActivities?: ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput; + performedUserViews?: UserViewUncheckedCreateNestedManyWithoutUserInputInput; + performedPostViews?: PostViewUncheckedCreateNestedManyWithoutViewedByInputInput; +}; +export type UserCreateOrConnectWithoutReceivedUserViewsInputInput = { + where: WhereInput_27AndWhereInput_28; + create: WithoutInput_68AndUserUncheckedCreateWithoutReceivedUserViewsInputInput; +}; +export type WhereInput_27AndWhereInput_28 = { + id?: t.String; + AND?: UserWhereInputInput[]; + OR?: UserWhereInputInput[]; + NOT?: UserWhereInputInput[]; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + organization?: WithoutInput_14AndOrganizationWhereInputInput; + posts?: PostListRelationFilterInput; + followers?: FollowListRelationFilterInput; + followings?: FollowListRelationFilterInput; + starredPosts?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + relatedActivities?: ActivityListRelationFilterInput; + receivedUserViews?: UserViewListRelationFilterInput; + performedUserViews?: UserViewListRelationFilterInput; + performedPostViews?: PostViewListRelationFilterInput; +}; +export type UserViewCreateOrConnectWithoutUserInputInput = { + where: WhereInput_21AndWhereInput_22; + create: WithoutInput_66AndUserViewUncheckedCreateWithoutUserInputInput; +}; +export type WhereInput_21AndWhereInput_22 = { + id?: t.Number; + AND?: UserViewWhereInputInput[]; + OR?: UserViewWhereInputInput[]; + NOT?: UserViewWhereInputInput[]; + userId?: t.String; + viewedById?: t.String; + createdAt?: t.String; + user?: WithoutInput_16AndUserWhereInputInput; + viewedBy?: WithoutInput_16AndUserWhereInputInput; +}; +export type UserViewCreateManyUserInputEnvelopeInput = { + data?: UserViewCreateManyUserInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type UserViewCreateManyUserInputInput = { + id?: t.Number; + viewedById: t.String; + createdAt?: t.String; +}; +export type WhereInput_23AndWhereInput_22 = { + id?: t.Number; + AND?: UserViewWhereInputInput[]; + OR?: UserViewWhereInputInput[]; + NOT?: UserViewWhereInputInput[]; + userId?: t.String; + viewedById?: t.String; + createdAt?: t.String; + user?: WithoutInput_16AndUserWhereInputInput; + viewedBy?: WithoutInput_16AndUserWhereInputInput; +}; +export type UserCreateOrConnectWithoutRelatedActivitiesInputInput = { + where: WhereInput_27AndWhereInput_28; + create: WithoutInput_64AndUserUncheckedCreateWithoutRelatedActivitiesInputInput; +}; +export type ActivityCreateOrConnectWithoutPostInputInput = { + where: WhereInput_18AndWhereInput_19; + create: WithoutInput_62AndActivityUncheckedCreateWithoutPostInputInput; +}; +export type WhereInput_18AndWhereInput_19 = { + id?: t.String; + AND?: ActivityWhereInputInput[]; + OR?: ActivityWhereInputInput[]; + NOT?: ActivityWhereInputInput[]; + type?: EnumActivityTypeFilterInput; + createdAt?: t.String; + userId?: t.String; + postId?: t.String; + relatedUserId?: t.String; + user?: WithoutInput_16AndUserWhereInputInput; + post?: WithoutInput_18AndPostWhereInputInput; + relatedUser?: WithoutInput_20AndUserWhereInputInput; +}; +export type ActivityCreateManyPostInputEnvelopeInput = { + data?: ActivityCreateManyPostInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type ActivityCreateManyPostInputInput = { + id?: t.String; + type: ActivityTypeInput; + createdAt?: t.String; + userId: t.String; + relatedUserId?: t.String; +}; +export type WhereInput_20AndWhereInput_19 = { + id?: t.String; + AND?: ActivityWhereInputInput[]; + OR?: ActivityWhereInputInput[]; + NOT?: ActivityWhereInputInput[]; + type?: EnumActivityTypeFilterInput; + createdAt?: t.String; + userId?: t.String; + postId?: t.String; + relatedUserId?: t.String; + user?: WithoutInput_16AndUserWhereInputInput; + post?: WithoutInput_18AndPostWhereInputInput; + relatedUser?: WithoutInput_20AndUserWhereInputInput; +}; +export type PostCreateOrConnectWithoutViewsInputInput = { + where: WhereInput_6AndWhereInput_7; + create: WithoutInput_60AndPostUncheckedCreateWithoutViewsInputInput; +}; +export type WhereInput_6AndWhereInput_7 = { + id?: t.String; + slug?: t.String; + AND?: PostWhereInputInput[]; + OR?: PostWhereInputInput[]; + NOT?: PostWhereInputInput[]; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: EnumPrivacyFilterInput; + language?: EnumLanguageFilterInput_1; + user?: WithoutInput_16AndUserWhereInputInput; + stars?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + views?: PostViewListRelationFilterInput; +}; +export type PostViewCreateOrConnectWithoutViewedByInputInput = { + where: WhereInput_24AndWhereInput_25; + create: WithoutInput_58AndPostViewUncheckedCreateWithoutViewedByInputInput; +}; +export type WhereInput_24AndWhereInput_25 = { + id?: t.Number; + AND?: PostViewWhereInputInput[]; + OR?: PostViewWhereInputInput[]; + NOT?: PostViewWhereInputInput[]; + postId?: t.String; + viewedById?: t.String; + createdAt?: t.String; + post?: WithoutInput_22AndPostWhereInputInput; + viewedBy?: WithoutInput_16AndUserWhereInputInput; +}; +export type PostViewCreateManyViewedByInputEnvelopeInput = { + data?: PostViewCreateManyViewedByInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type PostViewCreateManyViewedByInputInput = { + id?: t.Number; + postId: t.String; + createdAt?: t.String; +}; +export type WhereInput_26AndWhereInput_25 = { + id?: t.Number; + AND?: PostViewWhereInputInput[]; + OR?: PostViewWhereInputInput[]; + NOT?: PostViewWhereInputInput[]; + postId?: t.String; + viewedById?: t.String; + createdAt?: t.String; + post?: WithoutInput_22AndPostWhereInputInput; + viewedBy?: WithoutInput_16AndUserWhereInputInput; +}; +export type UserCreateOrConnectWithoutPerformedUserViewsInputInput = { + where: WhereInput_27AndWhereInput_28; + create: WithoutInput_56AndUserUncheckedCreateWithoutPerformedUserViewsInputInput; +}; +export type UserViewCreateOrConnectWithoutViewedByInputInput = { + where: WhereInput_21AndWhereInput_22; + create: WithoutInput_54AndUserViewUncheckedCreateWithoutViewedByInputInput; +}; +export type UserViewCreateManyViewedByInputEnvelopeInput = { + data?: UserViewCreateManyViewedByInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type UserViewCreateManyViewedByInputInput = { + id?: t.Number; + userId: t.String; + createdAt?: t.String; +}; +export type UserCreateOrConnectWithoutActivitiesInputInput = { + where: WhereInput_27AndWhereInput_28; + create: WithoutInput_52AndUserUncheckedCreateWithoutActivitiesInputInput; +}; +export type ActivityCreateOrConnectWithoutRelatedUserInputInput = { + where: WhereInput_18AndWhereInput_19; + create: WithoutInput_50AndActivityUncheckedCreateWithoutRelatedUserInputInput; +}; +export type ActivityCreateManyRelatedUserInputEnvelopeInput = { + data?: ActivityCreateManyRelatedUserInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type ActivityCreateManyRelatedUserInputInput = { + id?: t.String; + type: ActivityTypeInput; + createdAt?: t.String; + userId: t.String; + postId?: t.String; +}; +export type UserCreateOrConnectWithoutPerformedPostViewsInputInput = { + where: WhereInput_27AndWhereInput_28; + create: WithoutInput_48AndUserUncheckedCreateWithoutPerformedPostViewsInputInput; +}; +export type PostViewCreateOrConnectWithoutPostInputInput = { + where: WhereInput_24AndWhereInput_25; + create: WithoutInput_46AndPostViewUncheckedCreateWithoutPostInputInput; +}; +export type PostViewCreateManyPostInputEnvelopeInput = { + data?: PostViewCreateManyPostInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type PostViewCreateManyPostInputInput = { + id?: t.Number; + viewedById: t.String; + createdAt?: t.String; +}; +export type PostCreateOrConnectWithoutActivitiesInputInput = { + where: WhereInput_6AndWhereInput_7; + create: WithoutInput_44AndPostUncheckedCreateWithoutActivitiesInputInput; +}; +export type ActivityCreateOrConnectWithoutUserInputInput = { + where: WhereInput_18AndWhereInput_19; + create: WithoutInput_42AndActivityUncheckedCreateWithoutUserInputInput; +}; +export type ActivityCreateManyUserInputEnvelopeInput = { + data?: ActivityCreateManyUserInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type ActivityCreateManyUserInputInput = { + id?: t.String; + type: ActivityTypeInput; + createdAt?: t.String; + postId?: t.String; + relatedUserId?: t.String; +}; +export type UserCreateOrConnectWithoutFollowersInputInput = { + where: WhereInput_27AndWhereInput_28; + create: WithoutInput_40AndUserUncheckedCreateWithoutFollowersInputInput; +}; +export type FollowCreateOrConnectWithoutFollowerInputInput = { + where: WhereInput_10AndWhereInput_11; + create: WithoutInput_38AndFollowUncheckedCreateWithoutFollowerInputInput; +}; +export type WhereInput_10AndWhereInput_11 = { + id?: t.String; + followerId_followedId?: FollowFollowerIdFollowedIdCompoundUniqueInputInput; + AND?: FollowWhereInputInput[]; + OR?: FollowWhereInputInput[]; + NOT?: FollowWhereInputInput[]; + followerId?: t.String; + followedId?: t.String; + createdAt?: t.String; + follower?: WithoutInput_16AndUserWhereInputInput; + followed?: WithoutInput_16AndUserWhereInputInput; +}; +export type FollowFollowerIdFollowedIdCompoundUniqueInputInput = { + followerId: t.String; + followedId: t.String; +}; +export type FollowCreateManyFollowerInputEnvelopeInput = { + data?: FollowCreateManyFollowerInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type FollowCreateManyFollowerInputInput = { + id?: t.String; + followedId: t.String; + createdAt?: t.String; +}; +export type WhereInput_12AndWhereInput_11 = { + id?: t.String; + followerId_followedId?: FollowFollowerIdFollowedIdCompoundUniqueInputInput; + AND?: FollowWhereInputInput[]; + OR?: FollowWhereInputInput[]; + NOT?: FollowWhereInputInput[]; + followerId?: t.String; + followedId?: t.String; + createdAt?: t.String; + follower?: WithoutInput_16AndUserWhereInputInput; + followed?: WithoutInput_16AndUserWhereInputInput; +}; +export type UserCreateOrConnectWithoutPostsInputInput = { + where: WhereInput_27AndWhereInput_28; + create: WithoutInput_36AndUserUncheckedCreateWithoutPostsInputInput; +}; +export type PostCreateOrConnectWithoutStarsInputInput = { + where: WhereInput_6AndWhereInput_7; + create: WithoutInput_34AndPostUncheckedCreateWithoutStarsInputInput; +}; +export type StarCreateOrConnectWithoutUserInputInput = { + where: WhereInput_14AndWhereInput_15; + create: WithoutInput_32AndStarUncheckedCreateWithoutUserInputInput; +}; +export type WhereInput_14AndWhereInput_15 = { + id?: t.String; + postId_userId?: StarPostIdUserIdCompoundUniqueInputInput; + AND?: StarWhereInputInput[]; + OR?: StarWhereInputInput[]; + NOT?: StarWhereInputInput[]; + postId?: t.String; + userId?: t.String; + createdAt?: t.String; + user?: WithoutInput_16AndUserWhereInputInput; + post?: WithoutInput_18AndPostWhereInputInput; +}; +export type StarPostIdUserIdCompoundUniqueInputInput = { + postId: t.String; + userId: t.String; +}; +export type StarCreateManyUserInputEnvelopeInput = { + data?: StarCreateManyUserInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type StarCreateManyUserInputInput = { + id?: t.String; + postId: t.String; + createdAt?: t.String; +}; +export type WhereInput_16AndWhereInput_15 = { + id?: t.String; + postId_userId?: StarPostIdUserIdCompoundUniqueInputInput; + AND?: StarWhereInputInput[]; + OR?: StarWhereInputInput[]; + NOT?: StarWhereInputInput[]; + postId?: t.String; + userId?: t.String; + createdAt?: t.String; + user?: WithoutInput_16AndUserWhereInputInput; + post?: WithoutInput_18AndPostWhereInputInput; +}; +export type UserCreateOrConnectWithoutFollowingsInputInput = { + where: WhereInput_27AndWhereInput_28; + create: WithoutInput_30AndUserUncheckedCreateWithoutFollowingsInputInput; +}; +export type FollowCreateOrConnectWithoutFollowedInputInput = { + where: WhereInput_10AndWhereInput_11; + create: WithoutInput_28AndFollowUncheckedCreateWithoutFollowedInputInput; +}; +export type FollowCreateManyFollowedInputEnvelopeInput = { + data?: FollowCreateManyFollowedInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type FollowCreateManyFollowedInputInput = { + id?: t.String; + followerId: t.String; + createdAt?: t.String; +}; +export type UserCreateOrConnectWithoutStarredPostsInputInput = { + where: WhereInput_27AndWhereInput_28; + create: WithoutInput_26AndUserUncheckedCreateWithoutStarredPostsInputInput; +}; +export type StarCreateOrConnectWithoutPostInputInput = { + where: WhereInput_14AndWhereInput_15; + create: WithoutInput_24AndStarUncheckedCreateWithoutPostInputInput; +}; +export type StarCreateManyPostInputEnvelopeInput = { + data?: StarCreateManyPostInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type StarCreateManyPostInputInput = { + id?: t.String; + userId: t.String; + createdAt?: t.String; +}; +export type PostCreateOrConnectWithoutUserInputInput = { + where: WhereInput_6AndWhereInput_7; + create: ObjectAndPostUncheckedCreateWithoutUserInputInput; +}; +export type PostCreateManyUserInputEnvelopeInput = { + data?: PostCreateManyUserInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type PostCreateManyUserInputInput = { + id?: t.String; + slug: t.String; + title: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: PrivacyInput; + language?: LanguageInput; +}; +export type WhereInput_8AndWhereInput_7 = { + id?: t.String; + slug?: t.String; + AND?: PostWhereInputInput[]; + OR?: PostWhereInputInput[]; + NOT?: PostWhereInputInput[]; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: EnumPrivacyFilterInput; + language?: EnumLanguageFilterInput_1; + user?: WithoutInput_16AndUserWhereInputInput; + stars?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + views?: PostViewListRelationFilterInput; +}; +export type WithoutInput_12AndUserUncheckedUpdateInputInput = { + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type OrganizationUpdateOneRequiredWithoutUsersNestedInputInput = { + create?: ObjectAndOrganizationUncheckedCreateWithoutUsersInputInput; + connectOrCreate?: OrganizationCreateOrConnectWithoutUsersInputInput; + upsert?: OrganizationUpsertWithoutUsersInputInput; + connect?: WhereInput_3AndWhereInput_4; + update?: WithoutInput_70AndOrganizationUncheckedUpdateWithoutUsersInputInput; +}; +export type OrganizationUpsertWithoutUsersInputInput = { + update: ObjectAndOrganizationUncheckedUpdateWithoutUsersInputInput; + create: ObjectAndOrganizationUncheckedCreateWithoutUsersInputInput; + where?: OrganizationWhereInputInput; +}; +export type ObjectAndOrganizationUncheckedUpdateWithoutUsersInputInput = { + id?: t.String; +}; +export type WithoutInput_70AndOrganizationUncheckedUpdateWithoutUsersInputInput = { + where?: OrganizationWhereInputInput; + data?: ObjectAndOrganizationUncheckedUpdateWithoutUsersInputInput; + id?: t.String; +}; +export type PostUncheckedUpdateManyWithoutUserNestedInputInput = { + create?: ObjectAndPostUncheckedCreateWithoutUserInputInput; + connectOrCreate?: PostCreateOrConnectWithoutUserInputInput[]; + upsert?: PostUpsertWithWhereUniqueWithoutUserInputInput[]; + createMany?: PostCreateManyUserInputEnvelopeInput; + set?: WhereInput_8AndWhereInput_7; + disconnect?: WhereInput_8AndWhereInput_7; + delete?: WhereInput_8AndWhereInput_7; + connect?: WhereInput_8AndWhereInput_7; + update?: PostUpdateWithWhereUniqueWithoutUserInputInput[]; + updateMany?: PostUpdateManyWithWhereWithoutUserInputInput[]; + deleteMany?: PostScalarWhereInputInput[]; +}; +export type PostUpsertWithWhereUniqueWithoutUserInputInput = { + where: WhereInput_6AndWhereInput_7; + update: ObjectAndPostUncheckedUpdateWithoutUserInputInput; + create: ObjectAndPostUncheckedCreateWithoutUserInputInput; +}; +export type ObjectAndPostUncheckedUpdateWithoutUserInputInput = { + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: t.String; + language?: t.String; + stars?: StarUncheckedUpdateManyWithoutPostNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutPostNestedInputInput; + views?: PostViewUncheckedUpdateManyWithoutPostNestedInputInput; +}; +export type StarUncheckedUpdateManyWithoutPostNestedInputInput = { + create?: WithoutInput_24AndStarUncheckedCreateWithoutPostInputInput; + connectOrCreate?: StarCreateOrConnectWithoutPostInputInput[]; + upsert?: StarUpsertWithWhereUniqueWithoutPostInputInput[]; + createMany?: StarCreateManyPostInputEnvelopeInput; + set?: WhereInput_16AndWhereInput_15; + disconnect?: WhereInput_16AndWhereInput_15; + delete?: WhereInput_16AndWhereInput_15; + connect?: WhereInput_16AndWhereInput_15; + update?: StarUpdateWithWhereUniqueWithoutPostInputInput[]; + updateMany?: StarUpdateManyWithWhereWithoutPostInputInput[]; + deleteMany?: StarScalarWhereInputInput[]; +}; +export type StarUpsertWithWhereUniqueWithoutPostInputInput = { + where: WhereInput_14AndWhereInput_15; + update: WithoutInput_74AndStarUncheckedUpdateWithoutPostInputInput; + create: WithoutInput_24AndStarUncheckedCreateWithoutPostInputInput; +}; +export type WithoutInput_74AndStarUncheckedUpdateWithoutPostInputInput = { + user?: UserUpdateOneRequiredWithoutStarredPostsNestedInputInput; + id?: t.String; + userId?: t.String; + createdAt?: t.String; +}; +export type UserUpdateOneRequiredWithoutStarredPostsNestedInputInput = { + create?: WithoutInput_26AndUserUncheckedCreateWithoutStarredPostsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutStarredPostsInputInput; + upsert?: UserUpsertWithoutStarredPostsInputInput; + connect?: WhereInput_27AndWhereInput_28; + update?: WithoutInput_76AndUserUncheckedUpdateWithoutStarredPostsInputInput; +}; +export type UserUpsertWithoutStarredPostsInputInput = { + update: WithoutInput_82AndUserUncheckedUpdateWithoutStarredPostsInputInput; + create: WithoutInput_26AndUserUncheckedCreateWithoutStarredPostsInputInput; + where?: UserWhereInputInput; +}; +export type WithoutInput_82AndUserUncheckedUpdateWithoutStarredPostsInputInput = { + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type FollowUncheckedUpdateManyWithoutFollowedNestedInputInput = { + create?: WithoutInput_28AndFollowUncheckedCreateWithoutFollowedInputInput; + connectOrCreate?: FollowCreateOrConnectWithoutFollowedInputInput[]; + upsert?: FollowUpsertWithWhereUniqueWithoutFollowedInputInput[]; + createMany?: FollowCreateManyFollowedInputEnvelopeInput; + set?: WhereInput_12AndWhereInput_11; + disconnect?: WhereInput_12AndWhereInput_11; + delete?: WhereInput_12AndWhereInput_11; + connect?: WhereInput_12AndWhereInput_11; + update?: FollowUpdateWithWhereUniqueWithoutFollowedInputInput[]; + updateMany?: FollowUpdateManyWithWhereWithoutFollowedInputInput[]; + deleteMany?: FollowScalarWhereInputInput[]; +}; +export type FollowUpsertWithWhereUniqueWithoutFollowedInputInput = { + where: WhereInput_10AndWhereInput_11; + update: WithoutInput_84AndFollowUncheckedUpdateWithoutFollowedInputInput; + create: WithoutInput_28AndFollowUncheckedCreateWithoutFollowedInputInput; +}; +export type WithoutInput_84AndFollowUncheckedUpdateWithoutFollowedInputInput = { + follower?: UserUpdateOneRequiredWithoutFollowingsNestedInputInput; + id?: t.String; + followerId?: t.String; + createdAt?: t.String; +}; +export type UserUpdateOneRequiredWithoutFollowingsNestedInputInput = { + create?: WithoutInput_30AndUserUncheckedCreateWithoutFollowingsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutFollowingsInputInput; + upsert?: UserUpsertWithoutFollowingsInputInput; + connect?: WhereInput_27AndWhereInput_28; + update?: WithoutInput_86AndUserUncheckedUpdateWithoutFollowingsInputInput; +}; +export type UserUpsertWithoutFollowingsInputInput = { + update: WithoutInput_92AndUserUncheckedUpdateWithoutFollowingsInputInput; + create: WithoutInput_30AndUserUncheckedCreateWithoutFollowingsInputInput; + where?: UserWhereInputInput; +}; +export type WithoutInput_92AndUserUncheckedUpdateWithoutFollowingsInputInput = { + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type StarUncheckedUpdateManyWithoutUserNestedInputInput = { + create?: WithoutInput_32AndStarUncheckedCreateWithoutUserInputInput; + connectOrCreate?: StarCreateOrConnectWithoutUserInputInput[]; + upsert?: StarUpsertWithWhereUniqueWithoutUserInputInput[]; + createMany?: StarCreateManyUserInputEnvelopeInput; + set?: WhereInput_16AndWhereInput_15; + disconnect?: WhereInput_16AndWhereInput_15; + delete?: WhereInput_16AndWhereInput_15; + connect?: WhereInput_16AndWhereInput_15; + update?: StarUpdateWithWhereUniqueWithoutUserInputInput[]; + updateMany?: StarUpdateManyWithWhereWithoutUserInputInput[]; + deleteMany?: StarScalarWhereInputInput[]; +}; +export type StarUpsertWithWhereUniqueWithoutUserInputInput = { + where: WhereInput_14AndWhereInput_15; + update: WithoutInput_94AndStarUncheckedUpdateWithoutUserInputInput; + create: WithoutInput_32AndStarUncheckedCreateWithoutUserInputInput; +}; +export type WithoutInput_94AndStarUncheckedUpdateWithoutUserInputInput = { + post?: PostUpdateOneWithoutStarsNestedInputInput; + id?: t.String; + postId?: t.String; + createdAt?: t.String; +}; +export type PostUpdateOneWithoutStarsNestedInputInput = { + create?: WithoutInput_34AndPostUncheckedCreateWithoutStarsInputInput; + connectOrCreate?: PostCreateOrConnectWithoutStarsInputInput; + upsert?: PostUpsertWithoutStarsInputInput; + disconnect?: t.Boolean; + delete?: t.Boolean; + connect?: WhereInput_6AndWhereInput_7; + update?: WithoutInput_96AndPostUncheckedUpdateWithoutStarsInputInput; +}; +export type PostUpsertWithoutStarsInputInput = { + update: WithoutInput_102AndPostUncheckedUpdateWithoutStarsInputInput; + create: WithoutInput_34AndPostUncheckedCreateWithoutStarsInputInput; + where?: PostWhereInputInput; +}; +export type WithoutInput_102AndPostUncheckedUpdateWithoutStarsInputInput = { + user?: UserUpdateOneRequiredWithoutPostsNestedInputInput; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: t.String; + language?: t.String; + activities?: ActivityUncheckedUpdateManyWithoutPostNestedInputInput; + views?: PostViewUncheckedUpdateManyWithoutPostNestedInputInput; +}; +export type UserUpdateOneRequiredWithoutPostsNestedInputInput = { + create?: WithoutInput_36AndUserUncheckedCreateWithoutPostsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutPostsInputInput; + upsert?: UserUpsertWithoutPostsInputInput; + connect?: WhereInput_27AndWhereInput_28; + update?: WithoutInput_104AndUserUncheckedUpdateWithoutPostsInputInput; +}; +export type UserUpsertWithoutPostsInputInput = { + update: WithoutInput_110AndUserUncheckedUpdateWithoutPostsInputInput; + create: WithoutInput_36AndUserUncheckedCreateWithoutPostsInputInput; + where?: UserWhereInputInput; +}; +export type WithoutInput_110AndUserUncheckedUpdateWithoutPostsInputInput = { + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type FollowUncheckedUpdateManyWithoutFollowerNestedInputInput = { + create?: WithoutInput_38AndFollowUncheckedCreateWithoutFollowerInputInput; + connectOrCreate?: FollowCreateOrConnectWithoutFollowerInputInput[]; + upsert?: FollowUpsertWithWhereUniqueWithoutFollowerInputInput[]; + createMany?: FollowCreateManyFollowerInputEnvelopeInput; + set?: WhereInput_12AndWhereInput_11; + disconnect?: WhereInput_12AndWhereInput_11; + delete?: WhereInput_12AndWhereInput_11; + connect?: WhereInput_12AndWhereInput_11; + update?: FollowUpdateWithWhereUniqueWithoutFollowerInputInput[]; + updateMany?: FollowUpdateManyWithWhereWithoutFollowerInputInput[]; + deleteMany?: FollowScalarWhereInputInput[]; +}; +export type FollowUpsertWithWhereUniqueWithoutFollowerInputInput = { + where: WhereInput_10AndWhereInput_11; + update: WithoutInput_112AndFollowUncheckedUpdateWithoutFollowerInputInput; + create: WithoutInput_38AndFollowUncheckedCreateWithoutFollowerInputInput; +}; +export type WithoutInput_112AndFollowUncheckedUpdateWithoutFollowerInputInput = { + followed?: UserUpdateOneRequiredWithoutFollowersNestedInputInput; + id?: t.String; + followedId?: t.String; + createdAt?: t.String; +}; +export type UserUpdateOneRequiredWithoutFollowersNestedInputInput = { + create?: WithoutInput_40AndUserUncheckedCreateWithoutFollowersInputInput; + connectOrCreate?: UserCreateOrConnectWithoutFollowersInputInput; + upsert?: UserUpsertWithoutFollowersInputInput; + connect?: WhereInput_27AndWhereInput_28; + update?: WithoutInput_114AndUserUncheckedUpdateWithoutFollowersInputInput; +}; +export type UserUpsertWithoutFollowersInputInput = { + update: WithoutInput_120AndUserUncheckedUpdateWithoutFollowersInputInput; + create: WithoutInput_40AndUserUncheckedCreateWithoutFollowersInputInput; + where?: UserWhereInputInput; +}; +export type WithoutInput_120AndUserUncheckedUpdateWithoutFollowersInputInput = { + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type ActivityUncheckedUpdateManyWithoutUserNestedInputInput = { + create?: WithoutInput_42AndActivityUncheckedCreateWithoutUserInputInput; + connectOrCreate?: ActivityCreateOrConnectWithoutUserInputInput[]; + upsert?: ActivityUpsertWithWhereUniqueWithoutUserInputInput[]; + createMany?: ActivityCreateManyUserInputEnvelopeInput; + set?: WhereInput_20AndWhereInput_19; + disconnect?: WhereInput_20AndWhereInput_19; + delete?: WhereInput_20AndWhereInput_19; + connect?: WhereInput_20AndWhereInput_19; + update?: ActivityUpdateWithWhereUniqueWithoutUserInputInput[]; + updateMany?: ActivityUpdateManyWithWhereWithoutUserInputInput[]; + deleteMany?: ActivityScalarWhereInputInput[]; +}; +export type ActivityUpsertWithWhereUniqueWithoutUserInputInput = { + where: WhereInput_18AndWhereInput_19; + update: WithoutInput_122AndActivityUncheckedUpdateWithoutUserInputInput; + create: WithoutInput_42AndActivityUncheckedCreateWithoutUserInputInput; +}; +export type WithoutInput_122AndActivityUncheckedUpdateWithoutUserInputInput = { + post?: PostUpdateOneWithoutActivitiesNestedInputInput; + relatedUser?: UserUpdateOneWithoutRelatedActivitiesNestedInputInput; + id?: t.String; + type?: t.String; + createdAt?: t.String; + postId?: t.String; + relatedUserId?: t.String; +}; +export type PostUpdateOneWithoutActivitiesNestedInputInput = { + create?: WithoutInput_44AndPostUncheckedCreateWithoutActivitiesInputInput; + connectOrCreate?: PostCreateOrConnectWithoutActivitiesInputInput; + upsert?: PostUpsertWithoutActivitiesInputInput; + disconnect?: t.Boolean; + delete?: t.Boolean; + connect?: WhereInput_6AndWhereInput_7; + update?: WithoutInput_124AndPostUncheckedUpdateWithoutActivitiesInputInput; +}; +export type PostUpsertWithoutActivitiesInputInput = { + update: WithoutInput_130AndPostUncheckedUpdateWithoutActivitiesInputInput; + create: WithoutInput_44AndPostUncheckedCreateWithoutActivitiesInputInput; + where?: PostWhereInputInput; +}; +export type WithoutInput_130AndPostUncheckedUpdateWithoutActivitiesInputInput = { + user?: UserUpdateOneRequiredWithoutPostsNestedInputInput; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: t.String; + language?: t.String; + stars?: StarUncheckedUpdateManyWithoutPostNestedInputInput; + views?: PostViewUncheckedUpdateManyWithoutPostNestedInputInput; +}; +export type PostViewUncheckedUpdateManyWithoutPostNestedInputInput = { + create?: WithoutInput_46AndPostViewUncheckedCreateWithoutPostInputInput; + connectOrCreate?: PostViewCreateOrConnectWithoutPostInputInput[]; + upsert?: PostViewUpsertWithWhereUniqueWithoutPostInputInput[]; + createMany?: PostViewCreateManyPostInputEnvelopeInput; + set?: WhereInput_26AndWhereInput_25; + disconnect?: WhereInput_26AndWhereInput_25; + delete?: WhereInput_26AndWhereInput_25; + connect?: WhereInput_26AndWhereInput_25; + update?: PostViewUpdateWithWhereUniqueWithoutPostInputInput[]; + updateMany?: PostViewUpdateManyWithWhereWithoutPostInputInput[]; + deleteMany?: PostViewScalarWhereInputInput[]; +}; +export type PostViewUpsertWithWhereUniqueWithoutPostInputInput = { + where: WhereInput_24AndWhereInput_25; + update: WithoutInput_132AndPostViewUncheckedUpdateWithoutPostInputInput; + create: WithoutInput_46AndPostViewUncheckedCreateWithoutPostInputInput; +}; +export type WithoutInput_132AndPostViewUncheckedUpdateWithoutPostInputInput = { + viewedBy?: UserUpdateOneRequiredWithoutPerformedPostViewsNestedInputInput; + id?: t.Number; + viewedById?: t.String; + createdAt?: t.String; +}; +export type UserUpdateOneRequiredWithoutPerformedPostViewsNestedInputInput = { + create?: WithoutInput_48AndUserUncheckedCreateWithoutPerformedPostViewsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutPerformedPostViewsInputInput; + upsert?: UserUpsertWithoutPerformedPostViewsInputInput; + connect?: WhereInput_27AndWhereInput_28; + update?: WithoutInput_134AndUserUncheckedUpdateWithoutPerformedPostViewsInputInput; +}; +export type UserUpsertWithoutPerformedPostViewsInputInput = { + update: WithoutInput_140AndUserUncheckedUpdateWithoutPerformedPostViewsInputInput; + create: WithoutInput_48AndUserUncheckedCreateWithoutPerformedPostViewsInputInput; + where?: UserWhereInputInput; +}; +export type WithoutInput_140AndUserUncheckedUpdateWithoutPerformedPostViewsInputInput = { + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; +}; +export type ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput = { + create?: WithoutInput_50AndActivityUncheckedCreateWithoutRelatedUserInputInput; + connectOrCreate?: ActivityCreateOrConnectWithoutRelatedUserInputInput[]; + upsert?: ActivityUpsertWithWhereUniqueWithoutRelatedUserInputInput[]; + createMany?: ActivityCreateManyRelatedUserInputEnvelopeInput; + set?: WhereInput_20AndWhereInput_19; + disconnect?: WhereInput_20AndWhereInput_19; + delete?: WhereInput_20AndWhereInput_19; + connect?: WhereInput_20AndWhereInput_19; + update?: ActivityUpdateWithWhereUniqueWithoutRelatedUserInputInput[]; + updateMany?: ActivityUpdateManyWithWhereWithoutRelatedUserInputInput[]; + deleteMany?: ActivityScalarWhereInputInput[]; +}; +export type ActivityUpsertWithWhereUniqueWithoutRelatedUserInputInput = { + where: WhereInput_18AndWhereInput_19; + update: WithoutInput_142AndActivityUncheckedUpdateWithoutRelatedUserInputInput; + create: WithoutInput_50AndActivityUncheckedCreateWithoutRelatedUserInputInput; +}; +export type WithoutInput_142AndActivityUncheckedUpdateWithoutRelatedUserInputInput = { + user?: UserUpdateOneRequiredWithoutActivitiesNestedInputInput; + post?: PostUpdateOneWithoutActivitiesNestedInputInput; + id?: t.String; + type?: t.String; + createdAt?: t.String; + userId?: t.String; + postId?: t.String; +}; +export type UserUpdateOneRequiredWithoutActivitiesNestedInputInput = { + create?: WithoutInput_52AndUserUncheckedCreateWithoutActivitiesInputInput; + connectOrCreate?: UserCreateOrConnectWithoutActivitiesInputInput; + upsert?: UserUpsertWithoutActivitiesInputInput; + connect?: WhereInput_27AndWhereInput_28; + update?: WithoutInput_144AndUserUncheckedUpdateWithoutActivitiesInputInput; +}; +export type UserUpsertWithoutActivitiesInputInput = { + update: WithoutInput_150AndUserUncheckedUpdateWithoutActivitiesInputInput; + create: WithoutInput_52AndUserUncheckedCreateWithoutActivitiesInputInput; + where?: UserWhereInputInput; +}; +export type WithoutInput_150AndUserUncheckedUpdateWithoutActivitiesInputInput = { + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput = { + create?: WithoutInput_54AndUserViewUncheckedCreateWithoutViewedByInputInput; + connectOrCreate?: UserViewCreateOrConnectWithoutViewedByInputInput[]; + upsert?: UserViewUpsertWithWhereUniqueWithoutViewedByInputInput[]; + createMany?: UserViewCreateManyViewedByInputEnvelopeInput; + set?: WhereInput_23AndWhereInput_22; + disconnect?: WhereInput_23AndWhereInput_22; + delete?: WhereInput_23AndWhereInput_22; + connect?: WhereInput_23AndWhereInput_22; + update?: UserViewUpdateWithWhereUniqueWithoutViewedByInputInput[]; + updateMany?: UserViewUpdateManyWithWhereWithoutViewedByInputInput[]; + deleteMany?: UserViewScalarWhereInputInput[]; +}; +export type UserViewUpsertWithWhereUniqueWithoutViewedByInputInput = { + where: WhereInput_21AndWhereInput_22; + update: WithoutInput_152AndUserViewUncheckedUpdateWithoutViewedByInputInput; + create: WithoutInput_54AndUserViewUncheckedCreateWithoutViewedByInputInput; +}; +export type WithoutInput_152AndUserViewUncheckedUpdateWithoutViewedByInputInput = { + user?: UserUpdateOneRequiredWithoutPerformedUserViewsNestedInputInput; + id?: t.Number; + userId?: t.String; + createdAt?: t.String; +}; +export type UserUpdateOneRequiredWithoutPerformedUserViewsNestedInputInput = { + create?: WithoutInput_56AndUserUncheckedCreateWithoutPerformedUserViewsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutPerformedUserViewsInputInput; + upsert?: UserUpsertWithoutPerformedUserViewsInputInput; + connect?: WhereInput_27AndWhereInput_28; + update?: WithoutInput_154AndUserUncheckedUpdateWithoutPerformedUserViewsInputInput; +}; +export type UserUpsertWithoutPerformedUserViewsInputInput = { + update: WithoutInput_160AndUserUncheckedUpdateWithoutPerformedUserViewsInputInput; + create: WithoutInput_56AndUserUncheckedCreateWithoutPerformedUserViewsInputInput; + where?: UserWhereInputInput; +}; +export type WithoutInput_160AndUserUncheckedUpdateWithoutPerformedUserViewsInputInput = { + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput = { + create?: WithoutInput_58AndPostViewUncheckedCreateWithoutViewedByInputInput; + connectOrCreate?: PostViewCreateOrConnectWithoutViewedByInputInput[]; + upsert?: PostViewUpsertWithWhereUniqueWithoutViewedByInputInput[]; + createMany?: PostViewCreateManyViewedByInputEnvelopeInput; + set?: WhereInput_26AndWhereInput_25; + disconnect?: WhereInput_26AndWhereInput_25; + delete?: WhereInput_26AndWhereInput_25; + connect?: WhereInput_26AndWhereInput_25; + update?: PostViewUpdateWithWhereUniqueWithoutViewedByInputInput[]; + updateMany?: PostViewUpdateManyWithWhereWithoutViewedByInputInput[]; + deleteMany?: PostViewScalarWhereInputInput[]; +}; +export type PostViewUpsertWithWhereUniqueWithoutViewedByInputInput = { + where: WhereInput_24AndWhereInput_25; + update: WithoutInput_162AndPostViewUncheckedUpdateWithoutViewedByInputInput; + create: WithoutInput_58AndPostViewUncheckedCreateWithoutViewedByInputInput; +}; +export type WithoutInput_162AndPostViewUncheckedUpdateWithoutViewedByInputInput = { + post?: PostUpdateOneRequiredWithoutViewsNestedInputInput; + id?: t.Number; + postId?: t.String; + createdAt?: t.String; +}; +export type PostUpdateOneRequiredWithoutViewsNestedInputInput = { + create?: WithoutInput_60AndPostUncheckedCreateWithoutViewsInputInput; + connectOrCreate?: PostCreateOrConnectWithoutViewsInputInput; + upsert?: PostUpsertWithoutViewsInputInput; + connect?: WhereInput_6AndWhereInput_7; + update?: WithoutInput_164AndPostUncheckedUpdateWithoutViewsInputInput; +}; +export type PostUpsertWithoutViewsInputInput = { + update: WithoutInput_170AndPostUncheckedUpdateWithoutViewsInputInput; + create: WithoutInput_60AndPostUncheckedCreateWithoutViewsInputInput; + where?: PostWhereInputInput; +}; +export type WithoutInput_170AndPostUncheckedUpdateWithoutViewsInputInput = { + user?: UserUpdateOneRequiredWithoutPostsNestedInputInput; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: t.String; + language?: t.String; + stars?: StarUncheckedUpdateManyWithoutPostNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutPostNestedInputInput; +}; +export type ActivityUncheckedUpdateManyWithoutPostNestedInputInput = { + create?: WithoutInput_62AndActivityUncheckedCreateWithoutPostInputInput; + connectOrCreate?: ActivityCreateOrConnectWithoutPostInputInput[]; + upsert?: ActivityUpsertWithWhereUniqueWithoutPostInputInput[]; + createMany?: ActivityCreateManyPostInputEnvelopeInput; + set?: WhereInput_20AndWhereInput_19; + disconnect?: WhereInput_20AndWhereInput_19; + delete?: WhereInput_20AndWhereInput_19; + connect?: WhereInput_20AndWhereInput_19; + update?: ActivityUpdateWithWhereUniqueWithoutPostInputInput[]; + updateMany?: ActivityUpdateManyWithWhereWithoutPostInputInput[]; + deleteMany?: ActivityScalarWhereInputInput[]; +}; +export type ActivityUpsertWithWhereUniqueWithoutPostInputInput = { + where: WhereInput_18AndWhereInput_19; + update: WithoutInput_172AndActivityUncheckedUpdateWithoutPostInputInput; + create: WithoutInput_62AndActivityUncheckedCreateWithoutPostInputInput; +}; +export type WithoutInput_172AndActivityUncheckedUpdateWithoutPostInputInput = { + user?: UserUpdateOneRequiredWithoutActivitiesNestedInputInput; + relatedUser?: UserUpdateOneWithoutRelatedActivitiesNestedInputInput; + id?: t.String; + type?: t.String; + createdAt?: t.String; + userId?: t.String; + relatedUserId?: t.String; +}; +export type UserUpdateOneWithoutRelatedActivitiesNestedInputInput = { + create?: WithoutInput_64AndUserUncheckedCreateWithoutRelatedActivitiesInputInput; + connectOrCreate?: UserCreateOrConnectWithoutRelatedActivitiesInputInput; + upsert?: UserUpsertWithoutRelatedActivitiesInputInput; + disconnect?: t.Boolean; + delete?: t.Boolean; + connect?: WhereInput_27AndWhereInput_28; + update?: WithoutInput_174AndUserUncheckedUpdateWithoutRelatedActivitiesInputInput; +}; +export type UserUpsertWithoutRelatedActivitiesInputInput = { + update: WithoutInput_180AndUserUncheckedUpdateWithoutRelatedActivitiesInputInput; + create: WithoutInput_64AndUserUncheckedCreateWithoutRelatedActivitiesInputInput; + where?: UserWhereInputInput; +}; +export type WithoutInput_180AndUserUncheckedUpdateWithoutRelatedActivitiesInputInput = { + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type UserViewUncheckedUpdateManyWithoutUserNestedInputInput = { + create?: WithoutInput_66AndUserViewUncheckedCreateWithoutUserInputInput; + connectOrCreate?: UserViewCreateOrConnectWithoutUserInputInput[]; + upsert?: UserViewUpsertWithWhereUniqueWithoutUserInputInput[]; + createMany?: UserViewCreateManyUserInputEnvelopeInput; + set?: WhereInput_23AndWhereInput_22; + disconnect?: WhereInput_23AndWhereInput_22; + delete?: WhereInput_23AndWhereInput_22; + connect?: WhereInput_23AndWhereInput_22; + update?: UserViewUpdateWithWhereUniqueWithoutUserInputInput[]; + updateMany?: UserViewUpdateManyWithWhereWithoutUserInputInput[]; + deleteMany?: UserViewScalarWhereInputInput[]; +}; +export type UserViewUpsertWithWhereUniqueWithoutUserInputInput = { + where: WhereInput_21AndWhereInput_22; + update: WithoutInput_182AndUserViewUncheckedUpdateWithoutUserInputInput; + create: WithoutInput_66AndUserViewUncheckedCreateWithoutUserInputInput; +}; +export type WithoutInput_182AndUserViewUncheckedUpdateWithoutUserInputInput = { + viewedBy?: UserUpdateOneRequiredWithoutReceivedUserViewsNestedInputInput; + id?: t.Number; + viewedById?: t.String; + createdAt?: t.String; +}; +export type UserUpdateOneRequiredWithoutReceivedUserViewsNestedInputInput = { + create?: WithoutInput_68AndUserUncheckedCreateWithoutReceivedUserViewsInputInput; + connectOrCreate?: UserCreateOrConnectWithoutReceivedUserViewsInputInput; + upsert?: UserUpsertWithoutReceivedUserViewsInputInput; + connect?: WhereInput_27AndWhereInput_28; + update?: WithoutInput_184AndUserUncheckedUpdateWithoutReceivedUserViewsInputInput; +}; +export type UserUpsertWithoutReceivedUserViewsInputInput = { + update: WithoutInput_190AndUserUncheckedUpdateWithoutReceivedUserViewsInputInput; + create: WithoutInput_68AndUserUncheckedCreateWithoutReceivedUserViewsInputInput; + where?: UserWhereInputInput; +}; +export type WithoutInput_190AndUserUncheckedUpdateWithoutReceivedUserViewsInputInput = { + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type WithoutInput_184AndUserUncheckedUpdateWithoutReceivedUserViewsInputInput = { + where?: UserWhereInputInput; + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + data?: WithoutInput_190AndUserUncheckedUpdateWithoutReceivedUserViewsInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type UserViewUpdateWithWhereUniqueWithoutUserInputInput = { + where: WhereInput_21AndWhereInput_22; + data: WithoutInput_182AndUserViewUncheckedUpdateWithoutUserInputInput; +}; +export type UserViewUpdateManyWithWhereWithoutUserInputInput = { + where: UserViewScalarWhereInputInput; + data: ObjectAndUserViewUncheckedUpdateManyWithoutUserInputInput; +}; +export type UserViewScalarWhereInputInput = { + AND?: UserViewScalarWhereInputInput[]; + OR?: UserViewScalarWhereInputInput[]; + NOT?: UserViewScalarWhereInputInput[]; + id?: t.Number; + userId?: t.String; + viewedById?: t.String; + createdAt?: t.String; +}; +export type ObjectAndUserViewUncheckedUpdateManyWithoutUserInputInput = { + id?: t.Number; + viewedById?: t.String; + createdAt?: t.String; +}; +export type WithoutInput_174AndUserUncheckedUpdateWithoutRelatedActivitiesInputInput = { + where?: UserWhereInputInput; + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + data?: WithoutInput_180AndUserUncheckedUpdateWithoutRelatedActivitiesInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type ActivityUpdateWithWhereUniqueWithoutPostInputInput = { + where: WhereInput_18AndWhereInput_19; + data: WithoutInput_172AndActivityUncheckedUpdateWithoutPostInputInput; +}; +export type ActivityUpdateManyWithWhereWithoutPostInputInput = { + where: ActivityScalarWhereInputInput; + data: ObjectAndActivityUncheckedUpdateManyWithoutPostInputInput; +}; +export type ActivityScalarWhereInputInput = { + AND?: ActivityScalarWhereInputInput[]; + OR?: ActivityScalarWhereInputInput[]; + NOT?: ActivityScalarWhereInputInput[]; + id?: t.String; + type?: EnumActivityTypeFilterInput; + createdAt?: t.String; + userId?: t.String; + postId?: t.String; + relatedUserId?: t.String; +}; +export type ObjectAndActivityUncheckedUpdateManyWithoutPostInputInput = { + id?: t.String; + type?: t.String; + createdAt?: t.String; + userId?: t.String; + relatedUserId?: t.String; +}; +export type WithoutInput_164AndPostUncheckedUpdateWithoutViewsInputInput = { + user?: UserUpdateOneRequiredWithoutPostsNestedInputInput; + where?: PostWhereInputInput; + data?: WithoutInput_170AndPostUncheckedUpdateWithoutViewsInputInput; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: t.String; + language?: t.String; + stars?: StarUncheckedUpdateManyWithoutPostNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutPostNestedInputInput; +}; +export type PostViewUpdateWithWhereUniqueWithoutViewedByInputInput = { + where: WhereInput_24AndWhereInput_25; + data: WithoutInput_162AndPostViewUncheckedUpdateWithoutViewedByInputInput; +}; +export type PostViewUpdateManyWithWhereWithoutViewedByInputInput = { + where: PostViewScalarWhereInputInput; + data: ObjectAndPostViewUncheckedUpdateManyWithoutViewedByInputInput; +}; +export type PostViewScalarWhereInputInput = { + AND?: PostViewScalarWhereInputInput[]; + OR?: PostViewScalarWhereInputInput[]; + NOT?: PostViewScalarWhereInputInput[]; + id?: t.Number; + postId?: t.String; + viewedById?: t.String; + createdAt?: t.String; +}; +export type ObjectAndPostViewUncheckedUpdateManyWithoutViewedByInputInput = { + id?: t.Number; + postId?: t.String; + createdAt?: t.String; +}; +export type WithoutInput_154AndUserUncheckedUpdateWithoutPerformedUserViewsInputInput = { + where?: UserWhereInputInput; + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + data?: WithoutInput_160AndUserUncheckedUpdateWithoutPerformedUserViewsInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type UserViewUpdateWithWhereUniqueWithoutViewedByInputInput = { + where: WhereInput_21AndWhereInput_22; + data: WithoutInput_152AndUserViewUncheckedUpdateWithoutViewedByInputInput; +}; +export type UserViewUpdateManyWithWhereWithoutViewedByInputInput = { + where: UserViewScalarWhereInputInput; + data: ObjectAndUserViewUncheckedUpdateManyWithoutViewedByInputInput; +}; +export type ObjectAndUserViewUncheckedUpdateManyWithoutViewedByInputInput = { + id?: t.Number; + userId?: t.String; + createdAt?: t.String; +}; +export type WithoutInput_144AndUserUncheckedUpdateWithoutActivitiesInputInput = { + where?: UserWhereInputInput; + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + data?: WithoutInput_150AndUserUncheckedUpdateWithoutActivitiesInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type ActivityUpdateWithWhereUniqueWithoutRelatedUserInputInput = { + where: WhereInput_18AndWhereInput_19; + data: WithoutInput_142AndActivityUncheckedUpdateWithoutRelatedUserInputInput; +}; +export type ActivityUpdateManyWithWhereWithoutRelatedUserInputInput = { + where: ActivityScalarWhereInputInput; + data: ObjectAndActivityUncheckedUpdateManyWithoutRelatedUserInputInput; +}; +export type ObjectAndActivityUncheckedUpdateManyWithoutRelatedUserInputInput = { + id?: t.String; + type?: t.String; + createdAt?: t.String; + userId?: t.String; + postId?: t.String; +}; +export type WithoutInput_134AndUserUncheckedUpdateWithoutPerformedPostViewsInputInput = { + where?: UserWhereInputInput; + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + data?: WithoutInput_140AndUserUncheckedUpdateWithoutPerformedPostViewsInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; +}; +export type PostViewUpdateWithWhereUniqueWithoutPostInputInput = { + where: WhereInput_24AndWhereInput_25; + data: WithoutInput_132AndPostViewUncheckedUpdateWithoutPostInputInput; +}; +export type PostViewUpdateManyWithWhereWithoutPostInputInput = { + where: PostViewScalarWhereInputInput; + data: ObjectAndPostViewUncheckedUpdateManyWithoutPostInputInput; +}; +export type ObjectAndPostViewUncheckedUpdateManyWithoutPostInputInput = { + id?: t.Number; + viewedById?: t.String; + createdAt?: t.String; +}; +export type WithoutInput_124AndPostUncheckedUpdateWithoutActivitiesInputInput = { + user?: UserUpdateOneRequiredWithoutPostsNestedInputInput; + where?: PostWhereInputInput; + data?: WithoutInput_130AndPostUncheckedUpdateWithoutActivitiesInputInput; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: t.String; + language?: t.String; + stars?: StarUncheckedUpdateManyWithoutPostNestedInputInput; + views?: PostViewUncheckedUpdateManyWithoutPostNestedInputInput; +}; +export type ActivityUpdateWithWhereUniqueWithoutUserInputInput = { + where: WhereInput_18AndWhereInput_19; + data: WithoutInput_122AndActivityUncheckedUpdateWithoutUserInputInput; +}; +export type ActivityUpdateManyWithWhereWithoutUserInputInput = { + where: ActivityScalarWhereInputInput; + data: ObjectAndActivityUncheckedUpdateManyWithoutUserInputInput; +}; +export type ObjectAndActivityUncheckedUpdateManyWithoutUserInputInput = { + id?: t.String; + type?: t.String; + createdAt?: t.String; + postId?: t.String; + relatedUserId?: t.String; +}; +export type WithoutInput_114AndUserUncheckedUpdateWithoutFollowersInputInput = { + where?: UserWhereInputInput; + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + data?: WithoutInput_120AndUserUncheckedUpdateWithoutFollowersInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type FollowUpdateWithWhereUniqueWithoutFollowerInputInput = { + where: WhereInput_10AndWhereInput_11; + data: WithoutInput_112AndFollowUncheckedUpdateWithoutFollowerInputInput; +}; +export type FollowUpdateManyWithWhereWithoutFollowerInputInput = { + where: FollowScalarWhereInputInput; + data: ObjectAndFollowUncheckedUpdateManyWithoutFollowerInputInput; +}; +export type FollowScalarWhereInputInput = { + AND?: FollowScalarWhereInputInput[]; + OR?: FollowScalarWhereInputInput[]; + NOT?: FollowScalarWhereInputInput[]; + id?: t.String; + followerId?: t.String; + followedId?: t.String; + createdAt?: t.String; +}; +export type ObjectAndFollowUncheckedUpdateManyWithoutFollowerInputInput = { + id?: t.String; + followedId?: t.String; + createdAt?: t.String; +}; +export type WithoutInput_104AndUserUncheckedUpdateWithoutPostsInputInput = { + where?: UserWhereInputInput; + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + data?: WithoutInput_110AndUserUncheckedUpdateWithoutPostsInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type WithoutInput_96AndPostUncheckedUpdateWithoutStarsInputInput = { + user?: UserUpdateOneRequiredWithoutPostsNestedInputInput; + where?: PostWhereInputInput; + data?: WithoutInput_102AndPostUncheckedUpdateWithoutStarsInputInput; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: t.String; + language?: t.String; + activities?: ActivityUncheckedUpdateManyWithoutPostNestedInputInput; + views?: PostViewUncheckedUpdateManyWithoutPostNestedInputInput; +}; +export type StarUpdateWithWhereUniqueWithoutUserInputInput = { + where: WhereInput_14AndWhereInput_15; + data: WithoutInput_94AndStarUncheckedUpdateWithoutUserInputInput; +}; +export type StarUpdateManyWithWhereWithoutUserInputInput = { + where: StarScalarWhereInputInput; + data: ObjectAndStarUncheckedUpdateManyWithoutUserInputInput; +}; +export type StarScalarWhereInputInput = { + AND?: StarScalarWhereInputInput[]; + OR?: StarScalarWhereInputInput[]; + NOT?: StarScalarWhereInputInput[]; + id?: t.String; + postId?: t.String; + userId?: t.String; + createdAt?: t.String; +}; +export type ObjectAndStarUncheckedUpdateManyWithoutUserInputInput = { + id?: t.String; + postId?: t.String; + createdAt?: t.String; +}; +export type WithoutInput_86AndUserUncheckedUpdateWithoutFollowingsInputInput = { + where?: UserWhereInputInput; + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + data?: WithoutInput_92AndUserUncheckedUpdateWithoutFollowingsInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type FollowUpdateWithWhereUniqueWithoutFollowedInputInput = { + where: WhereInput_10AndWhereInput_11; + data: WithoutInput_84AndFollowUncheckedUpdateWithoutFollowedInputInput; +}; +export type FollowUpdateManyWithWhereWithoutFollowedInputInput = { + where: FollowScalarWhereInputInput; + data: ObjectAndFollowUncheckedUpdateManyWithoutFollowedInputInput; +}; +export type ObjectAndFollowUncheckedUpdateManyWithoutFollowedInputInput = { + id?: t.String; + followerId?: t.String; + createdAt?: t.String; +}; +export type WithoutInput_76AndUserUncheckedUpdateWithoutStarredPostsInputInput = { + where?: UserWhereInputInput; + organization?: OrganizationUpdateOneRequiredWithoutUsersNestedInputInput; + data?: WithoutInput_82AndUserUncheckedUpdateWithoutStarredPostsInputInput; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type StarUpdateWithWhereUniqueWithoutPostInputInput = { + where: WhereInput_14AndWhereInput_15; + data: WithoutInput_74AndStarUncheckedUpdateWithoutPostInputInput; +}; +export type StarUpdateManyWithWhereWithoutPostInputInput = { + where: StarScalarWhereInputInput; + data: ObjectAndStarUncheckedUpdateManyWithoutPostInputInput; +}; +export type ObjectAndStarUncheckedUpdateManyWithoutPostInputInput = { + id?: t.String; + userId?: t.String; + createdAt?: t.String; +}; +export type PostUpdateWithWhereUniqueWithoutUserInputInput = { + where: WhereInput_6AndWhereInput_7; + data: ObjectAndPostUncheckedUpdateWithoutUserInputInput; +}; +export type PostUpdateManyWithWhereWithoutUserInputInput = { + where: PostScalarWhereInputInput; + data: ObjectAndPostUncheckedUpdateManyWithoutUserInputInput; +}; +export type PostScalarWhereInputInput = { + AND?: PostScalarWhereInputInput[]; + OR?: PostScalarWhereInputInput[]; + NOT?: PostScalarWhereInputInput[]; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: EnumPrivacyFilterInput; + language?: EnumLanguageFilterInput_1; +}; +export type ObjectAndPostUncheckedUpdateManyWithoutUserInputInput = { + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: t.String; + language?: t.String; +}; +export type OmitInput_21 = { + AND?: UserWhereInputInput[]; + OR?: UserWhereInputInput[]; + NOT?: UserWhereInputInput[]; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + organization?: WithoutInput_14AndOrganizationWhereInputInput; + posts?: PostListRelationFilterInput; + followers?: FollowListRelationFilterInput; + followings?: FollowListRelationFilterInput; + starredPosts?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + relatedActivities?: ActivityListRelationFilterInput; + receivedUserViews?: UserViewListRelationFilterInput; + performedUserViews?: UserViewListRelationFilterInput; + performedPostViews?: PostViewListRelationFilterInput; +}; +export type ConnectionArgumentsInput = { + first?: t.Number; + after?: t.String; + last?: t.Number; + before?: t.String; +}; +export type StarOrderByWithRelationAndSearchRelevanceInputInput = { + id?: SortOrderInput; + postId?: SortOrderInput; + userId?: SortOrderInput; + createdAt?: SortOrderInput; + user?: UserOrderByWithRelationAndSearchRelevanceInputInput; + post?: PostOrderByWithRelationAndSearchRelevanceInputInput; + _relevance?: StarOrderByRelevanceInputInput; +}; +export type PostOrderByWithRelationAndSearchRelevanceInputInput = { + id?: SortOrderInput; + slug?: SortOrderInput; + title?: SortOrderInput; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: SortOrderInput; + createdAt?: SortOrderInput; + updatedAt?: SortOrderInput; + privacy?: SortOrderInput; + language?: SortOrderInput; + user?: UserOrderByWithRelationAndSearchRelevanceInputInput; + stars?: StarOrderByRelationAggregateInputInput; + activities?: ActivityOrderByRelationAggregateInputInput; + views?: PostViewOrderByRelationAggregateInputInput; + _relevance?: PostOrderByRelevanceInputInput; +}; +export type PostOrderByRelevanceInputInput = { + fields: t.String; + sort: SortOrderInput; + search: t.String; +}; +export type StarOrderByRelevanceInputInput = { + fields: t.String; + sort: SortOrderInput; + search: t.String; +}; +export type OmitInput_28 = { + user?: UserCreateNestedOneWithoutPostsInputInput; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + activities?: ActivityUncheckedCreateNestedManyWithoutPostInputInput; + content?: t.String; + summary?: t.String; + title: t.String; + views?: PostViewUncheckedCreateNestedManyWithoutPostInputInput; + userId?: t.String; + slug: t.String; + avatarURL?: t.String; + privacy?: PrivacyInput; + stars?: StarUncheckedCreateNestedManyWithoutPostInputInput; +}; +export type WithoutInputAndPostUncheckedUpdateInputInput = { + user?: UserUpdateOneRequiredWithoutPostsNestedInputInput; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + privacy?: t.String; + language?: t.String; + stars?: StarUncheckedUpdateManyWithoutPostNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutPostNestedInputInput; + views?: PostViewUncheckedUpdateManyWithoutPostNestedInputInput; +}; +export type OmitInput_29 = { + user?: WithoutInput_16AndUserWhereInputInput; + AND?: PostWhereInputInput[]; + OR?: PostWhereInputInput[]; + NOT?: PostWhereInputInput[]; + createdAt?: t.String; + updatedAt?: t.String; + language?: EnumLanguageFilterInput_1; + activities?: ActivityListRelationFilterInput; + content?: t.String; + summary?: t.String; + title?: t.String; + views?: PostViewListRelationFilterInput; + userId?: t.String; + slug?: t.String; + avatarURL?: t.String; + privacy?: EnumPrivacyFilterInput; + stars?: StarListRelationFilterInput; +}; +export type OmitInput_22 = { + user?: UserCreateNestedOneWithoutStarredPostsInputInput; + id?: t.String; + createdAt?: t.String; + userId?: t.String; +}; +export type WithoutInput_4AndStarUncheckedUpdateInputInput = { + user?: UserUpdateOneRequiredWithoutStarredPostsNestedInputInput; + post?: PostUpdateOneWithoutStarsNestedInputInput; + id?: t.String; + postId?: t.String; + userId?: t.String; + createdAt?: t.String; +}; +export type OmitInput_23 = { + user?: WithoutInput_16AndUserWhereInputInput; + AND?: StarWhereInputInput[]; + OR?: StarWhereInputInput[]; + NOT?: StarWhereInputInput[]; + id?: t.String; + createdAt?: t.String; + userId?: t.String; + postId_userId?: StarPostIdUserIdCompoundUniqueInputInput; +}; +export type ActivityOrderByWithRelationAndSearchRelevanceInputInput = { + id?: SortOrderInput; + type?: SortOrderInput; + createdAt?: SortOrderInput; + userId?: SortOrderInput; + postId?: t.String; + relatedUserId?: t.String; + user?: UserOrderByWithRelationAndSearchRelevanceInputInput; + post?: PostOrderByWithRelationAndSearchRelevanceInputInput; + relatedUser?: UserOrderByWithRelationAndSearchRelevanceInputInput; + _relevance?: ActivityOrderByRelevanceInputInput; +}; +export type ActivityOrderByRelevanceInputInput = { + fields: t.String; + sort: SortOrderInput; + search: t.String; +}; +export type OmitInput_24 = { + user?: UserCreateNestedOneWithoutActivitiesInputInput; + id?: t.String; + createdAt?: t.String; + userId?: t.String; + type: ActivityTypeInput; + relatedUser?: UserCreateNestedOneWithoutRelatedActivitiesInputInput; + relatedUserId?: t.String; +}; +export type WithoutInput_6AndActivityUncheckedUpdateInputInput = { + user?: UserUpdateOneRequiredWithoutActivitiesNestedInputInput; + post?: PostUpdateOneWithoutActivitiesNestedInputInput; + relatedUser?: UserUpdateOneWithoutRelatedActivitiesNestedInputInput; + id?: t.String; + type?: t.String; + createdAt?: t.String; + userId?: t.String; + postId?: t.String; + relatedUserId?: t.String; +}; +export type OmitInput_25 = { + user?: WithoutInput_16AndUserWhereInputInput; + AND?: ActivityWhereInputInput[]; + OR?: ActivityWhereInputInput[]; + NOT?: ActivityWhereInputInput[]; + id?: t.String; + createdAt?: t.String; + userId?: t.String; + type?: EnumActivityTypeFilterInput; + relatedUser?: WithoutInput_20AndUserWhereInputInput; + relatedUserId?: t.String; +}; +export type PostViewOrderByWithRelationAndSearchRelevanceInputInput = { + id?: SortOrderInput; + postId?: SortOrderInput; + viewedById?: SortOrderInput; + createdAt?: SortOrderInput; + post?: PostOrderByWithRelationAndSearchRelevanceInputInput; + viewedBy?: UserOrderByWithRelationAndSearchRelevanceInputInput; + _relevance?: PostViewOrderByRelevanceInputInput; +}; +export type PostViewOrderByRelevanceInputInput = { + fields: t.String; + sort: SortOrderInput; + search: t.String; +}; +export type OmitInput_26 = { + id?: t.Number; + createdAt?: t.String; + viewedBy?: UserCreateNestedOneWithoutPerformedPostViewsInputInput; + viewedById?: t.String; +}; +export type WithoutInput_10AndPostViewUncheckedUpdateInputInput = { + post?: PostUpdateOneRequiredWithoutViewsNestedInputInput; + viewedBy?: UserUpdateOneRequiredWithoutPerformedPostViewsNestedInputInput; + id?: t.Number; + postId?: t.String; + viewedById?: t.String; + createdAt?: t.String; +}; +export type OmitInput_27 = { + AND?: PostViewWhereInputInput[]; + OR?: PostViewWhereInputInput[]; + NOT?: PostViewWhereInputInput[]; + id?: t.Number; + createdAt?: t.String; + viewedBy?: WithoutInput_16AndUserWhereInputInput; + viewedById?: t.String; +}; +export type OmitInput_30 = { + id: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + posts?: PostUncheckedCreateNestedManyWithoutUserInputInput; + followers?: FollowUncheckedCreateNestedManyWithoutFollowedInputInput; + followings?: FollowUncheckedCreateNestedManyWithoutFollowerInputInput; + starredPosts?: StarUncheckedCreateNestedManyWithoutUserInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutUserInputInput; + relatedActivities?: ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput; + receivedUserViews?: UserViewUncheckedCreateNestedManyWithoutViewedByInputInput; + performedUserViews?: UserViewUncheckedCreateNestedManyWithoutUserInputInput; + performedPostViews?: PostViewUncheckedCreateNestedManyWithoutViewedByInputInput; +}; +export type OmitInput_31 = { + AND?: UserWhereInputInput[]; + OR?: UserWhereInputInput[]; + NOT?: UserWhereInputInput[]; + id?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostListRelationFilterInput; + followers?: FollowListRelationFilterInput; + followings?: FollowListRelationFilterInput; + starredPosts?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + relatedActivities?: ActivityListRelationFilterInput; + receivedUserViews?: UserViewListRelationFilterInput; + performedUserViews?: UserViewListRelationFilterInput; + performedPostViews?: PostViewListRelationFilterInput; +}; +export type OmitInput = { + users?: UserUncheckedCreateNestedManyWithoutOrganizationInputInput; +}; +export type UserUncheckedCreateNestedManyWithoutOrganizationInputInput = { + create?: ObjectAndUserUncheckedCreateWithoutOrganizationInputInput; + connectOrCreate?: UserCreateOrConnectWithoutOrganizationInputInput[]; + createMany?: UserCreateManyOrganizationInputEnvelopeInput; + connect?: WhereInput_29AndWhereInput_28; +}; +export type ObjectAndUserUncheckedCreateWithoutOrganizationInputInput = { + id: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + posts?: PostUncheckedCreateNestedManyWithoutUserInputInput; + followers?: FollowUncheckedCreateNestedManyWithoutFollowedInputInput; + followings?: FollowUncheckedCreateNestedManyWithoutFollowerInputInput; + starredPosts?: StarUncheckedCreateNestedManyWithoutUserInputInput; + activities?: ActivityUncheckedCreateNestedManyWithoutUserInputInput; + relatedActivities?: ActivityUncheckedCreateNestedManyWithoutRelatedUserInputInput; + receivedUserViews?: UserViewUncheckedCreateNestedManyWithoutViewedByInputInput; + performedUserViews?: UserViewUncheckedCreateNestedManyWithoutUserInputInput; + performedPostViews?: PostViewUncheckedCreateNestedManyWithoutViewedByInputInput; +}; +export type UserCreateOrConnectWithoutOrganizationInputInput = { + where: WhereInput_27AndWhereInput_28; + create: ObjectAndUserUncheckedCreateWithoutOrganizationInputInput; +}; +export type UserCreateManyOrganizationInputEnvelopeInput = { + data?: UserCreateManyOrganizationInputInput[]; + skipDuplicates?: t.Boolean; +}; +export type UserCreateManyOrganizationInputInput = { + id: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; +}; +export type WhereInput_29AndWhereInput_28 = { + id?: t.String; + AND?: UserWhereInputInput[]; + OR?: UserWhereInputInput[]; + NOT?: UserWhereInputInput[]; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + organization?: WithoutInput_14AndOrganizationWhereInputInput; + posts?: PostListRelationFilterInput; + followers?: FollowListRelationFilterInput; + followings?: FollowListRelationFilterInput; + starredPosts?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + relatedActivities?: ActivityListRelationFilterInput; + receivedUserViews?: UserViewListRelationFilterInput; + performedUserViews?: UserViewListRelationFilterInput; + performedPostViews?: PostViewListRelationFilterInput; +}; +export type ObjectAndOrganizationUncheckedUpdateInputInput = { + id?: t.String; + users?: UserUncheckedUpdateManyWithoutOrganizationNestedInputInput; +}; +export type UserUncheckedUpdateManyWithoutOrganizationNestedInputInput = { + create?: ObjectAndUserUncheckedCreateWithoutOrganizationInputInput; + connectOrCreate?: UserCreateOrConnectWithoutOrganizationInputInput[]; + upsert?: UserUpsertWithWhereUniqueWithoutOrganizationInputInput[]; + createMany?: UserCreateManyOrganizationInputEnvelopeInput; + set?: WhereInput_29AndWhereInput_28; + disconnect?: WhereInput_29AndWhereInput_28; + delete?: WhereInput_29AndWhereInput_28; + connect?: WhereInput_29AndWhereInput_28; + update?: UserUpdateWithWhereUniqueWithoutOrganizationInputInput[]; + updateMany?: UserUpdateManyWithWhereWithoutOrganizationInputInput[]; + deleteMany?: UserScalarWhereInputInput[]; +}; +export type UserUpsertWithWhereUniqueWithoutOrganizationInputInput = { + where: WhereInput_27AndWhereInput_28; + update: ObjectAndUserUncheckedUpdateWithoutOrganizationInputInput; + create: ObjectAndUserUncheckedCreateWithoutOrganizationInputInput; +}; +export type ObjectAndUserUncheckedUpdateWithoutOrganizationInputInput = { + id?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; + posts?: PostUncheckedUpdateManyWithoutUserNestedInputInput; + followers?: FollowUncheckedUpdateManyWithoutFollowedNestedInputInput; + followings?: FollowUncheckedUpdateManyWithoutFollowerNestedInputInput; + starredPosts?: StarUncheckedUpdateManyWithoutUserNestedInputInput; + activities?: ActivityUncheckedUpdateManyWithoutUserNestedInputInput; + relatedActivities?: ActivityUncheckedUpdateManyWithoutRelatedUserNestedInputInput; + receivedUserViews?: UserViewUncheckedUpdateManyWithoutViewedByNestedInputInput; + performedUserViews?: UserViewUncheckedUpdateManyWithoutUserNestedInputInput; + performedPostViews?: PostViewUncheckedUpdateManyWithoutViewedByNestedInputInput; +}; +export type UserUpdateWithWhereUniqueWithoutOrganizationInputInput = { + where: WhereInput_27AndWhereInput_28; + data: ObjectAndUserUncheckedUpdateWithoutOrganizationInputInput; +}; +export type UserUpdateManyWithWhereWithoutOrganizationInputInput = { + where: UserScalarWhereInputInput; + data: ObjectAndUserUncheckedUpdateManyWithoutOrganizationInputInput; +}; +export type UserScalarWhereInputInput = { + AND?: UserScalarWhereInputInput[]; + OR?: UserScalarWhereInputInput[]; + NOT?: UserScalarWhereInputInput[]; + id?: t.String; + organizationId?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; +}; +export type ObjectAndUserUncheckedUpdateManyWithoutOrganizationInputInput = { + id?: t.String; + bio?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: t.String; +}; +export type OmitInput_1 = { + AND?: OrganizationWhereInputInput[]; + OR?: OrganizationWhereInputInput[]; + NOT?: OrganizationWhereInputInput[]; + users?: UserListRelationFilterInput; +}; +export type PostWhereInputInputAndWhereInput = { + AND?: PostWhereInputInput[]; + OR?: PostWhereInputInput[]; + NOT?: PostWhereInputInput[]; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: StringAndCreatedAtInput; + updatedAt?: t.String; + privacy?: EnumPrivacyFilterInput; + language?: EnumLanguageFilterInput_1; + user?: WithoutInput_16AndUserWhereInputInput; + stars?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + views?: PostViewListRelationFilterInput; +}; +export type StringAndCreatedAtInput = { + gte?: t.String; + lte?: t.String; +}; +export type OmitInput_2 = { + id?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: LanguageInput; + activities?: ActivityUncheckedCreateNestedManyWithoutPostInputInput; + content?: t.String; + summary?: t.String; + title: t.String; + views?: PostViewUncheckedCreateNestedManyWithoutPostInputInput; + slug: t.String; + avatarURL?: t.String; + privacy?: PrivacyInput; + stars?: StarUncheckedCreateNestedManyWithoutPostInputInput; +}; +export type OmitInput_3 = { + AND?: PostWhereInputInput[]; + OR?: PostWhereInputInput[]; + NOT?: PostWhereInputInput[]; + id?: t.String; + createdAt?: t.String; + updatedAt?: t.String; + language?: EnumLanguageFilterInput_1; + activities?: ActivityListRelationFilterInput; + content?: t.String; + summary?: t.String; + title?: t.String; + views?: PostViewListRelationFilterInput; + slug?: t.String; + avatarURL?: t.String; + privacy?: EnumPrivacyFilterInput; + stars?: StarListRelationFilterInput; +}; +export type FollowOrderByWithRelationAndSearchRelevanceInputInput = { + id?: SortOrderInput; + followerId?: SortOrderInput; + followedId?: SortOrderInput; + createdAt?: SortOrderInput; + follower?: UserOrderByWithRelationAndSearchRelevanceInputInput; + followed?: UserOrderByWithRelationAndSearchRelevanceInputInput; + _relevance?: FollowOrderByRelevanceInputInput; +}; +export type FollowOrderByRelevanceInputInput = { + fields: t.String; + sort: SortOrderInput; + search: t.String; +}; +export type OmitInput_4 = { + id?: t.String; + createdAt?: t.String; + follower?: UserCreateNestedOneWithoutFollowingsInputInput; + followerId?: t.String; +}; +export type WithoutInput_2AndFollowUncheckedUpdateInputInput = { + follower?: UserUpdateOneRequiredWithoutFollowingsNestedInputInput; + followed?: UserUpdateOneRequiredWithoutFollowersNestedInputInput; + id?: t.String; + followerId?: t.String; + followedId?: t.String; + createdAt?: t.String; +}; +export type OmitInput_5 = { + AND?: FollowWhereInputInput[]; + OR?: FollowWhereInputInput[]; + NOT?: FollowWhereInputInput[]; + id?: t.String; + createdAt?: t.String; + follower?: WithoutInput_16AndUserWhereInputInput; + followerId?: t.String; + followerId_followedId?: FollowFollowerIdFollowedIdCompoundUniqueInputInput; +}; +export type OmitInput_6 = { + id?: t.String; + createdAt?: t.String; + followedId?: t.String; + followed?: UserCreateNestedOneWithoutFollowersInputInput; +}; +export type OmitInput_7 = { + AND?: FollowWhereInputInput[]; + OR?: FollowWhereInputInput[]; + NOT?: FollowWhereInputInput[]; + id?: t.String; + createdAt?: t.String; + followerId_followedId?: FollowFollowerIdFollowedIdCompoundUniqueInputInput; + followedId?: t.String; + followed?: WithoutInput_16AndUserWhereInputInput; +}; +export type OmitInput_8 = { + post?: PostCreateNestedOneWithoutStarsInputInput; + id?: t.String; + createdAt?: t.String; + postId?: t.String; +}; +export type OmitInput_9 = { + post?: WithoutInput_18AndPostWhereInputInput; + AND?: StarWhereInputInput[]; + OR?: StarWhereInputInput[]; + NOT?: StarWhereInputInput[]; + id?: t.String; + createdAt?: t.String; + postId?: t.String; + postId_userId?: StarPostIdUserIdCompoundUniqueInputInput; +}; +export type OmitInput_10 = { + post?: PostCreateNestedOneWithoutActivitiesInputInput; + id?: t.String; + createdAt?: t.String; + postId?: t.String; + type: ActivityTypeInput; + relatedUser?: UserCreateNestedOneWithoutRelatedActivitiesInputInput; + relatedUserId?: t.String; +}; +export type OmitInput_11 = { + post?: WithoutInput_18AndPostWhereInputInput; + AND?: ActivityWhereInputInput[]; + OR?: ActivityWhereInputInput[]; + NOT?: ActivityWhereInputInput[]; + id?: t.String; + createdAt?: t.String; + postId?: t.String; + type?: EnumActivityTypeFilterInput; + relatedUser?: WithoutInput_20AndUserWhereInputInput; + relatedUserId?: t.String; +}; +export type OmitInput_12 = { + user?: UserCreateNestedOneWithoutActivitiesInputInput; + post?: PostCreateNestedOneWithoutActivitiesInputInput; + id?: t.String; + createdAt?: t.String; + postId?: t.String; + userId?: t.String; + type: ActivityTypeInput; +}; +export type OmitInput_13 = { + user?: WithoutInput_16AndUserWhereInputInput; + post?: WithoutInput_18AndPostWhereInputInput; + AND?: ActivityWhereInputInput[]; + OR?: ActivityWhereInputInput[]; + NOT?: ActivityWhereInputInput[]; + id?: t.String; + createdAt?: t.String; + postId?: t.String; + userId?: t.String; + type?: EnumActivityTypeFilterInput; +}; +export type UserViewOrderByWithRelationAndSearchRelevanceInputInput = { + id?: SortOrderInput; + userId?: SortOrderInput; + viewedById?: SortOrderInput; + createdAt?: SortOrderInput; + user?: UserOrderByWithRelationAndSearchRelevanceInputInput; + viewedBy?: UserOrderByWithRelationAndSearchRelevanceInputInput; + _relevance?: UserViewOrderByRelevanceInputInput; +}; +export type UserViewOrderByRelevanceInputInput = { + fields: t.String; + sort: SortOrderInput; + search: t.String; +}; +export type OmitInput_14 = { + user?: UserCreateNestedOneWithoutPerformedUserViewsInputInput; + id?: t.Number; + createdAt?: t.String; + userId?: t.String; +}; +export type WithoutInput_8AndUserViewUncheckedUpdateInputInput = { + user?: UserUpdateOneRequiredWithoutPerformedUserViewsNestedInputInput; + viewedBy?: UserUpdateOneRequiredWithoutReceivedUserViewsNestedInputInput; + id?: t.Number; + userId?: t.String; + viewedById?: t.String; + createdAt?: t.String; +}; +export type OmitInput_15 = { + user?: WithoutInput_16AndUserWhereInputInput; + AND?: UserViewWhereInputInput[]; + OR?: UserViewWhereInputInput[]; + NOT?: UserViewWhereInputInput[]; + id?: t.Number; + createdAt?: t.String; + userId?: t.String; +}; +export type OmitInput_16 = { + id?: t.Number; + createdAt?: t.String; + viewedBy?: UserCreateNestedOneWithoutReceivedUserViewsInputInput; + viewedById?: t.String; +}; +export type OmitInput_17 = { + AND?: UserViewWhereInputInput[]; + OR?: UserViewWhereInputInput[]; + NOT?: UserViewWhereInputInput[]; + id?: t.Number; + createdAt?: t.String; + viewedBy?: WithoutInput_16AndUserWhereInputInput; + viewedById?: t.String; +}; +export type OmitInput_18 = { + post?: PostCreateNestedOneWithoutViewsInputInput; + id?: t.Number; + createdAt?: t.String; + postId?: t.String; +}; +export type OmitInput_19 = { + post?: WithoutInput_22AndPostWhereInputInput; + AND?: PostViewWhereInputInput[]; + OR?: PostViewWhereInputInput[]; + NOT?: PostViewWhereInputInput[]; + id?: t.Number; + createdAt?: t.String; + postId?: t.String; +}; +export type PostWhereInputInputAndWhereInputAndWhereInput_1 = { + AND?: PostWhereInputInput[]; + OR?: PostWhereInputInput[]; + NOT?: PostWhereInputInput[]; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: StringAndCreatedAtInputAndCreatedAtInput_1; + updatedAt?: t.String; + privacy?: EnumPrivacyFilterInput; + language?: EnumLanguageFilterInput_1; + user?: WithoutInput_16AndUserWhereInputInput; + stars?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + views?: PostViewListRelationFilterInput; +}; +export type StringAndCreatedAtInputAndCreatedAtInput_1 = { + gte?: t.String; + lte?: t.String; +}; +export type PostWhereInputInputAndWhereInputAndWhereInput_2 = { + AND?: PostWhereInputInput[]; + OR?: PostWhereInputInput[]; + NOT?: PostWhereInputInput[]; + id?: t.String; + slug?: t.String; + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + userId?: t.String; + createdAt?: StringAndCreatedAtInputAndCreatedAtInput_2; + updatedAt?: t.String; + privacy?: EnumPrivacyFilterInput; + language?: EnumLanguageFilterInput_1; + user?: WithoutInput_16AndUserWhereInputInput; + stars?: StarListRelationFilterInput; + activities?: ActivityListRelationFilterInput; + views?: PostViewListRelationFilterInput; +}; +export type StringAndCreatedAtInputAndCreatedAtInput_2 = { + gte?: t.String; + lte?: t.String; +}; +export type ValuesInput = { + language?: LanguageInput; + bio?: t.String; +}; +export type ValuesInput_1 = { + title: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + privacy?: PrivacyInput; + language?: LanguageInput; +}; +export type ValuesInput_2 = { + title?: t.String; + avatarURL?: t.String; + summary?: t.String; + content?: t.String; + privacy?: PrivacyInput; + language?: LanguageInput; +}; + +export class Query { + __typename: t.String; + search: (args: { + query: t.String; + }) => Search; + me: User; + user: (args?: { + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => User; + userByUserName: (args: { + userName: t.String; + }) => User; + allUser: (args?: { + pagination?: ConnectionArgumentsInput; + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection; + post: (args?: { + where?: PostWhereInputInput; + orderBy?: PostOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Post; + allPost: (args?: { + query?: t.String; + pagination?: ConnectionArgumentsInput; + where?: PostWhereInputInputAndWhereInputAndWhereInput_1; + orderBy?: PostOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_1; + allTrendingPost: (args?: { + pagination?: ConnectionArgumentsInput; + where?: PostWhereInputInputAndWhereInputAndWhereInput_2; + }) => Connection_1; + version: t.String; + constructor() { this.__typename = ""; this.search = fnProxy(Search); this.me = proxy(User); this.user = fnProxy(User); this.userByUserName = fnProxy(User); this.allUser = fnProxy(Connection); this.post = fnProxy(Post); this.allPost = fnProxy(Connection_1); this.allTrendingPost = fnProxy(Connection_1); this.version = ""; } +} +export class Search { + __typename: t.String; + users: t.Nullable; + posts: t.Nullable; + constructor() { this.__typename = ""; this.users = proxy(Connection); this.posts = proxy(Connection_1); } +} +export class Connection { + __typename: t.String; + nodes: User[]; + edges: Edge[]; + pageInfo: PageInfo; + totalCount: t.Number; + constructor() { this.__typename = ""; this.nodes = arrayProxy(User); this.edges = arrayProxy(Edge); this.pageInfo = proxy(PageInfo); this.totalCount = null; } +} +export class User { + __typename: t.String; + profile: Profile; + featuredPosts: Connection_1; + isFollowed: t.Boolean; + id: t.String; + organization: (args?: { + where?: OrganizationWhereInputInput; + orderBy?: OrganizationOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Organization; + posts: (args?: { + pagination?: ConnectionArgumentsInput; + where?: PostWhereInputInputAndWhereInput; + orderBy?: PostOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_1; + post: (args?: { + where?: PostWhereInputInput; + }) => Post; + followers: (args?: { + pagination?: ConnectionArgumentsInput; + where?: FollowWhereInputInput; + orderBy?: FollowOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_2; + follower: (args?: { + where?: FollowWhereInputInput; + }) => Follow; + followings: (args?: { + pagination?: ConnectionArgumentsInput; + where?: FollowWhereInputInput; + orderBy?: FollowOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_2; + following: (args?: { + where?: FollowWhereInputInput; + }) => Follow; + starredPosts: (args?: { + pagination?: ConnectionArgumentsInput; + where?: StarWhereInputInput; + orderBy?: StarOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_3; + starredPost: (args?: { + where?: StarWhereInputInput; + }) => Star; + bio: t.Nullable; + createdAt: t.Date; + updatedAt: t.Date; + activities: (args?: { + pagination?: ConnectionArgumentsInput; + where?: ActivityWhereInputInput; + orderBy?: ActivityOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_4; + activitie: (args?: { + where?: ActivityWhereInputInput; + }) => Activity; + relatedActivities: (args?: { + pagination?: ConnectionArgumentsInput; + where?: ActivityWhereInputInput; + orderBy?: ActivityOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_4; + relatedActivitie: (args?: { + where?: ActivityWhereInputInput; + }) => Activity; + language: t.Nullable; + receivedUserViews: (args?: { + pagination?: ConnectionArgumentsInput; + where?: UserViewWhereInputInput; + orderBy?: UserViewOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_5; + receivedUserView: (args?: { + where?: UserViewWhereInputInput; + }) => UserView; + performedUserViews: (args?: { + pagination?: ConnectionArgumentsInput; + where?: UserViewWhereInputInput; + orderBy?: UserViewOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_5; + performedUserView: (args?: { + where?: UserViewWhereInputInput; + }) => UserView; + performedPostViews: (args?: { + pagination?: ConnectionArgumentsInput; + where?: PostViewWhereInputInput; + orderBy?: PostViewOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_6; + performedPostView: (args?: { + where?: PostViewWhereInputInput; + }) => PostView; + constructor() { this.__typename = ""; this.profile = proxy(Profile); this.featuredPosts = proxy(Connection_1); this.isFollowed = false; this.id = ""; this.organization = fnProxy(Organization); this.posts = fnProxy(Connection_1); this.post = fnProxy(Post); this.followers = fnProxy(Connection_2); this.follower = fnProxy(Follow); this.followings = fnProxy(Connection_2); this.following = fnProxy(Follow); this.starredPosts = fnProxy(Connection_3); this.starredPost = fnProxy(Star); this.bio = null; this.createdAt = ""; this.updatedAt = ""; this.activities = fnProxy(Connection_4); this.activitie = fnProxy(Activity); this.relatedActivities = fnProxy(Connection_4); this.relatedActivitie = fnProxy(Activity); this.language = null; this.receivedUserViews = fnProxy(Connection_5); this.receivedUserView = fnProxy(UserView); this.performedUserViews = fnProxy(Connection_5); this.performedUserView = fnProxy(UserView); this.performedPostViews = fnProxy(Connection_6); this.performedPostView = fnProxy(PostView); } +} +export class Profile { + __typename: t.String; + state: t.Nullable; + userName: t.String; + firstName: t.String; + lastName: t.String; + nickName: t.Nullable; + displayName: t.String; + preferredLanguage: t.String; + email: t.String; + avatarUrl: t.Nullable; + constructor() { this.__typename = ""; this.state = null; this.userName = ""; this.firstName = ""; this.lastName = ""; this.nickName = null; this.displayName = ""; this.preferredLanguage = ""; this.email = ""; this.avatarUrl = null; } +} +export class Connection_1 { + __typename: t.String; + nodes: Post[]; + edges: Edge_1[]; + pageInfo: PageInfo; + totalCount: t.Number; + constructor() { this.__typename = ""; this.nodes = arrayProxy(Post); this.edges = arrayProxy(Edge_1); this.pageInfo = proxy(PageInfo); this.totalCount = null; } +} +export class Post { + __typename: t.String; + matchingQuery: (args: { + query: t.String; + }) => t.Nullable; + hasStarred: t.Nullable; + isOwner: t.Boolean; + id: t.String; + slug: t.String; + title: t.String; + avatarURL: t.Nullable; + summary: t.Nullable; + content: t.Nullable; + user: (args?: { + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => User; + stars: (args?: { + pagination?: ConnectionArgumentsInput; + where?: StarWhereInputInput; + orderBy?: StarOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_3; + star: (args?: { + where?: StarWhereInputInput; + }) => Star; + createdAt: t.Date; + updatedAt: t.Date; + privacy: t.Nullable; + activities: (args?: { + pagination?: ConnectionArgumentsInput; + where?: ActivityWhereInputInput; + orderBy?: ActivityOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_4; + activitie: (args?: { + where?: ActivityWhereInputInput; + }) => Activity; + views: (args?: { + pagination?: ConnectionArgumentsInput; + where?: PostViewWhereInputInput; + orderBy?: PostViewOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection_6; + view: (args?: { + where?: PostViewWhereInputInput; + }) => PostView; + language: t.Nullable; + constructor() { this.__typename = ""; this.matchingQuery = () => null; this.hasStarred = null; this.isOwner = false; this.id = ""; this.slug = ""; this.title = ""; this.avatarURL = null; this.summary = null; this.content = null; this.user = fnProxy(User); this.stars = fnProxy(Connection_3); this.star = fnProxy(Star); this.createdAt = ""; this.updatedAt = ""; this.privacy = null; this.activities = fnProxy(Connection_4); this.activitie = fnProxy(Activity); this.views = fnProxy(Connection_6); this.view = fnProxy(PostView); this.language = null; } +} +export class Connection_3 { + __typename: t.String; + nodes: Star[]; + edges: Edge_2[]; + pageInfo: PageInfo; + totalCount: t.Number; + constructor() { this.__typename = ""; this.nodes = arrayProxy(Star); this.edges = arrayProxy(Edge_2); this.pageInfo = proxy(PageInfo); this.totalCount = null; } +} +export class Star { + __typename: t.String; + id: t.String; + user: (args?: { + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => User; + post: (args?: { + where?: PostWhereInputInput; + orderBy?: PostOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => t.Nullable; + createdAt: t.Date; + constructor() { this.__typename = ""; this.id = ""; this.user = fnProxy(User); this.post = fnProxy(Post); this.createdAt = ""; } +} +export class Edge_2 { + __typename: t.String; + cursor: t.String; + node: Star; + constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(Star); } +} +export class PageInfo { + __typename: t.String; + hasNextPage: t.Boolean; + hasPreviousPage: t.Boolean; + startCursor: t.Nullable; + endCursor: t.Nullable; + constructor() { this.__typename = ""; this.hasNextPage = false; this.hasPreviousPage = false; this.startCursor = null; this.endCursor = null; } +} +export class Connection_4 { + __typename: t.String; + nodes: Activity[]; + edges: Edge_3[]; + pageInfo: PageInfo; + totalCount: t.Number; + constructor() { this.__typename = ""; this.nodes = arrayProxy(Activity); this.edges = arrayProxy(Edge_3); this.pageInfo = proxy(PageInfo); this.totalCount = null; } +} +export class Activity { + __typename: t.String; + id: t.String; + type: t.Nullable; + createdAt: t.Date; + user: (args?: { + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => User; + post: (args?: { + where?: PostWhereInputInput; + orderBy?: PostOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => t.Nullable; + relatedUser: (args?: { + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => t.Nullable; + constructor() { this.__typename = ""; this.id = ""; this.type = null; this.createdAt = ""; this.user = fnProxy(User); this.post = fnProxy(Post); this.relatedUser = fnProxy(User); } +} +export class Edge_3 { + __typename: t.String; + cursor: t.String; + node: Activity; + constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(Activity); } +} +export class Connection_6 { + __typename: t.String; + nodes: PostView[]; + edges: Edge_4[]; + pageInfo: PageInfo; + totalCount: t.Number; + constructor() { this.__typename = ""; this.nodes = arrayProxy(PostView); this.edges = arrayProxy(Edge_4); this.pageInfo = proxy(PageInfo); this.totalCount = null; } +} +export class PostView { + __typename: t.String; + id: t.Number; + post: (args?: { + where?: PostWhereInputInput; + orderBy?: PostOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Post; + viewedBy: (args?: { + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => User; + createdAt: t.Date; + constructor() { this.__typename = ""; this.id = null; this.post = fnProxy(Post); this.viewedBy = fnProxy(User); this.createdAt = ""; } +} +export class Edge_4 { + __typename: t.String; + cursor: t.String; + node: PostView; + constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(PostView); } +} +export class Edge_1 { + __typename: t.String; + cursor: t.String; + node: Post; + constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(Post); } +} +export class Organization { + __typename: t.String; + id: t.String; + users: (args?: { + pagination?: ConnectionArgumentsInput; + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => Connection; + user: (args?: { + where?: UserWhereInputInput; + }) => User; + constructor() { this.__typename = ""; this.id = ""; this.users = fnProxy(Connection); this.user = fnProxy(User); } +} +export class Connection_2 { + __typename: t.String; + nodes: Follow[]; + edges: Edge_5[]; + pageInfo: PageInfo; + totalCount: t.Number; + constructor() { this.__typename = ""; this.nodes = arrayProxy(Follow); this.edges = arrayProxy(Edge_5); this.pageInfo = proxy(PageInfo); this.totalCount = null; } +} +export class Follow { + __typename: t.String; + id: t.String; + follower: (args?: { + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => User; + followed: (args?: { + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => User; + createdAt: t.Date; + constructor() { this.__typename = ""; this.id = ""; this.follower = fnProxy(User); this.followed = fnProxy(User); this.createdAt = ""; } +} +export class Edge_5 { + __typename: t.String; + cursor: t.String; + node: Follow; + constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(Follow); } +} +export class Connection_5 { + __typename: t.String; + nodes: UserView[]; + edges: Edge_6[]; + pageInfo: PageInfo; + totalCount: t.Number; + constructor() { this.__typename = ""; this.nodes = arrayProxy(UserView); this.edges = arrayProxy(Edge_6); this.pageInfo = proxy(PageInfo); this.totalCount = null; } +} +export class UserView { + __typename: t.String; + id: t.Number; + user: (args?: { + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => User; + viewedBy: (args?: { + where?: UserWhereInputInput; + orderBy?: UserOrderByWithRelationAndSearchRelevanceInputInput[]; + }) => User; + createdAt: t.Date; + constructor() { this.__typename = ""; this.id = null; this.user = fnProxy(User); this.viewedBy = fnProxy(User); this.createdAt = ""; } +} +export class Edge_6 { + __typename: t.String; + cursor: t.String; + node: UserView; + constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(UserView); } +} +export class Edge { + __typename: t.String; + cursor: t.String; + node: User; + constructor() { this.__typename = ""; this.cursor = ""; this.node = proxy(User); } +} +export class Mutation { + __typename: t.String; + userUpdate: (args: { + id: t.String; + values: ValuesInput; + }) => User; + userFollow: (args: { + followedId: t.String; + }) => Follow; + userUnfollow: (args: { + followedId: t.String; + }) => Follow; + postCreate: (args: { + values: ValuesInput_1; + }) => Post; + postUpdate: (args: { + id: t.String; + values: ValuesInput_2; + }) => Post; + postDelete: (args: { + id: t.String; + }) => Post; + postStar: (args: { + postId: t.String; + }) => Star; + postUnstar: (args: { + postId: t.String; + }) => Star; + constructor() { this.__typename = ""; this.userUpdate = fnProxy(User); this.userFollow = fnProxy(Follow); this.userUnfollow = fnProxy(Follow); this.postCreate = fnProxy(Post); this.postUpdate = fnProxy(Post); this.postDelete = fnProxy(Post); this.postStar = fnProxy(Star); this.postUnstar = fnProxy(Star); } +} + diff --git a/src/components/AltHamburgerMenuIcon.tsx b/src/components/AltHamburgerMenuIcon.tsx new file mode 100644 index 0000000..ffc0d25 --- /dev/null +++ b/src/components/AltHamburgerMenuIcon.tsx @@ -0,0 +1,90 @@ +import {Box, BoxProps} from '@chakra-ui/react' +import {FC, useState} from 'react' + +export type THamburgerMenuIconStylerProps = BoxProps + +interface IHamburgerMenuIconProps { + handleClick?: (isOpen: boolean) => void + wrapperProps?: BoxProps + iconProps?: BoxProps +} + +/** + * Component for a reactive hamburger icon. + */ +const HamburgerMenuIcon: FC = ({ + handleClick, + wrapperProps, + iconProps +}) => { + const props = { + __css: { + '&.open': { + '& > div:nth-of-type(1)': { + top: '50%', + transform: 'rotate(45deg)' + }, + '& > div:nth-of-type(2)': { + opacity: 0 + }, + '& > div:nth-of-type(3)': { + top: '50%', + transform: 'rotate(-45deg)' + } + }, + '& > div': { + transition: + 'transform 0.2s cubic-bezier(0.68, 0, 0.27, 1), opacity 0.2s cubic-bezier(0.68, 0, 0.27, 1), top 0.2s cubic-bezier(0.68, 0, 0.27, 1), background-color 0.2s cubic-bezier(0.68, 0, 0.27, 1)' + }, + ...wrapperProps?.__css + }, + ...wrapperProps + } + + return ( + + + + + + ) +} + +export default HamburgerMenuIcon diff --git a/src/components/AppLayout.tsx b/src/components/AppLayout.tsx deleted file mode 100644 index a6ba831..0000000 --- a/src/components/AppLayout.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import React, { FC, useMemo } from 'react'; -import Navigation from './Navigation/Navigation'; -import { Box, Flex, useDisclosure } from '@chakra-ui/react'; -import Footer from './Footer'; -import { useLocation } from '@reach/router'; - -import { useAuthenticationContext, useCMSManagementContext } from '@atsnek/jaen'; - -interface AppLayoutProps { - children?: React.ReactNode; - path?: string; -} - -/** - * The global layout component. - * This should not be directly used in pages, but used in gatsby. - */ -const AppLayout: FC = ({ - children, - path -}) => { - const cmsManager = useCMSManagementContext(); - const location = useLocation(); - const topNavDisclosure = useDisclosure(); // for the top nav mobile drawer - const { isAuthenticated } = useAuthenticationContext(); - - return ( - <> - - - {!isAuthenticated && ( - - )} - - {children} - - -