This repository has been archived by the owner on Sep 1, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added spee.ch-components under client
- Loading branch information
Showing
235 changed files
with
12,136 additions
and
6 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 |
---|---|---|
|
@@ -3,3 +3,4 @@ exports/ | |
index.js | ||
test/ | ||
server/render/build | ||
client/build |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
node_modules | ||
.idea | ||
.DS_Store | ||
*.log | ||
.idea/ | ||
/devConfig/sequelizeCliConfig.js | ||
/devConfig/testingConfig.js |
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,3 @@ | ||
client/src | ||
server/render/src | ||
.babelrc |
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,36 @@ | ||
"use strict"; | ||
|
||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.updateLoggedInChannel = updateLoggedInChannel; | ||
exports.checkForLoggedInChannel = checkForLoggedInChannel; | ||
exports.logOutChannel = logOutChannel; | ||
|
||
var actions = _interopRequireWildcard(require("../constants/channel_action_types")); | ||
|
||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } } | ||
|
||
// export action creators | ||
function updateLoggedInChannel(name, shortId, longId) { | ||
return { | ||
type: actions.CHANNEL_UPDATE, | ||
data: { | ||
name: name, | ||
shortId: shortId, | ||
longId: longId | ||
} | ||
}; | ||
} | ||
|
||
function checkForLoggedInChannel() { | ||
return { | ||
type: actions.CHANNEL_LOGIN_CHECK | ||
}; | ||
} | ||
|
||
function logOutChannel() { | ||
return { | ||
type: actions.CHANNEL_LOGOUT | ||
}; | ||
} |
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,55 @@ | ||
"use strict"; | ||
|
||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.updateChannelCreateName = updateChannelCreateName; | ||
exports.updateChannelCreatePassword = updateChannelCreatePassword; | ||
exports.updateChannelCreateStatus = updateChannelCreateStatus; | ||
exports.updateChannelAvailability = updateChannelAvailability; | ||
exports.createChannel = createChannel; | ||
|
||
var actions = _interopRequireWildcard(require("../constants/channel_create_action_types")); | ||
|
||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } } | ||
|
||
// export action creators | ||
function updateChannelCreateName(name, value) { | ||
return { | ||
type: actions.CHANNEL_CREATE_UPDATE_NAME, | ||
data: { | ||
name: name, | ||
value: value | ||
} | ||
}; | ||
} | ||
|
||
function updateChannelCreatePassword(name, value) { | ||
return { | ||
type: actions.CHANNEL_CREATE_UPDATE_PASSWORD, | ||
data: { | ||
name: name, | ||
value: value | ||
} | ||
}; | ||
} | ||
|
||
function updateChannelCreateStatus(status) { | ||
return { | ||
type: actions.CHANNEL_CREATE_UPDATE_STATUS, | ||
data: status | ||
}; | ||
} | ||
|
||
function updateChannelAvailability(channel) { | ||
return { | ||
type: actions.CHANNEL_AVAILABILITY, | ||
data: channel | ||
}; | ||
} | ||
|
||
function createChannel() { | ||
return { | ||
type: actions.CHANNEL_CREATE | ||
}; | ||
} |
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,15 @@ | ||
"use strict"; | ||
|
||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = void 0; | ||
|
||
var _show = require("./show"); | ||
|
||
// import { } from './channel'; | ||
// import { } from './publish'; | ||
var _default = { | ||
onHandleShowPageUri: _show.onHandleShowPageUri | ||
}; | ||
exports.default = _default; |
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,118 @@ | ||
"use strict"; | ||
|
||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.selectFile = selectFile; | ||
exports.clearFile = clearFile; | ||
exports.updateMetadata = updateMetadata; | ||
exports.updateClaim = updateClaim; | ||
exports.setPublishInChannel = setPublishInChannel; | ||
exports.updatePublishStatus = updatePublishStatus; | ||
exports.updateError = updateError; | ||
exports.updateSelectedChannel = updateSelectedChannel; | ||
exports.toggleMetadataInputs = toggleMetadataInputs; | ||
exports.onNewThumbnail = onNewThumbnail; | ||
exports.startPublish = startPublish; | ||
exports.validateClaim = validateClaim; | ||
|
||
var actions = _interopRequireWildcard(require("../constants/publish_action_types")); | ||
|
||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } } | ||
|
||
// export action creators | ||
function selectFile(file) { | ||
return { | ||
type: actions.FILE_SELECTED, | ||
data: file | ||
}; | ||
} | ||
|
||
function clearFile() { | ||
return { | ||
type: actions.FILE_CLEAR | ||
}; | ||
} | ||
|
||
function updateMetadata(name, value) { | ||
return { | ||
type: actions.METADATA_UPDATE, | ||
data: { | ||
name: name, | ||
value: value | ||
} | ||
}; | ||
} | ||
|
||
function updateClaim(value) { | ||
return { | ||
type: actions.CLAIM_UPDATE, | ||
data: value | ||
}; | ||
} | ||
|
||
; | ||
|
||
function setPublishInChannel(channel) { | ||
return { | ||
type: actions.SET_PUBLISH_IN_CHANNEL, | ||
channel: channel | ||
}; | ||
} | ||
|
||
function updatePublishStatus(status, message) { | ||
return { | ||
type: actions.PUBLISH_STATUS_UPDATE, | ||
data: { | ||
status: status, | ||
message: message | ||
} | ||
}; | ||
} | ||
|
||
function updateError(name, value) { | ||
return { | ||
type: actions.ERROR_UPDATE, | ||
data: { | ||
name: name, | ||
value: value | ||
} | ||
}; | ||
} | ||
|
||
function updateSelectedChannel(channelName) { | ||
return { | ||
type: actions.SELECTED_CHANNEL_UPDATE, | ||
data: channelName | ||
}; | ||
} | ||
|
||
function toggleMetadataInputs(showMetadataInputs) { | ||
return { | ||
type: actions.TOGGLE_METADATA_INPUTS, | ||
data: showMetadataInputs | ||
}; | ||
} | ||
|
||
function onNewThumbnail(file) { | ||
return { | ||
type: actions.THUMBNAIL_NEW, | ||
data: file | ||
}; | ||
} | ||
|
||
function startPublish(history) { | ||
return { | ||
type: actions.PUBLISH_START, | ||
data: { | ||
history: history | ||
} | ||
}; | ||
} | ||
|
||
function validateClaim(claim) { | ||
return { | ||
type: actions.CLAIM_AVAILABILITY, | ||
data: claim | ||
}; | ||
} |
Oops, something went wrong.