Skip to content

Commit ea24c95

Browse files
committed
refactor(schema): add social media profiles and location fields to organization queries
1 parent 31458fd commit ea24c95

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

app/[locale]/dashboard/[entityType]/[entitySlug]/schema.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export const getOrgDetailsQryDoc: any = graphql(`
1818
contactEmail
1919
description
2020
slug
21+
githubProfile
22+
linkedinProfile
23+
twitterProfile
24+
location
2125
}
2226
}
2327
`);
@@ -35,6 +39,10 @@ export const UserDetailsQryDoc: any = graphql(`
3539
url
3640
}
3741
username
42+
githubProfile
43+
linkedinProfile
44+
twitterProfile
45+
location
3846
id
3947
organizationMemberships {
4048
organization {

app/[locale]/dashboard/[entityType]/schema.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ export const allOrganizationsListingDoc: any = graphql(`
55
organizations {
66
id
77
name
8+
githubProfile
9+
linkedinProfile
10+
twitterProfile
11+
location
812
logo {
913
name
1014
path
@@ -53,6 +57,10 @@ export const organizationCreationMutation: any = graphql(`
5357
contactEmail
5458
description
5559
slug
60+
githubProfile
61+
linkedinProfile
62+
twitterProfile
63+
location
5664
}
5765
}
5866
}

0 commit comments

Comments
 (0)