From 9184cd08fc9423824c3a548a2b31bfa30f6bdb86 Mon Sep 17 00:00:00 2001 From: JamesACS Date: Fri, 5 Dec 2025 16:59:35 +0000 Subject: [PATCH 1/2] fix(queries)--add-teamID-to-other-dashboard-queries-to-restore-context-options --- packages/app/src/app/graphql/types.ts | 5 +++++ .../app/src/app/overmind/effects/gql/dashboard/queries.ts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/packages/app/src/app/graphql/types.ts b/packages/app/src/app/graphql/types.ts index 4a42f80056c..f813b299b3e 100644 --- a/packages/app/src/app/graphql/types.ts +++ b/packages/app/src/app/graphql/types.ts @@ -4269,6 +4269,7 @@ export type RecentlyDeletedTeamSandboxesFragment = { isV2: boolean; removedAt: string | null; title: string | null; + teamId: any | null; collection: { __typename?: 'Collection'; id: any | null; @@ -4751,6 +4752,7 @@ export type SearchTeamSandboxFragment = { restricted: boolean; privacy: number; screenshotUrl: string | null; + teamId: any | null; source: { __typename?: 'Source'; template: string | null }; customTemplate: { __typename?: 'Template'; @@ -4817,6 +4819,7 @@ export type RecentlyAccessedSandboxFragment = { draft: boolean; isV2: boolean; screenshotUrl: string | null; + teamId: any | null; source: { __typename?: 'Source'; template: string | null }; customTemplate: { __typename?: 'Template'; @@ -4893,6 +4896,7 @@ export type WorkspaceSandboxFragment = { restricted: boolean; privacy: number; screenshotUrl: string | null; + teamId: any | null; source: { __typename?: 'Source'; template: string | null }; customTemplate: { __typename?: 'Template'; @@ -4994,6 +4998,7 @@ export type CollaboratorSandboxFragment = { restricted: boolean; privacy: number; screenshotUrl: string | null; + teamId: any | null; source: { __typename?: 'Source'; template: string | null }; customTemplate: { __typename?: 'Template'; diff --git a/packages/app/src/app/overmind/effects/gql/dashboard/queries.ts b/packages/app/src/app/overmind/effects/gql/dashboard/queries.ts index 87a10f6374f..a76c62f643f 100644 --- a/packages/app/src/app/overmind/effects/gql/dashboard/queries.ts +++ b/packages/app/src/app/overmind/effects/gql/dashboard/queries.ts @@ -76,6 +76,7 @@ fragment recentlyDeletedTeamSandboxes on Sandbox { isV2 removedAt title + teamId } `; @@ -336,6 +337,7 @@ const SEARCH_TEAM_SANDBOX_FRAGMENT = gql` path id } + teamId } `; @@ -392,6 +394,7 @@ const RECENTLY_ACCESSED_SANDBOX_FRAGMENT = gql` author { username } + teamId } `; @@ -442,6 +445,7 @@ const WORKSPACE_SANDBOX_FRAGMENT = gql` path id } + teamId } `; @@ -510,6 +514,7 @@ const COLLABORATOR_SANDBOX_FRAGMENT = gql` path id } + teamId } `; From d4ea27467b7cd913aa3c0c09501e82b7c9d21fd9 Mon Sep 17 00:00:00 2001 From: JamesACS Date: Mon, 8 Dec 2025 10:17:02 +0000 Subject: [PATCH 2/2] update types --- packages/app/src/app/graphql/types.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/app/src/app/graphql/types.ts b/packages/app/src/app/graphql/types.ts index f813b299b3e..38a263954b1 100644 --- a/packages/app/src/app/graphql/types.ts +++ b/packages/app/src/app/graphql/types.ts @@ -4295,6 +4295,7 @@ export type RecentlyDeletedTeamSandboxesQuery = { isV2: boolean; removedAt: string | null; title: string | null; + teamId: any | null; collection: { __typename?: 'Collection'; id: any | null; @@ -4791,6 +4792,7 @@ export type _SearchTeamSandboxesQuery = { restricted: boolean; privacy: number; screenshotUrl: string | null; + teamId: any | null; source: { __typename?: 'Source'; template: string | null }; customTemplate: { __typename?: 'Template'; @@ -4861,6 +4863,7 @@ export type RecentlyAccessedSandboxesLegacyQuery = { draft: boolean; isV2: boolean; screenshotUrl: string | null; + teamId: any | null; source: { __typename?: 'Source'; template: string | null }; customTemplate: { __typename?: 'Template'; @@ -4935,6 +4938,7 @@ export type GetWorkspaceSandboxesQuery = { restricted: boolean; privacy: number; screenshotUrl: string | null; + teamId: any | null; source: { __typename?: 'Source'; template: string | null }; customTemplate: { __typename?: 'Template'; @@ -5035,6 +5039,7 @@ export type SharedWithMeSandboxesQuery = { restricted: boolean; privacy: number; screenshotUrl: string | null; + teamId: any | null; source: { __typename?: 'Source'; template: string | null }; customTemplate: { __typename?: 'Template';