Skip to content

Commit

Permalink
Merge pull request #23 from seemorg/dev
Browse files Browse the repository at this point in the history
bring back use server
  • Loading branch information
ahmedriad1 authored Sep 6, 2024
2 parents ba06c20 + 4ea1cff commit 08c96cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/typesense/author.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use server";

import type { SearchResponse } from "typesense/lib/Typesense/Documents";
import {
type SearchOptions,
Expand Down
2 changes: 2 additions & 0 deletions src/server/typesense/book.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use server";

import type { SearchResponse } from "typesense/lib/Typesense/Documents";
import type { AuthorDocument } from "@/types/author";
import type { BookDocument } from "@/types/book";
Expand Down
2 changes: 2 additions & 0 deletions src/server/typesense/global.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use server";

import { makeSearchRequest } from "@/lib/typesense";
import {
makePagination,
Expand Down

0 comments on commit 08c96cd

Please sign in to comment.