Skip to content

Commit 3f091b4

Browse files
authored
fix(queries)--add-teamID-to-other-dashboard-queries-to-restore-conte… (#8849)
* fix(queries)--add-teamID-to-other-dashboard-queries-to-restore-context-options * update types
1 parent 247b9fb commit 3f091b4

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

packages/app/src/app/graphql/types.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4269,6 +4269,7 @@ export type RecentlyDeletedTeamSandboxesFragment = {
42694269
isV2: boolean;
42704270
removedAt: string | null;
42714271
title: string | null;
4272+
teamId: any | null;
42724273
collection: {
42734274
__typename?: 'Collection';
42744275
id: any | null;
@@ -4294,6 +4295,7 @@ export type RecentlyDeletedTeamSandboxesQuery = {
42944295
isV2: boolean;
42954296
removedAt: string | null;
42964297
title: string | null;
4298+
teamId: any | null;
42974299
collection: {
42984300
__typename?: 'Collection';
42994301
id: any | null;
@@ -4751,6 +4753,7 @@ export type SearchTeamSandboxFragment = {
47514753
restricted: boolean;
47524754
privacy: number;
47534755
screenshotUrl: string | null;
4756+
teamId: any | null;
47544757
source: { __typename?: 'Source'; template: string | null };
47554758
customTemplate: {
47564759
__typename?: 'Template';
@@ -4789,6 +4792,7 @@ export type _SearchTeamSandboxesQuery = {
47894792
restricted: boolean;
47904793
privacy: number;
47914794
screenshotUrl: string | null;
4795+
teamId: any | null;
47924796
source: { __typename?: 'Source'; template: string | null };
47934797
customTemplate: {
47944798
__typename?: 'Template';
@@ -4817,6 +4821,7 @@ export type RecentlyAccessedSandboxFragment = {
48174821
draft: boolean;
48184822
isV2: boolean;
48194823
screenshotUrl: string | null;
4824+
teamId: any | null;
48204825
source: { __typename?: 'Source'; template: string | null };
48214826
customTemplate: {
48224827
__typename?: 'Template';
@@ -4858,6 +4863,7 @@ export type RecentlyAccessedSandboxesLegacyQuery = {
48584863
draft: boolean;
48594864
isV2: boolean;
48604865
screenshotUrl: string | null;
4866+
teamId: any | null;
48614867
source: { __typename?: 'Source'; template: string | null };
48624868
customTemplate: {
48634869
__typename?: 'Template';
@@ -4893,6 +4899,7 @@ export type WorkspaceSandboxFragment = {
48934899
restricted: boolean;
48944900
privacy: number;
48954901
screenshotUrl: string | null;
4902+
teamId: any | null;
48964903
source: { __typename?: 'Source'; template: string | null };
48974904
customTemplate: {
48984905
__typename?: 'Template';
@@ -4931,6 +4938,7 @@ export type GetWorkspaceSandboxesQuery = {
49314938
restricted: boolean;
49324939
privacy: number;
49334940
screenshotUrl: string | null;
4941+
teamId: any | null;
49344942
source: { __typename?: 'Source'; template: string | null };
49354943
customTemplate: {
49364944
__typename?: 'Template';
@@ -4994,6 +5002,7 @@ export type CollaboratorSandboxFragment = {
49945002
restricted: boolean;
49955003
privacy: number;
49965004
screenshotUrl: string | null;
5005+
teamId: any | null;
49975006
source: { __typename?: 'Source'; template: string | null };
49985007
customTemplate: {
49995008
__typename?: 'Template';
@@ -5030,6 +5039,7 @@ export type SharedWithMeSandboxesQuery = {
50305039
restricted: boolean;
50315040
privacy: number;
50325041
screenshotUrl: string | null;
5042+
teamId: any | null;
50335043
source: { __typename?: 'Source'; template: string | null };
50345044
customTemplate: {
50355045
__typename?: 'Template';

packages/app/src/app/overmind/effects/gql/dashboard/queries.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ fragment recentlyDeletedTeamSandboxes on Sandbox {
7676
isV2
7777
removedAt
7878
title
79+
teamId
7980
}
8081
`;
8182

@@ -336,6 +337,7 @@ const SEARCH_TEAM_SANDBOX_FRAGMENT = gql`
336337
path
337338
id
338339
}
340+
teamId
339341
}
340342
`;
341343

@@ -392,6 +394,7 @@ const RECENTLY_ACCESSED_SANDBOX_FRAGMENT = gql`
392394
author {
393395
username
394396
}
397+
teamId
395398
}
396399
`;
397400

@@ -442,6 +445,7 @@ const WORKSPACE_SANDBOX_FRAGMENT = gql`
442445
path
443446
id
444447
}
448+
teamId
445449
}
446450
`;
447451

@@ -510,6 +514,7 @@ const COLLABORATOR_SANDBOX_FRAGMENT = gql`
510514
path
511515
id
512516
}
517+
teamId
513518
}
514519
`;
515520

0 commit comments

Comments
 (0)