MCPcopy Create free account
hub / github.com/acoyfellow/UserDO / createPost

Method createPost

examples/effect/src/worker.ts:18–20  ·  view source on GitHub ↗
(title: string, content: string)

Source from the content-addressed store, hash-verified

16
17 // Regular async methods (not Effect-based)
18 async createPost(title: string, content: string) {
19 return this.posts.create({ title, content, createdAt: new Date().toISOString() });
20 }
21
22 async listPosts() {
23 return this.posts.orderBy("createdAt", "desc").get();

Callers 1

createPostEffectFunction · 0.45

Calls 1

createMethod · 0.45

Tested by

no test coverage detected