chore: rename blocks to artifacts (#793)
This commit is contained in:
parent
01f589b603
commit
81f909ac3a
41 changed files with 473 additions and 473 deletions
8
artifacts/actions.ts
Normal file
8
artifacts/actions.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
'use server';
|
||||
|
||||
import { getSuggestionsByDocumentId } from '@/lib/db/queries';
|
||||
|
||||
export async function getSuggestions({ documentId }: { documentId: string }) {
|
||||
const suggestions = await getSuggestionsByDocumentId({ documentId });
|
||||
return suggestions ?? [];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue