add missing changes

This commit is contained in:
Julia Gru
2023-09-04 12:16:01 +02:00
committed by Jacob Overgaard
parent 0eb62cb0cb
commit b769d9e77b
2 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,8 @@
import { ManifestRepository, ManifestStore, ManifestTreeStore } from '@umbraco-cms/backoffice/extension-registry';
import { SCRIPTS_REPOSITORY_ALIAS } from '../config.js';
import { UmbScriptsRepository } from './scripts.repository.js';
import { UmbScriptsStore } from './scripts.store.js';
import { UmbScriptsTreeStore } from './scripts.tree.store.js';
import { ManifestRepository, ManifestStore, ManifestTreeStore } from '@umbraco-cms/backoffice/extension-registry';
const repository: ManifestRepository = {
type: 'repository',

View File

@@ -3,7 +3,7 @@ import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
import { UmbFileSystemTreeStore } from '@umbraco-cms/backoffice/store';
import type { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
export const UMB_SCRIPTS_TREE_STORE_CONTEXT_TOKEN = new UmbContextToken<UmbPartialViewsTreeStore>(
export const UMB_SCRIPTS_TREE_STORE_CONTEXT_TOKEN = new UmbContextToken<UmbScriptsTreeStore>(
UMB_SCRIPTS_TREE_STORE_CONTEXT_TOKEN_ALIAS,
);
@@ -14,7 +14,7 @@ export const UMB_SCRIPTS_TREE_STORE_CONTEXT_TOKEN = new UmbContextToken<UmbParti
* @class UmbPartialViewsTreeStore
* @extends {UmbEntityTreeStore}
*/
export class UmbPartialViewsTreeStore extends UmbFileSystemTreeStore {
export class UmbScriptsTreeStore extends UmbFileSystemTreeStore {
/**
* Creates an instance of UmbPartialViewsTreeStore.
* @param {UmbControllerHostInterface} host