MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / createThread

Function createThread

packages/factory/src/create/thread.ts:3–14  ·  view source on GitHub ↗
(
  options?: Partial<threads>
)

Source from the content-addressed store, hash-verified

1import { threads, prisma } from '@linen/database';
2
3export default async function createThread(
4 options?: Partial<threads>
5): Promise<threads> {
6 return prisma.threads.create({
7 data: {
8 sentAt: BigInt(100),
9 lastReplyAt: BigInt(100),
10 channelId: '1',
11 ...options,
12 },
13 });
14}

Callers 9

public.test.tsFile · 0.90
anonymized.test.tsFile · 0.90
private.test.tsFile · 0.90
search.test.tsFile · 0.90
index.test.tsFile · 0.90
createFunction · 0.70

Calls 1

createMethod · 0.45

Tested by

no test coverage detected