main
|
Last change
on this file since 37bcb87 was 1ebac59, checked in by Tome <gjorgievtome@…>, 7 months ago |
|
add schema and queries
|
-
Property mode
set to
100644
|
|
File size:
427 bytes
|
| Rev | Line | |
|---|
| [1ebac59] | 1 | import type { Database } from "../db";
|
|---|
| 2 | import { componentsTable, suggestionsTable } from "../schema";
|
|---|
| 3 |
|
|---|
| 4 | export async function getComponentSuggestions(db: Database) {
|
|---|
| 5 |
|
|---|
| 6 | }
|
|---|
| 7 |
|
|---|
| 8 | export async function setComponentSuggestionStatus(db: Database, suggestionId: number, status: string, adminComment: string) {
|
|---|
| 9 |
|
|---|
| 10 | }
|
|---|
| 11 |
|
|---|
| 12 | export 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.