Improve file and directory structure
[MAILPOET-4454]
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
export * from './Edit';
|
|
||||||
export * from './More';
|
|
||||||
export * from './Name';
|
|
||||||
export * from './Status';
|
|
||||||
export * from './Subscribers';
|
|
@@ -1,5 +1,5 @@
|
|||||||
import { __ } from '@wordpress/i18n';
|
import { __ } from '@wordpress/i18n';
|
||||||
import { Workflow } from '../workflow';
|
import { Workflow } from '../../workflow';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
workflow: Workflow;
|
workflow: Workflow;
|
@@ -0,0 +1,5 @@
|
|||||||
|
export * from './edit';
|
||||||
|
export * from './more';
|
||||||
|
export * from './name';
|
||||||
|
export * from './status';
|
||||||
|
export * from './subscribers';
|
@@ -1,6 +1,6 @@
|
|||||||
import { EllipsisMenu, MenuItem } from '@woocommerce/components';
|
import { EllipsisMenu, MenuItem } from '@woocommerce/components';
|
||||||
import { __ } from '@wordpress/i18n';
|
import { __ } from '@wordpress/i18n';
|
||||||
import { Workflow } from '../workflow';
|
import { Workflow } from '../../workflow';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
workflow: Workflow;
|
workflow: Workflow;
|
@@ -1,5 +1,5 @@
|
|||||||
import { Edit } from './Edit';
|
import { Edit } from './edit';
|
||||||
import { Workflow } from '../workflow';
|
import { Workflow } from '../../workflow';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
workflow: Workflow;
|
workflow: Workflow;
|
@@ -1,7 +1,7 @@
|
|||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { __ } from '@wordpress/i18n';
|
import { __ } from '@wordpress/i18n';
|
||||||
import { ToggleControl } from '@wordpress/components';
|
import { ToggleControl } from '@wordpress/components';
|
||||||
import { Workflow, WorkflowStatus } from '../workflow';
|
import { Workflow, WorkflowStatus } from '../../workflow';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
workflow: Workflow;
|
workflow: Workflow;
|
@@ -1,4 +1,4 @@
|
|||||||
import { Workflow } from '../workflow';
|
import { Workflow } from '../../workflow';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
workflow: Workflow;
|
workflow: Workflow;
|
@@ -1,5 +1,5 @@
|
|||||||
import { Workflow } from './workflow';
|
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[] {
|
export function getRow(workflow: Workflow): object[] {
|
||||||
return [
|
return [
|
||||||
|
Reference in New Issue
Block a user