refactor git provider and site structures
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import { ComponentType } from './component';
|
||||
|
||||
export interface LLMGenerateRequest {
|
||||
prompt: string;
|
||||
siteId: string;
|
||||
@@ -37,15 +35,7 @@ export interface PageStructure {
|
||||
seoTitle?: string;
|
||||
seoDescription?: string;
|
||||
orderIndex: number;
|
||||
components: ComponentStructure[];
|
||||
}
|
||||
|
||||
export interface ComponentStructure {
|
||||
id?: string;
|
||||
type: ComponentType;
|
||||
orderIndex: number;
|
||||
config: Record<string, unknown>;
|
||||
styles: Record<string, unknown>;
|
||||
rawHtml?: string;
|
||||
}
|
||||
|
||||
export interface TokenUsage {
|
||||
|
||||
Reference in New Issue
Block a user