Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use getnodesbytype
  • Loading branch information
sid597 committed Oct 30, 2025
commit 138425737c7112a564cbe02603d7801e5c710105
4 changes: 1 addition & 3 deletions packages/database/src/lib/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,21 +599,19 @@ export const getAllNodes = async ({
supabase,
spaceId,
author,
ofTypes,
fields = { concepts: CONCEPT_FIELDS, content: CONTENT_FIELDS },
pagination,
}: {
supabase: DGSupabaseClient;
spaceId?: number;
author?: string;
ofTypes?: string[];
fields?: FieldSelection;
pagination?: PaginationOptions;
}): Promise<PConceptFull[]> => {
return getConcepts({
supabase,
spaceId,
scope: { type: "nodes", author, ofTypes },
scope: { type: "nodes", author },
fields,
pagination,
});
Expand Down
Loading