mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-06 04:31:22 +02:00
providers table, create, and edit first pass
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user