Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions gql/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ export type CreateQuestionInput = {
submissionIDs?: InputMaybe<Array<Scalars['ID']['input']>>;
/** Question title */
title: Scalars['String']['input'];
/** Only the users with this scope set can see the question. Empty means visible to everyone. */
visibleScope?: InputMaybe<Scalars['String']['input']>;
};

/**
Expand Down Expand Up @@ -859,6 +861,8 @@ export type Question = Node & {
title: Scalars['String']['output'];
/** List of your submissions for this question, ordered by submitted at descending. */
userSubmissions: Array<Submission>;
/** Only the users with this scope set can see the question. Empty means visible to everyone. */
visibleScope?: Maybe<Scalars['String']['output']>;
};


Expand Down Expand Up @@ -1009,6 +1013,22 @@ export type QuestionWhereInput = {
titleLTE?: InputMaybe<Scalars['String']['input']>;
titleNEQ?: InputMaybe<Scalars['String']['input']>;
titleNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
/** visible_scope field predicates */
visibleScope?: InputMaybe<Scalars['String']['input']>;
visibleScopeContains?: InputMaybe<Scalars['String']['input']>;
visibleScopeContainsFold?: InputMaybe<Scalars['String']['input']>;
visibleScopeEqualFold?: InputMaybe<Scalars['String']['input']>;
visibleScopeGT?: InputMaybe<Scalars['String']['input']>;
visibleScopeGTE?: InputMaybe<Scalars['String']['input']>;
visibleScopeHasPrefix?: InputMaybe<Scalars['String']['input']>;
visibleScopeHasSuffix?: InputMaybe<Scalars['String']['input']>;
visibleScopeIn?: InputMaybe<Array<Scalars['String']['input']>>;
visibleScopeIsNil?: InputMaybe<Scalars['Boolean']['input']>;
visibleScopeLT?: InputMaybe<Scalars['String']['input']>;
visibleScopeLTE?: InputMaybe<Scalars['String']['input']>;
visibleScopeNEQ?: InputMaybe<Scalars['String']['input']>;
visibleScopeNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
visibleScopeNotNil?: InputMaybe<Scalars['Boolean']['input']>;
};

export enum RankingBy {
Expand Down Expand Up @@ -1304,6 +1324,7 @@ export type UpdateQuestionInput = {
/** Question category, e.g. 'query' */
category?: InputMaybe<Scalars['String']['input']>;
clearSubmissions?: InputMaybe<Scalars['Boolean']['input']>;
clearVisibleScope?: InputMaybe<Scalars['Boolean']['input']>;
databaseID?: InputMaybe<Scalars['ID']['input']>;
/** Question stem */
description?: InputMaybe<Scalars['String']['input']>;
Expand All @@ -1314,6 +1335,8 @@ export type UpdateQuestionInput = {
removeSubmissionIDs?: InputMaybe<Array<Scalars['ID']['input']>>;
/** Question title */
title?: InputMaybe<Scalars['String']['input']>;
/** Only the users with this scope set can see the question. Empty means visible to everyone. */
visibleScope?: InputMaybe<Scalars['String']['input']>;
};

/**
Expand Down
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"format:check": "dprint check"
},
"dependencies": {
"@ai-sdk/anthropic": "^2.0.45",
"@ai-sdk/react": "^2.0.95",
"@ai-sdk/anthropic": "^2.0.50",
"@ai-sdk/react": "^2.0.104",
"@apollo/client": "4.0.9",
"@apollo/client-integration-nextjs": "^0.14.1",
"@bprogress/next": "^3.2.12",
"@codemirror/lang-sql": "^6.10.0",
"@graphql-codegen/client-preset": "^5.1.3",
"@graphql-codegen/client-preset": "^5.2.1",
"@hookform/resolvers": "^5.2.2",
"@posthog/ai": "^7.1.0",
"@posthog/ai": "^7.2.0",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-checkbox": "^1.3.3",
Expand All @@ -41,51 +41,51 @@
"@radix-ui/react-toggle": "^1.1.10",
"@radix-ui/react-toggle-group": "^1.1.11",
"@radix-ui/react-tooltip": "^1.2.8",
"@swc-contrib/plugin-graphql-codegen-client-preset": "~0.9.0",
"@swc-contrib/plugin-graphql-codegen-client-preset": "~0.12.1",
"@tailwindcss/typography": "^0.5.19",
"@tanstack/react-table": "^8.21.3",
"@uiw/react-codemirror": "^4.25.3",
"ai": "^5.0.95",
"ai": "^5.0.104",
"babel-plugin-react-compiler": "19.1.0-rc.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"foxact": "^0.2.49",
"graphql": "^16.12.0",
"lucide-react": "^0.554.0",
"next": "16.0.3",
"lucide-react": "^0.555.0",
"next": "16.1.0-canary.4",
"next-themes": "^0.4.6",
"posthog-js": "1.296.1",
"posthog-node": "^5.12.0",
"react": "19.3.0-canary-eb89912e-20251118",
"posthog-js": "1.298.1",
"posthog-node": "^5.14.1",
"react": "19.3.0-canary-fd524fe0-20251121",
"react-codemirror-merge": "^4.25.3",
"react-dom": "19.3.0-canary-eb89912e-20251118",
"react-hook-form": "^7.66.1",
"react-dom": "19.3.0-canary-fd524fe0-20251121",
"react-hook-form": "^7.67.0",
"react-remark": "^2.1.0",
"remark": "^15.0.1",
"remark-html": "^16.0.1",
"shiki": "^3.15.0",
"shiki": "^3.17.0",
"sonner": "^2.0.7",
"sql-formatter": "^15.6.10",
"streamdown": "^1.5.1",
"streamdown": "^1.6.9",
"tailwind-merge": "^3.4.0",
"zod": "^4.1.12"
"zod": "^4.1.13"
},
"devDependencies": {
"@0no-co/graphqlsp": "^1.15.1",
"@eslint/eslintrc": "^3.3.1",
"@graphql-codegen/cli": "^6.0.2",
"@eslint/eslintrc": "^3.3.3",
"@graphql-codegen/cli": "^6.1.0",
"@graphql-codegen/schema-ast": "^5.0.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@parcel/watcher": "^2.5.1",
"@tailwindcss/postcss": "^4.1.17",
"@types/node": "^24.10.1",
"@types/react": "^19.2.6",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/parser": "^8.47.0",
"@typescript-eslint/parser": "^8.48.0",
"dprint": "^0.50.2",
"eslint": "^9.39.1",
"eslint-config-next": "16.0.3",
"eslint-plugin-better-tailwindcss": "^3.7.10",
"eslint-config-next": "16.1.0-canary.7",
"eslint-plugin-better-tailwindcss": "^3.7.11",
"tailwindcss": "^4.1.17",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3"
Expand Down
Loading