( variables: Partial<CreatePostProps>, )
| 1063 | `; |
| 1064 | |
| 1065 | export const createPost = async ( |
| 1066 | variables: Partial<CreatePostProps>, |
| 1067 | ): Promise<Post> => { |
| 1068 | const res = await gqlClient.request(CREATE_POST_MUTATION, variables); |
| 1069 | |
| 1070 | return res.createFreeformPost; |
| 1071 | }; |
| 1072 | |
| 1073 | export const CREATE_POST_IN_MULTIPLE_SOURCES = gql` |
| 1074 | mutation CreatePostInMultipleSources( |
nothing calls this directly
no outgoing calls
no test coverage detected