Spaces:
Build error
Build error
File size: 885 Bytes
6899f04 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
import type React from 'react';
import { CHROME_VIEW_IDS } from './constants.ts';
export type ChromeViewType = typeof CHROME_VIEW_IDS[number];
export type FeatureId = string;
export interface Feature {
id: FeatureId;
name: string;
description: string;
icon: React.ReactNode;
category: string;
component: React.FC<any>;
aiConfig?: {
model: string;
systemInstruction?: string;
};
}
export type ViewType = FeatureId | ChromeViewType;
export interface GeneratedFile {
filePath: string;
content: string;
description: string;
}
export interface SidebarItem {
id: string;
label: string;
icon: React.ReactNode;
view: ViewType;
props?: any;
action?: () => void;
}
export interface StructuredPrSummary {
title: string;
summary: string;
changes: string[];
}
export interface User {
name: string;
email: string;
picture: string;
} |