fixed infra
This commit is contained in:
parent
451c169ae6
commit
4b2e782955
0
src/ts/@overflow/infra/redux/action/host_read.ts
Normal file
0
src/ts/@overflow/infra/redux/action/host_read.ts
Normal file
|
@ -1,7 +1,7 @@
|
|||
import Action from '@overflow/commons/redux/Action';
|
||||
import InfraHost from '../..//api/model/InfraHost';
|
||||
|
||||
import InfraHostRegistPayload from '../payload/InfraHostRegistPayload';
|
||||
import HostRegistPayload from '../payload/HostRegistPayload';
|
||||
|
||||
// Action Type
|
||||
export type REQUEST = '@overflow/infraHost/regist/REQUEST';
|
||||
|
@ -13,13 +13,13 @@ export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraHost/regist/REQU
|
|||
export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraHost/regist/REQUEST_FAILURE';
|
||||
|
||||
// Action Creater
|
||||
export type request = (infraHost: InfraHost) => Action<InfraHostRegistPayload>;
|
||||
export type request = (infraHost: InfraHost) => Action<HostRegistPayload>;
|
||||
export type requestSuccess = (infraHost: InfraHost) => Action<InfraHost>;
|
||||
export type requestFailure = (error: Error) => Action;
|
||||
|
||||
|
||||
|
||||
export const request: request = (infraHost: InfraHost): Action<InfraHostRegistPayload> => {
|
||||
export const request: request = (infraHost: InfraHost): Action<HostRegistPayload> => {
|
||||
return {
|
||||
type: REQUEST,
|
||||
payload: {
|
0
src/ts/@overflow/infra/redux/action/machine_read.ts
Normal file
0
src/ts/@overflow/infra/redux/action/machine_read.ts
Normal file
|
@ -1,7 +1,7 @@
|
|||
import Action from '@overflow/commons/redux/Action';
|
||||
import InfraMachine from '../..//api/model/InfraMachine';
|
||||
|
||||
import InfraMachineRegistPayload from '../payload/InfraMachineRegistPayload';
|
||||
import MachineRegistPayload from '../payload/MachineRegistPayload';
|
||||
|
||||
// Action Type
|
||||
export type REQUEST = '@overflow/infraMachine/regist/REQUEST';
|
||||
|
@ -13,13 +13,13 @@ export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/R
|
|||
export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE';
|
||||
|
||||
// Action Creater
|
||||
export type request = (infraMachine: InfraMachine) => Action<InfraMachineRegistPayload>;
|
||||
export type request = (infraMachine: InfraMachine) => Action<MachineRegistPayload>;
|
||||
export type requestSuccess = (infraMachine: InfraMachine) => Action<InfraMachine>;
|
||||
export type requestFailure = (error: Error) => Action;
|
||||
|
||||
|
||||
|
||||
export const request: request = (infraMachine: InfraMachine): Action<InfraMachineRegistPayload> => {
|
||||
export const request: request = (infraMachine: InfraMachine): Action<MachineRegistPayload> => {
|
||||
return {
|
||||
type: REQUEST,
|
||||
payload: {
|
|
@ -1,7 +1,7 @@
|
|||
import Action from '@overflow/commons/redux/Action';
|
||||
import InfraOSApplication from '../..//api/model/InfraOSApplication';
|
||||
|
||||
import InfraOSApplicationRegistPayload from '../payload/InfraOSApplicationRegistPayload';
|
||||
import OSApplicationRegistPayload from '../payload/OSApplicationRegistPayload';
|
||||
|
||||
// Action Type
|
||||
export type REQUEST = '@overflow/infraMachine/regist/REQUEST';
|
||||
|
@ -13,13 +13,13 @@ export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/R
|
|||
export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE';
|
||||
|
||||
// Action Creater
|
||||
export type request = (infraOSApplication: InfraOSApplication) => Action<InfraOSApplicationRegistPayload>;
|
||||
export type request = (infraOSApplication: InfraOSApplication) => Action<OSApplicationRegistPayload>;
|
||||
export type requestSuccess = (infraOSApplication: InfraOSApplication) => Action<InfraOSApplication>;
|
||||
export type requestFailure = (error: Error) => Action;
|
||||
|
||||
|
||||
|
||||
export const request: request = (infraOSApplication: InfraOSApplication): Action<InfraOSApplicationRegistPayload> => {
|
||||
export const request: request = (infraOSApplication: InfraOSApplication): Action<OSApplicationRegistPayload> => {
|
||||
return {
|
||||
type: REQUEST,
|
||||
payload: {
|
|
@ -1,7 +1,7 @@
|
|||
import Action from '@overflow/commons/redux/Action';
|
||||
import InfraOSDaemon from '../..//api/model/InfraOSDaemon';
|
||||
|
||||
import InfraOSDaemonRegistPayload from '../payload/InfraOSDaemonRegistPayload';
|
||||
import OSDaemonRegistPayload from '../payload/OSDaemonRegistPayload';
|
||||
|
||||
// Action Type
|
||||
export type REQUEST = '@overflow/infraMachine/regist/REQUEST';
|
||||
|
@ -13,13 +13,13 @@ export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/R
|
|||
export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE';
|
||||
|
||||
// Action Creater
|
||||
export type request = (infraOSDaemon: InfraOSDaemon) => Action<InfraOSDaemonRegistPayload>;
|
||||
export type request = (infraOSDaemon: InfraOSDaemon) => Action<OSDaemonRegistPayload>;
|
||||
export type requestSuccess = (infraOSDaemon: InfraOSDaemon) => Action<InfraOSDaemon>;
|
||||
export type requestFailure = (error: Error) => Action;
|
||||
|
||||
|
||||
|
||||
export const request: request = (infraOSDaemon: InfraOSDaemon): Action<InfraOSDaemonRegistPayload> => {
|
||||
export const request: request = (infraOSDaemon: InfraOSDaemon): Action<OSDaemonRegistPayload> => {
|
||||
return {
|
||||
type: REQUEST,
|
||||
payload: {
|
0
src/ts/@overflow/infra/redux/action/os_port_read.ts
Normal file
0
src/ts/@overflow/infra/redux/action/os_port_read.ts
Normal file
|
@ -1,7 +1,7 @@
|
|||
import Action from '@overflow/commons/redux/Action';
|
||||
import InfraOSPort from '../..//api/model/InfraOSPort';
|
||||
|
||||
import InfraOSPortRegistPayload from '../payload/InfraOSPortRegistPayload';
|
||||
import OSPortRegistPayload from '../payload/OSPortRegistPayload';
|
||||
|
||||
// Action Type
|
||||
export type REQUEST = '@overflow/infraMachine/regist/REQUEST';
|
||||
|
@ -13,13 +13,13 @@ export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/R
|
|||
export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE';
|
||||
|
||||
// Action Creater
|
||||
export type request = (infraOSPort: InfraOSPort) => Action<InfraOSPortRegistPayload>;
|
||||
export type request = (infraOSPort: InfraOSPort) => Action<OSPortRegistPayload>;
|
||||
export type requestSuccess = (infraOSPort: InfraOSPort) => Action<InfraOSPort>;
|
||||
export type requestFailure = (error: Error) => Action;
|
||||
|
||||
|
||||
|
||||
export const request: request = (infraOSPort: InfraOSPort): Action<InfraOSPortRegistPayload> => {
|
||||
export const request: request = (infraOSPort: InfraOSPort): Action<OSPortRegistPayload> => {
|
||||
return {
|
||||
type: REQUEST,
|
||||
payload: {
|
0
src/ts/@overflow/infra/redux/action/os_read.ts
Normal file
0
src/ts/@overflow/infra/redux/action/os_read.ts
Normal file
|
@ -1,7 +1,7 @@
|
|||
import Action from '@overflow/commons/redux/Action';
|
||||
import InfraOS from '../..//api/model/InfraOS';
|
||||
|
||||
import InfraOSRegistPayload from '../payload/InfraOSRegistPayload';
|
||||
import OSRegistPayload from '../payload/OSRegistPayload';
|
||||
|
||||
// Action Type
|
||||
export type REQUEST = '@overflow/infraMachine/regist/REQUEST';
|
||||
|
@ -13,13 +13,13 @@ export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/R
|
|||
export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE';
|
||||
|
||||
// Action Creater
|
||||
export type request = (infraOS: InfraOS) => Action<InfraOSRegistPayload>;
|
||||
export type request = (infraOS: InfraOS) => Action<OSRegistPayload>;
|
||||
export type requestSuccess = (infraOS: InfraOS) => Action<InfraOS>;
|
||||
export type requestFailure = (error: Error) => Action;
|
||||
|
||||
|
||||
|
||||
export const request: request = (infraOS: InfraOS): Action<InfraOSRegistPayload> => {
|
||||
export const request: request = (infraOS: InfraOS): Action<OSRegistPayload> => {
|
||||
return {
|
||||
type: REQUEST,
|
||||
payload: {
|
0
src/ts/@overflow/infra/redux/action/read.ts
Normal file
0
src/ts/@overflow/infra/redux/action/read.ts
Normal file
|
@ -1,7 +1,7 @@
|
|||
import Action from '@overflow/commons/redux/Action';
|
||||
import Infra from '../..//api/model/Infra';
|
||||
|
||||
import InfraRegistPayload from '../payload/InfraRegistPayload';
|
||||
import RegistPayload from '../payload/RegistPayload';
|
||||
|
||||
// Action Type
|
||||
export type REQUEST = '@overflow/infraMachine/regist/REQUEST';
|
||||
|
@ -13,13 +13,13 @@ export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/R
|
|||
export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE';
|
||||
|
||||
// Action Creater
|
||||
export type request = (infra: Infra) => Action<InfraRegistPayload>;
|
||||
export type request = (infra: Infra) => Action<RegistPayload>;
|
||||
export type requestSuccess = (infra: Infra) => Action<Infra>;
|
||||
export type requestFailure = (error: Error) => Action;
|
||||
|
||||
|
||||
|
||||
export const request: request = (infra: Infra): Action<InfraRegistPayload> => {
|
||||
export const request: request = (infra: Infra): Action<RegistPayload> => {
|
||||
return {
|
||||
type: REQUEST,
|
||||
payload: {
|
0
src/ts/@overflow/infra/redux/action/service_read.ts
Normal file
0
src/ts/@overflow/infra/redux/action/service_read.ts
Normal file
|
@ -1,7 +1,7 @@
|
|||
import Action from '@overflow/commons/redux/Action';
|
||||
import InfraService from '../..//api/model/InfraService';
|
||||
|
||||
import InfraServiceRegistPayload from '../payload/InfraServiceRegistPayload';
|
||||
import ServiceRegistPayload from '../payload/ServiceRegistPayload';
|
||||
|
||||
// Action Type
|
||||
export type REQUEST = '@overflow/infraMachine/regist/REQUEST';
|
||||
|
@ -13,13 +13,13 @@ export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/infraMachine/regist/R
|
|||
export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/infraMachine/regist/REQUEST_FAILURE';
|
||||
|
||||
// Action Creater
|
||||
export type request = (infraService: InfraService) => Action<InfraServiceRegistPayload>;
|
||||
export type request = (infraService: InfraService) => Action<ServiceRegistPayload>;
|
||||
export type requestSuccess = (infraService: InfraService) => Action<InfraService>;
|
||||
export type requestFailure = (error: Error) => Action;
|
||||
|
||||
|
||||
|
||||
export const request: request = (infraService: InfraService): Action<InfraServiceRegistPayload> => {
|
||||
export const request: request = (infraService: InfraService): Action<ServiceRegistPayload> => {
|
||||
return {
|
||||
type: REQUEST,
|
||||
payload: {
|
7
src/ts/@overflow/infra/redux/payload/HostReadPayload.ts
Normal file
7
src/ts/@overflow/infra/redux/payload/HostReadPayload.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
interface HostReadPayload {
|
||||
id: number;
|
||||
}
|
||||
|
||||
export default HostReadPayload;
|
|
@ -1,7 +1,7 @@
|
|||
import InfraHost from '../../api/model/InfraHost';
|
||||
|
||||
interface InfraHostRegistPayload {
|
||||
interface HostRegistPayload {
|
||||
infraHost: InfraHost;
|
||||
}
|
||||
|
||||
export default InfraHostRegistPayload;
|
||||
export default HostRegistPayload;
|
|
@ -1,7 +0,0 @@
|
|||
import Infra from '../../api/model/Infra';
|
||||
|
||||
interface InfraRegistPayload {
|
||||
infra: Infra;
|
||||
}
|
||||
|
||||
export default InfraRegistPayload;
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
interface MachineReadPayload {
|
||||
id: number;
|
||||
}
|
||||
|
||||
export default MachineReadPayload;
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
import InfraMachine from '../../api/model/InfraMachine';
|
||||
|
||||
interface InfraMachineRegistPayload {
|
||||
interface MachineRegistPayload {
|
||||
infraMachine: InfraMachine;
|
||||
}
|
||||
|
||||
export default InfraMachineRegistPayload;
|
||||
export default MachineRegistPayload;
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
interface OSApplicationReadPayload {
|
||||
id: number;
|
||||
}
|
||||
|
||||
export default OSApplicationReadPayload;
|
|
@ -1,7 +1,7 @@
|
|||
import InfraOSApplication from '../../api/model/InfraOSApplication';
|
||||
|
||||
interface InfraOSApplicationRegistPayload {
|
||||
interface OSApplicationRegistPayload {
|
||||
infraOSApplication: InfraOSApplication;
|
||||
}
|
||||
|
||||
export default InfraOSApplicationRegistPayload;
|
||||
export default OSApplicationRegistPayload;
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
interface OSDaemonReadPayload {
|
||||
id: number;
|
||||
}
|
||||
|
||||
export default OSDaemonReadPayload;
|
|
@ -1,7 +1,7 @@
|
|||
import InfraOSDaemon from '../../api/model/InfraOSDaemon';
|
||||
|
||||
interface InfraOSDaemonRegistPayload {
|
||||
interface OSDaemonRegistPayload {
|
||||
infraOSDaemon: InfraOSDaemon;
|
||||
}
|
||||
|
||||
export default InfraOSDaemonRegistPayload;
|
||||
export default OSDaemonRegistPayload;
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
interface OSPortReadPayload {
|
||||
id: number;
|
||||
}
|
||||
|
||||
export default OSPortReadPayload;
|
|
@ -1,7 +1,7 @@
|
|||
import InfraOSPort from '../../api/model/InfraOSPort';
|
||||
|
||||
interface InfraOSPortRegistPayload {
|
||||
interface OSPortRegistPayload {
|
||||
infraOSPort: InfraOSPort;
|
||||
}
|
||||
|
||||
export default InfraOSPortRegistPayload;
|
||||
export default OSPortRegistPayload;
|
7
src/ts/@overflow/infra/redux/payload/OSReadPayload.ts
Normal file
7
src/ts/@overflow/infra/redux/payload/OSReadPayload.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
interface OSReadPayload {
|
||||
id: number;
|
||||
}
|
||||
|
||||
export default OSReadPayload;
|
|
@ -1,7 +1,7 @@
|
|||
import InfraOS from '../../api/model/InfraOS';
|
||||
|
||||
interface InfraOSRegistPayload {
|
||||
interface OSRegistPayload {
|
||||
infraOS: InfraOS;
|
||||
}
|
||||
|
||||
export default InfraOSRegistPayload;
|
||||
export default OSRegistPayload;
|
7
src/ts/@overflow/infra/redux/payload/ReadPayload.ts
Normal file
7
src/ts/@overflow/infra/redux/payload/ReadPayload.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
interface ReadPayload {
|
||||
id: number;
|
||||
}
|
||||
|
||||
export default ReadPayload;
|
7
src/ts/@overflow/infra/redux/payload/RegistPayload.ts
Normal file
7
src/ts/@overflow/infra/redux/payload/RegistPayload.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import Infra from '../../api/model/Infra';
|
||||
|
||||
interface RegistPayload {
|
||||
infra: Infra;
|
||||
}
|
||||
|
||||
export default RegistPayload;
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
interface ServiceReadPayload {
|
||||
id: number;
|
||||
}
|
||||
|
||||
export default ServiceReadPayload;
|
|
@ -1,7 +1,7 @@
|
|||
import InfraService from '../../api/model/InfraService';
|
||||
|
||||
interface InfraServiceRegistPayload {
|
||||
interface ServiceRegistPayload {
|
||||
infraService: InfraService;
|
||||
}
|
||||
|
||||
export default InfraServiceRegistPayload;
|
||||
export default ServiceRegistPayload;
|
0
src/ts/@overflow/infra/redux/reducer/host_read.ts
Normal file
0
src/ts/@overflow/infra/redux/reducer/host_read.ts
Normal file
0
src/ts/@overflow/infra/redux/reducer/os_read.ts
Normal file
0
src/ts/@overflow/infra/redux/reducer/os_read.ts
Normal file
0
src/ts/@overflow/infra/redux/reducer/read.ts
Normal file
0
src/ts/@overflow/infra/redux/reducer/read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/host_read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/host_read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/machine_read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/machine_read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/os_daemon_read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/os_daemon_read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/os_port_read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/os_port_read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/os_read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/os_read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/service_read.ts
Normal file
0
src/ts/@overflow/infra/redux/saga/service_read.ts
Normal file
Loading…
Reference in New Issue
Block a user