-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
27 lines (23 loc) · 712 Bytes
/
Copy pathtypes.ts
File metadata and controls
27 lines (23 loc) · 712 Bytes
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
import React from 'react';
export interface RobloxSection {
id: string;
name: string;
description: string;
icon: React.FC<React.SVGProps<SVGSVGElement>>;
typicalPromptPlaceholder: string;
}
export interface GeminiResponse { // For single script generation
script: string;
explanation: string;
htmlPreview?: string; // Optional HTML preview for StarterGui
}
// For Universal script generation
export interface UniversalScriptItem {
sectionName: string; // e.g., "ServerScriptService", "StarterGui"
script: string;
explanation: string;
htmlPreview?: string; // Optional HTML preview for StarterGui scripts
}
export interface UniversalGeminiResponse {
scripts: UniversalScriptItem[];
}