refactor(http): move to core package (#4690)
This commit is contained in:
1 parent
a0a11e3570
commit
6f0dbae121
75 files changed
+280
-286
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import type { InferSelectModel } from "drizzle-orm";
|
||||
|
||||
import { createDb } from "../../db";
|
||||
import { schema } from "./db/schema";
|
||||
|
||||
@@ -6,3 +8,5 @@ const db = createDb(schema);
|
||||
export const getTrustedCertificateHostnamesAsync = async () => {
|
||||
return await db.query.trustedCertificateHostnames.findMany();
|
||||
};
|
||||
|
||||
export type TrustedCertificateHostname = InferSelectModel<typeof schema.trustedCertificateHostnames>;
|
||||
Reference in new issue
Block a user