source: database/drizzle/queries/components.ts@ 0d447f6

main
Last change on this file since 0d447f6 was 1ebac59, checked in by Tome <gjorgievtome@…>, 7 months ago

add schema and queries

  • Property mode set to 100644
File size: 427 bytes
Line 
1import type { Database } from "../db";
2import { componentsTable, suggestionsTable } from "../schema";
3
4export async function getComponentSuggestions(db: Database) {
5
6}
7
8export async function setComponentSuggestionStatus(db: Database, suggestionId: number, status: string, adminComment: string) {
9
10}
11
12export async function getAllComponents(db: Database, componentType?: string, q?: string, page?: number, pageSize?: number) {
13
14}
Note: See TracBrowser for help on using the repository browser.