From 7cddc45e89417fa4c5454f3ecefbe967b1634e2f Mon Sep 17 00:00:00 2001 From: Julia Gru <56249914+julczka@users.noreply.github.com> Date: Mon, 31 Jul 2023 10:02:24 +0200 Subject: [PATCH] correct the type --- .../src/packages/templating/stylesheets/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/index.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/index.ts index 22804ab3ff..9bb36fdd52 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/index.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/index.ts @@ -1,9 +1,7 @@ -import { FileSystemTreeItemPresentationModel } from '@umbraco-cms/backoffice/backend-api'; +import { StylesheetResponseModel } from '@umbraco-cms/backoffice/backend-api'; // TODO: temp until we have a proper stylesheet model -export interface StylesheetDetails extends FileSystemTreeItemPresentationModel { - content: string; -} +export type StylesheetDetails = StylesheetResponseModel; export const STYLESHEET_ENTITY_TYPE = 'stylesheet'; export * from './repository/index.js';