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

Function createPost

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

Source from the content-addressed store, hash-verified

1065`;
1066
1067export const createPost = async (
1068 variables: Partial<CreatePostProps>,
1069): Promise<Post> => {
1070 const res = await gqlClient.request(CREATE_POST_MUTATION, variables);
1071
1072 return res.createFreeformPost;
1073};
1074
1075export const CREATE_POST_IN_MULTIPLE_SOURCES = gql`
1076 mutation CreatePostInMultipleSources(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected