From 8516654511923d8b0d2d6e974b35112f40c4b2a8 Mon Sep 17 00:00:00 2001 From: snoop Date: Tue, 4 Jul 2017 18:01:47 +0900 Subject: [PATCH] fixed action type --- .../@overflow/infra/redux/action/host_read.ts | 12 ++++++------ .../infra/redux/action/host_regist.ts | 12 ++++++------ .../infra/redux/action/machine_read.ts | 12 ++++++------ .../infra/redux/action/machine_regist.ts | 12 ++++++------ .../infra/redux/action/os_application_read.ts | 12 ++++++------ .../redux/action/os_application_regist.ts | 12 ++++++------ .../infra/redux/action/os_daemon_read.ts | 12 ++++++------ .../infra/redux/action/os_daemon_regist.ts | 12 ++++++------ .../infra/redux/action/os_port_read.ts | 12 ++++++------ .../infra/redux/action/os_port_regist.ts | 12 ++++++------ src/ts/@overflow/infra/redux/action/os_read.ts | 12 ++++++------ .../@overflow/infra/redux/action/os_regist.ts | 12 ++++++------ src/ts/@overflow/infra/redux/action/read.ts | 12 ++++++------ src/ts/@overflow/infra/redux/action/regist.ts | 12 ++++++------ .../infra/redux/action/service_read.ts | 12 ++++++------ .../infra/redux/action/service_regist.ts | 12 ++++++------ .../api/service/NoAuthProbeService.ts | 6 +++--- .../redux/action/read_all_by_domain.ts | 18 +++++++++--------- .../redux/saga/read_all_by_domain.ts | 4 ++-- 19 files changed, 110 insertions(+), 110 deletions(-) diff --git a/src/ts/@overflow/infra/redux/action/host_read.ts b/src/ts/@overflow/infra/redux/action/host_read.ts index 697d305..bfef34b 100644 --- a/src/ts/@overflow/infra/redux/action/host_read.ts +++ b/src/ts/@overflow/infra/redux/action/host_read.ts @@ -4,13 +4,13 @@ import InfraHost from '../..//api/model/InfraHost'; import HostReadPayload from '../payload/HostReadPayload'; // Action Type -export type REQUEST = '@overflow/infraHost/read/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraHost/read/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraHost/read/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/host_read/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/host_read/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/host_read/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraHost/read/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraHost/read/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraHost/read/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/host_read/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/host_read/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/host_read/REQUEST_FAILURE'; // Action Creater export type request = (id: number) => Action; diff --git a/src/ts/@overflow/infra/redux/action/host_regist.ts b/src/ts/@overflow/infra/redux/action/host_regist.ts index 9ccf0fd..71aa438 100644 --- a/src/ts/@overflow/infra/redux/action/host_regist.ts +++ b/src/ts/@overflow/infra/redux/action/host_regist.ts @@ -4,13 +4,13 @@ import InfraHost from '../..//api/model/InfraHost'; import HostRegistPayload from '../payload/HostRegistPayload'; // Action Type -export type REQUEST = '@overflow/infraHost/regist/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraHost/regist/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraHost/regist/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/host_regist/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/host_regist/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/host_regist/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraHost/regist/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraHost/regist/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraHost/regist/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/host_regist/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/host_regist/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/host_regist/REQUEST_FAILURE'; // Action Creater export type request = (infraHost: InfraHost) => Action; diff --git a/src/ts/@overflow/infra/redux/action/machine_read.ts b/src/ts/@overflow/infra/redux/action/machine_read.ts index 6f47f3d..afa91b5 100644 --- a/src/ts/@overflow/infra/redux/action/machine_read.ts +++ b/src/ts/@overflow/infra/redux/action/machine_read.ts @@ -4,13 +4,13 @@ import InfraMachine from '../..//api/model/InfraMachine'; import MachineReadPayload from '../payload/MachineReadPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/read/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/machine_read/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/machine_read/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/machine_read/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/read/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/machine_read/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/machine_read/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/machine_read/REQUEST_FAILURE'; // Action Creater export type request = (id: number) => Action; diff --git a/src/ts/@overflow/infra/redux/action/machine_regist.ts b/src/ts/@overflow/infra/redux/action/machine_regist.ts index 1220d46..f127a35 100644 --- a/src/ts/@overflow/infra/redux/action/machine_regist.ts +++ b/src/ts/@overflow/infra/redux/action/machine_regist.ts @@ -4,13 +4,13 @@ import InfraMachine from '../..//api/model/InfraMachine'; import MachineRegistPayload from '../payload/MachineRegistPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/machine_regist/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/machine_regist/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/machine_regist/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/machine_regist/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/machine_regist/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/machine_regist/REQUEST_FAILURE'; // Action Creater export type request = (infraMachine: InfraMachine) => Action; diff --git a/src/ts/@overflow/infra/redux/action/os_application_read.ts b/src/ts/@overflow/infra/redux/action/os_application_read.ts index 9a73e2f..371abd9 100644 --- a/src/ts/@overflow/infra/redux/action/os_application_read.ts +++ b/src/ts/@overflow/infra/redux/action/os_application_read.ts @@ -4,13 +4,13 @@ import InfraOSApplication from '../..//api/model/InfraOSApplication'; import OSApplicationReadPayload from '../payload/OSApplicationReadPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/read/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/os_application_read/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/os_application_read/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/os_application_read/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/read/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/os_application_read/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/os_application_read/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/os_application_read/REQUEST_FAILURE'; // Action Creater export type request = (id: number) => Action; diff --git a/src/ts/@overflow/infra/redux/action/os_application_regist.ts b/src/ts/@overflow/infra/redux/action/os_application_regist.ts index c2715d0..61c2fa8 100644 --- a/src/ts/@overflow/infra/redux/action/os_application_regist.ts +++ b/src/ts/@overflow/infra/redux/action/os_application_regist.ts @@ -4,13 +4,13 @@ import InfraOSApplication from '../..//api/model/InfraOSApplication'; import OSApplicationRegistPayload from '../payload/OSApplicationRegistPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/os_application_regist/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/os_application_regist/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/os_application_regist/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/os_application_regist/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/os_application_regist/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/os_application_regist/REQUEST_FAILURE'; // Action Creater export type request = (infraOSApplication: InfraOSApplication) => Action; diff --git a/src/ts/@overflow/infra/redux/action/os_daemon_read.ts b/src/ts/@overflow/infra/redux/action/os_daemon_read.ts index bb9bedd..e64369c 100644 --- a/src/ts/@overflow/infra/redux/action/os_daemon_read.ts +++ b/src/ts/@overflow/infra/redux/action/os_daemon_read.ts @@ -4,13 +4,13 @@ import InfraOSDaemon from '../..//api/model/InfraOSDaemon'; import OSDaemonReadPayload from '../payload/OSDaemonReadPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/read/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/os_daemon_read/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/os_daemon_read/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/os_daemon_read/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/read/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/os_daemon_read/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/os_daemon_read/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/os_daemon_read/REQUEST_FAILURE'; // Action Creater export type request = (id: number) => Action; diff --git a/src/ts/@overflow/infra/redux/action/os_daemon_regist.ts b/src/ts/@overflow/infra/redux/action/os_daemon_regist.ts index e8ed62b..42ce8f8 100644 --- a/src/ts/@overflow/infra/redux/action/os_daemon_regist.ts +++ b/src/ts/@overflow/infra/redux/action/os_daemon_regist.ts @@ -4,13 +4,13 @@ import InfraOSDaemon from '../..//api/model/InfraOSDaemon'; import OSDaemonRegistPayload from '../payload/OSDaemonRegistPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/os_daemon_regist/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/os_daemon_regist/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/os_daemon_regist/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/os_daemon_regist/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/os_daemon_regist/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/os_daemon_regist/REQUEST_FAILURE'; // Action Creater export type request = (infraOSDaemon: InfraOSDaemon) => Action; diff --git a/src/ts/@overflow/infra/redux/action/os_port_read.ts b/src/ts/@overflow/infra/redux/action/os_port_read.ts index 061617a..76dea06 100644 --- a/src/ts/@overflow/infra/redux/action/os_port_read.ts +++ b/src/ts/@overflow/infra/redux/action/os_port_read.ts @@ -4,13 +4,13 @@ import InfraOSPort from '../..//api/model/InfraOSPort'; import OSPortReadPayload from '../payload/OSPortReadPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/read/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/os_port_read/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/os_port_read/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/os_port_read/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/read/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/os_port_read/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/os_port_read/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/os_port_read/REQUEST_FAILURE'; // Action Creater export type request = (id: number) => Action; diff --git a/src/ts/@overflow/infra/redux/action/os_port_regist.ts b/src/ts/@overflow/infra/redux/action/os_port_regist.ts index 32bfc48..10f016c 100644 --- a/src/ts/@overflow/infra/redux/action/os_port_regist.ts +++ b/src/ts/@overflow/infra/redux/action/os_port_regist.ts @@ -4,13 +4,13 @@ import InfraOSPort from '../..//api/model/InfraOSPort'; import OSPortRegistPayload from '../payload/OSPortRegistPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/os_port_regist/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/os_port_regist/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/os_port_regist/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/os_port_regist/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/os_port_regist/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/os_port_regist/REQUEST_FAILURE'; // Action Creater export type request = (infraOSPort: InfraOSPort) => Action; diff --git a/src/ts/@overflow/infra/redux/action/os_read.ts b/src/ts/@overflow/infra/redux/action/os_read.ts index a8b86d7..131a033 100644 --- a/src/ts/@overflow/infra/redux/action/os_read.ts +++ b/src/ts/@overflow/infra/redux/action/os_read.ts @@ -4,13 +4,13 @@ import InfraOS from '../..//api/model/InfraOS'; import OSReadPayload from '../payload/OSReadPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/read/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/os_read/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/os_read/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/os_read/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/read/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/os_read/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/os_read/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/os_read/REQUEST_FAILURE'; // Action Creater export type request = (id: number) => Action; diff --git a/src/ts/@overflow/infra/redux/action/os_regist.ts b/src/ts/@overflow/infra/redux/action/os_regist.ts index 027893e..391043a 100644 --- a/src/ts/@overflow/infra/redux/action/os_regist.ts +++ b/src/ts/@overflow/infra/redux/action/os_regist.ts @@ -4,13 +4,13 @@ import InfraOS from '../..//api/model/InfraOS'; import OSRegistPayload from '../payload/OSRegistPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/os_regist/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/os_regist/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/os_regist/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/os_regist/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/os_regist/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/os_regist/REQUEST_FAILURE'; // Action Creater export type request = (infraOS: InfraOS) => Action; diff --git a/src/ts/@overflow/infra/redux/action/read.ts b/src/ts/@overflow/infra/redux/action/read.ts index d7ab685..d0a0c5e 100644 --- a/src/ts/@overflow/infra/redux/action/read.ts +++ b/src/ts/@overflow/infra/redux/action/read.ts @@ -4,13 +4,13 @@ import Infra from '../..//api/model/Infra'; import ReadPayload from '../payload/ReadPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/read/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/read/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/read/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/read/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/read/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/read/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/read/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/read/REQUEST_FAILURE'; // Action Creater export type request = (id: number) => Action; diff --git a/src/ts/@overflow/infra/redux/action/regist.ts b/src/ts/@overflow/infra/redux/action/regist.ts index 2310c17..9c78c62 100644 --- a/src/ts/@overflow/infra/redux/action/regist.ts +++ b/src/ts/@overflow/infra/redux/action/regist.ts @@ -4,13 +4,13 @@ import Infra from '../..//api/model/Infra'; import RegistPayload from '../payload/RegistPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/regist/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/regist/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/regist/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/regist/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/regist/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/regist/REQUEST_FAILURE'; // Action Creater export type request = (infra: Infra) => Action; diff --git a/src/ts/@overflow/infra/redux/action/service_read.ts b/src/ts/@overflow/infra/redux/action/service_read.ts index 1a2a529..c547617 100644 --- a/src/ts/@overflow/infra/redux/action/service_read.ts +++ b/src/ts/@overflow/infra/redux/action/service_read.ts @@ -4,13 +4,13 @@ import InfraService from '../..//api/model/InfraService'; import ServiceReadPayload from '../payload/ServiceReadPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/read/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/service_read/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/service_read/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/service_read/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/read/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/read/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/read/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/service_read/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/service_read/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/service_read/REQUEST_FAILURE'; // Action Creater export type request = (id: number) => Action; diff --git a/src/ts/@overflow/infra/redux/action/service_regist.ts b/src/ts/@overflow/infra/redux/action/service_regist.ts index 902c53e..b28d716 100644 --- a/src/ts/@overflow/infra/redux/action/service_regist.ts +++ b/src/ts/@overflow/infra/redux/action/service_regist.ts @@ -4,13 +4,13 @@ import InfraService from '../..//api/model/InfraService'; import ServiceRegistPayload from '../payload/ServiceRegistPayload'; // Action Type -export type REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export type REQUEST = '@overflow/infra/service_regist/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/infra/service_regist/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/infra/service_regist/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/infraMachine/regist/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/infra/service_regist/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infra/service_regist/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infra/service_regist/REQUEST_FAILURE'; // Action Creater export type request = (infraService: InfraService) => Action; diff --git a/src/ts/@overflow/noauthprobe/api/service/NoAuthProbeService.ts b/src/ts/@overflow/noauthprobe/api/service/NoAuthProbeService.ts index 1eabf6f..e5b9898 100644 --- a/src/ts/@overflow/noauthprobe/api/service/NoAuthProbeService.ts +++ b/src/ts/@overflow/noauthprobe/api/service/NoAuthProbeService.ts @@ -8,16 +8,16 @@ export class NoAuthProbeService extends Service { super('NoAuthProbeService'); } - public regist(noAuthProbe: NoAuthProbe): void { + public regist(noAuthProbe: NoAuthProbe): NoAuthProbe { return null; } // Todo List - public readAllByDomain(domain: Domain): Promise { + public readAllByDomain(domain: Domain): NoAuthProbe[] { return null; } - public read(id: number): Promise { + public read(id: number): NoAuthProbe { return null; } } diff --git a/src/ts/@overflow/noauthprobe/redux/action/read_all_by_domain.ts b/src/ts/@overflow/noauthprobe/redux/action/read_all_by_domain.ts index e73182c..7262a5b 100644 --- a/src/ts/@overflow/noauthprobe/redux/action/read_all_by_domain.ts +++ b/src/ts/@overflow/noauthprobe/redux/action/read_all_by_domain.ts @@ -5,17 +5,17 @@ import Domain from '@overflow/domain/api/model/Domain'; import ReadAllByDomainPayload from '../payload/ReadAllByDomainPayload'; // Action Type -export type REQUEST = '@overflow/noAuthProbe/readAllByDomain/REQUEST'; -export type REQUEST_SUCCESS = '@overflow/noAuthProbe/readAllByDomain/REQUEST_SUCCESS'; -export type REQUEST_FAILURE = '@overflow/noAuthProbe/readAllByDomain/REQUEST_FAILURE'; +export type REQUEST = '@overflow/noAuthProbe/read_all_by_domain/REQUEST'; +export type REQUEST_SUCCESS = '@overflow/noAuthProbe/read_all_by_domain/REQUEST_SUCCESS'; +export type REQUEST_FAILURE = '@overflow/noAuthProbe/read_all_by_domain/REQUEST_FAILURE'; -export const REQUEST: REQUEST = '@overflow/noAuthProbe/readAllByDomain/REQUEST'; -export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/noAuthProbe/readAllByDomain/REQUEST_SUCCESS'; -export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/noAuthProbe/readAllByDomain/REQUEST_FAILURE'; +export const REQUEST: REQUEST = '@overflow/noAuthProbe/read_all_by_domain/REQUEST'; +export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/noAuthProbe/read_all_by_domain/REQUEST_SUCCESS'; +export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/noAuthProbe/read_all_by_domain/REQUEST_FAILURE'; // Action Creater export type request = (domain: Domain) => Action; -export type requestSuccess = (noAuthProbe: NoAuthProbe) => Action; +export type requestSuccess = (noAuthProbeList: NoAuthProbe[]) => Action; export type requestFailure = (error: Error) => Action; @@ -29,10 +29,10 @@ export const request: request = (domain: Domain): Action }; }; -export const requestSuccess: requestSuccess = (noAuthProbe: NoAuthProbe): Action => { +export const requestSuccess: requestSuccess = (noAuthProbeList: NoAuthProbe[]): Action => { return { type: REQUEST_SUCCESS, - payload: noAuthProbe, + payload: noAuthProbeList, }; }; diff --git a/src/ts/@overflow/noauthprobe/redux/saga/read_all_by_domain.ts b/src/ts/@overflow/noauthprobe/redux/saga/read_all_by_domain.ts index 7a9d67a..0647623 100644 --- a/src/ts/@overflow/noauthprobe/redux/saga/read_all_by_domain.ts +++ b/src/ts/@overflow/noauthprobe/redux/saga/read_all_by_domain.ts @@ -18,12 +18,12 @@ function* readAllByDomain(action: Action): SagaIterator // payload: {sendingRequest: true}, // }); - const retApikey = yield call(AppContext.getService().readAllByDomain, domain); + const noauthProbeList = yield call(AppContext.getService().readAllByDomain, domain); // if (responseBody.token === undefined) { // throw new Error(MESSAGES.UNABLE_TO_FIND_TOKEN_IN_LOGIN_RESPONSE); // } - yield put(ReadActions.requestSuccess(retApikey)); + yield put(ReadActions.requestSuccess(noauthProbeList)); } catch (e) { yield put(ReadActions.requestFailure(e)); } finally {