Allow multiple project templates to be configured

This commit is contained in:
Alex Gleason committed 2025-12-01 13:20:25 -06:00
1 parent f0c1784288
commit 009142b854
15 files changed
+792 -676

No files matched your search

+11 -2
View File
@@ -9,13 +9,22 @@ export interface RelayMetadata {
updatedAt: number;
}
export interface ProjectTemplate {
/** Template name */
name: string;
/** Template description */
description: string;
/** Git repository URL */
url: string;
}
export interface AppConfig {
/** Current theme */
theme: Theme;
/** NIP-65 relay list metadata */
relayMetadata: RelayMetadata;
/** Git repository URL to use as project template */
projectTemplate: string;
/** Available project templates */
templates: ProjectTemplate[];
/** ESM CDN URL for package imports */
esmUrl: string;
/** HTTP proxy used to bypass CORS for AI and Git operations */