Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

395 B
Raw Blame
import type { InferSelectModel } from "drizzle-orm";

import { createDb } from "../../db";
import { schema } from "./db/schema";

const db = createDb(schema);

export const getTrustedCertificateHostnamesAsync = async () => {
  return await db.query.trustedCertificateHostnames.findMany();
};

export type TrustedCertificateHostname = InferSelectModel<typeof schema.trustedCertificateHostnames>;