move type to its own file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { MediaValueType } from '../../property-editors/upload-field/property-editor-ui-upload-field.element.js';
|
||||
import type { MediaValueType } from '../../property-editors/upload-field/types.js';
|
||||
import { TemporaryFileStatus, UmbTemporaryFileManager } from '@umbraco-cms/backoffice/temporary-file';
|
||||
import type { UmbTemporaryFileModel } from '@umbraco-cms/backoffice/temporary-file';
|
||||
import { UmbId } from '@umbraco-cms/backoffice/id';
|
||||
@@ -15,6 +15,7 @@ import {
|
||||
import type { UUIFileDropzoneElement, UUIFileDropzoneEvent } from '@umbraco-cms/backoffice/external/uui';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { UmbChangeEvent } from '@umbraco-cms/backoffice/event';
|
||||
|
||||
import './input-upload-field-file.element.js';
|
||||
|
||||
@customElement('umb-input-upload-field')
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import type { UmbInputUploadFieldElement } from '../../components/input-upload-field/input-upload-field.element.js';
|
||||
import type { MediaValueType } from './types.js';
|
||||
import { html, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import type { UmbPropertyEditorUiElement } from '@umbraco-cms/backoffice/extension-registry';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
@@ -6,10 +7,6 @@ import {
|
||||
UmbPropertyValueChangeEvent,
|
||||
type UmbPropertyEditorConfigCollection,
|
||||
} from '@umbraco-cms/backoffice/property-editor';
|
||||
export interface MediaValueType {
|
||||
temporaryFileId?: string | null;
|
||||
src?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @element umb-property-editor-ui-upload-field
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
export interface MediaValueType {
|
||||
temporaryFileId?: string | null;
|
||||
src?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user