fixed action type
This commit is contained in:
parent
4d96fb8d44
commit
8516654511
|
@ -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<HostReadPayload>;
|
||||
|
|
|
@ -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<HostRegistPayload>;
|
||||
|
|
|
@ -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<MachineReadPayload>;
|
||||
|
|
|
@ -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<MachineRegistPayload>;
|
||||
|
|
|
@ -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<OSApplicationReadPayload>;
|
||||
|
|
|
@ -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<OSApplicationRegistPayload>;
|
||||
|
|
|
@ -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<OSDaemonReadPayload>;
|
||||
|
|
|
@ -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<OSDaemonRegistPayload>;
|
||||
|
|
|
@ -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<OSPortReadPayload>;
|
||||
|
|
|
@ -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<OSPortRegistPayload>;
|
||||
|
|
|
@ -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<OSReadPayload>;
|
||||
|
|
|
@ -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<OSRegistPayload>;
|
||||
|
|
|
@ -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<ReadPayload>;
|
||||
|
|
|
@ -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<RegistPayload>;
|
||||
|
|
|
@ -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<ServiceReadPayload>;
|
||||
|
|
|
@ -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<ServiceRegistPayload>;
|
||||
|
|
|
@ -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<NoAuthProbe>
|
||||
public readAllByDomain(domain: Domain): Promise<NoAuthProbe> {
|
||||
public readAllByDomain(domain: Domain): NoAuthProbe[] {
|
||||
return null;
|
||||
}
|
||||
|
||||
public read(id: number): Promise<NoAuthProbe> {
|
||||
public read(id: number): NoAuthProbe {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<ReadAllByDomainPayload>;
|
||||
export type requestSuccess = (noAuthProbe: NoAuthProbe) => Action<NoAuthProbe>;
|
||||
export type requestSuccess = (noAuthProbeList: NoAuthProbe[]) => Action<NoAuthProbe[]>;
|
||||
export type requestFailure = (error: Error) => Action;
|
||||
|
||||
|
||||
|
@ -29,10 +29,10 @@ export const request: request = (domain: Domain): Action<ReadAllByDomainPayload>
|
|||
};
|
||||
};
|
||||
|
||||
export const requestSuccess: requestSuccess = (noAuthProbe: NoAuthProbe): Action<NoAuthProbe> => {
|
||||
export const requestSuccess: requestSuccess = (noAuthProbeList: NoAuthProbe[]): Action<NoAuthProbe[]> => {
|
||||
return {
|
||||
type: REQUEST_SUCCESS,
|
||||
payload: noAuthProbe,
|
||||
payload: noAuthProbeList,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -18,12 +18,12 @@ function* readAllByDomain(action: Action<ReadAllByDomainPayload>): SagaIterator
|
|||
// payload: {sendingRequest: true},
|
||||
// });
|
||||
|
||||
const retApikey = yield call(AppContext.getService<NoAuthProbeService>().readAllByDomain, domain);
|
||||
const noauthProbeList = yield call(AppContext.getService<NoAuthProbeService>().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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user