- Added scanning and metadata tracking for non-markdown files (images, PDFs, videos, code files) - Redesigned drawings editor header with new toolbar layout and dropdown menus - Added file picker dropdown to easily open existing .excalidraw files - Implemented new file creation flow with auto-generated filenames - Added export options menu with PNG/SVG/JSON export variants - Updated proxy config to support vault file access - Adde
35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
import { bootstrapApplication } from '@angular/platform-browser';
|
|
import { provideHttpClient } from '@angular/common/http';
|
|
import { registerLocaleData } from '@angular/common';
|
|
import { LOCALE_ID, provideZonelessChangeDetection, APP_INITIALIZER } from '@angular/core';
|
|
import localeFr from '@angular/common/locales/fr';
|
|
|
|
import { AppComponent } from './src/app.component';
|
|
import { provideViewers } from './src/app/services/file-viewer-registry.service';
|
|
import { initializeRouterLogging } from './src/core/logging/log.router-listener';
|
|
import { initializeVisibilityLogging } from './src/core/logging/log.visibility-listener';
|
|
import '@excalidraw/excalidraw';
|
|
|
|
registerLocaleData(localeFr);
|
|
|
|
bootstrapApplication(AppComponent, {
|
|
providers: [
|
|
provideZonelessChangeDetection(),
|
|
provideHttpClient(),
|
|
{ provide: LOCALE_ID, useValue: 'fr' },
|
|
...provideViewers(),
|
|
{
|
|
provide: APP_INITIALIZER,
|
|
useFactory: initializeRouterLogging,
|
|
multi: true,
|
|
},
|
|
{
|
|
provide: APP_INITIALIZER,
|
|
useFactory: initializeVisibilityLogging,
|
|
multi: true,
|
|
},
|
|
],
|
|
}).catch(err => console.error(err));
|
|
|
|
// AI Studio always uses an `index.tsx` file for all project types.
|