This commit is contained in:
Luis Fernando Molina committed 2021-11-13 11:19:02 +01:00
1 parent 0eb8a16c60
commit e39ec7b282
2 files changed
+14 -12

No files matched your search

+4 -4
View File
@@ -114,7 +114,7 @@ exports.newSocialTradingModulesEvent = function newSocialTradingModulesEvent() {
function postingEvents() {
/*
Is is related to Posting?
Is it related to Posting?
*/
if (
thisObject.eventType === SA.projects.socialTrading.globals.eventTypes.NEW_USER_POST ||
@@ -201,7 +201,7 @@ exports.newSocialTradingModulesEvent = function newSocialTradingModulesEvent() {
function followingEvents() {
/*
Is is a following?
Is it a following?
*/
if (
thisObject.eventType === SA.projects.socialTrading.globals.eventTypes.FOLLOW_USER_PROFILE ||
@@ -291,7 +291,7 @@ exports.newSocialTradingModulesEvent = function newSocialTradingModulesEvent() {
function reactionEvents() {
/*
Is is a Reaction?
Is it a Reaction?
*/
let targetPost
@@ -345,7 +345,7 @@ exports.newSocialTradingModulesEvent = function newSocialTradingModulesEvent() {
function botEvents() {
/*
Is is a Bot?
Is it a Bot?
*/
if (
thisObject.eventType === SA.projects.socialTrading.globals.eventTypes.ADD_BOT ||
+10 -8
View File
@@ -1,10 +1,12 @@
exports.newSocialTradingModulesSignal = function newSocialTradingModulesSignal() {
/*
An Signal is an action taken by users that triggers a
change at the social graph.
A Signal is an action taken by a bot that needs to be
delivered to all the followers of that bot respecting
the rule to deliver it fist to the bots belonging to
users with the highers ranking.
An Signal (in contrast to a Query) produces a change
on the state of the social graph.
An Signal is attached to the Social Graph as a new post
from the Bot producing the signal.
*/
let thisObject = {
/* Unique Key */
@@ -114,7 +116,7 @@ exports.newSocialTradingModulesSignal = function newSocialTradingModulesSignal()
function postingSignals() {
/*
Is is related to Posting?
Is it related to Posting?
*/
if (
thisObject.signalType === SA.projects.socialTrading.globals.signalTypes.NEW_USER_POST ||
@@ -201,7 +203,7 @@ exports.newSocialTradingModulesSignal = function newSocialTradingModulesSignal()
function followingSignals() {
/*
Is is a following?
Is it a following?
*/
if (
thisObject.signalType === SA.projects.socialTrading.globals.signalTypes.FOLLOW_USER_PROFILE ||
@@ -291,7 +293,7 @@ exports.newSocialTradingModulesSignal = function newSocialTradingModulesSignal()
function reactionSignals() {
/*
Is is a Reaction?
Is it a Reaction?
*/
let targetPost
@@ -345,7 +347,7 @@ exports.newSocialTradingModulesSignal = function newSocialTradingModulesSignal()
function botSignals() {
/*
Is is a Bot?
Is it a Bot?
*/
if (
thisObject.signalType === SA.projects.socialTrading.globals.signalTypes.ADD_BOT ||