MCPcopy Create free account
hub / github.com/dailydotdev/apps / createPost

Function createPost

packages/shared/src/graphql/posts.ts:1065–1071  ·  view source on GitHub ↗
(
  variables: Partial<CreatePostProps>,
)

Source from the content-addressed store, hash-verified

1063`;
1064
1065export 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
1073export const CREATE_POST_IN_MULTIPLE_SOURCES = gql`
1074 mutation CreatePostInMultipleSources(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected