Improve file and directory structure

[MAILPOET-4454]
This commit is contained in:
Jan Jakes
2022-06-29 13:29:08 +02:00
committed by Jan Jakeš
parent a78f31d165
commit 138444fccb
8 changed files with 12 additions and 12 deletions

View File

@@ -1,5 +0,0 @@
export * from './Edit';
export * from './More';
export * from './Name';
export * from './Status';
export * from './Subscribers';

View File

@@ -1,5 +1,5 @@
import { __ } from '@wordpress/i18n';
import { Workflow } from '../workflow';
import { Workflow } from '../../workflow';
type Props = {
workflow: Workflow;

View File

@@ -0,0 +1,5 @@
export * from './edit';
export * from './more';
export * from './name';
export * from './status';
export * from './subscribers';

View File

@@ -1,6 +1,6 @@
import { EllipsisMenu, MenuItem } from '@woocommerce/components';
import { __ } from '@wordpress/i18n';
import { Workflow } from '../workflow';
import { Workflow } from '../../workflow';
type Props = {
workflow: Workflow;

View File

@@ -1,5 +1,5 @@
import { Edit } from './Edit';
import { Workflow } from '../workflow';
import { Edit } from './edit';
import { Workflow } from '../../workflow';
type Props = {
workflow: Workflow;

View File

@@ -1,7 +1,7 @@
import { useState } from 'react';
import { __ } from '@wordpress/i18n';
import { ToggleControl } from '@wordpress/components';
import { Workflow, WorkflowStatus } from '../workflow';
import { Workflow, WorkflowStatus } from '../../workflow';
type Props = {
workflow: Workflow;

View File

@@ -1,4 +1,4 @@
import { Workflow } from '../workflow';
import { Workflow } from '../../workflow';
type Props = {
workflow: Workflow;

View File

@@ -1,5 +1,5 @@
import { Workflow } from './workflow';
import { Edit, More, Name, Status, Subscribers } from './cells';
import { Edit, More, Name, Status, Subscribers } from './components/cells';
export function getRow(workflow: Workflow): object[] {
return [