@@ -1027,24 +1027,6 @@ export const CalloutWithWhiteboardFragmentDoc = gql`
1027
1027
}
1028
1028
${WhiteboardDetailsFragmentDoc}
1029
1029
`;
1030
- export const CalloutWithWhiteboardRtFragmentDoc = gql`
1031
- fragment CalloutWithWhiteboardRt on Callout {
1032
- id
1033
- nameID
1034
- type
1035
- authorization {
1036
- id
1037
- anonymousReadAccess
1038
- myPrivileges
1039
- }
1040
- framing {
1041
- whiteboardRt {
1042
- ...WhiteboardRtDetails
1043
- }
1044
- }
1045
- }
1046
- ${WhiteboardRtDetailsFragmentDoc}
1047
- `;
1048
1030
export const CollaborationWithWhiteboardDetailsFragmentDoc = gql`
1049
1031
fragment CollaborationWithWhiteboardDetails on Collaboration {
1050
1032
id
@@ -1688,16 +1670,16 @@ export const PendingMembershipsJourneyProfileFragmentDoc = gql`
1688
1670
fragment PendingMembershipsJourneyProfile on Profile {
1689
1671
id
1690
1672
displayName
1673
+ visual(type: $visualType) {
1674
+ id
1675
+ uri
1676
+ }
1691
1677
... on Profile @include(if: $fetchDetails) {
1692
1678
tagline
1693
1679
tagset {
1694
1680
id
1695
1681
tags
1696
1682
}
1697
- visual(type: $visualType) {
1698
- id
1699
- uri
1700
- }
1701
1683
}
1702
1684
}
1703
1685
`;
@@ -2772,6 +2754,7 @@ export const InnovationFlowTemplateCardFragmentDoc = gql`
2772
2754
profile {
2773
2755
...TemplateCardProfileInfo
2774
2756
}
2757
+ definition
2775
2758
}
2776
2759
${TemplateCardProfileInfoFragmentDoc}
2777
2760
`;
@@ -8773,69 +8756,6 @@ export function refetchWhiteboardFromCalloutQuery(variables: SchemaTypes.Whitebo
8773
8756
return { query: WhiteboardFromCalloutDocument, variables: variables };
8774
8757
}
8775
8758
8776
- export const WhiteboardRtFromCalloutDocument = gql`
8777
- query WhiteboardRtFromCallout($calloutId: UUID!) {
8778
- lookup {
8779
- callout(ID: $calloutId) {
8780
- ...CalloutWithWhiteboardRt
8781
- }
8782
- }
8783
- }
8784
- ${CalloutWithWhiteboardRtFragmentDoc}
8785
- `;
8786
-
8787
- /**
8788
- * __useWhiteboardRtFromCalloutQuery__
8789
- *
8790
- * To run a query within a React component, call `useWhiteboardRtFromCalloutQuery` and pass it any options that fit your needs.
8791
- * When your component renders, `useWhiteboardRtFromCalloutQuery` returns an object from Apollo Client that contains loading, error, and data properties
8792
- * you can use to render your UI.
8793
- *
8794
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
8795
- *
8796
- * @example
8797
- * const { data, loading, error } = useWhiteboardRtFromCalloutQuery({
8798
- * variables: {
8799
- * calloutId: // value for 'calloutId'
8800
- * },
8801
- * });
8802
- */
8803
- export function useWhiteboardRtFromCalloutQuery(
8804
- baseOptions: Apollo.QueryHookOptions<
8805
- SchemaTypes.WhiteboardRtFromCalloutQuery,
8806
- SchemaTypes.WhiteboardRtFromCalloutQueryVariables
8807
- >
8808
- ) {
8809
- const options = { ...defaultOptions, ...baseOptions };
8810
- return Apollo.useQuery<SchemaTypes.WhiteboardRtFromCalloutQuery, SchemaTypes.WhiteboardRtFromCalloutQueryVariables>(
8811
- WhiteboardRtFromCalloutDocument,
8812
- options
8813
- );
8814
- }
8815
-
8816
- export function useWhiteboardRtFromCalloutLazyQuery(
8817
- baseOptions?: Apollo.LazyQueryHookOptions<
8818
- SchemaTypes.WhiteboardRtFromCalloutQuery,
8819
- SchemaTypes.WhiteboardRtFromCalloutQueryVariables
8820
- >
8821
- ) {
8822
- const options = { ...defaultOptions, ...baseOptions };
8823
- return Apollo.useLazyQuery<
8824
- SchemaTypes.WhiteboardRtFromCalloutQuery,
8825
- SchemaTypes.WhiteboardRtFromCalloutQueryVariables
8826
- >(WhiteboardRtFromCalloutDocument, options);
8827
- }
8828
-
8829
- export type WhiteboardRtFromCalloutQueryHookResult = ReturnType<typeof useWhiteboardRtFromCalloutQuery>;
8830
- export type WhiteboardRtFromCalloutLazyQueryHookResult = ReturnType<typeof useWhiteboardRtFromCalloutLazyQuery>;
8831
- export type WhiteboardRtFromCalloutQueryResult = Apollo.QueryResult<
8832
- SchemaTypes.WhiteboardRtFromCalloutQuery,
8833
- SchemaTypes.WhiteboardRtFromCalloutQueryVariables
8834
- >;
8835
- export function refetchWhiteboardRtFromCalloutQuery(variables: SchemaTypes.WhiteboardRtFromCalloutQueryVariables) {
8836
- return { query: WhiteboardRtFromCalloutDocument, variables: variables };
8837
- }
8838
-
8839
8759
export const WhiteboardWithContentDocument = gql`
8840
8760
query WhiteboardWithContent($whiteboardId: UUID!) {
8841
8761
lookup {
@@ -11158,6 +11078,153 @@ export function refetchPlatformUpdatesRoomQuery(variables?: SchemaTypes.Platform
11158
11078
return { query: PlatformUpdatesRoomDocument, variables: variables };
11159
11079
}
11160
11080
11081
+ export const CommunityUserPrivilegesWithParentCommunityDocument = gql`
11082
+ query communityUserPrivilegesWithParentCommunity(
11083
+ $spaceNameId: UUID_NAMEID!
11084
+ $challengeNameId: UUID_NAMEID = "mockid"
11085
+ $opportunityNameId: UUID_NAMEID = "mockid"
11086
+ $includeSpaceCommunity: Boolean = false
11087
+ $includeChallenge: Boolean = false
11088
+ $includeOpportunity: Boolean = false
11089
+ ) {
11090
+ space(ID: $spaceNameId) {
11091
+ id
11092
+ community @include(if: $includeSpaceCommunity) {
11093
+ id
11094
+ myMembershipStatus
11095
+ authorization {
11096
+ id
11097
+ myPrivileges
11098
+ }
11099
+ }
11100
+ challenge(ID: $challengeNameId) @include(if: $includeChallenge) {
11101
+ id
11102
+ authorization {
11103
+ id
11104
+ myPrivileges
11105
+ }
11106
+ community {
11107
+ id
11108
+ myMembershipStatus
11109
+ authorization {
11110
+ id
11111
+ myPrivileges
11112
+ }
11113
+ }
11114
+ }
11115
+ opportunity(ID: $opportunityNameId) @include(if: $includeOpportunity) {
11116
+ id
11117
+ authorization {
11118
+ id
11119
+ myPrivileges
11120
+ }
11121
+ community {
11122
+ id
11123
+ myMembershipStatus
11124
+ authorization {
11125
+ id
11126
+ myPrivileges
11127
+ }
11128
+ leadUsers: usersInRole(role: LEAD) {
11129
+ id
11130
+ profile {
11131
+ id
11132
+ displayName
11133
+ avatar: visual(type: AVATAR) {
11134
+ ...VisualUri
11135
+ }
11136
+ location {
11137
+ id
11138
+ country
11139
+ city
11140
+ }
11141
+ }
11142
+ }
11143
+ adminUsers: usersInRole(role: ADMIN) {
11144
+ id
11145
+ profile {
11146
+ id
11147
+ displayName
11148
+ avatar: visual(type: AVATAR) {
11149
+ ...VisualUri
11150
+ }
11151
+ location {
11152
+ id
11153
+ country
11154
+ city
11155
+ }
11156
+ }
11157
+ }
11158
+ }
11159
+ }
11160
+ }
11161
+ }
11162
+ ${VisualUriFragmentDoc}
11163
+ `;
11164
+
11165
+ /**
11166
+ * __useCommunityUserPrivilegesWithParentCommunityQuery__
11167
+ *
11168
+ * To run a query within a React component, call `useCommunityUserPrivilegesWithParentCommunityQuery` and pass it any options that fit your needs.
11169
+ * When your component renders, `useCommunityUserPrivilegesWithParentCommunityQuery` returns an object from Apollo Client that contains loading, error, and data properties
11170
+ * you can use to render your UI.
11171
+ *
11172
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
11173
+ *
11174
+ * @example
11175
+ * const { data, loading, error } = useCommunityUserPrivilegesWithParentCommunityQuery({
11176
+ * variables: {
11177
+ * spaceNameId: // value for 'spaceNameId'
11178
+ * challengeNameId: // value for 'challengeNameId'
11179
+ * opportunityNameId: // value for 'opportunityNameId'
11180
+ * includeSpaceCommunity: // value for 'includeSpaceCommunity'
11181
+ * includeChallenge: // value for 'includeChallenge'
11182
+ * includeOpportunity: // value for 'includeOpportunity'
11183
+ * },
11184
+ * });
11185
+ */
11186
+ export function useCommunityUserPrivilegesWithParentCommunityQuery(
11187
+ baseOptions: Apollo.QueryHookOptions<
11188
+ SchemaTypes.CommunityUserPrivilegesWithParentCommunityQuery,
11189
+ SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
11190
+ >
11191
+ ) {
11192
+ const options = { ...defaultOptions, ...baseOptions };
11193
+ return Apollo.useQuery<
11194
+ SchemaTypes.CommunityUserPrivilegesWithParentCommunityQuery,
11195
+ SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
11196
+ >(CommunityUserPrivilegesWithParentCommunityDocument, options);
11197
+ }
11198
+
11199
+ export function useCommunityUserPrivilegesWithParentCommunityLazyQuery(
11200
+ baseOptions?: Apollo.LazyQueryHookOptions<
11201
+ SchemaTypes.CommunityUserPrivilegesWithParentCommunityQuery,
11202
+ SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
11203
+ >
11204
+ ) {
11205
+ const options = { ...defaultOptions, ...baseOptions };
11206
+ return Apollo.useLazyQuery<
11207
+ SchemaTypes.CommunityUserPrivilegesWithParentCommunityQuery,
11208
+ SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
11209
+ >(CommunityUserPrivilegesWithParentCommunityDocument, options);
11210
+ }
11211
+
11212
+ export type CommunityUserPrivilegesWithParentCommunityQueryHookResult = ReturnType<
11213
+ typeof useCommunityUserPrivilegesWithParentCommunityQuery
11214
+ >;
11215
+ export type CommunityUserPrivilegesWithParentCommunityLazyQueryHookResult = ReturnType<
11216
+ typeof useCommunityUserPrivilegesWithParentCommunityLazyQuery
11217
+ >;
11218
+ export type CommunityUserPrivilegesWithParentCommunityQueryResult = Apollo.QueryResult<
11219
+ SchemaTypes.CommunityUserPrivilegesWithParentCommunityQuery,
11220
+ SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
11221
+ >;
11222
+ export function refetchCommunityUserPrivilegesWithParentCommunityQuery(
11223
+ variables: SchemaTypes.CommunityUserPrivilegesWithParentCommunityQueryVariables
11224
+ ) {
11225
+ return { query: CommunityUserPrivilegesWithParentCommunityDocument, variables: variables };
11226
+ }
11227
+
11161
11228
export const CommunityUserPrivilegesDocument = gql`
11162
11229
query communityUserPrivileges($spaceNameId: UUID_NAMEID!, $communityId: UUID!) {
11163
11230
space(ID: $spaceNameId) {
0 commit comments