diff --git a/src/ts/member/redux/action/modify.ts b/src/ts/member/redux/action/modify.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/action/modify.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/action/read.ts b/src/ts/member/redux/action/read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/action/read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/payload/ModifyPayload.ts b/src/ts/member/redux/payload/ModifyPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/payload/ModifyPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/payload/ReadPayload.ts b/src/ts/member/redux/payload/ReadPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/payload/ReadPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/payload/SignoutPayload.ts b/src/ts/member/redux/payload/SignoutPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/payload/SignoutPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/payload/SignupPayload.ts b/src/ts/member/redux/payload/SignupPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/payload/SignupPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/reducer/modify.ts b/src/ts/member/redux/reducer/modify.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/reducer/modify.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/reducer/read.ts b/src/ts/member/redux/reducer/read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/reducer/read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/saga/modify.ts b/src/ts/member/redux/saga/modify.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/saga/modify.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/saga/read.ts b/src/ts/member/redux/saga/read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/saga/read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/saga/signout.ts b/src/ts/member/redux/saga/signout.ts new file mode 100644 index 0000000..d9b2c57 --- /dev/null +++ b/src/ts/member/redux/saga/signout.ts @@ -0,0 +1,27 @@ +import Action from 'commons/redux/Action'; +import Member from 'member/api/model/Member'; + +import SignoutActionTypes from '../action/signout'; +import SigninState, { defaultState as signinDefaultState } from '../state/Signin'; + +export type reducer = (state: SigninState, action: Action) => SigninState; + +export const reducer: reducer = (state: SigninState = signinDefaultState, action: Action): SigninState => { + switch (action.type) { + case SignoutActionTypes.REQUEST_SUCCESS: + { + const aaa: SigninState = { + ...state, + isAuthenticated: true, + }; + + return aaa; + } + case SignoutActionTypes.REQUEST_FAILURE: + { + return state; + } + default: + return state; + } +}; diff --git a/src/ts/member/redux/saga/signup.ts b/src/ts/member/redux/saga/signup.ts new file mode 100644 index 0000000..39a82d9 --- /dev/null +++ b/src/ts/member/redux/saga/signup.ts @@ -0,0 +1,29 @@ +import Action from 'commons/redux/Action'; +import Member from 'member/api/model/Member'; + +import SignupActionTypes from '../action/signup'; +import SignupState, { defaultState as signupDefaultState } from '../state/Signup'; + +export type reducer = (state: SignupState, action: Action) => SignupState; + +export const reducer: reducer = (state: SignupState = signupDefaultState, action: Action): SignupState => { + switch (action.type) { + case SignupActionTypes.REQUEST_SUCCESS: + { + let member = (>action).payload; + + const aaa: SignupState = { + ...state, + isRegistered: true, + }; + + return aaa; + } + case SignupActionTypes.REQUEST_FAILURE: + { + return state; + } + default: + return state; + } +}; diff --git a/src/ts/member/redux/state/Modify.ts b/src/ts/member/redux/state/Modify.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/state/Modify.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/state/Read.ts b/src/ts/member/redux/state/Read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/state/Read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/member/redux/state/Signout.ts b/src/ts/member/redux/state/Signout.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/member/redux/state/Signout.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/redux/action/read.ts b/src/ts/noauthprobe/redux/action/read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/noauthprobe/redux/action/read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/redux/action/read_all_by_sensor.ts b/src/ts/noauthprobe/redux/action/read_all_by_sensor.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/noauthprobe/redux/action/read_all_by_sensor.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/api/_ b/src/ts/noauthprobe/redux/action/regist.ts similarity index 100% rename from src/ts/noauthprobe/api/_ rename to src/ts/noauthprobe/redux/action/regist.ts diff --git a/src/ts/noauthprobe/redux/payload/ReadAllBySensorPayload.ts b/src/ts/noauthprobe/redux/payload/ReadAllBySensorPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/noauthprobe/redux/payload/ReadAllBySensorPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/redux/_ b/src/ts/noauthprobe/redux/payload/ReadPayload.ts similarity index 100% rename from src/ts/noauthprobe/redux/_ rename to src/ts/noauthprobe/redux/payload/ReadPayload.ts diff --git a/src/ts/noauthprobe/redux/payload/RegistPayload.ts b/src/ts/noauthprobe/redux/payload/RegistPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/noauthprobe/redux/payload/RegistPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/redux/reducer/read.ts b/src/ts/noauthprobe/redux/reducer/read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/noauthprobe/redux/reducer/read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/redux/reducer/read_all_by_sensor.ts b/src/ts/noauthprobe/redux/reducer/read_all_by_sensor.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/noauthprobe/redux/reducer/read_all_by_sensor.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/redux/action/_ b/src/ts/noauthprobe/redux/reducer/regist.ts similarity index 100% rename from src/ts/noauthprobe/redux/action/_ rename to src/ts/noauthprobe/redux/reducer/regist.ts diff --git a/src/ts/noauthprobe/redux/saga/read.ts b/src/ts/noauthprobe/redux/saga/read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/noauthprobe/redux/saga/read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/redux/saga/read_all_by_sensor.ts b/src/ts/noauthprobe/redux/saga/read_all_by_sensor.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/noauthprobe/redux/saga/read_all_by_sensor.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/redux/payload/_ b/src/ts/noauthprobe/redux/saga/regist.ts similarity index 100% rename from src/ts/noauthprobe/redux/payload/_ rename to src/ts/noauthprobe/redux/saga/regist.ts diff --git a/src/ts/noauthprobe/redux/state/Read.ts b/src/ts/noauthprobe/redux/state/Read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/noauthprobe/redux/state/Read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/redux/reducer/_ b/src/ts/noauthprobe/redux/state/ReadAllBySensor.ts similarity index 100% rename from src/ts/noauthprobe/redux/reducer/_ rename to src/ts/noauthprobe/redux/state/ReadAllBySensor.ts diff --git a/src/ts/noauthprobe/redux/state/Regist.ts b/src/ts/noauthprobe/redux/state/Regist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/noauthprobe/redux/state/Regist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/redux/saga/_ b/src/ts/probe/redux/action/probe_regist.ts similarity index 100% rename from src/ts/noauthprobe/redux/saga/_ rename to src/ts/probe/redux/action/probe_regist.ts diff --git a/src/ts/probe/redux/action/probe_remove.ts b/src/ts/probe/redux/action/probe_remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/action/probe_remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/action/probe_task_read_all_by_probe.ts b/src/ts/probe/redux/action/probe_task_read_all_by_probe.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/action/probe_task_read_all_by_probe.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/action/probe_task_regist.ts b/src/ts/probe/redux/action/probe_task_regist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/action/probe_task_regist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/noauthprobe/redux/state/_ b/src/ts/probe/redux/payload/ProbeRegistPayload.ts similarity index 100% rename from src/ts/noauthprobe/redux/state/_ rename to src/ts/probe/redux/payload/ProbeRegistPayload.ts diff --git a/src/ts/probe/redux/payload/ProbeRemovePayload.ts b/src/ts/probe/redux/payload/ProbeRemovePayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/payload/ProbeRemovePayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/payload/ProbeTaskReadAllByProbePayload.ts b/src/ts/probe/redux/payload/ProbeTaskReadAllByProbePayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/payload/ProbeTaskReadAllByProbePayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/payload/ProbeTaskRegist.ts b/src/ts/probe/redux/payload/ProbeTaskRegist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/payload/ProbeTaskRegist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/api/_ b/src/ts/probe/redux/reducer/probe_regist.ts similarity index 100% rename from src/ts/probe/api/_ rename to src/ts/probe/redux/reducer/probe_regist.ts diff --git a/src/ts/probe/redux/reducer/probe_remove.ts b/src/ts/probe/redux/reducer/probe_remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/reducer/probe_remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/reducer/probe_task_read_all_by_probe.ts b/src/ts/probe/redux/reducer/probe_task_read_all_by_probe.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/reducer/probe_task_read_all_by_probe.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/reducer/probe_task_regist.ts b/src/ts/probe/redux/reducer/probe_task_regist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/reducer/probe_task_regist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/_ b/src/ts/probe/redux/saga/probe_regist.ts similarity index 100% rename from src/ts/probe/redux/_ rename to src/ts/probe/redux/saga/probe_regist.ts diff --git a/src/ts/probe/redux/saga/probe_remove.ts b/src/ts/probe/redux/saga/probe_remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/saga/probe_remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/saga/probe_task_read_all_by_probe.ts b/src/ts/probe/redux/saga/probe_task_read_all_by_probe.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/saga/probe_task_read_all_by_probe.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/saga/probe_task_regist.ts b/src/ts/probe/redux/saga/probe_task_regist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/saga/probe_task_regist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/action/_ b/src/ts/probe/redux/state/ProbeRegist.ts similarity index 100% rename from src/ts/probe/redux/action/_ rename to src/ts/probe/redux/state/ProbeRegist.ts diff --git a/src/ts/probe/redux/state/ProbeRemove.ts b/src/ts/probe/redux/state/ProbeRemove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/state/ProbeRemove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/state/ProbeTaskReadAllByProbe.ts b/src/ts/probe/redux/state/ProbeTaskReadAllByProbe.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/state/ProbeTaskReadAllByProbe.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/state/ProbeTaskRegist.ts b/src/ts/probe/redux/state/ProbeTaskRegist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/probe/redux/state/ProbeTaskRegist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/action/sensor_item_read.ts b/src/ts/sensor/redux/action/sensor_item_read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/action/sensor_item_read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/action/sensor_item_read_by_sensor.ts b/src/ts/sensor/redux/action/sensor_item_read_by_sensor.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/action/sensor_item_read_by_sensor.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/action/sensor_item_regist.ts b/src/ts/sensor/redux/action/sensor_item_regist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/action/sensor_item_regist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/action/sensor_item_remove.ts b/src/ts/sensor/redux/action/sensor_item_remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/action/sensor_item_remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/action/sensor_read.ts b/src/ts/sensor/redux/action/sensor_read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/action/sensor_read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/action/sensor_read_by_target.ts b/src/ts/sensor/redux/action/sensor_read_by_target.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/action/sensor_read_by_target.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/payload/_ b/src/ts/sensor/redux/action/sensor_regist.ts similarity index 100% rename from src/ts/probe/redux/payload/_ rename to src/ts/sensor/redux/action/sensor_regist.ts diff --git a/src/ts/sensor/redux/action/sensor_remove.ts b/src/ts/sensor/redux/action/sensor_remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/action/sensor_remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/action/sensor_start.ts b/src/ts/sensor/redux/action/sensor_start.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/action/sensor_start.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/action/sensor_stop.ts b/src/ts/sensor/redux/action/sensor_stop.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/action/sensor_stop.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/payload/SensorItemReadBySensorPayload.ts b/src/ts/sensor/redux/payload/SensorItemReadBySensorPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/payload/SensorItemReadBySensorPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/payload/SensorItemReadPayload.ts b/src/ts/sensor/redux/payload/SensorItemReadPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/payload/SensorItemReadPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/payload/SensorItemRegistPayload.ts b/src/ts/sensor/redux/payload/SensorItemRegistPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/payload/SensorItemRegistPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/payload/SensorItemRemovePayload.ts b/src/ts/sensor/redux/payload/SensorItemRemovePayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/payload/SensorItemRemovePayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/reducer/_ b/src/ts/sensor/redux/payload/SensorReadByTargetPayload.ts similarity index 100% rename from src/ts/probe/redux/reducer/_ rename to src/ts/sensor/redux/payload/SensorReadByTargetPayload.ts diff --git a/src/ts/sensor/redux/payload/SensorReadPayload.ts b/src/ts/sensor/redux/payload/SensorReadPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/payload/SensorReadPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/payload/SensorRegistPayload.ts b/src/ts/sensor/redux/payload/SensorRegistPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/payload/SensorRegistPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/payload/SensorRemovePayload.ts b/src/ts/sensor/redux/payload/SensorRemovePayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/payload/SensorRemovePayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/payload/SensorSatartPayload.ts b/src/ts/sensor/redux/payload/SensorSatartPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/payload/SensorSatartPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/payload/SensorStopPayload.ts b/src/ts/sensor/redux/payload/SensorStopPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/payload/SensorStopPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/reducer/sensor_item_read.ts b/src/ts/sensor/redux/reducer/sensor_item_read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/reducer/sensor_item_read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/reducer/sensor_item_read_by_sensor.ts b/src/ts/sensor/redux/reducer/sensor_item_read_by_sensor.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/reducer/sensor_item_read_by_sensor.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/reducer/sensor_item_regist.ts b/src/ts/sensor/redux/reducer/sensor_item_regist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/reducer/sensor_item_regist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/reducer/sensor_item_remove.ts b/src/ts/sensor/redux/reducer/sensor_item_remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/reducer/sensor_item_remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/reducer/sensor_read.ts b/src/ts/sensor/redux/reducer/sensor_read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/reducer/sensor_read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/reducer/sensor_read_by_target.ts b/src/ts/sensor/redux/reducer/sensor_read_by_target.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/reducer/sensor_read_by_target.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/saga/_ b/src/ts/sensor/redux/reducer/sensor_regist.ts similarity index 100% rename from src/ts/probe/redux/saga/_ rename to src/ts/sensor/redux/reducer/sensor_regist.ts diff --git a/src/ts/sensor/redux/reducer/sensor_remove.ts b/src/ts/sensor/redux/reducer/sensor_remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/reducer/sensor_remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/reducer/sensor_start.ts b/src/ts/sensor/redux/reducer/sensor_start.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/reducer/sensor_start.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/reducer/sensor_stop.ts b/src/ts/sensor/redux/reducer/sensor_stop.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/reducer/sensor_stop.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/saga/sensor_item_read.ts b/src/ts/sensor/redux/saga/sensor_item_read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/saga/sensor_item_read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/saga/sensor_item_read_by_sensor.ts b/src/ts/sensor/redux/saga/sensor_item_read_by_sensor.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/saga/sensor_item_read_by_sensor.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/saga/sensor_item_regist.ts b/src/ts/sensor/redux/saga/sensor_item_regist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/saga/sensor_item_regist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/saga/sensor_item_remove.ts b/src/ts/sensor/redux/saga/sensor_item_remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/saga/sensor_item_remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/saga/sensor_read.ts b/src/ts/sensor/redux/saga/sensor_read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/saga/sensor_read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/saga/sensor_read_by_target.ts b/src/ts/sensor/redux/saga/sensor_read_by_target.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/saga/sensor_read_by_target.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/probe/redux/state/_ b/src/ts/sensor/redux/saga/sensor_regist.ts similarity index 100% rename from src/ts/probe/redux/state/_ rename to src/ts/sensor/redux/saga/sensor_regist.ts diff --git a/src/ts/sensor/redux/saga/sensor_remove.ts b/src/ts/sensor/redux/saga/sensor_remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/saga/sensor_remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/saga/sensor_start.ts b/src/ts/sensor/redux/saga/sensor_start.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/saga/sensor_start.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/saga/sensor_stop.ts b/src/ts/sensor/redux/saga/sensor_stop.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/saga/sensor_stop.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/api/_ b/src/ts/sensor/redux/state/SensorItemRead.ts similarity index 100% rename from src/ts/sensor/api/_ rename to src/ts/sensor/redux/state/SensorItemRead.ts diff --git a/src/ts/sensor/redux/state/SensorItemReadBySensor.ts b/src/ts/sensor/redux/state/SensorItemReadBySensor.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/state/SensorItemReadBySensor.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/state/SensorItemRegist.ts b/src/ts/sensor/redux/state/SensorItemRegist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/state/SensorItemRegist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/state/SensorItemRemove.ts b/src/ts/sensor/redux/state/SensorItemRemove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/state/SensorItemRemove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/state/SensorRead.ts b/src/ts/sensor/redux/state/SensorRead.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/state/SensorRead.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/state/SensorRegist.ts b/src/ts/sensor/redux/state/SensorRegist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/state/SensorRegist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/state/SensorRemove.ts b/src/ts/sensor/redux/state/SensorRemove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/state/SensorRemove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/state/SensorStart.ts b/src/ts/sensor/redux/state/SensorStart.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/state/SensorStart.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/state/SensorStop.ts b/src/ts/sensor/redux/state/SensorStop.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/sensor/redux/state/SensorStop.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/state/_ b/src/ts/sensor/redux/state/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/target/api/service/TargetDiscoveryService.ts b/src/ts/target/api/service/TargetDiscoveryService.ts index be0d185..fea0ab3 100644 --- a/src/ts/target/api/service/TargetDiscoveryService.ts +++ b/src/ts/target/api/service/TargetDiscoveryService.ts @@ -1,5 +1,6 @@ import Service from 'commons/api/Service'; import Probe from '../../../probe/api/model/Probe'; +import Host from '../../../discovery/api/model/Host'; export class TargetService extends Service { public constructor() { diff --git a/src/ts/target/redux/_ b/src/ts/target/redux/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/target/redux/action/_ b/src/ts/target/redux/action/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/target/redux/action/read.ts b/src/ts/target/redux/action/read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/action/read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/target/redux/action/readByProbe.ts b/src/ts/target/redux/action/readByProbe.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/action/readByProbe.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/_ b/src/ts/target/redux/action/regist.ts similarity index 100% rename from src/ts/sensor/redux/_ rename to src/ts/target/redux/action/regist.ts diff --git a/src/ts/target/redux/action/remove.ts b/src/ts/target/redux/action/remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/action/remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/target/redux/payload/ReadByProbePayload.ts b/src/ts/target/redux/payload/ReadByProbePayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/payload/ReadByProbePayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/action/_ b/src/ts/target/redux/payload/ReadPayload.ts similarity index 100% rename from src/ts/sensor/redux/action/_ rename to src/ts/target/redux/payload/ReadPayload.ts diff --git a/src/ts/target/redux/payload/RegistPayload.ts b/src/ts/target/redux/payload/RegistPayload.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/payload/RegistPayload.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/target/redux/payload/Remove.ts b/src/ts/target/redux/payload/Remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/payload/Remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/target/redux/payload/_ b/src/ts/target/redux/payload/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/target/redux/reducer/_ b/src/ts/target/redux/reducer/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/target/redux/reducer/read.ts b/src/ts/target/redux/reducer/read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/reducer/read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/payload/_ b/src/ts/target/redux/reducer/read_by_probe.ts similarity index 100% rename from src/ts/sensor/redux/payload/_ rename to src/ts/target/redux/reducer/read_by_probe.ts diff --git a/src/ts/target/redux/reducer/regist.ts b/src/ts/target/redux/reducer/regist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/reducer/regist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/target/redux/reducer/remove.ts b/src/ts/target/redux/reducer/remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/reducer/remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/target/redux/saga/_ b/src/ts/target/redux/saga/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/target/redux/saga/read.ts b/src/ts/target/redux/saga/read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/saga/read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/target/redux/saga/read_by_probe.ts b/src/ts/target/redux/saga/read_by_probe.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/saga/read_by_probe.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/reducer/_ b/src/ts/target/redux/saga/regist.ts similarity index 100% rename from src/ts/sensor/redux/reducer/_ rename to src/ts/target/redux/saga/regist.ts diff --git a/src/ts/target/redux/saga/remove.ts b/src/ts/target/redux/saga/remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/saga/remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/target/redux/state/Read.ts b/src/ts/target/redux/state/Read.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/state/Read.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/sensor/redux/saga/_ b/src/ts/target/redux/state/ReadByProbe.ts similarity index 100% rename from src/ts/sensor/redux/saga/_ rename to src/ts/target/redux/state/ReadByProbe.ts diff --git a/src/ts/target/redux/state/Regist.ts b/src/ts/target/redux/state/Regist.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/state/Regist.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/target/redux/state/Remove.ts b/src/ts/target/redux/state/Remove.ts new file mode 100644 index 0000000..5c15c15 --- /dev/null +++ b/src/ts/target/redux/state/Remove.ts @@ -0,0 +1,3 @@ +/** + * Created by geek on 17. 7. 3. + */ diff --git a/src/ts/target/redux/state/_ b/src/ts/target/redux/state/_ deleted file mode 100644 index e69de29..0000000