providers table, create, and edit first pass

This commit is contained in:
miloschwartz
2026-08-03 10:36:42 -04:00
committed by Owen
parent 1a644b131d
commit b0edc6302e
16 changed files with 2141 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import { createContext } from "react";
import type { AiProviderPublic } from "@server/routers/aiProvider/types";
export type AiProviderContextType = {
provider: AiProviderPublic;
updateProvider: (updated: Partial<AiProviderPublic>) => void;
};
const AiProviderContext = createContext<AiProviderContextType | undefined>(
undefined
);
export default AiProviderContext;