refactor: repartition server-side and client-side code
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { ModelInfo } from '~/lib/modules/llm/types';
|
||||
import type { ModelInfo } from '~/.server/modules/llm/types';
|
||||
|
||||
export type ProviderInfo = {
|
||||
staticModels: ModelInfo[];
|
||||
|
||||
9
app/types/pages.ts
Normal file
9
app/types/pages.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { Page, Section } from '~/types/actions';
|
||||
|
||||
export type PageSection = Section & {
|
||||
validRootDomId?: boolean;
|
||||
};
|
||||
|
||||
export type PageMap = Record<string, Page | undefined>;
|
||||
|
||||
export type SectionMap = Record<string, PageSection | undefined>;
|
||||
Reference in New Issue
Block a user