From 94dd48af79c105904e28c195b388576c6635364f Mon Sep 17 00:00:00 2001 From: Libertonius Date: Tue, 1 Oct 2024 20:52:53 +0300 Subject: [PATCH 1/5] feat: credentials page --- config/routes.ts | 4 + public/locales/en/common.json | 4 +- public/locales/en/settings.json | 12 + src/assets/credentials.svg | 11 + src/components/ApiSetup/index.tsx | 3 +- .../CredentialCard/index.module.less | 50 + src/components/CredentialCard/index.tsx | 162 + .../CredentialsForm/index.module.less | 4 + src/components/CredentialsForm/index.tsx | 82 + .../NoCredentials/index.stories.tsx | 2 +- src/components/NoCredentials/index.test.tsx | 28 +- src/components/NoCredentials/index.tsx | 24 +- .../NoSqlCredentials/index.module.less | 23 + .../NoSqlCredentials/index.stories.tsx | 18 + .../NoSqlCredentials/index.test.tsx | 36 + src/components/NoSqlCredentials/index.tsx | 37 + src/graphql/generated.ts | 1202 ++- src/graphql/gql/credentials.gql | 61 + src/graphql/gql/currentUser.gql | 4 +- src/graphql/gql/datasources.gql | 6 +- src/graphql/gql/sqlCredentials.gql | 8 +- src/graphql/schemas/hasura.json | 7083 ++++++++++++----- src/hooks/useOnboarding.ts | 10 + src/hooks/useUserData.ts | 2 +- src/layouts/SettingsLayout/index.tsx | 7 + src/mocks/dataSources.tsx | 2 +- src/pages/Credentials/index.module.less | 13 + src/pages/Credentials/index.tsx | 232 + src/pages/SqlApi/index.tsx | 7 +- src/types/credential.ts | 22 + src/types/index.ts | 8 + src/utils/constants/paths.ts | 1 + 32 files changed, 6606 insertions(+), 2562 deletions(-) create mode 100644 src/assets/credentials.svg create mode 100644 src/components/CredentialCard/index.module.less create mode 100644 src/components/CredentialCard/index.tsx create mode 100644 src/components/CredentialsForm/index.module.less create mode 100644 src/components/CredentialsForm/index.tsx create mode 100644 src/components/NoSqlCredentials/index.module.less create mode 100644 src/components/NoSqlCredentials/index.stories.tsx create mode 100644 src/components/NoSqlCredentials/index.test.tsx create mode 100644 src/components/NoSqlCredentials/index.tsx create mode 100644 src/graphql/gql/credentials.gql create mode 100644 src/pages/Credentials/index.module.less create mode 100644 src/pages/Credentials/index.tsx create mode 100644 src/types/credential.ts create mode 100644 src/types/index.ts diff --git a/config/routes.ts b/config/routes.ts index 1a1b385f..da0fbff4 100644 --- a/config/routes.ts +++ b/config/routes.ts @@ -95,6 +95,10 @@ export default [ path: paths.INFO, component: "./pages/PersonalInfo", }, + { + path: `${paths.CREDENTIALS}/:editId?`, + component: "./pages/Credentials", + }, ], }, { diff --git a/public/locales/en/common.json b/public/locales/en/common.json index dbaf1451..d466e5e8 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -110,7 +110,8 @@ "find": "Find", "edit_teams": "Edit teams", "roles_and_access": "Roles and access", - "sql_api": "SQL API" + "sql_api": "SQL API", + "credentials": "Credentials" }, "form": { "labels": { @@ -157,6 +158,7 @@ }, "placeholders": { "name": "Name", + "login": "Login", "use_ssl": "I want use SSL", "attach_file_credentials": "Attach the file credentials, please", "schema": "schema", diff --git a/public/locales/en/settings.json b/public/locales/en/settings.json index 9c214ccd..cdb97ad1 100644 --- a/public/locales/en/settings.json +++ b/public/locales/en/settings.json @@ -60,6 +60,18 @@ "attach_btn": "Attach SQL API" } }, + "credentials": { + "title": "Manage Credentials", + "action": "Create now", + "created": "Credential created", + "updated": "Credential updated", + "deleted": "Credential deleted", + "not_found": { + "title": "You have no Credentials", + "text": "Click \"Create Credential\" to add one", + "create_btn": "Create Credential" + } + }, "roles_and_access": { "manage_roles": "Manage roles", "create_now": "Create now", diff --git a/src/assets/credentials.svg b/src/assets/credentials.svg new file mode 100644 index 00000000..463fea71 --- /dev/null +++ b/src/assets/credentials.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/ApiSetup/index.tsx b/src/components/ApiSetup/index.tsx index 745cbb72..103c0c5a 100644 --- a/src/components/ApiSetup/index.tsx +++ b/src/components/ApiSetup/index.tsx @@ -103,7 +103,6 @@ const ApiSetup: FC = ({ connection = CONNECTION_DEFAULT, host = connectionUrls[CONNECTION_DEFAULT], user = initialValue?.db_username, - password = initialValue?.password, database = initialValue?.db, }) => { const [hostname, port] = host.split(":"); @@ -117,7 +116,7 @@ const ApiSetup: FC = ({ return `psql --host=${hostname} ${psqlPortOption} --username=${user} --dbname=${database}`; }, - [initialValue?.password, initialValue?.db_username, initialValue?.db] + [initialValue?.db_username, initialValue?.db] ); const onDownload = () => { diff --git a/src/components/CredentialCard/index.module.less b/src/components/CredentialCard/index.module.less new file mode 100644 index 00000000..7adb880f --- /dev/null +++ b/src/components/CredentialCard/index.module.less @@ -0,0 +1,50 @@ +.btn { + padding: 0; + color: var(--color-primary); + span { + font-size: 12px; + } +} + +.list { + padding: 0; + list-style: none; +} + +.listItem { + display: flex; + gap: 5px; + align-items: center; + justify-content: space-between; + padding: 0; + font-size: 12px; + font-family: var(--font-manrope); + &:not(:last-child) { + margin-bottom: 12px; + } +} + +.label { + font-weight: 500; + white-space: nowrap; + opacity: 0.5; +} + +.value { + display: flex; + align-items: center; + font-weight: 600; +} + +.paragraph { + margin-bottom: 0 !important; + &:extend(.value); +} + +.deleteItem { + padding: 0 !important; +} + +.deleteText { + padding: 5px 12px; +} diff --git a/src/components/CredentialCard/index.tsx b/src/components/CredentialCard/index.tsx new file mode 100644 index 00000000..89d5ccd7 --- /dev/null +++ b/src/components/CredentialCard/index.tsx @@ -0,0 +1,162 @@ +import React from "react"; +import { SettingOutlined } from "@ant-design/icons"; +import { Card, Typography, Dropdown } from "antd"; +import { useTranslation } from "react-i18next"; +import cx from "classnames"; + +import Button from "@/components/Button"; +import ConfirmModal from "@/components/ConfirmModal"; +import formatTime from "@/utils/helpers/formatTime"; +import type { Credentials } from "@/types/credential"; + +import styles from "./index.module.less"; + +import type { FC } from "react"; + +const { Paragraph } = Typography; + +interface CredentialCardProps { + credential: Credentials; + onEdit?: (id: string) => void; + onDelete?: (id: string) => void; +} + +const CredentialCard: FC = ({ + credential, + onEdit = () => {}, + onDelete = () => {}, +}) => { + const { t } = useTranslation(["common"]); + const { id, username, dataSource, updatedAt, createdAt, user } = credential; + return ( +
+ id && onEdit(id)} + > + + {user?.display_name} + + + } + extra={ + id && onEdit(id), + }, + { + key: "delete", + className: styles.deleteItem, + label: ( + id && onDelete(id)} + > + {t("common:words.delete")} + + ), + }, + ], + }} + > + + + } + > +
    + {dataSource?.name && ( +
  • + + {t("common:form.labels.data_source")} + + + {dataSource.name} + +
  • + )} + + {username && ( +
  • + {t("common:words.login")} + + {username} + +
  • + )} + +
  • + {t("common:words.updated_at")} + + {formatTime(updatedAt)}{" "} + +
  • + +
  • + {t("common:words.created_at")} + + {formatTime(createdAt)}{" "} + +
  • +
+
+
+ ); +}; + +export default CredentialCard; diff --git a/src/components/CredentialsForm/index.module.less b/src/components/CredentialsForm/index.module.less new file mode 100644 index 00000000..03945fcb --- /dev/null +++ b/src/components/CredentialsForm/index.module.less @@ -0,0 +1,4 @@ +.form { + max-width: 400px; + margin: 0 auto; +} \ No newline at end of file diff --git a/src/components/CredentialsForm/index.tsx b/src/components/CredentialsForm/index.tsx new file mode 100644 index 00000000..fb858fbc --- /dev/null +++ b/src/components/CredentialsForm/index.tsx @@ -0,0 +1,82 @@ +import { Form, Button } from "antd"; +import { useTranslation } from "react-i18next"; +import { useForm } from "react-hook-form"; + +import Input from "@/components/Input"; +import type { CredentialsFormType } from "@/types/credential"; +import type { DataSourceInfo } from "@/types/dataSource"; + +import styles from "./index.module.less"; + +interface CredentialsFormProps { + initialValue?: CredentialsFormType; + dataSources?: DataSourceInfo[]; + onSubmit?: (data: CredentialsFormType) => void; +} + +const CredentialsForm: React.FC = ({ + initialValue, + dataSources, + onSubmit = () => {}, +}) => { + const { t } = useTranslation(["common", "credentials"]); + const { control, handleSubmit } = useForm({ + values: initialValue, + }); + + const onHandleSubmit = (data: CredentialsFormType) => { + onSubmit(data); + }; + + return ( +
+ ({ + label: ds.name, + value: ds.id as string, + }))} + defaultValue={initialValue?.dataSourceId} + disabled={!!initialValue?.id} + /> + + + + + + + + +
+ ); +}; + +export default CredentialsForm; diff --git a/src/components/NoCredentials/index.stories.tsx b/src/components/NoCredentials/index.stories.tsx index 2ea03efa..7d71a668 100644 --- a/src/components/NoCredentials/index.stories.tsx +++ b/src/components/NoCredentials/index.stories.tsx @@ -5,7 +5,7 @@ import NoCredentials from "."; import type { StoryFn, Meta } from "@storybook/react"; export default { - title: "Components/Settings/SQLApi/NoCredentials", + title: "Components/Settings/Credentials/NoCredentials", component: NoCredentials, } as Meta; diff --git a/src/components/NoCredentials/index.test.tsx b/src/components/NoCredentials/index.test.tsx index dc9cd723..68577aab 100644 --- a/src/components/NoCredentials/index.test.tsx +++ b/src/components/NoCredentials/index.test.tsx @@ -1,36 +1,36 @@ import { describe, test, expect, vi } from "vitest"; import { render, screen } from "@testing-library/react"; -import NoCredentials from "./"; +import NoCredentials from "."; describe("NoCredentials", () => { test("renders the component correctly", () => { - render( {}} />); + render( {}} />); }); test("displays the correct title", () => { - render( {}} />); - const titleElement = screen.getByText("sql_api.not_found.title"); + render( {}} />); + const titleElement = screen.getByText("credentials.not_found.title"); expect(titleElement).toBeInTheDocument(); }); test("displays the correct text", () => { - render( {}} />); - const textElement = screen.getByText("sql_api.not_found.text"); + render( {}} />); + const textElement = screen.getByText("credentials.not_found.text"); expect(textElement).toBeInTheDocument(); }); - test("renders the attach button when edit permission is true", () => { - render( {}} editPermission />); - const attachButton = screen.getByText("sql_api.not_found.attach_btn"); - expect(attachButton).toBeInTheDocument(); + test("renders the create button", () => { + render( {}} />); + const createButton = screen.getByText("credentials.not_found.create_btn"); + expect(createButton).toBeInTheDocument(); }); - test("calls the onAttach function when attach button is clicked", () => { + test("calls the onCreate function when create button is clicked", () => { const mockOnAttach = vi.fn(); - render(); - const attachButton = screen.getByText("sql_api.not_found.attach_btn"); - attachButton.click(); + render(); + const createButton = screen.getByText("credentials.not_found.create_btn"); + createButton.click(); expect(mockOnAttach).toHaveBeenCalled(); }); }); diff --git a/src/components/NoCredentials/index.tsx b/src/components/NoCredentials/index.tsx index efa36e7c..4ad0d3e4 100644 --- a/src/components/NoCredentials/index.tsx +++ b/src/components/NoCredentials/index.tsx @@ -1,7 +1,7 @@ import { Typography } from "antd"; import { useTranslation } from "react-i18next"; -import NoCredentialsImg from "@/assets/no-credentials.png"; +import NoSqlCredentialsImg from "@/assets/no-credentials.png"; import Button from "@/components/Button"; import styles from "./index.module.less"; @@ -11,25 +11,19 @@ import type { FC } from "react"; const { Title, Text } = Typography; interface NoCredentialsProps { - editPermission?: boolean; - onAttach: () => void; + onCreate: () => void; } -const NoCredentials: FC = ({ - editPermission, - onAttach = () => {}, -}) => { +const NoCredentials: FC = ({ onCreate = () => {} }) => { const { t } = useTranslation(["settings", "common"]); return (
- - {t("sql_api.not_found.title")} - {t("sql_api.not_found.text")} - {editPermission && ( - - )} + + {t("credentials.not_found.title")} + {t("credentials.not_found.text")} +
); }; diff --git a/src/components/NoSqlCredentials/index.module.less b/src/components/NoSqlCredentials/index.module.less new file mode 100644 index 00000000..5f4afe26 --- /dev/null +++ b/src/components/NoSqlCredentials/index.module.less @@ -0,0 +1,23 @@ +.wrapper { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; + max-height: 100vh; + text-align: center; +} + +.img { + max-width: 100%; +} + +.text { + margin-bottom: var(--gap-base); +} + +.btn { + padding: 13px 16px; + overflow: visible; +} diff --git a/src/components/NoSqlCredentials/index.stories.tsx b/src/components/NoSqlCredentials/index.stories.tsx new file mode 100644 index 00000000..60ea936a --- /dev/null +++ b/src/components/NoSqlCredentials/index.stories.tsx @@ -0,0 +1,18 @@ +import RootLayout from "@/layouts/RootLayout"; + +import NoSqlCredentials from "."; + +import type { StoryFn, Meta } from "@storybook/react"; + +export default { + title: "Components/Settings/SQLApi/NoSqlCredentials", + component: NoSqlCredentials, +} as Meta; + +const Template: StoryFn = (args) => ( + + + +); + +export const Default = Template.bind({}); diff --git a/src/components/NoSqlCredentials/index.test.tsx b/src/components/NoSqlCredentials/index.test.tsx new file mode 100644 index 00000000..ea6985b0 --- /dev/null +++ b/src/components/NoSqlCredentials/index.test.tsx @@ -0,0 +1,36 @@ +import { describe, test, expect, vi } from "vitest"; +import { render, screen } from "@testing-library/react"; + +import NoSqlCredentials from "."; + +describe("NoSqlCredentials", () => { + test("renders the component correctly", () => { + render( {}} />); + }); + + test("displays the correct title", () => { + render( {}} />); + const titleElement = screen.getByText("sql_api.not_found.title"); + expect(titleElement).toBeInTheDocument(); + }); + + test("displays the correct text", () => { + render( {}} />); + const textElement = screen.getByText("sql_api.not_found.text"); + expect(textElement).toBeInTheDocument(); + }); + + test("renders the attach button when edit permission is true", () => { + render( {}} editPermission />); + const attachButton = screen.getByText("sql_api.not_found.attach_btn"); + expect(attachButton).toBeInTheDocument(); + }); + + test("calls the onAttach function when attach button is clicked", () => { + const mockOnAttach = vi.fn(); + render(); + const attachButton = screen.getByText("sql_api.not_found.attach_btn"); + attachButton.click(); + expect(mockOnAttach).toHaveBeenCalled(); + }); +}); diff --git a/src/components/NoSqlCredentials/index.tsx b/src/components/NoSqlCredentials/index.tsx new file mode 100644 index 00000000..f27c9ea2 --- /dev/null +++ b/src/components/NoSqlCredentials/index.tsx @@ -0,0 +1,37 @@ +import { Typography } from "antd"; +import { useTranslation } from "react-i18next"; + +import NoSqlCredentialsImg from "@/assets/no-credentials.png"; +import Button from "@/components/Button"; + +import styles from "./index.module.less"; + +import type { FC } from "react"; + +const { Title, Text } = Typography; + +interface NoSqlCredentialsProps { + editPermission?: boolean; + onAttach: () => void; +} + +const NoSqlCredentials: FC = ({ + editPermission, + onAttach = () => {}, +}) => { + const { t } = useTranslation(["settings", "common"]); + return ( +
+ + {t("sql_api.not_found.title")} + {t("sql_api.not_found.text")} + {editPermission && ( + + )} +
+ ); +}; + +export default NoSqlCredentials; diff --git a/src/graphql/generated.ts b/src/graphql/generated.ts index e94484ab..668147ac 100644 --- a/src/graphql/generated.ts +++ b/src/graphql/generated.ts @@ -30,7 +30,6 @@ export type Scalars = { json: { input: any; output: any }; jsonb: { input: any; output: any }; numeric: { input: any; output: any }; - timestamp: { input: any; output: any }; timestamptz: { input: any; output: any }; uuid: { input: any; output: any }; }; @@ -1814,226 +1813,172 @@ export type Auth_Accounts_Updates = { where: Auth_Accounts_Bool_Exp; }; -/** columns and relationships of "auth.migrations" */ -export type Auth_Migrations = { - __typename?: "auth_migrations"; - executed_at?: Maybe; - hash: Scalars["String"]["output"]; - id: Scalars["Int"]["output"]; - name: Scalars["String"]["output"]; +/** columns and relationships of "auth_options" */ +export type Auth_Options = { + __typename?: "auth_options"; + auth: Scalars["String"]["output"]; + /** An array relationship */ + datasources: Array; + /** An aggregate relationship */ + datasources_aggregate: Datasources_Aggregate; +}; + +/** columns and relationships of "auth_options" */ +export type Auth_OptionsDatasourcesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "auth_options" */ +export type Auth_OptionsDatasources_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** aggregated selection of "auth.migrations" */ -export type Auth_Migrations_Aggregate = { - __typename?: "auth_migrations_aggregate"; - aggregate?: Maybe; - nodes: Array; +/** aggregated selection of "auth_options" */ +export type Auth_Options_Aggregate = { + __typename?: "auth_options_aggregate"; + aggregate?: Maybe; + nodes: Array; }; -/** aggregate fields of "auth.migrations" */ -export type Auth_Migrations_Aggregate_Fields = { - __typename?: "auth_migrations_aggregate_fields"; - avg?: Maybe; +/** aggregate fields of "auth_options" */ +export type Auth_Options_Aggregate_Fields = { + __typename?: "auth_options_aggregate_fields"; count: Scalars["Int"]["output"]; - max?: Maybe; - min?: Maybe; - stddev?: Maybe; - stddev_pop?: Maybe; - stddev_samp?: Maybe; - sum?: Maybe; - var_pop?: Maybe; - var_samp?: Maybe; - variance?: Maybe; -}; - -/** aggregate fields of "auth.migrations" */ -export type Auth_Migrations_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "auth_options" */ +export type Auth_Options_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; distinct?: InputMaybe; }; -/** aggregate avg on columns */ -export type Auth_Migrations_Avg_Fields = { - __typename?: "auth_migrations_avg_fields"; - id?: Maybe; -}; - -/** Boolean expression to filter rows from the table "auth.migrations". All fields are combined with a logical 'AND'. */ -export type Auth_Migrations_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - executed_at?: InputMaybe; - hash?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; +/** Boolean expression to filter rows from the table "auth_options". All fields are combined with a logical 'AND'. */ +export type Auth_Options_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + auth?: InputMaybe; + datasources?: InputMaybe; + datasources_aggregate?: InputMaybe; }; -/** unique or primary key constraints on table "auth.migrations" */ -export enum Auth_Migrations_Constraint { - /** unique or primary key constraint on columns "name" */ - MigrationsNameKey = "migrations_name_key", - /** unique or primary key constraint on columns "id" */ - MigrationsPkey = "migrations_pkey", +/** unique or primary key constraints on table "auth_options" */ +export enum Auth_Options_Constraint { + /** unique or primary key constraint on columns "auth" */ + AuthOptionsPkey = "auth_options_pkey", +} + +export enum Auth_Options_Enum { + Private = "private", + Shared = "shared", } -/** input type for incrementing numeric columns in table "auth.migrations" */ -export type Auth_Migrations_Inc_Input = { - id?: InputMaybe; +/** Boolean expression to compare columns of type "auth_options_enum". All fields are combined with logical 'AND'. */ +export type Auth_Options_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; -/** input type for inserting data into table "auth.migrations" */ -export type Auth_Migrations_Insert_Input = { - executed_at?: InputMaybe; - hash?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; +/** input type for inserting data into table "auth_options" */ +export type Auth_Options_Insert_Input = { + auth?: InputMaybe; + datasources?: InputMaybe; }; /** aggregate max on columns */ -export type Auth_Migrations_Max_Fields = { - __typename?: "auth_migrations_max_fields"; - executed_at?: Maybe; - hash?: Maybe; - id?: Maybe; - name?: Maybe; +export type Auth_Options_Max_Fields = { + __typename?: "auth_options_max_fields"; + auth?: Maybe; }; /** aggregate min on columns */ -export type Auth_Migrations_Min_Fields = { - __typename?: "auth_migrations_min_fields"; - executed_at?: Maybe; - hash?: Maybe; - id?: Maybe; - name?: Maybe; +export type Auth_Options_Min_Fields = { + __typename?: "auth_options_min_fields"; + auth?: Maybe; }; -/** response of any mutation on the table "auth.migrations" */ -export type Auth_Migrations_Mutation_Response = { - __typename?: "auth_migrations_mutation_response"; +/** response of any mutation on the table "auth_options" */ +export type Auth_Options_Mutation_Response = { + __typename?: "auth_options_mutation_response"; /** number of rows affected by the mutation */ affected_rows: Scalars["Int"]["output"]; /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "auth.migrations" */ -export type Auth_Migrations_On_Conflict = { - constraint: Auth_Migrations_Constraint; - update_columns?: Array; - where?: InputMaybe; + returning: Array; }; -/** Ordering options when selecting data from "auth.migrations". */ -export type Auth_Migrations_Order_By = { - executed_at?: InputMaybe; - hash?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; +/** input type for inserting object relation for remote table "auth_options" */ +export type Auth_Options_Obj_Rel_Insert_Input = { + data: Auth_Options_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; }; -/** primary key columns input for table: auth.migrations */ -export type Auth_Migrations_Pk_Columns_Input = { - id: Scalars["Int"]["input"]; +/** on_conflict condition type for table "auth_options" */ +export type Auth_Options_On_Conflict = { + constraint: Auth_Options_Constraint; + update_columns?: Array; + where?: InputMaybe; }; -/** select columns of table "auth.migrations" */ -export enum Auth_Migrations_Select_Column { - /** column name */ - ExecutedAt = "executed_at", - /** column name */ - Hash = "hash", - /** column name */ - Id = "id", - /** column name */ - Name = "name", -} - -/** input type for updating data in table "auth.migrations" */ -export type Auth_Migrations_Set_Input = { - executed_at?: InputMaybe; - hash?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; +/** Ordering options when selecting data from "auth_options". */ +export type Auth_Options_Order_By = { + auth?: InputMaybe; + datasources_aggregate?: InputMaybe; }; -/** aggregate stddev on columns */ -export type Auth_Migrations_Stddev_Fields = { - __typename?: "auth_migrations_stddev_fields"; - id?: Maybe; +/** primary key columns input for table: auth_options */ +export type Auth_Options_Pk_Columns_Input = { + auth: Scalars["String"]["input"]; }; -/** aggregate stddev_pop on columns */ -export type Auth_Migrations_Stddev_Pop_Fields = { - __typename?: "auth_migrations_stddev_pop_fields"; - id?: Maybe; -}; +/** select columns of table "auth_options" */ +export enum Auth_Options_Select_Column { + /** column name */ + Auth = "auth", +} -/** aggregate stddev_samp on columns */ -export type Auth_Migrations_Stddev_Samp_Fields = { - __typename?: "auth_migrations_stddev_samp_fields"; - id?: Maybe; +/** input type for updating data in table "auth_options" */ +export type Auth_Options_Set_Input = { + auth?: InputMaybe; }; -/** Streaming cursor of the table "auth_migrations" */ -export type Auth_Migrations_Stream_Cursor_Input = { +/** Streaming cursor of the table "auth_options" */ +export type Auth_Options_Stream_Cursor_Input = { /** Stream column input with initial value */ - initial_value: Auth_Migrations_Stream_Cursor_Value_Input; + initial_value: Auth_Options_Stream_Cursor_Value_Input; /** cursor ordering */ ordering?: InputMaybe; }; /** Initial value of the column from where the streaming should start */ -export type Auth_Migrations_Stream_Cursor_Value_Input = { - executed_at?: InputMaybe; - hash?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; +export type Auth_Options_Stream_Cursor_Value_Input = { + auth?: InputMaybe; }; -/** aggregate sum on columns */ -export type Auth_Migrations_Sum_Fields = { - __typename?: "auth_migrations_sum_fields"; - id?: Maybe; -}; - -/** update columns of table "auth.migrations" */ -export enum Auth_Migrations_Update_Column { - /** column name */ - ExecutedAt = "executed_at", - /** column name */ - Hash = "hash", - /** column name */ - Id = "id", +/** update columns of table "auth_options" */ +export enum Auth_Options_Update_Column { /** column name */ - Name = "name", + Auth = "auth", } -export type Auth_Migrations_Updates = { - /** increments the numeric columns with given value of the filtered values */ - _inc?: InputMaybe; +export type Auth_Options_Updates = { /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; + _set?: InputMaybe; /** filter the rows which have to be updated */ - where: Auth_Migrations_Bool_Exp; -}; - -/** aggregate var_pop on columns */ -export type Auth_Migrations_Var_Pop_Fields = { - __typename?: "auth_migrations_var_pop_fields"; - id?: Maybe; -}; - -/** aggregate var_samp on columns */ -export type Auth_Migrations_Var_Samp_Fields = { - __typename?: "auth_migrations_var_samp_fields"; - id?: Maybe; -}; - -/** aggregate variance on columns */ -export type Auth_Migrations_Variance_Fields = { - __typename?: "auth_migrations_variance_fields"; - id?: Maybe; + where: Auth_Options_Bool_Exp; }; /** columns and relationships of "auth.providers" */ @@ -2576,9 +2521,31 @@ export type Auth_Roles_Updates = { /** columns and relationships of "branch_statuses" */ export type Branch_Statuses = { __typename?: "branch_statuses"; + /** An array relationship */ + branches: Array; + /** An aggregate relationship */ + branches_aggregate: Branches_Aggregate; status: Scalars["String"]["output"]; }; +/** columns and relationships of "branch_statuses" */ +export type Branch_StatusesBranchesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "branch_statuses" */ +export type Branch_StatusesBranches_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** aggregated selection of "branch_statuses" */ export type Branch_Statuses_Aggregate = { __typename?: "branch_statuses_aggregate"; @@ -2605,6 +2572,8 @@ export type Branch_Statuses_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; + branches?: InputMaybe; + branches_aggregate?: InputMaybe; status?: InputMaybe; }; @@ -2631,6 +2600,7 @@ export type Branch_Statuses_Enum_Comparison_Exp = { /** input type for inserting data into table "branch_statuses" */ export type Branch_Statuses_Insert_Input = { + branches?: InputMaybe; status?: InputMaybe; }; @@ -2671,6 +2641,7 @@ export type Branch_Statuses_On_Conflict = { /** Ordering options when selecting data from "branch_statuses". */ export type Branch_Statuses_Order_By = { + branches_aggregate?: InputMaybe; status?: InputMaybe; }; @@ -3074,6 +3045,258 @@ export type Create_Events = { output: Events_Create_Mutation_Response; }; +/** columns and relationships of "credentials" */ +export type Credentials = { + __typename?: "credentials"; + created_at: Scalars["timestamptz"]["output"]; + /** An object relationship */ + datasource: Datasources; + datasource_id: Scalars["uuid"]["output"]; + id: Scalars["uuid"]["output"]; + password?: Maybe; + updated_at: Scalars["timestamptz"]["output"]; + /** An object relationship */ + user: Users; + user_id: Scalars["uuid"]["output"]; + username: Scalars["String"]["output"]; +}; + +/** aggregated selection of "credentials" */ +export type Credentials_Aggregate = { + __typename?: "credentials_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Credentials_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Credentials_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "credentials" */ +export type Credentials_Aggregate_Fields = { + __typename?: "credentials_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "credentials" */ +export type Credentials_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "credentials" */ +export type Credentials_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "credentials" */ +export type Credentials_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "credentials". All fields are combined with a logical 'AND'. */ +export type Credentials_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + datasource?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + password?: InputMaybe; + updated_at?: InputMaybe; + user?: InputMaybe; + user_id?: InputMaybe; + username?: InputMaybe; +}; + +/** unique or primary key constraints on table "credentials" */ +export enum Credentials_Constraint { + /** unique or primary key constraint on columns "user_id", "datasource_id" */ + CredentialsDatasourceIdUserIdKey = "credentials_datasource_id_user_id_key", + /** unique or primary key constraint on columns "id" */ + CredentialsPkey = "credentials_pkey", +} + +/** input type for inserting data into table "credentials" */ +export type Credentials_Insert_Input = { + created_at?: InputMaybe; + datasource?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + password?: InputMaybe; + updated_at?: InputMaybe; + user?: InputMaybe; + user_id?: InputMaybe; + username?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Credentials_Max_Fields = { + __typename?: "credentials_max_fields"; + created_at?: Maybe; + datasource_id?: Maybe; + id?: Maybe; + password?: Maybe; + updated_at?: Maybe; + user_id?: Maybe; + username?: Maybe; +}; + +/** order by max() on columns of table "credentials" */ +export type Credentials_Max_Order_By = { + created_at?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + password?: InputMaybe; + updated_at?: InputMaybe; + user_id?: InputMaybe; + username?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Credentials_Min_Fields = { + __typename?: "credentials_min_fields"; + created_at?: Maybe; + datasource_id?: Maybe; + id?: Maybe; + password?: Maybe; + updated_at?: Maybe; + user_id?: Maybe; + username?: Maybe; +}; + +/** order by min() on columns of table "credentials" */ +export type Credentials_Min_Order_By = { + created_at?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + password?: InputMaybe; + updated_at?: InputMaybe; + user_id?: InputMaybe; + username?: InputMaybe; +}; + +/** response of any mutation on the table "credentials" */ +export type Credentials_Mutation_Response = { + __typename?: "credentials_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "credentials" */ +export type Credentials_On_Conflict = { + constraint: Credentials_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "credentials". */ +export type Credentials_Order_By = { + created_at?: InputMaybe; + datasource?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + password?: InputMaybe; + updated_at?: InputMaybe; + user?: InputMaybe; + user_id?: InputMaybe; + username?: InputMaybe; +}; + +/** primary key columns input for table: credentials */ +export type Credentials_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "credentials" */ +export enum Credentials_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + DatasourceId = "datasource_id", + /** column name */ + Id = "id", + /** column name */ + Password = "password", + /** column name */ + UpdatedAt = "updated_at", + /** column name */ + UserId = "user_id", + /** column name */ + Username = "username", +} + +/** input type for updating data in table "credentials" */ +export type Credentials_Set_Input = { + created_at?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + password?: InputMaybe; + updated_at?: InputMaybe; + user_id?: InputMaybe; + username?: InputMaybe; +}; + +/** Streaming cursor of the table "credentials" */ +export type Credentials_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Credentials_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Credentials_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + password?: InputMaybe; + updated_at?: InputMaybe; + user_id?: InputMaybe; + username?: InputMaybe; +}; + +/** update columns of table "credentials" */ +export enum Credentials_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + DatasourceId = "datasource_id", + /** column name */ + Id = "id", + /** column name */ + Password = "password", + /** column name */ + UpdatedAt = "updated_at", + /** column name */ + UserId = "user_id", + /** column name */ + Username = "username", +} + +export type Credentials_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Credentials_Bool_Exp; +}; + /** ordering argument of a cursor */ export enum Cursor_Ordering { /** ascending ordering of the cursor */ @@ -3682,18 +3905,23 @@ export type Dataschemas_Updates = { /** columns and relationships of "datasources" */ export type Datasources = { __typename?: "datasources"; + auth: Auth_Options_Enum; + /** An object relationship */ + auth_option: Auth_Options; /** An array relationship */ branches: Array; /** An aggregate relationship */ branches_aggregate: Branches_Aggregate; created_at: Scalars["timestamptz"]["output"]; /** An array relationship */ + credentials: Array; + /** An aggregate relationship */ + credentials_aggregate: Credentials_Aggregate; + /** An array relationship */ dataschemas: Array; /** An aggregate relationship */ dataschemas_aggregate: Dataschemas_Aggregate; db_params: Scalars["jsonb"]["output"]; - /** A computed field, executes function "hide_password" */ - db_params_computed?: Maybe; db_type: Scalars["String"]["output"]; /** An array relationship */ explorations: Array; @@ -3736,6 +3964,24 @@ export type DatasourcesBranches_AggregateArgs = { where?: InputMaybe; }; +/** columns and relationships of "datasources" */ +export type DatasourcesCredentialsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "datasources" */ +export type DatasourcesCredentials_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "datasources" */ export type DatasourcesDataschemasArgs = { distinct_on?: InputMaybe>; @@ -3759,11 +4005,6 @@ export type DatasourcesDb_ParamsArgs = { path?: InputMaybe; }; -/** columns and relationships of "datasources" */ -export type DatasourcesDb_Params_ComputedArgs = { - path?: InputMaybe; -}; - /** columns and relationships of "datasources" */ export type DatasourcesExplorationsArgs = { distinct_on?: InputMaybe>; @@ -3874,13 +4115,16 @@ export type Datasources_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; + auth?: InputMaybe; + auth_option?: InputMaybe; branches?: InputMaybe; branches_aggregate?: InputMaybe; created_at?: InputMaybe; + credentials?: InputMaybe; + credentials_aggregate?: InputMaybe; dataschemas?: InputMaybe; dataschemas_aggregate?: InputMaybe; db_params?: InputMaybe; - db_params_computed?: InputMaybe; db_type?: InputMaybe; explorations?: InputMaybe; explorations_aggregate?: InputMaybe; @@ -3920,8 +4164,11 @@ export type Datasources_Delete_Key_Input = { /** input type for inserting data into table "datasources" */ export type Datasources_Insert_Input = { + auth?: InputMaybe; + auth_option?: InputMaybe; branches?: InputMaybe; created_at?: InputMaybe; + credentials?: InputMaybe; dataschemas?: InputMaybe; db_params?: InputMaybe; db_type?: InputMaybe; @@ -4008,11 +4255,13 @@ export type Datasources_On_Conflict = { /** Ordering options when selecting data from "datasources". */ export type Datasources_Order_By = { + auth?: InputMaybe; + auth_option?: InputMaybe; branches_aggregate?: InputMaybe; created_at?: InputMaybe; + credentials_aggregate?: InputMaybe; dataschemas_aggregate?: InputMaybe; db_params?: InputMaybe; - db_params_computed?: InputMaybe; db_type?: InputMaybe; explorations_aggregate?: InputMaybe; id?: InputMaybe; @@ -4038,6 +4287,8 @@ export type Datasources_Prepend_Input = { /** select columns of table "datasources" */ export enum Datasources_Select_Column { + /** column name */ + Auth = "auth", /** column name */ CreatedAt = "created_at", /** column name */ @@ -4058,6 +4309,7 @@ export enum Datasources_Select_Column { /** input type for updating data in table "datasources" */ export type Datasources_Set_Input = { + auth?: InputMaybe; created_at?: InputMaybe; db_params?: InputMaybe; db_type?: InputMaybe; @@ -4078,6 +4330,7 @@ export type Datasources_Stream_Cursor_Input = { /** Initial value of the column from where the streaming should start */ export type Datasources_Stream_Cursor_Value_Input = { + auth?: InputMaybe; created_at?: InputMaybe; db_params?: InputMaybe; db_type?: InputMaybe; @@ -4090,6 +4343,8 @@ export type Datasources_Stream_Cursor_Value_Input = { /** update columns of table "datasources" */ export enum Datasources_Update_Column { + /** column name */ + Auth = "auth", /** column name */ CreatedAt = "created_at", /** column name */ @@ -5346,10 +5601,10 @@ export type Mutation_Root = { delete_auth_accounts?: Maybe; /** delete single row from the table: "auth.accounts" */ delete_auth_accounts_by_pk?: Maybe; - /** delete data from the table: "auth.migrations" */ - delete_auth_migrations?: Maybe; - /** delete single row from the table: "auth.migrations" */ - delete_auth_migrations_by_pk?: Maybe; + /** delete data from the table: "auth_options" */ + delete_auth_options?: Maybe; + /** delete single row from the table: "auth_options" */ + delete_auth_options_by_pk?: Maybe; /** delete data from the table: "auth.providers" */ delete_auth_providers?: Maybe; /** delete single row from the table: "auth.providers" */ @@ -5370,6 +5625,10 @@ export type Mutation_Root = { delete_branches?: Maybe; /** delete single row from the table: "branches" */ delete_branches_by_pk?: Maybe; + /** delete data from the table: "credentials" */ + delete_credentials?: Maybe; + /** delete single row from the table: "credentials" */ + delete_credentials_by_pk?: Maybe; /** delete data from the table: "dashboards" */ delete_dashboards?: Maybe; /** delete single row from the table: "dashboards" */ @@ -5457,10 +5716,10 @@ export type Mutation_Root = { insert_auth_accounts?: Maybe; /** insert a single row into the table: "auth.accounts" */ insert_auth_accounts_one?: Maybe; - /** insert data into the table: "auth.migrations" */ - insert_auth_migrations?: Maybe; - /** insert a single row into the table: "auth.migrations" */ - insert_auth_migrations_one?: Maybe; + /** insert data into the table: "auth_options" */ + insert_auth_options?: Maybe; + /** insert a single row into the table: "auth_options" */ + insert_auth_options_one?: Maybe; /** insert data into the table: "auth.providers" */ insert_auth_providers?: Maybe; /** insert a single row into the table: "auth.providers" */ @@ -5481,6 +5740,10 @@ export type Mutation_Root = { insert_branches?: Maybe; /** insert a single row into the table: "branches" */ insert_branches_one?: Maybe; + /** insert data into the table: "credentials" */ + insert_credentials?: Maybe; + /** insert a single row into the table: "credentials" */ + insert_credentials_one?: Maybe; /** insert data into the table: "dashboards" */ insert_dashboards?: Maybe; /** insert a single row into the table: "dashboards" */ @@ -5586,13 +5849,13 @@ export type Mutation_Root = { update_auth_accounts_many?: Maybe< Array> >; - /** update data of the table: "auth.migrations" */ - update_auth_migrations?: Maybe; - /** update single row of the table: "auth.migrations" */ - update_auth_migrations_by_pk?: Maybe; - /** update multiples rows of table: "auth.migrations" */ - update_auth_migrations_many?: Maybe< - Array> + /** update data of the table: "auth_options" */ + update_auth_options?: Maybe; + /** update single row of the table: "auth_options" */ + update_auth_options_by_pk?: Maybe; + /** update multiples rows of table: "auth_options" */ + update_auth_options_many?: Maybe< + Array> >; /** update data of the table: "auth.providers" */ update_auth_providers?: Maybe; @@ -5630,6 +5893,12 @@ export type Mutation_Root = { update_branches_by_pk?: Maybe; /** update multiples rows of table: "branches" */ update_branches_many?: Maybe>>; + /** update data of the table: "credentials" */ + update_credentials?: Maybe; + /** update single row of the table: "credentials" */ + update_credentials_by_pk?: Maybe; + /** update multiples rows of table: "credentials" */ + update_credentials_many?: Maybe>>; /** update data of the table: "dashboards" */ update_dashboards?: Maybe; /** update single row of the table: "dashboards" */ @@ -5806,13 +6075,13 @@ export type Mutation_RootDelete_Auth_Accounts_By_PkArgs = { }; /** mutation root */ -export type Mutation_RootDelete_Auth_MigrationsArgs = { - where: Auth_Migrations_Bool_Exp; +export type Mutation_RootDelete_Auth_OptionsArgs = { + where: Auth_Options_Bool_Exp; }; /** mutation root */ -export type Mutation_RootDelete_Auth_Migrations_By_PkArgs = { - id: Scalars["Int"]["input"]; +export type Mutation_RootDelete_Auth_Options_By_PkArgs = { + auth: Scalars["String"]["input"]; }; /** mutation root */ @@ -5865,6 +6134,16 @@ export type Mutation_RootDelete_Branches_By_PkArgs = { id: Scalars["uuid"]["input"]; }; +/** mutation root */ +export type Mutation_RootDelete_CredentialsArgs = { + where: Credentials_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Credentials_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + /** mutation root */ export type Mutation_RootDelete_DashboardsArgs = { where: Dashboards_Bool_Exp; @@ -6105,15 +6384,15 @@ export type Mutation_RootInsert_Auth_Accounts_OneArgs = { }; /** mutation root */ -export type Mutation_RootInsert_Auth_MigrationsArgs = { - objects: Array; - on_conflict?: InputMaybe; +export type Mutation_RootInsert_Auth_OptionsArgs = { + objects: Array; + on_conflict?: InputMaybe; }; /** mutation root */ -export type Mutation_RootInsert_Auth_Migrations_OneArgs = { - object: Auth_Migrations_Insert_Input; - on_conflict?: InputMaybe; +export type Mutation_RootInsert_Auth_Options_OneArgs = { + object: Auth_Options_Insert_Input; + on_conflict?: InputMaybe; }; /** mutation root */ @@ -6176,6 +6455,18 @@ export type Mutation_RootInsert_Branches_OneArgs = { on_conflict?: InputMaybe; }; +/** mutation root */ +export type Mutation_RootInsert_CredentialsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Credentials_OneArgs = { + object: Credentials_Insert_Input; + on_conflict?: InputMaybe; +}; + /** mutation root */ export type Mutation_RootInsert_DashboardsArgs = { objects: Array; @@ -6507,22 +6798,20 @@ export type Mutation_RootUpdate_Auth_Accounts_ManyArgs = { }; /** mutation root */ -export type Mutation_RootUpdate_Auth_MigrationsArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - where: Auth_Migrations_Bool_Exp; +export type Mutation_RootUpdate_Auth_OptionsArgs = { + _set?: InputMaybe; + where: Auth_Options_Bool_Exp; }; /** mutation root */ -export type Mutation_RootUpdate_Auth_Migrations_By_PkArgs = { - _inc?: InputMaybe; - _set?: InputMaybe; - pk_columns: Auth_Migrations_Pk_Columns_Input; +export type Mutation_RootUpdate_Auth_Options_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Auth_Options_Pk_Columns_Input; }; /** mutation root */ -export type Mutation_RootUpdate_Auth_Migrations_ManyArgs = { - updates: Array; +export type Mutation_RootUpdate_Auth_Options_ManyArgs = { + updates: Array; }; /** mutation root */ @@ -6610,6 +6899,23 @@ export type Mutation_RootUpdate_Branches_ManyArgs = { updates: Array; }; +/** mutation root */ +export type Mutation_RootUpdate_CredentialsArgs = { + _set?: InputMaybe; + where: Credentials_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Credentials_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Credentials_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Credentials_ManyArgs = { + updates: Array; +}; + /** mutation root */ export type Mutation_RootUpdate_DashboardsArgs = { _append?: InputMaybe; @@ -7335,12 +7641,12 @@ export type Query_Root = { auth_accounts_aggregate: Auth_Accounts_Aggregate; /** fetch data from the table: "auth.accounts" using primary key columns */ auth_accounts_by_pk?: Maybe; - /** fetch data from the table: "auth.migrations" */ - auth_migrations: Array; - /** fetch aggregated fields from the table: "auth.migrations" */ - auth_migrations_aggregate: Auth_Migrations_Aggregate; - /** fetch data from the table: "auth.migrations" using primary key columns */ - auth_migrations_by_pk?: Maybe; + /** fetch data from the table: "auth_options" */ + auth_options: Array; + /** fetch aggregated fields from the table: "auth_options" */ + auth_options_aggregate: Auth_Options_Aggregate; + /** fetch data from the table: "auth_options" using primary key columns */ + auth_options_by_pk?: Maybe; /** fetch data from the table: "auth.providers" */ auth_providers: Array; /** fetch aggregated fields from the table: "auth.providers" */ @@ -7373,6 +7679,12 @@ export type Query_Root = { branches_by_pk?: Maybe; create_events?: Maybe; /** An array relationship */ + credentials: Array; + /** An aggregate relationship */ + credentials_aggregate: Credentials_Aggregate; + /** fetch data from the table: "credentials" using primary key columns */ + credentials_by_pk?: Maybe; + /** An array relationship */ dashboards: Array; /** An aggregate relationship */ dashboards_aggregate: Dashboards_Aggregate; @@ -7575,24 +7887,24 @@ export type Query_RootAuth_Accounts_By_PkArgs = { id: Scalars["uuid"]["input"]; }; -export type Query_RootAuth_MigrationsArgs = { - distinct_on?: InputMaybe>; +export type Query_RootAuth_OptionsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootAuth_Migrations_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Query_RootAuth_Options_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_RootAuth_Migrations_By_PkArgs = { - id: Scalars["Int"]["input"]; +export type Query_RootAuth_Options_By_PkArgs = { + auth: Scalars["String"]["input"]; }; export type Query_RootAuth_ProvidersArgs = { @@ -7699,6 +8011,26 @@ export type Query_RootCreate_EventsArgs = { id: Scalars["uuid"]["input"]; }; +export type Query_RootCredentialsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootCredentials_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootCredentials_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + export type Query_RootDashboardsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -9585,14 +9917,14 @@ export type Subscription_Root = { auth_accounts_by_pk?: Maybe; /** fetch data from the table in a streaming manner: "auth.accounts" */ auth_accounts_stream: Array; - /** fetch data from the table: "auth.migrations" */ - auth_migrations: Array; - /** fetch aggregated fields from the table: "auth.migrations" */ - auth_migrations_aggregate: Auth_Migrations_Aggregate; - /** fetch data from the table: "auth.migrations" using primary key columns */ - auth_migrations_by_pk?: Maybe; - /** fetch data from the table in a streaming manner: "auth.migrations" */ - auth_migrations_stream: Array; + /** fetch data from the table: "auth_options" */ + auth_options: Array; + /** fetch aggregated fields from the table: "auth_options" */ + auth_options_aggregate: Auth_Options_Aggregate; + /** fetch data from the table: "auth_options" using primary key columns */ + auth_options_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "auth_options" */ + auth_options_stream: Array; /** fetch data from the table: "auth.providers" */ auth_providers: Array; /** fetch aggregated fields from the table: "auth.providers" */ @@ -9635,6 +9967,14 @@ export type Subscription_Root = { branches_stream: Array; create_events?: Maybe; /** An array relationship */ + credentials: Array; + /** An aggregate relationship */ + credentials_aggregate: Credentials_Aggregate; + /** fetch data from the table: "credentials" using primary key columns */ + credentials_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "credentials" */ + credentials_stream: Array; + /** An array relationship */ dashboards: Array; /** An aggregate relationship */ dashboards_aggregate: Dashboards_Aggregate; @@ -9894,30 +10234,30 @@ export type Subscription_RootAuth_Accounts_StreamArgs = { where?: InputMaybe; }; -export type Subscription_RootAuth_MigrationsArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootAuth_OptionsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_RootAuth_Migrations_AggregateArgs = { - distinct_on?: InputMaybe>; +export type Subscription_RootAuth_Options_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_RootAuth_Migrations_By_PkArgs = { - id: Scalars["Int"]["input"]; +export type Subscription_RootAuth_Options_By_PkArgs = { + auth: Scalars["String"]["input"]; }; -export type Subscription_RootAuth_Migrations_StreamArgs = { +export type Subscription_RootAuth_Options_StreamArgs = { batch_size: Scalars["Int"]["input"]; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; export type Subscription_RootAuth_ProvidersArgs = { @@ -10054,6 +10394,32 @@ export type Subscription_RootCreate_EventsArgs = { id: Scalars["uuid"]["input"]; }; +export type Subscription_RootCredentialsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootCredentials_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootCredentials_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootCredentials_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootDashboardsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -11021,19 +11387,6 @@ export type Teams_Updates = { where: Teams_Bool_Exp; }; -/** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ -export type Timestamp_Comparison_Exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - /** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ export type Timestamptz_Comparison_Exp = { _eq?: InputMaybe; @@ -11063,6 +11416,10 @@ export type Users = { branches_aggregate: Branches_Aggregate; created_at: Scalars["timestamptz"]["output"]; /** An array relationship */ + credentials: Array; + /** An aggregate relationship */ + credentials_aggregate: Credentials_Aggregate; + /** An array relationship */ dataschemas: Array; /** An aggregate relationship */ dataschemas_aggregate: Dataschemas_Aggregate; @@ -11135,6 +11492,24 @@ export type UsersBranches_AggregateArgs = { where?: InputMaybe; }; +/** columns and relationships of "users" */ +export type UsersCredentialsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "users" */ +export type UsersCredentials_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** columns and relationships of "users" */ export type UsersDataschemasArgs = { distinct_on?: InputMaybe>; @@ -11312,6 +11687,8 @@ export type Users_Bool_Exp = { branches?: InputMaybe; branches_aggregate?: InputMaybe; created_at?: InputMaybe; + credentials?: InputMaybe; + credentials_aggregate?: InputMaybe; dataschemas?: InputMaybe; dataschemas_aggregate?: InputMaybe; datasources?: InputMaybe; @@ -11346,6 +11723,7 @@ export type Users_Insert_Input = { avatar_url?: InputMaybe; branches?: InputMaybe; created_at?: InputMaybe; + credentials?: InputMaybe; dataschemas?: InputMaybe; datasources?: InputMaybe; display_name?: InputMaybe; @@ -11409,6 +11787,7 @@ export type Users_Order_By = { avatar_url?: InputMaybe; branches_aggregate?: InputMaybe; created_at?: InputMaybe; + credentials_aggregate?: InputMaybe; dataschemas_aggregate?: InputMaybe; datasources_aggregate?: InputMaybe; display_name?: InputMaybe; @@ -11948,6 +12327,89 @@ export type CreateBranchMutation = { insert_branches_one?: { __typename?: "branches"; id: any } | null; }; +export type InsertCredentialMutationVariables = Exact<{ + object: Credentials_Insert_Input; +}>; + +export type InsertCredentialMutation = { + __typename?: "mutation_root"; + insert_credentials_one?: { __typename?: "credentials"; id: any } | null; +}; + +export type UpdateCredentialMutationVariables = Exact<{ + pk_columns: Credentials_Pk_Columns_Input; + _set: Credentials_Set_Input; +}>; + +export type UpdateCredentialMutation = { + __typename?: "mutation_root"; + update_credentials_by_pk?: { __typename?: "credentials"; id: any } | null; +}; + +export type DeleteCredentialMutationVariables = Exact<{ + id: Scalars["uuid"]["input"]; +}>; + +export type DeleteCredentialMutation = { + __typename?: "mutation_root"; + delete_credentials_by_pk?: { __typename?: "credentials"; id: any } | null; +}; + +export type CredentialQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; +}>; + +export type CredentialQuery = { + __typename?: "query_root"; + credentials_by_pk?: { + __typename?: "credentials"; + id: any; + user_id: any; + datasource_id: any; + username: string; + } | null; +}; + +export type UpdateCredentialsMutationVariables = Exact<{ + id: Scalars["uuid"]["input"]; + username: Scalars["String"]["input"]; + password: Scalars["String"]["input"]; +}>; + +export type UpdateCredentialsMutation = { + __typename?: "mutation_root"; + update_sql_credentials_by_pk?: { + __typename?: "sql_credentials"; + id: any; + } | null; +}; + +export type CredentialsQueryVariables = Exact<{ + offset?: InputMaybe; + limit?: InputMaybe; +}>; + +export type CredentialsQuery = { + __typename?: "query_root"; + credentials: Array<{ + __typename?: "credentials"; + id: any; + user_id: any; + username: string; + created_at: any; + updated_at: any; + datasource: { __typename?: "datasources"; id: any; name: string }; + user: { __typename?: "users"; id: any; display_name?: string | null }; + }>; + credentials_aggregate: { + __typename?: "credentials_aggregate"; + aggregate?: { + __typename?: "credentials_aggregate_fields"; + count: number; + } | null; + }; +}; + export type BranchesFieldsFragment = { __typename?: "branches"; id: any; @@ -12141,7 +12603,7 @@ export type TeamDataQuery = { __typename?: "datasources"; id: any; name: string; - db_params_computed?: any | null; + db_params: any; db_type: string; created_at: any; updated_at: any; @@ -12245,7 +12707,7 @@ export type SubTeamDataSubscription = { __typename?: "datasources"; id: any; name: string; - db_params_computed?: any | null; + db_params: any; db_type: string; created_at: any; updated_at: any; @@ -12380,7 +12842,7 @@ export type DatasourcesQuery = { __typename?: "datasources"; id: any; name: string; - db_params_computed?: any | null; + db_params: any; db_type: string; created_at: any; updated_at: any; @@ -12416,7 +12878,7 @@ export type AllDataSourcesSubscription = { __typename?: "datasources"; id: any; name: string; - db_params_computed?: any | null; + db_params: any; db_type: string; created_at: any; updated_at: any; @@ -12465,7 +12927,7 @@ export type CurrentDataSourceQuery = { id: any; name: string; db_type: string; - db_params_computed?: any | null; + db_params: any; created_at: any; updated_at: any; } | null; @@ -12846,11 +13308,11 @@ export type DeleteSchemaMutation = { update_branches_by_pk?: { __typename?: "branches"; id: any } | null; }; -export type CredentialsQueryVariables = Exact<{ +export type SqlCredentialsQueryVariables = Exact<{ teamId: Scalars["uuid"]["input"]; }>; -export type CredentialsQuery = { +export type SqlCredentialsQuery = { __typename?: "query_root"; sql_credentials: Array<{ __typename?: "sql_credentials"; @@ -12863,16 +13325,16 @@ export type CredentialsQuery = { id: any; name: string; db_type: string; - db_params_computed?: any | null; + db_params: any; }; }>; }; -export type SubCredentialsSubscriptionVariables = Exact<{ +export type SubSqlCredentialsSubscriptionVariables = Exact<{ teamId: Scalars["uuid"]["input"]; }>; -export type SubCredentialsSubscription = { +export type SubSqlCredentialsSubscription = { __typename?: "subscription_root"; sql_credentials: Array<{ __typename?: "sql_credentials"; id: any }>; }; @@ -12889,11 +13351,11 @@ export type InsertSqlCredentialsMutation = { } | null; }; -export type DeleteCredentialsMutationVariables = Exact<{ +export type DeleteSqlCredentialsMutationVariables = Exact<{ id: Scalars["uuid"]["input"]; }>; -export type DeleteCredentialsMutation = { +export type DeleteSqlCredentialsMutation = { __typename?: "mutation_root"; delete_sql_credentials_by_pk?: { __typename?: "sql_credentials"; @@ -13370,6 +13832,128 @@ export function useCreateBranchMutation() { CreateBranchDocument ); } +export const InsertCredentialDocument = gql` + mutation InsertCredential($object: credentials_insert_input!) { + insert_credentials_one(object: $object) { + id + } + } +`; + +export function useInsertCredentialMutation() { + return Urql.useMutation< + InsertCredentialMutation, + InsertCredentialMutationVariables + >(InsertCredentialDocument); +} +export const UpdateCredentialDocument = gql` + mutation UpdateCredential( + $pk_columns: credentials_pk_columns_input! + $_set: credentials_set_input! + ) { + update_credentials_by_pk(pk_columns: $pk_columns, _set: $_set) { + id + } + } +`; + +export function useUpdateCredentialMutation() { + return Urql.useMutation< + UpdateCredentialMutation, + UpdateCredentialMutationVariables + >(UpdateCredentialDocument); +} +export const DeleteCredentialDocument = gql` + mutation DeleteCredential($id: uuid!) { + delete_credentials_by_pk(id: $id) { + id + } + } +`; + +export function useDeleteCredentialMutation() { + return Urql.useMutation< + DeleteCredentialMutation, + DeleteCredentialMutationVariables + >(DeleteCredentialDocument); +} +export const CredentialDocument = gql` + query Credential($id: uuid!) { + credentials_by_pk(id: $id) { + id + user_id + datasource_id + username + } + } +`; + +export function useCredentialQuery( + options: Omit, "query"> +) { + return Urql.useQuery({ + query: CredentialDocument, + ...options, + }); +} +export const UpdateCredentialsDocument = gql` + mutation UpdateCredentials( + $id: uuid! + $username: String! + $password: String! + ) { + update_sql_credentials_by_pk( + pk_columns: { id: $id } + _set: { username: $username, password: $password } + ) { + id + } + } +`; + +export function useUpdateCredentialsMutation() { + return Urql.useMutation< + UpdateCredentialsMutation, + UpdateCredentialsMutationVariables + >(UpdateCredentialsDocument); +} +export const CredentialsDocument = gql` + query Credentials($offset: Int, $limit: Int) { + credentials( + offset: $offset + limit: $limit + order_by: { created_at: desc } + ) { + id + user_id + username + created_at + updated_at + datasource { + id + name + } + user { + id + display_name + } + } + credentials_aggregate { + aggregate { + count + } + } + } +`; + +export function useCredentialsQuery( + options?: Omit, "query"> +) { + return Urql.useQuery({ + query: CredentialsDocument, + ...options, + }); +} export const CurrentUserDocument = gql` query CurrentUser($id: uuid!) { users_by_pk(id: $id) { @@ -13470,7 +14054,7 @@ export const TeamDataDocument = gql` datasources(order_by: { updated_at: desc }) { id name - db_params_computed + db_params db_type created_at updated_at @@ -13555,7 +14139,7 @@ export const SubTeamDataDocument = gql` datasources(order_by: { updated_at: desc }) { id name - db_params_computed + db_params db_type created_at updated_at @@ -13701,7 +14285,7 @@ export const DatasourcesDocument = gql` ) { id name - db_params_computed + db_params db_type created_at updated_at @@ -13750,7 +14334,7 @@ export const AllDataSourcesDocument = gql` ) { id name - db_params_computed + db_params db_type created_at updated_at @@ -13824,7 +14408,7 @@ export const CurrentDataSourceDocument = gql` id name db_type - db_params_computed + db_params created_at updated_at } @@ -14331,8 +14915,8 @@ export function useDeleteSchemaMutation() { DeleteSchemaDocument ); } -export const CredentialsDocument = gql` - query Credentials($teamId: uuid!) { +export const SqlCredentialsDocument = gql` + query SqlCredentials($teamId: uuid!) { sql_credentials( where: { datasource: { team_id: { _eq: $teamId } } } order_by: { created_at: desc } @@ -14348,42 +14932,42 @@ export const CredentialsDocument = gql` id name db_type - db_params_computed + db_params } } } `; -export function useCredentialsQuery( - options: Omit, "query"> +export function useSqlCredentialsQuery( + options: Omit, "query"> ) { - return Urql.useQuery({ - query: CredentialsDocument, + return Urql.useQuery({ + query: SqlCredentialsDocument, ...options, }); } -export const SubCredentialsDocument = gql` - subscription SubCredentials($teamId: uuid!) { +export const SubSqlCredentialsDocument = gql` + subscription SubSqlCredentials($teamId: uuid!) { sql_credentials(where: { datasource: { team_id: { _eq: $teamId } } }) { id } } `; -export function useSubCredentialsSubscription< - TData = SubCredentialsSubscription +export function useSubSqlCredentialsSubscription< + TData = SubSqlCredentialsSubscription >( options: Omit< - Urql.UseSubscriptionArgs, + Urql.UseSubscriptionArgs, "query" >, - handler?: Urql.SubscriptionHandler + handler?: Urql.SubscriptionHandler ) { return Urql.useSubscription< - SubCredentialsSubscription, + SubSqlCredentialsSubscription, TData, - SubCredentialsSubscriptionVariables - >({ query: SubCredentialsDocument, ...options }, handler); + SubSqlCredentialsSubscriptionVariables + >({ query: SubSqlCredentialsDocument, ...options }, handler); } export const InsertSqlCredentialsDocument = gql` mutation InsertSqlCredentials($object: sql_credentials_insert_input!) { @@ -14399,19 +14983,19 @@ export function useInsertSqlCredentialsMutation() { InsertSqlCredentialsMutationVariables >(InsertSqlCredentialsDocument); } -export const DeleteCredentialsDocument = gql` - mutation DeleteCredentials($id: uuid!) { +export const DeleteSqlCredentialsDocument = gql` + mutation DeleteSqlCredentials($id: uuid!) { delete_sql_credentials_by_pk(id: $id) { id } } `; -export function useDeleteCredentialsMutation() { +export function useDeleteSqlCredentialsMutation() { return Urql.useMutation< - DeleteCredentialsMutation, - DeleteCredentialsMutationVariables - >(DeleteCredentialsDocument); + DeleteSqlCredentialsMutation, + DeleteSqlCredentialsMutationVariables + >(DeleteSqlCredentialsDocument); } export const CreateTeamDocument = gql` mutation CreateTeam($name: String!) { @@ -14631,6 +15215,8 @@ export const namedOperations = { Query: { AllAccessLists: "AllAccessLists", AccessList: "AccessList", + Credential: "Credential", + Credentials: "Credentials", CurrentUser: "CurrentUser", TeamData: "TeamData", Datasources: "Datasources", @@ -14642,7 +15228,7 @@ export const namedOperations = { CurrentLog: "CurrentLog", AllLogs: "AllLogs", AllDataSchemas: "AllDataSchemas", - Credentials: "Credentials", + SqlCredentials: "SqlCredentials", CurrentTeam: "CurrentTeam", GetUsers: "GetUsers", versionByBranchId: "versionByBranchId", @@ -14659,6 +15245,10 @@ export const namedOperations = { SetDefaultBranch: "SetDefaultBranch", ExportData: "ExportData", CreateBranch: "CreateBranch", + InsertCredential: "InsertCredential", + UpdateCredential: "UpdateCredential", + DeleteCredential: "DeleteCredential", + UpdateCredentials: "UpdateCredentials", UpdateUserInfo: "UpdateUserInfo", CreateDataSource: "CreateDataSource", UpdateDataSource: "UpdateDataSource", @@ -14677,7 +15267,7 @@ export const namedOperations = { DeleteReport: "DeleteReport", DeleteSchema: "DeleteSchema", InsertSqlCredentials: "InsertSqlCredentials", - DeleteCredentials: "DeleteCredentials", + DeleteSqlCredentials: "DeleteSqlCredentials", CreateTeam: "CreateTeam", EditTeam: "EditTeam", DeleteTeam: "DeleteTeam", @@ -14690,7 +15280,7 @@ export const namedOperations = { AllDataSources: "AllDataSources", SubAllLogs: "SubAllLogs", AllSchemas: "AllSchemas", - SubCredentials: "SubCredentials", + SubSqlCredentials: "SubSqlCredentials", VersionDoc: "VersionDoc", VersionsCount: "VersionsCount", }, diff --git a/src/graphql/gql/credentials.gql b/src/graphql/gql/credentials.gql new file mode 100644 index 00000000..62273693 --- /dev/null +++ b/src/graphql/gql/credentials.gql @@ -0,0 +1,61 @@ +mutation InsertCredential($object: credentials_insert_input!) { + insert_credentials_one(object: $object) { + id + } +} + +mutation UpdateCredential( + $pk_columns: credentials_pk_columns_input! + $_set: credentials_set_input! +) { + update_credentials_by_pk(pk_columns: $pk_columns, _set: $_set) { + id + } +} + +mutation DeleteCredential($id: uuid!) { + delete_credentials_by_pk(id: $id) { + id + } +} + +query Credential($id: uuid!) { + credentials_by_pk(id: $id) { + id + user_id + datasource_id + username + } +} + +mutation UpdateCredentials($id: uuid!, $username: String!, $password: String!) { + update_sql_credentials_by_pk( + pk_columns: { id: $id } + _set: { username: $username, password: $password } + ) { + id + } +} + +query Credentials($offset: Int, $limit: Int) { + credentials(offset: $offset, limit: $limit, order_by: {created_at: desc}) { + id + user_id + username + created_at + updated_at + datasource { + id + name + } + user { + id + display_name + } + } + credentials_aggregate { + aggregate { + count + } + } +} diff --git a/src/graphql/gql/currentUser.gql b/src/graphql/gql/currentUser.gql index d8b98b35..6f34bb73 100644 --- a/src/graphql/gql/currentUser.gql +++ b/src/graphql/gql/currentUser.gql @@ -125,7 +125,7 @@ query TeamData($team_id: uuid!) { datasources(order_by: { updated_at: desc }) { id name - db_params_computed + db_params db_type created_at updated_at @@ -201,7 +201,7 @@ subscription SubTeamData($team_id: uuid!) { datasources(order_by: { updated_at: desc }) { id name - db_params_computed + db_params db_type created_at updated_at diff --git a/src/graphql/gql/datasources.gql b/src/graphql/gql/datasources.gql index 5cda2244..8449c95b 100644 --- a/src/graphql/gql/datasources.gql +++ b/src/graphql/gql/datasources.gql @@ -25,7 +25,7 @@ query Datasources( ) { id name - db_params_computed + db_params db_type created_at updated_at @@ -64,7 +64,7 @@ subscription AllDataSources( ) { id name - db_params_computed + db_params db_type created_at updated_at @@ -101,7 +101,7 @@ query CurrentDataSource($id: uuid!) { id name db_type - db_params_computed + db_params created_at updated_at } diff --git a/src/graphql/gql/sqlCredentials.gql b/src/graphql/gql/sqlCredentials.gql index d32a83ba..2fcdde5c 100644 --- a/src/graphql/gql/sqlCredentials.gql +++ b/src/graphql/gql/sqlCredentials.gql @@ -1,4 +1,4 @@ -query Credentials($teamId: uuid!) { +query SqlCredentials($teamId: uuid!) { sql_credentials( where: { datasource: { team_id: { _eq: $teamId } } } order_by: { created_at: desc } @@ -14,12 +14,12 @@ query Credentials($teamId: uuid!) { id name db_type - db_params_computed + db_params } } } -subscription SubCredentials($teamId: uuid!) { +subscription SubSqlCredentials($teamId: uuid!) { sql_credentials(where: { datasource: { team_id: { _eq: $teamId } } }) { id } @@ -31,7 +31,7 @@ mutation InsertSqlCredentials($object: sql_credentials_insert_input!) { } } -mutation DeleteCredentials($id: uuid!) { +mutation DeleteSqlCredentials($id: uuid!) { delete_sql_credentials_by_pk(id: $id) { id } diff --git a/src/graphql/schemas/hasura.json b/src/graphql/schemas/hasura.json index 4a88d10a..2307906b 100644 --- a/src/graphql/schemas/hasura.json +++ b/src/graphql/schemas/hasura.json @@ -12267,23 +12267,11 @@ }, { "kind": "OBJECT", - "name": "auth_migrations", - "description": "columns and relationships of \"auth.migrations\"", + "name": "auth_options", + "description": "columns and relationships of \"auth_options\"", "fields": [ { - "name": "executed_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hash", + "name": "auth", "description": null, "args": [], "type": { @@ -12299,31 +12287,173 @@ "deprecationReason": null }, { - "name": "id", - "description": null, - "args": [], + "name": "datasources", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "datasources_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "datasources_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "datasources", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "name", - "description": null, - "args": [], + "name": "datasources_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "datasources_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "datasources_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "datasources_aggregate", "ofType": null } }, @@ -12338,8 +12468,8 @@ }, { "kind": "OBJECT", - "name": "auth_migrations_aggregate", - "description": "aggregated selection of \"auth.migrations\"", + "name": "auth_options_aggregate", + "description": "aggregated selection of \"auth_options\"", "fields": [ { "name": "aggregate", @@ -12347,7 +12477,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_migrations_aggregate_fields", + "name": "auth_options_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -12368,7 +12498,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_migrations", + "name": "auth_options", "ofType": null } } @@ -12385,21 +12515,9 @@ }, { "kind": "OBJECT", - "name": "auth_migrations_aggregate_fields", - "description": "aggregate fields of \"auth.migrations\"", + "name": "auth_options_aggregate_fields", + "description": "aggregate fields of \"auth_options\"", "fields": [ - { - "name": "avg", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "auth_migrations_avg_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "count", "description": null, @@ -12415,7 +12533,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_migrations_select_column", + "name": "auth_options_select_column", "ofType": null } } @@ -12451,7 +12569,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_migrations_max_fields", + "name": "auth_options_max_fields", "ofType": null }, "isDeprecated": false, @@ -12463,114 +12581,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_migrations_min_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "stddev", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "auth_migrations_stddev_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "stddev_pop", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "auth_migrations_stddev_pop_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "stddev_samp", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "auth_migrations_stddev_samp_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sum", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "auth_migrations_sum_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "var_pop", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "auth_migrations_var_pop_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "var_samp", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "auth_migrations_var_samp_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "variance", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "auth_migrations_variance_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "auth_migrations_avg_fields", - "description": "aggregate avg on columns", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", + "name": "auth_options_min_fields", "ofType": null }, "isDeprecated": false, @@ -12584,8 +12595,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", - "description": "Boolean expression to filter rows from the table \"auth.migrations\". All fields are combined with a logical 'AND'.", + "name": "auth_options_bool_exp", + "description": "Boolean expression to filter rows from the table \"auth_options\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -12599,7 +12610,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_options_bool_exp", "ofType": null } } @@ -12611,7 +12622,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_options_bool_exp", "ofType": null }, "defaultValue": null @@ -12627,7 +12638,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_options_bool_exp", "ofType": null } } @@ -12635,17 +12646,7 @@ "defaultValue": null }, { - "name": "executed_at", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamp_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "hash", + "name": "auth", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -12655,21 +12656,21 @@ "defaultValue": null }, { - "name": "id", + "name": "datasources", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp", + "name": "datasources_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "datasources_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", + "name": "datasources_aggregate_bool_exp", "ofType": null }, "defaultValue": null @@ -12681,21 +12682,38 @@ }, { "kind": "ENUM", - "name": "auth_migrations_constraint", - "description": "unique or primary key constraints on table \"auth.migrations\"", + "name": "auth_options_constraint", + "description": "unique or primary key constraints on table \"auth_options\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "migrations_name_key", - "description": "unique or primary key constraint on columns \"name\"", + "name": "auth_options_pkey", + "description": "unique or primary key constraint on columns \"auth\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "auth_options_enum", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "private", + "description": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "migrations_pkey", - "description": "unique or primary key constraint on columns \"id\"", + "name": "shared", + "description": null, "isDeprecated": false, "deprecationReason": null } @@ -12704,68 +12722,73 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_migrations_inc_input", - "description": "input type for incrementing numeric columns in table \"auth.migrations\"", + "name": "auth_options_enum_comparison_exp", + "description": "Boolean expression to compare columns of type \"auth_options_enum\". All fields are combined with logical 'AND'.", "fields": null, "inputFields": [ { - "name": "id", + "name": "_eq", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "auth_options_enum", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "auth_migrations_insert_input", - "description": "input type for inserting data into table \"auth.migrations\"", - "fields": null, - "inputFields": [ + }, { - "name": "executed_at", + "name": "_in", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "hash", + "name": "_is_null", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "_neq", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "auth_options_enum", "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "_nin", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null + } + } }, "defaultValue": null } @@ -12775,48 +12798,43 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "auth_migrations_max_fields", - "description": "aggregate max on columns", - "fields": [ - { - "name": "executed_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, + "kind": "INPUT_OBJECT", + "name": "auth_options_insert_input", + "description": "input type for inserting data into table \"auth_options\"", + "fields": null, + "inputFields": [ { - "name": "hash", + "name": "auth", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "id", + "name": "datasources", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "datasources_arr_rel_insert_input", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_options_max_fields", + "description": "aggregate max on columns", + "fields": [ { - "name": "name", + "name": "auth", "description": null, "args": [], "type": { @@ -12835,47 +12853,11 @@ }, { "kind": "OBJECT", - "name": "auth_migrations_min_fields", + "name": "auth_options_min_fields", "description": "aggregate min on columns", "fields": [ { - "name": "executed_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hash", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", + "name": "auth", "description": null, "args": [], "type": { @@ -12894,8 +12876,8 @@ }, { "kind": "OBJECT", - "name": "auth_migrations_mutation_response", - "description": "response of any mutation on the table \"auth.migrations\"", + "name": "auth_options_mutation_response", + "description": "response of any mutation on the table \"auth_options\"", "fields": [ { "name": "affected_rows", @@ -12928,7 +12910,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_migrations", + "name": "auth_options", "ofType": null } } @@ -12945,8 +12927,43 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_migrations_on_conflict", - "description": "on_conflict condition type for table \"auth.migrations\"", + "name": "auth_options_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"auth_options\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_options_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_options_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "auth_options_on_conflict", + "description": "on_conflict condition type for table \"auth_options\"", "fields": null, "inputFields": [ { @@ -12957,7 +12974,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_migrations_constraint", + "name": "auth_options_constraint", "ofType": null } }, @@ -12977,7 +12994,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_migrations_update_column", + "name": "auth_options_update_column", "ofType": null } } @@ -12990,7 +13007,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_options_bool_exp", "ofType": null }, "defaultValue": null @@ -13002,32 +13019,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_migrations_order_by", - "description": "Ordering options when selecting data from \"auth.migrations\".", + "name": "auth_options_order_by", + "description": "Ordering options when selecting data from \"auth_options\".", "fields": null, "inputFields": [ { - "name": "executed_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "hash", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", + "name": "auth", "description": null, "type": { "kind": "ENUM", @@ -13037,11 +13034,11 @@ "defaultValue": null }, { - "name": "name", + "name": "datasources_aggregate", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "datasources_aggregate_order_by", "ofType": null }, "defaultValue": null @@ -13053,19 +13050,19 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_migrations_pk_columns_input", - "description": "primary key columns input for table: auth.migrations", + "name": "auth_options_pk_columns_input", + "description": "primary key columns input for table: auth_options", "fields": null, "inputFields": [ { - "name": "id", + "name": "auth", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, @@ -13078,32 +13075,14 @@ }, { "kind": "ENUM", - "name": "auth_migrations_select_column", - "description": "select columns of table \"auth.migrations\"", + "name": "auth_options_select_column", + "description": "select columns of table \"auth_options\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "executed_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hash", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", + "name": "auth", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -13113,42 +13092,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_migrations_set_input", - "description": "input type for updating data in table \"auth.migrations\"", + "name": "auth_options_set_input", + "description": "input type for updating data in table \"auth_options\"", "fields": null, "inputFields": [ { - "name": "executed_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "hash", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", + "name": "auth", "description": null, "type": { "kind": "SCALAR", @@ -13162,79 +13111,10 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "auth_migrations_stddev_fields", - "description": "aggregate stddev on columns", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "auth_migrations_stddev_pop_fields", - "description": "aggregate stddev_pop on columns", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "auth_migrations_stddev_samp_fields", - "description": "aggregate stddev_samp on columns", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", - "name": "auth_migrations_stream_cursor_input", - "description": "Streaming cursor of the table \"auth_migrations\"", + "name": "auth_options_stream_cursor_input", + "description": "Streaming cursor of the table \"auth_options\"", "fields": null, "inputFields": [ { @@ -13245,7 +13125,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_stream_cursor_value_input", + "name": "auth_options_stream_cursor_value_input", "ofType": null } }, @@ -13268,42 +13148,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_migrations_stream_cursor_value_input", + "name": "auth_options_stream_cursor_value_input", "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "executed_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "hash", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", + "name": "auth", "description": null, "type": { "kind": "SCALAR", @@ -13317,57 +13167,16 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "auth_migrations_sum_fields", - "description": "aggregate sum on columns", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "ENUM", - "name": "auth_migrations_update_column", - "description": "update columns of table \"auth.migrations\"", + "name": "auth_options_update_column", + "description": "update columns of table \"auth_options\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "executed_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hash", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", + "name": "auth", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -13377,26 +13186,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_migrations_updates", + "name": "auth_options_updates", "description": null, "fields": null, "inputFields": [ - { - "name": "_inc", - "description": "increments the numeric columns with given value of the filtered values", - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_migrations_inc_input", - "ofType": null - }, - "defaultValue": null - }, { "name": "_set", "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_set_input", + "name": "auth_options_set_input", "ofType": null }, "defaultValue": null @@ -13409,7 +13208,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_options_bool_exp", "ofType": null } }, @@ -13420,75 +13219,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "auth_migrations_var_pop_fields", - "description": "aggregate var_pop on columns", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "auth_migrations_var_samp_fields", - "description": "aggregate var_samp on columns", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "auth_migrations_variance_fields", - "description": "aggregate variance on columns", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", "name": "auth_providers", @@ -16643,6 +16373,180 @@ "name": "branch_statuses", "description": "columns and relationships of \"branch_statuses\"", "fields": [ + { + "name": "branches", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branches_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "branches", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "branches_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branches_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "branches_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "status", "description": null, @@ -16844,6 +16748,26 @@ }, "defaultValue": null }, + { + "name": "branches", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "branches_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, { "name": "status", "description": null, @@ -16988,6 +16912,16 @@ "description": "input type for inserting data into table \"branch_statuses\"", "fields": null, "inputFields": [ + { + "name": "branches", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, { "name": "status", "description": null, @@ -17198,6 +17132,16 @@ "description": "Ordering options when selecting data from \"branch_statuses\".", "fields": null, "inputFields": [ + { + "name": "branches_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, { "name": "status", "description": null, @@ -17305,77 +17249,2414 @@ "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_stream_cursor_value_input", - "description": "Initial value of the column from where the streaming should start", - "fields": null, - "inputFields": [ + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "branch_statuses_update_column", + "description": "update columns of table \"branch_statuses\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "branches", + "description": "columns and relationships of \"branches\"", + "fields": [ + { + "name": "branch_status", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "branch_statuses", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "datasources", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "explorations", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "explorations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "explorations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "explorations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "explorations_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "explorations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "explorations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "explorations_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branch_statuses_enum", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "versions", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "versions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "versions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "versions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "versions", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "versions_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "versions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "versions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "versions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "versions_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "branches_aggregate", + "description": "aggregated selection of \"branches\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "branches_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "branches", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branches_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "branches_aggregate_fields", + "description": "aggregate fields of \"branches\"", + "fields": [ + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branches_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "branches_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "branches_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_aggregate_order_by", + "description": "order by aggregate values of table \"branches\"", + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_min_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"branches\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "description": "Boolean expression to filter rows from the table \"branches\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "branch_status", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "explorations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "explorations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_enum_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "versions", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "versions_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "versions_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "versions_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "branches_constraint", + "description": "unique or primary key constraints on table \"branches\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "branches_datasource_id_name_key", + "description": "unique or primary key constraint on columns \"datasource_id\", \"name\"", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "branches_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_insert_input", + "description": "input type for inserting data into table \"branches\"", + "fields": null, + "inputFields": [ + { + "name": "branch_status", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "explorations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "branch_statuses_enum", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "versions", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "versions_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "branches_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_max_order_by", + "description": "order by max() on columns of table \"branches\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "branches_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_min_order_by", + "description": "order by min() on columns of table \"branches\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "branches_mutation_response", + "description": "response of any mutation on the table \"branches\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "branches", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"branches\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_on_conflict", + "description": "on_conflict condition type for table \"branches\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branches_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branches_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_order_by", + "description": "Ordering options when selecting data from \"branches\".", + "fields": null, + "inputFields": [ + { + "name": "branch_status", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "explorations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "versions_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "versions_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_pk_columns_input", + "description": "primary key columns input for table: branches", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "branches_select_column", + "description": "select columns of table \"branches\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_set_input", + "description": "input type for updating data in table \"branches\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "branch_statuses_enum", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_stream_cursor_input", + "description": "Streaming cursor of the table \"branches\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "branch_statuses_enum", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "branches_update_column", + "description": "update columns of table \"branches\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "citext", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "citext_comparison_exp", + "description": "Boolean expression to compare columns of type \"citext\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_ilike", + "description": "does the column match the given case-insensitive pattern", + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_iregex", + "description": "does the column match the given POSIX regular expression, case insensitive", + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_is_null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_like", + "description": "does the column match the given pattern", + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_neq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nilike", + "description": "does the column NOT match the given case-insensitive pattern", + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_niregex", + "description": "does the column NOT match the given POSIX regular expression, case insensitive", + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nlike", + "description": "does the column NOT match the given pattern", + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nregex", + "description": "does the column NOT match the given POSIX regular expression, case sensitive", + "type": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + }, + "defaultValue": null + }, { - "name": "status", - "description": null, + "name": "_nsimilar", + "description": "does the column NOT match the given SQL regular expression", "type": { "kind": "SCALAR", - "name": "String", + "name": "citext", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "branch_statuses_update_column", - "description": "update columns of table \"branch_statuses\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "status", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_updates", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "_set", - "description": "sets the columns of the filtered rows to the given values", + "name": "_regex", + "description": "does the column match the given POSIX regular expression, case sensitive", "type": { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_set_input", + "kind": "SCALAR", + "name": "citext", "ofType": null }, "defaultValue": null }, { - "name": "where", - "description": "filter the rows which have to be updated", + "name": "_similar", + "description": "does the column match the given SQL regular expression", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", - "ofType": null - } + "kind": "SCALAR", + "name": "citext", + "ofType": null }, "defaultValue": null } @@ -17386,19 +19667,19 @@ }, { "kind": "OBJECT", - "name": "branches", - "description": "columns and relationships of \"branches\"", + "name": "create_events", + "description": "fields of action: \"create_events\"", "fields": [ { - "name": "branch_status", - "description": "An object relationship", + "name": "created_at", + "description": "the time at which this action was created", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "branch_statuses", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null } }, @@ -17406,31 +19687,27 @@ "deprecationReason": null }, { - "name": "created_at", - "description": null, + "name": "errors", + "description": "errors related to the invocation", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } + "kind": "SCALAR", + "name": "json", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "datasource", - "description": "An object relationship", + "name": "id", + "description": "the unique id of an action", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "datasources", + "kind": "SCALAR", + "name": "uuid", "ofType": null } }, @@ -17438,189 +19715,58 @@ "deprecationReason": null }, { - "name": "datasource_id", - "description": null, + "name": "output", + "description": "the output fields of this action", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "uuid", + "kind": "OBJECT", + "name": "events_create_mutation_response", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "credentials", + "description": "columns and relationships of \"credentials\"", + "fields": [ { - "name": "explorations", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "explorations_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "explorations_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "created_at", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "explorations", - "ofType": null - } - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "explorations_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "explorations_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "explorations_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "datasource", + "description": "An object relationship", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "explorations_aggregate", + "name": "datasources", "ofType": null } }, @@ -17628,7 +19774,7 @@ "deprecationReason": null }, { - "name": "id", + "name": "datasource_id", "description": null, "args": [], "type": { @@ -17644,7 +19790,7 @@ "deprecationReason": null }, { - "name": "name", + "name": "id", "description": null, "args": [], "type": { @@ -17652,7 +19798,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "uuid", "ofType": null } }, @@ -17660,17 +19806,13 @@ "deprecationReason": null }, { - "name": "status", + "name": "password", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "branch_statuses_enum", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -17724,173 +19866,15 @@ "deprecationReason": null }, { - "name": "versions", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "versions_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "versions_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "versions_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "versions", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "versions_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "versions_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "versions_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "versions_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "username", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "versions_aggregate", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -17905,8 +19889,8 @@ }, { "kind": "OBJECT", - "name": "branches_aggregate", - "description": "aggregated selection of \"branches\"", + "name": "credentials_aggregate", + "description": "aggregated selection of \"credentials\"", "fields": [ { "name": "aggregate", @@ -17914,7 +19898,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "branches_aggregate_fields", + "name": "credentials_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -17935,7 +19919,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branches", + "name": "credentials", "ofType": null } } @@ -17952,7 +19936,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_aggregate_bool_exp", + "name": "credentials_aggregate_bool_exp", "description": null, "fields": null, "inputFields": [ @@ -17961,7 +19945,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_aggregate_bool_exp_count", + "name": "credentials_aggregate_bool_exp_count", "ofType": null }, "defaultValue": null @@ -17973,7 +19957,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_aggregate_bool_exp_count", + "name": "credentials_aggregate_bool_exp_count", "description": null, "fields": null, "inputFields": [ @@ -17988,7 +19972,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branches_select_column", + "name": "credentials_select_column", "ofType": null } } @@ -18010,7 +19994,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -18036,8 +20020,8 @@ }, { "kind": "OBJECT", - "name": "branches_aggregate_fields", - "description": "aggregate fields of \"branches\"", + "name": "credentials_aggregate_fields", + "description": "aggregate fields of \"credentials\"", "fields": [ { "name": "count", @@ -18054,7 +20038,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branches_select_column", + "name": "credentials_select_column", "ofType": null } } @@ -18090,7 +20074,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "branches_max_fields", + "name": "credentials_max_fields", "ofType": null }, "isDeprecated": false, @@ -18102,7 +20086,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "branches_min_fields", + "name": "credentials_min_fields", "ofType": null }, "isDeprecated": false, @@ -18116,8 +20100,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_aggregate_order_by", - "description": "order by aggregate values of table \"branches\"", + "name": "credentials_aggregate_order_by", + "description": "order by aggregate values of table \"credentials\"", "fields": null, "inputFields": [ { @@ -18135,7 +20119,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_max_order_by", + "name": "credentials_max_order_by", "ofType": null }, "defaultValue": null @@ -18145,7 +20129,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_min_order_by", + "name": "credentials_min_order_by", "ofType": null }, "defaultValue": null @@ -18157,8 +20141,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"branches\"", + "name": "credentials_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"credentials\"", "fields": null, "inputFields": [ { @@ -18175,7 +20159,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_insert_input", + "name": "credentials_insert_input", "ofType": null } } @@ -18188,7 +20172,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "branches_on_conflict", + "name": "credentials_on_conflict", "ofType": null }, "defaultValue": null @@ -18200,8 +20184,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", - "description": "Boolean expression to filter rows from the table \"branches\". All fields are combined with a logical 'AND'.", + "name": "credentials_bool_exp", + "description": "Boolean expression to filter rows from the table \"credentials\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -18215,7 +20199,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "credentials_bool_exp", "ofType": null } } @@ -18227,7 +20211,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -18243,23 +20227,13 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "credentials_bool_exp", "ofType": null } } }, "defaultValue": null }, - { - "name": "branch_status", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -18290,26 +20264,6 @@ }, "defaultValue": null }, - { - "name": "explorations", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "explorations_aggregate", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_aggregate_bool_exp", - "ofType": null - }, - "defaultValue": null - }, { "name": "id", "description": null, @@ -18321,7 +20275,7 @@ "defaultValue": null }, { - "name": "name", + "name": "password", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -18330,16 +20284,6 @@ }, "defaultValue": null }, - { - "name": "status", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_enum_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, { "name": "updated_at", "description": null, @@ -18371,21 +20315,11 @@ "defaultValue": null }, { - "name": "versions", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "versions_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "versions_aggregate", + "name": "username", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "versions_aggregate_bool_exp", + "name": "String_comparison_exp", "ofType": null }, "defaultValue": null @@ -18397,20 +20331,20 @@ }, { "kind": "ENUM", - "name": "branches_constraint", - "description": "unique or primary key constraints on table \"branches\"", + "name": "credentials_constraint", + "description": "unique or primary key constraints on table \"credentials\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "branches_datasource_id_name_key", - "description": "unique or primary key constraint on columns \"datasource_id\", \"name\"", + "name": "credentials_datasource_id_user_id_key", + "description": "unique or primary key constraint on columns \"user_id\", \"datasource_id\"", "isDeprecated": false, "deprecationReason": null }, { - "name": "branches_pkey", + "name": "credentials_pkey", "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null @@ -18420,20 +20354,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_insert_input", - "description": "input type for inserting data into table \"branches\"", + "name": "credentials_insert_input", + "description": "input type for inserting data into table \"credentials\"", "fields": null, "inputFields": [ - { - "name": "branch_status", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_obj_rel_insert_input", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -18464,16 +20388,6 @@ }, "defaultValue": null }, - { - "name": "explorations", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_arr_rel_insert_input", - "ofType": null - }, - "defaultValue": null - }, { "name": "id", "description": null, @@ -18485,7 +20399,7 @@ "defaultValue": null }, { - "name": "name", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -18494,16 +20408,6 @@ }, "defaultValue": null }, - { - "name": "status", - "description": null, - "type": { - "kind": "ENUM", - "name": "branch_statuses_enum", - "ofType": null - }, - "defaultValue": null - }, { "name": "updated_at", "description": null, @@ -18535,11 +20439,11 @@ "defaultValue": null }, { - "name": "versions", + "name": "username", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "versions_arr_rel_insert_input", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null @@ -18551,7 +20455,7 @@ }, { "kind": "OBJECT", - "name": "branches_max_fields", + "name": "credentials_max_fields", "description": "aggregate max on columns", "fields": [ { @@ -18591,7 +20495,7 @@ "deprecationReason": null }, { - "name": "name", + "name": "password", "description": null, "args": [], "type": { @@ -18625,6 +20529,18 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "username", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -18634,8 +20550,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_max_order_by", - "description": "order by max() on columns of table \"branches\"", + "name": "credentials_max_order_by", + "description": "order by max() on columns of table \"credentials\"", "fields": null, "inputFields": [ { @@ -18669,7 +20585,7 @@ "defaultValue": null }, { - "name": "name", + "name": "password", "description": null, "type": { "kind": "ENUM", @@ -18697,6 +20613,16 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "username", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -18705,7 +20631,7 @@ }, { "kind": "OBJECT", - "name": "branches_min_fields", + "name": "credentials_min_fields", "description": "aggregate min on columns", "fields": [ { @@ -18745,7 +20671,7 @@ "deprecationReason": null }, { - "name": "name", + "name": "password", "description": null, "args": [], "type": { @@ -18779,6 +20705,18 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "username", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -18788,8 +20726,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_min_order_by", - "description": "order by min() on columns of table \"branches\"", + "name": "credentials_min_order_by", + "description": "order by min() on columns of table \"credentials\"", "fields": null, "inputFields": [ { @@ -18823,7 +20761,7 @@ "defaultValue": null }, { - "name": "name", + "name": "password", "description": null, "type": { "kind": "ENUM", @@ -18851,6 +20789,16 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "username", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -18859,8 +20807,8 @@ }, { "kind": "OBJECT", - "name": "branches_mutation_response", - "description": "response of any mutation on the table \"branches\"", + "name": "credentials_mutation_response", + "description": "response of any mutation on the table \"credentials\"", "fields": [ { "name": "affected_rows", @@ -18893,7 +20841,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branches", + "name": "credentials", "ofType": null } } @@ -18910,43 +20858,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_obj_rel_insert_input", - "description": "input type for inserting object relation for remote table \"branches\"", - "fields": null, - "inputFields": [ - { - "name": "data", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "branches_insert_input", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "on_conflict", - "description": "upsert condition", - "type": { - "kind": "INPUT_OBJECT", - "name": "branches_on_conflict", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "branches_on_conflict", - "description": "on_conflict condition type for table \"branches\"", + "name": "credentials_on_conflict", + "description": "on_conflict condition type for table \"credentials\"", "fields": null, "inputFields": [ { @@ -18957,7 +20870,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branches_constraint", + "name": "credentials_constraint", "ofType": null } }, @@ -18977,7 +20890,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branches_update_column", + "name": "credentials_update_column", "ofType": null } } @@ -18990,7 +20903,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -19002,20 +20915,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_order_by", - "description": "Ordering options when selecting data from \"branches\".", + "name": "credentials_order_by", + "description": "Ordering options when selecting data from \"credentials\".", "fields": null, "inputFields": [ - { - "name": "branch_status", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_order_by", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -19046,16 +20949,6 @@ }, "defaultValue": null }, - { - "name": "explorations_aggregate", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_aggregate_order_by", - "ofType": null - }, - "defaultValue": null - }, { "name": "id", "description": null, @@ -19067,17 +20960,7 @@ "defaultValue": null }, { - "name": "name", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "status", + "name": "password", "description": null, "type": { "kind": "ENUM", @@ -19117,11 +21000,11 @@ "defaultValue": null }, { - "name": "versions_aggregate", + "name": "username", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "versions_aggregate_order_by", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -19133,8 +21016,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_pk_columns_input", - "description": "primary key columns input for table: branches", + "name": "credentials_pk_columns_input", + "description": "primary key columns input for table: credentials", "fields": null, "inputFields": [ { @@ -19158,8 +21041,8 @@ }, { "kind": "ENUM", - "name": "branches_select_column", - "description": "select columns of table \"branches\"", + "name": "credentials_select_column", + "description": "select columns of table \"credentials\"", "fields": null, "inputFields": null, "interfaces": null, @@ -19183,25 +21066,25 @@ "deprecationReason": null }, { - "name": "name", + "name": "password", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "status", + "name": "updated_at", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "user_id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "user_id", + "name": "username", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -19211,8 +21094,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_set_input", - "description": "input type for updating data in table \"branches\"", + "name": "credentials_set_input", + "description": "input type for updating data in table \"credentials\"", "fields": null, "inputFields": [ { @@ -19246,7 +21129,7 @@ "defaultValue": null }, { - "name": "name", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -19256,31 +21139,31 @@ "defaultValue": null }, { - "name": "status", + "name": "updated_at", "description": null, "type": { - "kind": "ENUM", - "name": "branch_statuses_enum", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "user_id", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "username", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "defaultValue": null @@ -19292,8 +21175,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_stream_cursor_input", - "description": "Streaming cursor of the table \"branches\"", + "name": "credentials_stream_cursor_input", + "description": "Streaming cursor of the table \"credentials\"", "fields": null, "inputFields": [ { @@ -19304,7 +21187,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_stream_cursor_value_input", + "name": "credentials_stream_cursor_value_input", "ofType": null } }, @@ -19327,7 +21210,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_stream_cursor_value_input", + "name": "credentials_stream_cursor_value_input", "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ @@ -19362,7 +21245,7 @@ "defaultValue": null }, { - "name": "name", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -19372,31 +21255,31 @@ "defaultValue": null }, { - "name": "status", + "name": "updated_at", "description": null, "type": { - "kind": "ENUM", - "name": "branch_statuses_enum", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "user_id", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "username", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "defaultValue": null @@ -19408,8 +21291,8 @@ }, { "kind": "ENUM", - "name": "branches_update_column", - "description": "update columns of table \"branches\"", + "name": "credentials_update_column", + "description": "update columns of table \"credentials\"", "fields": null, "inputFields": null, "interfaces": null, @@ -19433,25 +21316,25 @@ "deprecationReason": null }, { - "name": "name", + "name": "password", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "status", + "name": "updated_at", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "user_id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "user_id", + "name": "username", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -19461,7 +21344,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_updates", + "name": "credentials_updates", "description": null, "fields": null, "inputFields": [ @@ -19470,7 +21353,7 @@ "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "branches_set_input", + "name": "credentials_set_input", "ofType": null }, "defaultValue": null @@ -19483,7 +21366,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "credentials_bool_exp", "ofType": null } }, @@ -19494,304 +21377,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "SCALAR", - "name": "citext", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "citext_comparison_exp", - "description": "Boolean expression to compare columns of type \"citext\". All fields are combined with logical 'AND'.", - "fields": null, - "inputFields": [ - { - "name": "_eq", - "description": null, - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_ilike", - "description": "does the column match the given case-insensitive pattern", - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "_iregex", - "description": "does the column match the given POSIX regular expression, case insensitive", - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_is_null", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_like", - "description": "does the column match the given pattern", - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_neq", - "description": null, - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_nilike", - "description": "does the column NOT match the given case-insensitive pattern", - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "_niregex", - "description": "does the column NOT match the given POSIX regular expression, case insensitive", - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_nlike", - "description": "does the column NOT match the given pattern", - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_nregex", - "description": "does the column NOT match the given POSIX regular expression, case sensitive", - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_nsimilar", - "description": "does the column NOT match the given SQL regular expression", - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_regex", - "description": "does the column match the given POSIX regular expression, case sensitive", - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_similar", - "description": "does the column match the given SQL regular expression", - "type": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "create_events", - "description": "fields of action: \"create_events\"", - "fields": [ - { - "name": "created_at", - "description": "the time at which this action was created", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "errors", - "description": "errors related to the invocation", - "args": [], - "type": { - "kind": "SCALAR", - "name": "json", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "the unique id of an action", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "output", - "description": "the output fields of this action", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "events_create_mutation_response", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "ENUM", "name": "cursor_ordering", @@ -23697,6 +25282,38 @@ "name": "datasources", "description": "columns and relationships of \"datasources\"", "fields": [ + { + "name": "auth", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "auth_option", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_options", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "branches", "description": "An array relationship", @@ -23887,6 +25504,180 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "credentials", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "credentials", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "credentials_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "credentials_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "dataschemas", "description": "An array relationship", @@ -24088,29 +25879,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "db_params_computed", - "description": "A computed field, executes function \"hide_password\"", - "args": [ - { - "name": "path", - "description": "JSON select path", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "db_type", "description": null, @@ -25127,6 +26895,26 @@ }, "defaultValue": null }, + { + "name": "auth", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_options_enum_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "auth_option", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_options_bool_exp", + "ofType": null + }, + "defaultValue": null + }, { "name": "branches", "description": null, @@ -25158,37 +26946,47 @@ "defaultValue": null }, { - "name": "dataschemas", + "name": "credentials", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "dataschemas_aggregate", + "name": "credentials_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_aggregate_bool_exp", + "name": "credentials_aggregate_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "db_params", + "name": "dataschemas", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", + "name": "dataschemas_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "dataschemas_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_aggregate_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "db_params_computed", + "name": "db_params", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -25436,6 +27234,26 @@ "description": "input type for inserting data into table \"datasources\"", "fields": null, "inputFields": [ + { + "name": "auth", + "description": null, + "type": { + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "auth_option", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_options_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, { "name": "branches", "description": null, @@ -25456,6 +27274,16 @@ }, "defaultValue": null }, + { + "name": "credentials", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, { "name": "dataschemas", "description": null, @@ -26092,6 +27920,26 @@ "description": "Ordering options when selecting data from \"datasources\".", "fields": null, "inputFields": [ + { + "name": "auth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "auth_option", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_options_order_by", + "ofType": null + }, + "defaultValue": null + }, { "name": "branches_aggregate", "description": null, @@ -26113,27 +27961,27 @@ "defaultValue": null }, { - "name": "dataschemas_aggregate", + "name": "credentials_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_aggregate_order_by", + "name": "credentials_aggregate_order_by", "ofType": null }, "defaultValue": null }, { - "name": "db_params", + "name": "dataschemas_aggregate", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "dataschemas_aggregate_order_by", "ofType": null }, "defaultValue": null }, { - "name": "db_params_computed", + "name": "db_params", "description": null, "type": { "kind": "ENUM", @@ -26311,6 +28159,12 @@ "inputFields": null, "interfaces": null, "enumValues": [ + { + "name": "auth", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "created_at", "description": "column name", @@ -26368,6 +28222,16 @@ "description": "input type for updating data in table \"datasources\"", "fields": null, "inputFields": [ + { + "name": "auth", + "description": null, + "type": { + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null + }, + "defaultValue": null + }, { "name": "created_at", "description": null, @@ -26494,6 +28358,16 @@ "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ + { + "name": "auth", + "description": null, + "type": { + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null + }, + "defaultValue": null + }, { "name": "created_at", "description": null, @@ -26587,6 +28461,12 @@ "inputFields": null, "interfaces": null, "enumValues": [ + { + "name": "auth", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "created_at", "description": "column name", @@ -34781,8 +36661,8 @@ "deprecationReason": null }, { - "name": "delete_auth_migrations", - "description": "delete data from the table: \"auth.migrations\"", + "name": "delete_auth_options", + "description": "delete data from the table: \"auth_options\"", "args": [ { "name": "where", @@ -34792,7 +36672,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_options_bool_exp", "ofType": null } }, @@ -34801,25 +36681,25 @@ ], "type": { "kind": "OBJECT", - "name": "auth_migrations_mutation_response", + "name": "auth_options_mutation_response", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "delete_auth_migrations_by_pk", - "description": "delete single row from the table: \"auth.migrations\"", + "name": "delete_auth_options_by_pk", + "description": "delete single row from the table: \"auth_options\"", "args": [ { - "name": "id", + "name": "auth", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, @@ -34828,7 +36708,7 @@ ], "type": { "kind": "OBJECT", - "name": "auth_migrations", + "name": "auth_options", "ofType": null }, "isDeprecated": false, @@ -35104,6 +36984,60 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "delete_credentials", + "description": "delete data from the table: \"credentials\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "credentials_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_credentials_by_pk", + "description": "delete single row from the table: \"credentials\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "credentials", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "delete_dashboards", "description": "delete data from the table: \"dashboards\"", @@ -36512,8 +38446,8 @@ "deprecationReason": null }, { - "name": "insert_auth_migrations", - "description": "insert data into the table: \"auth.migrations\"", + "name": "insert_auth_options", + "description": "insert data into the table: \"auth_options\"", "args": [ { "name": "objects", @@ -36529,7 +38463,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_insert_input", + "name": "auth_options_insert_input", "ofType": null } } @@ -36542,7 +38476,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_on_conflict", + "name": "auth_options_on_conflict", "ofType": null }, "defaultValue": null @@ -36550,15 +38484,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_migrations_mutation_response", + "name": "auth_options_mutation_response", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "insert_auth_migrations_one", - "description": "insert a single row into the table: \"auth.migrations\"", + "name": "insert_auth_options_one", + "description": "insert a single row into the table: \"auth_options\"", "args": [ { "name": "object", @@ -36568,7 +38502,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_insert_input", + "name": "auth_options_insert_input", "ofType": null } }, @@ -36579,7 +38513,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_on_conflict", + "name": "auth_options_on_conflict", "ofType": null }, "defaultValue": null @@ -36587,7 +38521,7 @@ ], "type": { "kind": "OBJECT", - "name": "auth_migrations", + "name": "auth_options", "ofType": null }, "isDeprecated": false, @@ -37003,6 +38937,88 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "insert_credentials", + "description": "insert data into the table: \"credentials\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "credentials_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_credentials_one", + "description": "insert a single row into the table: \"credentials\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "credentials", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "insert_dashboards", "description": "insert data into the table: \"dashboards\"", @@ -39354,25 +41370,15 @@ "deprecationReason": null }, { - "name": "update_auth_migrations", - "description": "update data of the table: \"auth.migrations\"", + "name": "update_auth_options", + "description": "update data of the table: \"auth_options\"", "args": [ - { - "name": "_inc", - "description": "increments the numeric columns with given value of the filtered values", - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_migrations_inc_input", - "ofType": null - }, - "defaultValue": null - }, { "name": "_set", "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_set_input", + "name": "auth_options_set_input", "ofType": null }, "defaultValue": null @@ -39385,7 +41391,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_options_bool_exp", "ofType": null } }, @@ -39394,32 +41400,22 @@ ], "type": { "kind": "OBJECT", - "name": "auth_migrations_mutation_response", + "name": "auth_options_mutation_response", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "update_auth_migrations_by_pk", - "description": "update single row of the table: \"auth.migrations\"", + "name": "update_auth_options_by_pk", + "description": "update single row of the table: \"auth_options\"", "args": [ - { - "name": "_inc", - "description": "increments the numeric columns with given value of the filtered values", - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_migrations_inc_input", - "ofType": null - }, - "defaultValue": null - }, { "name": "_set", "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_set_input", + "name": "auth_options_set_input", "ofType": null }, "defaultValue": null @@ -39432,7 +41428,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_pk_columns_input", + "name": "auth_options_pk_columns_input", "ofType": null } }, @@ -39441,15 +41437,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_migrations", + "name": "auth_options", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "update_auth_migrations_many", - "description": "update multiples rows of table: \"auth.migrations\"", + "name": "update_auth_options_many", + "description": "update multiples rows of table: \"auth_options\"", "args": [ { "name": "updates", @@ -39465,7 +41461,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_updates", + "name": "auth_options_updates", "ofType": null } } @@ -39479,7 +41475,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_migrations_mutation_response", + "name": "auth_options_mutation_response", "ofType": null } }, @@ -40051,6 +42047,119 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "update_credentials", + "description": "update data of the table: \"credentials\"", + "args": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "credentials_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_credentials_by_pk", + "description": "update single row of the table: \"credentials\"", + "args": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "credentials", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_credentials_many", + "description": "update multiples rows of table: \"credentials\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "credentials_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "update_dashboards", "description": "update data of the table: \"dashboards\"", @@ -44946,7 +47055,208 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "access_lists_order_by", + "name": "access_lists_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_lists_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "access_lists_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "access_lists_by_pk", + "description": "fetch data from the table: \"access_lists\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "access_lists", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "alerts", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "alerts_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "alerts_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "alerts_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "alerts", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "alerts_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "alerts_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "alerts_order_by", "ofType": null } } @@ -44958,7 +47268,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "access_lists_bool_exp", + "name": "alerts_bool_exp", "ofType": null }, "defaultValue": null @@ -44969,7 +47279,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "access_lists_aggregate", + "name": "alerts_aggregate", "ofType": null } }, @@ -44977,8 +47287,8 @@ "deprecationReason": null }, { - "name": "access_lists_by_pk", - "description": "fetch data from the table: \"access_lists\" using primary key columns", + "name": "alerts_by_pk", + "description": "fetch data from the table: \"alerts\" using primary key columns", "args": [ { "name": "id", @@ -44997,15 +47307,15 @@ ], "type": { "kind": "OBJECT", - "name": "access_lists", + "name": "alerts", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "alerts", - "description": "An array relationship", + "name": "auth_account_providers", + "description": "fetch data from the table: \"auth.account_providers\"", "args": [ { "name": "distinct_on", @@ -45018,7 +47328,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "alerts_select_column", + "name": "auth_account_providers_select_column", "ofType": null } } @@ -45056,7 +47366,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "alerts_order_by", + "name": "auth_account_providers_order_by", "ofType": null } } @@ -45068,7 +47378,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", + "name": "auth_account_providers_bool_exp", "ofType": null }, "defaultValue": null @@ -45085,7 +47395,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "alerts", + "name": "auth_account_providers", "ofType": null } } @@ -45095,8 +47405,8 @@ "deprecationReason": null }, { - "name": "alerts_aggregate", - "description": "An aggregate relationship", + "name": "auth_account_providers_aggregate", + "description": "fetch aggregated fields from the table: \"auth.account_providers\"", "args": [ { "name": "distinct_on", @@ -45109,7 +47419,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "alerts_select_column", + "name": "auth_account_providers_select_column", "ofType": null } } @@ -45147,7 +47457,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "alerts_order_by", + "name": "auth_account_providers_order_by", "ofType": null } } @@ -45159,7 +47469,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", + "name": "auth_account_providers_bool_exp", "ofType": null }, "defaultValue": null @@ -45170,7 +47480,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "alerts_aggregate", + "name": "auth_account_providers_aggregate", "ofType": null } }, @@ -45178,8 +47488,8 @@ "deprecationReason": null }, { - "name": "alerts_by_pk", - "description": "fetch data from the table: \"alerts\" using primary key columns", + "name": "auth_account_providers_by_pk", + "description": "fetch data from the table: \"auth.account_providers\" using primary key columns", "args": [ { "name": "id", @@ -45198,15 +47508,15 @@ ], "type": { "kind": "OBJECT", - "name": "alerts", + "name": "auth_account_providers", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_account_providers", - "description": "fetch data from the table: \"auth.account_providers\"", + "name": "auth_account_roles", + "description": "fetch data from the table: \"auth.account_roles\"", "args": [ { "name": "distinct_on", @@ -45219,7 +47529,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_providers_select_column", + "name": "auth_account_roles_select_column", "ofType": null } } @@ -45257,7 +47567,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_order_by", + "name": "auth_account_roles_order_by", "ofType": null } } @@ -45269,7 +47579,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_bool_exp", + "name": "auth_account_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -45286,7 +47596,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_providers", + "name": "auth_account_roles", "ofType": null } } @@ -45296,8 +47606,8 @@ "deprecationReason": null }, { - "name": "auth_account_providers_aggregate", - "description": "fetch aggregated fields from the table: \"auth.account_providers\"", + "name": "auth_account_roles_aggregate", + "description": "fetch aggregated fields from the table: \"auth.account_roles\"", "args": [ { "name": "distinct_on", @@ -45310,7 +47620,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_providers_select_column", + "name": "auth_account_roles_select_column", "ofType": null } } @@ -45348,7 +47658,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_order_by", + "name": "auth_account_roles_order_by", "ofType": null } } @@ -45360,7 +47670,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_bool_exp", + "name": "auth_account_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -45371,7 +47681,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_providers_aggregate", + "name": "auth_account_roles_aggregate", "ofType": null } }, @@ -45379,8 +47689,8 @@ "deprecationReason": null }, { - "name": "auth_account_providers_by_pk", - "description": "fetch data from the table: \"auth.account_providers\" using primary key columns", + "name": "auth_account_roles_by_pk", + "description": "fetch data from the table: \"auth.account_roles\" using primary key columns", "args": [ { "name": "id", @@ -45399,15 +47709,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_account_providers", + "name": "auth_account_roles", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_account_roles", - "description": "fetch data from the table: \"auth.account_roles\"", + "name": "auth_accounts", + "description": "fetch data from the table: \"auth.accounts\"", "args": [ { "name": "distinct_on", @@ -45420,7 +47730,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_roles_select_column", + "name": "auth_accounts_select_column", "ofType": null } } @@ -45458,7 +47768,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_order_by", + "name": "auth_accounts_order_by", "ofType": null } } @@ -45470,7 +47780,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_bool_exp", + "name": "auth_accounts_bool_exp", "ofType": null }, "defaultValue": null @@ -45487,7 +47797,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_roles", + "name": "auth_accounts", "ofType": null } } @@ -45497,8 +47807,8 @@ "deprecationReason": null }, { - "name": "auth_account_roles_aggregate", - "description": "fetch aggregated fields from the table: \"auth.account_roles\"", + "name": "auth_accounts_aggregate", + "description": "fetch aggregated fields from the table: \"auth.accounts\"", "args": [ { "name": "distinct_on", @@ -45511,7 +47821,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_roles_select_column", + "name": "auth_accounts_select_column", "ofType": null } } @@ -45549,7 +47859,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_order_by", + "name": "auth_accounts_order_by", "ofType": null } } @@ -45561,7 +47871,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_bool_exp", + "name": "auth_accounts_bool_exp", "ofType": null }, "defaultValue": null @@ -45572,7 +47882,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_roles_aggregate", + "name": "auth_accounts_aggregate", "ofType": null } }, @@ -45580,8 +47890,8 @@ "deprecationReason": null }, { - "name": "auth_account_roles_by_pk", - "description": "fetch data from the table: \"auth.account_roles\" using primary key columns", + "name": "auth_accounts_by_pk", + "description": "fetch data from the table: \"auth.accounts\" using primary key columns", "args": [ { "name": "id", @@ -45600,15 +47910,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_account_roles", + "name": "auth_accounts", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_accounts", - "description": "fetch data from the table: \"auth.accounts\"", + "name": "auth_options", + "description": "fetch data from the table: \"auth_options\"", "args": [ { "name": "distinct_on", @@ -45621,7 +47931,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_accounts_select_column", + "name": "auth_options_select_column", "ofType": null } } @@ -45659,7 +47969,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_order_by", + "name": "auth_options_order_by", "ofType": null } } @@ -45671,7 +47981,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_bool_exp", + "name": "auth_options_bool_exp", "ofType": null }, "defaultValue": null @@ -45688,7 +47998,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_accounts", + "name": "auth_options", "ofType": null } } @@ -45698,8 +48008,8 @@ "deprecationReason": null }, { - "name": "auth_accounts_aggregate", - "description": "fetch aggregated fields from the table: \"auth.accounts\"", + "name": "auth_options_aggregate", + "description": "fetch aggregated fields from the table: \"auth_options\"", "args": [ { "name": "distinct_on", @@ -45712,7 +48022,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_accounts_select_column", + "name": "auth_options_select_column", "ofType": null } } @@ -45750,7 +48060,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_order_by", + "name": "auth_options_order_by", "ofType": null } } @@ -45762,7 +48072,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_bool_exp", + "name": "auth_options_bool_exp", "ofType": null }, "defaultValue": null @@ -45773,7 +48083,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_accounts_aggregate", + "name": "auth_options_aggregate", "ofType": null } }, @@ -45781,18 +48091,18 @@ "deprecationReason": null }, { - "name": "auth_accounts_by_pk", - "description": "fetch data from the table: \"auth.accounts\" using primary key columns", + "name": "auth_options_by_pk", + "description": "fetch data from the table: \"auth_options\" using primary key columns", "args": [ { - "name": "id", + "name": "auth", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null } }, @@ -45801,15 +48111,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_accounts", + "name": "auth_options", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_migrations", - "description": "fetch data from the table: \"auth.migrations\"", + "name": "auth_providers", + "description": "fetch data from the table: \"auth.providers\"", "args": [ { "name": "distinct_on", @@ -45822,7 +48132,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_migrations_select_column", + "name": "auth_providers_select_column", "ofType": null } } @@ -45860,7 +48170,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_order_by", + "name": "auth_providers_order_by", "ofType": null } } @@ -45872,7 +48182,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_providers_bool_exp", "ofType": null }, "defaultValue": null @@ -45889,7 +48199,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_migrations", + "name": "auth_providers", "ofType": null } } @@ -45899,8 +48209,8 @@ "deprecationReason": null }, { - "name": "auth_migrations_aggregate", - "description": "fetch aggregated fields from the table: \"auth.migrations\"", + "name": "auth_providers_aggregate", + "description": "fetch aggregated fields from the table: \"auth.providers\"", "args": [ { "name": "distinct_on", @@ -45913,7 +48223,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_migrations_select_column", + "name": "auth_providers_select_column", "ofType": null } } @@ -45951,7 +48261,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_order_by", + "name": "auth_providers_order_by", "ofType": null } } @@ -45963,7 +48273,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_providers_bool_exp", "ofType": null }, "defaultValue": null @@ -45974,7 +48284,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_migrations_aggregate", + "name": "auth_providers_aggregate", "ofType": null } }, @@ -45982,18 +48292,18 @@ "deprecationReason": null }, { - "name": "auth_migrations_by_pk", - "description": "fetch data from the table: \"auth.migrations\" using primary key columns", + "name": "auth_providers_by_pk", + "description": "fetch data from the table: \"auth.providers\" using primary key columns", "args": [ { - "name": "id", + "name": "provider", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, @@ -46002,15 +48312,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_migrations", + "name": "auth_providers", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_providers", - "description": "fetch data from the table: \"auth.providers\"", + "name": "auth_refresh_tokens", + "description": "fetch data from the table: \"auth.refresh_tokens\"", "args": [ { "name": "distinct_on", @@ -46023,7 +48333,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_providers_select_column", + "name": "auth_refresh_tokens_select_column", "ofType": null } } @@ -46061,7 +48371,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_providers_order_by", + "name": "auth_refresh_tokens_order_by", "ofType": null } } @@ -46073,7 +48383,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_providers_bool_exp", + "name": "auth_refresh_tokens_bool_exp", "ofType": null }, "defaultValue": null @@ -46090,7 +48400,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_providers", + "name": "auth_refresh_tokens", "ofType": null } } @@ -46100,8 +48410,8 @@ "deprecationReason": null }, { - "name": "auth_providers_aggregate", - "description": "fetch aggregated fields from the table: \"auth.providers\"", + "name": "auth_refresh_tokens_aggregate", + "description": "fetch aggregated fields from the table: \"auth.refresh_tokens\"", "args": [ { "name": "distinct_on", @@ -46114,7 +48424,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_providers_select_column", + "name": "auth_refresh_tokens_select_column", "ofType": null } } @@ -46152,7 +48462,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_providers_order_by", + "name": "auth_refresh_tokens_order_by", "ofType": null } } @@ -46164,7 +48474,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_providers_bool_exp", + "name": "auth_refresh_tokens_bool_exp", "ofType": null }, "defaultValue": null @@ -46175,7 +48485,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_providers_aggregate", + "name": "auth_refresh_tokens_aggregate", "ofType": null } }, @@ -46183,18 +48493,18 @@ "deprecationReason": null }, { - "name": "auth_providers_by_pk", - "description": "fetch data from the table: \"auth.providers\" using primary key columns", + "name": "auth_refresh_tokens_by_pk", + "description": "fetch data from the table: \"auth.refresh_tokens\" using primary key columns", "args": [ { - "name": "provider", + "name": "refresh_token", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "uuid", "ofType": null } }, @@ -46203,15 +48513,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_providers", + "name": "auth_refresh_tokens", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_refresh_tokens", - "description": "fetch data from the table: \"auth.refresh_tokens\"", + "name": "auth_roles", + "description": "fetch data from the table: \"auth.roles\"", "args": [ { "name": "distinct_on", @@ -46224,7 +48534,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_refresh_tokens_select_column", + "name": "auth_roles_select_column", "ofType": null } } @@ -46262,7 +48572,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_order_by", + "name": "auth_roles_order_by", "ofType": null } } @@ -46274,7 +48584,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", + "name": "auth_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -46291,7 +48601,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_refresh_tokens", + "name": "auth_roles", "ofType": null } } @@ -46301,8 +48611,8 @@ "deprecationReason": null }, { - "name": "auth_refresh_tokens_aggregate", - "description": "fetch aggregated fields from the table: \"auth.refresh_tokens\"", + "name": "auth_roles_aggregate", + "description": "fetch aggregated fields from the table: \"auth.roles\"", "args": [ { "name": "distinct_on", @@ -46315,7 +48625,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_refresh_tokens_select_column", + "name": "auth_roles_select_column", "ofType": null } } @@ -46353,7 +48663,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_order_by", + "name": "auth_roles_order_by", "ofType": null } } @@ -46365,7 +48675,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", + "name": "auth_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -46376,7 +48686,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_refresh_tokens_aggregate", + "name": "auth_roles_aggregate", "ofType": null } }, @@ -46384,18 +48694,18 @@ "deprecationReason": null }, { - "name": "auth_refresh_tokens_by_pk", - "description": "fetch data from the table: \"auth.refresh_tokens\" using primary key columns", + "name": "auth_roles_by_pk", + "description": "fetch data from the table: \"auth.roles\" using primary key columns", "args": [ { - "name": "refresh_token", + "name": "role", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null } }, @@ -46404,15 +48714,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_refresh_tokens", + "name": "auth_roles", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_roles", - "description": "fetch data from the table: \"auth.roles\"", + "name": "branch_statuses", + "description": "fetch data from the table: \"branch_statuses\"", "args": [ { "name": "distinct_on", @@ -46425,7 +48735,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_roles_select_column", + "name": "branch_statuses_select_column", "ofType": null } } @@ -46463,7 +48773,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_roles_order_by", + "name": "branch_statuses_order_by", "ofType": null } } @@ -46475,7 +48785,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_roles_bool_exp", + "name": "branch_statuses_bool_exp", "ofType": null }, "defaultValue": null @@ -46492,7 +48802,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_roles", + "name": "branch_statuses", "ofType": null } } @@ -46502,8 +48812,8 @@ "deprecationReason": null }, { - "name": "auth_roles_aggregate", - "description": "fetch aggregated fields from the table: \"auth.roles\"", + "name": "branch_statuses_aggregate", + "description": "fetch aggregated fields from the table: \"branch_statuses\"", "args": [ { "name": "distinct_on", @@ -46516,7 +48826,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_roles_select_column", + "name": "branch_statuses_select_column", "ofType": null } } @@ -46554,7 +48864,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_roles_order_by", + "name": "branch_statuses_order_by", "ofType": null } } @@ -46566,7 +48876,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_roles_bool_exp", + "name": "branch_statuses_bool_exp", "ofType": null }, "defaultValue": null @@ -46577,7 +48887,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_roles_aggregate", + "name": "branch_statuses_aggregate", "ofType": null } }, @@ -46585,11 +48895,11 @@ "deprecationReason": null }, { - "name": "auth_roles_by_pk", - "description": "fetch data from the table: \"auth.roles\" using primary key columns", + "name": "branch_statuses_by_pk", + "description": "fetch data from the table: \"branch_statuses\" using primary key columns", "args": [ { - "name": "role", + "name": "status", "description": null, "type": { "kind": "NON_NULL", @@ -46605,15 +48915,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_roles", + "name": "branch_statuses", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "branch_statuses", - "description": "fetch data from the table: \"branch_statuses\"", + "name": "branches", + "description": "An array relationship", "args": [ { "name": "distinct_on", @@ -46626,7 +48936,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branch_statuses_select_column", + "name": "branches_select_column", "ofType": null } } @@ -46664,7 +48974,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_order_by", + "name": "branches_order_by", "ofType": null } } @@ -46676,7 +48986,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", + "name": "branches_bool_exp", "ofType": null }, "defaultValue": null @@ -46693,7 +49003,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branch_statuses", + "name": "branches", "ofType": null } } @@ -46703,8 +49013,8 @@ "deprecationReason": null }, { - "name": "branch_statuses_aggregate", - "description": "fetch aggregated fields from the table: \"branch_statuses\"", + "name": "branches_aggregate", + "description": "An aggregate relationship", "args": [ { "name": "distinct_on", @@ -46717,7 +49027,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branch_statuses_select_column", + "name": "branches_select_column", "ofType": null } } @@ -46755,7 +49065,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_order_by", + "name": "branches_order_by", "ofType": null } } @@ -46767,7 +49077,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", + "name": "branches_bool_exp", "ofType": null }, "defaultValue": null @@ -46778,7 +49088,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branch_statuses_aggregate", + "name": "branches_aggregate", "ofType": null } }, @@ -46786,18 +49096,18 @@ "deprecationReason": null }, { - "name": "branch_statuses_by_pk", - "description": "fetch data from the table: \"branch_statuses\" using primary key columns", + "name": "branches_by_pk", + "description": "fetch data from the table: \"branches\" using primary key columns", "args": [ { - "name": "status", + "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "uuid", "ofType": null } }, @@ -46806,14 +49116,41 @@ ], "type": { "kind": "OBJECT", - "name": "branch_statuses", + "name": "branches", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "branches", + "name": "create_events", + "description": null, + "args": [ + { + "name": "id", + "description": "the unique id of an action", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "create_events", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "credentials", "description": "An array relationship", "args": [ { @@ -46827,7 +49164,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branches_select_column", + "name": "credentials_select_column", "ofType": null } } @@ -46865,7 +49202,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_order_by", + "name": "credentials_order_by", "ofType": null } } @@ -46877,7 +49214,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -46894,7 +49231,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branches", + "name": "credentials", "ofType": null } } @@ -46904,7 +49241,7 @@ "deprecationReason": null }, { - "name": "branches_aggregate", + "name": "credentials_aggregate", "description": "An aggregate relationship", "args": [ { @@ -46918,7 +49255,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branches_select_column", + "name": "credentials_select_column", "ofType": null } } @@ -46956,7 +49293,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_order_by", + "name": "credentials_order_by", "ofType": null } } @@ -46968,7 +49305,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -46979,7 +49316,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branches_aggregate", + "name": "credentials_aggregate", "ofType": null } }, @@ -46987,8 +49324,8 @@ "deprecationReason": null }, { - "name": "branches_by_pk", - "description": "fetch data from the table: \"branches\" using primary key columns", + "name": "credentials_by_pk", + "description": "fetch data from the table: \"credentials\" using primary key columns", "args": [ { "name": "id", @@ -47007,34 +49344,7 @@ ], "type": { "kind": "OBJECT", - "name": "branches", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "create_events", - "description": null, - "args": [ - { - "name": "id", - "description": "the unique id of an action", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "create_events", + "name": "credentials", "ofType": null }, "isDeprecated": false, @@ -60271,7 +62581,275 @@ "deprecationReason": null }, { - "name": "access_lists_aggregate", + "name": "access_lists_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "access_lists_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_lists_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_lists_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "access_lists_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "access_lists_by_pk", + "description": "fetch data from the table: \"access_lists\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "access_lists", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "access_lists_stream", + "description": "fetch data from the table in a streaming manner: \"access_lists\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_lists_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_lists_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "access_lists", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "alerts", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "alerts_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "alerts_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "alerts_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "alerts", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "alerts_aggregate", "description": "An aggregate relationship", "args": [ { @@ -60285,7 +62863,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "access_lists_select_column", + "name": "alerts_select_column", "ofType": null } } @@ -60323,7 +62901,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "access_lists_order_by", + "name": "alerts_order_by", "ofType": null } } @@ -60335,7 +62913,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "access_lists_bool_exp", + "name": "alerts_bool_exp", "ofType": null }, "defaultValue": null @@ -60346,7 +62924,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "access_lists_aggregate", + "name": "alerts_aggregate", "ofType": null } }, @@ -60354,8 +62932,8 @@ "deprecationReason": null }, { - "name": "access_lists_by_pk", - "description": "fetch data from the table: \"access_lists\" using primary key columns", + "name": "alerts_by_pk", + "description": "fetch data from the table: \"alerts\" using primary key columns", "args": [ { "name": "id", @@ -60374,15 +62952,15 @@ ], "type": { "kind": "OBJECT", - "name": "access_lists", + "name": "alerts", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "access_lists_stream", - "description": "fetch data from the table in a streaming manner: \"access_lists\"", + "name": "alerts_stream", + "description": "fetch data from the table in a streaming manner: \"alerts\"", "args": [ { "name": "batch_size", @@ -60409,7 +62987,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "access_lists_stream_cursor_input", + "name": "alerts_stream_cursor_input", "ofType": null } } @@ -60421,7 +62999,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "access_lists_bool_exp", + "name": "alerts_bool_exp", "ofType": null }, "defaultValue": null @@ -60438,7 +63016,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "access_lists", + "name": "alerts", "ofType": null } } @@ -60448,8 +63026,8 @@ "deprecationReason": null }, { - "name": "alerts", - "description": "An array relationship", + "name": "auth_account_providers", + "description": "fetch data from the table: \"auth.account_providers\"", "args": [ { "name": "distinct_on", @@ -60462,7 +63040,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "alerts_select_column", + "name": "auth_account_providers_select_column", "ofType": null } } @@ -60500,7 +63078,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "alerts_order_by", + "name": "auth_account_providers_order_by", "ofType": null } } @@ -60512,7 +63090,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", + "name": "auth_account_providers_bool_exp", "ofType": null }, "defaultValue": null @@ -60529,7 +63107,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "alerts", + "name": "auth_account_providers", "ofType": null } } @@ -60539,8 +63117,8 @@ "deprecationReason": null }, { - "name": "alerts_aggregate", - "description": "An aggregate relationship", + "name": "auth_account_providers_aggregate", + "description": "fetch aggregated fields from the table: \"auth.account_providers\"", "args": [ { "name": "distinct_on", @@ -60553,7 +63131,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "alerts_select_column", + "name": "auth_account_providers_select_column", "ofType": null } } @@ -60591,7 +63169,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "alerts_order_by", + "name": "auth_account_providers_order_by", "ofType": null } } @@ -60603,7 +63181,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", + "name": "auth_account_providers_bool_exp", "ofType": null }, "defaultValue": null @@ -60614,7 +63192,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "alerts_aggregate", + "name": "auth_account_providers_aggregate", "ofType": null } }, @@ -60622,8 +63200,8 @@ "deprecationReason": null }, { - "name": "alerts_by_pk", - "description": "fetch data from the table: \"alerts\" using primary key columns", + "name": "auth_account_providers_by_pk", + "description": "fetch data from the table: \"auth.account_providers\" using primary key columns", "args": [ { "name": "id", @@ -60642,15 +63220,15 @@ ], "type": { "kind": "OBJECT", - "name": "alerts", + "name": "auth_account_providers", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "alerts_stream", - "description": "fetch data from the table in a streaming manner: \"alerts\"", + "name": "auth_account_providers_stream", + "description": "fetch data from the table in a streaming manner: \"auth.account_providers\"", "args": [ { "name": "batch_size", @@ -60677,7 +63255,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "alerts_stream_cursor_input", + "name": "auth_account_providers_stream_cursor_input", "ofType": null } } @@ -60689,7 +63267,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", + "name": "auth_account_providers_bool_exp", "ofType": null }, "defaultValue": null @@ -60706,7 +63284,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "alerts", + "name": "auth_account_providers", "ofType": null } } @@ -60716,8 +63294,8 @@ "deprecationReason": null }, { - "name": "auth_account_providers", - "description": "fetch data from the table: \"auth.account_providers\"", + "name": "auth_account_roles", + "description": "fetch data from the table: \"auth.account_roles\"", "args": [ { "name": "distinct_on", @@ -60730,7 +63308,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_providers_select_column", + "name": "auth_account_roles_select_column", "ofType": null } } @@ -60768,7 +63346,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_order_by", + "name": "auth_account_roles_order_by", "ofType": null } } @@ -60780,7 +63358,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_bool_exp", + "name": "auth_account_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -60797,7 +63375,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_providers", + "name": "auth_account_roles", "ofType": null } } @@ -60807,8 +63385,8 @@ "deprecationReason": null }, { - "name": "auth_account_providers_aggregate", - "description": "fetch aggregated fields from the table: \"auth.account_providers\"", + "name": "auth_account_roles_aggregate", + "description": "fetch aggregated fields from the table: \"auth.account_roles\"", "args": [ { "name": "distinct_on", @@ -60821,7 +63399,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_providers_select_column", + "name": "auth_account_roles_select_column", "ofType": null } } @@ -60859,7 +63437,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_order_by", + "name": "auth_account_roles_order_by", "ofType": null } } @@ -60871,7 +63449,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_bool_exp", + "name": "auth_account_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -60882,7 +63460,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_providers_aggregate", + "name": "auth_account_roles_aggregate", "ofType": null } }, @@ -60890,8 +63468,8 @@ "deprecationReason": null }, { - "name": "auth_account_providers_by_pk", - "description": "fetch data from the table: \"auth.account_providers\" using primary key columns", + "name": "auth_account_roles_by_pk", + "description": "fetch data from the table: \"auth.account_roles\" using primary key columns", "args": [ { "name": "id", @@ -60910,15 +63488,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_account_providers", + "name": "auth_account_roles", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_account_providers_stream", - "description": "fetch data from the table in a streaming manner: \"auth.account_providers\"", + "name": "auth_account_roles_stream", + "description": "fetch data from the table in a streaming manner: \"auth.account_roles\"", "args": [ { "name": "batch_size", @@ -60945,7 +63523,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_stream_cursor_input", + "name": "auth_account_roles_stream_cursor_input", "ofType": null } } @@ -60957,7 +63535,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_bool_exp", + "name": "auth_account_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -60974,7 +63552,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_providers", + "name": "auth_account_roles", "ofType": null } } @@ -60984,8 +63562,8 @@ "deprecationReason": null }, { - "name": "auth_account_roles", - "description": "fetch data from the table: \"auth.account_roles\"", + "name": "auth_accounts", + "description": "fetch data from the table: \"auth.accounts\"", "args": [ { "name": "distinct_on", @@ -60998,7 +63576,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_roles_select_column", + "name": "auth_accounts_select_column", "ofType": null } } @@ -61036,7 +63614,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_order_by", + "name": "auth_accounts_order_by", "ofType": null } } @@ -61048,7 +63626,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_bool_exp", + "name": "auth_accounts_bool_exp", "ofType": null }, "defaultValue": null @@ -61065,7 +63643,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_roles", + "name": "auth_accounts", "ofType": null } } @@ -61075,8 +63653,8 @@ "deprecationReason": null }, { - "name": "auth_account_roles_aggregate", - "description": "fetch aggregated fields from the table: \"auth.account_roles\"", + "name": "auth_accounts_aggregate", + "description": "fetch aggregated fields from the table: \"auth.accounts\"", "args": [ { "name": "distinct_on", @@ -61089,7 +63667,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_roles_select_column", + "name": "auth_accounts_select_column", "ofType": null } } @@ -61127,7 +63705,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_order_by", + "name": "auth_accounts_order_by", "ofType": null } } @@ -61139,7 +63717,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_bool_exp", + "name": "auth_accounts_bool_exp", "ofType": null }, "defaultValue": null @@ -61150,7 +63728,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_roles_aggregate", + "name": "auth_accounts_aggregate", "ofType": null } }, @@ -61158,8 +63736,8 @@ "deprecationReason": null }, { - "name": "auth_account_roles_by_pk", - "description": "fetch data from the table: \"auth.account_roles\" using primary key columns", + "name": "auth_accounts_by_pk", + "description": "fetch data from the table: \"auth.accounts\" using primary key columns", "args": [ { "name": "id", @@ -61178,15 +63756,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_account_roles", + "name": "auth_accounts", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_account_roles_stream", - "description": "fetch data from the table in a streaming manner: \"auth.account_roles\"", + "name": "auth_accounts_stream", + "description": "fetch data from the table in a streaming manner: \"auth.accounts\"", "args": [ { "name": "batch_size", @@ -61213,7 +63791,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_stream_cursor_input", + "name": "auth_accounts_stream_cursor_input", "ofType": null } } @@ -61225,7 +63803,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_bool_exp", + "name": "auth_accounts_bool_exp", "ofType": null }, "defaultValue": null @@ -61242,7 +63820,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_roles", + "name": "auth_accounts", "ofType": null } } @@ -61252,8 +63830,8 @@ "deprecationReason": null }, { - "name": "auth_accounts", - "description": "fetch data from the table: \"auth.accounts\"", + "name": "auth_options", + "description": "fetch data from the table: \"auth_options\"", "args": [ { "name": "distinct_on", @@ -61266,7 +63844,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_accounts_select_column", + "name": "auth_options_select_column", "ofType": null } } @@ -61304,7 +63882,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_order_by", + "name": "auth_options_order_by", "ofType": null } } @@ -61316,7 +63894,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_bool_exp", + "name": "auth_options_bool_exp", "ofType": null }, "defaultValue": null @@ -61333,7 +63911,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_accounts", + "name": "auth_options", "ofType": null } } @@ -61343,8 +63921,8 @@ "deprecationReason": null }, { - "name": "auth_accounts_aggregate", - "description": "fetch aggregated fields from the table: \"auth.accounts\"", + "name": "auth_options_aggregate", + "description": "fetch aggregated fields from the table: \"auth_options\"", "args": [ { "name": "distinct_on", @@ -61357,7 +63935,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_accounts_select_column", + "name": "auth_options_select_column", "ofType": null } } @@ -61395,7 +63973,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_order_by", + "name": "auth_options_order_by", "ofType": null } } @@ -61407,7 +63985,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_bool_exp", + "name": "auth_options_bool_exp", "ofType": null }, "defaultValue": null @@ -61418,7 +63996,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_accounts_aggregate", + "name": "auth_options_aggregate", "ofType": null } }, @@ -61426,18 +64004,18 @@ "deprecationReason": null }, { - "name": "auth_accounts_by_pk", - "description": "fetch data from the table: \"auth.accounts\" using primary key columns", + "name": "auth_options_by_pk", + "description": "fetch data from the table: \"auth_options\" using primary key columns", "args": [ { - "name": "id", + "name": "auth", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null } }, @@ -61446,15 +64024,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_accounts", + "name": "auth_options", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_accounts_stream", - "description": "fetch data from the table in a streaming manner: \"auth.accounts\"", + "name": "auth_options_stream", + "description": "fetch data from the table in a streaming manner: \"auth_options\"", "args": [ { "name": "batch_size", @@ -61481,7 +64059,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_stream_cursor_input", + "name": "auth_options_stream_cursor_input", "ofType": null } } @@ -61493,7 +64071,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_bool_exp", + "name": "auth_options_bool_exp", "ofType": null }, "defaultValue": null @@ -61510,7 +64088,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_accounts", + "name": "auth_options", "ofType": null } } @@ -61520,8 +64098,8 @@ "deprecationReason": null }, { - "name": "auth_migrations", - "description": "fetch data from the table: \"auth.migrations\"", + "name": "auth_providers", + "description": "fetch data from the table: \"auth.providers\"", "args": [ { "name": "distinct_on", @@ -61534,7 +64112,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_migrations_select_column", + "name": "auth_providers_select_column", "ofType": null } } @@ -61572,7 +64150,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_order_by", + "name": "auth_providers_order_by", "ofType": null } } @@ -61584,7 +64162,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_providers_bool_exp", "ofType": null }, "defaultValue": null @@ -61601,7 +64179,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_migrations", + "name": "auth_providers", "ofType": null } } @@ -61611,8 +64189,8 @@ "deprecationReason": null }, { - "name": "auth_migrations_aggregate", - "description": "fetch aggregated fields from the table: \"auth.migrations\"", + "name": "auth_providers_aggregate", + "description": "fetch aggregated fields from the table: \"auth.providers\"", "args": [ { "name": "distinct_on", @@ -61625,7 +64203,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_migrations_select_column", + "name": "auth_providers_select_column", "ofType": null } } @@ -61663,7 +64241,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_order_by", + "name": "auth_providers_order_by", "ofType": null } } @@ -61675,7 +64253,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_providers_bool_exp", "ofType": null }, "defaultValue": null @@ -61686,7 +64264,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_migrations_aggregate", + "name": "auth_providers_aggregate", "ofType": null } }, @@ -61694,18 +64272,18 @@ "deprecationReason": null }, { - "name": "auth_migrations_by_pk", - "description": "fetch data from the table: \"auth.migrations\" using primary key columns", + "name": "auth_providers_by_pk", + "description": "fetch data from the table: \"auth.providers\" using primary key columns", "args": [ { - "name": "id", + "name": "provider", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, @@ -61714,15 +64292,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_migrations", + "name": "auth_providers", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_migrations_stream", - "description": "fetch data from the table in a streaming manner: \"auth.migrations\"", + "name": "auth_providers_stream", + "description": "fetch data from the table in a streaming manner: \"auth.providers\"", "args": [ { "name": "batch_size", @@ -61749,7 +64327,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_stream_cursor_input", + "name": "auth_providers_stream_cursor_input", "ofType": null } } @@ -61761,7 +64339,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_migrations_bool_exp", + "name": "auth_providers_bool_exp", "ofType": null }, "defaultValue": null @@ -61778,7 +64356,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_migrations", + "name": "auth_providers", "ofType": null } } @@ -61788,8 +64366,8 @@ "deprecationReason": null }, { - "name": "auth_providers", - "description": "fetch data from the table: \"auth.providers\"", + "name": "auth_refresh_tokens", + "description": "fetch data from the table: \"auth.refresh_tokens\"", "args": [ { "name": "distinct_on", @@ -61802,7 +64380,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_providers_select_column", + "name": "auth_refresh_tokens_select_column", "ofType": null } } @@ -61840,7 +64418,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_providers_order_by", + "name": "auth_refresh_tokens_order_by", "ofType": null } } @@ -61852,7 +64430,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_providers_bool_exp", + "name": "auth_refresh_tokens_bool_exp", "ofType": null }, "defaultValue": null @@ -61869,7 +64447,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_providers", + "name": "auth_refresh_tokens", "ofType": null } } @@ -61879,8 +64457,8 @@ "deprecationReason": null }, { - "name": "auth_providers_aggregate", - "description": "fetch aggregated fields from the table: \"auth.providers\"", + "name": "auth_refresh_tokens_aggregate", + "description": "fetch aggregated fields from the table: \"auth.refresh_tokens\"", "args": [ { "name": "distinct_on", @@ -61893,7 +64471,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_providers_select_column", + "name": "auth_refresh_tokens_select_column", "ofType": null } } @@ -61931,7 +64509,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_providers_order_by", + "name": "auth_refresh_tokens_order_by", "ofType": null } } @@ -61943,7 +64521,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_providers_bool_exp", + "name": "auth_refresh_tokens_bool_exp", "ofType": null }, "defaultValue": null @@ -61954,7 +64532,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_providers_aggregate", + "name": "auth_refresh_tokens_aggregate", "ofType": null } }, @@ -61962,18 +64540,18 @@ "deprecationReason": null }, { - "name": "auth_providers_by_pk", - "description": "fetch data from the table: \"auth.providers\" using primary key columns", + "name": "auth_refresh_tokens_by_pk", + "description": "fetch data from the table: \"auth.refresh_tokens\" using primary key columns", "args": [ { - "name": "provider", + "name": "refresh_token", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "uuid", "ofType": null } }, @@ -61982,15 +64560,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_providers", + "name": "auth_refresh_tokens", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_providers_stream", - "description": "fetch data from the table in a streaming manner: \"auth.providers\"", + "name": "auth_refresh_tokens_stream", + "description": "fetch data from the table in a streaming manner: \"auth.refresh_tokens\"", "args": [ { "name": "batch_size", @@ -62017,7 +64595,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_providers_stream_cursor_input", + "name": "auth_refresh_tokens_stream_cursor_input", "ofType": null } } @@ -62029,7 +64607,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_providers_bool_exp", + "name": "auth_refresh_tokens_bool_exp", "ofType": null }, "defaultValue": null @@ -62046,7 +64624,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_providers", + "name": "auth_refresh_tokens", "ofType": null } } @@ -62056,8 +64634,8 @@ "deprecationReason": null }, { - "name": "auth_refresh_tokens", - "description": "fetch data from the table: \"auth.refresh_tokens\"", + "name": "auth_roles", + "description": "fetch data from the table: \"auth.roles\"", "args": [ { "name": "distinct_on", @@ -62070,7 +64648,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_refresh_tokens_select_column", + "name": "auth_roles_select_column", "ofType": null } } @@ -62108,7 +64686,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_order_by", + "name": "auth_roles_order_by", "ofType": null } } @@ -62120,7 +64698,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", + "name": "auth_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -62137,7 +64715,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_refresh_tokens", + "name": "auth_roles", "ofType": null } } @@ -62147,8 +64725,8 @@ "deprecationReason": null }, { - "name": "auth_refresh_tokens_aggregate", - "description": "fetch aggregated fields from the table: \"auth.refresh_tokens\"", + "name": "auth_roles_aggregate", + "description": "fetch aggregated fields from the table: \"auth.roles\"", "args": [ { "name": "distinct_on", @@ -62161,7 +64739,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_refresh_tokens_select_column", + "name": "auth_roles_select_column", "ofType": null } } @@ -62199,7 +64777,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_order_by", + "name": "auth_roles_order_by", "ofType": null } } @@ -62211,7 +64789,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", + "name": "auth_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -62222,7 +64800,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_refresh_tokens_aggregate", + "name": "auth_roles_aggregate", "ofType": null } }, @@ -62230,18 +64808,18 @@ "deprecationReason": null }, { - "name": "auth_refresh_tokens_by_pk", - "description": "fetch data from the table: \"auth.refresh_tokens\" using primary key columns", + "name": "auth_roles_by_pk", + "description": "fetch data from the table: \"auth.roles\" using primary key columns", "args": [ { - "name": "refresh_token", + "name": "role", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null } }, @@ -62250,15 +64828,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_refresh_tokens", + "name": "auth_roles", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_refresh_tokens_stream", - "description": "fetch data from the table in a streaming manner: \"auth.refresh_tokens\"", + "name": "auth_roles_stream", + "description": "fetch data from the table in a streaming manner: \"auth.roles\"", "args": [ { "name": "batch_size", @@ -62285,7 +64863,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_stream_cursor_input", + "name": "auth_roles_stream_cursor_input", "ofType": null } } @@ -62297,7 +64875,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", + "name": "auth_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -62314,7 +64892,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_refresh_tokens", + "name": "auth_roles", "ofType": null } } @@ -62324,8 +64902,8 @@ "deprecationReason": null }, { - "name": "auth_roles", - "description": "fetch data from the table: \"auth.roles\"", + "name": "branch_statuses", + "description": "fetch data from the table: \"branch_statuses\"", "args": [ { "name": "distinct_on", @@ -62338,7 +64916,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_roles_select_column", + "name": "branch_statuses_select_column", "ofType": null } } @@ -62376,7 +64954,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_roles_order_by", + "name": "branch_statuses_order_by", "ofType": null } } @@ -62388,7 +64966,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_roles_bool_exp", + "name": "branch_statuses_bool_exp", "ofType": null }, "defaultValue": null @@ -62405,7 +64983,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_roles", + "name": "branch_statuses", "ofType": null } } @@ -62415,8 +64993,8 @@ "deprecationReason": null }, { - "name": "auth_roles_aggregate", - "description": "fetch aggregated fields from the table: \"auth.roles\"", + "name": "branch_statuses_aggregate", + "description": "fetch aggregated fields from the table: \"branch_statuses\"", "args": [ { "name": "distinct_on", @@ -62429,7 +65007,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_roles_select_column", + "name": "branch_statuses_select_column", "ofType": null } } @@ -62467,7 +65045,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_roles_order_by", + "name": "branch_statuses_order_by", "ofType": null } } @@ -62479,7 +65057,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_roles_bool_exp", + "name": "branch_statuses_bool_exp", "ofType": null }, "defaultValue": null @@ -62490,7 +65068,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_roles_aggregate", + "name": "branch_statuses_aggregate", "ofType": null } }, @@ -62498,11 +65076,11 @@ "deprecationReason": null }, { - "name": "auth_roles_by_pk", - "description": "fetch data from the table: \"auth.roles\" using primary key columns", + "name": "branch_statuses_by_pk", + "description": "fetch data from the table: \"branch_statuses\" using primary key columns", "args": [ { - "name": "role", + "name": "status", "description": null, "type": { "kind": "NON_NULL", @@ -62518,15 +65096,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_roles", + "name": "branch_statuses", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_roles_stream", - "description": "fetch data from the table in a streaming manner: \"auth.roles\"", + "name": "branch_statuses_stream", + "description": "fetch data from the table in a streaming manner: \"branch_statuses\"", "args": [ { "name": "batch_size", @@ -62553,7 +65131,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_roles_stream_cursor_input", + "name": "branch_statuses_stream_cursor_input", "ofType": null } } @@ -62565,7 +65143,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_roles_bool_exp", + "name": "branch_statuses_bool_exp", "ofType": null }, "defaultValue": null @@ -62582,7 +65160,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_roles", + "name": "branch_statuses", "ofType": null } } @@ -62592,8 +65170,8 @@ "deprecationReason": null }, { - "name": "branch_statuses", - "description": "fetch data from the table: \"branch_statuses\"", + "name": "branches", + "description": "An array relationship", "args": [ { "name": "distinct_on", @@ -62606,7 +65184,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branch_statuses_select_column", + "name": "branches_select_column", "ofType": null } } @@ -62644,7 +65222,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_order_by", + "name": "branches_order_by", "ofType": null } } @@ -62656,7 +65234,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", + "name": "branches_bool_exp", "ofType": null }, "defaultValue": null @@ -62673,7 +65251,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branch_statuses", + "name": "branches", "ofType": null } } @@ -62683,8 +65261,8 @@ "deprecationReason": null }, { - "name": "branch_statuses_aggregate", - "description": "fetch aggregated fields from the table: \"branch_statuses\"", + "name": "branches_aggregate", + "description": "An aggregate relationship", "args": [ { "name": "distinct_on", @@ -62697,7 +65275,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branch_statuses_select_column", + "name": "branches_select_column", "ofType": null } } @@ -62735,7 +65313,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_order_by", + "name": "branches_order_by", "ofType": null } } @@ -62747,7 +65325,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", + "name": "branches_bool_exp", "ofType": null }, "defaultValue": null @@ -62758,7 +65336,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branch_statuses_aggregate", + "name": "branches_aggregate", "ofType": null } }, @@ -62766,18 +65344,18 @@ "deprecationReason": null }, { - "name": "branch_statuses_by_pk", - "description": "fetch data from the table: \"branch_statuses\" using primary key columns", + "name": "branches_by_pk", + "description": "fetch data from the table: \"branches\" using primary key columns", "args": [ { - "name": "status", + "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "uuid", "ofType": null } }, @@ -62786,15 +65364,15 @@ ], "type": { "kind": "OBJECT", - "name": "branch_statuses", + "name": "branches", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "branch_statuses_stream", - "description": "fetch data from the table in a streaming manner: \"branch_statuses\"", + "name": "branches_stream", + "description": "fetch data from the table in a streaming manner: \"branches\"", "args": [ { "name": "batch_size", @@ -62821,7 +65399,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_stream_cursor_input", + "name": "branches_stream_cursor_input", "ofType": null } } @@ -62833,7 +65411,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", + "name": "branches_bool_exp", "ofType": null }, "defaultValue": null @@ -62850,7 +65428,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branch_statuses", + "name": "branches", "ofType": null } } @@ -62860,7 +65438,34 @@ "deprecationReason": null }, { - "name": "branches", + "name": "create_events", + "description": null, + "args": [ + { + "name": "id", + "description": "the unique id of an action", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "create_events", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "credentials", "description": "An array relationship", "args": [ { @@ -62874,7 +65479,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branches_select_column", + "name": "credentials_select_column", "ofType": null } } @@ -62912,7 +65517,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_order_by", + "name": "credentials_order_by", "ofType": null } } @@ -62924,7 +65529,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -62941,7 +65546,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branches", + "name": "credentials", "ofType": null } } @@ -62951,7 +65556,7 @@ "deprecationReason": null }, { - "name": "branches_aggregate", + "name": "credentials_aggregate", "description": "An aggregate relationship", "args": [ { @@ -62965,7 +65570,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branches_select_column", + "name": "credentials_select_column", "ofType": null } } @@ -63003,7 +65608,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_order_by", + "name": "credentials_order_by", "ofType": null } } @@ -63015,7 +65620,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -63026,7 +65631,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branches_aggregate", + "name": "credentials_aggregate", "ofType": null } }, @@ -63034,8 +65639,8 @@ "deprecationReason": null }, { - "name": "branches_by_pk", - "description": "fetch data from the table: \"branches\" using primary key columns", + "name": "credentials_by_pk", + "description": "fetch data from the table: \"credentials\" using primary key columns", "args": [ { "name": "id", @@ -63054,15 +65659,15 @@ ], "type": { "kind": "OBJECT", - "name": "branches", + "name": "credentials", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "branches_stream", - "description": "fetch data from the table in a streaming manner: \"branches\"", + "name": "credentials_stream", + "description": "fetch data from the table in a streaming manner: \"credentials\"", "args": [ { "name": "batch_size", @@ -63089,7 +65694,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_stream_cursor_input", + "name": "credentials_stream_cursor_input", "ofType": null } } @@ -63101,7 +65706,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -63118,7 +65723,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branches", + "name": "credentials", "ofType": null } } @@ -63127,33 +65732,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "create_events", - "description": null, - "args": [ - { - "name": "id", - "description": "the unique id of an action", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "create_events", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "dashboards", "description": "An array relationship", @@ -71082,133 +73660,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "SCALAR", - "name": "timestamp", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "timestamp_comparison_exp", - "description": "Boolean expression to compare columns of type \"timestamp\". All fields are combined with logical 'AND'.", - "fields": null, - "inputFields": [ - { - "name": "_eq", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_gt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_gte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "_is_null", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_neq", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamp", - "ofType": null - } - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "SCALAR", "name": "timestamptz", @@ -71729,6 +74180,180 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "credentials", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "credentials", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "credentials_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "credentials_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "dataschemas", "description": "An array relationship", @@ -73420,6 +76045,26 @@ }, "defaultValue": null }, + { + "name": "credentials", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "credentials_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, { "name": "dataschemas", "description": null, @@ -73688,6 +76333,16 @@ }, "defaultValue": null }, + { + "name": "credentials", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, { "name": "dataschemas", "description": null, @@ -74144,6 +76799,16 @@ }, "defaultValue": null }, + { + "name": "credentials_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, { "name": "dataschemas_aggregate", "description": null, diff --git a/src/hooks/useOnboarding.ts b/src/hooks/useOnboarding.ts index 02633654..49b1cd5a 100644 --- a/src/hooks/useOnboarding.ts +++ b/src/hooks/useOnboarding.ts @@ -208,6 +208,16 @@ export default ({ editId }: Props) => { }, ], }, + credentials: { + data: [ + { + user_id: currentUser.id, + datasource_id: dataSourceId, + username: apiConfig.db_username, + password: apiConfig.password, + }, + ], + }, sql_credentials: { data: [credentialParams], }, diff --git a/src/hooks/useUserData.ts b/src/hooks/useUserData.ts index b952d4b0..33497b47 100644 --- a/src/hooks/useUserData.ts +++ b/src/hooks/useUserData.ts @@ -60,7 +60,7 @@ export const prepareDataSourceData = (data: Datasources[] | undefined) => { ({ id: d?.id, name: d.name, - dbParams: d.db_params_computed, + dbParams: d.db_params, createdAt: d.created_at, updatedAt: d.updated_at, type: dbTiles.find((tile) => tile.value === d.db_type.toLowerCase()), diff --git a/src/layouts/SettingsLayout/index.tsx b/src/layouts/SettingsLayout/index.tsx index f157df64..e7f46cb6 100644 --- a/src/layouts/SettingsLayout/index.tsx +++ b/src/layouts/SettingsLayout/index.tsx @@ -9,6 +9,7 @@ import { Roles } from "@/types/team"; import AlertsIcon from "@/assets/alert-logs.svg"; import DataSourceIcon from "@/assets/data-source.svg"; +import CredentialsIcon from "@/assets/credentials.svg"; import MembersIcon from "@/assets/members.svg"; import PersonalInfoIcon from "@/assets/personal-info.svg"; import ReportsIcon from "@/assets/report-logs.svg"; @@ -44,6 +45,12 @@ const SettingsLayout: React.FC = ({ href: "/settings/sources", icon: , }, + { + key: "credentials", + label: t("common:words.credentials"), + href: "/settings/credentials", + icon: , + }, { key: "sql-api", label: t("common:words.sql_api"), diff --git a/src/mocks/dataSources.tsx b/src/mocks/dataSources.tsx index f51641ee..8666300d 100644 --- a/src/mocks/dataSources.tsx +++ b/src/mocks/dataSources.tsx @@ -123,7 +123,7 @@ export const dbTiles = [ { name: "MySQL", value: "mysql", icon: }, { name: "Mongo DB", value: "mongobi", icon: }, { name: "ClickHouse", value: "clickhouse", icon: }, - { name: "Redshift", value: "reshift", icon: }, + { name: "Redshift", value: "redshift", icon: }, { name: "BigQuery", value: "bigquery", icon: }, { name: "Trino", value: "trino", icon: }, { name: "MSSQL", value: "mssql", icon: }, diff --git a/src/pages/Credentials/index.module.less b/src/pages/Credentials/index.module.less new file mode 100644 index 00000000..e894e2b7 --- /dev/null +++ b/src/pages/Credentials/index.module.less @@ -0,0 +1,13 @@ +.container { + padding: 24px; +} + +.wrapper { + display: flex; + width: 100%; +} + +.body { + width: 100%; + padding: 0 16px; +} \ No newline at end of file diff --git a/src/pages/Credentials/index.tsx b/src/pages/Credentials/index.tsx new file mode 100644 index 00000000..bf8d7c46 --- /dev/null +++ b/src/pages/Credentials/index.tsx @@ -0,0 +1,232 @@ +import { useCallback } from "react"; +import { message, Spin, Space, Row, Col, Typography } from "antd"; +import { useTranslation } from "react-i18next"; +import { useParams } from "@vitjs/runtime"; + +import useLocation from "@/hooks/useLocation"; +import CredentialsForm from "@/components/CredentialsForm"; +import CredentialCard from "@/components/CredentialCard"; +import { CREDENTIALS } from "@/utils/constants/paths"; +import type { CredentialsQuery } from "@/graphql/generated"; +import { + useDeleteCredentialMutation, + useCredentialsQuery, + useInsertCredentialMutation, + useUpdateCredentialMutation, +} from "@/graphql/generated"; +import useCheckResponse from "@/hooks/useCheckResponse"; +import PageHeader from "@/components/PageHeader"; +import Modal from "@/components/Modal"; +import type { Credentials, CredentialsFormType } from "@/types/credential"; +import type { DataSourceInfo } from "@/types/dataSource"; +import CurrentUserStore from "@/stores/CurrentUserStore"; +import NoCredentials from "@/components/NoCredentials"; + +import styles from "./index.module.less"; + +const { Title } = Typography; + +interface CredentialsProps { + initialValue?: CredentialsFormType; + credentials: Credentials[]; + dataSources?: DataSourceInfo[]; + loading?: boolean; + isOpen?: boolean; + onDelete?: (id: string) => void; + onEdit?: (id: string) => void; + onCreate?: () => void; + onClose?: () => void; + onOpen?: () => void; + onSubmit?: (data: CredentialsFormType) => void; +} + +const CredentialsPage: React.FC = ({ + initialValue, + dataSources, + isOpen, + credentials, + loading, + onDelete = () => {}, + onEdit = () => {}, + onCreate = () => {}, + onClose = () => {}, + onSubmit = () => {}, +}) => { + const { t } = useTranslation(["settings", "common"]); + + return ( + <> + + {credentials.length === 0 && } + + {credentials.length > 0 && ( + + +
+ + {credentials.map((c) => ( + + + + ))} + +
+
+ )} +
+ + +
+ + {t("settings:credentials.title")} + +
+ +
+ + ); +}; + +const prepareCredentialData = ( + credentialResult: CredentialsQuery +): Credentials[] => { + if (!credentialResult?.credentials?.length) return []; + + return (credentialResult.credentials || []).map((c) => ({ + id: c.id, + username: c.username, + createdAt: c.created_at, + updatedAt: c.updated_at, + user: c.user, + dataSource: c.datasource, + })) as Credentials[]; +}; + +const CredentialsPageWrapper = () => { + const { t } = useTranslation(["settings", "common"]); + const [, setLocation] = useLocation(); + const { currentUser, teamData } = CurrentUserStore(); + const { editId } = useParams(); + const isNew = editId === "new"; + + const [credentialsQuery, execCredentialsQuery] = useCredentialsQuery(); + const [deleteMutation, execDeleteMutation] = useDeleteCredentialMutation(); + const [createMutation, execCreateMutation] = useInsertCredentialMutation(); + const [updateMutation, execUpdateMutation] = useUpdateCredentialMutation(); + + useCheckResponse(createMutation, () => { + execCredentialsQuery(); + message.success(t("settings:credentials.created")); + }); + + useCheckResponse(updateMutation, () => { + execCredentialsQuery(); + message.success(t("settings:credentials.updated")); + }); + + useCheckResponse(deleteMutation, () => { + execCredentialsQuery(); + message.success(t("settings:credentials.deleted")); + }); + + const onDelete = useCallback( + (id: string) => { + execDeleteMutation({ id }); + }, + [execDeleteMutation] + ); + + const onEdit = useCallback( + (id: string) => { + setLocation(`${CREDENTIALS}/${id}`); + }, + [setLocation] + ); + + const onCreate = useCallback(() => { + setLocation(`${CREDENTIALS}/new`); + }, [setLocation]); + + const onClose = useCallback(() => { + setLocation(CREDENTIALS); + }, [setLocation]); + + const onSubmit = useCallback( + (data: CredentialsFormType) => { + if (isNew) { + execCreateMutation({ + object: { + user_id: currentUser?.id, + datasource_id: data.dataSourceId, + username: data.username, + password: data.password, + }, + }); + } else { + execUpdateMutation({ + pk_columns: { id: editId }, + _set: { + username: data.username, + password: data.password, + }, + }); + } + }, + [execCreateMutation, execUpdateMutation, isNew, editId, currentUser] + ); + + const credentials = useMemo( + () => + prepareCredentialData( + credentialsQuery?.data as unknown as CredentialsQuery + ), + [credentialsQuery] + ); + + const initialValue = useMemo(() => { + if (!isNew && editId && credentials.length) { + const curCredential = credentials.find((c) => c.id === editId); + + if (curCredential) { + return { + id: curCredential.id, + username: curCredential.username, + password: curCredential.password, + dataSourceId: curCredential.dataSource.id, + }; + } + + onClose(); + } + }, [credentials, isNew, editId, onClose]); + + return ( + + ); +}; + +export default CredentialsPageWrapper; diff --git a/src/pages/SqlApi/index.tsx b/src/pages/SqlApi/index.tsx index 9d6dc2ed..3fe63a22 100644 --- a/src/pages/SqlApi/index.tsx +++ b/src/pages/SqlApi/index.tsx @@ -11,10 +11,10 @@ import ApiSetup, { } from "@/components/ApiSetup"; import type { DataSourceCredentials } from "@/components/CredentialsTable"; import Modal from "@/components/Modal"; -import NoCredentials from "@/components/NoCredentials"; +import NoCredentials from "@/components/NoSqlCredentials"; import PageHeader from "@/components/PageHeader"; import { - useDeleteCredentialsMutation, + useDeleteSqlCredentialsMutation, useInsertSqlCredentialsMutation, } from "@/graphql/generated"; import useCheckResponse from "@/hooks/useCheckResponse"; @@ -222,7 +222,8 @@ const SqlApiWrapper = () => { const [createMutation, execCreateMutation] = useInsertSqlCredentialsMutation(); - const [deleteMutation, execDeleteMutation] = useDeleteCredentialsMutation(); + const [deleteMutation, execDeleteMutation] = + useDeleteSqlCredentialsMutation(); const onClose = () => { setLocation(basePath); diff --git a/src/types/credential.ts b/src/types/credential.ts new file mode 100644 index 00000000..5039ed64 --- /dev/null +++ b/src/types/credential.ts @@ -0,0 +1,22 @@ +export interface Credentials { + id: string; + username: string; + password: string; + updatedAt: string; + createdAt: string; + dataSource: { + id: string; + name: string; + }; + user: { + id: string; + display_name: string; + }; +} + +export interface CredentialsFormType { + id?: string; + username: string; + password: string; + dataSourceId: string; +} diff --git a/src/types/index.ts b/src/types/index.ts new file mode 100644 index 00000000..ebd89fe7 --- /dev/null +++ b/src/types/index.ts @@ -0,0 +1,8 @@ +export interface DataSourceCredentials { + id: string; + user_id: string; + datasource_id: string; + username: string; + created_at: string; + updated_at: string; +} diff --git a/src/utils/constants/paths.ts b/src/utils/constants/paths.ts index 769639a3..f8702e05 100644 --- a/src/utils/constants/paths.ts +++ b/src/utils/constants/paths.ts @@ -16,6 +16,7 @@ export const MEMBERS = `${SETTINGS}/members`; export const SQL_API = `${SETTINGS}/sql-api`; export const ROLES = `${SETTINGS}/roles`; export const INFO = `${SETTINGS}/info`; +export const CREDENTIALS = "/settings/credentials"; export const DOCS = "/docs"; export const MODELS = "/models"; From ef369ff256af8163ef665b8f8b3ea358c55e31ea Mon Sep 17 00:00:00 2001 From: Libertonius Date: Thu, 3 Oct 2024 14:33:46 +0300 Subject: [PATCH 2/5] feat: credentials (WIP) --- public/locales/en/common.json | 10 +- public/locales/en/credentialsForm.json | 5 + src/components/CredentialsForm/index.tsx | 168 +- src/graphql/generated.ts | 1201 +- src/graphql/gql/credentials.gql | 17 + src/graphql/schemas/hasura.json | 30207 +++++++++++++-------- src/pages/Credentials/index.tsx | 114 +- src/types/credential.ts | 8 +- src/types/index.ts | 8 - src/utils/constants/paths.ts | 2 +- 10 files changed, 19731 insertions(+), 12009 deletions(-) create mode 100644 public/locales/en/credentialsForm.json delete mode 100644 src/types/index.ts diff --git a/public/locales/en/common.json b/public/locales/en/common.json index d466e5e8..a02f1dc5 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -111,10 +111,14 @@ "edit_teams": "Edit teams", "roles_and_access": "Roles and access", "sql_api": "SQL API", - "credentials": "Credentials" + "credentials": "Credentials", + "shared": "Shared", + "private": "Private", + "specific_users": "Specific users" }, "form": { "labels": { + "access_type": "Access type", "data_source": "Data source", "name": "Name", "db_name": "Database Name", @@ -150,6 +154,7 @@ "new_password": "New Password", "old_password": "Old Password", "team_member": "Team member", + "team_members": "Team members", "auth_token": "Auth Token", "json": "JSON", "body": "Body", @@ -158,6 +163,9 @@ }, "placeholders": { "name": "Name", + "choose_access_type": "Choose access type", + "choose_data_source": "Choose data source", + "choose_team_members": "Choose team members", "login": "Login", "use_ssl": "I want use SSL", "attach_file_credentials": "Attach the file credentials, please", diff --git a/public/locales/en/credentialsForm.json b/public/locales/en/credentialsForm.json new file mode 100644 index 00000000..6b93a856 --- /dev/null +++ b/public/locales/en/credentialsForm.json @@ -0,0 +1,5 @@ +{ + "shared_access_type_description": "This credential will be available to all team members.", + "specific_users_access_type_description": "This credential will be available to the selected team members.", + "private_access_type_description": "This credential will be available to the creator only." +} diff --git a/src/components/CredentialsForm/index.tsx b/src/components/CredentialsForm/index.tsx index fb858fbc..85083bc8 100644 --- a/src/components/CredentialsForm/index.tsx +++ b/src/components/CredentialsForm/index.tsx @@ -1,80 +1,148 @@ -import { Form, Button } from "antd"; +import { Form, Row, Col, Alert } from "antd"; import { useTranslation } from "react-i18next"; import { useForm } from "react-hook-form"; import Input from "@/components/Input"; +import Button from "@/components/Button"; import type { CredentialsFormType } from "@/types/credential"; import type { DataSourceInfo } from "@/types/dataSource"; - -import styles from "./index.module.less"; +import type { Member } from "@/types/team"; +import { Access_Types_Enum } from "@/graphql/generated"; +import CurrentUserStore from "@/stores/CurrentUserStore"; interface CredentialsFormProps { initialValue?: CredentialsFormType; + members?: Member[]; dataSources?: DataSourceInfo[]; onSubmit?: (data: CredentialsFormType) => void; } const CredentialsForm: React.FC = ({ initialValue, + members, dataSources, onSubmit = () => {}, }) => { - const { t } = useTranslation(["common", "credentials"]); - const { control, handleSubmit } = useForm({ + const { currentUser } = CurrentUserStore(); + const { t } = useTranslation(["common", "credentialsForm"]); + const { control, handleSubmit, watch } = useForm({ values: initialValue, }); - const onHandleSubmit = (data: CredentialsFormType) => { - onSubmit(data); - }; + const accessType = watch("accessType"); + const isSpecificUsers = accessType === Access_Types_Enum.SpecificUsers; return ( -
- ({ - label: ds.name, - value: ds.id as string, - }))} - defaultValue={initialValue?.dataSourceId} - disabled={!!initialValue?.id} - /> + + + + ({ + label: ds.name, + value: ds.id as string, + }))} + defaultValue={initialValue?.dataSourceId} + disabled={!!initialValue?.id} + /> + - + + + + + + + + + + + + + + ({ + label: t(`common:words.${type}`), + value: type, + }))} + defaultValue={Access_Types_Enum.Private} + /> + + + {isSpecificUsers && ( + + ({ + label: member.displayName, + value: member.id, + }))} + defaultValue={initialValue?.members} + /> + + )} + - - - - +
); }; diff --git a/src/graphql/generated.ts b/src/graphql/generated.ts index 668147ac..d7505c01 100644 --- a/src/graphql/generated.ts +++ b/src/graphql/generated.ts @@ -30,6 +30,7 @@ export type Scalars = { json: { input: any; output: any }; jsonb: { input: any; output: any }; numeric: { input: any; output: any }; + timestamp: { input: any; output: any }; timestamptz: { input: any; output: any }; uuid: { input: any; output: any }; }; @@ -477,6 +478,175 @@ export type Access_Lists_Updates = { where: Access_Lists_Bool_Exp; }; +/** columns and relationships of "access_types" */ +export type Access_Types = { + __typename?: "access_types"; + access_type: Scalars["String"]["output"]; + /** An array relationship */ + credentials: Array; + /** An aggregate relationship */ + credentials_aggregate: Credentials_Aggregate; +}; + +/** columns and relationships of "access_types" */ +export type Access_TypesCredentialsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "access_types" */ +export type Access_TypesCredentials_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "access_types" */ +export type Access_Types_Aggregate = { + __typename?: "access_types_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "access_types" */ +export type Access_Types_Aggregate_Fields = { + __typename?: "access_types_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "access_types" */ +export type Access_Types_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "access_types". All fields are combined with a logical 'AND'. */ +export type Access_Types_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + access_type?: InputMaybe; + credentials?: InputMaybe; + credentials_aggregate?: InputMaybe; +}; + +/** unique or primary key constraints on table "access_types" */ +export enum Access_Types_Constraint { + /** unique or primary key constraint on columns "access_type" */ + AccessTypesPkey = "access_types_pkey", +} + +export enum Access_Types_Enum { + Private = "private", + Shared = "shared", + SpecificUsers = "specific_users", +} + +/** Boolean expression to compare columns of type "access_types_enum". All fields are combined with logical 'AND'. */ +export type Access_Types_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "access_types" */ +export type Access_Types_Insert_Input = { + access_type?: InputMaybe; + credentials?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Access_Types_Max_Fields = { + __typename?: "access_types_max_fields"; + access_type?: Maybe; +}; + +/** aggregate min on columns */ +export type Access_Types_Min_Fields = { + __typename?: "access_types_min_fields"; + access_type?: Maybe; +}; + +/** response of any mutation on the table "access_types" */ +export type Access_Types_Mutation_Response = { + __typename?: "access_types_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "access_types" */ +export type Access_Types_Obj_Rel_Insert_Input = { + data: Access_Types_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "access_types" */ +export type Access_Types_On_Conflict = { + constraint: Access_Types_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "access_types". */ +export type Access_Types_Order_By = { + access_type?: InputMaybe; + credentials_aggregate?: InputMaybe; +}; + +/** primary key columns input for table: access_types */ +export type Access_Types_Pk_Columns_Input = { + access_type: Scalars["String"]["input"]; +}; + +/** select columns of table "access_types" */ +export enum Access_Types_Select_Column { + /** column name */ + AccessType = "access_type", +} + +/** input type for updating data in table "access_types" */ +export type Access_Types_Set_Input = { + access_type?: InputMaybe; +}; + +/** Streaming cursor of the table "access_types" */ +export type Access_Types_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Access_Types_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Access_Types_Stream_Cursor_Value_Input = { + access_type?: InputMaybe; +}; + +/** update columns of table "access_types" */ +export enum Access_Types_Update_Column { + /** column name */ + AccessType = "access_type", +} + +export type Access_Types_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Access_Types_Bool_Exp; +}; + /** columns and relationships of "alerts" */ export type Alerts = { __typename?: "alerts"; @@ -1813,6 +1983,228 @@ export type Auth_Accounts_Updates = { where: Auth_Accounts_Bool_Exp; }; +/** columns and relationships of "auth.migrations" */ +export type Auth_Migrations = { + __typename?: "auth_migrations"; + executed_at?: Maybe; + hash: Scalars["String"]["output"]; + id: Scalars["Int"]["output"]; + name: Scalars["String"]["output"]; +}; + +/** aggregated selection of "auth.migrations" */ +export type Auth_Migrations_Aggregate = { + __typename?: "auth_migrations_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "auth.migrations" */ +export type Auth_Migrations_Aggregate_Fields = { + __typename?: "auth_migrations_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "auth.migrations" */ +export type Auth_Migrations_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Auth_Migrations_Avg_Fields = { + __typename?: "auth_migrations_avg_fields"; + id?: Maybe; +}; + +/** Boolean expression to filter rows from the table "auth.migrations". All fields are combined with a logical 'AND'. */ +export type Auth_Migrations_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + executed_at?: InputMaybe; + hash?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** unique or primary key constraints on table "auth.migrations" */ +export enum Auth_Migrations_Constraint { + /** unique or primary key constraint on columns "name" */ + MigrationsNameKey = "migrations_name_key", + /** unique or primary key constraint on columns "id" */ + MigrationsPkey = "migrations_pkey", +} + +/** input type for incrementing numeric columns in table "auth.migrations" */ +export type Auth_Migrations_Inc_Input = { + id?: InputMaybe; +}; + +/** input type for inserting data into table "auth.migrations" */ +export type Auth_Migrations_Insert_Input = { + executed_at?: InputMaybe; + hash?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Auth_Migrations_Max_Fields = { + __typename?: "auth_migrations_max_fields"; + executed_at?: Maybe; + hash?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** aggregate min on columns */ +export type Auth_Migrations_Min_Fields = { + __typename?: "auth_migrations_min_fields"; + executed_at?: Maybe; + hash?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** response of any mutation on the table "auth.migrations" */ +export type Auth_Migrations_Mutation_Response = { + __typename?: "auth_migrations_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "auth.migrations" */ +export type Auth_Migrations_On_Conflict = { + constraint: Auth_Migrations_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "auth.migrations". */ +export type Auth_Migrations_Order_By = { + executed_at?: InputMaybe; + hash?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** primary key columns input for table: auth.migrations */ +export type Auth_Migrations_Pk_Columns_Input = { + id: Scalars["Int"]["input"]; +}; + +/** select columns of table "auth.migrations" */ +export enum Auth_Migrations_Select_Column { + /** column name */ + ExecutedAt = "executed_at", + /** column name */ + Hash = "hash", + /** column name */ + Id = "id", + /** column name */ + Name = "name", +} + +/** input type for updating data in table "auth.migrations" */ +export type Auth_Migrations_Set_Input = { + executed_at?: InputMaybe; + hash?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Auth_Migrations_Stddev_Fields = { + __typename?: "auth_migrations_stddev_fields"; + id?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Auth_Migrations_Stddev_Pop_Fields = { + __typename?: "auth_migrations_stddev_pop_fields"; + id?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Auth_Migrations_Stddev_Samp_Fields = { + __typename?: "auth_migrations_stddev_samp_fields"; + id?: Maybe; +}; + +/** Streaming cursor of the table "auth_migrations" */ +export type Auth_Migrations_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Auth_Migrations_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Auth_Migrations_Stream_Cursor_Value_Input = { + executed_at?: InputMaybe; + hash?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Auth_Migrations_Sum_Fields = { + __typename?: "auth_migrations_sum_fields"; + id?: Maybe; +}; + +/** update columns of table "auth.migrations" */ +export enum Auth_Migrations_Update_Column { + /** column name */ + ExecutedAt = "executed_at", + /** column name */ + Hash = "hash", + /** column name */ + Id = "id", + /** column name */ + Name = "name", +} + +export type Auth_Migrations_Updates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Auth_Migrations_Bool_Exp; +}; + +/** aggregate var_pop on columns */ +export type Auth_Migrations_Var_Pop_Fields = { + __typename?: "auth_migrations_var_pop_fields"; + id?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Auth_Migrations_Var_Samp_Fields = { + __typename?: "auth_migrations_var_samp_fields"; + id?: Maybe; +}; + +/** aggregate variance on columns */ +export type Auth_Migrations_Variance_Fields = { + __typename?: "auth_migrations_variance_fields"; + id?: Maybe; +}; + /** columns and relationships of "auth_options" */ export type Auth_Options = { __typename?: "auth_options"; @@ -3048,11 +3440,18 @@ export type Create_Events = { /** columns and relationships of "credentials" */ export type Credentials = { __typename?: "credentials"; + /** An object relationship */ + accessTypeByAccessType: Access_Types; + access_type: Access_Types_Enum; created_at: Scalars["timestamptz"]["output"]; /** An object relationship */ datasource: Datasources; datasource_id: Scalars["uuid"]["output"]; id: Scalars["uuid"]["output"]; + /** An array relationship */ + members_credentials: Array; + /** An aggregate relationship */ + members_credentials_aggregate: Members_Credentials_Aggregate; password?: Maybe; updated_at: Scalars["timestamptz"]["output"]; /** An object relationship */ @@ -3061,6 +3460,24 @@ export type Credentials = { username: Scalars["String"]["output"]; }; +/** columns and relationships of "credentials" */ +export type CredentialsMembers_CredentialsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "credentials" */ +export type CredentialsMembers_Credentials_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** aggregated selection of "credentials" */ export type Credentials_Aggregate = { __typename?: "credentials_aggregate"; @@ -3112,10 +3529,14 @@ export type Credentials_Bool_Exp = { _and?: InputMaybe>; _not?: InputMaybe; _or?: InputMaybe>; + accessTypeByAccessType?: InputMaybe; + access_type?: InputMaybe; created_at?: InputMaybe; datasource?: InputMaybe; datasource_id?: InputMaybe; id?: InputMaybe; + members_credentials?: InputMaybe; + members_credentials_aggregate?: InputMaybe; password?: InputMaybe; updated_at?: InputMaybe; user?: InputMaybe; @@ -3133,10 +3554,13 @@ export enum Credentials_Constraint { /** input type for inserting data into table "credentials" */ export type Credentials_Insert_Input = { + accessTypeByAccessType?: InputMaybe; + access_type?: InputMaybe; created_at?: InputMaybe; datasource?: InputMaybe; datasource_id?: InputMaybe; id?: InputMaybe; + members_credentials?: InputMaybe; password?: InputMaybe; updated_at?: InputMaybe; user?: InputMaybe; @@ -3199,6 +3623,13 @@ export type Credentials_Mutation_Response = { returning: Array; }; +/** input type for inserting object relation for remote table "credentials" */ +export type Credentials_Obj_Rel_Insert_Input = { + data: Credentials_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + /** on_conflict condition type for table "credentials" */ export type Credentials_On_Conflict = { constraint: Credentials_Constraint; @@ -3208,10 +3639,13 @@ export type Credentials_On_Conflict = { /** Ordering options when selecting data from "credentials". */ export type Credentials_Order_By = { + accessTypeByAccessType?: InputMaybe; + access_type?: InputMaybe; created_at?: InputMaybe; datasource?: InputMaybe; datasource_id?: InputMaybe; id?: InputMaybe; + members_credentials_aggregate?: InputMaybe; password?: InputMaybe; updated_at?: InputMaybe; user?: InputMaybe; @@ -3226,6 +3660,8 @@ export type Credentials_Pk_Columns_Input = { /** select columns of table "credentials" */ export enum Credentials_Select_Column { + /** column name */ + AccessType = "access_type", /** column name */ CreatedAt = "created_at", /** column name */ @@ -3244,6 +3680,7 @@ export enum Credentials_Select_Column { /** input type for updating data in table "credentials" */ export type Credentials_Set_Input = { + access_type?: InputMaybe; created_at?: InputMaybe; datasource_id?: InputMaybe; id?: InputMaybe; @@ -3263,6 +3700,7 @@ export type Credentials_Stream_Cursor_Input = { /** Initial value of the column from where the streaming should start */ export type Credentials_Stream_Cursor_Value_Input = { + access_type?: InputMaybe; created_at?: InputMaybe; datasource_id?: InputMaybe; id?: InputMaybe; @@ -3274,6 +3712,8 @@ export type Credentials_Stream_Cursor_Value_Input = { /** update columns of table "credentials" */ export enum Credentials_Update_Column { + /** column name */ + AccessType = "access_type", /** column name */ CreatedAt = "created_at", /** column name */ @@ -5327,6 +5767,10 @@ export type Members = { member_roles: Array; /** An aggregate relationship */ member_roles_aggregate: Member_Roles_Aggregate; + /** An array relationship */ + members_credentials: Array; + /** An aggregate relationship */ + members_credentials_aggregate: Members_Credentials_Aggregate; /** An object relationship */ team: Teams; team_id: Scalars["uuid"]["output"]; @@ -5354,6 +5798,24 @@ export type MembersMember_Roles_AggregateArgs = { where?: InputMaybe; }; +/** columns and relationships of "members" */ +export type MembersMembers_CredentialsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "members" */ +export type MembersMembers_Credentials_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + /** aggregated selection of "members" */ export type Members_Aggregate = { __typename?: "members_aggregate"; @@ -5372,63 +5834,290 @@ export type Members_Aggregate_Bool_Exp_Count = { predicate: Int_Comparison_Exp; }; -/** aggregate fields of "members" */ -export type Members_Aggregate_Fields = { - __typename?: "members_aggregate_fields"; - count: Scalars["Int"]["output"]; - max?: Maybe; - min?: Maybe; +/** aggregate fields of "members" */ +export type Members_Aggregate_Fields = { + __typename?: "members_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "members" */ +export type Members_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "members" */ +export type Members_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "members" */ +export type Members_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "members". All fields are combined with a logical 'AND'. */ +export type Members_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + member_roles?: InputMaybe; + member_roles_aggregate?: InputMaybe; + members_credentials?: InputMaybe; + members_credentials_aggregate?: InputMaybe; + team?: InputMaybe; + team_id?: InputMaybe; + updated_at?: InputMaybe; + user?: InputMaybe; + user_id?: InputMaybe; +}; + +/** unique or primary key constraints on table "members" */ +export enum Members_Constraint { + /** unique or primary key constraint on columns "id" */ + MembersPkey = "members_pkey", + /** unique or primary key constraint on columns "user_id", "team_id" */ + MembersUserIdTeamIdKey = "members_user_id_team_id_key", +} + +/** columns and relationships of "members_credentials" */ +export type Members_Credentials = { + __typename?: "members_credentials"; + created_at: Scalars["timestamptz"]["output"]; + /** An object relationship */ + credential: Credentials; + credential_id: Scalars["uuid"]["output"]; + id: Scalars["uuid"]["output"]; + /** An object relationship */ + member: Members; + member_id: Scalars["uuid"]["output"]; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "members_credentials" */ +export type Members_Credentials_Aggregate = { + __typename?: "members_credentials_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Members_Credentials_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Members_Credentials_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "members_credentials" */ +export type Members_Credentials_Aggregate_Fields = { + __typename?: "members_credentials_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "members_credentials" */ +export type Members_Credentials_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "members_credentials" */ +export type Members_Credentials_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "members_credentials" */ +export type Members_Credentials_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "members_credentials". All fields are combined with a logical 'AND'. */ +export type Members_Credentials_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + credential?: InputMaybe; + credential_id?: InputMaybe; + id?: InputMaybe; + member?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "members_credentials" */ +export enum Members_Credentials_Constraint { + /** unique or primary key constraint on columns "credential_id", "member_id" */ + MembersCredentialsMemberIdCredentialIdKey = "members_credentials_member_id_credential_id_key", + /** unique or primary key constraint on columns "id" */ + MembersCredentialsPkey = "members_credentials_pkey", +} + +/** input type for inserting data into table "members_credentials" */ +export type Members_Credentials_Insert_Input = { + created_at?: InputMaybe; + credential?: InputMaybe; + credential_id?: InputMaybe; + id?: InputMaybe; + member?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Members_Credentials_Max_Fields = { + __typename?: "members_credentials_max_fields"; + created_at?: Maybe; + credential_id?: Maybe; + id?: Maybe; + member_id?: Maybe; + updated_at?: Maybe; +}; + +/** order by max() on columns of table "members_credentials" */ +export type Members_Credentials_Max_Order_By = { + created_at?: InputMaybe; + credential_id?: InputMaybe; + id?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Members_Credentials_Min_Fields = { + __typename?: "members_credentials_min_fields"; + created_at?: Maybe; + credential_id?: Maybe; + id?: Maybe; + member_id?: Maybe; + updated_at?: Maybe; +}; + +/** order by min() on columns of table "members_credentials" */ +export type Members_Credentials_Min_Order_By = { + created_at?: InputMaybe; + credential_id?: InputMaybe; + id?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** response of any mutation on the table "members_credentials" */ +export type Members_Credentials_Mutation_Response = { + __typename?: "members_credentials_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "members_credentials" */ +export type Members_Credentials_On_Conflict = { + constraint: Members_Credentials_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "members_credentials". */ +export type Members_Credentials_Order_By = { + created_at?: InputMaybe; + credential?: InputMaybe; + credential_id?: InputMaybe; + id?: InputMaybe; + member?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: members_credentials */ +export type Members_Credentials_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; }; -/** aggregate fields of "members" */ -export type Members_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; +/** select columns of table "members_credentials" */ +export enum Members_Credentials_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + CredentialId = "credential_id", + /** column name */ + Id = "id", + /** column name */ + MemberId = "member_id", + /** column name */ + UpdatedAt = "updated_at", +} -/** order by aggregate values of table "members" */ -export type Members_Aggregate_Order_By = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; +/** input type for updating data in table "members_credentials" */ +export type Members_Credentials_Set_Input = { + created_at?: InputMaybe; + credential_id?: InputMaybe; + id?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; }; -/** input type for inserting array relation for remote table "members" */ -export type Members_Arr_Rel_Insert_Input = { - data: Array; - /** upsert condition */ - on_conflict?: InputMaybe; +/** Streaming cursor of the table "members_credentials" */ +export type Members_Credentials_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Members_Credentials_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; -/** Boolean expression to filter rows from the table "members". All fields are combined with a logical 'AND'. */ -export type Members_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - created_at?: InputMaybe; - id?: InputMaybe; - member_roles?: InputMaybe; - member_roles_aggregate?: InputMaybe; - team?: InputMaybe; - team_id?: InputMaybe; - updated_at?: InputMaybe; - user?: InputMaybe; - user_id?: InputMaybe; +/** Initial value of the column from where the streaming should start */ +export type Members_Credentials_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + credential_id?: InputMaybe; + id?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; }; -/** unique or primary key constraints on table "members" */ -export enum Members_Constraint { - /** unique or primary key constraint on columns "id" */ - MembersPkey = "members_pkey", - /** unique or primary key constraint on columns "user_id", "team_id" */ - MembersUserIdTeamIdKey = "members_user_id_team_id_key", +/** update columns of table "members_credentials" */ +export enum Members_Credentials_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + CredentialId = "credential_id", + /** column name */ + Id = "id", + /** column name */ + MemberId = "member_id", + /** column name */ + UpdatedAt = "updated_at", } +export type Members_Credentials_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Members_Credentials_Bool_Exp; +}; + /** input type for inserting data into table "members" */ export type Members_Insert_Input = { created_at?: InputMaybe; id?: InputMaybe; member_roles?: InputMaybe; + members_credentials?: InputMaybe; team?: InputMaybe; team_id?: InputMaybe; updated_at?: InputMaybe; @@ -5502,6 +6191,7 @@ export type Members_Order_By = { created_at?: InputMaybe; id?: InputMaybe; member_roles_aggregate?: InputMaybe; + members_credentials_aggregate?: InputMaybe; team?: InputMaybe; team_id?: InputMaybe; updated_at?: InputMaybe; @@ -5585,6 +6275,10 @@ export type Mutation_Root = { delete_access_lists?: Maybe; /** delete single row from the table: "access_lists" */ delete_access_lists_by_pk?: Maybe; + /** delete data from the table: "access_types" */ + delete_access_types?: Maybe; + /** delete single row from the table: "access_types" */ + delete_access_types_by_pk?: Maybe; /** delete data from the table: "alerts" */ delete_alerts?: Maybe; /** delete single row from the table: "alerts" */ @@ -5601,6 +6295,10 @@ export type Mutation_Root = { delete_auth_accounts?: Maybe; /** delete single row from the table: "auth.accounts" */ delete_auth_accounts_by_pk?: Maybe; + /** delete data from the table: "auth.migrations" */ + delete_auth_migrations?: Maybe; + /** delete single row from the table: "auth.migrations" */ + delete_auth_migrations_by_pk?: Maybe; /** delete data from the table: "auth_options" */ delete_auth_options?: Maybe; /** delete single row from the table: "auth_options" */ @@ -5657,6 +6355,10 @@ export type Mutation_Root = { delete_members?: Maybe; /** delete single row from the table: "members" */ delete_members_by_pk?: Maybe; + /** delete data from the table: "members_credentials" */ + delete_members_credentials?: Maybe; + /** delete single row from the table: "members_credentials" */ + delete_members_credentials_by_pk?: Maybe; /** delete data from the table: "pinned_items" */ delete_pinned_items?: Maybe; /** delete single row from the table: "pinned_items" */ @@ -5700,6 +6402,10 @@ export type Mutation_Root = { insert_access_lists?: Maybe; /** insert a single row into the table: "access_lists" */ insert_access_lists_one?: Maybe; + /** insert data into the table: "access_types" */ + insert_access_types?: Maybe; + /** insert a single row into the table: "access_types" */ + insert_access_types_one?: Maybe; /** insert data into the table: "alerts" */ insert_alerts?: Maybe; /** insert a single row into the table: "alerts" */ @@ -5716,6 +6422,10 @@ export type Mutation_Root = { insert_auth_accounts?: Maybe; /** insert a single row into the table: "auth.accounts" */ insert_auth_accounts_one?: Maybe; + /** insert data into the table: "auth.migrations" */ + insert_auth_migrations?: Maybe; + /** insert a single row into the table: "auth.migrations" */ + insert_auth_migrations_one?: Maybe; /** insert data into the table: "auth_options" */ insert_auth_options?: Maybe; /** insert a single row into the table: "auth_options" */ @@ -5770,6 +6480,10 @@ export type Mutation_Root = { insert_member_roles_one?: Maybe; /** insert data into the table: "members" */ insert_members?: Maybe; + /** insert data into the table: "members_credentials" */ + insert_members_credentials?: Maybe; + /** insert a single row into the table: "members_credentials" */ + insert_members_credentials_one?: Maybe; /** insert a single row into the table: "members" */ insert_members_one?: Maybe; /** insert data into the table: "pinned_items" */ @@ -5819,6 +6533,14 @@ export type Mutation_Root = { update_access_lists_many?: Maybe< Array> >; + /** update data of the table: "access_types" */ + update_access_types?: Maybe; + /** update single row of the table: "access_types" */ + update_access_types_by_pk?: Maybe; + /** update multiples rows of table: "access_types" */ + update_access_types_many?: Maybe< + Array> + >; /** update data of the table: "alerts" */ update_alerts?: Maybe; /** update single row of the table: "alerts" */ @@ -5849,6 +6571,14 @@ export type Mutation_Root = { update_auth_accounts_many?: Maybe< Array> >; + /** update data of the table: "auth.migrations" */ + update_auth_migrations?: Maybe; + /** update single row of the table: "auth.migrations" */ + update_auth_migrations_by_pk?: Maybe; + /** update multiples rows of table: "auth.migrations" */ + update_auth_migrations_many?: Maybe< + Array> + >; /** update data of the table: "auth_options" */ update_auth_options?: Maybe; /** update single row of the table: "auth_options" */ @@ -5943,6 +6673,14 @@ export type Mutation_Root = { update_members?: Maybe; /** update single row of the table: "members" */ update_members_by_pk?: Maybe; + /** update data of the table: "members_credentials" */ + update_members_credentials?: Maybe; + /** update single row of the table: "members_credentials" */ + update_members_credentials_by_pk?: Maybe; + /** update multiples rows of table: "members_credentials" */ + update_members_credentials_many?: Maybe< + Array> + >; /** update multiples rows of table: "members" */ update_members_many?: Maybe>>; /** update data of the table: "pinned_items" */ @@ -6034,6 +6772,16 @@ export type Mutation_RootDelete_Access_Lists_By_PkArgs = { id: Scalars["uuid"]["input"]; }; +/** mutation root */ +export type Mutation_RootDelete_Access_TypesArgs = { + where: Access_Types_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Access_Types_By_PkArgs = { + access_type: Scalars["String"]["input"]; +}; + /** mutation root */ export type Mutation_RootDelete_AlertsArgs = { where: Alerts_Bool_Exp; @@ -6074,6 +6822,16 @@ export type Mutation_RootDelete_Auth_Accounts_By_PkArgs = { id: Scalars["uuid"]["input"]; }; +/** mutation root */ +export type Mutation_RootDelete_Auth_MigrationsArgs = { + where: Auth_Migrations_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Auth_Migrations_By_PkArgs = { + id: Scalars["Int"]["input"]; +}; + /** mutation root */ export type Mutation_RootDelete_Auth_OptionsArgs = { where: Auth_Options_Bool_Exp; @@ -6214,6 +6972,16 @@ export type Mutation_RootDelete_Members_By_PkArgs = { id: Scalars["uuid"]["input"]; }; +/** mutation root */ +export type Mutation_RootDelete_Members_CredentialsArgs = { + where: Members_Credentials_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Members_Credentials_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + /** mutation root */ export type Mutation_RootDelete_Pinned_ItemsArgs = { where: Pinned_Items_Bool_Exp; @@ -6335,6 +7103,18 @@ export type Mutation_RootInsert_Access_Lists_OneArgs = { on_conflict?: InputMaybe; }; +/** mutation root */ +export type Mutation_RootInsert_Access_TypesArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Access_Types_OneArgs = { + object: Access_Types_Insert_Input; + on_conflict?: InputMaybe; +}; + /** mutation root */ export type Mutation_RootInsert_AlertsArgs = { objects: Array; @@ -6383,6 +7163,18 @@ export type Mutation_RootInsert_Auth_Accounts_OneArgs = { on_conflict?: InputMaybe; }; +/** mutation root */ +export type Mutation_RootInsert_Auth_MigrationsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Auth_Migrations_OneArgs = { + object: Auth_Migrations_Insert_Input; + on_conflict?: InputMaybe; +}; + /** mutation root */ export type Mutation_RootInsert_Auth_OptionsArgs = { objects: Array; @@ -6545,6 +7337,18 @@ export type Mutation_RootInsert_MembersArgs = { on_conflict?: InputMaybe; }; +/** mutation root */ +export type Mutation_RootInsert_Members_CredentialsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Members_Credentials_OneArgs = { + object: Members_Credentials_Insert_Input; + on_conflict?: InputMaybe; +}; + /** mutation root */ export type Mutation_RootInsert_Members_OneArgs = { object: Members_Insert_Input; @@ -6709,6 +7513,23 @@ export type Mutation_RootUpdate_Access_Lists_ManyArgs = { updates: Array; }; +/** mutation root */ +export type Mutation_RootUpdate_Access_TypesArgs = { + _set?: InputMaybe; + where: Access_Types_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Access_Types_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Access_Types_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Access_Types_ManyArgs = { + updates: Array; +}; + /** mutation root */ export type Mutation_RootUpdate_AlertsArgs = { _append?: InputMaybe; @@ -6797,6 +7618,25 @@ export type Mutation_RootUpdate_Auth_Accounts_ManyArgs = { updates: Array; }; +/** mutation root */ +export type Mutation_RootUpdate_Auth_MigrationsArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + where: Auth_Migrations_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Auth_Migrations_By_PkArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + pk_columns: Auth_Migrations_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Auth_Migrations_ManyArgs = { + updates: Array; +}; + /** mutation root */ export type Mutation_RootUpdate_Auth_OptionsArgs = { _set?: InputMaybe; @@ -7070,6 +7910,23 @@ export type Mutation_RootUpdate_Members_By_PkArgs = { pk_columns: Members_Pk_Columns_Input; }; +/** mutation root */ +export type Mutation_RootUpdate_Members_CredentialsArgs = { + _set?: InputMaybe; + where: Members_Credentials_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Members_Credentials_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Members_Credentials_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Members_Credentials_ManyArgs = { + updates: Array; +}; + /** mutation root */ export type Mutation_RootUpdate_Members_ManyArgs = { updates: Array; @@ -7617,6 +8474,12 @@ export type Query_Root = { access_lists_aggregate: Access_Lists_Aggregate; /** fetch data from the table: "access_lists" using primary key columns */ access_lists_by_pk?: Maybe; + /** fetch data from the table: "access_types" */ + access_types: Array; + /** fetch aggregated fields from the table: "access_types" */ + access_types_aggregate: Access_Types_Aggregate; + /** fetch data from the table: "access_types" using primary key columns */ + access_types_by_pk?: Maybe; /** An array relationship */ alerts: Array; /** An aggregate relationship */ @@ -7641,6 +8504,12 @@ export type Query_Root = { auth_accounts_aggregate: Auth_Accounts_Aggregate; /** fetch data from the table: "auth.accounts" using primary key columns */ auth_accounts_by_pk?: Maybe; + /** fetch data from the table: "auth.migrations" */ + auth_migrations: Array; + /** fetch aggregated fields from the table: "auth.migrations" */ + auth_migrations_aggregate: Auth_Migrations_Aggregate; + /** fetch data from the table: "auth.migrations" using primary key columns */ + auth_migrations_by_pk?: Maybe; /** fetch data from the table: "auth_options" */ auth_options: Array; /** fetch aggregated fields from the table: "auth_options" */ @@ -7730,6 +8599,12 @@ export type Query_Root = { /** fetch data from the table: "members" using primary key columns */ members_by_pk?: Maybe; /** An array relationship */ + members_credentials: Array; + /** An aggregate relationship */ + members_credentials_aggregate: Members_Credentials_Aggregate; + /** fetch data from the table: "members_credentials" using primary key columns */ + members_credentials_by_pk?: Maybe; + /** An array relationship */ pinned_items: Array; /** An aggregate relationship */ pinned_items_aggregate: Pinned_Items_Aggregate; @@ -7807,6 +8682,26 @@ export type Query_RootAccess_Lists_By_PkArgs = { id: Scalars["uuid"]["input"]; }; +export type Query_RootAccess_TypesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAccess_Types_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAccess_Types_By_PkArgs = { + access_type: Scalars["String"]["input"]; +}; + export type Query_RootAlertsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -7887,6 +8782,26 @@ export type Query_RootAuth_Accounts_By_PkArgs = { id: Scalars["uuid"]["input"]; }; +export type Query_RootAuth_MigrationsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAuth_Migrations_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAuth_Migrations_By_PkArgs = { + id: Scalars["Int"]["input"]; +}; + export type Query_RootAuth_OptionsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -8186,6 +9101,26 @@ export type Query_RootMembers_By_PkArgs = { id: Scalars["uuid"]["input"]; }; +export type Query_RootMembers_CredentialsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootMembers_Credentials_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootMembers_Credentials_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + export type Query_RootPinned_ItemsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -9885,6 +10820,14 @@ export type Subscription_Root = { access_lists_by_pk?: Maybe; /** fetch data from the table in a streaming manner: "access_lists" */ access_lists_stream: Array; + /** fetch data from the table: "access_types" */ + access_types: Array; + /** fetch aggregated fields from the table: "access_types" */ + access_types_aggregate: Access_Types_Aggregate; + /** fetch data from the table: "access_types" using primary key columns */ + access_types_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "access_types" */ + access_types_stream: Array; /** An array relationship */ alerts: Array; /** An aggregate relationship */ @@ -9917,6 +10860,14 @@ export type Subscription_Root = { auth_accounts_by_pk?: Maybe; /** fetch data from the table in a streaming manner: "auth.accounts" */ auth_accounts_stream: Array; + /** fetch data from the table: "auth.migrations" */ + auth_migrations: Array; + /** fetch aggregated fields from the table: "auth.migrations" */ + auth_migrations_aggregate: Auth_Migrations_Aggregate; + /** fetch data from the table: "auth.migrations" using primary key columns */ + auth_migrations_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "auth.migrations" */ + auth_migrations_stream: Array; /** fetch data from the table: "auth_options" */ auth_options: Array; /** fetch aggregated fields from the table: "auth_options" */ @@ -10028,6 +10979,14 @@ export type Subscription_Root = { members_aggregate: Members_Aggregate; /** fetch data from the table: "members" using primary key columns */ members_by_pk?: Maybe; + /** An array relationship */ + members_credentials: Array; + /** An aggregate relationship */ + members_credentials_aggregate: Members_Credentials_Aggregate; + /** fetch data from the table: "members_credentials" using primary key columns */ + members_credentials_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "members_credentials" */ + members_credentials_stream: Array; /** fetch data from the table in a streaming manner: "members" */ members_stream: Array; /** An array relationship */ @@ -10130,6 +11089,32 @@ export type Subscription_RootAccess_Lists_StreamArgs = { where?: InputMaybe; }; +export type Subscription_RootAccess_TypesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAccess_Types_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAccess_Types_By_PkArgs = { + access_type: Scalars["String"]["input"]; +}; + +export type Subscription_RootAccess_Types_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootAlertsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -10234,6 +11219,32 @@ export type Subscription_RootAuth_Accounts_StreamArgs = { where?: InputMaybe; }; +export type Subscription_RootAuth_MigrationsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAuth_Migrations_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAuth_Migrations_By_PkArgs = { + id: Scalars["Int"]["input"]; +}; + +export type Subscription_RootAuth_Migrations_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootAuth_OptionsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -10596,6 +11607,32 @@ export type Subscription_RootMembers_By_PkArgs = { id: Scalars["uuid"]["input"]; }; +export type Subscription_RootMembers_CredentialsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootMembers_Credentials_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootMembers_Credentials_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootMembers_Credentials_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootMembers_StreamArgs = { batch_size: Scalars["Int"]["input"]; cursor: Array>; @@ -11387,6 +12424,19 @@ export type Teams_Updates = { where: Teams_Bool_Exp; }; +/** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ +export type Timestamp_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + /** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ export type Timestamptz_Comparison_Exp = { _eq?: InputMaybe; @@ -12396,10 +13446,16 @@ export type CredentialsQuery = { id: any; user_id: any; username: string; + access_type: Access_Types_Enum; created_at: any; updated_at: any; datasource: { __typename?: "datasources"; id: any; name: string }; user: { __typename?: "users"; id: any; display_name?: string | null }; + members_credentials: Array<{ + __typename?: "members_credentials"; + member_id: any; + credential_id: any; + }>; }>; credentials_aggregate: { __typename?: "credentials_aggregate"; @@ -12410,6 +13466,32 @@ export type CredentialsQuery = { }; }; +export type DeleteMemberCredentialsMutationVariables = Exact<{ + id: Scalars["uuid"]["input"]; +}>; + +export type DeleteMemberCredentialsMutation = { + __typename?: "mutation_root"; + delete_members_credentials?: { + __typename?: "members_credentials_mutation_response"; + affected_rows: number; + } | null; +}; + +export type InsertMembersCredentialsMutationVariables = Exact<{ + objects: + | Array + | Members_Credentials_Insert_Input; +}>; + +export type InsertMembersCredentialsMutation = { + __typename?: "mutation_root"; + insert_members_credentials?: { + __typename?: "members_credentials_mutation_response"; + affected_rows: number; + } | null; +}; + export type BranchesFieldsFragment = { __typename?: "branches"; id: any; @@ -13927,6 +15009,7 @@ export const CredentialsDocument = gql` id user_id username + access_type created_at updated_at datasource { @@ -13937,6 +15020,10 @@ export const CredentialsDocument = gql` id display_name } + members_credentials { + member_id + credential_id + } } credentials_aggregate { aggregate { @@ -13954,6 +15041,36 @@ export function useCredentialsQuery( ...options, }); } +export const DeleteMemberCredentialsDocument = gql` + mutation DeleteMemberCredentials($id: uuid!) { + delete_members_credentials(where: { id: { _eq: $id } }) { + affected_rows + } + } +`; + +export function useDeleteMemberCredentialsMutation() { + return Urql.useMutation< + DeleteMemberCredentialsMutation, + DeleteMemberCredentialsMutationVariables + >(DeleteMemberCredentialsDocument); +} +export const InsertMembersCredentialsDocument = gql` + mutation InsertMembersCredentials( + $objects: [members_credentials_insert_input!]! + ) { + insert_members_credentials(objects: $objects) { + affected_rows + } + } +`; + +export function useInsertMembersCredentialsMutation() { + return Urql.useMutation< + InsertMembersCredentialsMutation, + InsertMembersCredentialsMutationVariables + >(InsertMembersCredentialsDocument); +} export const CurrentUserDocument = gql` query CurrentUser($id: uuid!) { users_by_pk(id: $id) { @@ -15249,6 +16366,8 @@ export const namedOperations = { UpdateCredential: "UpdateCredential", DeleteCredential: "DeleteCredential", UpdateCredentials: "UpdateCredentials", + DeleteMemberCredentials: "DeleteMemberCredentials", + InsertMembersCredentials: "InsertMembersCredentials", UpdateUserInfo: "UpdateUserInfo", CreateDataSource: "CreateDataSource", UpdateDataSource: "UpdateDataSource", diff --git a/src/graphql/gql/credentials.gql b/src/graphql/gql/credentials.gql index 62273693..d75ee527 100644 --- a/src/graphql/gql/credentials.gql +++ b/src/graphql/gql/credentials.gql @@ -42,6 +42,7 @@ query Credentials($offset: Int, $limit: Int) { id user_id username + access_type created_at updated_at datasource { @@ -52,6 +53,10 @@ query Credentials($offset: Int, $limit: Int) { id display_name } + members_credentials { + member_id + credential_id + } } credentials_aggregate { aggregate { @@ -59,3 +64,15 @@ query Credentials($offset: Int, $limit: Int) { } } } + +mutation DeleteMemberCredentials($id: uuid!) { + delete_members_credentials(where: { id: { _eq: $id }}) { + affected_rows + } +} + +mutation InsertMembersCredentials($objects: [members_credentials_insert_input!]!) { + insert_members_credentials(objects: $objects) { + affected_rows + } +} diff --git a/src/graphql/schemas/hasura.json b/src/graphql/schemas/hasura.json index 2307906b..4b2202df 100644 --- a/src/graphql/schemas/hasura.json +++ b/src/graphql/schemas/hasura.json @@ -3508,11 +3508,11 @@ }, { "kind": "OBJECT", - "name": "alerts", - "description": "columns and relationships of \"alerts\"", + "name": "access_types", + "description": "columns and relationships of \"access_types\"", "fields": [ { - "name": "created_at", + "name": "access_type", "description": null, "args": [], "type": { @@ -3520,7 +3520,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "timestamptz", + "name": "String", "ofType": null } }, @@ -3528,106 +3528,71 @@ "deprecationReason": null }, { - "name": "delivery_config", - "description": null, + "name": "credentials", + "description": "An array relationship", "args": [ { - "name": "path", - "description": "JSON select path", + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "delivery_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "exploration", - "description": "An object relationship", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "explorations", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "exploration_id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locks_config", - "description": null, - "args": [ + }, { - "name": "path", - "description": "JSON select path", + "name": "offset", + "description": "skip the first n rows. Use only with order_by", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -3637,139 +3602,99 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "schedule", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "credentials", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "team", - "description": "An object relationship", - "args": [], - "type": { - "kind": "OBJECT", - "name": "teams", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "team_id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trigger_config", - "description": null, + "name": "credentials_aggregate", + "description": "An aggregate relationship", "args": [ { - "name": "path", - "description": "JSON select path", + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null } ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": "An object relationship", - "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "users", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user_id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", + "name": "credentials_aggregate", "ofType": null } }, @@ -3784,8 +3709,8 @@ }, { "kind": "OBJECT", - "name": "alerts_aggregate", - "description": "aggregated selection of \"alerts\"", + "name": "access_types_aggregate", + "description": "aggregated selection of \"access_types\"", "fields": [ { "name": "aggregate", @@ -3793,7 +3718,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "alerts_aggregate_fields", + "name": "access_types_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -3814,7 +3739,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "alerts", + "name": "access_types", "ofType": null } } @@ -3829,94 +3754,10 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "alerts_aggregate_bool_exp", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "count", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_aggregate_bool_exp_count", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "alerts_aggregate_bool_exp_count", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "arguments", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "alerts_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "distinct", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "predicate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", - "name": "alerts_aggregate_fields", - "description": "aggregate fields of \"alerts\"", + "name": "access_types_aggregate_fields", + "description": "aggregate fields of \"access_types\"", "fields": [ { "name": "count", @@ -3933,7 +3774,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "alerts_select_column", + "name": "access_types_select_column", "ofType": null } } @@ -3969,7 +3810,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "alerts_max_fields", + "name": "access_types_max_fields", "ofType": null }, "isDeprecated": false, @@ -3981,7 +3822,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "alerts_min_fields", + "name": "access_types_min_fields", "ofType": null }, "isDeprecated": false, @@ -3995,77 +3836,82 @@ }, { "kind": "INPUT_OBJECT", - "name": "alerts_aggregate_order_by", - "description": "order by aggregate values of table \"alerts\"", + "name": "access_types_bool_exp", + "description": "Boolean expression to filter rows from the table \"access_types\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { - "name": "count", + "name": "_and", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_bool_exp", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "max", + "name": "_not", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "alerts_max_order_by", + "name": "access_types_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "min", + "name": "_or", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_min_order_by", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_bool_exp", + "ofType": null + } + } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "alerts_append_input", - "description": "append existing jsonb value of filtered columns with new jsonb value", - "fields": null, - "inputFields": [ + }, { - "name": "delivery_config", + "name": "access_type", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "locks_config", + "name": "credentials", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "trigger_config", + "name": "credentials_aggregate", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "INPUT_OBJECT", + "name": "credentials_aggregate_bool_exp", "ofType": null }, "defaultValue": null @@ -4076,56 +3922,69 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "alerts_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"alerts\"", + "kind": "ENUM", + "name": "access_types_constraint", + "description": "unique or primary key constraints on table \"access_types\"", "fields": null, - "inputFields": [ + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "data", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "alerts_insert_input", - "ofType": null - } - } - } - }, - "defaultValue": null + "name": "access_types_pkey", + "description": "unique or primary key constraint on columns \"access_type\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "access_types_enum", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "private", + "description": null, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "on_conflict", - "description": "upsert condition", - "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_on_conflict", - "ofType": null - }, - "defaultValue": null + "name": "shared", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "specific_users", + "description": null, + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, - "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", - "description": "Boolean expression to filter rows from the table \"alerts\". All fields are combined with a logical 'AND'.", + "name": "access_types_enum_comparison_exp", + "description": "Boolean expression to compare columns of type \"access_types_enum\". All fields are combined with logical 'AND'.", "fields": null, "inputFields": [ { - "name": "_and", + "name": "_eq", + "description": null, + "type": { + "kind": "ENUM", + "name": "access_types_enum", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_in", "description": null, "type": { "kind": "LIST", @@ -4134,8 +3993,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", + "kind": "ENUM", + "name": "access_types_enum", "ofType": null } } @@ -4143,17 +4002,27 @@ "defaultValue": null }, { - "name": "_not", + "name": "_is_null", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "_or", + "name": "_neq", + "description": null, + "type": { + "kind": "ENUM", + "name": "access_types_enum", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", "description": null, "type": { "kind": "LIST", @@ -4162,161 +4031,287 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", + "kind": "ENUM", + "name": "access_types_enum", "ofType": null } } }, "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "access_types_insert_input", + "description": "input type for inserting data into table \"access_types\"", + "fields": null, + "inputFields": [ { - "name": "delivery_config", + "name": "access_type", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "delivery_type", + "name": "credentials", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", + "name": "credentials_arr_rel_insert_input", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "access_types_max_fields", + "description": "aggregate max on columns", + "fields": [ { - "name": "exploration", + "name": "access_type", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "access_types_min_fields", + "description": "aggregate min on columns", + "fields": [ { - "name": "exploration_id", + "name": "access_type", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "access_types_mutation_response", + "description": "response of any mutation on the table \"access_types\"", + "fields": [ { - "name": "id", - "description": null, + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "locks_config", - "description": null, + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "access_types", + "ofType": null + } + } + } }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "access_types_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"access_types\"", + "fields": null, + "inputFields": [ { - "name": "name", + "name": "data", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_insert_input", + "ofType": null + } }, "defaultValue": null }, { - "name": "schedule", - "description": null, + "name": "on_conflict", + "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", + "name": "access_types_on_conflict", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "access_types_on_conflict", + "description": "on_conflict condition type for table \"access_types\"", + "fields": null, + "inputFields": [ { - "name": "team", + "name": "constraint", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "teams_bool_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "access_types_constraint", + "ofType": null + } }, "defaultValue": null }, { - "name": "team_id", + "name": "update_columns", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "access_types_update_column", + "ofType": null + } + } + } }, - "defaultValue": null + "defaultValue": "[]" }, { - "name": "trigger_config", + "name": "where", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", + "name": "access_types_bool_exp", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "access_types_order_by", + "description": "Ordering options when selecting data from \"access_types\".", + "fields": null, + "inputFields": [ { - "name": "updated_at", + "name": "access_type", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "user", + "name": "credentials_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "users_bool_exp", + "name": "credentials_aggregate_order_by", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "access_types_pk_columns_input", + "description": "primary key columns input for table: access_types", + "fields": null, + "inputFields": [ { - "name": "user_id", + "name": "access_type", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null } @@ -4327,15 +4322,15 @@ }, { "kind": "ENUM", - "name": "alerts_constraint", - "description": "unique or primary key constraints on table \"alerts\"", + "name": "access_types_select_column", + "description": "select columns of table \"access_types\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "alerts_pkey", - "description": "unique or primary key constraint on columns \"id\"", + "name": "access_type", + "description": "column name", "isDeprecated": false, "deprecationReason": null } @@ -4344,61 +4339,52 @@ }, { "kind": "INPUT_OBJECT", - "name": "alerts_delete_at_path_input", - "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "name": "access_types_set_input", + "description": "input type for updating data in table \"access_types\"", "fields": null, "inputFields": [ { - "name": "delivery_config", + "name": "access_type", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "access_types_stream_cursor_input", + "description": "Streaming cursor of the table \"access_types\"", + "fields": null, + "inputFields": [ { - "name": "locks_config", - "description": null, + "name": "initial_value", + "description": "Stream column input with initial value", "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "access_types_stream_cursor_value_input", + "ofType": null } }, "defaultValue": null }, { - "name": "trigger_config", - "description": null, + "name": "ordering", + "description": "cursor ordering", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null }, "defaultValue": null } @@ -4409,36 +4395,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "alerts_delete_elem_input", - "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "name": "access_types_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "delivery_config", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locks_config", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "trigger_config", + "name": "access_type", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null @@ -4448,39 +4414,50 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "ENUM", + "name": "access_types_update_column", + "description": "update columns of table \"access_types\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "access_type", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", - "name": "alerts_delete_key_input", - "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "name": "access_types_updates", + "description": null, "fields": null, "inputFields": [ { - "name": "delivery_config", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "locks_config", - "description": null, + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "access_types_set_input", "ofType": null }, "defaultValue": null }, { - "name": "trigger_config", - "description": null, + "name": "where", + "description": "filter the rows which have to be updated", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_bool_exp", + "ofType": null + } }, "defaultValue": null } @@ -4490,274 +4467,481 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "alerts_insert_input", - "description": "input type for inserting data into table \"alerts\"", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "alerts", + "description": "columns and relationships of \"alerts\"", + "fields": [ { "name": "created_at", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "delivery_config", "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "delivery_type", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "exploration", - "description": null, + "description": "An object relationship", + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_obj_rel_insert_input", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "explorations", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "exploration_id", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "id", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "locks_config", "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "name", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "schedule", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "team", - "description": null, + "description": "An object relationship", + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "teams_obj_rel_insert_input", + "kind": "OBJECT", + "name": "teams", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "team_id", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "uuid", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "trigger_config", "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "updated_at", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "user", - "description": null, + "description": "An object relationship", + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "users_obj_rel_insert_input", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "user_id", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "alerts_max_fields", - "description": "aggregate max on columns", + "name": "alerts_aggregate", + "description": "aggregated selection of \"alerts\"", "fields": [ { - "name": "created_at", + "name": "aggregate", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "OBJECT", + "name": "alerts_aggregate_fields", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "delivery_type", + "name": "nodes", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "alerts", + "ofType": null + } + } + } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ { - "name": "exploration_id", + "name": "count", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "alerts_aggregate_bool_exp_count", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ { - "name": "id", + "name": "arguments", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "alerts_select_column", + "ofType": null + } + } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "name", + "name": "distinct", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "schedule", + "name": "filter", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "alerts_bool_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "team_id", + "name": "predicate", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "alerts_aggregate_fields", + "description": "aggregate fields of \"alerts\"", + "fields": [ + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "alerts_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "max", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "OBJECT", + "name": "alerts_max_fields", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "user_id", + "name": "min", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "OBJECT", + "name": "alerts_min_fields", "ofType": null }, "isDeprecated": false, @@ -4771,22 +4955,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "alerts_max_order_by", - "description": "order by max() on columns of table \"alerts\"", + "name": "alerts_aggregate_order_by", + "description": "order by aggregate values of table \"alerts\"", "fields": null, "inputFields": [ { - "name": "created_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "delivery_type", + "name": "count", "description": null, "type": { "kind": "ENUM", @@ -4796,71 +4970,105 @@ "defaultValue": null }, { - "name": "exploration_id", + "name": "max", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "alerts_max_order_by", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "min", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "alerts_min_order_by", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_append_input", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ { - "name": "name", + "name": "delivery_config", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "schedule", + "name": "locks_config", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "team_id", + "name": "trigger_config", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"alerts\"", + "fields": null, + "inputFields": [ { - "name": "updated_at", + "name": "data", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "alerts_insert_input", + "ofType": null + } + } + } }, "defaultValue": null }, { - "name": "user_id", - "description": null, + "name": "on_conflict", + "description": "upsert condition", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "alerts_on_conflict", "ofType": null }, "defaultValue": null @@ -4871,206 +5079,193 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "alerts_min_fields", - "description": "aggregate min on columns", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "alerts_bool_exp", + "description": "Boolean expression to filter rows from the table \"alerts\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ { - "name": "created_at", + "name": "_and", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "alerts_bool_exp", + "ofType": null + } + } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "delivery_type", + "name": "_not", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "alerts_bool_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "exploration_id", + "name": "_or", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "alerts_bool_exp", + "ofType": null + } + } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "id", + "name": "created_at", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "name", + "name": "delivery_config", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "schedule", + "name": "delivery_type", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "team_id", + "name": "exploration", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "updated_at", + "name": "exploration_id", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "user_id", + "name": "id", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "alerts_min_order_by", - "description": "order by min() on columns of table \"alerts\"", - "fields": null, - "inputFields": [ + "defaultValue": null + }, { - "name": "created_at", + "name": "locks_config", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "delivery_type", + "name": "name", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "exploration_id", + "name": "schedule", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "team", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "teams_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "team_id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "schedule", + "name": "trigger_config", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "team_id", + "name": "updated_at", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "user", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", "ofType": null }, "defaultValue": null @@ -5079,8 +5274,8 @@ "name": "user_id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null @@ -5091,104 +5286,119 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "alerts_mutation_response", - "description": "response of any mutation on the table \"alerts\"", - "fields": [ + "kind": "ENUM", + "name": "alerts_constraint", + "description": "unique or primary key constraints on table \"alerts\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "affected_rows", - "description": "number of rows affected by the mutation", - "args": [], + "name": "alerts_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_delete_at_path_input", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "fields": null, + "inputFields": [ + { + "name": "delivery_config", + "description": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "returning", - "description": "data from the rows affected by the mutation", - "args": [], + "name": "locks_config", + "description": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "alerts", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null + }, + { + "name": "trigger_config", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "alerts_on_conflict", - "description": "on_conflict condition type for table \"alerts\"", + "name": "alerts_delete_elem_input", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", "fields": null, "inputFields": [ { - "name": "constraint", + "name": "delivery_config", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "alerts_constraint", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, "defaultValue": null }, { - "name": "update_columns", + "name": "locks_config", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "alerts_update_column", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, - "defaultValue": "[]" + "defaultValue": null }, { - "name": "where", + "name": "trigger_config", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null @@ -5200,16 +5410,57 @@ }, { "kind": "INPUT_OBJECT", - "name": "alerts_order_by", - "description": "Ordering options when selecting data from \"alerts\".", + "name": "alerts_delete_key_input", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "fields": null, + "inputFields": [ + { + "name": "delivery_config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locks_config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "trigger_config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_insert_input", + "description": "input type for inserting data into table \"alerts\"", "fields": null, "inputFields": [ { "name": "created_at", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null @@ -5218,8 +5469,8 @@ "name": "delivery_config", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -5228,8 +5479,8 @@ "name": "delivery_type", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null @@ -5239,7 +5490,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "explorations_order_by", + "name": "explorations_obj_rel_insert_input", "ofType": null }, "defaultValue": null @@ -5248,8 +5499,8 @@ "name": "exploration_id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -5258,8 +5509,8 @@ "name": "id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -5268,8 +5519,8 @@ "name": "locks_config", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -5278,8 +5529,8 @@ "name": "name", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null @@ -5288,8 +5539,8 @@ "name": "schedule", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null @@ -5299,7 +5550,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "teams_order_by", + "name": "teams_obj_rel_insert_input", "ofType": null }, "defaultValue": null @@ -5308,8 +5559,8 @@ "name": "team_id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -5318,8 +5569,8 @@ "name": "trigger_config", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -5328,8 +5579,8 @@ "name": "updated_at", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null @@ -5339,7 +5590,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "users_order_by", + "name": "users_obj_rel_insert_input", "ofType": null }, "defaultValue": null @@ -5348,8 +5599,8 @@ "name": "user_id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -5360,256 +5611,416 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "alerts_pk_columns_input", - "description": "primary key columns input for table: alerts", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "alerts_max_fields", + "description": "aggregate max on columns", + "fields": [ { - "name": "id", + "name": "created_at", "description": null, + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "alerts_prepend_input", - "description": "prepend existing jsonb value of filtered columns with new jsonb value", - "fields": null, - "inputFields": [ + "isDeprecated": false, + "deprecationReason": null + }, { - "name": "delivery_config", + "name": "delivery_type", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "String", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "locks_config", + "name": "exploration_id", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "trigger_config", + "name": "id", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "alerts_select_column", - "description": "select columns of table \"alerts\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "created_at", - "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "delivery_config", - "description": "column name", + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "delivery_type", - "description": "column name", + "name": "schedule", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "exploration_id", - "description": "column name", + "name": "team_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", - "description": "column name", + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "locks_config", - "description": "column name", + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_max_order_by", + "description": "order by max() on columns of table \"alerts\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivery_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "exploration_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null }, { "name": "name", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null }, { "name": "schedule", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null }, { "name": "team_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trigger_config", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null }, { "name": "updated_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null }, { "name": "user_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null } ], + "interfaces": null, + "enumValues": null, "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "alerts_set_input", - "description": "input type for updating data in table \"alerts\"", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "alerts_min_fields", + "description": "aggregate min on columns", + "fields": [ { "name": "created_at", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "timestamptz", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "delivery_config", + "name": "delivery_type", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "String", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "delivery_type", + "name": "exploration_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "exploration_id", + "name": "schedule", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_id", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "uuid", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "id", + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "uuid", "ofType": null }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_min_order_by", + "description": "order by min() on columns of table \"alerts\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, "defaultValue": null }, { - "name": "locks_config", + "name": "delivery_type", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "exploration_id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "schedule", + "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "team_id", + "name": "name", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "trigger_config", + "name": "schedule", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -5618,8 +6029,8 @@ "name": "updated_at", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -5628,8 +6039,8 @@ "name": "user_id", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -5639,32 +6050,105 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "alerts_mutation_response", + "description": "response of any mutation on the table \"alerts\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "alerts", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", - "name": "alerts_stream_cursor_input", - "description": "Streaming cursor of the table \"alerts\"", + "name": "alerts_on_conflict", + "description": "on_conflict condition type for table \"alerts\"", "fields": null, "inputFields": [ { - "name": "initial_value", - "description": "Stream column input with initial value", + "name": "constraint", + "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "alerts_stream_cursor_value_input", + "kind": "ENUM", + "name": "alerts_constraint", "ofType": null } }, "defaultValue": null }, { - "name": "ordering", - "description": "cursor ordering", + "name": "update_columns", + "description": null, "type": { - "kind": "ENUM", - "name": "cursor_ordering", + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "alerts_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "alerts_bool_exp", "ofType": null }, "defaultValue": null @@ -5676,16 +6160,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "alerts_stream_cursor_value_input", - "description": "Initial value of the column from where the streaming should start", + "name": "alerts_order_by", + "description": "Ordering options when selecting data from \"alerts\".", "fields": null, "inputFields": [ { "name": "created_at", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -5694,8 +6178,8 @@ "name": "delivery_config", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -5704,8 +6188,18 @@ "name": "delivery_type", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "exploration", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_order_by", "ofType": null }, "defaultValue": null @@ -5714,8 +6208,8 @@ "name": "exploration_id", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -5724,8 +6218,8 @@ "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -5734,8 +6228,8 @@ "name": "locks_config", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -5744,8 +6238,8 @@ "name": "name", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -5754,8 +6248,18 @@ "name": "schedule", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "teams_order_by", "ofType": null }, "defaultValue": null @@ -5764,8 +6268,8 @@ "name": "team_id", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -5773,6 +6277,82 @@ { "name": "trigger_config", "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_pk_columns_input", + "description": "primary key columns input for table: alerts", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_prepend_input", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ + { + "name": "delivery_config", + "description": null, "type": { "kind": "SCALAR", "name": "jsonb", @@ -5781,21 +6361,21 @@ "defaultValue": null }, { - "name": "updated_at", + "name": "locks_config", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "trigger_config", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -5807,8 +6387,8 @@ }, { "kind": "ENUM", - "name": "alerts_update_column", - "description": "update columns of table \"alerts\"", + "name": "alerts_select_column", + "description": "select columns of table \"alerts\"", "fields": null, "inputFields": null, "interfaces": null, @@ -5890,13 +6470,393 @@ }, { "kind": "INPUT_OBJECT", - "name": "alerts_updates", - "description": null, + "name": "alerts_set_input", + "description": "input type for updating data in table \"alerts\"", "fields": null, "inputFields": [ { - "name": "_append", - "description": "append existing jsonb value of filtered columns with new jsonb value", + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivery_config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivery_type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "exploration_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locks_config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "schedule", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "trigger_config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_stream_cursor_input", + "description": "Streaming cursor of the table \"alerts\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "alerts_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivery_config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivery_type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "exploration_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locks_config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "schedule", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "trigger_config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "alerts_update_column", + "description": "update columns of table \"alerts\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delivery_config", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delivery_type", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "exploration_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locks_config", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "schedule", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "trigger_config", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "alerts_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", "type": { "kind": "INPUT_OBJECT", "name": "alerts_append_input", @@ -12267,11 +13227,23 @@ }, { "kind": "OBJECT", - "name": "auth_options", - "description": "columns and relationships of \"auth_options\"", + "name": "auth_migrations", + "description": "columns and relationships of \"auth.migrations\"", "fields": [ { - "name": "auth", + "name": "executed_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hash", "description": null, "args": [], "type": { @@ -12287,173 +13259,31 @@ "deprecationReason": null }, { - "name": "datasources", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "datasources_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "datasources_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "id", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "datasources", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "datasources_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "datasources_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "datasources_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "name", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "datasources_aggregate", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -12468,8 +13298,8 @@ }, { "kind": "OBJECT", - "name": "auth_options_aggregate", - "description": "aggregated selection of \"auth_options\"", + "name": "auth_migrations_aggregate", + "description": "aggregated selection of \"auth.migrations\"", "fields": [ { "name": "aggregate", @@ -12477,7 +13307,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_options_aggregate_fields", + "name": "auth_migrations_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -12498,7 +13328,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_options", + "name": "auth_migrations", "ofType": null } } @@ -12515,9 +13345,21 @@ }, { "kind": "OBJECT", - "name": "auth_options_aggregate_fields", - "description": "aggregate fields of \"auth_options\"", + "name": "auth_migrations_aggregate_fields", + "description": "aggregate fields of \"auth.migrations\"", "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_migrations_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "count", "description": null, @@ -12533,7 +13375,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_options_select_column", + "name": "auth_migrations_select_column", "ofType": null } } @@ -12569,7 +13411,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_options_max_fields", + "name": "auth_migrations_max_fields", "ofType": null }, "isDeprecated": false, @@ -12581,7 +13423,114 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_options_min_fields", + "name": "auth_migrations_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_migrations_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_migrations_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_migrations_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_migrations_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_migrations_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_migrations_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_migrations_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_migrations_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", "ofType": null }, "isDeprecated": false, @@ -12595,8 +13544,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_options_bool_exp", - "description": "Boolean expression to filter rows from the table \"auth_options\". All fields are combined with a logical 'AND'.", + "name": "auth_migrations_bool_exp", + "description": "Boolean expression to filter rows from the table \"auth.migrations\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -12610,7 +13559,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_options_bool_exp", + "name": "auth_migrations_bool_exp", "ofType": null } } @@ -12622,7 +13571,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_options_bool_exp", + "name": "auth_migrations_bool_exp", "ofType": null }, "defaultValue": null @@ -12638,7 +13587,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_options_bool_exp", + "name": "auth_migrations_bool_exp", "ofType": null } } @@ -12646,7 +13595,17 @@ "defaultValue": null }, { - "name": "auth", + "name": "executed_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamp_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "hash", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -12656,21 +13615,21 @@ "defaultValue": null }, { - "name": "datasources", + "name": "id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", + "name": "Int_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "datasources_aggregate", + "name": "name", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "datasources_aggregate_bool_exp", + "name": "String_comparison_exp", "ofType": null }, "defaultValue": null @@ -12682,38 +13641,21 @@ }, { "kind": "ENUM", - "name": "auth_options_constraint", - "description": "unique or primary key constraints on table \"auth_options\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "auth_options_pkey", - "description": "unique or primary key constraint on columns \"auth\"", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "auth_options_enum", - "description": null, + "name": "auth_migrations_constraint", + "description": "unique or primary key constraints on table \"auth.migrations\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "private", - "description": null, + "name": "migrations_name_key", + "description": "unique or primary key constraint on columns \"name\"", "isDeprecated": false, "deprecationReason": null }, { - "name": "shared", - "description": null, + "name": "migrations_pkey", + "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null } @@ -12722,73 +13664,68 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_options_enum_comparison_exp", - "description": "Boolean expression to compare columns of type \"auth_options_enum\". All fields are combined with logical 'AND'.", + "name": "auth_migrations_inc_input", + "description": "input type for incrementing numeric columns in table \"auth.migrations\"", "fields": null, "inputFields": [ { - "name": "_eq", + "name": "id", "description": null, "type": { - "kind": "ENUM", - "name": "auth_options_enum", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_insert_input", + "description": "input type for inserting data into table \"auth.migrations\"", + "fields": null, + "inputFields": [ { - "name": "_in", + "name": "executed_at", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "auth_options_enum", - "ofType": null - } - } + "kind": "SCALAR", + "name": "timestamp", + "ofType": null }, "defaultValue": null }, { - "name": "_is_null", + "name": "hash", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "_neq", + "name": "id", "description": null, "type": { - "kind": "ENUM", - "name": "auth_options_enum", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null }, { - "name": "_nin", + "name": "name", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "auth_options_enum", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null } @@ -12798,43 +13735,48 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "auth_options_insert_input", - "description": "input type for inserting data into table \"auth_options\"", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "auth_migrations_max_fields", + "description": "aggregate max on columns", + "fields": [ { - "name": "auth", + "name": "executed_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hash", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "datasources", + "name": "id", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_arr_rel_insert_input", + "kind": "SCALAR", + "name": "Int", "ofType": null }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "auth_options_max_fields", - "description": "aggregate max on columns", - "fields": [ + "isDeprecated": false, + "deprecationReason": null + }, { - "name": "auth", + "name": "name", "description": null, "args": [], "type": { @@ -12853,11 +13795,47 @@ }, { "kind": "OBJECT", - "name": "auth_options_min_fields", + "name": "auth_migrations_min_fields", "description": "aggregate min on columns", "fields": [ { - "name": "auth", + "name": "executed_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hash", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", "description": null, "args": [], "type": { @@ -12876,8 +13854,8 @@ }, { "kind": "OBJECT", - "name": "auth_options_mutation_response", - "description": "response of any mutation on the table \"auth_options\"", + "name": "auth_migrations_mutation_response", + "description": "response of any mutation on the table \"auth.migrations\"", "fields": [ { "name": "affected_rows", @@ -12910,7 +13888,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_options", + "name": "auth_migrations", "ofType": null } } @@ -12927,62 +13905,27 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_options_obj_rel_insert_input", - "description": "input type for inserting object relation for remote table \"auth_options\"", + "name": "auth_migrations_on_conflict", + "description": "on_conflict condition type for table \"auth.migrations\"", "fields": null, "inputFields": [ { - "name": "data", + "name": "constraint", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "auth_options_insert_input", + "kind": "ENUM", + "name": "auth_migrations_constraint", "ofType": null } }, "defaultValue": null }, { - "name": "on_conflict", - "description": "upsert condition", - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_options_on_conflict", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "auth_options_on_conflict", - "description": "on_conflict condition type for table \"auth_options\"", - "fields": null, - "inputFields": [ - { - "name": "constraint", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "auth_options_constraint", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "update_columns", - "description": null, + "name": "update_columns", + "description": null, "type": { "kind": "NON_NULL", "name": null, @@ -12994,7 +13937,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_options_update_column", + "name": "auth_migrations_update_column", "ofType": null } } @@ -13007,7 +13950,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_options_bool_exp", + "name": "auth_migrations_bool_exp", "ofType": null }, "defaultValue": null @@ -13019,12 +13962,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_options_order_by", - "description": "Ordering options when selecting data from \"auth_options\".", + "name": "auth_migrations_order_by", + "description": "Ordering options when selecting data from \"auth.migrations\".", "fields": null, "inputFields": [ { - "name": "auth", + "name": "executed_at", "description": null, "type": { "kind": "ENUM", @@ -13034,11 +13977,31 @@ "defaultValue": null }, { - "name": "datasources_aggregate", + "name": "hash", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_aggregate_order_by", + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -13050,19 +14013,19 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_options_pk_columns_input", - "description": "primary key columns input for table: auth_options", + "name": "auth_migrations_pk_columns_input", + "description": "primary key columns input for table: auth.migrations", "fields": null, "inputFields": [ { - "name": "auth", + "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, @@ -13075,14 +14038,32 @@ }, { "kind": "ENUM", - "name": "auth_options_select_column", - "description": "select columns of table \"auth_options\"", + "name": "auth_migrations_select_column", + "description": "select columns of table \"auth.migrations\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "auth", + "name": "executed_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hash", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -13092,12 +14073,42 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_options_set_input", - "description": "input type for updating data in table \"auth_options\"", + "name": "auth_migrations_set_input", + "description": "input type for updating data in table \"auth.migrations\"", "fields": null, "inputFields": [ { - "name": "auth", + "name": "executed_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", "description": null, "type": { "kind": "SCALAR", @@ -13111,10 +14122,79 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "auth_migrations_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_migrations_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_migrations_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", - "name": "auth_options_stream_cursor_input", - "description": "Streaming cursor of the table \"auth_options\"", + "name": "auth_migrations_stream_cursor_input", + "description": "Streaming cursor of the table \"auth_migrations\"", "fields": null, "inputFields": [ { @@ -13125,7 +14205,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_options_stream_cursor_value_input", + "name": "auth_migrations_stream_cursor_value_input", "ofType": null } }, @@ -13148,12 +14228,42 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_options_stream_cursor_value_input", + "name": "auth_migrations_stream_cursor_value_input", "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "auth", + "name": "executed_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", "description": null, "type": { "kind": "SCALAR", @@ -13167,16 +14277,57 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "auth_migrations_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "ENUM", - "name": "auth_options_update_column", - "description": "update columns of table \"auth_options\"", + "name": "auth_migrations_update_column", + "description": "update columns of table \"auth.migrations\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "auth", + "name": "executed_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hash", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -13186,16 +14337,26 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_options_updates", + "name": "auth_migrations_updates", "description": null, "fields": null, "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_inc_input", + "ofType": null + }, + "defaultValue": null + }, { "name": "_set", "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "auth_options_set_input", + "name": "auth_migrations_set_input", "ofType": null }, "defaultValue": null @@ -13208,7 +14369,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_options_bool_exp", + "name": "auth_migrations_bool_exp", "ofType": null } }, @@ -13221,11 +14382,96 @@ }, { "kind": "OBJECT", - "name": "auth_providers", - "description": "columns and relationships of \"auth.providers\"", + "name": "auth_migrations_var_pop_fields", + "description": "aggregate var_pop on columns", "fields": [ { - "name": "account_providers", + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_migrations_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_migrations_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_options", + "description": "columns and relationships of \"auth_options\"", + "fields": [ + { + "name": "auth", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasources", "description": "An array relationship", "args": [ { @@ -13239,7 +14485,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_providers_select_column", + "name": "datasources_select_column", "ofType": null } } @@ -13277,7 +14523,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_order_by", + "name": "datasources_order_by", "ofType": null } } @@ -13289,7 +14535,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_bool_exp", + "name": "datasources_bool_exp", "ofType": null }, "defaultValue": null @@ -13306,7 +14552,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_providers", + "name": "datasources", "ofType": null } } @@ -13316,7 +14562,7 @@ "deprecationReason": null }, { - "name": "account_providers_aggregate", + "name": "datasources_aggregate", "description": "An aggregate relationship", "args": [ { @@ -13330,7 +14576,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_providers_select_column", + "name": "datasources_select_column", "ofType": null } } @@ -13368,7 +14614,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_order_by", + "name": "datasources_order_by", "ofType": null } } @@ -13380,7 +14626,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_bool_exp", + "name": "datasources_bool_exp", "ofType": null }, "defaultValue": null @@ -13391,23 +14637,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_providers_aggregate", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "provider", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", + "name": "datasources_aggregate", "ofType": null } }, @@ -13422,8 +14652,8 @@ }, { "kind": "OBJECT", - "name": "auth_providers_aggregate", - "description": "aggregated selection of \"auth.providers\"", + "name": "auth_options_aggregate", + "description": "aggregated selection of \"auth_options\"", "fields": [ { "name": "aggregate", @@ -13431,7 +14661,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_providers_aggregate_fields", + "name": "auth_options_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -13452,7 +14682,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_providers", + "name": "auth_options", "ofType": null } } @@ -13469,8 +14699,8 @@ }, { "kind": "OBJECT", - "name": "auth_providers_aggregate_fields", - "description": "aggregate fields of \"auth.providers\"", + "name": "auth_options_aggregate_fields", + "description": "aggregate fields of \"auth_options\"", "fields": [ { "name": "count", @@ -13487,7 +14717,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_providers_select_column", + "name": "auth_options_select_column", "ofType": null } } @@ -13523,7 +14753,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_providers_max_fields", + "name": "auth_options_max_fields", "ofType": null }, "isDeprecated": false, @@ -13535,7 +14765,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_providers_min_fields", + "name": "auth_options_min_fields", "ofType": null }, "isDeprecated": false, @@ -13549,8 +14779,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_providers_bool_exp", - "description": "Boolean expression to filter rows from the table \"auth.providers\". All fields are combined with a logical 'AND'.", + "name": "auth_options_bool_exp", + "description": "Boolean expression to filter rows from the table \"auth_options\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -13564,7 +14794,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_providers_bool_exp", + "name": "auth_options_bool_exp", "ofType": null } } @@ -13576,7 +14806,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_providers_bool_exp", + "name": "auth_options_bool_exp", "ofType": null }, "defaultValue": null @@ -13592,7 +14822,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_providers_bool_exp", + "name": "auth_options_bool_exp", "ofType": null } } @@ -13600,31 +14830,31 @@ "defaultValue": null }, { - "name": "account_providers", + "name": "auth", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_bool_exp", + "name": "String_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "account_providers_aggregate", + "name": "datasources", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_aggregate_bool_exp", + "name": "datasources_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "provider", + "name": "datasources_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", + "name": "datasources_aggregate_bool_exp", "ofType": null }, "defaultValue": null @@ -13636,15 +14866,38 @@ }, { "kind": "ENUM", - "name": "auth_providers_constraint", - "description": "unique or primary key constraints on table \"auth.providers\"", + "name": "auth_options_constraint", + "description": "unique or primary key constraints on table \"auth_options\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "providers_pkey", - "description": "unique or primary key constraint on columns \"provider\"", + "name": "auth_options_pkey", + "description": "unique or primary key constraint on columns \"auth\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "auth_options_enum", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "private", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "shared", + "description": null, "isDeprecated": false, "deprecationReason": null } @@ -13653,65 +14906,119 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_providers_insert_input", - "description": "input type for inserting data into table \"auth.providers\"", + "name": "auth_options_enum_comparison_exp", + "description": "Boolean expression to compare columns of type \"auth_options_enum\". All fields are combined with logical 'AND'.", "fields": null, "inputFields": [ { - "name": "account_providers", + "name": "_eq", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "auth_account_providers_arr_rel_insert_input", + "kind": "ENUM", + "name": "auth_options_enum", "ofType": null }, "defaultValue": null }, { - "name": "provider", + "name": "_in", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null + } + } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "auth_providers_max_fields", - "description": "aggregate max on columns", - "fields": [ + }, { - "name": "provider", + "name": "_is_null", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "auth_providers_min_fields", - "description": "aggregate min on columns", - "fields": [ + "defaultValue": null + }, { - "name": "provider", + "name": "_neq", + "description": null, + "type": { + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "auth_options_insert_input", + "description": "input type for inserting data into table \"auth_options\"", + "fields": null, + "inputFields": [ + { + "name": "auth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasources", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_options_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "auth", "description": null, "args": [], "type": { @@ -13730,8 +15037,31 @@ }, { "kind": "OBJECT", - "name": "auth_providers_mutation_response", - "description": "response of any mutation on the table \"auth.providers\"", + "name": "auth_options_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "auth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_options_mutation_response", + "description": "response of any mutation on the table \"auth_options\"", "fields": [ { "name": "affected_rows", @@ -13764,7 +15094,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_providers", + "name": "auth_options", "ofType": null } } @@ -13781,8 +15111,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_providers_obj_rel_insert_input", - "description": "input type for inserting object relation for remote table \"auth.providers\"", + "name": "auth_options_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"auth_options\"", "fields": null, "inputFields": [ { @@ -13793,7 +15123,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_providers_insert_input", + "name": "auth_options_insert_input", "ofType": null } }, @@ -13804,7 +15134,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "auth_providers_on_conflict", + "name": "auth_options_on_conflict", "ofType": null }, "defaultValue": null @@ -13816,8 +15146,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_providers_on_conflict", - "description": "on_conflict condition type for table \"auth.providers\"", + "name": "auth_options_on_conflict", + "description": "on_conflict condition type for table \"auth_options\"", "fields": null, "inputFields": [ { @@ -13828,7 +15158,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_providers_constraint", + "name": "auth_options_constraint", "ofType": null } }, @@ -13848,7 +15178,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_providers_update_column", + "name": "auth_options_update_column", "ofType": null } } @@ -13861,7 +15191,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_providers_bool_exp", + "name": "auth_options_bool_exp", "ofType": null }, "defaultValue": null @@ -13873,26 +15203,26 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_providers_order_by", - "description": "Ordering options when selecting data from \"auth.providers\".", + "name": "auth_options_order_by", + "description": "Ordering options when selecting data from \"auth_options\".", "fields": null, "inputFields": [ { - "name": "account_providers_aggregate", + "name": "auth", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "auth_account_providers_aggregate_order_by", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "provider", + "name": "datasources_aggregate", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "datasources_aggregate_order_by", "ofType": null }, "defaultValue": null @@ -13904,12 +15234,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_providers_pk_columns_input", - "description": "primary key columns input for table: auth.providers", + "name": "auth_options_pk_columns_input", + "description": "primary key columns input for table: auth_options", "fields": null, "inputFields": [ { - "name": "provider", + "name": "auth", "description": null, "type": { "kind": "NON_NULL", @@ -13929,14 +15259,14 @@ }, { "kind": "ENUM", - "name": "auth_providers_select_column", - "description": "select columns of table \"auth.providers\"", + "name": "auth_options_select_column", + "description": "select columns of table \"auth_options\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "provider", + "name": "auth", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -13946,12 +15276,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_providers_set_input", - "description": "input type for updating data in table \"auth.providers\"", + "name": "auth_options_set_input", + "description": "input type for updating data in table \"auth_options\"", "fields": null, "inputFields": [ { - "name": "provider", + "name": "auth", "description": null, "type": { "kind": "SCALAR", @@ -13967,8 +15297,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_providers_stream_cursor_input", - "description": "Streaming cursor of the table \"auth_providers\"", + "name": "auth_options_stream_cursor_input", + "description": "Streaming cursor of the table \"auth_options\"", "fields": null, "inputFields": [ { @@ -13979,7 +15309,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_providers_stream_cursor_value_input", + "name": "auth_options_stream_cursor_value_input", "ofType": null } }, @@ -14002,12 +15332,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_providers_stream_cursor_value_input", + "name": "auth_options_stream_cursor_value_input", "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "provider", + "name": "auth", "description": null, "type": { "kind": "SCALAR", @@ -14023,14 +15353,14 @@ }, { "kind": "ENUM", - "name": "auth_providers_update_column", - "description": "update columns of table \"auth.providers\"", + "name": "auth_options_update_column", + "description": "update columns of table \"auth_options\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "provider", + "name": "auth", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -14040,7 +15370,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_providers_updates", + "name": "auth_options_updates", "description": null, "fields": null, "inputFields": [ @@ -14049,7 +15379,7 @@ "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "auth_providers_set_input", + "name": "auth_options_set_input", "ofType": null }, "defaultValue": null @@ -14062,7 +15392,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_providers_bool_exp", + "name": "auth_options_bool_exp", "ofType": null } }, @@ -14075,67 +15405,177 @@ }, { "kind": "OBJECT", - "name": "auth_refresh_tokens", - "description": "columns and relationships of \"auth.refresh_tokens\"", + "name": "auth_providers", + "description": "columns and relationships of \"auth.providers\"", "fields": [ { - "name": "account", - "description": "An object relationship", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "auth_accounts", - "ofType": null + "name": "account_providers", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_account_providers_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_account_providers_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_account_providers_bool_exp", + "ofType": null + }, + "defaultValue": null } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "account_id", - "description": null, - "args": [], + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_account_providers", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "name": "account_providers_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_account_providers_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_account_providers_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_account_providers_bool_exp", + "ofType": null + }, + "defaultValue": null } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expires_at", - "description": null, - "args": [], + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "OBJECT", + "name": "auth_account_providers_aggregate", "ofType": null } }, @@ -14143,7 +15583,7 @@ "deprecationReason": null }, { - "name": "refresh_token", + "name": "provider", "description": null, "args": [], "type": { @@ -14151,7 +15591,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null } }, @@ -14166,8 +15606,8 @@ }, { "kind": "OBJECT", - "name": "auth_refresh_tokens_aggregate", - "description": "aggregated selection of \"auth.refresh_tokens\"", + "name": "auth_providers_aggregate", + "description": "aggregated selection of \"auth.providers\"", "fields": [ { "name": "aggregate", @@ -14175,7 +15615,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_refresh_tokens_aggregate_fields", + "name": "auth_providers_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -14196,7 +15636,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_refresh_tokens", + "name": "auth_providers", "ofType": null } } @@ -14211,94 +15651,10 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_aggregate_bool_exp", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "count", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_aggregate_bool_exp_count", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_aggregate_bool_exp_count", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "arguments", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "auth_refresh_tokens_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "distinct", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "predicate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", - "name": "auth_refresh_tokens_aggregate_fields", - "description": "aggregate fields of \"auth.refresh_tokens\"", + "name": "auth_providers_aggregate_fields", + "description": "aggregate fields of \"auth.providers\"", "fields": [ { "name": "count", @@ -14315,7 +15671,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_refresh_tokens_select_column", + "name": "auth_providers_select_column", "ofType": null } } @@ -14351,7 +15707,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_refresh_tokens_max_fields", + "name": "auth_providers_max_fields", "ofType": null }, "isDeprecated": false, @@ -14363,7 +15719,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_refresh_tokens_min_fields", + "name": "auth_providers_min_fields", "ofType": null }, "isDeprecated": false, @@ -14377,124 +15733,40 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_aggregate_order_by", - "description": "order by aggregate values of table \"auth.refresh_tokens\"", + "name": "auth_providers_bool_exp", + "description": "Boolean expression to filter rows from the table \"auth.providers\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { - "name": "count", + "name": "_and", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_providers_bool_exp", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "max", + "name": "_not", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_max_order_by", + "name": "auth_providers_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "min", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_min_order_by", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"auth.refresh_tokens\"", - "fields": null, - "inputFields": [ - { - "name": "data", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_insert_input", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "on_conflict", - "description": "upsert condition", - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_on_conflict", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", - "description": "Boolean expression to filter rows from the table \"auth.refresh_tokens\". All fields are combined with a logical 'AND'.", - "fields": null, - "inputFields": [ - { - "name": "_and", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "_not", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_or", + "name": "_or", "description": null, "type": { "kind": "LIST", @@ -14504,7 +15776,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", + "name": "auth_providers_bool_exp", "ofType": null } } @@ -14512,51 +15784,31 @@ "defaultValue": null }, { - "name": "account", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_accounts_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "account_id", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", + "name": "account_providers", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "name": "auth_account_providers_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "expires_at", + "name": "account_providers_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "name": "auth_account_providers_aggregate_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "refresh_token", + "name": "provider", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "String_comparison_exp", "ofType": null }, "defaultValue": null @@ -14568,15 +15820,15 @@ }, { "kind": "ENUM", - "name": "auth_refresh_tokens_constraint", - "description": "unique or primary key constraints on table \"auth.refresh_tokens\"", + "name": "auth_providers_constraint", + "description": "unique or primary key constraints on table \"auth.providers\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "refresh_tokens_pkey", - "description": "unique or primary key constraint on columns \"refresh_token\"", + "name": "providers_pkey", + "description": "unique or primary key constraint on columns \"provider\"", "isDeprecated": false, "deprecationReason": null } @@ -14585,56 +15837,26 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_insert_input", - "description": "input type for inserting data into table \"auth.refresh_tokens\"", + "name": "auth_providers_insert_input", + "description": "input type for inserting data into table \"auth.providers\"", "fields": null, "inputFields": [ { - "name": "account", + "name": "account_providers", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_obj_rel_insert_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "account_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "expires_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", + "name": "auth_account_providers_arr_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "refresh_token", + "name": "provider", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "defaultValue": null @@ -14646,52 +15868,16 @@ }, { "kind": "OBJECT", - "name": "auth_refresh_tokens_max_fields", + "name": "auth_providers_max_fields", "description": "aggregate max on columns", "fields": [ { - "name": "account_id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expires_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "refresh_token", + "name": "provider", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -14703,105 +15889,18 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_max_order_by", - "description": "order by max() on columns of table \"auth.refresh_tokens\"", - "fields": null, - "inputFields": [ - { - "name": "account_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "expires_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "refresh_token", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", - "name": "auth_refresh_tokens_min_fields", + "name": "auth_providers_min_fields", "description": "aggregate min on columns", "fields": [ { - "name": "account_id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expires_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "refresh_token", + "name": "provider", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -14813,61 +15912,10 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_min_order_by", - "description": "order by min() on columns of table \"auth.refresh_tokens\"", - "fields": null, - "inputFields": [ - { - "name": "account_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "expires_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "refresh_token", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", - "name": "auth_refresh_tokens_mutation_response", - "description": "response of any mutation on the table \"auth.refresh_tokens\"", + "name": "auth_providers_mutation_response", + "description": "response of any mutation on the table \"auth.providers\"", "fields": [ { "name": "affected_rows", @@ -14900,7 +15948,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_refresh_tokens", + "name": "auth_providers", "ofType": null } } @@ -14917,8 +15965,43 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_on_conflict", - "description": "on_conflict condition type for table \"auth.refresh_tokens\"", + "name": "auth_providers_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"auth.providers\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_providers_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_providers_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "auth_providers_on_conflict", + "description": "on_conflict condition type for table \"auth.providers\"", "fields": null, "inputFields": [ { @@ -14929,7 +16012,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_refresh_tokens_constraint", + "name": "auth_providers_constraint", "ofType": null } }, @@ -14949,7 +16032,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_refresh_tokens_update_column", + "name": "auth_providers_update_column", "ofType": null } } @@ -14962,7 +16045,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", + "name": "auth_providers_bool_exp", "ofType": null }, "defaultValue": null @@ -14974,52 +16057,22 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_order_by", - "description": "Ordering options when selecting data from \"auth.refresh_tokens\".", + "name": "auth_providers_order_by", + "description": "Ordering options when selecting data from \"auth.providers\".", "fields": null, "inputFields": [ { - "name": "account", + "name": "account_providers_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "account_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "expires_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", + "name": "auth_account_providers_aggregate_order_by", "ofType": null }, "defaultValue": null }, { - "name": "refresh_token", + "name": "provider", "description": null, "type": { "kind": "ENUM", @@ -15035,19 +16088,19 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_pk_columns_input", - "description": "primary key columns input for table: auth.refresh_tokens", + "name": "auth_providers_pk_columns_input", + "description": "primary key columns input for table: auth.providers", "fields": null, "inputFields": [ { - "name": "refresh_token", + "name": "provider", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null } }, @@ -15060,32 +16113,14 @@ }, { "kind": "ENUM", - "name": "auth_refresh_tokens_select_column", - "description": "select columns of table \"auth.refresh_tokens\"", + "name": "auth_providers_select_column", + "description": "select columns of table \"auth.providers\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "account_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expires_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "refresh_token", + "name": "provider", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -15095,72 +16130,42 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_set_input", - "description": "input type for updating data in table \"auth.refresh_tokens\"", + "name": "auth_providers_set_input", + "description": "input type for updating data in table \"auth.providers\"", "fields": null, "inputFields": [ { - "name": "account_id", + "name": "provider", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "auth_providers_stream_cursor_input", + "description": "Streaming cursor of the table \"auth_providers\"", + "fields": null, + "inputFields": [ { - "name": "created_at", - "description": null, + "name": "initial_value", + "description": "Stream column input with initial value", "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "expires_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "refresh_token", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_stream_cursor_input", - "description": "Streaming cursor of the table \"auth_refresh_tokens\"", - "fields": null, - "inputFields": [ - { - "name": "initial_value", - "description": "Stream column input with initial value", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_stream_cursor_value_input", - "ofType": null - } + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_providers_stream_cursor_value_input", + "ofType": null + } }, "defaultValue": null }, @@ -15181,46 +16186,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_stream_cursor_value_input", + "name": "auth_providers_stream_cursor_value_input", "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "account_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "expires_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "refresh_token", + "name": "provider", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "defaultValue": null @@ -15232,32 +16207,14 @@ }, { "kind": "ENUM", - "name": "auth_refresh_tokens_update_column", - "description": "update columns of table \"auth.refresh_tokens\"", + "name": "auth_providers_update_column", + "description": "update columns of table \"auth.providers\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "account_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expires_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "refresh_token", + "name": "provider", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -15267,7 +16224,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_updates", + "name": "auth_providers_updates", "description": null, "fields": null, "inputFields": [ @@ -15276,7 +16233,7 @@ "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_set_input", + "name": "auth_providers_set_input", "ofType": null }, "defaultValue": null @@ -15289,7 +16246,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_refresh_tokens_bool_exp", + "name": "auth_providers_bool_exp", "ofType": null } }, @@ -15302,177 +16259,35 @@ }, { "kind": "OBJECT", - "name": "auth_roles", - "description": "columns and relationships of \"auth.roles\"", + "name": "auth_refresh_tokens", + "description": "columns and relationships of \"auth.refresh_tokens\"", "fields": [ { - "name": "account_roles", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "auth_account_roles_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "auth_account_roles_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_account_roles_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "account", + "description": "An object relationship", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "auth_account_roles", - "ofType": null - } - } + "kind": "OBJECT", + "name": "auth_accounts", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "account_roles_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "auth_account_roles_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "auth_account_roles_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_account_roles_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "account_id", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "auth_account_roles_aggregate", + "kind": "SCALAR", + "name": "uuid", "ofType": null } }, @@ -15480,173 +16295,31 @@ "deprecationReason": null }, { - "name": "accounts", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "auth_accounts_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "auth_accounts_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_accounts_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "created_at", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "auth_accounts", - "ofType": null - } - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "accounts_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "auth_accounts_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "auth_accounts_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_accounts_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "expires_at", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "auth_accounts_aggregate", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null } }, @@ -15654,7 +16327,7 @@ "deprecationReason": null }, { - "name": "role", + "name": "refresh_token", "description": null, "args": [], "type": { @@ -15662,7 +16335,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "uuid", "ofType": null } }, @@ -15677,8 +16350,8 @@ }, { "kind": "OBJECT", - "name": "auth_roles_aggregate", - "description": "aggregated selection of \"auth.roles\"", + "name": "auth_refresh_tokens_aggregate", + "description": "aggregated selection of \"auth.refresh_tokens\"", "fields": [ { "name": "aggregate", @@ -15686,7 +16359,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_roles_aggregate_fields", + "name": "auth_refresh_tokens_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -15707,7 +16380,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_roles", + "name": "auth_refresh_tokens", "ofType": null } } @@ -15723,62 +16396,146 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "auth_roles_aggregate_fields", - "description": "aggregate fields of \"auth.roles\"", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ { "name": "count", "description": null, - "args": [ - { - "name": "columns", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "auth_roles_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "distinct", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "max", - "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "auth_roles_max_fields", + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_refresh_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_refresh_tokens_aggregate_fields", + "description": "aggregate fields of \"auth.refresh_tokens\"", + "fields": [ + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_refresh_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_refresh_tokens_max_fields", "ofType": null }, "isDeprecated": false, @@ -15790,7 +16547,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "auth_roles_min_fields", + "name": "auth_refresh_tokens_min_fields", "ofType": null }, "isDeprecated": false, @@ -15804,8 +16561,92 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_roles_bool_exp", - "description": "Boolean expression to filter rows from the table \"auth.roles\". All fields are combined with a logical 'AND'.", + "name": "auth_refresh_tokens_aggregate_order_by", + "description": "order by aggregate values of table \"auth.refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_min_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"auth.refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_bool_exp", + "description": "Boolean expression to filter rows from the table \"auth.refresh_tokens\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -15819,7 +16660,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_roles_bool_exp", + "name": "auth_refresh_tokens_bool_exp", "ofType": null } } @@ -15831,7 +16672,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_roles_bool_exp", + "name": "auth_refresh_tokens_bool_exp", "ofType": null }, "defaultValue": null @@ -15847,7 +16688,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_roles_bool_exp", + "name": "auth_refresh_tokens_bool_exp", "ofType": null } } @@ -15855,51 +16696,51 @@ "defaultValue": null }, { - "name": "account_roles", + "name": "account", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_bool_exp", + "name": "auth_accounts_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "account_roles_aggregate", + "name": "account_id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_aggregate_bool_exp", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "accounts", + "name": "created_at", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_bool_exp", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "accounts_aggregate", + "name": "expires_at", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_aggregate_bool_exp", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "role", + "name": "refresh_token", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null @@ -15911,15 +16752,15 @@ }, { "kind": "ENUM", - "name": "auth_roles_constraint", - "description": "unique or primary key constraints on table \"auth.roles\"", + "name": "auth_refresh_tokens_constraint", + "description": "unique or primary key constraints on table \"auth.refresh_tokens\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "roles_pkey", - "description": "unique or primary key constraint on columns \"role\"", + "name": "refresh_tokens_pkey", + "description": "unique or primary key constraint on columns \"refresh_token\"", "isDeprecated": false, "deprecationReason": null } @@ -15928,36 +16769,56 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_roles_insert_input", - "description": "input type for inserting data into table \"auth.roles\"", + "name": "auth_refresh_tokens_insert_input", + "description": "input type for inserting data into table \"auth.refresh_tokens\"", "fields": null, "inputFields": [ { - "name": "account_roles", + "name": "account", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_arr_rel_insert_input", + "name": "auth_accounts_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "accounts", + "name": "account_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "auth_accounts_arr_rel_insert_input", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "role", + "name": "created_at", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "refresh_token", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -15969,91 +16830,53 @@ }, { "kind": "OBJECT", - "name": "auth_roles_max_fields", + "name": "auth_refresh_tokens_max_fields", "description": "aggregate max on columns", "fields": [ { - "name": "role", + "name": "account_id", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "uuid", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "auth_roles_min_fields", - "description": "aggregate min on columns", - "fields": [ + }, { - "name": "role", + "name": "created_at", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "timestamptz", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "auth_roles_mutation_response", - "description": "response of any mutation on the table \"auth.roles\"", - "fields": [ + }, { - "name": "affected_rows", - "description": "number of rows affected by the mutation", + "name": "expires_at", + "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "returning", - "description": "data from the rows affected by the mutation", + "name": "refresh_token", + "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "auth_roles", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -16066,30 +16889,46 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_roles_obj_rel_insert_input", - "description": "input type for inserting object relation for remote table \"auth.roles\"", + "name": "auth_refresh_tokens_max_order_by", + "description": "order by max() on columns of table \"auth.refresh_tokens\"", "fields": null, "inputFields": [ { - "name": "data", + "name": "account_id", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "auth_roles_insert_input", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, "defaultValue": null }, { - "name": "on_conflict", - "description": "upsert condition", + "name": "created_at", + "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "auth_roles_on_conflict", + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "refresh_token", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -16100,90 +16939,102 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "auth_roles_on_conflict", - "description": "on_conflict condition type for table \"auth.roles\"", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "auth_refresh_tokens_min_fields", + "description": "aggregate min on columns", + "fields": [ { - "name": "constraint", + "name": "account_id", "description": null, + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "auth_roles_constraint", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "update_columns", + "name": "created_at", "description": null, + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "auth_roles_update_column", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, - "defaultValue": "[]" + "isDeprecated": false, + "deprecationReason": null }, { - "name": "where", + "name": "expires_at", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "auth_roles_bool_exp", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_token", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "auth_roles_order_by", - "description": "Ordering options when selecting data from \"auth.roles\".", + "name": "auth_refresh_tokens_min_order_by", + "description": "order by min() on columns of table \"auth.refresh_tokens\"", "fields": null, "inputFields": [ { - "name": "account_roles_aggregate", + "name": "account_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "auth_account_roles_aggregate_order_by", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "accounts_aggregate", + "name": "created_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "auth_accounts_aggregate_order_by", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "role", + "name": "expires_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "refresh_token", "description": null, "type": { "kind": "ENUM", @@ -16198,20 +17049,189 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "auth_roles_pk_columns_input", - "description": "primary key columns input for table: auth.roles", + "kind": "OBJECT", + "name": "auth_refresh_tokens_mutation_response", + "description": "response of any mutation on the table \"auth.refresh_tokens\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_refresh_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_on_conflict", + "description": "on_conflict condition type for table \"auth.refresh_tokens\"", "fields": null, "inputFields": [ { - "name": "role", + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_refresh_tokens_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_refresh_tokens_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_order_by", + "description": "Ordering options when selecting data from \"auth.refresh_tokens\".", + "fields": null, + "inputFields": [ + { + "name": "account", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_accounts_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "account_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "refresh_token", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "auth_refresh_tokens_pk_columns_input", + "description": "primary key columns input for table: auth.refresh_tokens", + "fields": null, + "inputFields": [ + { + "name": "refresh_token", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "uuid", "ofType": null } }, @@ -16224,14 +17244,32 @@ }, { "kind": "ENUM", - "name": "auth_roles_select_column", - "description": "select columns of table \"auth.roles\"", + "name": "auth_refresh_tokens_select_column", + "description": "select columns of table \"auth.refresh_tokens\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "role", + "name": "account_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_token", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -16241,16 +17279,46 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_roles_set_input", - "description": "input type for updating data in table \"auth.roles\"", + "name": "auth_refresh_tokens_set_input", + "description": "input type for updating data in table \"auth.refresh_tokens\"", "fields": null, "inputFields": [ { - "name": "role", + "name": "account_id", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "refresh_token", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -16262,8 +17330,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_roles_stream_cursor_input", - "description": "Streaming cursor of the table \"auth_roles\"", + "name": "auth_refresh_tokens_stream_cursor_input", + "description": "Streaming cursor of the table \"auth_refresh_tokens\"", "fields": null, "inputFields": [ { @@ -16274,7 +17342,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_roles_stream_cursor_value_input", + "name": "auth_refresh_tokens_stream_cursor_value_input", "ofType": null } }, @@ -16297,16 +17365,46 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_roles_stream_cursor_value_input", + "name": "auth_refresh_tokens_stream_cursor_value_input", "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "role", + "name": "account_id", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "refresh_token", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -16318,14 +17416,32 @@ }, { "kind": "ENUM", - "name": "auth_roles_update_column", - "description": "update columns of table \"auth.roles\"", + "name": "auth_refresh_tokens_update_column", + "description": "update columns of table \"auth.refresh_tokens\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "role", + "name": "account_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_token", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -16335,7 +17451,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "auth_roles_updates", + "name": "auth_refresh_tokens_updates", "description": null, "fields": null, "inputFields": [ @@ -16344,7 +17460,7 @@ "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "auth_roles_set_input", + "name": "auth_refresh_tokens_set_input", "ofType": null }, "defaultValue": null @@ -16357,7 +17473,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_roles_bool_exp", + "name": "auth_refresh_tokens_bool_exp", "ofType": null } }, @@ -16370,11 +17486,11 @@ }, { "kind": "OBJECT", - "name": "branch_statuses", - "description": "columns and relationships of \"branch_statuses\"", + "name": "auth_roles", + "description": "columns and relationships of \"auth.roles\"", "fields": [ { - "name": "branches", + "name": "account_roles", "description": "An array relationship", "args": [ { @@ -16388,7 +17504,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branches_select_column", + "name": "auth_account_roles_select_column", "ofType": null } } @@ -16426,7 +17542,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_order_by", + "name": "auth_account_roles_order_by", "ofType": null } } @@ -16438,7 +17554,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "auth_account_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -16455,7 +17571,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branches", + "name": "auth_account_roles", "ofType": null } } @@ -16465,7 +17581,7 @@ "deprecationReason": null }, { - "name": "branches_aggregate", + "name": "account_roles_aggregate", "description": "An aggregate relationship", "args": [ { @@ -16479,7 +17595,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branches_select_column", + "name": "auth_account_roles_select_column", "ofType": null } } @@ -16517,7 +17633,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_order_by", + "name": "auth_account_roles_order_by", "ofType": null } } @@ -16529,7 +17645,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "auth_account_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -16540,7 +17656,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branches_aggregate", + "name": "auth_account_roles_aggregate", "ofType": null } }, @@ -16548,48 +17664,76 @@ "deprecationReason": null }, { - "name": "status", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "name": "accounts", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_accounts_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_accounts_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_accounts_bool_exp", + "ofType": null + }, + "defaultValue": null } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "branch_statuses_aggregate", - "description": "aggregated selection of \"branch_statuses\"", - "fields": [ - { - "name": "aggregate", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "branch_statuses_aggregate_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": null, - "args": [], + ], "type": { "kind": "NON_NULL", "name": null, @@ -16601,7 +17745,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branch_statuses", + "name": "auth_accounts", "ofType": null } } @@ -16609,25 +17753,14 @@ }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "branch_statuses_aggregate_fields", - "description": "aggregate fields of \"branch_statuses\"", - "fields": [ + }, { - "name": "count", - "description": null, + "name": "accounts_aggregate", + "description": "An aggregate relationship", "args": [ { - "name": "columns", - "description": null, + "name": "distinct_on", + "description": "distinct select on columns", "type": { "kind": "LIST", "name": null, @@ -16636,7 +17769,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branch_statuses_select_column", + "name": "auth_accounts_select_column", "ofType": null } } @@ -16644,51 +17777,208 @@ "defaultValue": null }, { - "name": "distinct", - "description": null, + "name": "limit", + "description": "limit the number of rows returned", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null }, "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "max", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "branch_statuses_max_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "min", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "branch_statuses_min_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_accounts_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_accounts_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_accounts_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_roles_aggregate", + "description": "aggregated selection of \"auth.roles\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_roles_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_roles", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "auth_roles_aggregate_fields", + "description": "aggregate fields of \"auth.roles\"", + "fields": [ + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_roles_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_roles_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "auth_roles_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -16698,8 +17988,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", - "description": "Boolean expression to filter rows from the table \"branch_statuses\". All fields are combined with a logical 'AND'.", + "name": "auth_roles_bool_exp", + "description": "Boolean expression to filter rows from the table \"auth.roles\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -16713,7 +18003,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", + "name": "auth_roles_bool_exp", "ofType": null } } @@ -16725,7 +18015,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", + "name": "auth_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -16741,7 +18031,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", + "name": "auth_roles_bool_exp", "ofType": null } } @@ -16749,27 +18039,47 @@ "defaultValue": null }, { - "name": "branches", + "name": "account_roles", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "auth_account_roles_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "branches_aggregate", + "name": "account_roles_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_aggregate_bool_exp", + "name": "auth_account_roles_aggregate_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "status", + "name": "accounts", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_accounts_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "accounts_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_accounts_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "role", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -16785,44 +18095,15 @@ }, { "kind": "ENUM", - "name": "branch_statuses_constraint", - "description": "unique or primary key constraints on table \"branch_statuses\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "branch_statuses_pkey", - "description": "unique or primary key constraint on columns \"status\"", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "branch_statuses_enum", - "description": null, + "name": "auth_roles_constraint", + "description": "unique or primary key constraints on table \"auth.roles\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "active", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "archived", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created", - "description": null, + "name": "roles_pkey", + "description": "unique or primary key constraint on columns \"role\"", "isDeprecated": false, "deprecationReason": null } @@ -16831,99 +18112,32 @@ }, { "kind": "INPUT_OBJECT", - "name": "branch_statuses_enum_comparison_exp", - "description": "Boolean expression to compare columns of type \"branch_statuses_enum\". All fields are combined with logical 'AND'.", + "name": "auth_roles_insert_input", + "description": "input type for inserting data into table \"auth.roles\"", "fields": null, "inputFields": [ { - "name": "_eq", - "description": null, - "type": { - "kind": "ENUM", - "name": "branch_statuses_enum", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "branch_statuses_enum", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "_is_null", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_neq", + "name": "account_roles", "description": null, "type": { - "kind": "ENUM", - "name": "branch_statuses_enum", + "kind": "INPUT_OBJECT", + "name": "auth_account_roles_arr_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "branch_statuses_enum", - "ofType": null - } - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_insert_input", - "description": "input type for inserting data into table \"branch_statuses\"", - "fields": null, - "inputFields": [ - { - "name": "branches", + "name": "accounts", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_arr_rel_insert_input", + "name": "auth_accounts_arr_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "status", + "name": "role", "description": null, "type": { "kind": "SCALAR", @@ -16939,11 +18153,11 @@ }, { "kind": "OBJECT", - "name": "branch_statuses_max_fields", + "name": "auth_roles_max_fields", "description": "aggregate max on columns", "fields": [ { - "name": "status", + "name": "role", "description": null, "args": [], "type": { @@ -16962,11 +18176,11 @@ }, { "kind": "OBJECT", - "name": "branch_statuses_min_fields", + "name": "auth_roles_min_fields", "description": "aggregate min on columns", "fields": [ { - "name": "status", + "name": "role", "description": null, "args": [], "type": { @@ -16985,8 +18199,8 @@ }, { "kind": "OBJECT", - "name": "branch_statuses_mutation_response", - "description": "response of any mutation on the table \"branch_statuses\"", + "name": "auth_roles_mutation_response", + "description": "response of any mutation on the table \"auth.roles\"", "fields": [ { "name": "affected_rows", @@ -17019,7 +18233,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branch_statuses", + "name": "auth_roles", "ofType": null } } @@ -17036,8 +18250,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branch_statuses_obj_rel_insert_input", - "description": "input type for inserting object relation for remote table \"branch_statuses\"", + "name": "auth_roles_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"auth.roles\"", "fields": null, "inputFields": [ { @@ -17048,7 +18262,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_insert_input", + "name": "auth_roles_insert_input", "ofType": null } }, @@ -17059,7 +18273,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_on_conflict", + "name": "auth_roles_on_conflict", "ofType": null }, "defaultValue": null @@ -17071,8 +18285,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branch_statuses_on_conflict", - "description": "on_conflict condition type for table \"branch_statuses\"", + "name": "auth_roles_on_conflict", + "description": "on_conflict condition type for table \"auth.roles\"", "fields": null, "inputFields": [ { @@ -17083,7 +18297,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branch_statuses_constraint", + "name": "auth_roles_constraint", "ofType": null } }, @@ -17103,7 +18317,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branch_statuses_update_column", + "name": "auth_roles_update_column", "ofType": null } } @@ -17116,7 +18330,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", + "name": "auth_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -17128,22 +18342,32 @@ }, { "kind": "INPUT_OBJECT", - "name": "branch_statuses_order_by", - "description": "Ordering options when selecting data from \"branch_statuses\".", + "name": "auth_roles_order_by", + "description": "Ordering options when selecting data from \"auth.roles\".", "fields": null, "inputFields": [ { - "name": "branches_aggregate", + "name": "account_roles_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_aggregate_order_by", + "name": "auth_account_roles_aggregate_order_by", "ofType": null }, "defaultValue": null }, { - "name": "status", + "name": "accounts_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_accounts_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "role", "description": null, "type": { "kind": "ENUM", @@ -17159,12 +18383,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "branch_statuses_pk_columns_input", - "description": "primary key columns input for table: branch_statuses", + "name": "auth_roles_pk_columns_input", + "description": "primary key columns input for table: auth.roles", "fields": null, "inputFields": [ { - "name": "status", + "name": "role", "description": null, "type": { "kind": "NON_NULL", @@ -17184,14 +18408,14 @@ }, { "kind": "ENUM", - "name": "branch_statuses_select_column", - "description": "select columns of table \"branch_statuses\"", + "name": "auth_roles_select_column", + "description": "select columns of table \"auth.roles\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "status", + "name": "role", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -17201,12 +18425,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "branch_statuses_set_input", - "description": "input type for updating data in table \"branch_statuses\"", + "name": "auth_roles_set_input", + "description": "input type for updating data in table \"auth.roles\"", "fields": null, "inputFields": [ { - "name": "status", + "name": "role", "description": null, "type": { "kind": "SCALAR", @@ -17222,8 +18446,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branch_statuses_stream_cursor_input", - "description": "Streaming cursor of the table \"branch_statuses\"", + "name": "auth_roles_stream_cursor_input", + "description": "Streaming cursor of the table \"auth_roles\"", "fields": null, "inputFields": [ { @@ -17234,7 +18458,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_stream_cursor_value_input", + "name": "auth_roles_stream_cursor_value_input", "ofType": null } }, @@ -17257,12 +18481,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "branch_statuses_stream_cursor_value_input", + "name": "auth_roles_stream_cursor_value_input", "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "status", + "name": "role", "description": null, "type": { "kind": "SCALAR", @@ -17278,14 +18502,14 @@ }, { "kind": "ENUM", - "name": "branch_statuses_update_column", - "description": "update columns of table \"branch_statuses\"", + "name": "auth_roles_update_column", + "description": "update columns of table \"auth.roles\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "status", + "name": "role", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -17295,7 +18519,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "branch_statuses_updates", + "name": "auth_roles_updates", "description": null, "fields": null, "inputFields": [ @@ -17304,7 +18528,7 @@ "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_set_input", + "name": "auth_roles_set_input", "ofType": null }, "defaultValue": null @@ -17317,7 +18541,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", + "name": "auth_roles_bool_exp", "ofType": null } }, @@ -17330,75 +18554,11 @@ }, { "kind": "OBJECT", - "name": "branches", - "description": "columns and relationships of \"branches\"", + "name": "branch_statuses", + "description": "columns and relationships of \"branch_statuses\"", "fields": [ { - "name": "branch_status", - "description": "An object relationship", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "branch_statuses", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasource", - "description": "An object relationship", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "datasources", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasource_id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "explorations", + "name": "branches", "description": "An array relationship", "args": [ { @@ -17412,7 +18572,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "explorations_select_column", + "name": "branches_select_column", "ofType": null } } @@ -17450,7 +18610,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "explorations_order_by", + "name": "branches_order_by", "ofType": null } } @@ -17462,7 +18622,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", + "name": "branches_bool_exp", "ofType": null }, "defaultValue": null @@ -17479,7 +18639,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "explorations", + "name": "branches", "ofType": null } } @@ -17489,7 +18649,7 @@ "deprecationReason": null }, { - "name": "explorations_aggregate", + "name": "branches_aggregate", "description": "An aggregate relationship", "args": [ { @@ -17503,7 +18663,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "explorations_select_column", + "name": "branches_select_column", "ofType": null } } @@ -17541,7 +18701,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "explorations_order_by", + "name": "branches_order_by", "ofType": null } } @@ -17553,7 +18713,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", + "name": "branches_bool_exp", "ofType": null }, "defaultValue": null @@ -17564,39 +18724,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "explorations_aggregate", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", + "name": "branches_aggregate", "ofType": null } }, @@ -17607,234 +18735,12 @@ "name": "status", "description": null, "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "branch_statuses_enum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": "An object relationship", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "users", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user_id", - "description": null, - "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "versions", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "versions_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "versions_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "versions_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "versions", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "versions_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "versions_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "versions_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "versions_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "versions_aggregate", + "name": "String", "ofType": null } }, @@ -17849,8 +18755,8 @@ }, { "kind": "OBJECT", - "name": "branches_aggregate", - "description": "aggregated selection of \"branches\"", + "name": "branch_statuses_aggregate", + "description": "aggregated selection of \"branch_statuses\"", "fields": [ { "name": "aggregate", @@ -17858,7 +18764,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "branches_aggregate_fields", + "name": "branch_statuses_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -17879,7 +18785,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "branches", + "name": "branch_statuses", "ofType": null } } @@ -17894,94 +18800,10 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "branches_aggregate_bool_exp", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "count", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branches_aggregate_bool_exp_count", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "branches_aggregate_bool_exp_count", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "arguments", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "branches_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "distinct", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "predicate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", - "name": "branches_aggregate_fields", - "description": "aggregate fields of \"branches\"", + "name": "branch_statuses_aggregate_fields", + "description": "aggregate fields of \"branch_statuses\"", "fields": [ { "name": "count", @@ -17998,7 +18820,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "branches_select_column", + "name": "branch_statuses_select_column", "ofType": null } } @@ -18034,7 +18856,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "branches_max_fields", + "name": "branch_statuses_max_fields", "ofType": null }, "isDeprecated": false, @@ -18046,7 +18868,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "branches_min_fields", + "name": "branch_statuses_min_fields", "ofType": null }, "isDeprecated": false, @@ -18060,92 +18882,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_aggregate_order_by", - "description": "order by aggregate values of table \"branches\"", - "fields": null, - "inputFields": [ - { - "name": "count", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "max", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branches_max_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "min", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branches_min_order_by", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "branches_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"branches\"", - "fields": null, - "inputFields": [ - { - "name": "data", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "branches_insert_input", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "on_conflict", - "description": "upsert condition", - "type": { - "kind": "INPUT_OBJECT", - "name": "branches_on_conflict", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", - "description": "Boolean expression to filter rows from the table \"branches\". All fields are combined with a logical 'AND'.", + "name": "branch_statuses_bool_exp", + "description": "Boolean expression to filter rows from the table \"branch_statuses\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -18159,7 +18897,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "branch_statuses_bool_exp", "ofType": null } } @@ -18171,7 +18909,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "branch_statuses_bool_exp", "ofType": null }, "defaultValue": null @@ -18187,7 +18925,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "branch_statuses_bool_exp", "ofType": null } } @@ -18195,167 +18933,80 @@ "defaultValue": null }, { - "name": "branch_status", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", + "name": "branches", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "name": "branches_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "datasource", + "name": "branches_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", + "name": "branches_aggregate_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "datasource_id", + "name": "status", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "String_comparison_exp", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "branch_statuses_constraint", + "description": "unique or primary key constraints on table \"branch_statuses\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "explorations", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "explorations_aggregate", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_aggregate_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "status", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_enum_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "users_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user_id", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "versions", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "versions_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "versions_aggregate", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "versions_aggregate_bool_exp", - "ofType": null - }, - "defaultValue": null + "name": "branch_statuses_pkey", + "description": "unique or primary key constraint on columns \"status\"", + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, - "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", - "name": "branches_constraint", - "description": "unique or primary key constraints on table \"branches\"", + "name": "branch_statuses_enum", + "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "branches_datasource_id_name_key", - "description": "unique or primary key constraint on columns \"datasource_id\", \"name\"", + "name": "active", + "description": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "branches_pkey", - "description": "unique or primary key constraint on columns \"id\"", + "name": "archived", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created", + "description": null, "isDeprecated": false, "deprecationReason": null } @@ -18364,82 +19015,50 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_insert_input", - "description": "input type for inserting data into table \"branches\"", + "name": "branch_statuses_enum_comparison_exp", + "description": "Boolean expression to compare columns of type \"branch_statuses_enum\". All fields are combined with logical 'AND'.", "fields": null, "inputFields": [ { - "name": "branch_status", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_obj_rel_insert_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "datasource", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_obj_rel_insert_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "datasource_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "explorations", + "name": "_eq", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_arr_rel_insert_input", + "kind": "ENUM", + "name": "branch_statuses_enum", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "_in", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branch_statuses_enum", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "name", + "name": "_is_null", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "status", + "name": "_neq", "description": null, "type": { "kind": "ENUM", @@ -18449,41 +19068,50 @@ "defaultValue": null }, { - "name": "updated_at", + "name": "_nin", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branch_statuses_enum", + "ofType": null + } + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_insert_input", + "description": "input type for inserting data into table \"branch_statuses\"", + "fields": null, + "inputFields": [ { - "name": "user", + "name": "branches", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "users_obj_rel_insert_input", + "name": "branches_arr_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "status", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "versions", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "versions_arr_rel_insert_input", + "name": "String", "ofType": null }, "defaultValue": null @@ -18495,135 +19123,211 @@ }, { "kind": "OBJECT", - "name": "branches_max_fields", + "name": "branch_statuses_max_fields", "description": "aggregate max on columns", "fields": [ { - "name": "created_at", + "name": "status", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "branch_statuses_min_fields", + "description": "aggregate min on columns", + "fields": [ { - "name": "datasource_id", + "name": "status", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "branch_statuses_mutation_response", + "description": "response of any mutation on the table \"branch_statuses\"", + "fields": [ { - "name": "id", - "description": null, + "name": "affected_rows", + "description": "number of rows affected by the mutation", "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "name", - "description": null, + "name": "returning", + "description": "data from the rows affected by the mutation", "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "branch_statuses", + "ofType": null + } + } + } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"branch_statuses\"", + "fields": null, + "inputFields": [ { - "name": "updated_at", + "name": "data", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_insert_input", + "ofType": null + } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "user_id", - "description": null, - "args": [], + "name": "on_conflict", + "description": "upsert condition", "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "branch_statuses_on_conflict", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "branches_max_order_by", - "description": "order by max() on columns of table \"branches\"", + "name": "branch_statuses_on_conflict", + "description": "on_conflict condition type for table \"branch_statuses\"", "fields": null, "inputFields": [ { - "name": "created_at", + "name": "constraint", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branch_statuses_constraint", + "ofType": null + } }, "defaultValue": null }, { - "name": "datasource_id", + "name": "update_columns", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branch_statuses_update_column", + "ofType": null + } + } + } }, - "defaultValue": null + "defaultValue": "[]" }, { - "name": "id", + "name": "where", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "branch_statuses_bool_exp", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_order_by", + "description": "Ordering options when selecting data from \"branch_statuses\".", + "fields": null, + "inputFields": [ { - "name": "name", + "name": "branches_aggregate", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "branches_aggregate_order_by", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "status", "description": null, "type": { "kind": "ENUM", @@ -18631,14 +19335,29 @@ "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_pk_columns_input", + "description": "primary key columns input for table: branch_statuses", + "fields": null, + "inputFields": [ { - "name": "user_id", + "name": "status", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null } @@ -18648,151 +19367,143 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "branches_min_fields", - "description": "aggregate min on columns", - "fields": [ + "kind": "ENUM", + "name": "branch_statuses_select_column", + "description": "select columns of table \"branch_statuses\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, + "name": "status", + "description": "column name", "isDeprecated": false, "deprecationReason": null - }, + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_set_input", + "description": "input type for updating data in table \"branch_statuses\"", + "fields": null, + "inputFields": [ { - "name": "datasource_id", + "name": "status", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_stream_cursor_input", + "description": "Streaming cursor of the table \"branch_statuses\"", + "fields": null, + "inputFields": [ { - "name": "id", - "description": null, - "args": [], + "name": "initial_value", + "description": "Stream column input with initial value", "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_stream_cursor_value_input", + "ofType": null + } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "user_id", - "description": null, - "args": [], + "name": "ordering", + "description": "cursor ordering", "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "cursor_ordering", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "branches_min_order_by", - "description": "order by min() on columns of table \"branches\"", + "name": "branch_statuses_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "created_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "datasource_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", + "name": "status", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "branch_statuses_update_column", + "description": "update columns of table \"branch_statuses\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "name", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_updates", + "description": null, + "fields": null, + "inputFields": [ { - "name": "updated_at", - "description": null, + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "branch_statuses_set_input", "ofType": null }, "defaultValue": null }, { - "name": "user_id", - "description": null, + "name": "where", + "description": "filter the rows which have to be updated", "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_bool_exp", + "ofType": null + } }, "defaultValue": null } @@ -18803,19 +19514,19 @@ }, { "kind": "OBJECT", - "name": "branches_mutation_response", - "description": "response of any mutation on the table \"branches\"", + "name": "branches", + "description": "columns and relationships of \"branches\"", "fields": [ { - "name": "affected_rows", - "description": "number of rows affected by the mutation", + "name": "branch_status", + "description": "An object relationship", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "branch_statuses", "ofType": null } }, @@ -18823,93 +19534,124 @@ "deprecationReason": null }, { - "name": "returning", - "description": "data from the rows affected by the mutation", + "name": "created_at", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "branches", - "ofType": null - } - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "branches_obj_rel_insert_input", - "description": "input type for inserting object relation for remote table \"branches\"", - "fields": null, - "inputFields": [ + }, { - "name": "data", - "description": null, + "name": "datasource", + "description": "An object relationship", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "branches_insert_input", + "kind": "OBJECT", + "name": "datasources", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "on_conflict", - "description": "upsert condition", - "type": { - "kind": "INPUT_OBJECT", - "name": "branches_on_conflict", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "branches_on_conflict", - "description": "on_conflict condition type for table \"branches\"", - "fields": null, - "inputFields": [ - { - "name": "constraint", + "name": "datasource_id", "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "branches_constraint", + "kind": "SCALAR", + "name": "uuid", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "update_columns", - "description": null, + "name": "explorations", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "explorations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "explorations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, @@ -18920,178 +19662,435 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "branches_update_column", + "kind": "OBJECT", + "name": "explorations", "ofType": null } } } }, - "defaultValue": "[]" + "isDeprecated": false, + "deprecationReason": null }, { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "branches_order_by", - "description": "Ordering options when selecting data from \"branches\".", - "fields": null, - "inputFields": [ - { - "name": "branch_status", - "description": null, + "name": "explorations_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "explorations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "explorations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "INPUT_OBJECT", - "name": "branch_statuses_order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "explorations_aggregate", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "created_at", + "name": "id", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "datasource", + "name": "name", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "datasource_id", + "name": "status", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branch_statuses_enum", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "explorations_aggregate", + "name": "updated_at", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_aggregate_order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "user", + "description": "An object relationship", + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "name", + "name": "user_id", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "status", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, + "name": "versions", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "versions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "versions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "versions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "versions", + "ofType": null + } + } + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "user", - "description": null, + "name": "versions_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "versions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "versions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "versions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "INPUT_OBJECT", - "name": "users_order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "versions_aggregate", + "ofType": null + } }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "branches_aggregate", + "description": "aggregated selection of \"branches\"", + "fields": [ { - "name": "user_id", + "name": "aggregate", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "OBJECT", + "name": "branches_aggregate_fields", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "versions_aggregate", + "name": "nodes", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "versions_aggregate_order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "branches", + "ofType": null + } + } + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "branches_pk_columns_input", - "description": "primary key columns input for table: branches", + "name": "branches_aggregate_bool_exp", + "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "count", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "branches_aggregate_bool_exp_count", + "ofType": null }, "defaultValue": null } @@ -19100,131 +20099,181 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "ENUM", - "name": "branches_select_column", - "description": "select columns of table \"branches\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "created_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasource_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", - "name": "branches_set_input", - "description": "input type for updating data in table \"branches\"", + "name": "branches_aggregate_bool_exp_count", + "description": null, "fields": null, "inputFields": [ { - "name": "created_at", + "name": "arguments", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branches_select_column", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "datasource_id", + "name": "distinct", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "filter", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "predicate", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } }, "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "branches_aggregate_fields", + "description": "aggregate fields of \"branches\"", + "fields": [ + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branches_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "status", + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "branches_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "branches_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_aggregate_order_by", + "description": "order by aggregate values of table \"branches\"", + "fields": null, + "inputFields": [ + { + "name": "count", "description": null, "type": { "kind": "ENUM", - "name": "branch_statuses_enum", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "max", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "branches_max_order_by", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "min", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "branches_min_order_by", "ofType": null }, "defaultValue": null @@ -19236,30 +20285,38 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_stream_cursor_input", - "description": "Streaming cursor of the table \"branches\"", + "name": "branches_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"branches\"", "fields": null, "inputFields": [ { - "name": "initial_value", - "description": "Stream column input with initial value", + "name": "data", + "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "branches_stream_cursor_value_input", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_insert_input", + "ofType": null + } + } } }, "defaultValue": null }, { - "name": "ordering", - "description": "cursor ordering", + "name": "on_conflict", + "description": "upsert condition", "type": { - "kind": "ENUM", - "name": "cursor_ordering", + "kind": "INPUT_OBJECT", + "name": "branches_on_conflict", "ofType": null }, "defaultValue": null @@ -19271,165 +20328,193 @@ }, { "kind": "INPUT_OBJECT", - "name": "branches_stream_cursor_value_input", - "description": "Initial value of the column from where the streaming should start", + "name": "branches_bool_exp", + "description": "Boolean expression to filter rows from the table \"branches\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { - "name": "created_at", + "name": "_and", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "datasource_id", + "name": "_not", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "_or", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null }, { - "name": "name", + "name": "branch_status", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "branch_statuses_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "status", + "name": "created_at", "description": null, "type": { - "kind": "ENUM", - "name": "branch_statuses_enum", + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "datasource", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "datasource_id", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "branches_update_column", - "description": "update columns of table \"branches\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ + }, { - "name": "created_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "name": "explorations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null }, { - "name": "datasource_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "name": "explorations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null }, { "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null }, { "name": "name", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null }, { "name": "status", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branch_statuses_enum_comparison_exp", + "ofType": null + }, + "defaultValue": null }, { "name": "updated_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null }, { "name": "user_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "branches_updates", - "description": null, - "fields": null, - "inputFields": [ + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, { - "name": "_set", - "description": "sets the columns of the filtered rows to the given values", + "name": "versions", + "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_set_input", + "name": "versions_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "where", - "description": "filter the rows which have to be updated", + "name": "versions_aggregate", + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "versions_aggregate_bool_exp", + "ofType": null }, "defaultValue": null } @@ -19439,336 +20524,326 @@ "possibleTypes": null }, { - "kind": "SCALAR", - "name": "citext", - "description": null, + "kind": "ENUM", + "name": "branches_constraint", + "description": "unique or primary key constraints on table \"branches\"", "fields": null, "inputFields": null, "interfaces": null, - "enumValues": null, + "enumValues": [ + { + "name": "branches_datasource_id_name_key", + "description": "unique or primary key constraint on columns \"datasource_id\", \"name\"", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "branches_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "citext_comparison_exp", - "description": "Boolean expression to compare columns of type \"citext\". All fields are combined with logical 'AND'.", + "name": "branches_insert_input", + "description": "input type for inserting data into table \"branches\"", "fields": null, "inputFields": [ { - "name": "_eq", + "name": "branch_status", "description": null, "type": { - "kind": "SCALAR", - "name": "citext", + "kind": "INPUT_OBJECT", + "name": "branch_statuses_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "_gt", + "name": "created_at", "description": null, "type": { "kind": "SCALAR", - "name": "citext", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "_gte", + "name": "datasource", "description": null, "type": { - "kind": "SCALAR", - "name": "citext", + "kind": "INPUT_OBJECT", + "name": "datasources_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "_ilike", - "description": "does the column match the given case-insensitive pattern", + "name": "datasource_id", + "description": null, "type": { "kind": "SCALAR", - "name": "citext", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "_in", + "name": "explorations", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "_iregex", - "description": "does the column match the given POSIX regular expression, case insensitive", - "type": { - "kind": "SCALAR", - "name": "citext", + "kind": "INPUT_OBJECT", + "name": "explorations_arr_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "_is_null", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "_like", - "description": "does the column match the given pattern", + "name": "name", + "description": null, "type": { "kind": "SCALAR", - "name": "citext", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "_lt", + "name": "status", "description": null, "type": { - "kind": "SCALAR", - "name": "citext", + "kind": "ENUM", + "name": "branch_statuses_enum", "ofType": null }, "defaultValue": null }, { - "name": "_lte", + "name": "updated_at", "description": null, "type": { "kind": "SCALAR", - "name": "citext", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "_neq", + "name": "user", "description": null, "type": { - "kind": "SCALAR", - "name": "citext", + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "_nilike", - "description": "does the column NOT match the given case-insensitive pattern", + "name": "user_id", + "description": null, "type": { "kind": "SCALAR", - "name": "citext", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "_nin", + "name": "versions", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "citext", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "versions_arr_rel_insert_input", + "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "branches_max_fields", + "description": "aggregate max on columns", + "fields": [ { - "name": "_niregex", - "description": "does the column NOT match the given POSIX regular expression, case insensitive", + "name": "created_at", + "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "citext", + "name": "timestamptz", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "_nlike", - "description": "does the column NOT match the given pattern", + "name": "datasource_id", + "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "citext", + "name": "uuid", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "_nregex", - "description": "does the column NOT match the given POSIX regular expression, case sensitive", + "name": "id", + "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "citext", + "name": "uuid", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "_nsimilar", - "description": "does the column NOT match the given SQL regular expression", + "name": "name", + "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "citext", + "name": "String", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "_regex", - "description": "does the column match the given POSIX regular expression, case sensitive", + "name": "updated_at", + "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "citext", + "name": "timestamptz", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "_similar", - "description": "does the column match the given SQL regular expression", + "name": "user_id", + "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "citext", + "name": "uuid", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "create_events", - "description": "fields of action: \"create_events\"", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "branches_max_order_by", + "description": "order by max() on columns of table \"branches\"", + "fields": null, + "inputFields": [ { "name": "created_at", - "description": "the time at which this action was created", - "args": [], + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "errors", - "description": "errors related to the invocation", - "args": [], + "name": "datasource_id", + "description": null, "type": { - "kind": "SCALAR", - "name": "json", + "kind": "ENUM", + "name": "order_by", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "id", - "description": "the unique id of an action", - "args": [], + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "output", - "description": "the output fields of this action", - "args": [], + "name": "name", + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "events_create_mutation_response", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "credentials", - "description": "columns and relationships of \"credentials\"", + "name": "branches_min_fields", + "description": "aggregate min on columns", "fields": [ { "name": "created_at", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasource", - "description": "An object relationship", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "datasources", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -19778,13 +20853,9 @@ "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -19794,19 +20865,15 @@ "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "password", + "name": "name", "description": null, "args": [], "type": { @@ -19822,29 +20889,9 @@ "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": "An object relationship", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "users", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -19854,29 +20901,9 @@ "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "username", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -19888,128 +20915,68 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "credentials_aggregate", - "description": "aggregated selection of \"credentials\"", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "branches_min_order_by", + "description": "order by min() on columns of table \"branches\"", + "fields": null, + "inputFields": [ { - "name": "aggregate", + "name": "created_at", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "credentials_aggregate_fields", + "kind": "ENUM", + "name": "order_by", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "nodes", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "credentials", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "credentials_aggregate_bool_exp", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "count", + "name": "datasource_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_aggregate_bool_exp_count", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "credentials_aggregate_bool_exp_count", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "arguments", + "name": "id", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "credentials_select_column", - "ofType": null - } - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, "defaultValue": null }, { - "name": "distinct", + "name": "name", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "filter", + "name": "updated_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_bool_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "predicate", + "name": "user_id", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, "defaultValue": null } @@ -20020,42 +20987,13 @@ }, { "kind": "OBJECT", - "name": "credentials_aggregate_fields", - "description": "aggregate fields of \"credentials\"", + "name": "branches_mutation_response", + "description": "response of any mutation on the table \"branches\"", "fields": [ { - "name": "count", - "description": null, - "args": [ - { - "name": "columns", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "credentials_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "distinct", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], "type": { "kind": "NON_NULL", "name": null, @@ -20069,25 +21007,25 @@ "deprecationReason": null }, { - "name": "max", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "credentials_max_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "min", - "description": null, + "name": "returning", + "description": "data from the rows affected by the mutation", "args": [], "type": { - "kind": "OBJECT", - "name": "credentials_min_fields", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "branches", + "ofType": null + } + } + } }, "isDeprecated": false, "deprecationReason": null @@ -20100,36 +21038,30 @@ }, { "kind": "INPUT_OBJECT", - "name": "credentials_aggregate_order_by", - "description": "order by aggregate values of table \"credentials\"", + "name": "branches_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"branches\"", "fields": null, "inputFields": [ { - "name": "count", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "max", + "name": "data", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_max_order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_insert_input", + "ofType": null + } }, "defaultValue": null }, { - "name": "min", - "description": null, + "name": "on_conflict", + "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "credentials_min_order_by", + "name": "branches_on_conflict", "ofType": null }, "defaultValue": null @@ -20141,12 +21073,26 @@ }, { "kind": "INPUT_OBJECT", - "name": "credentials_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"credentials\"", + "name": "branches_on_conflict", + "description": "on_conflict condition type for table \"branches\"", "fields": null, "inputFields": [ { - "name": "data", + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branches_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", "description": null, "type": { "kind": "NON_NULL", @@ -20158,21 +21104,21 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "credentials_insert_input", + "kind": "ENUM", + "name": "branches_update_column", "ofType": null } } } }, - "defaultValue": null + "defaultValue": "[]" }, { - "name": "on_conflict", - "description": "upsert condition", + "name": "where", + "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "credentials_on_conflict", + "name": "branches_bool_exp", "ofType": null }, "defaultValue": null @@ -20184,102 +21130,86 @@ }, { "kind": "INPUT_OBJECT", - "name": "credentials_bool_exp", - "description": "Boolean expression to filter rows from the table \"credentials\". All fields are combined with a logical 'AND'.", + "name": "branches_order_by", + "description": "Ordering options when selecting data from \"branches\".", "fields": null, "inputFields": [ { - "name": "_and", + "name": "branch_status", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "credentials_bool_exp", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "branch_statuses_order_by", + "ofType": null }, "defaultValue": null }, { - "name": "_not", + "name": "created_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_bool_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "_or", + "name": "datasource", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "credentials_bool_exp", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "datasources_order_by", + "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "datasource_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "datasource", + "name": "explorations_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", + "name": "explorations_aggregate_order_by", "ofType": null }, "defaultValue": null }, { - "name": "datasource_id", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "name", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "password", + "name": "status", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -20288,8 +21218,8 @@ "name": "updated_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -20299,7 +21229,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "users_bool_exp", + "name": "users_order_by", "ofType": null }, "defaultValue": null @@ -20308,18 +21238,18 @@ "name": "user_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "username", + "name": "versions_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", + "name": "versions_aggregate_order_by", "ofType": null }, "defaultValue": null @@ -20329,23 +21259,78 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "branches_pk_columns_input", + "description": "primary key columns input for table: branches", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "ENUM", - "name": "credentials_constraint", - "description": "unique or primary key constraints on table \"credentials\"", + "name": "branches_select_column", + "description": "select columns of table \"branches\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "credentials_datasource_id_user_id_key", - "description": "unique or primary key constraint on columns \"user_id\", \"datasource_id\"", + "name": "created_at", + "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "credentials_pkey", - "description": "unique or primary key constraint on columns \"id\"", + "name": "datasource_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", "isDeprecated": false, "deprecationReason": null } @@ -20354,8 +21339,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "credentials_insert_input", - "description": "input type for inserting data into table \"credentials\"", + "name": "branches_set_input", + "description": "input type for updating data in table \"branches\"", "fields": null, "inputFields": [ { @@ -20368,16 +21353,6 @@ }, "defaultValue": null }, - { - "name": "datasource", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_obj_rel_insert_input", - "ofType": null - }, - "defaultValue": null - }, { "name": "datasource_id", "description": null, @@ -20399,7 +21374,7 @@ "defaultValue": null }, { - "name": "password", + "name": "name", "description": null, "type": { "kind": "SCALAR", @@ -20409,21 +21384,21 @@ "defaultValue": null }, { - "name": "updated_at", + "name": "status", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "ENUM", + "name": "branch_statuses_enum", "ofType": null }, "defaultValue": null }, { - "name": "user", + "name": "updated_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "users_obj_rel_insert_input", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null @@ -20437,13 +21412,38 @@ "ofType": null }, "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "branches_stream_cursor_input", + "description": "Streaming cursor of the table \"branches\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null }, { - "name": "username", - "description": null, + "name": "ordering", + "description": "cursor ordering", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "cursor_ordering", "ofType": null }, "defaultValue": null @@ -20454,348 +21454,392 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "credentials_max_fields", - "description": "aggregate max on columns", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "branches_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ { "name": "created_at", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "timestamptz", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "datasource_id", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "uuid", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "id", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "uuid", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "password", + "name": "name", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "branch_statuses_enum", + "ofType": null + }, + "defaultValue": null }, { "name": "updated_at", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "timestamptz", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "user_id", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "uuid", "ofType": null }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "branches_update_column", + "description": "update columns of table \"branches\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "created_at", + "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "username", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, + "name": "datasource_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], - "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "credentials_max_order_by", - "description": "order by max() on columns of table \"credentials\"", + "name": "branches_updates", + "description": null, "fields": null, "inputFields": [ { - "name": "created_at", - "description": null, + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "branches_set_input", "ofType": null }, "defaultValue": null }, { - "name": "datasource_id", - "description": null, + "name": "where", + "description": "filter the rows which have to be updated", "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "citext", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "citext_comparison_exp", + "description": "Boolean expression to compare columns of type \"citext\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ { - "name": "id", + "name": "_eq", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "citext", "ofType": null }, "defaultValue": null }, { - "name": "password", + "name": "_gt", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "citext", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "_gte", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "citext", "ofType": null }, "defaultValue": null }, { - "name": "user_id", - "description": null, + "name": "_ilike", + "description": "does the column match the given case-insensitive pattern", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "citext", "ofType": null }, "defaultValue": null }, { - "name": "username", + "name": "_in", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + } + } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "credentials_min_fields", - "description": "aggregate min on columns", - "fields": [ + }, { - "name": "created_at", - "description": null, - "args": [], + "name": "_iregex", + "description": "does the column match the given POSIX regular expression, case insensitive", "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "citext", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "datasource_id", + "name": "_is_null", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "Boolean", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "id", - "description": null, - "args": [], + "name": "_like", + "description": "does the column match the given pattern", "type": { "kind": "SCALAR", - "name": "uuid", + "name": "citext", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "password", + "name": "_lt", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "citext", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "updated_at", + "name": "_lte", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "citext", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "user_id", + "name": "_neq", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "citext", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "username", - "description": null, - "args": [], + "name": "_nilike", + "description": "does the column NOT match the given case-insensitive pattern", "type": { "kind": "SCALAR", - "name": "String", + "name": "citext", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "credentials_min_order_by", - "description": "order by min() on columns of table \"credentials\"", - "fields": null, - "inputFields": [ + "defaultValue": null + }, { - "name": "created_at", + "name": "_nin", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "citext", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "datasource_id", - "description": null, + "name": "_niregex", + "description": "does the column NOT match the given POSIX regular expression, case insensitive", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "citext", "ofType": null }, "defaultValue": null }, { - "name": "id", - "description": null, + "name": "_nlike", + "description": "does the column NOT match the given pattern", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "citext", "ofType": null }, "defaultValue": null }, { - "name": "password", - "description": null, + "name": "_nregex", + "description": "does the column NOT match the given POSIX regular expression, case sensitive", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "citext", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", - "description": null, + "name": "_nsimilar", + "description": "does the column NOT match the given SQL regular expression", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "citext", "ofType": null }, "defaultValue": null }, { - "name": "user_id", - "description": null, + "name": "_regex", + "description": "does the column match the given POSIX regular expression, case sensitive", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "citext", "ofType": null }, "defaultValue": null }, { - "name": "username", - "description": null, + "name": "_similar", + "description": "does the column match the given SQL regular expression", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "citext", "ofType": null }, "defaultValue": null @@ -20807,19 +21851,19 @@ }, { "kind": "OBJECT", - "name": "credentials_mutation_response", - "description": "response of any mutation on the table \"credentials\"", + "name": "create_events", + "description": "fields of action: \"create_events\"", "fields": [ { - "name": "affected_rows", - "description": "number of rows affected by the mutation", + "name": "created_at", + "description": "the time at which this action was created", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "timestamptz", "ofType": null } }, @@ -20827,24 +21871,44 @@ "deprecationReason": null }, { - "name": "returning", - "description": "data from the rows affected by the mutation", + "name": "errors", + "description": "errors related to the invocation", + "args": [], + "type": { + "kind": "SCALAR", + "name": "json", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "the unique id of an action", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "credentials", - "ofType": null - } - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "output", + "description": "the output fields of this action", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "events_create_mutation_response", + "ofType": null } }, "isDeprecated": false, @@ -20857,574 +21921,94 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "credentials_on_conflict", - "description": "on_conflict condition type for table \"credentials\"", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "credentials", + "description": "columns and relationships of \"credentials\"", + "fields": [ { - "name": "constraint", - "description": null, + "name": "accessTypeByAccessType", + "description": "An object relationship", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "credentials_constraint", + "kind": "OBJECT", + "name": "access_types", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "update_columns", + "name": "access_type", "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "credentials_update_column", - "ofType": null - } - } + "kind": "ENUM", + "name": "access_types_enum", + "ofType": null } }, - "defaultValue": "[]" + "isDeprecated": false, + "deprecationReason": null }, - { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "credentials_order_by", - "description": "Ordering options when selecting data from \"credentials\".", - "fields": null, - "inputFields": [ { "name": "created_at", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "datasource", - "description": null, + "description": "An object relationship", + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "datasources", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "datasource_id", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "id", "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "users_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "username", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "credentials_pk_columns_input", - "description": "primary key columns input for table: credentials", - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "credentials_select_column", - "description": "select columns of table \"credentials\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "created_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasource_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "password", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "username", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "credentials_set_input", - "description": "input type for updating data in table \"credentials\"", - "fields": null, - "inputFields": [ - { - "name": "created_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "datasource_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "username", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "credentials_stream_cursor_input", - "description": "Streaming cursor of the table \"credentials\"", - "fields": null, - "inputFields": [ - { - "name": "initial_value", - "description": "Stream column input with initial value", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "credentials_stream_cursor_value_input", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "ordering", - "description": "cursor ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "credentials_stream_cursor_value_input", - "description": "Initial value of the column from where the streaming should start", - "fields": null, - "inputFields": [ - { - "name": "created_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "datasource_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "username", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "credentials_update_column", - "description": "update columns of table \"credentials\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "created_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasource_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "password", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "username", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "credentials_updates", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "_set", - "description": "sets the columns of the filtered rows to the given values", - "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_set_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows which have to be updated", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "credentials_bool_exp", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "cursor_ordering", - "description": "ordering argument of a cursor", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "ASC", - "description": "ascending ordering of the cursor", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DESC", - "description": "descending ordering of the cursor", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "dashboards", - "description": "columns and relationships of \"dashboards\"", - "fields": [ - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], + "args": [], "type": { "kind": "NON_NULL", "name": null, @@ -21438,46 +22022,7 @@ "deprecationReason": null }, { - "name": "layout", - "description": null, - "args": [ - { - "name": "path", - "description": "JSON select path", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pinned_items", + "name": "members_credentials", "description": "An array relationship", "args": [ { @@ -21491,7 +22036,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "pinned_items_select_column", + "name": "members_credentials_select_column", "ofType": null } } @@ -21529,7 +22074,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "pinned_items_order_by", + "name": "members_credentials_order_by", "ofType": null } } @@ -21541,7 +22086,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "pinned_items_bool_exp", + "name": "members_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -21558,7 +22103,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "pinned_items", + "name": "members_credentials", "ofType": null } } @@ -21568,7 +22113,7 @@ "deprecationReason": null }, { - "name": "pinned_items_aggregate", + "name": "members_credentials_aggregate", "description": "An aggregate relationship", "args": [ { @@ -21582,7 +22127,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "pinned_items_select_column", + "name": "members_credentials_select_column", "ofType": null } } @@ -21620,7 +22165,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "pinned_items_order_by", + "name": "members_credentials_order_by", "ofType": null } } @@ -21632,7 +22177,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "pinned_items_bool_exp", + "name": "members_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -21643,7 +22188,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "pinned_items_aggregate", + "name": "members_credentials_aggregate", "ofType": null } }, @@ -21651,39 +22196,43 @@ "deprecationReason": null }, { - "name": "team", - "description": "An object relationship", + "name": "password", + "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "teams", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "team_id", + "name": "updated_at", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", - "description": null, + "name": "user", + "description": "An object relationship", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "OBJECT", + "name": "users", "ofType": null } }, @@ -21705,6 +22254,22 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "username", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -21714,8 +22279,8 @@ }, { "kind": "OBJECT", - "name": "dashboards_aggregate", - "description": "aggregated selection of \"dashboards\"", + "name": "credentials_aggregate", + "description": "aggregated selection of \"credentials\"", "fields": [ { "name": "aggregate", @@ -21723,7 +22288,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "dashboards_aggregate_fields", + "name": "credentials_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -21744,7 +22309,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "dashboards", + "name": "credentials", "ofType": null } } @@ -21761,7 +22326,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_aggregate_bool_exp", + "name": "credentials_aggregate_bool_exp", "description": null, "fields": null, "inputFields": [ @@ -21770,7 +22335,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dashboards_aggregate_bool_exp_count", + "name": "credentials_aggregate_bool_exp_count", "ofType": null }, "defaultValue": null @@ -21782,7 +22347,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_aggregate_bool_exp_count", + "name": "credentials_aggregate_bool_exp_count", "description": null, "fields": null, "inputFields": [ @@ -21797,7 +22362,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "dashboards_select_column", + "name": "credentials_select_column", "ofType": null } } @@ -21819,7 +22384,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dashboards_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -21845,8 +22410,8 @@ }, { "kind": "OBJECT", - "name": "dashboards_aggregate_fields", - "description": "aggregate fields of \"dashboards\"", + "name": "credentials_aggregate_fields", + "description": "aggregate fields of \"credentials\"", "fields": [ { "name": "count", @@ -21863,7 +22428,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "dashboards_select_column", + "name": "credentials_select_column", "ofType": null } } @@ -21899,7 +22464,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "dashboards_max_fields", + "name": "credentials_max_fields", "ofType": null }, "isDeprecated": false, @@ -21911,7 +22476,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "dashboards_min_fields", + "name": "credentials_min_fields", "ofType": null }, "isDeprecated": false, @@ -21925,8 +22490,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_aggregate_order_by", - "description": "order by aggregate values of table \"dashboards\"", + "name": "credentials_aggregate_order_by", + "description": "order by aggregate values of table \"credentials\"", "fields": null, "inputFields": [ { @@ -21944,7 +22509,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dashboards_max_order_by", + "name": "credentials_max_order_by", "ofType": null }, "defaultValue": null @@ -21954,28 +22519,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dashboards_min_order_by", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "dashboards_append_input", - "description": "append existing jsonb value of filtered columns with new jsonb value", - "fields": null, - "inputFields": [ - { - "name": "layout", - "description": null, - "type": { - "kind": "SCALAR", - "name": "jsonb", + "name": "credentials_min_order_by", "ofType": null }, "defaultValue": null @@ -21987,8 +22531,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"dashboards\"", + "name": "credentials_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"credentials\"", "fields": null, "inputFields": [ { @@ -22005,7 +22549,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "dashboards_insert_input", + "name": "credentials_insert_input", "ofType": null } } @@ -22018,7 +22562,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "dashboards_on_conflict", + "name": "credentials_on_conflict", "ofType": null }, "defaultValue": null @@ -22030,8 +22574,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_bool_exp", - "description": "Boolean expression to filter rows from the table \"dashboards\". All fields are combined with a logical 'AND'.", + "name": "credentials_bool_exp", + "description": "Boolean expression to filter rows from the table \"credentials\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -22045,7 +22589,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "dashboards_bool_exp", + "name": "credentials_bool_exp", "ofType": null } } @@ -22057,7 +22601,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dashboards_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -22073,7 +22617,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "dashboards_bool_exp", + "name": "credentials_bool_exp", "ofType": null } } @@ -22081,81 +22625,91 @@ "defaultValue": null }, { - "name": "created_at", + "name": "accessTypeByAccessType", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "name": "access_types_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "access_type", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "access_types_enum_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "layout", + "name": "created_at", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "datasource", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", + "name": "datasources_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "pinned_items", + "name": "datasource_id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "pinned_items_bool_exp", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "pinned_items_aggregate", + "name": "id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "pinned_items_aggregate_bool_exp", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "team", + "name": "members_credentials", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "teams_bool_exp", + "name": "members_credentials_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "team_id", + "name": "members_credentials_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "members_credentials_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "password", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", "ofType": null }, "defaultValue": null @@ -22170,6 +22724,16 @@ }, "defaultValue": null }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, { "name": "user_id", "description": null, @@ -22179,6 +22743,16 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "username", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -22187,14 +22761,20 @@ }, { "kind": "ENUM", - "name": "dashboards_constraint", - "description": "unique or primary key constraints on table \"dashboards\"", + "name": "credentials_constraint", + "description": "unique or primary key constraints on table \"credentials\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "dashboards_pkey", + "name": "credentials_datasource_id_user_id_key", + "description": "unique or primary key constraint on columns \"user_id\", \"datasource_id\"", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "credentials_pkey", "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null @@ -22204,93 +22784,52 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_delete_at_path_input", - "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "name": "credentials_insert_input", + "description": "input type for inserting data into table \"credentials\"", "fields": null, "inputFields": [ { - "name": "layout", + "name": "accessTypeByAccessType", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "access_types_obj_rel_insert_input", + "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "dashboards_delete_elem_input", - "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", - "fields": null, - "inputFields": [ + }, { - "name": "layout", + "name": "access_type", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "access_types_enum", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "dashboards_delete_key_input", - "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", - "fields": null, - "inputFields": [ + }, { - "name": "layout", + "name": "created_at", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "timestamptz", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "dashboards_insert_input", - "description": "input type for inserting data into table \"dashboards\"", - "fields": null, - "inputFields": [ + }, { - "name": "created_at", + "name": "datasource", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "datasources_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "datasource_id", "description": null, "type": { "kind": "SCALAR", @@ -22300,71 +22839,71 @@ "defaultValue": null }, { - "name": "layout", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "members_credentials", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "members_credentials_arr_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "pinned_items", + "name": "password", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "pinned_items_arr_rel_insert_input", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "team", + "name": "updated_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "teams_obj_rel_insert_input", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "team_id", + "name": "user", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "user_id", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "username", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "defaultValue": null @@ -22376,7 +22915,7 @@ }, { "kind": "OBJECT", - "name": "dashboards_max_fields", + "name": "credentials_max_fields", "description": "aggregate max on columns", "fields": [ { @@ -22392,7 +22931,7 @@ "deprecationReason": null }, { - "name": "id", + "name": "datasource_id", "description": null, "args": [], "type": { @@ -22404,24 +22943,24 @@ "deprecationReason": null }, { - "name": "name", + "name": "id", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "uuid", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "team_id", + "name": "password", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -22450,6 +22989,18 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "username", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -22459,8 +23010,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_max_order_by", - "description": "order by max() on columns of table \"dashboards\"", + "name": "credentials_max_order_by", + "description": "order by max() on columns of table \"credentials\"", "fields": null, "inputFields": [ { @@ -22474,7 +23025,7 @@ "defaultValue": null }, { - "name": "id", + "name": "datasource_id", "description": null, "type": { "kind": "ENUM", @@ -22484,7 +23035,7 @@ "defaultValue": null }, { - "name": "name", + "name": "id", "description": null, "type": { "kind": "ENUM", @@ -22494,7 +23045,7 @@ "defaultValue": null }, { - "name": "team_id", + "name": "password", "description": null, "type": { "kind": "ENUM", @@ -22522,6 +23073,16 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "username", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -22530,7 +23091,7 @@ }, { "kind": "OBJECT", - "name": "dashboards_min_fields", + "name": "credentials_min_fields", "description": "aggregate min on columns", "fields": [ { @@ -22546,7 +23107,7 @@ "deprecationReason": null }, { - "name": "id", + "name": "datasource_id", "description": null, "args": [], "type": { @@ -22558,24 +23119,24 @@ "deprecationReason": null }, { - "name": "name", + "name": "id", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "uuid", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "team_id", + "name": "password", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -22604,6 +23165,18 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "username", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -22613,8 +23186,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_min_order_by", - "description": "order by min() on columns of table \"dashboards\"", + "name": "credentials_min_order_by", + "description": "order by min() on columns of table \"credentials\"", "fields": null, "inputFields": [ { @@ -22628,7 +23201,7 @@ "defaultValue": null }, { - "name": "id", + "name": "datasource_id", "description": null, "type": { "kind": "ENUM", @@ -22638,7 +23211,7 @@ "defaultValue": null }, { - "name": "name", + "name": "id", "description": null, "type": { "kind": "ENUM", @@ -22648,7 +23221,7 @@ "defaultValue": null }, { - "name": "team_id", + "name": "password", "description": null, "type": { "kind": "ENUM", @@ -22676,6 +23249,16 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "username", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -22684,8 +23267,8 @@ }, { "kind": "OBJECT", - "name": "dashboards_mutation_response", - "description": "response of any mutation on the table \"dashboards\"", + "name": "credentials_mutation_response", + "description": "response of any mutation on the table \"credentials\"", "fields": [ { "name": "affected_rows", @@ -22718,7 +23301,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "dashboards", + "name": "credentials", "ofType": null } } @@ -22735,8 +23318,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_obj_rel_insert_input", - "description": "input type for inserting object relation for remote table \"dashboards\"", + "name": "credentials_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"credentials\"", "fields": null, "inputFields": [ { @@ -22747,7 +23330,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "dashboards_insert_input", + "name": "credentials_insert_input", "ofType": null } }, @@ -22758,7 +23341,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "dashboards_on_conflict", + "name": "credentials_on_conflict", "ofType": null }, "defaultValue": null @@ -22770,8 +23353,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_on_conflict", - "description": "on_conflict condition type for table \"dashboards\"", + "name": "credentials_on_conflict", + "description": "on_conflict condition type for table \"credentials\"", "fields": null, "inputFields": [ { @@ -22782,7 +23365,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "dashboards_constraint", + "name": "credentials_constraint", "ofType": null } }, @@ -22802,7 +23385,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "dashboards_update_column", + "name": "credentials_update_column", "ofType": null } } @@ -22815,7 +23398,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dashboards_bool_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -22827,22 +23410,22 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_order_by", - "description": "Ordering options when selecting data from \"dashboards\".", + "name": "credentials_order_by", + "description": "Ordering options when selecting data from \"credentials\".", "fields": null, "inputFields": [ { - "name": "created_at", + "name": "accessTypeByAccessType", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "access_types_order_by", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "access_type", "description": null, "type": { "kind": "ENUM", @@ -22852,7 +23435,7 @@ "defaultValue": null }, { - "name": "layout", + "name": "created_at", "description": null, "type": { "kind": "ENUM", @@ -22862,7 +23445,17 @@ "defaultValue": null }, { - "name": "name", + "name": "datasource", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", "description": null, "type": { "kind": "ENUM", @@ -22872,27 +23465,27 @@ "defaultValue": null }, { - "name": "pinned_items_aggregate", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "pinned_items_aggregate_order_by", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "team", + "name": "members_credentials_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "teams_order_by", + "name": "members_credentials_aggregate_order_by", "ofType": null }, "defaultValue": null }, { - "name": "team_id", + "name": "password", "description": null, "type": { "kind": "ENUM", @@ -22911,6 +23504,16 @@ }, "defaultValue": null }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + }, { "name": "user_id", "description": null, @@ -22920,6 +23523,16 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "username", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -22928,8 +23541,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_pk_columns_input", - "description": "primary key columns input for table: dashboards", + "name": "credentials_pk_columns_input", + "description": "primary key columns input for table: credentials", "fields": null, "inputFields": [ { @@ -22951,61 +23564,40 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "dashboards_prepend_input", - "description": "prepend existing jsonb value of filtered columns with new jsonb value", - "fields": null, - "inputFields": [ - { - "name": "layout", - "description": null, - "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "ENUM", - "name": "dashboards_select_column", - "description": "select columns of table \"dashboards\"", + "name": "credentials_select_column", + "description": "select columns of table \"credentials\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "created_at", + "name": "access_type", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "created_at", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "layout", + "name": "datasource_id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "name", + "name": "id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "team_id", + "name": "password", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -23021,16 +23613,32 @@ "description": "column name", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "username", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "dashboards_set_input", - "description": "input type for updating data in table \"dashboards\"", + "name": "credentials_set_input", + "description": "input type for updating data in table \"credentials\"", "fields": null, "inputFields": [ + { + "name": "access_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "access_types_enum", + "ofType": null + }, + "defaultValue": null + }, { "name": "created_at", "description": null, @@ -23042,7 +23650,7 @@ "defaultValue": null }, { - "name": "id", + "name": "datasource_id", "description": null, "type": { "kind": "SCALAR", @@ -23052,17 +23660,17 @@ "defaultValue": null }, { - "name": "layout", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -23072,31 +23680,31 @@ "defaultValue": null }, { - "name": "team_id", + "name": "updated_at", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "user_id", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "username", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "defaultValue": null @@ -23108,8 +23716,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_stream_cursor_input", - "description": "Streaming cursor of the table \"dashboards\"", + "name": "credentials_stream_cursor_input", + "description": "Streaming cursor of the table \"credentials\"", "fields": null, "inputFields": [ { @@ -23120,7 +23728,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "dashboards_stream_cursor_value_input", + "name": "credentials_stream_cursor_value_input", "ofType": null } }, @@ -23143,10 +23751,20 @@ }, { "kind": "INPUT_OBJECT", - "name": "dashboards_stream_cursor_value_input", + "name": "credentials_stream_cursor_value_input", "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ + { + "name": "access_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "access_types_enum", + "ofType": null + }, + "defaultValue": null + }, { "name": "created_at", "description": null, @@ -23158,7 +23776,7 @@ "defaultValue": null }, { - "name": "id", + "name": "datasource_id", "description": null, "type": { "kind": "SCALAR", @@ -23168,17 +23786,17 @@ "defaultValue": null }, { - "name": "layout", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -23188,31 +23806,31 @@ "defaultValue": null }, { - "name": "team_id", + "name": "updated_at", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "user_id", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "username", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, "defaultValue": null @@ -23224,38 +23842,38 @@ }, { "kind": "ENUM", - "name": "dashboards_update_column", - "description": "update columns of table \"dashboards\"", + "name": "credentials_update_column", + "description": "update columns of table \"credentials\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "created_at", + "name": "access_type", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "created_at", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "layout", + "name": "datasource_id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "name", + "name": "id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "team_id", + "name": "password", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -23271,72 +23889,28 @@ "description": "column name", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "username", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "dashboards_updates", + "name": "credentials_updates", "description": null, "fields": null, "inputFields": [ - { - "name": "_append", - "description": "append existing jsonb value of filtered columns with new jsonb value", - "type": { - "kind": "INPUT_OBJECT", - "name": "dashboards_append_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_delete_at_path", - "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", - "type": { - "kind": "INPUT_OBJECT", - "name": "dashboards_delete_at_path_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_delete_elem", - "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", - "type": { - "kind": "INPUT_OBJECT", - "name": "dashboards_delete_elem_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_delete_key", - "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", - "type": { - "kind": "INPUT_OBJECT", - "name": "dashboards_delete_key_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_prepend", - "description": "prepend existing jsonb value of filtered columns with new jsonb value", - "type": { - "kind": "INPUT_OBJECT", - "name": "dashboards_prepend_input", - "ofType": null - }, - "defaultValue": null - }, { "name": "_set", "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "dashboards_set_input", + "name": "credentials_set_input", "ofType": null }, "defaultValue": null @@ -23349,7 +23923,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "dashboards_bool_exp", + "name": "credentials_bool_exp", "ofType": null } }, @@ -23361,38 +23935,33 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "dataschemas", - "description": "columns and relationships of \"dataschemas\"", - "fields": [ + "kind": "ENUM", + "name": "cursor_ordering", + "description": "ordering argument of a cursor", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "checksum", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, + "name": "ASC", + "description": "ascending ordering of the cursor", "isDeprecated": false, "deprecationReason": null }, { - "name": "code", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, + "name": "DESC", + "description": "descending ordering of the cursor", "isDeprecated": false, "deprecationReason": null - }, + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "dashboards", + "description": "columns and relationships of \"dashboards\"", + "fields": [ { "name": "created_at", "description": null, @@ -23410,23 +23979,7 @@ "deprecationReason": null }, { - "name": "datasource", - "description": "An object relationship", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "datasources", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasource_id", + "name": "id", "description": null, "args": [], "type": { @@ -23442,17 +23995,24 @@ "deprecationReason": null }, { - "name": "id", + "name": "layout", "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null } + ], + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -23474,31 +24034,173 @@ "deprecationReason": null }, { - "name": "updated_at", - "description": null, - "args": [], + "name": "pinned_items", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "pinned_items_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "pinned_items_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "pinned_items_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "pinned_items", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "user", - "description": "An object relationship", - "args": [], + "name": "pinned_items_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "pinned_items_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "pinned_items_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "pinned_items_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "users", + "name": "pinned_items_aggregate", "ofType": null } }, @@ -23506,41 +24208,57 @@ "deprecationReason": null }, { - "name": "user_id", - "description": null, + "name": "team", + "description": "An object relationship", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "OBJECT", + "name": "teams", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "version", - "description": "An object relationship", + "name": "team_id", + "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "versions", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "version_id", + "name": "updated_at", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -23553,8 +24271,8 @@ }, { "kind": "OBJECT", - "name": "dataschemas_aggregate", - "description": "aggregated selection of \"dataschemas\"", + "name": "dashboards_aggregate", + "description": "aggregated selection of \"dashboards\"", "fields": [ { "name": "aggregate", @@ -23562,7 +24280,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "dataschemas_aggregate_fields", + "name": "dashboards_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -23583,7 +24301,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "dataschemas", + "name": "dashboards", "ofType": null } } @@ -23600,7 +24318,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_aggregate_bool_exp", + "name": "dashboards_aggregate_bool_exp", "description": null, "fields": null, "inputFields": [ @@ -23609,7 +24327,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_aggregate_bool_exp_count", + "name": "dashboards_aggregate_bool_exp_count", "ofType": null }, "defaultValue": null @@ -23621,7 +24339,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_aggregate_bool_exp_count", + "name": "dashboards_aggregate_bool_exp_count", "description": null, "fields": null, "inputFields": [ @@ -23636,7 +24354,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "dataschemas_select_column", + "name": "dashboards_select_column", "ofType": null } } @@ -23658,7 +24376,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_bool_exp", + "name": "dashboards_bool_exp", "ofType": null }, "defaultValue": null @@ -23684,8 +24402,8 @@ }, { "kind": "OBJECT", - "name": "dataschemas_aggregate_fields", - "description": "aggregate fields of \"dataschemas\"", + "name": "dashboards_aggregate_fields", + "description": "aggregate fields of \"dashboards\"", "fields": [ { "name": "count", @@ -23702,7 +24420,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "dataschemas_select_column", + "name": "dashboards_select_column", "ofType": null } } @@ -23738,7 +24456,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "dataschemas_max_fields", + "name": "dashboards_max_fields", "ofType": null }, "isDeprecated": false, @@ -23750,7 +24468,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "dataschemas_min_fields", + "name": "dashboards_min_fields", "ofType": null }, "isDeprecated": false, @@ -23764,8 +24482,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_aggregate_order_by", - "description": "order by aggregate values of table \"dataschemas\"", + "name": "dashboards_aggregate_order_by", + "description": "order by aggregate values of table \"dashboards\"", "fields": null, "inputFields": [ { @@ -23783,7 +24501,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_max_order_by", + "name": "dashboards_max_order_by", "ofType": null }, "defaultValue": null @@ -23793,7 +24511,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_min_order_by", + "name": "dashboards_min_order_by", "ofType": null }, "defaultValue": null @@ -23805,8 +24523,29 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"dataschemas\"", + "name": "dashboards_append_input", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ + { + "name": "layout", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dashboards_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"dashboards\"", "fields": null, "inputFields": [ { @@ -23823,7 +24562,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "dataschemas_insert_input", + "name": "dashboards_insert_input", "ofType": null } } @@ -23836,7 +24575,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_on_conflict", + "name": "dashboards_on_conflict", "ofType": null }, "defaultValue": null @@ -23848,8 +24587,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_bool_exp", - "description": "Boolean expression to filter rows from the table \"dataschemas\". All fields are combined with a logical 'AND'.", + "name": "dashboards_bool_exp", + "description": "Boolean expression to filter rows from the table \"dashboards\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -23863,7 +24602,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "dataschemas_bool_exp", + "name": "dashboards_bool_exp", "ofType": null } } @@ -23875,7 +24614,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_bool_exp", + "name": "dashboards_bool_exp", "ofType": null }, "defaultValue": null @@ -23891,33 +24630,13 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "dataschemas_bool_exp", + "name": "dashboards_bool_exp", "ofType": null } } }, "defaultValue": null }, - { - "name": "checksum", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -23929,67 +24648,67 @@ "defaultValue": null }, { - "name": "datasource", + "name": "id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "datasource_id", + "name": "layout", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "jsonb_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "name", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "String_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "pinned_items", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", + "name": "pinned_items_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "pinned_items_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "name": "pinned_items_aggregate_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "user", + "name": "team", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "users_bool_exp", + "name": "teams_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "team_id", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -23999,17 +24718,17 @@ "defaultValue": null }, { - "name": "version", + "name": "updated_at", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "versions_bool_exp", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "version_id", + "name": "user_id", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -24025,14 +24744,14 @@ }, { "kind": "ENUM", - "name": "dataschemas_constraint", - "description": "unique or primary key constraints on table \"dataschemas\"", + "name": "dashboards_constraint", + "description": "unique or primary key constraints on table \"dashboards\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "dataschemas_pkey", + "name": "dashboards_pkey", "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null @@ -24042,52 +24761,93 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_insert_input", - "description": "input type for inserting data into table \"dataschemas\"", + "name": "dashboards_delete_at_path_input", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", "fields": null, "inputFields": [ { - "name": "checksum", + "name": "layout", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dashboards_delete_elem_input", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "fields": null, + "inputFields": [ { - "name": "code", + "name": "layout", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dashboards_delete_key_input", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "fields": null, + "inputFields": [ { - "name": "created_at", + "name": "layout", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "String", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dashboards_insert_input", + "description": "input type for inserting data into table \"dashboards\"", + "fields": null, + "inputFields": [ { - "name": "datasource", + "name": "created_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_obj_rel_insert_input", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "datasource_id", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -24097,11 +24857,11 @@ "defaultValue": null }, { - "name": "id", + "name": "layout", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -24117,27 +24877,27 @@ "defaultValue": null }, { - "name": "updated_at", + "name": "pinned_items", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "pinned_items_arr_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "user", + "name": "team", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "users_obj_rel_insert_input", + "name": "teams_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "team_id", "description": null, "type": { "kind": "SCALAR", @@ -24147,17 +24907,17 @@ "defaultValue": null }, { - "name": "version", + "name": "updated_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "versions_obj_rel_insert_input", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "version_id", + "name": "user_id", "description": null, "type": { "kind": "SCALAR", @@ -24173,33 +24933,9 @@ }, { "kind": "OBJECT", - "name": "dataschemas_max_fields", + "name": "dashboards_max_fields", "description": "aggregate max on columns", "fields": [ - { - "name": "checksum", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "created_at", "description": null, @@ -24212,18 +24948,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "datasource_id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "id", "description": null, @@ -24249,31 +24973,31 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "team_id", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "user_id", + "name": "updated_at", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "version_id", + "name": "user_id", "description": null, "args": [], "type": { @@ -24292,12 +25016,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_max_order_by", - "description": "order by max() on columns of table \"dataschemas\"", + "name": "dashboards_max_order_by", + "description": "order by max() on columns of table \"dashboards\"", "fields": null, "inputFields": [ { - "name": "checksum", + "name": "created_at", "description": null, "type": { "kind": "ENUM", @@ -24307,7 +25031,7 @@ "defaultValue": null }, { - "name": "code", + "name": "id", "description": null, "type": { "kind": "ENUM", @@ -24317,7 +25041,7 @@ "defaultValue": null }, { - "name": "created_at", + "name": "name", "description": null, "type": { "kind": "ENUM", @@ -24327,7 +25051,7 @@ "defaultValue": null }, { - "name": "datasource_id", + "name": "team_id", "description": null, "type": { "kind": "ENUM", @@ -24337,7 +25061,7 @@ "defaultValue": null }, { - "name": "id", + "name": "updated_at", "description": null, "type": { "kind": "ENUM", @@ -24347,37 +25071,7 @@ "defaultValue": null }, { - "name": "name", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version_id", + "name": "user_id", "description": null, "type": { "kind": "ENUM", @@ -24393,33 +25087,9 @@ }, { "kind": "OBJECT", - "name": "dataschemas_min_fields", + "name": "dashboards_min_fields", "description": "aggregate min on columns", "fields": [ - { - "name": "checksum", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "created_at", "description": null, @@ -24432,18 +25102,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "datasource_id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "id", "description": null, @@ -24469,31 +25127,31 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "team_id", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "user_id", + "name": "updated_at", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "version_id", + "name": "user_id", "description": null, "args": [], "type": { @@ -24512,30 +25170,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_min_order_by", - "description": "order by min() on columns of table \"dataschemas\"", + "name": "dashboards_min_order_by", + "description": "order by min() on columns of table \"dashboards\"", "fields": null, "inputFields": [ - { - "name": "checksum", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -24546,16 +25184,6 @@ }, "defaultValue": null }, - { - "name": "datasource_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, { "name": "id", "description": null, @@ -24577,7 +25205,7 @@ "defaultValue": null }, { - "name": "updated_at", + "name": "team_id", "description": null, "type": { "kind": "ENUM", @@ -24587,7 +25215,7 @@ "defaultValue": null }, { - "name": "user_id", + "name": "updated_at", "description": null, "type": { "kind": "ENUM", @@ -24597,7 +25225,7 @@ "defaultValue": null }, { - "name": "version_id", + "name": "user_id", "description": null, "type": { "kind": "ENUM", @@ -24613,8 +25241,8 @@ }, { "kind": "OBJECT", - "name": "dataschemas_mutation_response", - "description": "response of any mutation on the table \"dataschemas\"", + "name": "dashboards_mutation_response", + "description": "response of any mutation on the table \"dashboards\"", "fields": [ { "name": "affected_rows", @@ -24647,7 +25275,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "dataschemas", + "name": "dashboards", "ofType": null } } @@ -24664,8 +25292,43 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_on_conflict", - "description": "on_conflict condition type for table \"dataschemas\"", + "name": "dashboards_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"dashboards\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "dashboards_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "dashboards_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dashboards_on_conflict", + "description": "on_conflict condition type for table \"dashboards\"", "fields": null, "inputFields": [ { @@ -24676,7 +25339,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "dataschemas_constraint", + "name": "dashboards_constraint", "ofType": null } }, @@ -24696,7 +25359,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "dataschemas_update_column", + "name": "dashboards_update_column", "ofType": null } } @@ -24709,7 +25372,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_bool_exp", + "name": "dashboards_bool_exp", "ofType": null }, "defaultValue": null @@ -24721,30 +25384,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_order_by", - "description": "Ordering options when selecting data from \"dataschemas\".", + "name": "dashboards_order_by", + "description": "Ordering options when selecting data from \"dashboards\".", "fields": null, "inputFields": [ - { - "name": "checksum", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -24756,17 +25399,7 @@ "defaultValue": null }, { - "name": "datasource", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "datasource_id", + "name": "id", "description": null, "type": { "kind": "ENUM", @@ -24776,7 +25409,7 @@ "defaultValue": null }, { - "name": "id", + "name": "layout", "description": null, "type": { "kind": "ENUM", @@ -24796,27 +25429,27 @@ "defaultValue": null }, { - "name": "updated_at", + "name": "pinned_items_aggregate", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "pinned_items_aggregate_order_by", "ofType": null }, "defaultValue": null }, { - "name": "user", + "name": "team", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "users_order_by", + "name": "teams_order_by", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "team_id", "description": null, "type": { "kind": "ENUM", @@ -24826,17 +25459,17 @@ "defaultValue": null }, { - "name": "version", + "name": "updated_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "versions_order_by", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "version_id", + "name": "user_id", "description": null, "type": { "kind": "ENUM", @@ -24852,8 +25485,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_pk_columns_input", - "description": "primary key columns input for table: dataschemas", + "name": "dashboards_pk_columns_input", + "description": "primary key columns input for table: dashboards", "fields": null, "inputFields": [ { @@ -24875,26 +25508,35 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "dashboards_prepend_input", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ + { + "name": "layout", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "ENUM", - "name": "dataschemas_select_column", - "description": "select columns of table \"dataschemas\"", + "name": "dashboards_select_column", + "description": "select columns of table \"dashboards\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ - { - "name": "checksum", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "created_at", "description": "column name", @@ -24902,13 +25544,13 @@ "deprecationReason": null }, { - "name": "datasource_id", + "name": "id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "layout", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -24920,19 +25562,19 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "team_id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "user_id", + "name": "updated_at", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "version_id", + "name": "user_id", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -24942,30 +25584,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_set_input", - "description": "input type for updating data in table \"dataschemas\"", + "name": "dashboards_set_input", + "description": "input type for updating data in table \"dashboards\"", "fields": null, "inputFields": [ - { - "name": "checksum", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -24977,7 +25599,7 @@ "defaultValue": null }, { - "name": "datasource_id", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -24987,11 +25609,11 @@ "defaultValue": null }, { - "name": "id", + "name": "layout", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -25007,27 +25629,27 @@ "defaultValue": null }, { - "name": "updated_at", + "name": "team_id", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "updated_at", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "version_id", + "name": "user_id", "description": null, "type": { "kind": "SCALAR", @@ -25043,8 +25665,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_stream_cursor_input", - "description": "Streaming cursor of the table \"dataschemas\"", + "name": "dashboards_stream_cursor_input", + "description": "Streaming cursor of the table \"dashboards\"", "fields": null, "inputFields": [ { @@ -25055,7 +25677,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "dataschemas_stream_cursor_value_input", + "name": "dashboards_stream_cursor_value_input", "ofType": null } }, @@ -25078,30 +25700,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_stream_cursor_value_input", + "name": "dashboards_stream_cursor_value_input", "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ - { - "name": "checksum", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -25113,7 +25715,7 @@ "defaultValue": null }, { - "name": "datasource_id", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -25123,11 +25725,11 @@ "defaultValue": null }, { - "name": "id", + "name": "layout", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -25143,27 +25745,27 @@ "defaultValue": null }, { - "name": "updated_at", + "name": "team_id", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "updated_at", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "version_id", + "name": "user_id", "description": null, "type": { "kind": "SCALAR", @@ -25179,24 +25781,12 @@ }, { "kind": "ENUM", - "name": "dataschemas_update_column", - "description": "update columns of table \"dataschemas\"", + "name": "dashboards_update_column", + "description": "update columns of table \"dashboards\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ - { - "name": "checksum", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "created_at", "description": "column name", @@ -25204,13 +25794,13 @@ "deprecationReason": null }, { - "name": "datasource_id", + "name": "id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "layout", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -25222,19 +25812,19 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "team_id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "user_id", + "name": "updated_at", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "version_id", + "name": "user_id", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -25244,16 +25834,66 @@ }, { "kind": "INPUT_OBJECT", - "name": "dataschemas_updates", + "name": "dashboards_updates", "description": null, "fields": null, "inputFields": [ + { + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "dashboards_append_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "type": { + "kind": "INPUT_OBJECT", + "name": "dashboards_delete_at_path_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "type": { + "kind": "INPUT_OBJECT", + "name": "dashboards_delete_elem_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "type": { + "kind": "INPUT_OBJECT", + "name": "dashboards_delete_key_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "dashboards_prepend_input", + "ofType": null + }, + "defaultValue": null + }, { "name": "_set", "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_set_input", + "name": "dashboards_set_input", "ofType": null }, "defaultValue": null @@ -25266,7 +25906,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "dataschemas_bool_exp", + "name": "dashboards_bool_exp", "ofType": null } }, @@ -25279,19 +25919,31 @@ }, { "kind": "OBJECT", - "name": "datasources", - "description": "columns and relationships of \"datasources\"", + "name": "dataschemas", + "description": "columns and relationships of \"dataschemas\"", "fields": [ { - "name": "auth", + "name": "checksum", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "code", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "auth_options_enum", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -25299,7 +25951,23 @@ "deprecationReason": null }, { - "name": "auth_option", + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource", "description": "An object relationship", "args": [], "type": { @@ -25307,7 +25975,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_options", + "name": "datasources", "ofType": null } }, @@ -25315,173 +25983,47 @@ "deprecationReason": null }, { - "name": "branches", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "branches_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "branches_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "datasource_id", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "branches", - "ofType": null - } - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "branches_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "branches_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "branches_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", - "ofType": null - }, - "defaultValue": null + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null } - ], + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "branches_aggregate", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -25489,7 +26031,7 @@ "deprecationReason": null }, { - "name": "created_at", + "name": "updated_at", "description": null, "args": [], "type": { @@ -25505,76 +26047,88 @@ "deprecationReason": null }, { - "name": "credentials", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "credentials_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "credentials_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_bool_exp", - "ofType": null - }, - "defaultValue": null + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null } - ], + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "versions", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "dataschemas_aggregate", + "description": "aggregated selection of \"dataschemas\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "dataschemas_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, @@ -25586,7 +26140,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "credentials", + "name": "dataschemas", "ofType": null } } @@ -25594,14 +26148,109 @@ }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "dataschemas_select_column", + "ofType": null + } + } + }, + "defaultValue": null }, { - "name": "credentials_aggregate", - "description": "An aggregate relationship", + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "dataschemas_aggregate_fields", + "description": "aggregate fields of \"dataschemas\"", + "fields": [ + { + "name": "count", + "description": null, "args": [ { - "name": "distinct_on", - "description": "distinct select on columns", + "name": "columns", + "description": null, "type": { "kind": "LIST", "name": null, @@ -25610,7 +26259,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "credentials_select_column", + "name": "dataschemas_select_column", "ofType": null } } @@ -25618,49 +26267,11 @@ "defaultValue": null }, { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", + "name": "distinct", + "description": null, "type": { "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "credentials_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_bool_exp", + "name": "Boolean", "ofType": null }, "defaultValue": null @@ -25670,8 +26281,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "credentials_aggregate", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, @@ -25679,293 +26290,85 @@ "deprecationReason": null }, { - "name": "dataschemas", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "dataschemas_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "dataschemas_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "dataschemas_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "max", + "description": null, + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "dataschemas", - "ofType": null - } - } - } + "kind": "OBJECT", + "name": "dataschemas_max_fields", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "dataschemas_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "dataschemas_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "dataschemas_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "dataschemas_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "min", + "description": null, + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "dataschemas_aggregate", - "ofType": null - } + "kind": "OBJECT", + "name": "dataschemas_min_fields", + "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_aggregate_order_by", + "description": "order by aggregate values of table \"dataschemas\"", + "fields": null, + "inputFields": [ { - "name": "db_params", + "name": "count", "description": null, - "args": [ - { - "name": "path", - "description": "JSON select path", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "db_type", + "name": "max", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "dataschemas_max_order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "explorations", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "explorations_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "explorations_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_min_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"dataschemas\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, "type": { "kind": "NON_NULL", "name": null, @@ -25976,162 +26379,2581 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "explorations", + "kind": "INPUT_OBJECT", + "name": "dataschemas_insert_input", "ofType": null } } } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "explorations_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "explorations_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "explorations_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_bool_exp", + "description": "Boolean expression to filter rows from the table \"dataschemas\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", + "name": "dataschemas_bool_exp", "ofType": null - }, - "defaultValue": null + } } - ], + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, "type": { - "kind": "NON_NULL", + "kind": "INPUT_OBJECT", + "name": "dataschemas_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "explorations_aggregate", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_bool_exp", + "ofType": null + } } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null + }, + { + "name": "checksum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "code", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null }, { "name": "id", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "name", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "request_logs", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "request_logs_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null + "name": "updated_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "version", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "versions_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "version_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "dataschemas_constraint", + "description": "unique or primary key constraints on table \"dataschemas\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "dataschemas_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_insert_input", + "description": "input type for inserting data into table \"dataschemas\"", + "fields": null, + "inputFields": [ + { + "name": "checksum", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "code", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "version", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "versions_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "version_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "dataschemas_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "checksum", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "code", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_max_order_by", + "description": "order by max() on columns of table \"dataschemas\"", + "fields": null, + "inputFields": [ + { + "name": "checksum", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "code", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "version_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "dataschemas_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "checksum", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "code", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_min_order_by", + "description": "order by min() on columns of table \"dataschemas\"", + "fields": null, + "inputFields": [ + { + "name": "checksum", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "code", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "version_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "dataschemas_mutation_response", + "description": "response of any mutation on the table \"dataschemas\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "dataschemas", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_on_conflict", + "description": "on_conflict condition type for table \"dataschemas\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "dataschemas_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "dataschemas_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_order_by", + "description": "Ordering options when selecting data from \"dataschemas\".", + "fields": null, + "inputFields": [ + { + "name": "checksum", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "code", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "version", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "versions_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "version_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_pk_columns_input", + "description": "primary key columns input for table: dataschemas", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "dataschemas_select_column", + "description": "select columns of table \"dataschemas\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "checksum", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "code", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_set_input", + "description": "input type for updating data in table \"dataschemas\"", + "fields": null, + "inputFields": [ + { + "name": "checksum", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "code", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "version_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_stream_cursor_input", + "description": "Streaming cursor of the table \"dataschemas\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "checksum", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "code", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "version_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "dataschemas_update_column", + "description": "update columns of table \"dataschemas\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "checksum", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "code", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "version_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "dataschemas_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "datasources", + "description": "columns and relationships of \"datasources\"", + "fields": [ + { + "name": "auth", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "auth_option", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_options", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "branches", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branches_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "branches", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "branches_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "branches_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "branches_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "branches_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "credentials", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "credentials", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "credentials_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "credentials_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dataschemas", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "dataschemas_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "dataschemas", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "dataschemas_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "dataschemas_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "dataschemas_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "db_params", + "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "db_type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "explorations", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "explorations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "explorations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "explorations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "explorations_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "explorations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "explorations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "explorations_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "request_logs", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "request_logs_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "request_logs_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "request_logs_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "request_logs", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "request_logs_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "request_logs_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "request_logs_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "request_logs_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "request_logs_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sql_credentials", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "sql_credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "sql_credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "sql_credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "sql_credentials", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sql_credentials_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "sql_credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null }, { "name": "offset", @@ -26150,28 +28972,1387 @@ "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "request_logs_order_by", - "ofType": null - } + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "sql_credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "sql_credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "sql_credentials_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "teams", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "datasources_aggregate", + "description": "aggregated selection of \"datasources\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "datasources_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "datasources", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "datasources_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "datasources_aggregate_fields", + "description": "aggregate fields of \"datasources\"", + "fields": [ + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "datasources_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "datasources_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "datasources_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_aggregate_order_by", + "description": "order by aggregate values of table \"datasources\"", + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_min_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_append_input", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ + { + "name": "db_params", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"datasources\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "datasources_insert_input", + "ofType": null } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", + "description": "Boolean expression to filter rows from the table \"datasources\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { "kind": "INPUT_OBJECT", - "name": "request_logs_bool_exp", + "name": "datasources_bool_exp", "ofType": null - }, - "defaultValue": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "auth", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_options_enum_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "auth_option", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_options_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "branches", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "branches_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "credentials", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "credentials_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "dataschemas", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "dataschemas_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "db_params", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "db_type", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "explorations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "explorations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "request_logs", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "request_logs_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "request_logs_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "request_logs_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sql_credentials", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "sql_credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sql_credentials_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "sql_credentials_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "teams_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "datasources_constraint", + "description": "unique or primary key constraints on table \"datasources\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "datasources_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_delete_at_path_input", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "fields": null, + "inputFields": [ + { + "name": "db_params", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_delete_elem_input", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "fields": null, + "inputFields": [ + { + "name": "db_params", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_delete_key_input", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "fields": null, + "inputFields": [ + { + "name": "db_params", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_insert_input", + "description": "input type for inserting data into table \"datasources\"", + "fields": null, + "inputFields": [ + { + "name": "auth", + "description": null, + "type": { + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "auth_option", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_options_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "branches", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "credentials", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "dataschemas", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "db_params", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "db_type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "explorations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "request_logs", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "request_logs_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sql_credentials", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "sql_credentials_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "teams_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "datasources_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "db_type", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_max_order_by", + "description": "order by max() on columns of table \"datasources\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "db_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "datasources_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "db_type", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_min_order_by", + "description": "order by min() on columns of table \"datasources\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "db_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "datasources_mutation_response", + "description": "response of any mutation on the table \"datasources\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null } - ], + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], "type": { "kind": "NON_NULL", "name": null, @@ -26183,7 +30364,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "request_logs", + "name": "datasources", "ofType": null } } @@ -26191,161 +30372,71 @@ }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"datasources\"", + "fields": null, + "inputFields": [ { - "name": "request_logs_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "request_logs_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "request_logs_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "request_logs_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "data", + "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "request_logs_aggregate", + "kind": "INPUT_OBJECT", + "name": "datasources_insert_input", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "sql_credentials", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "sql_credentials_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "sql_credentials_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "sql_credentials_bool_exp", - "ofType": null - }, - "defaultValue": null + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_on_conflict", + "description": "on_conflict condition type for table \"datasources\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "datasources_constraint", + "ofType": null } - ], + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, "type": { "kind": "NON_NULL", "name": null, @@ -26356,236 +30447,258 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "sql_credentials", + "kind": "ENUM", + "name": "datasources_update_column", "ofType": null } } } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_order_by", + "description": "Ordering options when selecting data from \"datasources\".", + "fields": null, + "inputFields": [ + { + "name": "auth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "auth_option", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_options_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "branches_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "credentials_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "credentials_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "dataschemas_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "dataschemas_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "db_params", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "db_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "explorations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "request_logs_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "request_logs_aggregate_order_by", + "ofType": null + }, + "defaultValue": null }, { "name": "sql_credentials_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "sql_credentials_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "sql_credentials_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "sql_credentials_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "sql_credentials_aggregate", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "sql_credentials_aggregate_order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "team", - "description": "An object relationship", - "args": [], + "description": null, "type": { - "kind": "OBJECT", - "name": "teams", + "kind": "INPUT_OBJECT", + "name": "teams_order_by", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "team_id", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "updated_at", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "user", - "description": "An object relationship", - "args": [], + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "users", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "user_id", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "datasources_aggregate", - "description": "aggregated selection of \"datasources\"", - "fields": [ - { - "name": "aggregate", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "datasources_aggregate_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, + "kind": "INPUT_OBJECT", + "name": "datasources_pk_columns_input", + "description": "primary key columns input for table: datasources", + "fields": null, + "inputFields": [ { - "name": "nodes", + "name": "id", "description": null, - "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "datasources", - "ofType": null - } - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "datasources_aggregate_bool_exp", - "description": null, + "name": "datasources_prepend_input", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", "fields": null, "inputFields": [ { - "name": "count", + "name": "db_params", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_aggregate_bool_exp_count", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -26595,202 +30708,163 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "ENUM", + "name": "datasources_select_column", + "description": "select columns of table \"datasources\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "auth", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "db_params", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "db_type", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", - "name": "datasources_aggregate_bool_exp_count", - "description": null, + "name": "datasources_set_input", + "description": "input type for updating data in table \"datasources\"", "fields": null, "inputFields": [ { - "name": "arguments", + "name": "auth", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "datasources_select_column", - "ofType": null - } - } + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null }, "defaultValue": null }, { - "name": "distinct", + "name": "created_at", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "filter", + "name": "db_params", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "predicate", + "name": "db_type", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "datasources_aggregate_fields", - "description": "aggregate fields of \"datasources\"", - "fields": [ - { - "name": "count", - "description": null, - "args": [ - { - "name": "columns", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "datasources_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "distinct", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null }, { - "name": "max", + "name": "id", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "datasources_max_fields", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "min", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "datasources_min_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "datasources_aggregate_order_by", - "description": "order by aggregate values of table \"datasources\"", - "fields": null, - "inputFields": [ - { - "name": "count", + "name": "name", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "max", + "name": "team_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_max_order_by", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "min", + "name": "updated_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_min_order_by", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "datasources_append_input", - "description": "append existing jsonb value of filtered columns with new jsonb value", - "fields": null, - "inputFields": [ + }, { - "name": "db_params", + "name": "user_id", "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -26802,38 +30876,30 @@ }, { "kind": "INPUT_OBJECT", - "name": "datasources_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"datasources\"", + "name": "datasources_stream_cursor_input", + "description": "Streaming cursor of the table \"datasources\"", "fields": null, "inputFields": [ { - "name": "data", - "description": null, + "name": "initial_value", + "description": "Stream column input with initial value", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "datasources_insert_input", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "datasources_stream_cursor_value_input", + "ofType": null } }, "defaultValue": null }, { - "name": "on_conflict", - "description": "upsert condition", + "name": "ordering", + "description": "cursor ordering", "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_on_conflict", + "kind": "ENUM", + "name": "cursor_ordering", "ofType": null }, "defaultValue": null @@ -26845,292 +30911,591 @@ }, { "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", - "description": "Boolean expression to filter rows from the table \"datasources\". All fields are combined with a logical 'AND'.", + "name": "datasources_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "_and", + "name": "auth", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", - "ofType": null - } - } + "kind": "ENUM", + "name": "auth_options_enum", + "ofType": null }, "defaultValue": null }, { - "name": "_not", + "name": "created_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "db_params", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "db_type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "datasources_update_column", + "description": "update columns of table \"datasources\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "auth", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "db_params", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "db_type", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null }, { - "name": "_or", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", - "ofType": null - } - } - }, - "defaultValue": null + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null }, { - "name": "auth", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_options_enum_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "datasources_updates", + "description": null, + "fields": null, + "inputFields": [ { - "name": "auth_option", - "description": null, + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", "type": { "kind": "INPUT_OBJECT", - "name": "auth_options_bool_exp", + "name": "datasources_append_input", "ofType": null }, "defaultValue": null }, { - "name": "branches", - "description": null, + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", "type": { "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "name": "datasources_delete_at_path_input", "ofType": null }, "defaultValue": null }, { - "name": "branches_aggregate", - "description": null, + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", "type": { "kind": "INPUT_OBJECT", - "name": "branches_aggregate_bool_exp", + "name": "datasources_delete_elem_input", "ofType": null }, "defaultValue": null }, { - "name": "created_at", - "description": null, + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", "type": { "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "name": "datasources_delete_key_input", "ofType": null }, "defaultValue": null }, { - "name": "credentials", - "description": null, + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", "type": { "kind": "INPUT_OBJECT", - "name": "credentials_bool_exp", + "name": "datasources_prepend_input", "ofType": null }, "defaultValue": null }, { - "name": "credentials_aggregate", - "description": null, + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "credentials_aggregate_bool_exp", + "name": "datasources_set_input", "ofType": null }, "defaultValue": null }, { - "name": "dataschemas", - "description": null, + "name": "where", + "description": "filter the rows which have to be updated", "type": { - "kind": "INPUT_OBJECT", - "name": "dataschemas_bool_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", + "ofType": null + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "events", + "description": "suitable for Events Analytics", + "fields": [ { - "name": "dataschemas_aggregate", + "name": "created_at", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "dataschemas_aggregate_bool_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "db_params", + "name": "data", "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "db_type", + "name": "device_context", "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "explorations", + "name": "id", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "explorations_aggregate", + "name": "page_context", "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_aggregate_bool_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "id", + "name": "updated_at", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "name", + "name": "user", "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "events_aggregate", + "description": "aggregated selection of \"events\"", + "fields": [ { - "name": "request_logs", + "name": "aggregate", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "request_logs_bool_exp", + "kind": "OBJECT", + "name": "events_aggregate_fields", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "request_logs_aggregate", + "name": "nodes", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "request_logs_aggregate_bool_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "events", + "ofType": null + } + } + } }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "events_aggregate_fields", + "description": "aggregate fields of \"events\"", + "fields": [ { - "name": "sql_credentials", + "name": "count", "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "events_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "INPUT_OBJECT", - "name": "sql_credentials_bool_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "sql_credentials_aggregate", + "name": "max", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "sql_credentials_aggregate_bool_exp", + "kind": "OBJECT", + "name": "events_max_fields", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "team", + "name": "min", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "teams_bool_exp", + "kind": "OBJECT", + "name": "events_min_fields", "ofType": null }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "events_append_input", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ { - "name": "team_id", + "name": "data", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "device_context", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "user", + "name": "page_context", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "users_bool_exp", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "user", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -27140,31 +31505,14 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "ENUM", - "name": "datasources_constraint", - "description": "unique or primary key constraints on table \"datasources\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "datasources_pkey", - "description": "unique or primary key constraint on columns \"id\"", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", - "name": "datasources_delete_at_path_input", - "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "name": "events_bool_exp", + "description": "Boolean expression to filter rows from the table \"events\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { - "name": "db_params", + "name": "_and", "description": null, "type": { "kind": "LIST", @@ -27173,244 +31521,291 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "events_bool_exp", "ofType": null } } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "datasources_delete_elem_input", - "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", - "fields": null, - "inputFields": [ - { - "name": "db_params", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "datasources_delete_key_input", - "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", - "fields": null, - "inputFields": [ - { - "name": "db_params", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "datasources_insert_input", - "description": "input type for inserting data into table \"datasources\"", - "fields": null, - "inputFields": [ + }, { - "name": "auth", + "name": "_not", "description": null, "type": { - "kind": "ENUM", - "name": "auth_options_enum", + "kind": "INPUT_OBJECT", + "name": "events_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "auth_option", + "name": "_or", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "auth_options_obj_rel_insert_input", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "events_bool_exp", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "branches", + "name": "created_at", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_arr_rel_insert_input", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "data", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "credentials", + "name": "device_context", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "credentials_arr_rel_insert_input", + "name": "jsonb_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "dataschemas", + "name": "id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "dataschemas_arr_rel_insert_input", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "db_params", + "name": "page_context", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "db_type", + "name": "updated_at", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "explorations", + "name": "user", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "explorations_arr_rel_insert_input", + "name": "jsonb_comparison_exp", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "events_constraint", + "description": "unique or primary key constraints on table \"events\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "id", + "name": "events_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "events_create_input", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "data", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "json", + "ofType": null + } }, "defaultValue": null }, { - "name": "name", + "name": "device_context", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "json", "ofType": null }, "defaultValue": null }, { - "name": "request_logs", + "name": "page_context", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "request_logs_arr_rel_insert_input", + "kind": "SCALAR", + "name": "json", "ofType": null }, "defaultValue": null }, { - "name": "sql_credentials", + "name": "user", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "sql_credentials_arr_rel_insert_input", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "json", + "ofType": null + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "events_create_mutation_response", + "description": null, + "fields": [ { - "name": "team", + "name": "affected_rows", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "teams_obj_rel_insert_input", + "kind": "SCALAR", + "name": "Int", "ofType": null }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "events_delete_at_path_input", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "fields": null, + "inputFields": [ { - "name": "team_id", + "name": "data", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "updated_at", + "name": "device_context", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "user", + "name": "page_context", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "users_obj_rel_insert_input", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "user_id", + "name": "user", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null } @@ -27420,152 +31815,159 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "datasources_max_fields", - "description": "aggregate max on columns", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "events_delete_elem_input", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "fields": null, + "inputFields": [ { - "name": "created_at", + "name": "data", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "db_type", + "name": "device_context", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "id", + "name": "page_context", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "name", + "name": "user", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "events_delete_key_input", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "fields": null, + "inputFields": [ + { + "name": "data", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "team_id", + "name": "device_context", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "updated_at", + "name": "page_context", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "user_id", + "name": "user", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "datasources_max_order_by", - "description": "order by max() on columns of table \"datasources\"", + "name": "events_insert_input", + "description": "input type for inserting data into table \"events\"", "fields": null, "inputFields": [ { "name": "created_at", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "db_type", + "name": "data", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "device_context", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "team_id", + "name": "page_context", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -27574,18 +31976,18 @@ "name": "updated_at", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "user", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -27597,8 +31999,8 @@ }, { "kind": "OBJECT", - "name": "datasources_min_fields", - "description": "aggregate min on columns", + "name": "events_max_fields", + "description": "aggregate max on columns", "fields": [ { "name": "created_at", @@ -27613,43 +32015,54 @@ "deprecationReason": null }, { - "name": "db_type", + "name": "id", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "uuid", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "updated_at", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "events_min_fields", + "description": "aggregate min on columns", + "fields": [ { - "name": "name", + "name": "created_at", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "timestamptz", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "team_id", + "name": "id", "description": null, "args": [], "type": { @@ -27671,18 +32084,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "user_id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -27690,91 +32091,10 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "datasources_min_order_by", - "description": "order by min() on columns of table \"datasources\"", - "fields": null, - "inputFields": [ - { - "name": "created_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "db_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "team_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", - "name": "datasources_mutation_response", - "description": "response of any mutation on the table \"datasources\"", + "name": "events_mutation_response", + "description": "response of any mutation on the table \"events\"", "fields": [ { "name": "affected_rows", @@ -27807,7 +32127,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "datasources", + "name": "events", "ofType": null } } @@ -27824,43 +32144,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "datasources_obj_rel_insert_input", - "description": "input type for inserting object relation for remote table \"datasources\"", - "fields": null, - "inputFields": [ - { - "name": "data", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "datasources_insert_input", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "on_conflict", - "description": "upsert condition", - "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_on_conflict", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "datasources_on_conflict", - "description": "on_conflict condition type for table \"datasources\"", + "name": "events_on_conflict", + "description": "on_conflict condition type for table \"events\"", "fields": null, "inputFields": [ { @@ -27871,7 +32156,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "datasources_constraint", + "name": "events_constraint", "ofType": null } }, @@ -27891,7 +32176,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "datasources_update_column", + "name": "events_update_column", "ofType": null } } @@ -27904,7 +32189,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", + "name": "events_bool_exp", "ofType": null }, "defaultValue": null @@ -27916,40 +32201,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "datasources_order_by", - "description": "Ordering options when selecting data from \"datasources\".", + "name": "events_order_by", + "description": "Ordering options when selecting data from \"events\".", "fields": null, "inputFields": [ - { - "name": "auth", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "auth_option", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "auth_options_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "branches_aggregate", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "branches_aggregate_order_by", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -27961,27 +32216,7 @@ "defaultValue": null }, { - "name": "credentials_aggregate", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_aggregate_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "dataschemas_aggregate", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "dataschemas_aggregate_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "db_params", + "name": "data", "description": null, "type": { "kind": "ENUM", @@ -27991,7 +32226,7 @@ "defaultValue": null }, { - "name": "db_type", + "name": "device_context", "description": null, "type": { "kind": "ENUM", @@ -28000,16 +32235,6 @@ }, "defaultValue": null }, - { - "name": "explorations_aggregate", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_aggregate_order_by", - "ofType": null - }, - "defaultValue": null - }, { "name": "id", "description": null, @@ -28021,47 +32246,7 @@ "defaultValue": null }, { - "name": "name", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "request_logs_aggregate", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "request_logs_aggregate_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "sql_credentials_aggregate", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "sql_credentials_aggregate_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "team", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "teams_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "team_id", + "name": "page_context", "description": null, "type": { "kind": "ENUM", @@ -28083,16 +32268,6 @@ { "name": "user", "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "users_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user_id", - "description": null, "type": { "kind": "ENUM", "name": "order_by", @@ -28107,8 +32282,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "datasources_pk_columns_input", - "description": "primary key columns input for table: datasources", + "name": "events_pk_columns_input", + "description": "primary key columns input for table: events", "fields": null, "inputFields": [ { @@ -28132,12 +32307,42 @@ }, { "kind": "INPUT_OBJECT", - "name": "datasources_prepend_input", + "name": "events_prepend_input", "description": "prepend existing jsonb value of filtered columns with new jsonb value", "fields": null, "inputFields": [ { - "name": "db_params", + "name": "data", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "device_context", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "page_context", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", "description": null, "type": { "kind": "SCALAR", @@ -28153,18 +32358,12 @@ }, { "kind": "ENUM", - "name": "datasources_select_column", - "description": "select columns of table \"datasources\"", + "name": "events_select_column", + "description": "select columns of table \"events\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ - { - "name": "auth", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "created_at", "description": "column name", @@ -28172,13 +32371,13 @@ "deprecationReason": null }, { - "name": "db_params", + "name": "data", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "db_type", + "name": "device_context", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -28190,13 +32389,7 @@ "deprecationReason": null }, { - "name": "name", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "team_id", + "name": "page_context", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -28208,7 +32401,7 @@ "deprecationReason": null }, { - "name": "user_id", + "name": "user", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -28218,20 +32411,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "datasources_set_input", - "description": "input type for updating data in table \"datasources\"", + "name": "events_set_input", + "description": "input type for updating data in table \"events\"", "fields": null, "inputFields": [ - { - "name": "auth", - "description": null, - "type": { - "kind": "ENUM", - "name": "auth_options_enum", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -28243,7 +32426,7 @@ "defaultValue": null }, { - "name": "db_params", + "name": "data", "description": null, "type": { "kind": "SCALAR", @@ -28253,11 +32436,11 @@ "defaultValue": null }, { - "name": "db_type", + "name": "device_context", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -28273,21 +32456,11 @@ "defaultValue": null }, { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "team_id", + "name": "page_context", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -28303,11 +32476,11 @@ "defaultValue": null }, { - "name": "user_id", + "name": "user", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -28319,8 +32492,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "datasources_stream_cursor_input", - "description": "Streaming cursor of the table \"datasources\"", + "name": "events_stream_cursor_input", + "description": "Streaming cursor of the table \"events\"", "fields": null, "inputFields": [ { @@ -28331,7 +32504,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "datasources_stream_cursor_value_input", + "name": "events_stream_cursor_value_input", "ofType": null } }, @@ -28354,20 +32527,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "datasources_stream_cursor_value_input", + "name": "events_stream_cursor_value_input", "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ - { - "name": "auth", - "description": null, - "type": { - "kind": "ENUM", - "name": "auth_options_enum", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -28379,7 +32542,7 @@ "defaultValue": null }, { - "name": "db_params", + "name": "data", "description": null, "type": { "kind": "SCALAR", @@ -28389,11 +32552,11 @@ "defaultValue": null }, { - "name": "db_type", + "name": "device_context", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -28409,21 +32572,11 @@ "defaultValue": null }, { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "team_id", + "name": "page_context", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -28439,11 +32592,11 @@ "defaultValue": null }, { - "name": "user_id", + "name": "user", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -28455,18 +32608,12 @@ }, { "kind": "ENUM", - "name": "datasources_update_column", - "description": "update columns of table \"datasources\"", + "name": "events_update_column", + "description": "update columns of table \"events\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ - { - "name": "auth", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "created_at", "description": "column name", @@ -28474,13 +32621,13 @@ "deprecationReason": null }, { - "name": "db_params", + "name": "data", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "db_type", + "name": "device_context", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -28492,13 +32639,7 @@ "deprecationReason": null }, { - "name": "name", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "team_id", + "name": "page_context", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -28510,7 +32651,7 @@ "deprecationReason": null }, { - "name": "user_id", + "name": "user", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -28520,7 +32661,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "datasources_updates", + "name": "events_updates", "description": null, "fields": null, "inputFields": [ @@ -28529,7 +32670,7 @@ "description": "append existing jsonb value of filtered columns with new jsonb value", "type": { "kind": "INPUT_OBJECT", - "name": "datasources_append_input", + "name": "events_append_input", "ofType": null }, "defaultValue": null @@ -28539,7 +32680,7 @@ "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", "type": { "kind": "INPUT_OBJECT", - "name": "datasources_delete_at_path_input", + "name": "events_delete_at_path_input", "ofType": null }, "defaultValue": null @@ -28549,7 +32690,7 @@ "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", "type": { "kind": "INPUT_OBJECT", - "name": "datasources_delete_elem_input", + "name": "events_delete_elem_input", "ofType": null }, "defaultValue": null @@ -28559,7 +32700,7 @@ "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", "type": { "kind": "INPUT_OBJECT", - "name": "datasources_delete_key_input", + "name": "events_delete_key_input", "ofType": null }, "defaultValue": null @@ -28569,7 +32710,7 @@ "description": "prepend existing jsonb value of filtered columns with new jsonb value", "type": { "kind": "INPUT_OBJECT", - "name": "datasources_prepend_input", + "name": "events_prepend_input", "ofType": null }, "defaultValue": null @@ -28579,7 +32720,7 @@ "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "datasources_set_input", + "name": "events_set_input", "ofType": null }, "defaultValue": null @@ -28592,7 +32733,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", + "name": "events_bool_exp", "ofType": null } }, @@ -28605,35 +32746,166 @@ }, { "kind": "OBJECT", - "name": "events", - "description": "suitable for Events Analytics", + "name": "explorations", + "description": "columns and relationships of \"explorations\"", "fields": [ { - "name": "created_at", - "description": null, - "args": [], + "name": "alerts", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "alerts_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "alerts_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "alerts_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "alerts", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "data", - "description": null, + "name": "alerts_aggregate", + "description": "An aggregate relationship", "args": [ { - "name": "path", - "description": "JSON select path", + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "alerts_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "alerts_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "alerts_bool_exp", "ofType": null }, "defaultValue": null @@ -28643,8 +32915,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "OBJECT", + "name": "alerts_aggregate", "ofType": null } }, @@ -28652,26 +32924,39 @@ "deprecationReason": null }, { - "name": "device_context", + "name": "branch", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "branches", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "branch_id", "description": null, - "args": [ - { - "name": "path", - "description": "JSON select path", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "jsonb", + "name": "timestamptz", "ofType": null } }, @@ -28679,15 +32964,15 @@ "deprecationReason": null }, { - "name": "id", - "description": null, + "name": "datasource", + "description": "An object relationship", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "uuid", + "kind": "OBJECT", + "name": "datasources", "ofType": null } }, @@ -28695,26 +32980,15 @@ "deprecationReason": null }, { - "name": "page_context", + "name": "datasource_id", "description": null, - "args": [ - { - "name": "path", - "description": "JSON select path", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null } }, @@ -28722,7 +32996,7 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "id", "description": null, "args": [], "type": { @@ -28730,7 +33004,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null } }, @@ -28738,59 +33012,76 @@ "deprecationReason": null }, { - "name": "user", - "description": null, + "name": "pinned_items", + "description": "An array relationship", "args": [ { - "name": "path", - "description": "JSON select path", + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "pinned_items_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "pinned_items_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "pinned_items_bool_exp", "ofType": null }, "defaultValue": null } ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "events_aggregate", - "description": "aggregated selection of \"events\"", - "fields": [ - { - "name": "aggregate", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "events_aggregate_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": null, - "args": [], "type": { "kind": "NON_NULL", "name": null, @@ -28802,7 +33093,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "events", + "name": "pinned_items", "ofType": null } } @@ -28810,25 +33101,14 @@ }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "events_aggregate_fields", - "description": "aggregate fields of \"events\"", - "fields": [ + }, { - "name": "count", - "description": null, + "name": "pinned_items_aggregate", + "description": "An aggregate relationship", "args": [ { - "name": "columns", - "description": null, + "name": "distinct_on", + "description": "distinct select on columns", "type": { "kind": "LIST", "name": null, @@ -28837,7 +33117,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "events_select_column", + "name": "pinned_items_select_column", "ofType": null } } @@ -28845,11 +33125,49 @@ "defaultValue": null }, { - "name": "distinct", - "description": null, + "name": "limit", + "description": "limit the number of rows returned", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "pinned_items_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "pinned_items_bool_exp", "ofType": null }, "defaultValue": null @@ -28859,8 +33177,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "pinned_items_aggregate", "ofType": null } }, @@ -28868,437 +33186,330 @@ "deprecationReason": null }, { - "name": "max", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "events_max_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "min", + "name": "playground_settings", "description": null, - "args": [], + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "OBJECT", - "name": "events_min_fields", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "events_append_input", - "description": "append existing jsonb value of filtered columns with new jsonb value", - "fields": null, - "inputFields": [ - { - "name": "data", - "description": null, - "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "device_context", - "description": null, - "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "page_context", - "description": null, - "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - }, - "defaultValue": null }, { - "name": "user", - "description": null, - "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "events_bool_exp", - "description": "Boolean expression to filter rows from the table \"events\". All fields are combined with a logical 'AND'.", - "fields": null, - "inputFields": [ - { - "name": "_and", + "name": "playground_state", "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "events_bool_exp", + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", "ofType": null - } + }, + "defaultValue": null } - }, - "defaultValue": null - }, - { - "name": "_not", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "events_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_or", - "description": null, + ], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "events_bool_exp", - "ofType": null - } + "kind": "SCALAR", + "name": "jsonb", + "ofType": null } }, - "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "data", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "device_context", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "page_context", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "events_constraint", - "description": "unique or primary key constraints on table \"events\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "events_pkey", - "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "events_create_input", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "data", - "description": null, + "name": "reports", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "reports_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "reports_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "reports_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "json", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "reports", + "ofType": null + } + } } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "device_context", - "description": null, + "name": "reports_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "reports_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "reports_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "reports_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "json", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "reports_aggregate", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "page_context", + "name": "updated_at", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "json", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "user", + "name": "user_id", "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "json", + "name": "uuid", "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "events_create_mutation_response", - "description": null, + "name": "explorations_aggregate", + "description": "aggregated selection of \"explorations\"", "fields": [ { - "name": "affected_rows", + "name": "aggregate", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "explorations_aggregate_fields", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "events_delete_at_path_input", - "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", - "fields": null, - "inputFields": [ - { - "name": "data", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "device_context", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "page_context", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null }, { - "name": "user", + "name": "nodes", "description": null, + "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "explorations", + "ofType": null + } } } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "events_delete_elem_input", - "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "name": "explorations_aggregate_bool_exp", + "description": null, "fields": null, "inputFields": [ { - "name": "data", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "device_context", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "page_context", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user", + "name": "count", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "explorations_aggregate_bool_exp_count", "ofType": null }, "defaultValue": null @@ -29310,47 +33521,59 @@ }, { "kind": "INPUT_OBJECT", - "name": "events_delete_key_input", - "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "name": "explorations_aggregate_bool_exp_count", + "description": null, "fields": null, "inputFields": [ { - "name": "data", + "name": "arguments", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "explorations_select_column", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "device_context", + "name": "distinct", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "page_context", + "name": "filter", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "user", + "name": "predicate", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } }, "defaultValue": null } @@ -29360,205 +33583,166 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "events_insert_input", - "description": "input type for inserting data into table \"events\"", - "fields": null, - "inputFields": [ - { - "name": "created_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "data", - "description": null, - "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "device_context", - "description": null, - "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, + "kind": "OBJECT", + "name": "explorations_aggregate_fields", + "description": "aggregate fields of \"explorations\"", + "fields": [ { - "name": "page_context", + "name": "count", "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "explorations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "updated_at", + "name": "max", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "OBJECT", + "name": "explorations_max_fields", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "user", + "name": "min", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "OBJECT", + "name": "explorations_min_fields", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "events_max_fields", - "description": "aggregate max on columns", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "explorations_aggregate_order_by", + "description": "order by aggregate values of table \"explorations\"", + "fields": null, + "inputFields": [ { - "name": "created_at", + "name": "count", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "ENUM", + "name": "order_by", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "id", + "name": "max", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "explorations_max_order_by", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "updated_at", + "name": "min", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "explorations_min_order_by", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "events_min_fields", - "description": "aggregate min on columns", - "fields": [ - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, + "kind": "INPUT_OBJECT", + "name": "explorations_append_input", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ { - "name": "id", + "name": "playground_settings", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "jsonb", "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null + }, + "defaultValue": null }, { - "name": "updated_at", + "name": "playground_state", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "jsonb", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "events_mutation_response", - "description": "response of any mutation on the table \"events\"", - "fields": [ - { - "name": "affected_rows", - "description": "number of rows affected by the mutation", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, + "kind": "INPUT_OBJECT", + "name": "explorations_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"explorations\"", + "fields": null, + "inputFields": [ { - "name": "returning", - "description": "data from the rows affected by the mutation", - "args": [], + "name": "data", + "description": null, "type": { "kind": "NON_NULL", "name": null, @@ -29569,111 +33753,148 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "events", + "kind": "INPUT_OBJECT", + "name": "explorations_insert_input", "ofType": null } } } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_on_conflict", + "ofType": null + }, + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "events_on_conflict", - "description": "on_conflict condition type for table \"events\"", + "name": "explorations_bool_exp", + "description": "Boolean expression to filter rows from the table \"explorations\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { - "name": "constraint", + "name": "_and", "description": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "ENUM", - "name": "events_constraint", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + } } }, "defaultValue": null }, { - "name": "update_columns", + "name": "_not", "description": null, "type": { - "kind": "NON_NULL", + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "events_update_column", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null } } }, - "defaultValue": "[]" + "defaultValue": null }, { - "name": "where", + "name": "alerts", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "events_bool_exp", + "name": "alerts_bool_exp", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "events_order_by", - "description": "Ordering options when selecting data from \"events\".", - "fields": null, - "inputFields": [ + }, + { + "name": "alerts_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "alerts_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "branch", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "branch_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, { "name": "created_at", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "data", + "name": "datasource", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "datasources_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "device_context", + "name": "datasource_id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null @@ -29682,114 +33903,88 @@ "name": "id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "page_context", + "name": "pinned_items", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "pinned_items_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "pinned_items_aggregate", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "pinned_items_aggregate_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "user", + "name": "playground_settings", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "events_pk_columns_input", - "description": "primary key columns input for table: events", - "fields": null, - "inputFields": [ + }, { - "name": "id", + "name": "playground_state", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", + "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "events_prepend_input", - "description": "prepend existing jsonb value of filtered columns with new jsonb value", - "fields": null, - "inputFields": [ + }, { - "name": "data", + "name": "reports", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "INPUT_OBJECT", + "name": "reports_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "device_context", + "name": "reports_aggregate", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "INPUT_OBJECT", + "name": "reports_aggregate_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "page_context", + "name": "updated_at", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "user", + "name": "user_id", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null @@ -29801,51 +33996,15 @@ }, { "kind": "ENUM", - "name": "events_select_column", - "description": "select columns of table \"events\"", + "name": "explorations_constraint", + "description": "unique or primary key constraints on table \"explorations\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "created_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "data", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "device_context", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page_context", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": "column name", + "name": "explorations_pkey", + "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null } @@ -29854,76 +34013,104 @@ }, { "kind": "INPUT_OBJECT", - "name": "events_set_input", - "description": "input type for updating data in table \"events\"", + "name": "explorations_delete_at_path_input", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", "fields": null, "inputFields": [ { - "name": "created_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "data", + "name": "playground_settings", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "device_context", + "name": "playground_state", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "explorations_delete_elem_input", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "fields": null, + "inputFields": [ { - "name": "id", + "name": "playground_settings", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "Int", "ofType": null }, "defaultValue": null }, { - "name": "page_context", + "name": "playground_state", "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "Int", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "explorations_delete_key_input", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "fields": null, + "inputFields": [ { - "name": "updated_at", + "name": "playground_settings", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "user", + "name": "playground_state", "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "String", "ofType": null }, "defaultValue": null @@ -29935,45 +34122,40 @@ }, { "kind": "INPUT_OBJECT", - "name": "events_stream_cursor_input", - "description": "Streaming cursor of the table \"events\"", + "name": "explorations_insert_input", + "description": "input type for inserting data into table \"explorations\"", "fields": null, "inputFields": [ { - "name": "initial_value", - "description": "Stream column input with initial value", + "name": "alerts", + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "events_stream_cursor_value_input", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "alerts_arr_rel_insert_input", + "ofType": null }, "defaultValue": null }, { - "name": "ordering", - "description": "cursor ordering", + "name": "branch", + "description": null, "type": { - "kind": "ENUM", - "name": "cursor_ordering", + "kind": "INPUT_OBJECT", + "name": "branches_obj_rel_insert_input", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "events_stream_cursor_value_input", - "description": "Initial value of the column from where the streaming should start", - "fields": null, - "inputFields": [ + }, + { + "name": "branch_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, { "name": "created_at", "description": null, @@ -29985,21 +34167,21 @@ "defaultValue": null }, { - "name": "data", + "name": "datasource", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "INPUT_OBJECT", + "name": "datasources_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "device_context", + "name": "datasource_id", "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -30015,7 +34197,27 @@ "defaultValue": null }, { - "name": "page_context", + "name": "pinned_items", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "pinned_items_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "playground_settings", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "playground_state", "description": null, "type": { "kind": "SCALAR", @@ -30024,6 +34226,16 @@ }, "defaultValue": null }, + { + "name": "reports", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "reports_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, { "name": "updated_at", "description": null, @@ -30035,11 +34247,11 @@ "defaultValue": null }, { - "name": "user", + "name": "user_id", "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -30050,137 +34262,153 @@ "possibleTypes": null }, { - "kind": "ENUM", - "name": "events_update_column", - "description": "update columns of table \"events\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ + "kind": "OBJECT", + "name": "explorations_max_fields", + "description": "aggregate max on columns", + "fields": [ { - "name": "created_at", - "description": "column name", + "name": "branch_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "data", - "description": "column name", + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "device_context", - "description": "column name", + "name": "datasource_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page_context", - "description": "column name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { "name": "updated_at", - "description": "column name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "user", - "description": "column name", + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null } ], + "inputFields": null, + "interfaces": [], + "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "events_updates", - "description": null, + "name": "explorations_max_order_by", + "description": "order by max() on columns of table \"explorations\"", "fields": null, "inputFields": [ { - "name": "_append", - "description": "append existing jsonb value of filtered columns with new jsonb value", + "name": "branch_id", + "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "events_append_input", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "_delete_at_path", - "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "name": "created_at", + "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "events_delete_at_path_input", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "_delete_elem", - "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "name": "datasource_id", + "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "events_delete_elem_input", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "_delete_key", - "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "name": "id", + "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "events_delete_key_input", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "_prepend", - "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "name": "updated_at", + "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "events_prepend_input", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "_set", - "description": "sets the columns of the filtered rows to the given values", + "name": "user_id", + "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "events_set_input", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows which have to be updated", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "events_bool_exp", - "ofType": null - } - }, - "defaultValue": null } ], "interfaces": null, @@ -30189,195 +34417,9 @@ }, { "kind": "OBJECT", - "name": "explorations", - "description": "columns and relationships of \"explorations\"", + "name": "explorations_min_fields", + "description": "aggregate min on columns", "fields": [ - { - "name": "alerts", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "alerts_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "alerts_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "alerts", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "alerts_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "alerts_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "alerts_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "alerts_aggregate", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "branch", - "description": "An object relationship", - "args": [], - "type": { - "kind": "OBJECT", - "name": "branches", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "branch_id", "description": null, @@ -30395,29 +34437,9 @@ "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasource", - "description": "An object relationship", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "datasources", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -30427,13 +34449,9 @@ "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -30443,239 +34461,129 @@ "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pinned_items", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "pinned_items_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "pinned_items_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "pinned_items_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "pinned_items", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "pinned_items_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "pinned_items_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "pinned_items_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "pinned_items_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + }, + { + "name": "updated_at", + "description": null, + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "pinned_items_aggregate", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "playground_settings", + "name": "user_id", "description": null, - "args": [ - { - "name": "path", - "description": "JSON select path", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "explorations_min_order_by", + "description": "order by min() on columns of table \"explorations\"", + "fields": null, + "inputFields": [ + { + "name": "branch_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null }, { - "name": "playground_state", + "name": "created_at", "description": null, - "args": [ - { - "name": "path", - "description": "JSON select path", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "explorations_mutation_response", + "description": "response of any mutation on the table \"explorations\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "jsonb", + "name": "Int", "ofType": null } }, @@ -30683,76 +34591,9 @@ "deprecationReason": null }, { - "name": "reports", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "reports_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "reports_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "reports_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], "type": { "kind": "NON_NULL", "name": null, @@ -30764,7 +34605,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "reports", + "name": "explorations", "ofType": null } } @@ -30772,187 +34613,293 @@ }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "explorations_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"explorations\"", + "fields": null, + "inputFields": [ { - "name": "reports_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "reports_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "reports_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "reports_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "data", + "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "reports_aggregate", + "kind": "INPUT_OBJECT", + "name": "explorations_insert_input", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "updated_at", + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "explorations_on_conflict", + "description": "on_conflict condition type for table \"explorations\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", "description": null, - "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "ENUM", + "name": "explorations_constraint", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "user_id", + "name": "update_columns", "description": null, - "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "explorations_update_column", + "ofType": null + } + } } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "explorations_aggregate", - "description": "aggregated selection of \"explorations\"", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "explorations_order_by", + "description": "Ordering options when selecting data from \"explorations\".", + "fields": null, + "inputFields": [ { - "name": "aggregate", + "name": "alerts_aggregate", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "explorations_aggregate_fields", + "kind": "INPUT_OBJECT", + "name": "alerts_aggregate_order_by", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null + }, + { + "name": "branch", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "branches_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "branch_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "datasources_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pinned_items_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "pinned_items_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "playground_settings", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "playground_state", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null }, { - "name": "nodes", + "name": "reports_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "reports_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "explorations_pk_columns_input", + "description": "primary key columns input for table: explorations", + "fields": null, + "inputFields": [ + { + "name": "id", "description": null, - "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "explorations", - "ofType": null - } - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "explorations_aggregate_bool_exp", - "description": null, + "name": "explorations_prepend_input", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", "fields": null, "inputFields": [ { - "name": "count", + "name": "playground_settings", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_aggregate_bool_exp_count", + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "playground_state", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null @@ -30962,61 +34909,148 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "ENUM", + "name": "explorations_select_column", + "description": "select columns of table \"explorations\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "branch_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "playground_settings", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "playground_state", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", - "name": "explorations_aggregate_bool_exp_count", - "description": null, + "name": "explorations_set_input", + "description": "input type for updating data in table \"explorations\"", "fields": null, "inputFields": [ { - "name": "arguments", + "name": "branch_id", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "explorations_select_column", - "ofType": null - } - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "defaultValue": null }, { - "name": "distinct", + "name": "created_at", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "filter", + "name": "datasource_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "predicate", + "name": "id", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "playground_settings", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "playground_state", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "defaultValue": null } @@ -31026,132 +35060,86 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "explorations_aggregate_fields", - "description": "aggregate fields of \"explorations\"", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "explorations_stream_cursor_input", + "description": "Streaming cursor of the table \"explorations\"", + "fields": null, + "inputFields": [ { - "name": "count", - "description": null, - "args": [ - { - "name": "columns", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "explorations_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "distinct", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "initial_value", + "description": "Stream column input with initial value", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "explorations_stream_cursor_value_input", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "max", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "explorations_max_fields", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "min", - "description": null, - "args": [], + "name": "ordering", + "description": "cursor ordering", "type": { - "kind": "OBJECT", - "name": "explorations_min_fields", + "kind": "ENUM", + "name": "cursor_ordering", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "explorations_aggregate_order_by", - "description": "order by aggregate values of table \"explorations\"", + "name": "explorations_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "count", + "name": "branch_id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "max", + "name": "created_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_max_order_by", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "min", + "name": "datasource_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_min_order_by", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "explorations_append_input", - "description": "append existing jsonb value of filtered columns with new jsonb value", - "fields": null, - "inputFields": [ + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, { "name": "playground_settings", "description": null, @@ -31171,91 +35159,224 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, + { + "kind": "ENUM", + "name": "explorations_update_column", + "description": "update columns of table \"explorations\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "branch_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "datasource_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "playground_settings", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "playground_state", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", - "name": "explorations_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"explorations\"", + "name": "explorations_updates", + "description": null, "fields": null, "inputFields": [ { - "name": "data", - "description": null, + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "explorations_insert_input", - "ofType": null - } - } - } + "kind": "INPUT_OBJECT", + "name": "explorations_append_input", + "ofType": null }, "defaultValue": null }, { - "name": "on_conflict", - "description": "upsert condition", + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", "type": { "kind": "INPUT_OBJECT", - "name": "explorations_on_conflict", + "name": "explorations_delete_at_path_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_delete_elem_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_delete_key_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_prepend_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_set_input", "ofType": null }, "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + } + }, + "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, + { + "kind": "SCALAR", + "name": "float8", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", - "description": "Boolean expression to filter rows from the table \"explorations\". All fields are combined with a logical 'AND'.", + "name": "float8_comparison_exp", + "description": "Boolean expression to compare columns of type \"float8\". All fields are combined with logical 'AND'.", "fields": null, "inputFields": [ { - "name": "_and", + "name": "_eq", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", - "ofType": null - } - } + "kind": "SCALAR", + "name": "float8", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "float8", + "ofType": null }, "defaultValue": null }, { - "name": "_not", + "name": "_gte", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", + "kind": "SCALAR", + "name": "float8", "ofType": null }, "defaultValue": null }, { - "name": "_or", + "name": "_in", "description": null, "type": { "kind": "LIST", @@ -31264,8 +35385,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", + "kind": "SCALAR", + "name": "float8", "ofType": null } } @@ -31273,196 +35394,206 @@ "defaultValue": null }, { - "name": "alerts", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "alerts_aggregate", + "name": "_is_null", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_aggregate_bool_exp", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "branch", + "name": "_lt", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "branches_bool_exp", + "kind": "SCALAR", + "name": "float8", "ofType": null }, "defaultValue": null }, { - "name": "branch_id", + "name": "_lte", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "SCALAR", + "name": "float8", "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "_neq", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "kind": "SCALAR", + "name": "float8", "ofType": null }, "defaultValue": null }, { - "name": "datasource", + "name": "_nin", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_bool_exp", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "float8", + "ofType": null + } + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "json", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "jsonb", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "jsonb_cast_exp", + "description": null, + "fields": null, + "inputFields": [ { - "name": "datasource_id", + "name": "String", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "String_comparison_exp", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", + "description": "Boolean expression to compare columns of type \"jsonb\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ { - "name": "id", + "name": "_cast", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "jsonb_cast_exp", "ofType": null }, "defaultValue": null }, { - "name": "pinned_items", - "description": null, + "name": "_contained_in", + "description": "is the column contained in the given json value", "type": { - "kind": "INPUT_OBJECT", - "name": "pinned_items_bool_exp", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "pinned_items_aggregate", - "description": null, + "name": "_contains", + "description": "does the column contain the given json value at the top level", "type": { - "kind": "INPUT_OBJECT", - "name": "pinned_items_aggregate_bool_exp", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "playground_settings", + "name": "_eq", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "playground_state", + "name": "_gt", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "reports", + "name": "_gte", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "reports_bool_exp", + "kind": "SCALAR", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "reports_aggregate", - "description": null, + "name": "_has_key", + "description": "does the string exist as a top-level key in the column", "type": { - "kind": "INPUT_OBJECT", - "name": "reports_aggregate_bool_exp", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", - "description": null, + "name": "_has_keys_all", + "description": "do all of these strings exist as top-level keys in the column", "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "user_id", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "explorations_constraint", - "description": "unique or primary key constraints on table \"explorations\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "explorations_pkey", - "description": "unique or primary key constraint on columns \"id\"", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "explorations_delete_at_path_input", - "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", - "fields": null, - "inputFields": [ - { - "name": "playground_settings", - "description": null, + "name": "_has_keys_any", + "description": "do any of these strings exist as top-level keys in the column", "type": { "kind": "LIST", "name": null, @@ -31479,7 +35610,7 @@ "defaultValue": null }, { - "name": "playground_state", + "name": "_in", "description": null, "type": { "kind": "LIST", @@ -31489,74 +35620,70 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "jsonb", "ofType": null } } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "explorations_delete_elem_input", - "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", - "fields": null, - "inputFields": [ + }, { - "name": "playground_settings", + "name": "_is_null", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "playground_state", + "name": "_lt", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "jsonb", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "explorations_delete_key_input", - "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", - "fields": null, - "inputFields": [ + }, { - "name": "playground_settings", + "name": "_lte", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "jsonb", "ofType": null }, "defaultValue": null }, { - "name": "playground_state", + "name": "_neq", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "jsonb", "ofType": null }, "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } + } + }, + "defaultValue": null } ], "interfaces": null, @@ -31564,137 +35691,203 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "explorations_insert_input", - "description": "input type for inserting data into table \"explorations\"", - "fields": null, - "inputFields": [ - { - "name": "alerts", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_arr_rel_insert_input", - "ofType": null - }, - "defaultValue": null - }, + "kind": "OBJECT", + "name": "member_roles", + "description": "columns and relationships of \"member_roles\"", + "fields": [ { - "name": "branch", - "description": null, + "name": "access_list", + "description": "An object relationship", + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "branches_obj_rel_insert_input", + "kind": "OBJECT", + "name": "access_lists", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "branch_id", + "name": "access_list_id", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "uuid", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "created_at", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "timestamptz", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "datasource", + "name": "id", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_obj_rel_insert_input", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "datasource_id", - "description": null, + "name": "member", + "description": "An object relationship", + "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "members", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "id", + "name": "member_id", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "pinned_items", - "description": null, + "name": "teamRoleByTeamRole", + "description": "An object relationship", + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "pinned_items_arr_rel_insert_input", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "team_roles", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "playground_settings", + "name": "team_role", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "team_roles_enum", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "playground_state", + "name": "updated_at", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "timestamptz", "ofType": null }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "member_roles_aggregate", + "description": "aggregated selection of \"member_roles\"", + "fields": [ { - "name": "reports", + "name": "aggregate", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "reports_arr_rel_insert_input", + "kind": "OBJECT", + "name": "member_roles_aggregate_fields", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "updated_at", + "name": "nodes", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "member_roles", + "ofType": null + } + } + } }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "member_roles_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ { - "name": "user_id", + "name": "count", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "member_roles_aggregate_bool_exp_count", "ofType": null }, "defaultValue": null @@ -31705,77 +35898,137 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "explorations_max_fields", - "description": "aggregate max on columns", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "member_roles_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_roles_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, { - "name": "branch_id", + "name": "distinct", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "Boolean", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "created_at", + "name": "filter", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "datasource_id", + "name": "predicate", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } }, - "isDeprecated": false, - "deprecationReason": null - }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "member_roles_aggregate_fields", + "description": "aggregate fields of \"member_roles\"", + "fields": [ { - "name": "id", + "name": "count", "description": null, - "args": [], + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_roles_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "max", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "OBJECT", + "name": "member_roles_max_fields", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "user_id", + "name": "min", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "OBJECT", + "name": "member_roles_min_fields", "ofType": null }, "isDeprecated": false, @@ -31789,22 +36042,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "explorations_max_order_by", - "description": "order by max() on columns of table \"explorations\"", + "name": "member_roles_aggregate_order_by", + "description": "order by aggregate values of table \"member_roles\"", "fields": null, "inputFields": [ { - "name": "branch_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", + "name": "count", "description": null, "type": { "kind": "ENUM", @@ -31814,41 +36057,64 @@ "defaultValue": null }, { - "name": "datasource_id", + "name": "max", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "member_roles_max_order_by", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "min", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "member_roles_min_order_by", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "member_roles_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"member_roles\"", + "fields": null, + "inputFields": [ { - "name": "updated_at", + "name": "data", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_insert_input", + "ofType": null + } + } + } }, "defaultValue": null }, { - "name": "user_id", - "description": null, + "name": "on_conflict", + "description": "upsert condition", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "member_roles_on_conflict", "ofType": null }, "defaultValue": null @@ -31859,150 +36125,143 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "explorations_min_fields", - "description": "aggregate min on columns", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "description": "Boolean expression to filter rows from the table \"member_roles\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ { - "name": "branch_id", + "name": "_and", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "ofType": null + } + } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "created_at", + "name": "_not", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "datasource_id", + "name": "_or", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "ofType": null + } + } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "id", + "name": "access_list", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "access_lists_bool_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "updated_at", + "name": "access_list_id", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "user_id", + "name": "created_at", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "explorations_min_order_by", - "description": "order by min() on columns of table \"explorations\"", - "fields": null, - "inputFields": [ + "defaultValue": null + }, { - "name": "branch_id", + "name": "id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "member", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "members_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "datasource_id", + "name": "member_id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "teamRoleByTeamRole", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "team_roles_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "team_role", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "team_roles_enum_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "updated_at", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null @@ -32013,236 +36272,208 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "explorations_mutation_response", - "description": "response of any mutation on the table \"explorations\"", - "fields": [ + "kind": "ENUM", + "name": "member_roles_constraint", + "description": "unique or primary key constraints on table \"member_roles\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "affected_rows", - "description": "number of rows affected by the mutation", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, + "name": "member_roles_member_id_team_role_key", + "description": "unique or primary key constraint on columns \"team_role\", \"member_id\"", "isDeprecated": false, "deprecationReason": null }, { - "name": "returning", - "description": "data from the rows affected by the mutation", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "explorations", - "ofType": null - } - } - } - }, + "name": "member_roles_pkey", + "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], - "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "explorations_obj_rel_insert_input", - "description": "input type for inserting object relation for remote table \"explorations\"", + "name": "member_roles_insert_input", + "description": "input type for inserting data into table \"member_roles\"", "fields": null, "inputFields": [ { - "name": "data", + "name": "access_list", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "explorations_insert_input", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "access_lists_obj_rel_insert_input", + "ofType": null }, "defaultValue": null }, { - "name": "on_conflict", - "description": "upsert condition", + "name": "access_list_id", + "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_on_conflict", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "explorations_on_conflict", - "description": "on_conflict condition type for table \"explorations\"", - "fields": null, - "inputFields": [ + }, { - "name": "constraint", + "name": "created_at", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "explorations_constraint", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "defaultValue": null }, { - "name": "update_columns", + "name": "id", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "explorations_update_column", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, - "defaultValue": "[]" + "defaultValue": null }, { - "name": "where", + "name": "member", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", + "name": "members_obj_rel_insert_input", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "explorations_order_by", - "description": "Ordering options when selecting data from \"explorations\".", - "fields": null, - "inputFields": [ + }, { - "name": "alerts_aggregate", + "name": "member_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "alerts_aggregate_order_by", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "branch", + "name": "teamRoleByTeamRole", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "branches_order_by", + "name": "team_roles_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "branch_id", + "name": "team_role", "description": null, "type": { "kind": "ENUM", - "name": "order_by", + "name": "team_roles_enum", "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "updated_at", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "member_roles_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "access_list_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "datasource", + "name": "created_at", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "datasources_order_by", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "datasource_id", + "name": "id", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "id", + "name": "member_id", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "pinned_items_aggregate", + "name": "updated_at", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "pinned_items_aggregate_order_by", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "member_roles_max_order_by", + "description": "order by max() on columns of table \"member_roles\"", + "fields": null, + "inputFields": [ { - "name": "playground_settings", + "name": "access_list_id", "description": null, "type": { "kind": "ENUM", @@ -32252,7 +36483,7 @@ "defaultValue": null }, { - "name": "playground_state", + "name": "created_at", "description": null, "type": { "kind": "ENUM", @@ -32262,17 +36493,17 @@ "defaultValue": null }, { - "name": "reports_aggregate", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "reports_aggregate_order_by", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "member_id", "description": null, "type": { "kind": "ENUM", @@ -32282,7 +36513,7 @@ "defaultValue": null }, { - "name": "user_id", + "name": "updated_at", "description": null, "type": { "kind": "ENUM", @@ -32297,132 +36528,88 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "explorations_pk_columns_input", - "description": "primary key columns input for table: explorations", - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "explorations_prepend_input", - "description": "prepend existing jsonb value of filtered columns with new jsonb value", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "member_roles_min_fields", + "description": "aggregate min on columns", + "fields": [ { - "name": "playground_settings", + "name": "access_list_id", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "playground_state", + "name": "created_at", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "timestamptz", "ofType": null }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "explorations_select_column", - "description": "select columns of table \"explorations\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "branch_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasource_id", - "description": "column name", "isDeprecated": false, "deprecationReason": null }, { "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "playground_settings", - "description": "column name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "playground_state", - "description": "column name", + "name": "member_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { "name": "updated_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user_id", - "description": "column name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null } ], + "inputFields": null, + "interfaces": [], + "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "explorations_set_input", - "description": "input type for updating data in table \"explorations\"", + "name": "member_roles_min_order_by", + "description": "order by min() on columns of table \"member_roles\"", "fields": null, "inputFields": [ { - "name": "branch_id", + "name": "access_list_id", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -32431,18 +36618,8 @@ "name": "created_at", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "datasource_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -32451,83 +36628,136 @@ "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "playground_settings", + "name": "member_id", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "playground_state", + "name": "updated_at", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "member_roles_mutation_response", + "description": "response of any mutation on the table \"member_roles\"", + "fields": [ { - "name": "updated_at", - "description": null, + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "user_id", - "description": null, + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "member_roles", + "ofType": null + } + } + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "explorations_stream_cursor_input", - "description": "Streaming cursor of the table \"explorations\"", + "name": "member_roles_on_conflict", + "description": "on_conflict condition type for table \"member_roles\"", "fields": null, "inputFields": [ { - "name": "initial_value", - "description": "Stream column input with initial value", + "name": "constraint", + "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "explorations_stream_cursor_value_input", + "kind": "ENUM", + "name": "member_roles_constraint", "ofType": null } }, "defaultValue": null }, { - "name": "ordering", - "description": "cursor ordering", + "name": "update_columns", + "description": null, "type": { - "kind": "ENUM", - "name": "cursor_ordering", + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_roles_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -32539,36 +36769,36 @@ }, { "kind": "INPUT_OBJECT", - "name": "explorations_stream_cursor_value_input", - "description": "Initial value of the column from where the streaming should start", + "name": "member_roles_order_by", + "description": "Ordering options when selecting data from \"member_roles\".", "fields": null, "inputFields": [ { - "name": "branch_id", + "name": "access_list", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "access_lists_order_by", "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "access_list_id", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "datasource_id", + "name": "created_at", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -32577,48 +36807,58 @@ "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "playground_settings", + "name": "member", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "INPUT_OBJECT", + "name": "members_order_by", "ofType": null }, "defaultValue": null }, { - "name": "playground_state", + "name": "member_id", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "teamRoleByTeamRole", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "team_roles_order_by", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "team_role", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -32628,16 +36868,41 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "member_roles_pk_columns_input", + "description": "primary key columns input for table: member_roles", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "ENUM", - "name": "explorations_update_column", - "description": "update columns of table \"explorations\"", + "name": "member_roles_select_column", + "description": "select columns of table \"member_roles\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "branch_id", + "name": "access_list_id", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -32648,12 +36913,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "datasource_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "id", "description": "column name", @@ -32661,276 +36920,123 @@ "deprecationReason": null }, { - "name": "playground_settings", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "playground_state", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "explorations_updates", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "_append", - "description": "append existing jsonb value of filtered columns with new jsonb value", - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_append_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_delete_at_path", - "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_delete_at_path_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_delete_elem", - "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_delete_elem_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_delete_key", - "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_delete_key_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_prepend", - "description": "prepend existing jsonb value of filtered columns with new jsonb value", - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_prepend_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_set", - "description": "sets the columns of the filtered rows to the given values", - "type": { - "kind": "INPUT_OBJECT", - "name": "explorations_set_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows which have to be updated", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", - "ofType": null - } - }, - "defaultValue": null + "name": "member_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_role", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "float8", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "float8_comparison_exp", - "description": "Boolean expression to compare columns of type \"float8\". All fields are combined with logical 'AND'.", + "name": "member_roles_set_input", + "description": "input type for updating data in table \"member_roles\"", "fields": null, "inputFields": [ { - "name": "_eq", - "description": null, - "type": { - "kind": "SCALAR", - "name": "float8", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_gt", + "name": "access_list_id", "description": null, "type": { "kind": "SCALAR", - "name": "float8", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "_gte", + "name": "created_at", "description": null, "type": { "kind": "SCALAR", - "name": "float8", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "_in", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "float8", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "_is_null", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "_lt", + "name": "member_id", "description": null, "type": { "kind": "SCALAR", - "name": "float8", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "_lte", + "name": "team_role", "description": null, "type": { - "kind": "SCALAR", - "name": "float8", + "kind": "ENUM", + "name": "team_roles_enum", "ofType": null }, "defaultValue": null }, { - "name": "_neq", + "name": "updated_at", "description": null, "type": { "kind": "SCALAR", - "name": "float8", + "name": "timestamptz", "ofType": null }, "defaultValue": null - }, - { - "name": "_nin", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "float8", - "ofType": null - } - } - }, - "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, - { - "kind": "SCALAR", - "name": "json", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "jsonb", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", - "name": "jsonb_cast_exp", - "description": null, + "name": "member_roles_stream_cursor_input", + "description": "Streaming cursor of the table \"member_roles\"", "fields": null, "inputFields": [ { - "name": "String", - "description": null, + "name": "initial_value", + "description": "Stream column input with initial value", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp", + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", "ofType": null }, "defaultValue": null @@ -32942,248 +37048,536 @@ }, { "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp", - "description": "Boolean expression to compare columns of type \"jsonb\". All fields are combined with logical 'AND'.", + "name": "member_roles_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "_cast", + "name": "access_list_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_cast_exp", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "_contained_in", - "description": "is the column contained in the given json value", + "name": "created_at", + "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "_contains", - "description": "does the column contain the given json value at the top level", + "name": "id", + "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "_eq", + "name": "member_id", "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "_gt", + "name": "team_role", "description": null, "type": { - "kind": "SCALAR", - "name": "jsonb", + "kind": "ENUM", + "name": "team_roles_enum", "ofType": null }, "defaultValue": null }, { - "name": "_gte", + "name": "updated_at", "description": null, "type": { "kind": "SCALAR", - "name": "jsonb", + "name": "timestamptz", "ofType": null }, "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "member_roles_update_column", + "description": "update columns of table \"member_roles\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "access_list_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null }, { - "name": "_has_key", - "description": "does the string exist as a top-level key in the column", + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "member_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_role", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "member_roles_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "member_roles_set_input", "ofType": null }, "defaultValue": null }, { - "name": "_has_keys_all", - "description": "do all of these strings exist as top-level keys in the column", + "name": "where", + "description": "filter the rows which have to be updated", "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "ofType": null } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "members", + "description": "columns and relationships of \"members\"", + "fields": [ { - "name": "_has_keys_any", - "description": "do any of these strings exist as top-level keys in the column", + "name": "created_at", + "description": null, + "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "_in", + "name": "id", "description": null, + "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null } }, - "defaultValue": null - }, - { - "name": "_is_null", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_lt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "_lte", - "description": null, - "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "_neq", - "description": null, + "name": "member_roles", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_roles_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "member_roles", + "ofType": null + } + } + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "_nin", - "description": null, + "name": "member_roles_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_roles_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "jsonb", - "ofType": null - } + "kind": "OBJECT", + "name": "member_roles_aggregate", + "ofType": null } }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "member_roles", - "description": "columns and relationships of \"member_roles\"", - "fields": [ - { - "name": "access_list", - "description": "An object relationship", - "args": [], - "type": { - "kind": "OBJECT", - "name": "access_lists", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "access_list_id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_at", - "description": null, - "args": [], + "name": "members_credentials", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "members_credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "members_credentials", + "ofType": null + } + } + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", - "description": null, - "args": [], + "name": "members_credentials_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "members_credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "uuid", + "kind": "OBJECT", + "name": "members_credentials_aggregate", "ofType": null } }, @@ -33191,7 +37585,7 @@ "deprecationReason": null }, { - "name": "member", + "name": "team", "description": "An object relationship", "args": [], "type": { @@ -33199,7 +37593,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "members", + "name": "teams", "ofType": null } }, @@ -33207,7 +37601,7 @@ "deprecationReason": null }, { - "name": "member_id", + "name": "team_id", "description": null, "args": [], "type": { @@ -33223,15 +37617,15 @@ "deprecationReason": null }, { - "name": "teamRoleByTeamRole", - "description": "An object relationship", + "name": "updated_at", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "team_roles", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null } }, @@ -33239,15 +37633,15 @@ "deprecationReason": null }, { - "name": "team_role", - "description": null, + "name": "user", + "description": "An object relationship", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "team_roles_enum", + "kind": "OBJECT", + "name": "users", "ofType": null } }, @@ -33255,13 +37649,17 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "user_id", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -33274,8 +37672,8 @@ }, { "kind": "OBJECT", - "name": "member_roles_aggregate", - "description": "aggregated selection of \"member_roles\"", + "name": "members_aggregate", + "description": "aggregated selection of \"members\"", "fields": [ { "name": "aggregate", @@ -33283,7 +37681,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "member_roles_aggregate_fields", + "name": "members_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -33304,7 +37702,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "member_roles", + "name": "members", "ofType": null } } @@ -33321,7 +37719,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_aggregate_bool_exp", + "name": "members_aggregate_bool_exp", "description": null, "fields": null, "inputFields": [ @@ -33330,7 +37728,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_aggregate_bool_exp_count", + "name": "members_aggregate_bool_exp_count", "ofType": null }, "defaultValue": null @@ -33342,7 +37740,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_aggregate_bool_exp_count", + "name": "members_aggregate_bool_exp_count", "description": null, "fields": null, "inputFields": [ @@ -33357,7 +37755,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "member_roles_select_column", + "name": "members_select_column", "ofType": null } } @@ -33379,7 +37777,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "members_bool_exp", "ofType": null }, "defaultValue": null @@ -33405,8 +37803,8 @@ }, { "kind": "OBJECT", - "name": "member_roles_aggregate_fields", - "description": "aggregate fields of \"member_roles\"", + "name": "members_aggregate_fields", + "description": "aggregate fields of \"members\"", "fields": [ { "name": "count", @@ -33423,7 +37821,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "member_roles_select_column", + "name": "members_select_column", "ofType": null } } @@ -33459,7 +37857,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "member_roles_max_fields", + "name": "members_max_fields", "ofType": null }, "isDeprecated": false, @@ -33471,7 +37869,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "member_roles_min_fields", + "name": "members_min_fields", "ofType": null }, "isDeprecated": false, @@ -33485,8 +37883,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_aggregate_order_by", - "description": "order by aggregate values of table \"member_roles\"", + "name": "members_aggregate_order_by", + "description": "order by aggregate values of table \"members\"", "fields": null, "inputFields": [ { @@ -33504,7 +37902,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_max_order_by", + "name": "members_max_order_by", "ofType": null }, "defaultValue": null @@ -33514,7 +37912,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_min_order_by", + "name": "members_min_order_by", "ofType": null }, "defaultValue": null @@ -33526,8 +37924,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"member_roles\"", + "name": "members_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"members\"", "fields": null, "inputFields": [ { @@ -33544,7 +37942,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_insert_input", + "name": "members_insert_input", "ofType": null } } @@ -33557,7 +37955,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_on_conflict", + "name": "members_on_conflict", "ofType": null }, "defaultValue": null @@ -33569,8 +37967,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", - "description": "Boolean expression to filter rows from the table \"member_roles\". All fields are combined with a logical 'AND'.", + "name": "members_bool_exp", + "description": "Boolean expression to filter rows from the table \"members\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -33584,7 +37982,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "members_bool_exp", "ofType": null } } @@ -33596,7 +37994,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "members_bool_exp", "ofType": null }, "defaultValue": null @@ -33612,7 +38010,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "members_bool_exp", "ofType": null } } @@ -33620,17 +38018,17 @@ "defaultValue": null }, { - "name": "access_list", + "name": "created_at", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "access_lists_bool_exp", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "access_list_id", + "name": "id", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -33640,61 +38038,61 @@ "defaultValue": null }, { - "name": "created_at", + "name": "member_roles", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "name": "member_roles_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "member_roles_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "member_roles_aggregate_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "member", + "name": "members_credentials", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "members_credentials_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "member_id", + "name": "members_credentials_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "members_credentials_aggregate_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "teamRoleByTeamRole", + "name": "team", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "team_roles_bool_exp", + "name": "teams_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "team_role", + "name": "team_id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "team_roles_enum_comparison_exp", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null @@ -33708,6 +38106,26 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -33716,21 +38134,21 @@ }, { "kind": "ENUM", - "name": "member_roles_constraint", - "description": "unique or primary key constraints on table \"member_roles\"", + "name": "members_constraint", + "description": "unique or primary key constraints on table \"members\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "member_roles_member_id_team_role_key", - "description": "unique or primary key constraint on columns \"team_role\", \"member_id\"", + "name": "members_pkey", + "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null }, { - "name": "member_roles_pkey", - "description": "unique or primary key constraint on columns \"id\"", + "name": "members_user_id_team_id_key", + "description": "unique or primary key constraint on columns \"user_id\", \"team_id\"", "isDeprecated": false, "deprecationReason": null } @@ -33738,167 +38156,165 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "member_roles_insert_input", - "description": "input type for inserting data into table \"member_roles\"", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "members_credentials", + "description": "columns and relationships of \"members_credentials\"", + "fields": [ { - "name": "access_list", + "name": "created_at", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "access_lists_obj_rel_insert_input", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "access_list_id", - "description": null, + "name": "credential", + "description": "An object relationship", + "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "credentials", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "created_at", + "name": "credential_id", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "id", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "member", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "members_obj_rel_insert_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "member_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "teamRoleByTeamRole", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "team_roles_obj_rel_insert_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "team_role", - "description": null, - "type": { - "kind": "ENUM", - "name": "team_roles_enum", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "member_roles_max_fields", - "description": "aggregate max on columns", - "fields": [ - { - "name": "access_list_id", - "description": null, + "description": "An object relationship", "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "members", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_at", + "name": "member_id", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "updated_at", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "members_credentials_aggregate", + "description": "aggregated selection of \"members_credentials\"", + "fields": [ { - "name": "member_id", + "name": "aggregate", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "OBJECT", + "name": "members_credentials_aggregate_fields", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "nodes", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "members_credentials", + "ofType": null + } + } + } }, "isDeprecated": false, "deprecationReason": null @@ -33911,57 +38327,80 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_max_order_by", - "description": "order by max() on columns of table \"member_roles\"", + "name": "members_credentials_aggregate_bool_exp", + "description": null, "fields": null, "inputFields": [ { - "name": "access_list_id", + "name": "count", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "members_credentials_aggregate_bool_exp_count", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "members_credentials_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ { - "name": "created_at", + "name": "arguments", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "members_credentials_select_column", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "id", + "name": "distinct", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "member_id", + "name": "filter", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "predicate", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } }, "defaultValue": null } @@ -33972,64 +38411,73 @@ }, { "kind": "OBJECT", - "name": "member_roles_min_fields", - "description": "aggregate min on columns", + "name": "members_credentials_aggregate_fields", + "description": "aggregate fields of \"members_credentials\"", "fields": [ { - "name": "access_list_id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", + "name": "count", "description": null, - "args": [], + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "members_credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "member_id", + "name": "max", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "OBJECT", + "name": "members_credentials_max_fields", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "min", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "OBJECT", + "name": "members_credentials_min_fields", "ofType": null }, "isDeprecated": false, @@ -34043,32 +38491,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_min_order_by", - "description": "order by min() on columns of table \"member_roles\"", + "name": "members_credentials_aggregate_order_by", + "description": "order by aggregate values of table \"members_credentials\"", "fields": null, "inputFields": [ { - "name": "access_list_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "created_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", + "name": "count", "description": null, "type": { "kind": "ENUM", @@ -34078,21 +38506,21 @@ "defaultValue": null }, { - "name": "member_id", + "name": "max", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "members_credentials_max_order_by", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "min", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "members_credentials_min_order_by", "ofType": null }, "defaultValue": null @@ -34102,79 +38530,14 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "member_roles_mutation_response", - "description": "response of any mutation on the table \"member_roles\"", - "fields": [ - { - "name": "affected_rows", - "description": "number of rows affected by the mutation", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "returning", - "description": "data from the rows affected by the mutation", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "member_roles", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", - "name": "member_roles_on_conflict", - "description": "on_conflict condition type for table \"member_roles\"", + "name": "members_credentials_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"members_credentials\"", "fields": null, "inputFields": [ { - "name": "constraint", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "member_roles_constraint", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "update_columns", + "name": "data", "description": null, "type": { "kind": "NON_NULL", @@ -34186,21 +38549,21 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "member_roles_update_column", + "kind": "INPUT_OBJECT", + "name": "members_credentials_insert_input", "ofType": null } } } }, - "defaultValue": "[]" + "defaultValue": null }, { - "name": "where", - "description": null, + "name": "on_conflict", + "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "members_credentials_on_conflict", "ofType": null }, "defaultValue": null @@ -34212,122 +38575,123 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_order_by", - "description": "Ordering options when selecting data from \"member_roles\".", + "name": "members_credentials_bool_exp", + "description": "Boolean expression to filter rows from the table \"members_credentials\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { - "name": "access_list", + "name": "_and", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "access_lists_order_by", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "access_list_id", + "name": "_not", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "_or", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "id", + "name": "created_at", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "member", + "name": "credential", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_order_by", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "member_id", + "name": "credential_id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "teamRoleByTeamRole", + "name": "id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "team_roles_order_by", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "team_role", + "name": "member", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "members_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "member_id", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "member_roles_pk_columns_input", - "description": "primary key columns input for table: member_roles", - "fields": null, - "inputFields": [ + }, { - "name": "id", + "name": "updated_at", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null }, "defaultValue": null } @@ -34338,45 +38702,21 @@ }, { "kind": "ENUM", - "name": "member_roles_select_column", - "description": "select columns of table \"member_roles\"", + "name": "members_credentials_constraint", + "description": "unique or primary key constraints on table \"members_credentials\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "access_list_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "member_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "team_role", - "description": "column name", + "name": "members_credentials_member_id_credential_id_key", + "description": "unique or primary key constraint on columns \"credential_id\", \"member_id\"", "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", - "description": "column name", + "name": "members_credentials_pkey", + "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null } @@ -34385,20 +38725,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_set_input", - "description": "input type for updating data in table \"member_roles\"", + "name": "members_credentials_insert_input", + "description": "input type for inserting data into table \"members_credentials\"", "fields": null, "inputFields": [ - { - "name": "access_list_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, { "name": "created_at", "description": null, @@ -34410,107 +38740,21 @@ "defaultValue": null }, { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "member_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "team_role", - "description": null, - "type": { - "kind": "ENUM", - "name": "team_roles_enum", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updated_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "member_roles_stream_cursor_input", - "description": "Streaming cursor of the table \"member_roles\"", - "fields": null, - "inputFields": [ - { - "name": "initial_value", - "description": "Stream column input with initial value", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "member_roles_stream_cursor_value_input", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "ordering", - "description": "cursor ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "member_roles_stream_cursor_value_input", - "description": "Initial value of the column from where the streaming should start", - "fields": null, - "inputFields": [ - { - "name": "access_list_id", + "name": "credential", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "credentials_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "credential_id", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -34526,21 +38770,21 @@ "defaultValue": null }, { - "name": "member_id", + "name": "member", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "members_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "team_role", + "name": "member_id", "description": null, "type": { - "kind": "ENUM", - "name": "team_roles_enum", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -34561,374 +38805,198 @@ "possibleTypes": null }, { - "kind": "ENUM", - "name": "member_roles_update_column", - "description": "update columns of table \"member_roles\"", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ + "kind": "OBJECT", + "name": "members_credentials_max_fields", + "description": "aggregate max on columns", + "fields": [ { - "name": "access_list_id", - "description": "column name", + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_at", - "description": "column name", + "name": "credential_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", - "description": "column name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { "name": "member_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "team_role", - "description": "column name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { "name": "updated_at", - "description": "column name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null } ], + "inputFields": null, + "interfaces": [], + "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "member_roles_updates", - "description": null, + "name": "members_credentials_max_order_by", + "description": "order by max() on columns of table \"members_credentials\"", "fields": null, "inputFields": [ { - "name": "_set", - "description": "sets the columns of the filtered rows to the given values", + "name": "created_at", + "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "member_roles_set_input", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "where", - "description": "filter the rows which have to be updated", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "members", - "description": "columns and relationships of \"members\"", - "fields": [ - { - "name": "created_at", + "name": "credential_id", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "id", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "member_roles", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "member_roles_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "member_roles_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "member_id", + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "member_roles", - "ofType": null - } - } - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "member_roles_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "member_roles_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "member_roles_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "updated_at", + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "member_roles_aggregate", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "members_credentials_min_fields", + "description": "aggregate min on columns", + "fields": [ { - "name": "team", - "description": "An object relationship", + "name": "created_at", + "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "teams", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "team_id", + "name": "credential_id", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "id", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "user", - "description": "An object relationship", + "name": "member_id", + "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "users", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "user_id", + "name": "updated_at", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -34940,224 +39008,182 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "members_aggregate", - "description": "aggregated selection of \"members\"", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "members_credentials_min_order_by", + "description": "order by min() on columns of table \"members_credentials\"", + "fields": null, + "inputFields": [ { - "name": "aggregate", + "name": "created_at", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "members_aggregate_fields", + "kind": "ENUM", + "name": "order_by", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "nodes", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "members", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "members_aggregate_bool_exp", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "count", + "name": "credential_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "members_aggregate_bool_exp_count", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "members_aggregate_bool_exp_count", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "arguments", + "name": "id", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "members_select_column", - "ofType": null - } - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, "defaultValue": null }, { - "name": "distinct", + "name": "member_id", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "filter", + "name": "updated_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "members_credentials_mutation_response", + "description": "response of any mutation on the table \"members_credentials\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "predicate", - "description": null, + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "members_credentials", + "ofType": null + } + } } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "members_aggregate_fields", - "description": "aggregate fields of \"members\"", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "members_credentials_on_conflict", + "description": "on_conflict condition type for table \"members_credentials\"", + "fields": null, + "inputFields": [ { - "name": "count", + "name": "constraint", "description": null, - "args": [ - { - "name": "columns", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "members_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "distinct", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "members_credentials_constraint", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "max", + "name": "update_columns", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "members_max_fields", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "members_credentials_update_column", + "ofType": null + } + } + } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": "[]" }, { - "name": "min", + "name": "where", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "members_min_fields", + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "members_aggregate_order_by", - "description": "order by aggregate values of table \"members\"", + "name": "members_credentials_order_by", + "description": "Ordering options when selecting data from \"members_credentials\".", "fields": null, "inputFields": [ { - "name": "count", + "name": "created_at", "description": null, "type": { "kind": "ENUM", @@ -35167,21 +39193,61 @@ "defaultValue": null }, { - "name": "max", + "name": "credential", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_max_order_by", + "name": "credentials_order_by", "ofType": null }, "defaultValue": null }, { - "name": "min", + "name": "credential_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "member", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_min_order_by", + "name": "members_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "member_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -35193,185 +39259,218 @@ }, { "kind": "INPUT_OBJECT", - "name": "members_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"members\"", + "name": "members_credentials_pk_columns_input", + "description": "primary key columns input for table: members_credentials", "fields": null, "inputFields": [ { - "name": "data", + "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_insert_input", - "ofType": null - } - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null } }, "defaultValue": null - }, - { - "name": "on_conflict", - "description": "upsert condition", - "type": { - "kind": "INPUT_OBJECT", - "name": "members_on_conflict", - "ofType": null - }, - "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, + { + "kind": "ENUM", + "name": "members_credentials_select_column", + "description": "select columns of table \"members_credentials\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "credential_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "member_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", - "description": "Boolean expression to filter rows from the table \"members\". All fields are combined with a logical 'AND'.", + "name": "members_credentials_set_input", + "description": "input type for updating data in table \"members_credentials\"", "fields": null, "inputFields": [ { - "name": "_and", + "name": "created_at", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_bool_exp", - "ofType": null - } - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "defaultValue": null }, { - "name": "_not", + "name": "credential_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "_or", + "name": "id", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_bool_exp", - "ofType": null - } - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "member_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "updated_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "members_credentials_stream_cursor_input", + "description": "Streaming cursor of the table \"members_credentials\"", + "fields": null, + "inputFields": [ { - "name": "member_roles", - "description": null, + "name": "initial_value", + "description": "Stream column input with initial value", "type": { - "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_stream_cursor_value_input", + "ofType": null + } }, "defaultValue": null }, { - "name": "member_roles_aggregate", - "description": null, + "name": "ordering", + "description": "cursor ordering", "type": { - "kind": "INPUT_OBJECT", - "name": "member_roles_aggregate_bool_exp", + "kind": "ENUM", + "name": "cursor_ordering", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "members_credentials_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ { - "name": "team", + "name": "created_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "teams_bool_exp", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "team_id", + "name": "credential_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "user", + "name": "member_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "users_bool_exp", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "user_id", + "name": "updated_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null @@ -35383,27 +39482,80 @@ }, { "kind": "ENUM", - "name": "members_constraint", - "description": "unique or primary key constraints on table \"members\"", + "name": "members_credentials_update_column", + "description": "update columns of table \"members_credentials\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "members_pkey", - "description": "unique or primary key constraint on columns \"id\"", + "name": "created_at", + "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "members_user_id_team_id_key", - "description": "unique or primary key constraint on columns \"user_id\", \"team_id\"", + "name": "credential_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "member_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "members_credentials_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "members_insert_input", @@ -35440,6 +39592,16 @@ }, "defaultValue": null }, + { + "name": "members_credentials", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, { "name": "team", "description": null, @@ -35938,6 +40100,16 @@ }, "defaultValue": null }, + { + "name": "members_credentials_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, { "name": "team", "description": null, @@ -36444,6 +40616,60 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "delete_access_types", + "description": "delete data from the table: \"access_types\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "access_types_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_access_types_by_pk", + "description": "delete single row from the table: \"access_types\"", + "args": [ + { + "name": "access_type", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "access_types", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "delete_alerts", "description": "delete data from the table: \"alerts\"", @@ -36660,6 +40886,60 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "delete_auth_migrations", + "description": "delete data from the table: \"auth.migrations\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "auth_migrations_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_auth_migrations_by_pk", + "description": "delete single row from the table: \"auth.migrations\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "auth_migrations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "delete_auth_options", "description": "delete data from the table: \"auth_options\"", @@ -37416,6 +41696,60 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "delete_members_credentials", + "description": "delete data from the table: \"members_credentials\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "members_credentials_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_members_credentials_by_pk", + "description": "delete single row from the table: \"members_credentials\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "members_credentials", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "delete_pinned_items", "description": "delete data from the table: \"pinned_items\"", @@ -38117,6 +42451,88 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "insert_access_types", + "description": "insert data into the table: \"access_types\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_types_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "access_types_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_access_types_one", + "description": "insert a single row into the table: \"access_types\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_types_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "access_types", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "insert_alerts", "description": "insert data into the table: \"alerts\"", @@ -38445,6 +42861,88 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "insert_auth_migrations", + "description": "insert data into the table: \"auth.migrations\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "auth_migrations_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_auth_migrations_one", + "description": "insert a single row into the table: \"auth.migrations\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "auth_migrations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "insert_auth_options", "description": "insert data into the table: \"auth_options\"", @@ -39556,6 +44054,88 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "insert_members_credentials", + "description": "insert data into the table: \"members_credentials\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "members_credentials_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_members_credentials_one", + "description": "insert a single row into the table: \"members_credentials\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "members_credentials", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "insert_members_one", "description": "insert a single row into the table: \"members\"", @@ -40717,6 +45297,119 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "update_access_types", + "description": "update data of the table: \"access_types\"", + "args": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_types_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "access_types_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_access_types_by_pk", + "description": "update single row of the table: \"access_types\"", + "args": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_types_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "access_types", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_access_types_many", + "description": "update multiples rows of table: \"access_types\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "access_types_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "update_alerts", "description": "update data of the table: \"alerts\"", @@ -41369,6 +46062,139 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "update_auth_migrations", + "description": "update data of the table: \"auth.migrations\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "auth_migrations_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_auth_migrations_by_pk", + "description": "update single row of the table: \"auth.migrations\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "auth_migrations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_auth_migrations_many", + "description": "update multiples rows of table: \"auth.migrations\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_migrations_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "update_auth_options", "description": "update data of the table: \"auth_options\"", @@ -43312,6 +48138,119 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "update_members_credentials", + "description": "update data of the table: \"members_credentials\"", + "args": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "members_credentials_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_members_credentials_by_pk", + "description": "update single row of the table: \"members_credentials\"", + "args": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "members_credentials", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_members_credentials_many", + "description": "update multiples rows of table: \"members_credentials\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "members_credentials_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "update_members_many", "description": "update multiples rows of table: \"members\"", @@ -47112,6 +52051,207 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "access_types", + "description": "fetch data from the table: \"access_types\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "access_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_types_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "access_types", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "access_types_aggregate", + "description": "fetch aggregated fields from the table: \"access_types\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "access_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_types_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "access_types_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "access_types_by_pk", + "description": "fetch data from the table: \"access_types\" using primary key columns", + "args": [ + { + "name": "access_type", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "access_types", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "alerts", "description": "An array relationship", @@ -47366,7 +52506,208 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_order_by", + "name": "auth_account_providers_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_account_providers_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_account_providers", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "auth_account_providers_aggregate", + "description": "fetch aggregated fields from the table: \"auth.account_providers\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_account_providers_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_account_providers_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_account_providers_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_account_providers_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "auth_account_providers_by_pk", + "description": "fetch data from the table: \"auth.account_providers\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "auth_account_providers", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "auth_account_roles", + "description": "fetch data from the table: \"auth.account_roles\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_account_roles_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_account_roles_order_by", "ofType": null } } @@ -47378,7 +52719,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_bool_exp", + "name": "auth_account_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -47395,7 +52736,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_providers", + "name": "auth_account_roles", "ofType": null } } @@ -47405,8 +52746,8 @@ "deprecationReason": null }, { - "name": "auth_account_providers_aggregate", - "description": "fetch aggregated fields from the table: \"auth.account_providers\"", + "name": "auth_account_roles_aggregate", + "description": "fetch aggregated fields from the table: \"auth.account_roles\"", "args": [ { "name": "distinct_on", @@ -47419,7 +52760,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_providers_select_column", + "name": "auth_account_roles_select_column", "ofType": null } } @@ -47457,7 +52798,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_order_by", + "name": "auth_account_roles_order_by", "ofType": null } } @@ -47469,7 +52810,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_providers_bool_exp", + "name": "auth_account_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -47480,7 +52821,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_providers_aggregate", + "name": "auth_account_roles_aggregate", "ofType": null } }, @@ -47488,8 +52829,8 @@ "deprecationReason": null }, { - "name": "auth_account_providers_by_pk", - "description": "fetch data from the table: \"auth.account_providers\" using primary key columns", + "name": "auth_account_roles_by_pk", + "description": "fetch data from the table: \"auth.account_roles\" using primary key columns", "args": [ { "name": "id", @@ -47508,15 +52849,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_account_providers", + "name": "auth_account_roles", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_account_roles", - "description": "fetch data from the table: \"auth.account_roles\"", + "name": "auth_accounts", + "description": "fetch data from the table: \"auth.accounts\"", "args": [ { "name": "distinct_on", @@ -47529,7 +52870,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_roles_select_column", + "name": "auth_accounts_select_column", "ofType": null } } @@ -47567,7 +52908,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_order_by", + "name": "auth_accounts_order_by", "ofType": null } } @@ -47579,7 +52920,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_bool_exp", + "name": "auth_accounts_bool_exp", "ofType": null }, "defaultValue": null @@ -47596,7 +52937,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_roles", + "name": "auth_accounts", "ofType": null } } @@ -47606,8 +52947,8 @@ "deprecationReason": null }, { - "name": "auth_account_roles_aggregate", - "description": "fetch aggregated fields from the table: \"auth.account_roles\"", + "name": "auth_accounts_aggregate", + "description": "fetch aggregated fields from the table: \"auth.accounts\"", "args": [ { "name": "distinct_on", @@ -47620,7 +52961,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_account_roles_select_column", + "name": "auth_accounts_select_column", "ofType": null } } @@ -47658,7 +52999,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_order_by", + "name": "auth_accounts_order_by", "ofType": null } } @@ -47670,7 +53011,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_account_roles_bool_exp", + "name": "auth_accounts_bool_exp", "ofType": null }, "defaultValue": null @@ -47681,7 +53022,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_account_roles_aggregate", + "name": "auth_accounts_aggregate", "ofType": null } }, @@ -47689,8 +53030,8 @@ "deprecationReason": null }, { - "name": "auth_account_roles_by_pk", - "description": "fetch data from the table: \"auth.account_roles\" using primary key columns", + "name": "auth_accounts_by_pk", + "description": "fetch data from the table: \"auth.accounts\" using primary key columns", "args": [ { "name": "id", @@ -47709,15 +53050,15 @@ ], "type": { "kind": "OBJECT", - "name": "auth_account_roles", + "name": "auth_accounts", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "auth_accounts", - "description": "fetch data from the table: \"auth.accounts\"", + "name": "auth_migrations", + "description": "fetch data from the table: \"auth.migrations\"", "args": [ { "name": "distinct_on", @@ -47730,7 +53071,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_accounts_select_column", + "name": "auth_migrations_select_column", "ofType": null } } @@ -47768,7 +53109,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_order_by", + "name": "auth_migrations_order_by", "ofType": null } } @@ -47780,7 +53121,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_bool_exp", + "name": "auth_migrations_bool_exp", "ofType": null }, "defaultValue": null @@ -47797,7 +53138,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_accounts", + "name": "auth_migrations", "ofType": null } } @@ -47807,8 +53148,8 @@ "deprecationReason": null }, { - "name": "auth_accounts_aggregate", - "description": "fetch aggregated fields from the table: \"auth.accounts\"", + "name": "auth_migrations_aggregate", + "description": "fetch aggregated fields from the table: \"auth.migrations\"", "args": [ { "name": "distinct_on", @@ -47821,7 +53162,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "auth_accounts_select_column", + "name": "auth_migrations_select_column", "ofType": null } } @@ -47859,7 +53200,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_order_by", + "name": "auth_migrations_order_by", "ofType": null } } @@ -47871,7 +53212,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "auth_accounts_bool_exp", + "name": "auth_migrations_bool_exp", "ofType": null }, "defaultValue": null @@ -47882,7 +53223,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "auth_accounts_aggregate", + "name": "auth_migrations_aggregate", "ofType": null } }, @@ -47890,8 +53231,8 @@ "deprecationReason": null }, { - "name": "auth_accounts_by_pk", - "description": "fetch data from the table: \"auth.accounts\" using primary key columns", + "name": "auth_migrations_by_pk", + "description": "fetch data from the table: \"auth.migrations\" using primary key columns", "args": [ { "name": "id", @@ -47901,7 +53242,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "uuid", + "name": "Int", "ofType": null } }, @@ -47910,7 +53251,7 @@ ], "type": { "kind": "OBJECT", - "name": "auth_accounts", + "name": "auth_migrations", "ofType": null }, "isDeprecated": false, @@ -50868,6 +56209,207 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "members_credentials", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "members_credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "members_credentials", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "members_credentials_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "members_credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "members_credentials_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "members_credentials_by_pk", + "description": "fetch data from the table: \"members_credentials\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "members_credentials", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "pinned_items", "description": "An array relationship", @@ -62633,7 +68175,275 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "access_lists_order_by", + "name": "access_lists_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_lists_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "access_lists_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "access_lists_by_pk", + "description": "fetch data from the table: \"access_lists\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "access_lists", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "access_lists_stream", + "description": "fetch data from the table in a streaming manner: \"access_lists\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_lists_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_lists_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "access_lists", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "access_types", + "description": "fetch data from the table: \"access_types\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "access_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "access_types_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "access_types", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "access_types_aggregate", + "description": "fetch aggregated fields from the table: \"access_types\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "access_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "access_types_order_by", "ofType": null } } @@ -62645,7 +68455,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "access_lists_bool_exp", + "name": "access_types_bool_exp", "ofType": null }, "defaultValue": null @@ -62656,7 +68466,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "access_lists_aggregate", + "name": "access_types_aggregate", "ofType": null } }, @@ -62664,18 +68474,18 @@ "deprecationReason": null }, { - "name": "access_lists_by_pk", - "description": "fetch data from the table: \"access_lists\" using primary key columns", + "name": "access_types_by_pk", + "description": "fetch data from the table: \"access_types\" using primary key columns", "args": [ { - "name": "id", + "name": "access_type", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "uuid", + "name": "String", "ofType": null } }, @@ -62684,15 +68494,15 @@ ], "type": { "kind": "OBJECT", - "name": "access_lists", + "name": "access_types", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "access_lists_stream", - "description": "fetch data from the table in a streaming manner: \"access_lists\"", + "name": "access_types_stream", + "description": "fetch data from the table in a streaming manner: \"access_types\"", "args": [ { "name": "batch_size", @@ -62719,7 +68529,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "access_lists_stream_cursor_input", + "name": "access_types_stream_cursor_input", "ofType": null } } @@ -62731,7 +68541,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "access_lists_bool_exp", + "name": "access_types_bool_exp", "ofType": null }, "defaultValue": null @@ -62748,7 +68558,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "access_lists", + "name": "access_types", "ofType": null } } @@ -63829,6 +69639,274 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "auth_migrations", + "description": "fetch data from the table: \"auth.migrations\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_migrations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_migrations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "auth_migrations_aggregate", + "description": "fetch aggregated fields from the table: \"auth.migrations\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "auth_migrations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_migrations_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "auth_migrations_by_pk", + "description": "fetch data from the table: \"auth.migrations\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "auth_migrations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "auth_migrations_stream", + "description": "fetch data from the table in a streaming manner: \"auth.migrations\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "auth_migrations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "auth_migrations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "auth_options", "description": "fetch data from the table: \"auth_options\"", @@ -67216,7 +73294,275 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_order_by", + "name": "member_roles_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "member_roles_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "member_roles_by_pk", + "description": "fetch data from the table: \"member_roles\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "member_roles", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "member_roles_stream", + "description": "fetch data from the table in a streaming manner: \"member_roles\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "member_roles", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "members", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "members_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "members", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "members_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "members_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_order_by", "ofType": null } } @@ -67228,7 +73574,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "members_bool_exp", "ofType": null }, "defaultValue": null @@ -67239,7 +73585,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "member_roles_aggregate", + "name": "members_aggregate", "ofType": null } }, @@ -67247,8 +73593,8 @@ "deprecationReason": null }, { - "name": "member_roles_by_pk", - "description": "fetch data from the table: \"member_roles\" using primary key columns", + "name": "members_by_pk", + "description": "fetch data from the table: \"members\" using primary key columns", "args": [ { "name": "id", @@ -67267,81 +73613,14 @@ ], "type": { "kind": "OBJECT", - "name": "member_roles", + "name": "members", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "member_roles_stream", - "description": "fetch data from the table in a streaming manner: \"member_roles\"", - "args": [ - { - "name": "batch_size", - "description": "maximum number of rows returned in a single batch", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "cursor", - "description": "cursor to stream the results returned by the query", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "member_roles_stream_cursor_input", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "member_roles", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "members", + "name": "members_credentials", "description": "An array relationship", "args": [ { @@ -67355,7 +73634,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "members_select_column", + "name": "members_credentials_select_column", "ofType": null } } @@ -67393,7 +73672,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_order_by", + "name": "members_credentials_order_by", "ofType": null } } @@ -67405,7 +73684,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "members_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -67422,7 +73701,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "members", + "name": "members_credentials", "ofType": null } } @@ -67432,7 +73711,7 @@ "deprecationReason": null }, { - "name": "members_aggregate", + "name": "members_credentials_aggregate", "description": "An aggregate relationship", "args": [ { @@ -67446,7 +73725,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "members_select_column", + "name": "members_credentials_select_column", "ofType": null } } @@ -67484,7 +73763,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_order_by", + "name": "members_credentials_order_by", "ofType": null } } @@ -67496,7 +73775,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "members_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -67507,7 +73786,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "members_aggregate", + "name": "members_credentials_aggregate", "ofType": null } }, @@ -67515,8 +73794,8 @@ "deprecationReason": null }, { - "name": "members_by_pk", - "description": "fetch data from the table: \"members\" using primary key columns", + "name": "members_credentials_by_pk", + "description": "fetch data from the table: \"members_credentials\" using primary key columns", "args": [ { "name": "id", @@ -67535,12 +73814,79 @@ ], "type": { "kind": "OBJECT", - "name": "members", + "name": "members_credentials", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, + { + "name": "members_credentials_stream", + "description": "fetch data from the table in a streaming manner: \"members_credentials\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "members_credentials", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "members_stream", "description": "fetch data from the table in a streaming manner: \"members\"", @@ -73660,6 +80006,133 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "SCALAR", + "name": "timestamp", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "timestamp_comparison_exp", + "description": "Boolean expression to compare columns of type \"timestamp\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_is_null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_neq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamp", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "SCALAR", "name": "timestamptz", diff --git a/src/pages/Credentials/index.tsx b/src/pages/Credentials/index.tsx index bf8d7c46..236f79f8 100644 --- a/src/pages/Credentials/index.tsx +++ b/src/pages/Credentials/index.tsx @@ -13,12 +13,15 @@ import { useCredentialsQuery, useInsertCredentialMutation, useUpdateCredentialMutation, + useDeleteMemberCredentialsMutation, + useInsertMembersCredentialsMutation, } from "@/graphql/generated"; import useCheckResponse from "@/hooks/useCheckResponse"; import PageHeader from "@/components/PageHeader"; import Modal from "@/components/Modal"; import type { Credentials, CredentialsFormType } from "@/types/credential"; import type { DataSourceInfo } from "@/types/dataSource"; +import type { Member } from "@/types/team"; import CurrentUserStore from "@/stores/CurrentUserStore"; import NoCredentials from "@/components/NoCredentials"; @@ -27,6 +30,7 @@ import styles from "./index.module.less"; const { Title } = Typography; interface CredentialsProps { + members?: Member[]; initialValue?: CredentialsFormType; credentials: Credentials[]; dataSources?: DataSourceInfo[]; @@ -42,6 +46,7 @@ interface CredentialsProps { const CredentialsPage: React.FC = ({ initialValue, + members, dataSources, isOpen, credentials, @@ -92,6 +97,7 @@ const CredentialsPage: React.FC = ({ @@ -107,12 +113,14 @@ const prepareCredentialData = ( return (credentialResult.credentials || []).map((c) => ({ id: c.id, + accessType: c.access_type, username: c.username, createdAt: c.created_at, updatedAt: c.updated_at, user: c.user, + members: c.members_credentials.map((m) => m.member_id), dataSource: c.datasource, - })) as Credentials[]; + })) as unknown as Credentials[]; }; const CredentialsPageWrapper = () => { @@ -126,21 +134,10 @@ const CredentialsPageWrapper = () => { const [deleteMutation, execDeleteMutation] = useDeleteCredentialMutation(); const [createMutation, execCreateMutation] = useInsertCredentialMutation(); const [updateMutation, execUpdateMutation] = useUpdateCredentialMutation(); - - useCheckResponse(createMutation, () => { - execCredentialsQuery(); - message.success(t("settings:credentials.created")); - }); - - useCheckResponse(updateMutation, () => { - execCredentialsQuery(); - message.success(t("settings:credentials.updated")); - }); - - useCheckResponse(deleteMutation, () => { - execCredentialsQuery(); - message.success(t("settings:credentials.deleted")); - }); + const [deleteMemberCredentials, execDeleteMemberCredentials] = + useDeleteMemberCredentialsMutation(); + const [insertMembersCredentials, execInsertMembersCredentials] = + useInsertMembersCredentialsMutation(); const onDelete = useCallback( (id: string) => { @@ -162,31 +159,64 @@ const CredentialsPageWrapper = () => { const onClose = useCallback(() => { setLocation(CREDENTIALS); - }, [setLocation]); + execCredentialsQuery(); + }, [setLocation, execCredentialsQuery]); - const onSubmit = useCallback( - (data: CredentialsFormType) => { - if (isNew) { - execCreateMutation({ - object: { - user_id: currentUser?.id, - datasource_id: data.dataSourceId, - username: data.username, - password: data.password, - }, - }); - } else { - execUpdateMutation({ - pk_columns: { id: editId }, - _set: { - username: data.username, - password: data.password, + useCheckResponse(createMutation, () => onClose(), { + successMessage: t("settings:credentials.created"), + }); + + useCheckResponse(updateMutation, () => onClose(), { + successMessage: t("settings:credentials.updated"), + }); + + useCheckResponse(deleteMutation, () => onClose(), { + successMessage: t("settings:credentials.deleted"), + }); + + useCheckResponse(deleteMemberCredentials, () => {}, { + showMessage: false, + }); + + useCheckResponse(insertMembersCredentials, () => {}, { + showMessage: false, + }); + + const onSubmit = async (data: CredentialsFormType) => { + const payload = { + access_type: data.accessType, + username: data.username, + password: data.password, + }; + + if (isNew) { + await execCreateMutation({ + object: { + ...payload, + user_id: currentUser?.id, + datasource_id: data.dataSourceId, + members_credentials: { + data: (data.members || []).map((m) => ({ + member_id: m, + })), }, - }); - } - }, - [execCreateMutation, execUpdateMutation, isNew, editId, currentUser] - ); + }, + }); + } else { + await execDeleteMemberCredentials({ id: editId }); + await execInsertMembersCredentials({ + objects: (data.members || []).map((m) => ({ + member_id: m, + credential_id: editId, + })), + }); + + await execUpdateMutation({ + pk_columns: { id: editId }, + _set: payload, + }); + } + }; const credentials = useMemo( () => @@ -203,9 +233,12 @@ const CredentialsPageWrapper = () => { if (curCredential) { return { id: curCredential.id, + accessType: curCredential.accessType, + name: curCredential.user.display_name, username: curCredential.username, - password: curCredential.password, dataSourceId: curCredential.dataSource.id, + members: curCredential.members, + password: "", }; } @@ -215,6 +248,7 @@ const CredentialsPageWrapper = () => { return ( Date: Thu, 10 Oct 2024 00:11:28 +0300 Subject: [PATCH 3/5] feat: credentials (WIP) --- public/locales/en/credentialsForm.json | 3 +- public/locales/en/settings.json | 10 +- src/components/CredentialCard/index.tsx | 16 +- src/components/CredentialsForm/index.tsx | 69 +++++---- src/components/DataSourceFormBody/index.tsx | 21 ++- src/graphql/generated.ts | 155 ++++++-------------- src/graphql/gql/credentials.gql | 37 ----- src/graphql/gql/currentUser.gql | 24 +++ src/graphql/schemas/hasura.json | 6 - src/hooks/useUserData.ts | 36 ++++- src/mocks/credentials.ts | 4 + src/pages/Credentials/index.stories.tsx | 22 +++ src/pages/Credentials/index.tsx | 106 ++++++------- src/types/credential.ts | 10 +- src/types/dataSource.ts | 3 +- src/types/user.ts | 2 + 16 files changed, 249 insertions(+), 275 deletions(-) create mode 100644 src/mocks/credentials.ts create mode 100644 src/pages/Credentials/index.stories.tsx diff --git a/public/locales/en/credentialsForm.json b/public/locales/en/credentialsForm.json index 6b93a856..9c4f8b9f 100644 --- a/public/locales/en/credentialsForm.json +++ b/public/locales/en/credentialsForm.json @@ -1,5 +1,4 @@ { "shared_access_type_description": "This credential will be available to all team members.", - "specific_users_access_type_description": "This credential will be available to the selected team members.", - "private_access_type_description": "This credential will be available to the creator only." + "specific_users_access_type_description": "This credential will be available to the selected team members." } diff --git a/public/locales/en/settings.json b/public/locales/en/settings.json index cdb97ad1..b2a0a2b8 100644 --- a/public/locales/en/settings.json +++ b/public/locales/en/settings.json @@ -63,13 +63,13 @@ "credentials": { "title": "Manage Credentials", "action": "Create now", - "created": "Credential created", - "updated": "Credential updated", - "deleted": "Credential deleted", + "created": "Credentials created", + "updated": "Credentials updated", + "deleted": "Credentials deleted", "not_found": { "title": "You have no Credentials", - "text": "Click \"Create Credential\" to add one", - "create_btn": "Create Credential" + "text": "Click \"Create Credentials\" to add one", + "create_btn": "Create Credentials" } }, "roles_and_access": { diff --git a/src/components/CredentialCard/index.tsx b/src/components/CredentialCard/index.tsx index 89d5ccd7..ad73064f 100644 --- a/src/components/CredentialCard/index.tsx +++ b/src/components/CredentialCard/index.tsx @@ -7,7 +7,8 @@ import cx from "classnames"; import Button from "@/components/Button"; import ConfirmModal from "@/components/ConfirmModal"; import formatTime from "@/utils/helpers/formatTime"; -import type { Credentials } from "@/types/credential"; +import type { CredentialsInfo } from "@/types/credential"; +import DataSourceTag from "@/components/DataSourceTag"; import styles from "./index.module.less"; @@ -16,7 +17,7 @@ import type { FC } from "react"; const { Paragraph } = Typography; interface CredentialCardProps { - credential: Credentials; + credential: CredentialsInfo; onEdit?: (id: string) => void; onDelete?: (id: string) => void; } @@ -27,7 +28,7 @@ const CredentialCard: FC = ({ onDelete = () => {}, }) => { const { t } = useTranslation(["common"]); - const { id, username, dataSource, updatedAt, createdAt, user } = credential; + const { id, username, updatedAt, createdAt, user, dataSource } = credential; return (
= ({ > - {user?.display_name} + {user?.displayName} } @@ -84,6 +85,11 @@ const CredentialCard: FC = ({ } >
    +
  • + {t("common:words.type")} + +
  • + {dataSource?.name && (
  • diff --git a/src/components/CredentialsForm/index.tsx b/src/components/CredentialsForm/index.tsx index 85083bc8..4599d509 100644 --- a/src/components/CredentialsForm/index.tsx +++ b/src/components/CredentialsForm/index.tsx @@ -6,32 +6,43 @@ import Input from "@/components/Input"; import Button from "@/components/Button"; import type { CredentialsFormType } from "@/types/credential"; import type { DataSourceInfo } from "@/types/dataSource"; -import type { Member } from "@/types/team"; +import { Roles, type Member } from "@/types/team"; import { Access_Types_Enum } from "@/graphql/generated"; import CurrentUserStore from "@/stores/CurrentUserStore"; interface CredentialsFormProps { initialValue?: CredentialsFormType; - members?: Member[]; + allMembers?: Member[]; dataSources?: DataSourceInfo[]; onSubmit?: (data: CredentialsFormType) => void; } const CredentialsForm: React.FC = ({ initialValue, - members, + allMembers, dataSources, onSubmit = () => {}, }) => { - const { currentUser } = CurrentUserStore(); + const { currentUser, currentTeam } = CurrentUserStore(); const { t } = useTranslation(["common", "credentialsForm"]); const { control, handleSubmit, watch } = useForm({ values: initialValue, }); - const accessType = watch("accessType"); + const accessType = watch("accessType") || Access_Types_Enum.SpecificUsers; const isSpecificUsers = accessType === Access_Types_Enum.SpecificUsers; + const accessTypeMessage = { + [Access_Types_Enum.Shared]: t( + "credentialsForm:shared_access_type_description" + ), + [Access_Types_Enum.SpecificUsers]: t( + "credentialsForm:specific_users_access_type_description" + ), + }; + + const isMember = currentTeam?.role === Roles.member; + return (
    @@ -43,9 +54,9 @@ const CredentialsForm: React.FC = ({ name="dataSourceId" fieldType="select" placeholder={t("common:form.placeholders.choose_data_source")} - options={(dataSources || []).map((ds) => ({ + options={dataSources?.map((ds) => ({ label: ds.name, - value: ds.id as string, + value: ds.id || "", }))} defaultValue={initialValue?.dataSourceId} disabled={!!initialValue?.id} @@ -90,23 +101,25 @@ const CredentialsForm: React.FC = ({ /> - - ({ - label: t(`common:words.${type}`), - value: type, - }))} - defaultValue={Access_Types_Enum.Private} - /> - + {!isMember && ( + + ({ + label: t(`common:words.${type}`), + value: type, + }))} + defaultValue={Access_Types_Enum.SpecificUsers} + /> + + )} - {isSpecificUsers && ( + {!isMember && isSpecificUsers && ( = ({ mode="multiple" fieldType="select" placeholder={t("common:form.placeholders.choose_team_members")} - options={members?.map((member) => ({ + options={allMembers?.map((member) => ({ label: member.displayName, value: member.id, }))} @@ -129,13 +142,7 @@ const CredentialsForm: React.FC = ({ diff --git a/src/components/DataSourceFormBody/index.tsx b/src/components/DataSourceFormBody/index.tsx index 931c88da..1dcda3b1 100644 --- a/src/components/DataSourceFormBody/index.tsx +++ b/src/components/DataSourceFormBody/index.tsx @@ -81,16 +81,23 @@ const DataSourceFormBody: FC = ({ case 1: if (curDataSource) { const initialValue = formState?.step1 || formData?.step1; + let fields = + dataSourceForms[ + Object.keys(dataSourceForms).find( + (f) => f === curDataSource?.value + ) ?? "default" + ]; + + if (!isOnboarding) { + fields = fields.filter( + (f) => f.label !== "password" && f.label !== "user" + ); + } + return ( f === curDataSource?.value - ) ?? "default" - ] - } + fields={fields} loading={loading} isOnboarding={isOnboarding} initialValue={initialValue} diff --git a/src/graphql/generated.ts b/src/graphql/generated.ts index d7505c01..74db2eb1 100644 --- a/src/graphql/generated.ts +++ b/src/graphql/generated.ts @@ -544,7 +544,6 @@ export enum Access_Types_Constraint { } export enum Access_Types_Enum { - Private = "private", Shared = "shared", SpecificUsers = "specific_users", } @@ -13405,21 +13404,6 @@ export type DeleteCredentialMutation = { delete_credentials_by_pk?: { __typename?: "credentials"; id: any } | null; }; -export type CredentialQueryVariables = Exact<{ - id: Scalars["uuid"]["input"]; -}>; - -export type CredentialQuery = { - __typename?: "query_root"; - credentials_by_pk?: { - __typename?: "credentials"; - id: any; - user_id: any; - datasource_id: any; - username: string; - } | null; -}; - export type UpdateCredentialsMutationVariables = Exact<{ id: Scalars["uuid"]["input"]; username: Scalars["String"]["input"]; @@ -13434,38 +13418,6 @@ export type UpdateCredentialsMutation = { } | null; }; -export type CredentialsQueryVariables = Exact<{ - offset?: InputMaybe; - limit?: InputMaybe; -}>; - -export type CredentialsQuery = { - __typename?: "query_root"; - credentials: Array<{ - __typename?: "credentials"; - id: any; - user_id: any; - username: string; - access_type: Access_Types_Enum; - created_at: any; - updated_at: any; - datasource: { __typename?: "datasources"; id: any; name: string }; - user: { __typename?: "users"; id: any; display_name?: string | null }; - members_credentials: Array<{ - __typename?: "members_credentials"; - member_id: any; - credential_id: any; - }>; - }>; - credentials_aggregate: { - __typename?: "credentials_aggregate"; - aggregate?: { - __typename?: "credentials_aggregate_fields"; - count: number; - } | null; - }; -}; - export type DeleteMemberCredentialsMutationVariables = Exact<{ id: Scalars["uuid"]["input"]; }>; @@ -13703,6 +13655,16 @@ export type TeamDataQuery = { updated_at: any; user: { __typename?: "users"; id: any; display_name?: string | null }; }>; + credentials: Array<{ + __typename?: "credentials"; + id: any; + user_id: any; + username: string; + access_type: Access_Types_Enum; + created_at: any; + updated_at: any; + user: { __typename?: "users"; id: any; display_name?: string | null }; + }>; }>; alerts: Array<{ __typename?: "alerts"; @@ -13807,6 +13769,16 @@ export type SubTeamDataSubscription = { updated_at: any; user: { __typename?: "users"; id: any; display_name?: string | null }; }>; + credentials: Array<{ + __typename?: "credentials"; + id: any; + user_id: any; + username: string; + access_type: Access_Types_Enum; + created_at: any; + updated_at: any; + user: { __typename?: "users"; id: any; display_name?: string | null }; + }>; }>; alerts: Array<{ __typename?: "alerts"; @@ -14959,25 +14931,6 @@ export function useDeleteCredentialMutation() { DeleteCredentialMutationVariables >(DeleteCredentialDocument); } -export const CredentialDocument = gql` - query Credential($id: uuid!) { - credentials_by_pk(id: $id) { - id - user_id - datasource_id - username - } - } -`; - -export function useCredentialQuery( - options: Omit, "query"> -) { - return Urql.useQuery({ - query: CredentialDocument, - ...options, - }); -} export const UpdateCredentialsDocument = gql` mutation UpdateCredentials( $id: uuid! @@ -14999,48 +14952,6 @@ export function useUpdateCredentialsMutation() { UpdateCredentialsMutationVariables >(UpdateCredentialsDocument); } -export const CredentialsDocument = gql` - query Credentials($offset: Int, $limit: Int) { - credentials( - offset: $offset - limit: $limit - order_by: { created_at: desc } - ) { - id - user_id - username - access_type - created_at - updated_at - datasource { - id - name - } - user { - id - display_name - } - members_credentials { - member_id - credential_id - } - } - credentials_aggregate { - aggregate { - count - } - } - } -`; - -export function useCredentialsQuery( - options?: Omit, "query"> -) { - return Urql.useQuery({ - query: CredentialsDocument, - ...options, - }); -} export const DeleteMemberCredentialsDocument = gql` mutation DeleteMemberCredentials($id: uuid!) { delete_members_credentials(where: { id: { _eq: $id } }) { @@ -15191,6 +15102,18 @@ export const TeamDataDocument = gql` display_name } } + credentials(order_by: { updated_at: desc }) { + id + user_id + username + access_type + created_at + updated_at + user { + id + display_name + } + } } alerts(order_by: { created_at: desc }) { id @@ -15276,6 +15199,18 @@ export const SubTeamDataDocument = gql` display_name } } + credentials(order_by: { updated_at: desc }) { + id + user_id + username + access_type + created_at + updated_at + user { + id + display_name + } + } } alerts(order_by: { created_at: desc }) { id @@ -16332,8 +16267,6 @@ export const namedOperations = { Query: { AllAccessLists: "AllAccessLists", AccessList: "AccessList", - Credential: "Credential", - Credentials: "Credentials", CurrentUser: "CurrentUser", TeamData: "TeamData", Datasources: "Datasources", diff --git a/src/graphql/gql/credentials.gql b/src/graphql/gql/credentials.gql index d75ee527..16622a69 100644 --- a/src/graphql/gql/credentials.gql +++ b/src/graphql/gql/credentials.gql @@ -19,15 +19,6 @@ mutation DeleteCredential($id: uuid!) { } } -query Credential($id: uuid!) { - credentials_by_pk(id: $id) { - id - user_id - datasource_id - username - } -} - mutation UpdateCredentials($id: uuid!, $username: String!, $password: String!) { update_sql_credentials_by_pk( pk_columns: { id: $id } @@ -37,34 +28,6 @@ mutation UpdateCredentials($id: uuid!, $username: String!, $password: String!) { } } -query Credentials($offset: Int, $limit: Int) { - credentials(offset: $offset, limit: $limit, order_by: {created_at: desc}) { - id - user_id - username - access_type - created_at - updated_at - datasource { - id - name - } - user { - id - display_name - } - members_credentials { - member_id - credential_id - } - } - credentials_aggregate { - aggregate { - count - } - } -} - mutation DeleteMemberCredentials($id: uuid!) { delete_members_credentials(where: { id: { _eq: $id }}) { affected_rows diff --git a/src/graphql/gql/currentUser.gql b/src/graphql/gql/currentUser.gql index 6f34bb73..69f8b660 100644 --- a/src/graphql/gql/currentUser.gql +++ b/src/graphql/gql/currentUser.gql @@ -145,6 +145,18 @@ query TeamData($team_id: uuid!) { display_name } } + credentials(order_by: { updated_at: desc }) { + id + user_id + username + access_type + created_at + updated_at + user { + id + display_name + } + } } alerts(order_by: { created_at: desc }) { @@ -221,6 +233,18 @@ subscription SubTeamData($team_id: uuid!) { display_name } } + credentials(order_by: { updated_at: desc }) { + id + user_id + username + access_type + created_at + updated_at + user { + id + display_name + } + } } alerts(order_by: { created_at: desc }) { diff --git a/src/graphql/schemas/hasura.json b/src/graphql/schemas/hasura.json index 4b2202df..1d918a64 100644 --- a/src/graphql/schemas/hasura.json +++ b/src/graphql/schemas/hasura.json @@ -3946,12 +3946,6 @@ "inputFields": null, "interfaces": null, "enumValues": [ - { - "name": "private", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "shared", "description": null, diff --git a/src/hooks/useUserData.ts b/src/hooks/useUserData.ts index 33497b47..bed90152 100644 --- a/src/hooks/useUserData.ts +++ b/src/hooks/useUserData.ts @@ -3,6 +3,7 @@ import { useEffect } from "react"; import type { DataSourceCredentials } from "@/components/CredentialsTable"; import type { + Credentials, CurrentUserQuery, Datasources, Members as MembersType, @@ -28,6 +29,7 @@ import { Roles } from "@/types/team"; import type { TeamData, User } from "@/types/user"; import { SIGNIN } from "@/utils/constants/paths"; import formatTime from "@/utils/helpers/formatTime"; +import type { CredentialsInfo } from "@/types/credential"; const DEFAULT_TEAM_NAME = "Default team"; @@ -52,6 +54,33 @@ const prepareMembersData = (rawMembers: MembersType[]) => { return members; }; +export const prepareCredentialsData = ( + dataSources: DataSourceInfo[] +): CredentialsInfo[] => { + if (!dataSources?.length) return []; + + const credentials: CredentialsInfo[] = []; + (dataSources || []).forEach((ds) => { + credentials.push( + ...(ds.credentials || []).map((c) => ({ + id: c.id, + accessType: c.access_type, + username: c.username, + createdAt: c.created_at, + updatedAt: c.updated_at, + user: { + id: c.user.id, + displayName: c.user.display_name || "", + }, + members: (c.members_credentials || []).map((m) => m.member_id), + dataSource: ds, + })) + ); + }); + + return credentials; +}; + export const prepareDataSourceData = (data: Datasources[] | undefined) => { if (!data?.length) return []; @@ -65,6 +94,7 @@ export const prepareDataSourceData = (data: Datasources[] | undefined) => { updatedAt: d.updated_at, type: dbTiles.find((tile) => tile.value === d.db_type.toLowerCase()), branches: d.branches, + credentials: d.credentials, } as unknown as DataSourceInfo) ); }; @@ -155,7 +185,7 @@ const prepareUserData = ( }; }; -const prepareCredentialsData = ( +const prepareSqlCredentialsData = ( data: Datasources[] ): DataSourceCredentials[] => { if (!data?.length) return []; @@ -189,9 +219,10 @@ const prepareTeamData = ( const alerts = prepareAlertData(rawTeamData?.alerts as RawAlert[]); const reports = prepareReportData(rawTeamData?.reports as RawReport[]); const members = prepareMembersData(rawTeamData?.members as MembersType[]); - const sqlCredentials = prepareCredentialsData( + const sqlCredentials = prepareSqlCredentialsData( rawTeamData?.datasources as Datasources[] ); + const credentials = prepareCredentialsData(dataSources); return { dataSources: (dataSources || []).sort( @@ -205,6 +236,7 @@ const prepareTeamData = ( sqlCredentials: (sqlCredentials || []).sort( (a, b) => Date.parse(b.createdAt) - Date.parse(a.createdAt) ), + credentials, }; }; diff --git a/src/mocks/credentials.ts b/src/mocks/credentials.ts new file mode 100644 index 00000000..4fa0242c --- /dev/null +++ b/src/mocks/credentials.ts @@ -0,0 +1,4 @@ +import { Access_Types_Enum } from "@/graphql/generated"; +import type { CredentialsInfo } from "@/types/credential"; + +export const credentialsMock: CredentialsInfo[] = []; diff --git a/src/pages/Credentials/index.stories.tsx b/src/pages/Credentials/index.stories.tsx new file mode 100644 index 00000000..c3b18851 --- /dev/null +++ b/src/pages/Credentials/index.stories.tsx @@ -0,0 +1,22 @@ +import RootLayout from "@/layouts/RootLayout"; +import { credentialsMock } from "@/mocks/credentials"; + +import { CredentialsPage } from "."; + +import type { StoryFn, Meta } from "@storybook/react"; + +export default { + title: "Pages/Settings/Credentials", + component: CredentialsPage, +} as Meta; + +const Template: StoryFn = (args) => ( + + + +); + +export const Default = Template.bind({}); +Default.args = { + credentials: credentialsMock, +}; diff --git a/src/pages/Credentials/index.tsx b/src/pages/Credentials/index.tsx index 236f79f8..1bc42a41 100644 --- a/src/pages/Credentials/index.tsx +++ b/src/pages/Credentials/index.tsx @@ -1,5 +1,5 @@ import { useCallback } from "react"; -import { message, Spin, Space, Row, Col, Typography } from "antd"; +import { Spin, Space, Row, Col, Typography } from "antd"; import { useTranslation } from "react-i18next"; import { useParams } from "@vitjs/runtime"; @@ -7,10 +7,8 @@ import useLocation from "@/hooks/useLocation"; import CredentialsForm from "@/components/CredentialsForm"; import CredentialCard from "@/components/CredentialCard"; import { CREDENTIALS } from "@/utils/constants/paths"; -import type { CredentialsQuery } from "@/graphql/generated"; import { useDeleteCredentialMutation, - useCredentialsQuery, useInsertCredentialMutation, useUpdateCredentialMutation, useDeleteMemberCredentialsMutation, @@ -19,7 +17,7 @@ import { import useCheckResponse from "@/hooks/useCheckResponse"; import PageHeader from "@/components/PageHeader"; import Modal from "@/components/Modal"; -import type { Credentials, CredentialsFormType } from "@/types/credential"; +import type { CredentialsFormType, CredentialsInfo } from "@/types/credential"; import type { DataSourceInfo } from "@/types/dataSource"; import type { Member } from "@/types/team"; import CurrentUserStore from "@/stores/CurrentUserStore"; @@ -30,10 +28,10 @@ import styles from "./index.module.less"; const { Title } = Typography; interface CredentialsProps { - members?: Member[]; + allMembers?: Member[]; initialValue?: CredentialsFormType; - credentials: Credentials[]; dataSources?: DataSourceInfo[]; + credentials?: CredentialsInfo[]; loading?: boolean; isOpen?: boolean; onDelete?: (id: string) => void; @@ -44,12 +42,12 @@ interface CredentialsProps { onSubmit?: (data: CredentialsFormType) => void; } -const CredentialsPage: React.FC = ({ +export const CredentialsPage: React.FC = ({ initialValue, - members, + allMembers, dataSources, - isOpen, credentials, + isOpen, loading, onDelete = () => {}, onEdit = () => {}, @@ -62,9 +60,9 @@ const CredentialsPage: React.FC = ({ return ( <> - {credentials.length === 0 && } + {!credentials?.length && } - {credentials.length > 0 && ( + {!!credentials?.length && ( = ({ />
    - {credentials.map((c) => ( + {credentials?.map((c) => ( = ({
    @@ -106,31 +104,13 @@ const CredentialsPage: React.FC = ({ ); }; -const prepareCredentialData = ( - credentialResult: CredentialsQuery -): Credentials[] => { - if (!credentialResult?.credentials?.length) return []; - - return (credentialResult.credentials || []).map((c) => ({ - id: c.id, - accessType: c.access_type, - username: c.username, - createdAt: c.created_at, - updatedAt: c.updated_at, - user: c.user, - members: c.members_credentials.map((m) => m.member_id), - dataSource: c.datasource, - })) as unknown as Credentials[]; -}; - const CredentialsPageWrapper = () => { const { t } = useTranslation(["settings", "common"]); const [, setLocation] = useLocation(); - const { currentUser, teamData } = CurrentUserStore(); + const { currentUser, teamData, currentTeam } = CurrentUserStore(); const { editId } = useParams(); const isNew = editId === "new"; - const [credentialsQuery, execCredentialsQuery] = useCredentialsQuery(); const [deleteMutation, execDeleteMutation] = useDeleteCredentialMutation(); const [createMutation, execCreateMutation] = useInsertCredentialMutation(); const [updateMutation, execUpdateMutation] = useUpdateCredentialMutation(); @@ -159,8 +139,7 @@ const CredentialsPageWrapper = () => { const onClose = useCallback(() => { setLocation(CREDENTIALS); - execCredentialsQuery(); - }, [setLocation, execCredentialsQuery]); + }, [setLocation]); useCheckResponse(createMutation, () => onClose(), { successMessage: t("settings:credentials.created"), @@ -189,6 +168,21 @@ const CredentialsPageWrapper = () => { password: data.password, }; + let member_credentials = []; + if (currentTeam?.role === "admin") { + member_credentials = (data.members || []).map((m) => ({ + member_id: m, + credential_id: data.id, + })); + } else { + member_credentials = [ + { + member_id: currentUser?.id, + credential_id: data.id, + }, + ]; + } + if (isNew) { await execCreateMutation({ object: { @@ -196,61 +190,49 @@ const CredentialsPageWrapper = () => { user_id: currentUser?.id, datasource_id: data.dataSourceId, members_credentials: { - data: (data.members || []).map((m) => ({ - member_id: m, - })), + data: member_credentials, }, }, }); } else { await execDeleteMemberCredentials({ id: editId }); - await execInsertMembersCredentials({ + + const membersCredentials = await execInsertMembersCredentials({ objects: (data.members || []).map((m) => ({ member_id: m, credential_id: editId, })), }); - await execUpdateMutation({ - pk_columns: { id: editId }, - _set: payload, - }); + if (membersCredentials.data?.insert_members_credentials?.affected_rows) { + await execUpdateMutation({ + pk_columns: { id: editId }, + _set: payload, + }); + } } }; - const credentials = useMemo( - () => - prepareCredentialData( - credentialsQuery?.data as unknown as CredentialsQuery - ), - [credentialsQuery] - ); - const initialValue = useMemo(() => { - if (!isNew && editId && credentials.length) { - const curCredential = credentials.find((c) => c.id === editId); + if (!isNew && editId && teamData?.credentials?.length) { + const curCredential = teamData.credentials.find((c) => c.id === editId); if (curCredential) { return { - id: curCredential.id, - accessType: curCredential.accessType, - name: curCredential.user.display_name, - username: curCredential.username, + ...curCredential, dataSourceId: curCredential.dataSource.id, - members: curCredential.members, - password: "", - }; + } as unknown as CredentialsFormType; } onClose(); } - }, [credentials, isNew, editId, onClose]); + }, [teamData?.credentials, isNew, editId, onClose]); return ( Date: Fri, 11 Oct 2024 17:15:41 +0300 Subject: [PATCH 4/5] feat(credentials): fixes (WIP) --- public/locales/en/credentialsForm.json | 4 - public/locales/en/settings.json | 6 +- src/components/CredentialsForm/index.tsx | 34 +- src/graphql/generated.ts | 861 +++-- src/graphql/gql/credentials.gql | 14 +- src/graphql/gql/currentUser.gql | 3 + src/graphql/schemas/hasura.json | 3702 +++++++++++----------- src/hooks/useUserData.ts | 2 +- src/pages/Credentials/index.tsx | 124 +- src/stores/CurrentUserStore.ts | 11 + src/types/credential.ts | 1 + src/types/team.ts | 1 + 12 files changed, 2456 insertions(+), 2307 deletions(-) delete mode 100644 public/locales/en/credentialsForm.json diff --git a/public/locales/en/credentialsForm.json b/public/locales/en/credentialsForm.json deleted file mode 100644 index 9c4f8b9f..00000000 --- a/public/locales/en/credentialsForm.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "shared_access_type_description": "This credential will be available to all team members.", - "specific_users_access_type_description": "This credential will be available to the selected team members." -} diff --git a/public/locales/en/settings.json b/public/locales/en/settings.json index b2a0a2b8..dfe783ef 100644 --- a/public/locales/en/settings.json +++ b/public/locales/en/settings.json @@ -70,7 +70,11 @@ "title": "You have no Credentials", "text": "Click \"Create Credentials\" to add one", "create_btn": "Create Credentials" - } + }, + "shared_access_type_description": "This credential will be available to all team members.", + "specific_users_access_type_description": "This credential will be available to the selected team members.", + "member_already_used": "One or more members already have access to this datasource. Please remove them from other credentials of this datasource.", + "member_has_access": "You already have access to this datasource. Please remove other credentials of this datasource or contact your administrator." }, "roles_and_access": { "manage_roles": "Manage roles", diff --git a/src/components/CredentialsForm/index.tsx b/src/components/CredentialsForm/index.tsx index 4599d509..2eca8514 100644 --- a/src/components/CredentialsForm/index.tsx +++ b/src/components/CredentialsForm/index.tsx @@ -24,7 +24,7 @@ const CredentialsForm: React.FC = ({ onSubmit = () => {}, }) => { const { currentUser, currentTeam } = CurrentUserStore(); - const { t } = useTranslation(["common", "credentialsForm"]); + const { t } = useTranslation(["common", "settings"]); const { control, handleSubmit, watch } = useForm({ values: initialValue, }); @@ -34,14 +34,16 @@ const CredentialsForm: React.FC = ({ const accessTypeMessage = { [Access_Types_Enum.Shared]: t( - "credentialsForm:shared_access_type_description" + "settings:credentials.shared_access_type_description" ), [Access_Types_Enum.SpecificUsers]: t( - "credentialsForm:specific_users_access_type_description" + "settings:credentials.specific_users_access_type_description" ), }; const isMember = currentTeam?.role === Roles.member; + const isOwner = currentUser?.id === initialValue?.userId; + const canEdit = !initialValue || (isMember && isOwner) || !isMember; return ( @@ -58,7 +60,9 @@ const CredentialsForm: React.FC = ({ label: ds.name, value: ds.id || "", }))} - defaultValue={initialValue?.dataSourceId} + defaultValue={ + initialValue?.dataSourceId || dataSources?.[0]?.id || undefined + } disabled={!!initialValue?.id} /> @@ -86,6 +90,7 @@ const CredentialsForm: React.FC = ({ name="username" placeholder={t("common:form.placeholders.login")} defaultValue={initialValue?.username} + disabled={!canEdit} /> @@ -98,10 +103,11 @@ const CredentialsForm: React.FC = ({ fieldType="password" placeholder={t("common:form.placeholders.password")} defaultValue={initialValue?.password} + disabled={!canEdit} /> - {!isMember && ( + {isOwner && !isMember && ( = ({ )}
    - + {!isMember && ( + + )} - diff --git a/src/graphql/generated.ts b/src/graphql/generated.ts index 74db2eb1..22c3cb3c 100644 --- a/src/graphql/generated.ts +++ b/src/graphql/generated.ts @@ -3448,9 +3448,9 @@ export type Credentials = { datasource_id: Scalars["uuid"]["output"]; id: Scalars["uuid"]["output"]; /** An array relationship */ - members_credentials: Array; + member_credentials: Array; /** An aggregate relationship */ - members_credentials_aggregate: Members_Credentials_Aggregate; + member_credentials_aggregate: Member_Credentials_Aggregate; password?: Maybe; updated_at: Scalars["timestamptz"]["output"]; /** An object relationship */ @@ -3460,21 +3460,21 @@ export type Credentials = { }; /** columns and relationships of "credentials" */ -export type CredentialsMembers_CredentialsArgs = { - distinct_on?: InputMaybe>; +export type CredentialsMember_CredentialsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** columns and relationships of "credentials" */ -export type CredentialsMembers_Credentials_AggregateArgs = { - distinct_on?: InputMaybe>; +export type CredentialsMember_Credentials_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** aggregated selection of "credentials" */ @@ -3534,8 +3534,8 @@ export type Credentials_Bool_Exp = { datasource?: InputMaybe; datasource_id?: InputMaybe; id?: InputMaybe; - members_credentials?: InputMaybe; - members_credentials_aggregate?: InputMaybe; + member_credentials?: InputMaybe; + member_credentials_aggregate?: InputMaybe; password?: InputMaybe; updated_at?: InputMaybe; user?: InputMaybe; @@ -3545,8 +3545,6 @@ export type Credentials_Bool_Exp = { /** unique or primary key constraints on table "credentials" */ export enum Credentials_Constraint { - /** unique or primary key constraint on columns "user_id", "datasource_id" */ - CredentialsDatasourceIdUserIdKey = "credentials_datasource_id_user_id_key", /** unique or primary key constraint on columns "id" */ CredentialsPkey = "credentials_pkey", } @@ -3559,7 +3557,7 @@ export type Credentials_Insert_Input = { datasource?: InputMaybe; datasource_id?: InputMaybe; id?: InputMaybe; - members_credentials?: InputMaybe; + member_credentials?: InputMaybe; password?: InputMaybe; updated_at?: InputMaybe; user?: InputMaybe; @@ -3644,7 +3642,7 @@ export type Credentials_Order_By = { datasource?: InputMaybe; datasource_id?: InputMaybe; id?: InputMaybe; - members_credentials_aggregate?: InputMaybe; + member_credentials_aggregate?: InputMaybe; password?: InputMaybe; updated_at?: InputMaybe; user?: InputMaybe; @@ -5518,6 +5516,246 @@ export type Jsonb_Comparison_Exp = { _nin?: InputMaybe>; }; +/** columns and relationships of "member_credentials" */ +export type Member_Credentials = { + __typename?: "member_credentials"; + created_at: Scalars["timestamptz"]["output"]; + /** An object relationship */ + credential: Credentials; + credential_id: Scalars["uuid"]["output"]; + datasource_id: Scalars["uuid"]["output"]; + id: Scalars["uuid"]["output"]; + /** An object relationship */ + member: Members; + member_id: Scalars["uuid"]["output"]; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "member_credentials" */ +export type Member_Credentials_Aggregate = { + __typename?: "member_credentials_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Member_Credentials_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Member_Credentials_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "member_credentials" */ +export type Member_Credentials_Aggregate_Fields = { + __typename?: "member_credentials_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "member_credentials" */ +export type Member_Credentials_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "member_credentials" */ +export type Member_Credentials_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "member_credentials" */ +export type Member_Credentials_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "member_credentials". All fields are combined with a logical 'AND'. */ +export type Member_Credentials_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + credential?: InputMaybe; + credential_id?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + member?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "member_credentials" */ +export enum Member_Credentials_Constraint { + /** unique or primary key constraint on columns "credential_id", "member_id" */ + MemberCredentialsCredentialIdMemberIdKey = "member_credentials_credential_id_member_id_key", + /** unique or primary key constraint on columns "member_id", "datasource_id" */ + MemberCredentialsDatasourceIdMemberIdKey = "member_credentials_datasource_id_member_id_key", + /** unique or primary key constraint on columns "id" */ + MemberCredentialsPkey = "member_credentials_pkey", +} + +/** input type for inserting data into table "member_credentials" */ +export type Member_Credentials_Insert_Input = { + created_at?: InputMaybe; + credential?: InputMaybe; + credential_id?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + member?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Member_Credentials_Max_Fields = { + __typename?: "member_credentials_max_fields"; + created_at?: Maybe; + credential_id?: Maybe; + datasource_id?: Maybe; + id?: Maybe; + member_id?: Maybe; + updated_at?: Maybe; +}; + +/** order by max() on columns of table "member_credentials" */ +export type Member_Credentials_Max_Order_By = { + created_at?: InputMaybe; + credential_id?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Member_Credentials_Min_Fields = { + __typename?: "member_credentials_min_fields"; + created_at?: Maybe; + credential_id?: Maybe; + datasource_id?: Maybe; + id?: Maybe; + member_id?: Maybe; + updated_at?: Maybe; +}; + +/** order by min() on columns of table "member_credentials" */ +export type Member_Credentials_Min_Order_By = { + created_at?: InputMaybe; + credential_id?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** response of any mutation on the table "member_credentials" */ +export type Member_Credentials_Mutation_Response = { + __typename?: "member_credentials_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "member_credentials" */ +export type Member_Credentials_On_Conflict = { + constraint: Member_Credentials_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "member_credentials". */ +export type Member_Credentials_Order_By = { + created_at?: InputMaybe; + credential?: InputMaybe; + credential_id?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + member?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: member_credentials */ +export type Member_Credentials_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "member_credentials" */ +export enum Member_Credentials_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + CredentialId = "credential_id", + /** column name */ + DatasourceId = "datasource_id", + /** column name */ + Id = "id", + /** column name */ + MemberId = "member_id", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "member_credentials" */ +export type Member_Credentials_Set_Input = { + created_at?: InputMaybe; + credential_id?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "member_credentials" */ +export type Member_Credentials_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Member_Credentials_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Member_Credentials_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + credential_id?: InputMaybe; + datasource_id?: InputMaybe; + id?: InputMaybe; + member_id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** update columns of table "member_credentials" */ +export enum Member_Credentials_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + CredentialId = "credential_id", + /** column name */ + DatasourceId = "datasource_id", + /** column name */ + Id = "id", + /** column name */ + MemberId = "member_id", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Member_Credentials_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Member_Credentials_Bool_Exp; +}; + /** columns and relationships of "member_roles" */ export type Member_Roles = { __typename?: "member_roles"; @@ -5763,13 +6001,13 @@ export type Members = { created_at: Scalars["timestamptz"]["output"]; id: Scalars["uuid"]["output"]; /** An array relationship */ - member_roles: Array; + member_credentials: Array; /** An aggregate relationship */ - member_roles_aggregate: Member_Roles_Aggregate; + member_credentials_aggregate: Member_Credentials_Aggregate; /** An array relationship */ - members_credentials: Array; + member_roles: Array; /** An aggregate relationship */ - members_credentials_aggregate: Members_Credentials_Aggregate; + member_roles_aggregate: Member_Roles_Aggregate; /** An object relationship */ team: Teams; team_id: Scalars["uuid"]["output"]; @@ -5780,39 +6018,39 @@ export type Members = { }; /** columns and relationships of "members" */ -export type MembersMember_RolesArgs = { - distinct_on?: InputMaybe>; +export type MembersMember_CredentialsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** columns and relationships of "members" */ -export type MembersMember_Roles_AggregateArgs = { - distinct_on?: InputMaybe>; +export type MembersMember_Credentials_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** columns and relationships of "members" */ -export type MembersMembers_CredentialsArgs = { - distinct_on?: InputMaybe>; +export type MembersMember_RolesArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** columns and relationships of "members" */ -export type MembersMembers_Credentials_AggregateArgs = { - distinct_on?: InputMaybe>; +export type MembersMember_Roles_AggregateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; /** aggregated selection of "members" */ @@ -5868,10 +6106,10 @@ export type Members_Bool_Exp = { _or?: InputMaybe>; created_at?: InputMaybe; id?: InputMaybe; + member_credentials?: InputMaybe; + member_credentials_aggregate?: InputMaybe; member_roles?: InputMaybe; member_roles_aggregate?: InputMaybe; - members_credentials?: InputMaybe; - members_credentials_aggregate?: InputMaybe; team?: InputMaybe; team_id?: InputMaybe; updated_at?: InputMaybe; @@ -5887,236 +6125,12 @@ export enum Members_Constraint { MembersUserIdTeamIdKey = "members_user_id_team_id_key", } -/** columns and relationships of "members_credentials" */ -export type Members_Credentials = { - __typename?: "members_credentials"; - created_at: Scalars["timestamptz"]["output"]; - /** An object relationship */ - credential: Credentials; - credential_id: Scalars["uuid"]["output"]; - id: Scalars["uuid"]["output"]; - /** An object relationship */ - member: Members; - member_id: Scalars["uuid"]["output"]; - updated_at: Scalars["timestamptz"]["output"]; -}; - -/** aggregated selection of "members_credentials" */ -export type Members_Credentials_Aggregate = { - __typename?: "members_credentials_aggregate"; - aggregate?: Maybe; - nodes: Array; -}; - -export type Members_Credentials_Aggregate_Bool_Exp = { - count?: InputMaybe; -}; - -export type Members_Credentials_Aggregate_Bool_Exp_Count = { - arguments?: InputMaybe>; - distinct?: InputMaybe; - filter?: InputMaybe; - predicate: Int_Comparison_Exp; -}; - -/** aggregate fields of "members_credentials" */ -export type Members_Credentials_Aggregate_Fields = { - __typename?: "members_credentials_aggregate_fields"; - count: Scalars["Int"]["output"]; - max?: Maybe; - min?: Maybe; -}; - -/** aggregate fields of "members_credentials" */ -export type Members_Credentials_Aggregate_FieldsCountArgs = { - columns?: InputMaybe>; - distinct?: InputMaybe; -}; - -/** order by aggregate values of table "members_credentials" */ -export type Members_Credentials_Aggregate_Order_By = { - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; -}; - -/** input type for inserting array relation for remote table "members_credentials" */ -export type Members_Credentials_Arr_Rel_Insert_Input = { - data: Array; - /** upsert condition */ - on_conflict?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "members_credentials". All fields are combined with a logical 'AND'. */ -export type Members_Credentials_Bool_Exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - created_at?: InputMaybe; - credential?: InputMaybe; - credential_id?: InputMaybe; - id?: InputMaybe; - member?: InputMaybe; - member_id?: InputMaybe; - updated_at?: InputMaybe; -}; - -/** unique or primary key constraints on table "members_credentials" */ -export enum Members_Credentials_Constraint { - /** unique or primary key constraint on columns "credential_id", "member_id" */ - MembersCredentialsMemberIdCredentialIdKey = "members_credentials_member_id_credential_id_key", - /** unique or primary key constraint on columns "id" */ - MembersCredentialsPkey = "members_credentials_pkey", -} - -/** input type for inserting data into table "members_credentials" */ -export type Members_Credentials_Insert_Input = { - created_at?: InputMaybe; - credential?: InputMaybe; - credential_id?: InputMaybe; - id?: InputMaybe; - member?: InputMaybe; - member_id?: InputMaybe; - updated_at?: InputMaybe; -}; - -/** aggregate max on columns */ -export type Members_Credentials_Max_Fields = { - __typename?: "members_credentials_max_fields"; - created_at?: Maybe; - credential_id?: Maybe; - id?: Maybe; - member_id?: Maybe; - updated_at?: Maybe; -}; - -/** order by max() on columns of table "members_credentials" */ -export type Members_Credentials_Max_Order_By = { - created_at?: InputMaybe; - credential_id?: InputMaybe; - id?: InputMaybe; - member_id?: InputMaybe; - updated_at?: InputMaybe; -}; - -/** aggregate min on columns */ -export type Members_Credentials_Min_Fields = { - __typename?: "members_credentials_min_fields"; - created_at?: Maybe; - credential_id?: Maybe; - id?: Maybe; - member_id?: Maybe; - updated_at?: Maybe; -}; - -/** order by min() on columns of table "members_credentials" */ -export type Members_Credentials_Min_Order_By = { - created_at?: InputMaybe; - credential_id?: InputMaybe; - id?: InputMaybe; - member_id?: InputMaybe; - updated_at?: InputMaybe; -}; - -/** response of any mutation on the table "members_credentials" */ -export type Members_Credentials_Mutation_Response = { - __typename?: "members_credentials_mutation_response"; - /** number of rows affected by the mutation */ - affected_rows: Scalars["Int"]["output"]; - /** data from the rows affected by the mutation */ - returning: Array; -}; - -/** on_conflict condition type for table "members_credentials" */ -export type Members_Credentials_On_Conflict = { - constraint: Members_Credentials_Constraint; - update_columns?: Array; - where?: InputMaybe; -}; - -/** Ordering options when selecting data from "members_credentials". */ -export type Members_Credentials_Order_By = { - created_at?: InputMaybe; - credential?: InputMaybe; - credential_id?: InputMaybe; - id?: InputMaybe; - member?: InputMaybe; - member_id?: InputMaybe; - updated_at?: InputMaybe; -}; - -/** primary key columns input for table: members_credentials */ -export type Members_Credentials_Pk_Columns_Input = { - id: Scalars["uuid"]["input"]; -}; - -/** select columns of table "members_credentials" */ -export enum Members_Credentials_Select_Column { - /** column name */ - CreatedAt = "created_at", - /** column name */ - CredentialId = "credential_id", - /** column name */ - Id = "id", - /** column name */ - MemberId = "member_id", - /** column name */ - UpdatedAt = "updated_at", -} - -/** input type for updating data in table "members_credentials" */ -export type Members_Credentials_Set_Input = { - created_at?: InputMaybe; - credential_id?: InputMaybe; - id?: InputMaybe; - member_id?: InputMaybe; - updated_at?: InputMaybe; -}; - -/** Streaming cursor of the table "members_credentials" */ -export type Members_Credentials_Stream_Cursor_Input = { - /** Stream column input with initial value */ - initial_value: Members_Credentials_Stream_Cursor_Value_Input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type Members_Credentials_Stream_Cursor_Value_Input = { - created_at?: InputMaybe; - credential_id?: InputMaybe; - id?: InputMaybe; - member_id?: InputMaybe; - updated_at?: InputMaybe; -}; - -/** update columns of table "members_credentials" */ -export enum Members_Credentials_Update_Column { - /** column name */ - CreatedAt = "created_at", - /** column name */ - CredentialId = "credential_id", - /** column name */ - Id = "id", - /** column name */ - MemberId = "member_id", - /** column name */ - UpdatedAt = "updated_at", -} - -export type Members_Credentials_Updates = { - /** sets the columns of the filtered rows to the given values */ - _set?: InputMaybe; - /** filter the rows which have to be updated */ - where: Members_Credentials_Bool_Exp; -}; - /** input type for inserting data into table "members" */ export type Members_Insert_Input = { created_at?: InputMaybe; id?: InputMaybe; + member_credentials?: InputMaybe; member_roles?: InputMaybe; - members_credentials?: InputMaybe; team?: InputMaybe; team_id?: InputMaybe; updated_at?: InputMaybe; @@ -6189,8 +6203,8 @@ export type Members_On_Conflict = { export type Members_Order_By = { created_at?: InputMaybe; id?: InputMaybe; + member_credentials_aggregate?: InputMaybe; member_roles_aggregate?: InputMaybe; - members_credentials_aggregate?: InputMaybe; team?: InputMaybe; team_id?: InputMaybe; updated_at?: InputMaybe; @@ -6346,6 +6360,10 @@ export type Mutation_Root = { delete_explorations?: Maybe; /** delete single row from the table: "explorations" */ delete_explorations_by_pk?: Maybe; + /** delete data from the table: "member_credentials" */ + delete_member_credentials?: Maybe; + /** delete single row from the table: "member_credentials" */ + delete_member_credentials_by_pk?: Maybe; /** delete data from the table: "member_roles" */ delete_member_roles?: Maybe; /** delete single row from the table: "member_roles" */ @@ -6354,10 +6372,6 @@ export type Mutation_Root = { delete_members?: Maybe; /** delete single row from the table: "members" */ delete_members_by_pk?: Maybe; - /** delete data from the table: "members_credentials" */ - delete_members_credentials?: Maybe; - /** delete single row from the table: "members_credentials" */ - delete_members_credentials_by_pk?: Maybe; /** delete data from the table: "pinned_items" */ delete_pinned_items?: Maybe; /** delete single row from the table: "pinned_items" */ @@ -6473,16 +6487,16 @@ export type Mutation_Root = { insert_explorations?: Maybe; /** insert a single row into the table: "explorations" */ insert_explorations_one?: Maybe; + /** insert data into the table: "member_credentials" */ + insert_member_credentials?: Maybe; + /** insert a single row into the table: "member_credentials" */ + insert_member_credentials_one?: Maybe; /** insert data into the table: "member_roles" */ insert_member_roles?: Maybe; /** insert a single row into the table: "member_roles" */ insert_member_roles_one?: Maybe; /** insert data into the table: "members" */ insert_members?: Maybe; - /** insert data into the table: "members_credentials" */ - insert_members_credentials?: Maybe; - /** insert a single row into the table: "members_credentials" */ - insert_members_credentials_one?: Maybe; /** insert a single row into the table: "members" */ insert_members_one?: Maybe; /** insert data into the table: "pinned_items" */ @@ -6660,6 +6674,14 @@ export type Mutation_Root = { update_explorations_many?: Maybe< Array> >; + /** update data of the table: "member_credentials" */ + update_member_credentials?: Maybe; + /** update single row of the table: "member_credentials" */ + update_member_credentials_by_pk?: Maybe; + /** update multiples rows of table: "member_credentials" */ + update_member_credentials_many?: Maybe< + Array> + >; /** update data of the table: "member_roles" */ update_member_roles?: Maybe; /** update single row of the table: "member_roles" */ @@ -6672,14 +6694,6 @@ export type Mutation_Root = { update_members?: Maybe; /** update single row of the table: "members" */ update_members_by_pk?: Maybe; - /** update data of the table: "members_credentials" */ - update_members_credentials?: Maybe; - /** update single row of the table: "members_credentials" */ - update_members_credentials_by_pk?: Maybe; - /** update multiples rows of table: "members_credentials" */ - update_members_credentials_many?: Maybe< - Array> - >; /** update multiples rows of table: "members" */ update_members_many?: Maybe>>; /** update data of the table: "pinned_items" */ @@ -6952,32 +6966,32 @@ export type Mutation_RootDelete_Explorations_By_PkArgs = { }; /** mutation root */ -export type Mutation_RootDelete_Member_RolesArgs = { - where: Member_Roles_Bool_Exp; +export type Mutation_RootDelete_Member_CredentialsArgs = { + where: Member_Credentials_Bool_Exp; }; /** mutation root */ -export type Mutation_RootDelete_Member_Roles_By_PkArgs = { +export type Mutation_RootDelete_Member_Credentials_By_PkArgs = { id: Scalars["uuid"]["input"]; }; /** mutation root */ -export type Mutation_RootDelete_MembersArgs = { - where: Members_Bool_Exp; +export type Mutation_RootDelete_Member_RolesArgs = { + where: Member_Roles_Bool_Exp; }; /** mutation root */ -export type Mutation_RootDelete_Members_By_PkArgs = { +export type Mutation_RootDelete_Member_Roles_By_PkArgs = { id: Scalars["uuid"]["input"]; }; /** mutation root */ -export type Mutation_RootDelete_Members_CredentialsArgs = { - where: Members_Credentials_Bool_Exp; +export type Mutation_RootDelete_MembersArgs = { + where: Members_Bool_Exp; }; /** mutation root */ -export type Mutation_RootDelete_Members_Credentials_By_PkArgs = { +export type Mutation_RootDelete_Members_By_PkArgs = { id: Scalars["uuid"]["input"]; }; @@ -7318,6 +7332,18 @@ export type Mutation_RootInsert_Explorations_OneArgs = { on_conflict?: InputMaybe; }; +/** mutation root */ +export type Mutation_RootInsert_Member_CredentialsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Member_Credentials_OneArgs = { + object: Member_Credentials_Insert_Input; + on_conflict?: InputMaybe; +}; + /** mutation root */ export type Mutation_RootInsert_Member_RolesArgs = { objects: Array; @@ -7336,18 +7362,6 @@ export type Mutation_RootInsert_MembersArgs = { on_conflict?: InputMaybe; }; -/** mutation root */ -export type Mutation_RootInsert_Members_CredentialsArgs = { - objects: Array; - on_conflict?: InputMaybe; -}; - -/** mutation root */ -export type Mutation_RootInsert_Members_Credentials_OneArgs = { - object: Members_Credentials_Insert_Input; - on_conflict?: InputMaybe; -}; - /** mutation root */ export type Mutation_RootInsert_Members_OneArgs = { object: Members_Insert_Input; @@ -7880,6 +7894,23 @@ export type Mutation_RootUpdate_Explorations_ManyArgs = { updates: Array; }; +/** mutation root */ +export type Mutation_RootUpdate_Member_CredentialsArgs = { + _set?: InputMaybe; + where: Member_Credentials_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Member_Credentials_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Member_Credentials_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Member_Credentials_ManyArgs = { + updates: Array; +}; + /** mutation root */ export type Mutation_RootUpdate_Member_RolesArgs = { _set?: InputMaybe; @@ -7909,23 +7940,6 @@ export type Mutation_RootUpdate_Members_By_PkArgs = { pk_columns: Members_Pk_Columns_Input; }; -/** mutation root */ -export type Mutation_RootUpdate_Members_CredentialsArgs = { - _set?: InputMaybe; - where: Members_Credentials_Bool_Exp; -}; - -/** mutation root */ -export type Mutation_RootUpdate_Members_Credentials_By_PkArgs = { - _set?: InputMaybe; - pk_columns: Members_Credentials_Pk_Columns_Input; -}; - -/** mutation root */ -export type Mutation_RootUpdate_Members_Credentials_ManyArgs = { - updates: Array; -}; - /** mutation root */ export type Mutation_RootUpdate_Members_ManyArgs = { updates: Array; @@ -8586,6 +8600,12 @@ export type Query_Root = { fetch_meta?: Maybe; fetch_tables?: Maybe; /** An array relationship */ + member_credentials: Array; + /** An aggregate relationship */ + member_credentials_aggregate: Member_Credentials_Aggregate; + /** fetch data from the table: "member_credentials" using primary key columns */ + member_credentials_by_pk?: Maybe; + /** An array relationship */ member_roles: Array; /** An aggregate relationship */ member_roles_aggregate: Member_Roles_Aggregate; @@ -8598,12 +8618,6 @@ export type Query_Root = { /** fetch data from the table: "members" using primary key columns */ members_by_pk?: Maybe; /** An array relationship */ - members_credentials: Array; - /** An aggregate relationship */ - members_credentials_aggregate: Members_Credentials_Aggregate; - /** fetch data from the table: "members_credentials" using primary key columns */ - members_credentials_by_pk?: Maybe; - /** An array relationship */ pinned_items: Array; /** An aggregate relationship */ pinned_items_aggregate: Pinned_Items_Aggregate; @@ -9060,6 +9074,26 @@ export type Query_RootFetch_TablesArgs = { datasource_id: Scalars["uuid"]["input"]; }; +export type Query_RootMember_CredentialsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootMember_Credentials_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootMember_Credentials_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + export type Query_RootMember_RolesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -9100,26 +9134,6 @@ export type Query_RootMembers_By_PkArgs = { id: Scalars["uuid"]["input"]; }; -export type Query_RootMembers_CredentialsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootMembers_Credentials_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -export type Query_RootMembers_Credentials_By_PkArgs = { - id: Scalars["uuid"]["input"]; -}; - export type Query_RootPinned_ItemsArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -10965,6 +10979,14 @@ export type Subscription_Root = { /** fetch data from the table in a streaming manner: "explorations" */ explorations_stream: Array; /** An array relationship */ + member_credentials: Array; + /** An aggregate relationship */ + member_credentials_aggregate: Member_Credentials_Aggregate; + /** fetch data from the table: "member_credentials" using primary key columns */ + member_credentials_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "member_credentials" */ + member_credentials_stream: Array; + /** An array relationship */ member_roles: Array; /** An aggregate relationship */ member_roles_aggregate: Member_Roles_Aggregate; @@ -10978,14 +11000,6 @@ export type Subscription_Root = { members_aggregate: Members_Aggregate; /** fetch data from the table: "members" using primary key columns */ members_by_pk?: Maybe; - /** An array relationship */ - members_credentials: Array; - /** An aggregate relationship */ - members_credentials_aggregate: Members_Credentials_Aggregate; - /** fetch data from the table: "members_credentials" using primary key columns */ - members_credentials_by_pk?: Maybe; - /** fetch data from the table in a streaming manner: "members_credentials" */ - members_credentials_stream: Array; /** fetch data from the table in a streaming manner: "members" */ members_stream: Array; /** An array relationship */ @@ -11560,6 +11574,32 @@ export type Subscription_RootExplorations_StreamArgs = { where?: InputMaybe; }; +export type Subscription_RootMember_CredentialsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootMember_Credentials_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootMember_Credentials_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootMember_Credentials_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + export type Subscription_RootMember_RolesArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -11606,32 +11646,6 @@ export type Subscription_RootMembers_By_PkArgs = { id: Scalars["uuid"]["input"]; }; -export type Subscription_RootMembers_CredentialsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootMembers_Credentials_AggregateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -export type Subscription_RootMembers_Credentials_By_PkArgs = { - id: Scalars["uuid"]["input"]; -}; - -export type Subscription_RootMembers_Credentials_StreamArgs = { - batch_size: Scalars["Int"]["input"]; - cursor: Array>; - where?: InputMaybe; -}; - export type Subscription_RootMembers_StreamArgs = { batch_size: Scalars["Int"]["input"]; cursor: Array>; @@ -13406,40 +13420,21 @@ export type DeleteCredentialMutation = { export type UpdateCredentialsMutationVariables = Exact<{ id: Scalars["uuid"]["input"]; - username: Scalars["String"]["input"]; - password: Scalars["String"]["input"]; + object?: InputMaybe; + members: + | Array + | Member_Credentials_Insert_Input; }>; export type UpdateCredentialsMutation = { __typename?: "mutation_root"; - update_sql_credentials_by_pk?: { - __typename?: "sql_credentials"; - id: any; - } | null; -}; - -export type DeleteMemberCredentialsMutationVariables = Exact<{ - id: Scalars["uuid"]["input"]; -}>; - -export type DeleteMemberCredentialsMutation = { - __typename?: "mutation_root"; - delete_members_credentials?: { - __typename?: "members_credentials_mutation_response"; + update_credentials_by_pk?: { __typename?: "credentials"; id: any } | null; + delete_member_credentials?: { + __typename?: "member_credentials_mutation_response"; affected_rows: number; } | null; -}; - -export type InsertMembersCredentialsMutationVariables = Exact<{ - objects: - | Array - | Members_Credentials_Insert_Input; -}>; - -export type InsertMembersCredentialsMutation = { - __typename?: "mutation_root"; - insert_members_credentials?: { - __typename?: "members_credentials_mutation_response"; + insert_member_credentials?: { + __typename?: "member_credentials_mutation_response"; affected_rows: number; } | null; }; @@ -13664,6 +13659,10 @@ export type TeamDataQuery = { created_at: any; updated_at: any; user: { __typename?: "users"; id: any; display_name?: string | null }; + member_credentials: Array<{ + __typename?: "member_credentials"; + member_id: any; + }>; }>; }>; alerts: Array<{ @@ -14934,53 +14933,26 @@ export function useDeleteCredentialMutation() { export const UpdateCredentialsDocument = gql` mutation UpdateCredentials( $id: uuid! - $username: String! - $password: String! + $object: credentials_set_input + $members: [member_credentials_insert_input!]! ) { - update_sql_credentials_by_pk( - pk_columns: { id: $id } - _set: { username: $username, password: $password } - ) { + update_credentials_by_pk(pk_columns: { id: $id }, _set: $object) { id } - } -`; - -export function useUpdateCredentialsMutation() { - return Urql.useMutation< - UpdateCredentialsMutation, - UpdateCredentialsMutationVariables - >(UpdateCredentialsDocument); -} -export const DeleteMemberCredentialsDocument = gql` - mutation DeleteMemberCredentials($id: uuid!) { - delete_members_credentials(where: { id: { _eq: $id } }) { + delete_member_credentials(where: { credential_id: { _eq: $id } }) { affected_rows } - } -`; - -export function useDeleteMemberCredentialsMutation() { - return Urql.useMutation< - DeleteMemberCredentialsMutation, - DeleteMemberCredentialsMutationVariables - >(DeleteMemberCredentialsDocument); -} -export const InsertMembersCredentialsDocument = gql` - mutation InsertMembersCredentials( - $objects: [members_credentials_insert_input!]! - ) { - insert_members_credentials(objects: $objects) { + insert_member_credentials(objects: $members) { affected_rows } } `; -export function useInsertMembersCredentialsMutation() { +export function useUpdateCredentialsMutation() { return Urql.useMutation< - InsertMembersCredentialsMutation, - InsertMembersCredentialsMutationVariables - >(InsertMembersCredentialsDocument); + UpdateCredentialsMutation, + UpdateCredentialsMutationVariables + >(UpdateCredentialsDocument); } export const CurrentUserDocument = gql` query CurrentUser($id: uuid!) { @@ -15113,6 +15085,9 @@ export const TeamDataDocument = gql` id display_name } + member_credentials { + member_id + } } } alerts(order_by: { created_at: desc }) { @@ -16299,8 +16274,6 @@ export const namedOperations = { UpdateCredential: "UpdateCredential", DeleteCredential: "DeleteCredential", UpdateCredentials: "UpdateCredentials", - DeleteMemberCredentials: "DeleteMemberCredentials", - InsertMembersCredentials: "InsertMembersCredentials", UpdateUserInfo: "UpdateUserInfo", CreateDataSource: "CreateDataSource", UpdateDataSource: "UpdateDataSource", diff --git a/src/graphql/gql/credentials.gql b/src/graphql/gql/credentials.gql index 16622a69..4268d9ee 100644 --- a/src/graphql/gql/credentials.gql +++ b/src/graphql/gql/credentials.gql @@ -19,23 +19,19 @@ mutation DeleteCredential($id: uuid!) { } } -mutation UpdateCredentials($id: uuid!, $username: String!, $password: String!) { - update_sql_credentials_by_pk( +mutation UpdateCredentials($id: uuid!, $object: credentials_set_input, $members: [member_credentials_insert_input!]!) { + update_credentials_by_pk( pk_columns: { id: $id } - _set: { username: $username, password: $password } + _set: $object ) { id } -} -mutation DeleteMemberCredentials($id: uuid!) { - delete_members_credentials(where: { id: { _eq: $id }}) { + delete_member_credentials(where: {credential_id: {_eq: $id}}) { affected_rows } -} -mutation InsertMembersCredentials($objects: [members_credentials_insert_input!]!) { - insert_members_credentials(objects: $objects) { + insert_member_credentials(objects: $members) { affected_rows } } diff --git a/src/graphql/gql/currentUser.gql b/src/graphql/gql/currentUser.gql index 69f8b660..2360f85a 100644 --- a/src/graphql/gql/currentUser.gql +++ b/src/graphql/gql/currentUser.gql @@ -156,6 +156,9 @@ query TeamData($team_id: uuid!) { id display_name } + member_credentials { + member_id + } } } diff --git a/src/graphql/schemas/hasura.json b/src/graphql/schemas/hasura.json index 1d918a64..b51f7bb9 100644 --- a/src/graphql/schemas/hasura.json +++ b/src/graphql/schemas/hasura.json @@ -22016,7 +22016,7 @@ "deprecationReason": null }, { - "name": "members_credentials", + "name": "member_credentials", "description": "An array relationship", "args": [ { @@ -22030,7 +22030,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "members_credentials_select_column", + "name": "member_credentials_select_column", "ofType": null } } @@ -22068,7 +22068,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_credentials_order_by", + "name": "member_credentials_order_by", "ofType": null } } @@ -22080,7 +22080,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -22097,7 +22097,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "members_credentials", + "name": "member_credentials", "ofType": null } } @@ -22107,7 +22107,7 @@ "deprecationReason": null }, { - "name": "members_credentials_aggregate", + "name": "member_credentials_aggregate", "description": "An aggregate relationship", "args": [ { @@ -22121,7 +22121,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "members_credentials_select_column", + "name": "member_credentials_select_column", "ofType": null } } @@ -22159,7 +22159,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_credentials_order_by", + "name": "member_credentials_order_by", "ofType": null } } @@ -22171,7 +22171,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -22182,7 +22182,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "members_credentials_aggregate", + "name": "member_credentials_aggregate", "ofType": null } }, @@ -22679,21 +22679,21 @@ "defaultValue": null }, { - "name": "members_credentials", + "name": "member_credentials", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "members_credentials_aggregate", + "name": "member_credentials_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_aggregate_bool_exp", + "name": "member_credentials_aggregate_bool_exp", "ofType": null }, "defaultValue": null @@ -22761,12 +22761,6 @@ "inputFields": null, "interfaces": null, "enumValues": [ - { - "name": "credentials_datasource_id_user_id_key", - "description": "unique or primary key constraint on columns \"user_id\", \"datasource_id\"", - "isDeprecated": false, - "deprecationReason": null - }, { "name": "credentials_pkey", "description": "unique or primary key constraint on columns \"id\"", @@ -22843,11 +22837,11 @@ "defaultValue": null }, { - "name": "members_credentials", + "name": "member_credentials", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_arr_rel_insert_input", + "name": "member_credentials_arr_rel_insert_input", "ofType": null }, "defaultValue": null @@ -23469,11 +23463,11 @@ "defaultValue": null }, { - "name": "members_credentials_aggregate", + "name": "member_credentials_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_aggregate_order_by", + "name": "member_credentials_aggregate_order_by", "ofType": null }, "defaultValue": null @@ -35686,47 +35680,43 @@ }, { "kind": "OBJECT", - "name": "member_roles", - "description": "columns and relationships of \"member_roles\"", + "name": "member_credentials", + "description": "columns and relationships of \"member_credentials\"", "fields": [ { - "name": "access_list", - "description": "An object relationship", - "args": [], - "type": { - "kind": "OBJECT", - "name": "access_lists", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "access_list_id", + "name": "created_at", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_at", - "description": null, + "name": "credential", + "description": "An object relationship", "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "credentials", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "credential_id", "description": null, "args": [], "type": { @@ -35742,15 +35732,15 @@ "deprecationReason": null }, { - "name": "member", - "description": "An object relationship", + "name": "datasource_id", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "members", + "kind": "SCALAR", + "name": "uuid", "ofType": null } }, @@ -35758,7 +35748,7 @@ "deprecationReason": null }, { - "name": "member_id", + "name": "id", "description": null, "args": [], "type": { @@ -35774,7 +35764,7 @@ "deprecationReason": null }, { - "name": "teamRoleByTeamRole", + "name": "member", "description": "An object relationship", "args": [], "type": { @@ -35782,7 +35772,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "team_roles", + "name": "members", "ofType": null } }, @@ -35790,15 +35780,15 @@ "deprecationReason": null }, { - "name": "team_role", + "name": "member_id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "team_roles_enum", + "kind": "SCALAR", + "name": "uuid", "ofType": null } }, @@ -35810,9 +35800,13 @@ "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -35825,8 +35819,8 @@ }, { "kind": "OBJECT", - "name": "member_roles_aggregate", - "description": "aggregated selection of \"member_roles\"", + "name": "member_credentials_aggregate", + "description": "aggregated selection of \"member_credentials\"", "fields": [ { "name": "aggregate", @@ -35834,7 +35828,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "member_roles_aggregate_fields", + "name": "member_credentials_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -35855,7 +35849,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "member_roles", + "name": "member_credentials", "ofType": null } } @@ -35872,7 +35866,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_aggregate_bool_exp", + "name": "member_credentials_aggregate_bool_exp", "description": null, "fields": null, "inputFields": [ @@ -35881,7 +35875,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_aggregate_bool_exp_count", + "name": "member_credentials_aggregate_bool_exp_count", "ofType": null }, "defaultValue": null @@ -35893,7 +35887,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_aggregate_bool_exp_count", + "name": "member_credentials_aggregate_bool_exp_count", "description": null, "fields": null, "inputFields": [ @@ -35908,7 +35902,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "member_roles_select_column", + "name": "member_credentials_select_column", "ofType": null } } @@ -35930,7 +35924,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -35956,8 +35950,8 @@ }, { "kind": "OBJECT", - "name": "member_roles_aggregate_fields", - "description": "aggregate fields of \"member_roles\"", + "name": "member_credentials_aggregate_fields", + "description": "aggregate fields of \"member_credentials\"", "fields": [ { "name": "count", @@ -35974,7 +35968,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "member_roles_select_column", + "name": "member_credentials_select_column", "ofType": null } } @@ -36010,7 +36004,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "member_roles_max_fields", + "name": "member_credentials_max_fields", "ofType": null }, "isDeprecated": false, @@ -36022,7 +36016,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "member_roles_min_fields", + "name": "member_credentials_min_fields", "ofType": null }, "isDeprecated": false, @@ -36036,8 +36030,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_aggregate_order_by", - "description": "order by aggregate values of table \"member_roles\"", + "name": "member_credentials_aggregate_order_by", + "description": "order by aggregate values of table \"member_credentials\"", "fields": null, "inputFields": [ { @@ -36055,7 +36049,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_max_order_by", + "name": "member_credentials_max_order_by", "ofType": null }, "defaultValue": null @@ -36065,7 +36059,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_min_order_by", + "name": "member_credentials_min_order_by", "ofType": null }, "defaultValue": null @@ -36077,8 +36071,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"member_roles\"", + "name": "member_credentials_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"member_credentials\"", "fields": null, "inputFields": [ { @@ -36095,7 +36089,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_insert_input", + "name": "member_credentials_insert_input", "ofType": null } } @@ -36108,7 +36102,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_on_conflict", + "name": "member_credentials_on_conflict", "ofType": null }, "defaultValue": null @@ -36120,8 +36114,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", - "description": "Boolean expression to filter rows from the table \"member_roles\". All fields are combined with a logical 'AND'.", + "name": "member_credentials_bool_exp", + "description": "Boolean expression to filter rows from the table \"member_credentials\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -36135,7 +36129,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null } } @@ -36147,7 +36141,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -36163,7 +36157,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null } } @@ -36171,37 +36165,27 @@ "defaultValue": null }, { - "name": "access_list", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "access_lists_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "access_list_id", + "name": "created_at", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "credential", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "name": "credentials_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "credential_id", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -36211,17 +36195,17 @@ "defaultValue": null }, { - "name": "member", + "name": "datasource_id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "member_id", + "name": "id", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -36231,21 +36215,21 @@ "defaultValue": null }, { - "name": "teamRoleByTeamRole", + "name": "member", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "team_roles_bool_exp", + "name": "members_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "team_role", + "name": "member_id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "team_roles_enum_comparison_exp", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null @@ -36267,20 +36251,26 @@ }, { "kind": "ENUM", - "name": "member_roles_constraint", - "description": "unique or primary key constraints on table \"member_roles\"", + "name": "member_credentials_constraint", + "description": "unique or primary key constraints on table \"member_credentials\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "member_roles_member_id_team_role_key", - "description": "unique or primary key constraint on columns \"team_role\", \"member_id\"", + "name": "member_credentials_credential_id_member_id_key", + "description": "unique or primary key constraint on columns \"credential_id\", \"member_id\"", "isDeprecated": false, "deprecationReason": null }, { - "name": "member_roles_pkey", + "name": "member_credentials_datasource_id_member_id_key", + "description": "unique or primary key constraint on columns \"member_id\", \"datasource_id\"", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "member_credentials_pkey", "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null @@ -36290,42 +36280,32 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_insert_input", - "description": "input type for inserting data into table \"member_roles\"", + "name": "member_credentials_insert_input", + "description": "input type for inserting data into table \"member_credentials\"", "fields": null, "inputFields": [ { - "name": "access_list", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "access_lists_obj_rel_insert_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "access_list_id", + "name": "created_at", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "credential", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "credentials_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "credential_id", "description": null, "type": { "kind": "SCALAR", @@ -36335,17 +36315,17 @@ "defaultValue": null }, { - "name": "member", + "name": "datasource_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "members_obj_rel_insert_input", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "member_id", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -36355,21 +36335,21 @@ "defaultValue": null }, { - "name": "teamRoleByTeamRole", + "name": "member", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "team_roles_obj_rel_insert_input", + "name": "members_obj_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "team_role", + "name": "member_id", "description": null, "type": { - "kind": "ENUM", - "name": "team_roles_enum", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -36391,11 +36371,23 @@ }, { "kind": "OBJECT", - "name": "member_roles_max_fields", + "name": "member_credentials_max_fields", "description": "aggregate max on columns", "fields": [ { - "name": "access_list_id", + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "credential_id", "description": null, "args": [], "type": { @@ -36407,12 +36399,12 @@ "deprecationReason": null }, { - "name": "created_at", + "name": "datasource_id", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "isDeprecated": false, @@ -36462,12 +36454,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_max_order_by", - "description": "order by max() on columns of table \"member_roles\"", + "name": "member_credentials_max_order_by", + "description": "order by max() on columns of table \"member_credentials\"", "fields": null, "inputFields": [ { - "name": "access_list_id", + "name": "created_at", "description": null, "type": { "kind": "ENUM", @@ -36477,7 +36469,17 @@ "defaultValue": null }, { - "name": "created_at", + "name": "credential_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", "description": null, "type": { "kind": "ENUM", @@ -36523,11 +36525,23 @@ }, { "kind": "OBJECT", - "name": "member_roles_min_fields", + "name": "member_credentials_min_fields", "description": "aggregate min on columns", "fields": [ { - "name": "access_list_id", + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "credential_id", "description": null, "args": [], "type": { @@ -36539,12 +36553,12 @@ "deprecationReason": null }, { - "name": "created_at", + "name": "datasource_id", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "isDeprecated": false, @@ -36594,12 +36608,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_min_order_by", - "description": "order by min() on columns of table \"member_roles\"", + "name": "member_credentials_min_order_by", + "description": "order by min() on columns of table \"member_credentials\"", "fields": null, "inputFields": [ { - "name": "access_list_id", + "name": "created_at", "description": null, "type": { "kind": "ENUM", @@ -36609,7 +36623,17 @@ "defaultValue": null }, { - "name": "created_at", + "name": "credential_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "datasource_id", "description": null, "type": { "kind": "ENUM", @@ -36655,8 +36679,8 @@ }, { "kind": "OBJECT", - "name": "member_roles_mutation_response", - "description": "response of any mutation on the table \"member_roles\"", + "name": "member_credentials_mutation_response", + "description": "response of any mutation on the table \"member_credentials\"", "fields": [ { "name": "affected_rows", @@ -36689,7 +36713,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "member_roles", + "name": "member_credentials", "ofType": null } } @@ -36706,8 +36730,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_on_conflict", - "description": "on_conflict condition type for table \"member_roles\"", + "name": "member_credentials_on_conflict", + "description": "on_conflict condition type for table \"member_credentials\"", "fields": null, "inputFields": [ { @@ -36718,7 +36742,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "member_roles_constraint", + "name": "member_credentials_constraint", "ofType": null } }, @@ -36738,7 +36762,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "member_roles_update_column", + "name": "member_credentials_update_column", "ofType": null } } @@ -36751,7 +36775,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -36763,22 +36787,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_order_by", - "description": "Ordering options when selecting data from \"member_roles\".", + "name": "member_credentials_order_by", + "description": "Ordering options when selecting data from \"member_credentials\".", "fields": null, "inputFields": [ { - "name": "access_list", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "access_lists_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "access_list_id", + "name": "created_at", "description": null, "type": { "kind": "ENUM", @@ -36788,17 +36802,17 @@ "defaultValue": null }, { - "name": "created_at", + "name": "credential", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "credentials_order_by", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "credential_id", "description": null, "type": { "kind": "ENUM", @@ -36808,17 +36822,17 @@ "defaultValue": null }, { - "name": "member", + "name": "datasource_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "members_order_by", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "member_id", + "name": "id", "description": null, "type": { "kind": "ENUM", @@ -36828,17 +36842,17 @@ "defaultValue": null }, { - "name": "teamRoleByTeamRole", + "name": "member", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "team_roles_order_by", + "name": "members_order_by", "ofType": null }, "defaultValue": null }, { - "name": "team_role", + "name": "member_id", "description": null, "type": { "kind": "ENUM", @@ -36864,8 +36878,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_pk_columns_input", - "description": "primary key columns input for table: member_roles", + "name": "member_credentials_pk_columns_input", + "description": "primary key columns input for table: member_credentials", "fields": null, "inputFields": [ { @@ -36889,38 +36903,38 @@ }, { "kind": "ENUM", - "name": "member_roles_select_column", - "description": "select columns of table \"member_roles\"", + "name": "member_credentials_select_column", + "description": "select columns of table \"member_credentials\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "access_list_id", + "name": "created_at", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "created_at", + "name": "credential_id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "datasource_id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "member_id", + "name": "id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "team_role", + "name": "member_id", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -36936,32 +36950,32 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_set_input", - "description": "input type for updating data in table \"member_roles\"", + "name": "member_credentials_set_input", + "description": "input type for updating data in table \"member_credentials\"", "fields": null, "inputFields": [ { - "name": "access_list_id", + "name": "created_at", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "credential_id", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "datasource_id", "description": null, "type": { "kind": "SCALAR", @@ -36971,7 +36985,7 @@ "defaultValue": null }, { - "name": "member_id", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -36981,11 +36995,11 @@ "defaultValue": null }, { - "name": "team_role", + "name": "member_id", "description": null, "type": { - "kind": "ENUM", - "name": "team_roles_enum", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -37007,8 +37021,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_stream_cursor_input", - "description": "Streaming cursor of the table \"member_roles\"", + "name": "member_credentials_stream_cursor_input", + "description": "Streaming cursor of the table \"member_credentials\"", "fields": null, "inputFields": [ { @@ -37019,7 +37033,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_stream_cursor_value_input", + "name": "member_credentials_stream_cursor_value_input", "ofType": null } }, @@ -37042,32 +37056,32 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_stream_cursor_value_input", + "name": "member_credentials_stream_cursor_value_input", "description": "Initial value of the column from where the streaming should start", "fields": null, "inputFields": [ { - "name": "access_list_id", + "name": "created_at", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "created_at", + "name": "credential_id", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "datasource_id", "description": null, "type": { "kind": "SCALAR", @@ -37077,7 +37091,7 @@ "defaultValue": null }, { - "name": "member_id", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -37087,11 +37101,11 @@ "defaultValue": null }, { - "name": "team_role", + "name": "member_id", "description": null, "type": { - "kind": "ENUM", - "name": "team_roles_enum", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "defaultValue": null @@ -37113,38 +37127,38 @@ }, { "kind": "ENUM", - "name": "member_roles_update_column", - "description": "update columns of table \"member_roles\"", + "name": "member_credentials_update_column", + "description": "update columns of table \"member_credentials\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "access_list_id", + "name": "created_at", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "created_at", + "name": "credential_id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "datasource_id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "member_id", + "name": "id", "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "team_role", + "name": "member_id", "description": "column name", "isDeprecated": false, "deprecationReason": null @@ -37160,7 +37174,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "member_roles_updates", + "name": "member_credentials_updates", "description": null, "fields": null, "inputFields": [ @@ -37169,7 +37183,7 @@ "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_set_input", + "name": "member_credentials_set_input", "ofType": null }, "defaultValue": null @@ -37182,7 +37196,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null } }, @@ -37195,383 +37209,55 @@ }, { "kind": "OBJECT", - "name": "members", - "description": "columns and relationships of \"members\"", + "name": "member_roles", + "description": "columns and relationships of \"member_roles\"", "fields": [ { - "name": "created_at", - "description": null, + "name": "access_list", + "description": "An object relationship", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } + "kind": "OBJECT", + "name": "access_lists", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "access_list_id", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "member_roles", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "member_roles_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "member_roles_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "member_roles", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "member_roles_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "member_roles_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "member_roles_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "member_roles_aggregate", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "members_credentials", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "members_credentials_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "created_at", + "description": null, + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "members_credentials", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "members_credentials_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "members_credentials_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], + "name": "id", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "members_credentials_aggregate", + "kind": "SCALAR", + "name": "uuid", "ofType": null } }, @@ -37579,7 +37265,7 @@ "deprecationReason": null }, { - "name": "team", + "name": "member", "description": "An object relationship", "args": [], "type": { @@ -37587,7 +37273,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "teams", + "name": "members", "ofType": null } }, @@ -37595,7 +37281,7 @@ "deprecationReason": null }, { - "name": "team_id", + "name": "member_id", "description": null, "args": [], "type": { @@ -37611,15 +37297,15 @@ "deprecationReason": null }, { - "name": "updated_at", - "description": null, + "name": "teamRoleByTeamRole", + "description": "An object relationship", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "OBJECT", + "name": "team_roles", "ofType": null } }, @@ -37627,15 +37313,15 @@ "deprecationReason": null }, { - "name": "user", - "description": "An object relationship", + "name": "team_role", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "users", + "kind": "ENUM", + "name": "team_roles_enum", "ofType": null } }, @@ -37643,17 +37329,13 @@ "deprecationReason": null }, { - "name": "user_id", + "name": "updated_at", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -37666,8 +37348,8 @@ }, { "kind": "OBJECT", - "name": "members_aggregate", - "description": "aggregated selection of \"members\"", + "name": "member_roles_aggregate", + "description": "aggregated selection of \"member_roles\"", "fields": [ { "name": "aggregate", @@ -37675,7 +37357,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "members_aggregate_fields", + "name": "member_roles_aggregate_fields", "ofType": null }, "isDeprecated": false, @@ -37696,7 +37378,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "members", + "name": "member_roles", "ofType": null } } @@ -37713,7 +37395,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "members_aggregate_bool_exp", + "name": "member_roles_aggregate_bool_exp", "description": null, "fields": null, "inputFields": [ @@ -37722,7 +37404,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_aggregate_bool_exp_count", + "name": "member_roles_aggregate_bool_exp_count", "ofType": null }, "defaultValue": null @@ -37734,7 +37416,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "members_aggregate_bool_exp_count", + "name": "member_roles_aggregate_bool_exp_count", "description": null, "fields": null, "inputFields": [ @@ -37749,7 +37431,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "members_select_column", + "name": "member_roles_select_column", "ofType": null } } @@ -37771,7 +37453,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "member_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -37797,8 +37479,8 @@ }, { "kind": "OBJECT", - "name": "members_aggregate_fields", - "description": "aggregate fields of \"members\"", + "name": "member_roles_aggregate_fields", + "description": "aggregate fields of \"member_roles\"", "fields": [ { "name": "count", @@ -37815,7 +37497,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "members_select_column", + "name": "member_roles_select_column", "ofType": null } } @@ -37851,7 +37533,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "members_max_fields", + "name": "member_roles_max_fields", "ofType": null }, "isDeprecated": false, @@ -37863,7 +37545,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "members_min_fields", + "name": "member_roles_min_fields", "ofType": null }, "isDeprecated": false, @@ -37877,8 +37559,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "members_aggregate_order_by", - "description": "order by aggregate values of table \"members\"", + "name": "member_roles_aggregate_order_by", + "description": "order by aggregate values of table \"member_roles\"", "fields": null, "inputFields": [ { @@ -37896,7 +37578,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_max_order_by", + "name": "member_roles_max_order_by", "ofType": null }, "defaultValue": null @@ -37906,7 +37588,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_min_order_by", + "name": "member_roles_min_order_by", "ofType": null }, "defaultValue": null @@ -37918,8 +37600,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "members_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"members\"", + "name": "member_roles_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"member_roles\"", "fields": null, "inputFields": [ { @@ -37936,7 +37618,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_insert_input", + "name": "member_roles_insert_input", "ofType": null } } @@ -37949,7 +37631,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "members_on_conflict", + "name": "member_roles_on_conflict", "ofType": null }, "defaultValue": null @@ -37961,8 +37643,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", - "description": "Boolean expression to filter rows from the table \"members\". All fields are combined with a logical 'AND'.", + "name": "member_roles_bool_exp", + "description": "Boolean expression to filter rows from the table \"member_roles\". All fields are combined with a logical 'AND'.", "fields": null, "inputFields": [ { @@ -37976,7 +37658,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "member_roles_bool_exp", "ofType": null } } @@ -37988,7 +37670,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "member_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -38004,7 +37686,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "member_roles_bool_exp", "ofType": null } } @@ -38012,17 +37694,17 @@ "defaultValue": null }, { - "name": "created_at", + "name": "access_list", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "name": "access_lists_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "access_list_id", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -38032,61 +37714,61 @@ "defaultValue": null }, { - "name": "member_roles", + "name": "created_at", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "member_roles_aggregate", + "name": "id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_aggregate_bool_exp", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "members_credentials", + "name": "member", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", + "name": "members_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "members_credentials_aggregate", + "name": "member_id", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_aggregate_bool_exp", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "team", + "name": "teamRoleByTeamRole", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "teams_bool_exp", + "name": "team_roles_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "team_id", + "name": "team_role", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "team_roles_enum_comparison_exp", "ofType": null }, "defaultValue": null @@ -38100,26 +37782,6 @@ "ofType": null }, "defaultValue": null - }, - { - "name": "user", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "users_bool_exp", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "user_id", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", - "ofType": null - }, - "defaultValue": null } ], "interfaces": null, @@ -38128,21 +37790,21 @@ }, { "kind": "ENUM", - "name": "members_constraint", - "description": "unique or primary key constraints on table \"members\"", + "name": "member_roles_constraint", + "description": "unique or primary key constraints on table \"member_roles\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "members_pkey", - "description": "unique or primary key constraint on columns \"id\"", + "name": "member_roles_member_id_team_role_key", + "description": "unique or primary key constraint on columns \"team_role\", \"member_id\"", "isDeprecated": false, "deprecationReason": null }, { - "name": "members_user_id_team_id_key", - "description": "unique or primary key constraint on columns \"user_id\", \"team_id\"", + "name": "member_roles_pkey", + "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null } @@ -38150,165 +37812,167 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "members_credentials", - "description": "columns and relationships of \"members_credentials\"", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "member_roles_insert_input", + "description": "input type for inserting data into table \"member_roles\"", + "fields": null, + "inputFields": [ { - "name": "created_at", + "name": "access_list", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "access_lists_obj_rel_insert_input", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "credential", - "description": "An object relationship", - "args": [], + "name": "access_list_id", + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "credentials", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "credential_id", + "name": "created_at", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "id", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "member", - "description": "An object relationship", - "args": [], + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "members", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "members_obj_rel_insert_input", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "member_id", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null + }, + { + "name": "teamRoleByTeamRole", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "team_roles_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "team_role", + "description": null, + "type": { + "kind": "ENUM", + "name": "team_roles_enum", + "ofType": null + }, + "defaultValue": null }, { "name": "updated_at", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "members_credentials_aggregate", - "description": "aggregated selection of \"members_credentials\"", + "name": "member_roles_max_fields", + "description": "aggregate max on columns", "fields": [ { - "name": "aggregate", + "name": "access_list_id", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "members_credentials_aggregate_fields", + "kind": "SCALAR", + "name": "uuid", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "nodes", + "name": "created_at", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "members_credentials", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "member_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -38321,80 +37985,57 @@ }, { "kind": "INPUT_OBJECT", - "name": "members_credentials_aggregate_bool_exp", - "description": null, + "name": "member_roles_max_order_by", + "description": "order by max() on columns of table \"member_roles\"", "fields": null, "inputFields": [ { - "name": "count", + "name": "access_list_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_aggregate_bool_exp_count", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "members_credentials_aggregate_bool_exp_count", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "arguments", + "name": "created_at", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "members_credentials_select_column", - "ofType": null - } - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, "defaultValue": null }, { - "name": "distinct", + "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "filter", + "name": "member_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "predicate", + "name": "updated_at", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp", - "ofType": null - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, "defaultValue": null } @@ -38405,73 +38046,64 @@ }, { "kind": "OBJECT", - "name": "members_credentials_aggregate_fields", - "description": "aggregate fields of \"members_credentials\"", + "name": "member_roles_min_fields", + "description": "aggregate min on columns", "fields": [ { - "name": "count", + "name": "access_list_id", "description": null, - "args": [ - { - "name": "columns", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "members_credentials_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "distinct", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "uuid", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "max", + "name": "created_at", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "members_credentials_max_fields", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "min", + "name": "id", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "members_credentials_min_fields", + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "member_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "isDeprecated": false, @@ -38485,12 +38117,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "members_credentials_aggregate_order_by", - "description": "order by aggregate values of table \"members_credentials\"", + "name": "member_roles_min_order_by", + "description": "order by min() on columns of table \"member_roles\"", "fields": null, "inputFields": [ { - "name": "count", + "name": "access_list_id", "description": null, "type": { "kind": "ENUM", @@ -38500,21 +38132,41 @@ "defaultValue": null }, { - "name": "max", + "name": "created_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_max_order_by", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "min", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_min_order_by", + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "member_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "updated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -38525,14 +38177,30 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "members_credentials_arr_rel_insert_input", - "description": "input type for inserting array relation for remote table \"members_credentials\"", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "member_roles_mutation_response", + "description": "response of any mutation on the table \"member_roles\"", + "fields": [ { - "name": "data", - "description": null, + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], "type": { "kind": "NON_NULL", "name": null, @@ -38543,79 +38211,102 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_insert_input", + "kind": "OBJECT", + "name": "member_roles", "ofType": null } } } }, - "defaultValue": null - }, - { - "name": "on_conflict", - "description": "upsert condition", - "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_on_conflict", - "ofType": null - }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", - "description": "Boolean expression to filter rows from the table \"members_credentials\". All fields are combined with a logical 'AND'.", + "name": "member_roles_on_conflict", + "description": "on_conflict condition type for table \"member_roles\"", "fields": null, "inputFields": [ { - "name": "_and", + "name": "constraint", "description": null, "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "ENUM", + "name": "member_roles_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_roles_update_column", + "ofType": null + } } } }, - "defaultValue": null + "defaultValue": "[]" }, { - "name": "_not", + "name": "where", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", + "name": "member_roles_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "member_roles_order_by", + "description": "Ordering options when selecting data from \"member_roles\".", + "fields": null, + "inputFields": [ + { + "name": "access_list", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "access_lists_order_by", "ofType": null }, "defaultValue": null }, { - "name": "_or", + "name": "access_list_id", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", - "ofType": null - } - } + "kind": "ENUM", + "name": "order_by", + "ofType": null }, "defaultValue": null }, @@ -38623,58 +38314,58 @@ "name": "created_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "credential", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_bool_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "credential_id", + "name": "member", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "name": "members_order_by", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "member_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null }, { - "name": "member", + "name": "teamRoleByTeamRole", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "team_roles_order_by", "ofType": null }, "defaultValue": null }, { - "name": "member_id", + "name": "team_role", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "uuid_comparison_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -38683,8 +38374,8 @@ "name": "updated_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", + "kind": "ENUM", + "name": "order_by", "ofType": null }, "defaultValue": null @@ -38694,23 +38385,72 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "member_roles_pk_columns_input", + "description": "primary key columns input for table: member_roles", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "ENUM", - "name": "members_credentials_constraint", - "description": "unique or primary key constraints on table \"members_credentials\"", + "name": "member_roles_select_column", + "description": "select columns of table \"member_roles\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "members_credentials_member_id_credential_id_key", - "description": "unique or primary key constraint on columns \"credential_id\", \"member_id\"", + "name": "access_list_id", + "description": "column name", "isDeprecated": false, "deprecationReason": null }, { - "name": "members_credentials_pkey", - "description": "unique or primary key constraint on columns \"id\"", + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "member_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_role", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", "isDeprecated": false, "deprecationReason": null } @@ -38719,32 +38459,32 @@ }, { "kind": "INPUT_OBJECT", - "name": "members_credentials_insert_input", - "description": "input type for inserting data into table \"members_credentials\"", + "name": "member_roles_set_input", + "description": "input type for updating data in table \"member_roles\"", "fields": null, "inputFields": [ { - "name": "created_at", + "name": "access_list_id", "description": null, "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, "defaultValue": null }, { - "name": "credential", + "name": "created_at", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_obj_rel_insert_input", + "kind": "SCALAR", + "name": "timestamptz", "ofType": null }, "defaultValue": null }, { - "name": "credential_id", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -38754,7 +38494,7 @@ "defaultValue": null }, { - "name": "id", + "name": "member_id", "description": null, "type": { "kind": "SCALAR", @@ -38764,31 +38504,56 @@ "defaultValue": null }, { - "name": "member", + "name": "team_role", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "members_obj_rel_insert_input", + "kind": "ENUM", + "name": "team_roles_enum", "ofType": null }, "defaultValue": null }, { - "name": "member_id", + "name": "updated_at", "description": null, "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "member_roles_stream_cursor_input", + "description": "Streaming cursor of the table \"member_roles\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null }, { - "name": "updated_at", - "description": null, + "name": "ordering", + "description": "cursor ordering", "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "ENUM", + "name": "cursor_ordering", "ofType": null }, "defaultValue": null @@ -38799,129 +38564,150 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "members_credentials_max_fields", - "description": "aggregate max on columns", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "member_roles_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ { - "name": "created_at", + "name": "access_list_id", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "timestamptz", + "name": "uuid", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "credential_id", + "name": "created_at", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "uuid", + "name": "timestamptz", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "id", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "uuid", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { "name": "member_id", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "uuid", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null + }, + { + "name": "team_role", + "description": null, + "type": { + "kind": "ENUM", + "name": "team_roles_enum", + "ofType": null + }, + "defaultValue": null }, { "name": "updated_at", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "timestamptz", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "members_credentials_max_order_by", - "description": "order by max() on columns of table \"members_credentials\"", + "kind": "ENUM", + "name": "member_roles_update_column", + "description": "update columns of table \"member_roles\"", "fields": null, - "inputFields": [ + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "created_at", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null + "name": "access_list_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null }, { - "name": "credential_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null }, { "name": "id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null - }, - "defaultValue": null + "description": "column name", + "isDeprecated": false, + "deprecationReason": null }, { "name": "member_id", - "description": null, + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_role", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "member_roles_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "member_roles_set_input", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", - "description": null, + "name": "where", + "description": "filter the rows which have to be updated", "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "ofType": null + } }, "defaultValue": null } @@ -38932,160 +38718,495 @@ }, { "kind": "OBJECT", - "name": "members_credentials_min_fields", - "description": "aggregate min on columns", + "name": "members", + "description": "columns and relationships of \"members\"", "fields": [ { "name": "created_at", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "credential_id", + "name": "id", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", - "description": null, - "args": [], + "name": "member_credentials", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "member_credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "member_credentials", + "ofType": null + } + } + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "member_id", - "description": null, - "args": [], + "name": "member_credentials_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "member_credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "member_credentials_aggregate", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", - "description": null, - "args": [], + "name": "member_roles", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_roles_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "member_roles", + "ofType": null + } + } + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "members_credentials_min_order_by", - "description": "order by min() on columns of table \"members_credentials\"", - "fields": null, - "inputFields": [ + }, { - "name": "created_at", - "description": null, + "name": "member_roles_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_roles_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "member_roles_aggregate", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "credential_id", + "name": "team", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "teams", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "team_id", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "id", + "name": "updated_at", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "member_id", - "description": null, + "name": "user", + "description": "An object relationship", + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "updated_at", + "name": "user_id", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "members_credentials_mutation_response", - "description": "response of any mutation on the table \"members_credentials\"", + "name": "members_aggregate", + "description": "aggregated selection of \"members\"", "fields": [ { - "name": "affected_rows", - "description": "number of rows affected by the mutation", + "name": "aggregate", + "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "OBJECT", + "name": "members_aggregate_fields", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "returning", - "description": "data from the rows affected by the mutation", + "name": "nodes", + "description": null, "args": [], "type": { "kind": "NON_NULL", @@ -39098,7 +39219,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "members_credentials", + "name": "members", "ofType": null } } @@ -39115,55 +39236,82 @@ }, { "kind": "INPUT_OBJECT", - "name": "members_credentials_on_conflict", - "description": "on_conflict condition type for table \"members_credentials\"", + "name": "members_aggregate_bool_exp", + "description": null, "fields": null, "inputFields": [ { - "name": "constraint", + "name": "count", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "members_credentials_constraint", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "members_aggregate_bool_exp_count", + "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "members_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ { - "name": "update_columns", + "name": "arguments", "description": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "members_credentials_update_column", - "ofType": null - } + "kind": "ENUM", + "name": "members_select_column", + "ofType": null } } }, - "defaultValue": "[]" + "defaultValue": null }, { - "name": "where", + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", + "name": "members_bool_exp", "ofType": null }, "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null } ], "interfaces": null, @@ -39171,43 +39319,93 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "members_credentials_order_by", - "description": "Ordering options when selecting data from \"members_credentials\".", - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "members_aggregate_fields", + "description": "aggregate fields of \"members\"", + "fields": [ { - "name": "created_at", + "name": "count", "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "members_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], "type": { - "kind": "ENUM", - "name": "order_by", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "credential", + "name": "max", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "credentials_order_by", + "kind": "OBJECT", + "name": "members_max_fields", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "credential_id", + "name": "min", "description": null, + "args": [], "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "OBJECT", + "name": "members_min_fields", "ofType": null }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "members_aggregate_order_by", + "description": "order by aggregate values of table \"members\"", + "fields": null, + "inputFields": [ { - "name": "id", + "name": "count", "description": null, "type": { "kind": "ENUM", @@ -39217,31 +39415,21 @@ "defaultValue": null }, { - "name": "member", + "name": "max", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_order_by", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "member_id", - "description": null, - "type": { - "kind": "ENUM", - "name": "order_by", + "name": "members_max_order_by", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "min", "description": null, "type": { - "kind": "ENUM", - "name": "order_by", + "kind": "INPUT_OBJECT", + "name": "members_min_order_by", "ofType": null }, "defaultValue": null @@ -39253,23 +39441,41 @@ }, { "kind": "INPUT_OBJECT", - "name": "members_credentials_pk_columns_input", - "description": "primary key columns input for table: members_credentials", + "name": "members_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"members\"", "fields": null, "inputFields": [ { - "name": "id", + "name": "data", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_insert_input", + "ofType": null + } + } } }, "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_on_conflict", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -39277,68 +39483,63 @@ "possibleTypes": null }, { - "kind": "ENUM", - "name": "members_credentials_select_column", - "description": "select columns of table \"members_credentials\"", + "kind": "INPUT_OBJECT", + "name": "members_bool_exp", + "description": "Boolean expression to filter rows from the table \"members\". All fields are combined with a logical 'AND'.", "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "created_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credential_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, + "inputFields": [ { - "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null }, { - "name": "member_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "members_bool_exp", + "ofType": null + }, + "defaultValue": null }, { - "name": "updated_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "members_credentials_set_input", - "description": "input type for updating data in table \"members_credentials\"", - "fields": null, - "inputFields": [ - { - "name": "created_at", + "name": "_or", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_bool_exp", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "credential_id", + "name": "created_at", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null @@ -39347,124 +39548,98 @@ "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "member_id", + "name": "member_credentials", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "member_credentials_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "member_credentials_aggregate", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "member_credentials_aggregate_bool_exp", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "members_credentials_stream_cursor_input", - "description": "Streaming cursor of the table \"members_credentials\"", - "fields": null, - "inputFields": [ + }, { - "name": "initial_value", - "description": "Stream column input with initial value", + "name": "member_roles", + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_stream_cursor_value_input", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "member_roles_bool_exp", + "ofType": null }, "defaultValue": null }, { - "name": "ordering", - "description": "cursor ordering", + "name": "member_roles_aggregate", + "description": null, "type": { - "kind": "ENUM", - "name": "cursor_ordering", + "kind": "INPUT_OBJECT", + "name": "member_roles_aggregate_bool_exp", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "members_credentials_stream_cursor_value_input", - "description": "Initial value of the column from where the streaming should start", - "fields": null, - "inputFields": [ + }, { - "name": "created_at", + "name": "team", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "teams_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "credential_id", + "name": "team_id", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "updated_at", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", "ofType": null }, "defaultValue": null }, { - "name": "member_id", + "name": "user", "description": null, "type": { - "kind": "SCALAR", - "name": "uuid", + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", "ofType": null }, "defaultValue": null }, { - "name": "updated_at", + "name": "user_id", "description": null, "type": { - "kind": "SCALAR", - "name": "timestamptz", + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", "ofType": null }, "defaultValue": null @@ -39476,80 +39651,27 @@ }, { "kind": "ENUM", - "name": "members_credentials_update_column", - "description": "update columns of table \"members_credentials\"", + "name": "members_constraint", + "description": "unique or primary key constraints on table \"members\"", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { - "name": "created_at", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credential_id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "column name", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "member_id", - "description": "column name", + "name": "members_pkey", + "description": "unique or primary key constraint on columns \"id\"", "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", - "description": "column name", + "name": "members_user_id_team_id_key", + "description": "unique or primary key constraint on columns \"user_id\", \"team_id\"", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "members_credentials_updates", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "_set", - "description": "sets the columns of the filtered rows to the given values", - "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_set_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows which have to be updated", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", "name": "members_insert_input", @@ -39577,21 +39699,21 @@ "defaultValue": null }, { - "name": "member_roles", + "name": "member_credentials", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_arr_rel_insert_input", + "name": "member_credentials_arr_rel_insert_input", "ofType": null }, "defaultValue": null }, { - "name": "members_credentials", + "name": "member_roles", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_arr_rel_insert_input", + "name": "member_roles_arr_rel_insert_input", "ofType": null }, "defaultValue": null @@ -40085,21 +40207,21 @@ "defaultValue": null }, { - "name": "member_roles_aggregate", + "name": "member_credentials_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_aggregate_order_by", + "name": "member_credentials_aggregate_order_by", "ofType": null }, "defaultValue": null }, { - "name": "members_credentials_aggregate", + "name": "member_roles_aggregate", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_aggregate_order_by", + "name": "member_roles_aggregate_order_by", "ofType": null }, "defaultValue": null @@ -41583,8 +41705,8 @@ "deprecationReason": null }, { - "name": "delete_member_roles", - "description": "delete data from the table: \"member_roles\"", + "name": "delete_member_credentials", + "description": "delete data from the table: \"member_credentials\"", "args": [ { "name": "where", @@ -41594,7 +41716,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null } }, @@ -41603,15 +41725,15 @@ ], "type": { "kind": "OBJECT", - "name": "member_roles_mutation_response", + "name": "member_credentials_mutation_response", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "delete_member_roles_by_pk", - "description": "delete single row from the table: \"member_roles\"", + "name": "delete_member_credentials_by_pk", + "description": "delete single row from the table: \"member_credentials\"", "args": [ { "name": "id", @@ -41630,15 +41752,15 @@ ], "type": { "kind": "OBJECT", - "name": "member_roles", + "name": "member_credentials", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "delete_members", - "description": "delete data from the table: \"members\"", + "name": "delete_member_roles", + "description": "delete data from the table: \"member_roles\"", "args": [ { "name": "where", @@ -41648,7 +41770,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "member_roles_bool_exp", "ofType": null } }, @@ -41657,15 +41779,15 @@ ], "type": { "kind": "OBJECT", - "name": "members_mutation_response", + "name": "member_roles_mutation_response", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "delete_members_by_pk", - "description": "delete single row from the table: \"members\"", + "name": "delete_member_roles_by_pk", + "description": "delete single row from the table: \"member_roles\"", "args": [ { "name": "id", @@ -41684,15 +41806,15 @@ ], "type": { "kind": "OBJECT", - "name": "members", + "name": "member_roles", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "delete_members_credentials", - "description": "delete data from the table: \"members_credentials\"", + "name": "delete_members", + "description": "delete data from the table: \"members\"", "args": [ { "name": "where", @@ -41702,7 +41824,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", + "name": "members_bool_exp", "ofType": null } }, @@ -41711,15 +41833,15 @@ ], "type": { "kind": "OBJECT", - "name": "members_credentials_mutation_response", + "name": "members_mutation_response", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "delete_members_credentials_by_pk", - "description": "delete single row from the table: \"members_credentials\"", + "name": "delete_members_by_pk", + "description": "delete single row from the table: \"members\"", "args": [ { "name": "id", @@ -41738,7 +41860,7 @@ ], "type": { "kind": "OBJECT", - "name": "members_credentials", + "name": "members", "ofType": null }, "isDeprecated": false, @@ -43922,8 +44044,8 @@ "deprecationReason": null }, { - "name": "insert_member_roles", - "description": "insert data into the table: \"member_roles\"", + "name": "insert_member_credentials", + "description": "insert data into the table: \"member_credentials\"", "args": [ { "name": "objects", @@ -43939,7 +44061,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_insert_input", + "name": "member_credentials_insert_input", "ofType": null } } @@ -43952,7 +44074,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_on_conflict", + "name": "member_credentials_on_conflict", "ofType": null }, "defaultValue": null @@ -43960,15 +44082,15 @@ ], "type": { "kind": "OBJECT", - "name": "member_roles_mutation_response", + "name": "member_credentials_mutation_response", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "insert_member_roles_one", - "description": "insert a single row into the table: \"member_roles\"", + "name": "insert_member_credentials_one", + "description": "insert a single row into the table: \"member_credentials\"", "args": [ { "name": "object", @@ -43978,7 +44100,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_insert_input", + "name": "member_credentials_insert_input", "ofType": null } }, @@ -43989,7 +44111,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_on_conflict", + "name": "member_credentials_on_conflict", "ofType": null }, "defaultValue": null @@ -43997,15 +44119,15 @@ ], "type": { "kind": "OBJECT", - "name": "member_roles", + "name": "member_credentials", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "insert_members", - "description": "insert data into the table: \"members\"", + "name": "insert_member_roles", + "description": "insert data into the table: \"member_roles\"", "args": [ { "name": "objects", @@ -44021,7 +44143,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_insert_input", + "name": "member_roles_insert_input", "ofType": null } } @@ -44034,7 +44156,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "members_on_conflict", + "name": "member_roles_on_conflict", "ofType": null }, "defaultValue": null @@ -44042,34 +44164,26 @@ ], "type": { "kind": "OBJECT", - "name": "members_mutation_response", + "name": "member_roles_mutation_response", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "insert_members_credentials", - "description": "insert data into the table: \"members_credentials\"", + "name": "insert_member_roles_one", + "description": "insert a single row into the table: \"member_roles\"", "args": [ { - "name": "objects", - "description": "the rows to be inserted", + "name": "object", + "description": "the row to be inserted", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_insert_input", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "member_roles_insert_input", + "ofType": null } }, "defaultValue": null @@ -44079,7 +44193,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_on_conflict", + "name": "member_roles_on_conflict", "ofType": null }, "defaultValue": null @@ -44087,26 +44201,34 @@ ], "type": { "kind": "OBJECT", - "name": "members_credentials_mutation_response", + "name": "member_roles", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "insert_members_credentials_one", - "description": "insert a single row into the table: \"members_credentials\"", + "name": "insert_members", + "description": "insert data into the table: \"members\"", "args": [ { - "name": "object", - "description": "the row to be inserted", + "name": "objects", + "description": "the rows to be inserted", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_insert_input", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "members_insert_input", + "ofType": null + } + } } }, "defaultValue": null @@ -44116,7 +44238,7 @@ "description": "upsert condition", "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_on_conflict", + "name": "members_on_conflict", "ofType": null }, "defaultValue": null @@ -44124,7 +44246,7 @@ ], "type": { "kind": "OBJECT", - "name": "members_credentials", + "name": "members_mutation_response", "ofType": null }, "isDeprecated": false, @@ -47946,15 +48068,15 @@ "deprecationReason": null }, { - "name": "update_member_roles", - "description": "update data of the table: \"member_roles\"", + "name": "update_member_credentials", + "description": "update data of the table: \"member_credentials\"", "args": [ { "name": "_set", "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_set_input", + "name": "member_credentials_set_input", "ofType": null }, "defaultValue": null @@ -47967,7 +48089,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null } }, @@ -47976,22 +48098,22 @@ ], "type": { "kind": "OBJECT", - "name": "member_roles_mutation_response", + "name": "member_credentials_mutation_response", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "update_member_roles_by_pk", - "description": "update single row of the table: \"member_roles\"", + "name": "update_member_credentials_by_pk", + "description": "update single row of the table: \"member_credentials\"", "args": [ { "name": "_set", "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_set_input", + "name": "member_credentials_set_input", "ofType": null }, "defaultValue": null @@ -48004,7 +48126,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_pk_columns_input", + "name": "member_credentials_pk_columns_input", "ofType": null } }, @@ -48013,15 +48135,15 @@ ], "type": { "kind": "OBJECT", - "name": "member_roles", + "name": "member_credentials", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "update_member_roles_many", - "description": "update multiples rows of table: \"member_roles\"", + "name": "update_member_credentials_many", + "description": "update multiples rows of table: \"member_credentials\"", "args": [ { "name": "updates", @@ -48037,7 +48159,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_updates", + "name": "member_credentials_updates", "ofType": null } } @@ -48051,7 +48173,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "member_roles_mutation_response", + "name": "member_credentials_mutation_response", "ofType": null } }, @@ -48059,15 +48181,15 @@ "deprecationReason": null }, { - "name": "update_members", - "description": "update data of the table: \"members\"", + "name": "update_member_roles", + "description": "update data of the table: \"member_roles\"", "args": [ { "name": "_set", "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "members_set_input", + "name": "member_roles_set_input", "ofType": null }, "defaultValue": null @@ -48080,7 +48202,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "member_roles_bool_exp", "ofType": null } }, @@ -48089,22 +48211,22 @@ ], "type": { "kind": "OBJECT", - "name": "members_mutation_response", + "name": "member_roles_mutation_response", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "update_members_by_pk", - "description": "update single row of the table: \"members\"", + "name": "update_member_roles_by_pk", + "description": "update single row of the table: \"member_roles\"", "args": [ { "name": "_set", "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "members_set_input", + "name": "member_roles_set_input", "ofType": null }, "defaultValue": null @@ -48117,7 +48239,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_pk_columns_input", + "name": "member_roles_pk_columns_input", "ofType": null } }, @@ -48126,72 +48248,74 @@ ], "type": { "kind": "OBJECT", - "name": "members", + "name": "member_roles", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "update_members_credentials", - "description": "update data of the table: \"members_credentials\"", + "name": "update_member_roles_many", + "description": "update multiples rows of table: \"member_roles\"", "args": [ { - "name": "_set", - "description": "sets the columns of the filtered rows to the given values", - "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_set_input", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows which have to be updated", + "name": "updates", + "description": "updates to execute, in order", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_roles_updates", + "ofType": null + } + } } }, "defaultValue": null } ], "type": { - "kind": "OBJECT", - "name": "members_credentials_mutation_response", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "member_roles_mutation_response", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "update_members_credentials_by_pk", - "description": "update single row of the table: \"members_credentials\"", + "name": "update_members", + "description": "update data of the table: \"members\"", "args": [ { "name": "_set", "description": "sets the columns of the filtered rows to the given values", "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_set_input", + "name": "members_set_input", "ofType": null }, "defaultValue": null }, { - "name": "pk_columns", - "description": null, + "name": "where", + "description": "filter the rows which have to be updated", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_credentials_pk_columns_input", + "name": "members_bool_exp", "ofType": null } }, @@ -48200,47 +48324,45 @@ ], "type": { "kind": "OBJECT", - "name": "members_credentials", + "name": "members_mutation_response", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "update_members_credentials_many", - "description": "update multiples rows of table: \"members_credentials\"", + "name": "update_members_by_pk", + "description": "update single row of the table: \"members\"", "args": [ { - "name": "updates", - "description": "updates to execute, in order", + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "members_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_updates", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "members_pk_columns_input", + "ofType": null } }, "defaultValue": null } ], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "members_credentials_mutation_response", - "ofType": null - } + "kind": "OBJECT", + "name": "members", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -55802,7 +55924,7 @@ "deprecationReason": null }, { - "name": "member_roles", + "name": "member_credentials", "description": "An array relationship", "args": [ { @@ -55816,7 +55938,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "member_roles_select_column", + "name": "member_credentials_select_column", "ofType": null } } @@ -55854,7 +55976,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_order_by", + "name": "member_credentials_order_by", "ofType": null } } @@ -55866,7 +55988,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -55883,7 +56005,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "member_roles", + "name": "member_credentials", "ofType": null } } @@ -55893,7 +56015,7 @@ "deprecationReason": null }, { - "name": "member_roles_aggregate", + "name": "member_credentials_aggregate", "description": "An aggregate relationship", "args": [ { @@ -55907,7 +56029,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "member_roles_select_column", + "name": "member_credentials_select_column", "ofType": null } } @@ -55945,7 +56067,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "member_roles_order_by", + "name": "member_credentials_order_by", "ofType": null } } @@ -55957,7 +56079,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "member_roles_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -55968,7 +56090,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "member_roles_aggregate", + "name": "member_credentials_aggregate", "ofType": null } }, @@ -55976,8 +56098,8 @@ "deprecationReason": null }, { - "name": "member_roles_by_pk", - "description": "fetch data from the table: \"member_roles\" using primary key columns", + "name": "member_credentials_by_pk", + "description": "fetch data from the table: \"member_credentials\" using primary key columns", "args": [ { "name": "id", @@ -55996,14 +56118,14 @@ ], "type": { "kind": "OBJECT", - "name": "member_roles", + "name": "member_credentials", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "members", + "name": "member_roles", "description": "An array relationship", "args": [ { @@ -56017,7 +56139,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "members_select_column", + "name": "member_roles_select_column", "ofType": null } } @@ -56055,7 +56177,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_order_by", + "name": "member_roles_order_by", "ofType": null } } @@ -56067,7 +56189,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "member_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -56084,7 +56206,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "members", + "name": "member_roles", "ofType": null } } @@ -56094,7 +56216,7 @@ "deprecationReason": null }, { - "name": "members_aggregate", + "name": "member_roles_aggregate", "description": "An aggregate relationship", "args": [ { @@ -56108,7 +56230,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "members_select_column", + "name": "member_roles_select_column", "ofType": null } } @@ -56146,7 +56268,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_order_by", + "name": "member_roles_order_by", "ofType": null } } @@ -56158,7 +56280,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "members_bool_exp", + "name": "member_roles_bool_exp", "ofType": null }, "defaultValue": null @@ -56169,7 +56291,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "members_aggregate", + "name": "member_roles_aggregate", "ofType": null } }, @@ -56177,8 +56299,8 @@ "deprecationReason": null }, { - "name": "members_by_pk", - "description": "fetch data from the table: \"members\" using primary key columns", + "name": "member_roles_by_pk", + "description": "fetch data from the table: \"member_roles\" using primary key columns", "args": [ { "name": "id", @@ -56197,14 +56319,14 @@ ], "type": { "kind": "OBJECT", - "name": "members", + "name": "member_roles", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "members_credentials", + "name": "members", "description": "An array relationship", "args": [ { @@ -56218,7 +56340,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "members_credentials_select_column", + "name": "members_select_column", "ofType": null } } @@ -56256,7 +56378,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_credentials_order_by", + "name": "members_order_by", "ofType": null } } @@ -56268,7 +56390,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", + "name": "members_bool_exp", "ofType": null }, "defaultValue": null @@ -56285,7 +56407,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "members_credentials", + "name": "members", "ofType": null } } @@ -56295,7 +56417,7 @@ "deprecationReason": null }, { - "name": "members_credentials_aggregate", + "name": "members_aggregate", "description": "An aggregate relationship", "args": [ { @@ -56309,7 +56431,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "members_credentials_select_column", + "name": "members_select_column", "ofType": null } } @@ -56347,7 +56469,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "members_credentials_order_by", + "name": "members_order_by", "ofType": null } } @@ -56359,7 +56481,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", + "name": "members_bool_exp", "ofType": null }, "defaultValue": null @@ -56370,7 +56492,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "members_credentials_aggregate", + "name": "members_aggregate", "ofType": null } }, @@ -56378,8 +56500,8 @@ "deprecationReason": null }, { - "name": "members_credentials_by_pk", - "description": "fetch data from the table: \"members_credentials\" using primary key columns", + "name": "members_by_pk", + "description": "fetch data from the table: \"members\" using primary key columns", "args": [ { "name": "id", @@ -56398,7 +56520,7 @@ ], "type": { "kind": "OBJECT", - "name": "members_credentials", + "name": "members", "ofType": null }, "isDeprecated": false, @@ -73020,7 +73142,275 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "explorations_order_by", + "name": "explorations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "explorations_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "explorations_by_pk", + "description": "fetch data from the table: \"explorations\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "explorations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "explorations_stream", + "description": "fetch data from the table in a streaming manner: \"explorations\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "explorations_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "explorations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "explorations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "member_credentials", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_credentials_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "member_credentials_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "member_credentials", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "member_credentials_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "member_credentials_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "member_credentials_order_by", "ofType": null } } @@ -73032,7 +73422,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -73043,7 +73433,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "explorations_aggregate", + "name": "member_credentials_aggregate", "ofType": null } }, @@ -73051,8 +73441,8 @@ "deprecationReason": null }, { - "name": "explorations_by_pk", - "description": "fetch data from the table: \"explorations\" using primary key columns", + "name": "member_credentials_by_pk", + "description": "fetch data from the table: \"member_credentials\" using primary key columns", "args": [ { "name": "id", @@ -73071,15 +73461,15 @@ ], "type": { "kind": "OBJECT", - "name": "explorations", + "name": "member_credentials", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "explorations_stream", - "description": "fetch data from the table in a streaming manner: \"explorations\"", + "name": "member_credentials_stream", + "description": "fetch data from the table in a streaming manner: \"member_credentials\"", "args": [ { "name": "batch_size", @@ -73106,7 +73496,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "explorations_stream_cursor_input", + "name": "member_credentials_stream_cursor_input", "ofType": null } } @@ -73118,7 +73508,7 @@ "description": "filter the rows returned", "type": { "kind": "INPUT_OBJECT", - "name": "explorations_bool_exp", + "name": "member_credentials_bool_exp", "ofType": null }, "defaultValue": null @@ -73135,7 +73525,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "explorations", + "name": "member_credentials", "ofType": null } } @@ -73613,274 +74003,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "members_credentials", - "description": "An array relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "members_credentials_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "members_credentials", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "members_credentials_aggregate", - "description": "An aggregate relationship", - "args": [ - { - "name": "distinct_on", - "description": "distinct select on columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "members_credentials_select_column", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "limit", - "description": "limit the number of rows returned", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "offset", - "description": "skip the first n rows. Use only with order_by", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "order_by", - "description": "sort the rows by one or more columns", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_order_by", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "members_credentials_aggregate", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "members_credentials_by_pk", - "description": "fetch data from the table: \"members_credentials\" using primary key columns", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "uuid", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "members_credentials", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "members_credentials_stream", - "description": "fetch data from the table in a streaming manner: \"members_credentials\"", - "args": [ - { - "name": "batch_size", - "description": "maximum number of rows returned in a single batch", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "cursor", - "description": "cursor to stream the results returned by the query", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_stream_cursor_input", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "where", - "description": "filter the rows returned", - "type": { - "kind": "INPUT_OBJECT", - "name": "members_credentials_bool_exp", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "members_credentials", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "members_stream", "description": "fetch data from the table in a streaming manner: \"members\"", diff --git a/src/hooks/useUserData.ts b/src/hooks/useUserData.ts index bed90152..6a49bc2a 100644 --- a/src/hooks/useUserData.ts +++ b/src/hooks/useUserData.ts @@ -72,7 +72,7 @@ export const prepareCredentialsData = ( id: c.user.id, displayName: c.user.display_name || "", }, - members: (c.members_credentials || []).map((m) => m.member_id), + members: (c.member_credentials || []).map((m) => m.member_id), dataSource: ds, })) ); diff --git a/src/pages/Credentials/index.tsx b/src/pages/Credentials/index.tsx index 1bc42a41..cba3e9e0 100644 --- a/src/pages/Credentials/index.tsx +++ b/src/pages/Credentials/index.tsx @@ -1,5 +1,5 @@ import { useCallback } from "react"; -import { Spin, Space, Row, Col, Typography } from "antd"; +import { Spin, Space, Row, Col, Typography, message } from "antd"; import { useTranslation } from "react-i18next"; import { useParams } from "@vitjs/runtime"; @@ -8,11 +8,10 @@ import CredentialsForm from "@/components/CredentialsForm"; import CredentialCard from "@/components/CredentialCard"; import { CREDENTIALS } from "@/utils/constants/paths"; import { + Access_Types_Enum, useDeleteCredentialMutation, useInsertCredentialMutation, - useUpdateCredentialMutation, - useDeleteMemberCredentialsMutation, - useInsertMembersCredentialsMutation, + useUpdateCredentialsMutation, } from "@/graphql/generated"; import useCheckResponse from "@/hooks/useCheckResponse"; import PageHeader from "@/components/PageHeader"; @@ -110,14 +109,11 @@ const CredentialsPageWrapper = () => { const { currentUser, teamData, currentTeam } = CurrentUserStore(); const { editId } = useParams(); const isNew = editId === "new"; + const isMember = currentTeam?.role === "member"; const [deleteMutation, execDeleteMutation] = useDeleteCredentialMutation(); const [createMutation, execCreateMutation] = useInsertCredentialMutation(); - const [updateMutation, execUpdateMutation] = useUpdateCredentialMutation(); - const [deleteMemberCredentials, execDeleteMemberCredentials] = - useDeleteMemberCredentialsMutation(); - const [insertMembersCredentials, execInsertMembersCredentials] = - useInsertMembersCredentialsMutation(); + const [updateMutation, execUpdateMutation] = useUpdateCredentialsMutation(); const onDelete = useCallback( (id: string) => { @@ -141,44 +137,90 @@ const CredentialsPageWrapper = () => { setLocation(CREDENTIALS); }, [setLocation]); - useCheckResponse(createMutation, () => onClose(), { - successMessage: t("settings:credentials.created"), - }); + useCheckResponse( + createMutation, + (_, error) => { + if (error) { + if ( + error.message.includes( + "member_credentials_datasource_id_member_id_key" + ) + ) { + if (isMember) { + message.error(t("settings:credentials.member_has_access")); + } else { + message.error(t("settings:credentials.member_already_used")); + } + } else { + message.error(error.message); + } + } else { + message.success(t("settings:credentials.created")); + onClose(); + } + }, + { + showMessage: false, + } + ); - useCheckResponse(updateMutation, () => onClose(), { - successMessage: t("settings:credentials.updated"), - }); + useCheckResponse( + updateMutation, + (_, error) => { + if (error) { + if ( + error.message.includes( + "member_credentials_datasource_id_member_id_key" + ) + ) { + message.error(t("settings:credentials.member_already_used")); + } else { + message.error(error.message); + } + } else { + message.success(t("settings:credentials.updated")); + onClose(); + } + }, + { + showMessage: false, + } + ); useCheckResponse(deleteMutation, () => onClose(), { successMessage: t("settings:credentials.deleted"), }); - useCheckResponse(deleteMemberCredentials, () => {}, { - showMessage: false, - }); - - useCheckResponse(insertMembersCredentials, () => {}, { - showMessage: false, - }); - const onSubmit = async (data: CredentialsFormType) => { const payload = { access_type: data.accessType, username: data.username, password: data.password, + datasource_id: data.dataSourceId, }; let member_credentials = []; - if (currentTeam?.role === "admin") { - member_credentials = (data.members || []).map((m) => ({ - member_id: m, - credential_id: data.id, - })); + if (!isMember) { + if (data.accessType === Access_Types_Enum.Shared) { + member_credentials = (teamData?.members || []).map((m) => ({ + member_id: m.id, + credential_id: data.id, + datasource_id: data.dataSourceId, + })); + } else { + payload.access_type = Access_Types_Enum.SpecificUsers; + member_credentials = (data.members || []).map((m) => ({ + member_id: m, + credential_id: data.id, + datasource_id: data.dataSourceId, + })); + } } else { member_credentials = [ { - member_id: currentUser?.id, + member_id: currentTeam?.memberId, credential_id: data.id, + datasource_id: data.dataSourceId, }, ]; } @@ -188,28 +230,19 @@ const CredentialsPageWrapper = () => { object: { ...payload, user_id: currentUser?.id, - datasource_id: data.dataSourceId, - members_credentials: { + member_credentials: { data: member_credentials, }, }, }); } else { - await execDeleteMemberCredentials({ id: editId }); - - const membersCredentials = await execInsertMembersCredentials({ - objects: (data.members || []).map((m) => ({ - member_id: m, - credential_id: editId, - })), + await execUpdateMutation({ + id: editId, + object: { + ...payload, + }, + members: member_credentials, }); - - if (membersCredentials.data?.insert_members_credentials?.affected_rows) { - await execUpdateMutation({ - pk_columns: { id: editId }, - _set: payload, - }); - } } }; @@ -220,6 +253,7 @@ const CredentialsPageWrapper = () => { if (curCredential) { return { ...curCredential, + userId: curCredential.user.id, dataSourceId: curCredential.dataSource.id, } as unknown as CredentialsFormType; } diff --git a/src/stores/CurrentUserStore.ts b/src/stores/CurrentUserStore.ts index 321326cf..2130adb1 100644 --- a/src/stores/CurrentUserStore.ts +++ b/src/stores/CurrentUserStore.ts @@ -1,3 +1,4 @@ +import { message } from "antd"; import { create } from "zustand"; import type { User, TeamData } from "@/types/user"; @@ -53,6 +54,16 @@ const CurrentUserStore = create((set, get) => ({ localStorage.setItem(LAST_TEAM_ID_KEY, id); } + const currentMember = team?.members?.find( + (m) => m.user_id === state?.currentUser?.id + ); + + if (!currentMember) { + message.error("Something went wrong. Member not found."); + return; + } + + team.memberId = currentMember.id; set({ currentTeam: team }); }, })); diff --git a/src/types/credential.ts b/src/types/credential.ts index 37bbc594..4e534e60 100644 --- a/src/types/credential.ts +++ b/src/types/credential.ts @@ -18,6 +18,7 @@ export interface CredentialsInfo { export interface CredentialsFormType { id?: string; name: string; + userId: string; accessType: Access_Types_Enum; members: string[]; username: string; diff --git a/src/types/team.ts b/src/types/team.ts index 7cd805bf..67bd3109 100644 --- a/src/types/team.ts +++ b/src/types/team.ts @@ -39,6 +39,7 @@ export interface Team { id: string; name: string; role: Roles; + memberId: string; creatorEmail: string; members: Member[]; createdAt: string; From c8d0206770e0b077b99127f1d27fc8802609619b Mon Sep 17 00:00:00 2001 From: Libertonius Date: Fri, 11 Oct 2024 18:55:48 +0300 Subject: [PATCH 5/5] fix: access to delete credentials --- public/locales/en/settings.json | 3 +- src/components/CredentialCard/index.tsx | 67 ++++++++++++++---------- src/components/CredentialsForm/index.tsx | 2 +- src/pages/Credentials/index.tsx | 24 +++++++-- 4 files changed, 62 insertions(+), 34 deletions(-) diff --git a/public/locales/en/settings.json b/public/locales/en/settings.json index dfe783ef..ae67dc54 100644 --- a/public/locales/en/settings.json +++ b/public/locales/en/settings.json @@ -74,7 +74,8 @@ "shared_access_type_description": "This credential will be available to all team members.", "specific_users_access_type_description": "This credential will be available to the selected team members.", "member_already_used": "One or more members already have access to this datasource. Please remove them from other credentials of this datasource.", - "member_has_access": "You already have access to this datasource. Please remove other credentials of this datasource or contact your administrator." + "member_has_access": "You already have access to this datasource. Please remove other credentials of this datasource or contact your administrator.", + "no_rights": "You don't have rights to delete this credential. Please contact your administrator." }, "roles_and_access": { "manage_roles": "Manage roles", diff --git a/src/components/CredentialCard/index.tsx b/src/components/CredentialCard/index.tsx index ad73064f..43002d5b 100644 --- a/src/components/CredentialCard/index.tsx +++ b/src/components/CredentialCard/index.tsx @@ -9,9 +9,12 @@ import ConfirmModal from "@/components/ConfirmModal"; import formatTime from "@/utils/helpers/formatTime"; import type { CredentialsInfo } from "@/types/credential"; import DataSourceTag from "@/components/DataSourceTag"; +import CurrentUserStore from "@/stores/CurrentUserStore"; +import { Roles } from "@/types/team"; import styles from "./index.module.less"; +import type { ItemType } from "antd/lib/menu/hooks/useItems"; import type { FC } from "react"; const { Paragraph } = Typography; @@ -28,7 +31,13 @@ const CredentialCard: FC = ({ onDelete = () => {}, }) => { const { t } = useTranslation(["common"]); + const { currentUser, currentTeam } = CurrentUserStore(); const { id, username, updatedAt, createdAt, user, dataSource } = credential; + + const isMember = currentTeam?.role === Roles.member; + const isOwner = currentUser?.id === credential.user.id; + const canDelete = !isMember || (isMember && isOwner); + return (
    = ({ } extra={ - id && onEdit(id), - }, - { - key: "delete", - className: styles.deleteItem, - label: ( - id && onDelete(id)} - > - {t("common:words.delete")} - - ), - }, - ], - }} - > - - + canDelete && ( + id && onEdit(id), + }, + { + key: "delete", + className: styles.deleteItem, + label: ( + id && onDelete(id)} + > + {t("common:words.delete")} + + ), + }, + ], + }} + > + + + ) } >
      diff --git a/src/components/CredentialsForm/index.tsx b/src/components/CredentialsForm/index.tsx index 2eca8514..266d61cb 100644 --- a/src/components/CredentialsForm/index.tsx +++ b/src/components/CredentialsForm/index.tsx @@ -107,7 +107,7 @@ const CredentialsForm: React.FC = ({ /> - {isOwner && !isMember && ( + {!isMember && ( { } ); - useCheckResponse(deleteMutation, () => onClose(), { - successMessage: t("settings:credentials.deleted"), - }); + useCheckResponse( + deleteMutation, + (data, error) => { + if (error) { + message.error(error.message); + return; + } + + if (!data?.delete_credentials_by_pk) { + message.error(t("settings:credentials.no_rights")); + return; + } + + message.success(t("settings:credentials.deleted")); + }, + { + showMessage: false, + } + ); const onSubmit = async (data: CredentialsFormType) => { const payload = { @@ -208,7 +224,6 @@ const CredentialsPageWrapper = () => { datasource_id: data.dataSourceId, })); } else { - payload.access_type = Access_Types_Enum.SpecificUsers; member_credentials = (data.members || []).map((m) => ({ member_id: m, credential_id: data.id, @@ -216,6 +231,7 @@ const CredentialsPageWrapper = () => { })); } } else { + payload.access_type = Access_Types_Enum.SpecificUsers; member_credentials = [ { member_id: currentTeam?.memberId,