-
-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1539 from MyCryptoHQ/develop
1.0.0 RC
- Loading branch information
Showing
227 changed files
with
20,904 additions
and
1,149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,4 +58,7 @@ v8-compile-cache-0/ | |
package-lock.json | ||
|
||
# Favicon cache | ||
.wwp-cache | ||
.wwp-cache | ||
|
||
# MacOSX | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
import { | ||
SetTimeBountyFieldAction, | ||
SetWindowSizeFieldAction, | ||
SetWindowStartFieldAction, | ||
SetScheduleTimestampFieldAction, | ||
SetScheduleTypeAction, | ||
SetSchedulingToggleAction, | ||
SetScheduleTimezoneAction, | ||
SetScheduleGasPriceFieldAction, | ||
SetScheduleGasLimitFieldAction, | ||
SetScheduleDepositFieldAction, | ||
SetScheduleParamsValidityAction | ||
} from '../actionTypes'; | ||
import { TypeKeys } from 'actions/schedule/constants'; | ||
|
||
type TSetTimeBountyField = typeof setTimeBountyField; | ||
const setTimeBountyField = ( | ||
payload: SetTimeBountyFieldAction['payload'] | ||
): SetTimeBountyFieldAction => ({ | ||
type: TypeKeys.TIME_BOUNTY_FIELD_SET, | ||
payload | ||
}); | ||
|
||
type TSetWindowSizeField = typeof setWindowSizeField; | ||
const setWindowSizeField = ( | ||
payload: SetWindowSizeFieldAction['payload'] | ||
): SetWindowSizeFieldAction => ({ | ||
type: TypeKeys.WINDOW_SIZE_FIELD_SET, | ||
payload | ||
}); | ||
|
||
type TSetWindowStartField = typeof setWindowStartField; | ||
const setWindowStartField = ( | ||
payload: SetWindowStartFieldAction['payload'] | ||
): SetWindowStartFieldAction => ({ | ||
type: TypeKeys.WINDOW_START_FIELD_SET, | ||
payload | ||
}); | ||
|
||
type TSetScheduleTimestampField = typeof setScheduleTimestampField; | ||
const setScheduleTimestampField = ( | ||
payload: SetScheduleTimestampFieldAction['payload'] | ||
): SetScheduleTimestampFieldAction => ({ | ||
type: TypeKeys.SCHEDULE_TIMESTAMP_FIELD_SET, | ||
payload | ||
}); | ||
|
||
type TSetScheduleType = typeof setScheduleType; | ||
const setScheduleType = (payload: SetScheduleTypeAction['payload']): SetScheduleTypeAction => ({ | ||
type: TypeKeys.SCHEDULE_TYPE_SET, | ||
payload | ||
}); | ||
|
||
type TSetSchedulingToggle = typeof setSchedulingToggle; | ||
const setSchedulingToggle = ( | ||
payload: SetSchedulingToggleAction['payload'] | ||
): SetSchedulingToggleAction => ({ | ||
type: TypeKeys.SCHEDULING_TOGGLE_SET, | ||
payload | ||
}); | ||
|
||
type TSetScheduleTimezone = typeof setScheduleTimezone; | ||
const setScheduleTimezone = ( | ||
payload: SetScheduleTimezoneAction['payload'] | ||
): SetScheduleTimezoneAction => ({ | ||
type: TypeKeys.SCHEDULE_TIMEZONE_SET, | ||
payload | ||
}); | ||
|
||
type TSetScheduleGasPriceField = typeof setScheduleGasPriceField; | ||
const setScheduleGasPriceField = (payload: SetScheduleGasPriceFieldAction['payload']) => ({ | ||
type: TypeKeys.SCHEDULE_GAS_PRICE_FIELD_SET, | ||
payload | ||
}); | ||
|
||
type TSetScheduleGasLimitField = typeof setScheduleGasLimitField; | ||
const setScheduleGasLimitField = (payload: SetScheduleGasLimitFieldAction['payload']) => ({ | ||
type: TypeKeys.SCHEDULE_GAS_LIMIT_FIELD_SET, | ||
payload | ||
}); | ||
|
||
type TSetScheduleDepositField = typeof setScheduleDepositField; | ||
const setScheduleDepositField = (payload: SetScheduleDepositFieldAction['payload']) => ({ | ||
type: TypeKeys.SCHEDULE_DEPOSIT_FIELD_SET, | ||
payload | ||
}); | ||
|
||
type TSetScheduleParamsValidity = typeof setScheduleParamsValidity; | ||
const setScheduleParamsValidity = (payload: SetScheduleParamsValidityAction['payload']) => ({ | ||
type: TypeKeys.SCHEDULE_PARAMS_VALIDITY_SET, | ||
payload | ||
}); | ||
|
||
export { | ||
TSetWindowSizeField, | ||
TSetWindowStartField, | ||
TSetTimeBountyField, | ||
TSetScheduleTimestampField, | ||
TSetScheduleType, | ||
TSetSchedulingToggle, | ||
TSetScheduleTimezone, | ||
TSetScheduleGasPriceField, | ||
TSetScheduleGasLimitField, | ||
TSetScheduleDepositField, | ||
TSetScheduleParamsValidity, | ||
setTimeBountyField, | ||
setWindowSizeField, | ||
setWindowStartField, | ||
setScheduleTimestampField, | ||
setScheduleType, | ||
setSchedulingToggle, | ||
setScheduleTimezone, | ||
setScheduleGasPriceField, | ||
setScheduleGasLimitField, | ||
setScheduleDepositField, | ||
setScheduleParamsValidity | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export * from './fields'; | ||
export * from './scheduleTimestamp'; | ||
export * from './scheduleType'; | ||
export * from './schedulingToggle'; | ||
export * from './timeBounty'; | ||
export * from './windowSize'; | ||
export * from './windowStart'; |
21 changes: 21 additions & 0 deletions
21
common/actions/schedule/actionCreators/scheduleTimestamp.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { TypeKeys } from 'actions/schedule'; | ||
import { | ||
SetCurrentScheduleTimestampAction, | ||
SetCurrentScheduleTimezoneAction | ||
} from '../actionTypes/scheduleTimestamp'; | ||
|
||
export type TSetCurrentScheduleTimestamp = typeof setCurrentScheduleTimestamp; | ||
export const setCurrentScheduleTimestamp = ( | ||
payload: SetCurrentScheduleTimestampAction['payload'] | ||
): SetCurrentScheduleTimestampAction => ({ | ||
type: TypeKeys.CURRENT_SCHEDULE_TIMESTAMP_SET, | ||
payload | ||
}); | ||
|
||
export type TSetCurrentScheduleTimezone = typeof setCurrentScheduleTimezone; | ||
export const setCurrentScheduleTimezone = ( | ||
payload: SetCurrentScheduleTimezoneAction['payload'] | ||
): SetCurrentScheduleTimezoneAction => ({ | ||
type: TypeKeys.CURRENT_SCHEDULE_TIMEZONE_SET, | ||
payload | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { TypeKeys } from 'actions/schedule'; | ||
import { SetCurrentScheduleTypeAction } from '../actionTypes/scheduleType'; | ||
|
||
export type TSetCurrentScheduleType = typeof setCurrentScheduleType; | ||
export const setCurrentScheduleType = ( | ||
payload: SetCurrentScheduleTypeAction['payload'] | ||
): SetCurrentScheduleTypeAction => ({ | ||
type: TypeKeys.CURRENT_SCHEDULE_TYPE, | ||
payload | ||
}); |
12 changes: 12 additions & 0 deletions
12
common/actions/schedule/actionCreators/schedulingToggle.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { SetCurrentSchedulingToggleAction } from '../actionTypes/schedulingToggle'; | ||
import { TypeKeys } from 'actions/schedule'; | ||
|
||
type TSetCurrentSchedulingToggle = typeof setCurrentSchedulingToggle; | ||
const setCurrentSchedulingToggle = ( | ||
payload: SetCurrentSchedulingToggleAction['payload'] | ||
): SetCurrentSchedulingToggleAction => ({ | ||
type: TypeKeys.CURRENT_SCHEDULING_TOGGLE, | ||
payload | ||
}); | ||
|
||
export { TSetCurrentSchedulingToggle, setCurrentSchedulingToggle }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { SetCurrentTimeBountyAction } from '../actionTypes/timeBounty'; | ||
import { TypeKeys } from 'actions/schedule'; | ||
|
||
type TSetCurrentTimeBounty = typeof setCurrentTimeBounty; | ||
const setCurrentTimeBounty = ( | ||
payload: SetCurrentTimeBountyAction['payload'] | ||
): SetCurrentTimeBountyAction => ({ | ||
type: TypeKeys.CURRENT_TIME_BOUNTY_SET, | ||
payload | ||
}); | ||
|
||
export { setCurrentTimeBounty, TSetCurrentTimeBounty }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { SetCurrentWindowSizeAction } from '../actionTypes/windowSize'; | ||
import { TypeKeys } from 'actions/schedule'; | ||
|
||
type TSetCurrentWindowSize = typeof setCurrentWindowSize; | ||
const setCurrentWindowSize = ( | ||
payload: SetCurrentWindowSizeAction['payload'] | ||
): SetCurrentWindowSizeAction => ({ | ||
type: TypeKeys.CURRENT_WINDOW_SIZE_SET, | ||
payload | ||
}); | ||
|
||
export { setCurrentWindowSize, TSetCurrentWindowSize }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { SetCurrentWindowStartAction } from '../actionTypes/windowStart'; | ||
import { TypeKeys } from 'actions/schedule'; | ||
|
||
type TSetCurrentWindowStart = typeof setCurrentWindowStart; | ||
const setCurrentWindowStart = ( | ||
payload: SetCurrentWindowStartAction['payload'] | ||
): SetCurrentWindowStartAction => ({ | ||
type: TypeKeys.CURRENT_WINDOW_START_SET, | ||
payload | ||
}); | ||
|
||
export { setCurrentWindowStart, TSetCurrentWindowStart }; |
Oops, something went wrong.