- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
34 lines
2.4 KiB
TypeScript
34 lines
2.4 KiB
TypeScript
import { FileItem, MenuItem } from './types';
|
|
|
|
export const MOCK_FILES: FileItem[] = [
|
|
{ id: '1', name: 'Q3_Financial_Report.xlsx', type: 'xlsx', date: '2023-10-24', size: '2.4 MB', tags: ['finance', 'report', 'q3'] },
|
|
{ id: '2', name: 'Project_Alpha_Overview.pptx', type: 'pptx', date: '2023-10-22', size: '15 MB', tags: ['project', 'alpha', 'presentation'] },
|
|
{ id: '3', name: 'Employee_Handbook_2024.pdf', type: 'pdf', date: '2023-11-01', size: '4.1 MB', tags: ['hr', 'policy'] },
|
|
{ id: '4', name: 'Marketing_Strategy_Draft.docx', type: 'docx', date: '2023-10-28', size: '1.2 MB', tags: ['marketing', 'draft'] },
|
|
{ id: '5', name: 'Engineering_Sync_Notes.docx', type: 'docx', date: '2023-11-05', size: '0.5 MB', tags: ['engineering', 'meeting'] },
|
|
{ id: '6', name: 'Q4_Projections.xlsx', type: 'xlsx', date: '2023-11-02', size: '1.8 MB', tags: ['finance', 'forecast'] },
|
|
{ id: '7', name: 'Client_List_APAC.xlsx', type: 'xlsx', date: '2023-09-15', size: '3.2 MB', tags: ['sales', 'apac'] },
|
|
{ id: '8', name: 'Logo_Assets.folder', type: 'folder', date: '2023-08-10', size: '--', tags: ['design', 'brand'] },
|
|
];
|
|
|
|
export const MOCK_MENU: MenuItem[] = [
|
|
{ id: 'dashboard', label: 'Dashboard', icon: 'LayoutDashboard', active: true },
|
|
{ id: 'files', label: 'My Files', icon: 'FolderOpen', active: false },
|
|
{ id: 'analytics', label: 'Analytics', icon: 'BarChart3', active: false },
|
|
{ id: 'settings', label: 'Settings', icon: 'Settings', active: false },
|
|
{ id: 'team', label: 'Team Directory', icon: 'Users', active: false },
|
|
{ id: 'calendar', label: 'Calendar', icon: 'Calendar', active: false },
|
|
];
|
|
|
|
export const SYSTEM_INSTRUCTION = `
|
|
You are "Sam", an intelligent and helpful corporate AI assistant.
|
|
Your goal is to help the user navigate the company dashboard and find work files efficiently.
|
|
You have access to tools that can control the UI.
|
|
|
|
1. If the user asks to see a specific page or menu (e.g., "Go to settings", "Show me analytics"), use the 'navigateToPage' tool.
|
|
2. If the user asks to find a file (e.g., "Find the financial report", "Search for marketing drafts"), use the 'searchDocuments' tool with their query.
|
|
3. Be concise, professional, but friendly.
|
|
4. You can speak Korean if the user speaks Korean. (한국어로 대답해 주세요).
|
|
5. If you perform an action, briefly confirm it verbally (e.g., "Opening Settings for you," or "Here are the files related to finance.").
|
|
`;
|