fixed action type

This commit is contained in:
snoop 2017-07-04 18:01:47 +09:00
parent 4d96fb8d44
commit 8516654511
19 changed files with 110 additions and 110 deletions

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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;
}
}

View File

@ -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,
};
};

View File

@ -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 {