mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-15 15:41:05 +00:00
13 lines
312 B
TypeScript
13 lines
312 B
TypeScript
import { initContract } from '@ts-rest/core';
|
|
import { coreContract } from './core';
|
|
import { supportContract } from './support';
|
|
|
|
const c = initContract();
|
|
|
|
export const fastgptContract = c.router({
|
|
core: coreContract,
|
|
support: supportContract
|
|
});
|
|
|
|
export type FadtGPTContractType = typeof fastgptContract;
|