mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
Decouple Site Template images from template name (#7883)
This commit is contained in:
@@ -33,15 +33,11 @@ export type SiteTemplateConfiguration = {
|
||||
meta: SiteTemplatesMetadata;
|
||||
templates: {
|
||||
name: string;
|
||||
id: string;
|
||||
reference: string;
|
||||
}[];
|
||||
};
|
||||
|
||||
export type SiteTemplateResponse = {
|
||||
meta: SiteTemplatesMetadata;
|
||||
templates: Record<string, string>;
|
||||
};
|
||||
|
||||
export type UserSiteTemplate = {
|
||||
title: string;
|
||||
data: string;
|
||||
|
||||
Reference in New Issue
Block a user