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
input ReportPlayer { | |
userId: ID! | |
teamId: ID! | |
matchId: ID | |
source: ReportPlayerSource! | |
message: String | |
} | |
enum ReportPlayerSource { | |
PROFILE |
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
{ | |
"match": { | |
"motivational_title": "Clean sheets", | |
"home_team_goals": 2, | |
"away_team_goals": 0, | |
"home_team_profile_picture": "https://someurl.com", | |
"away_team_profile_picture": null, | |
"position_group_name": "defensive", | |
"position_group_id": 4, | |
"is_home_team_player": false, |
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
{ | |
"id": "ranking_#{type}_#{position_group_id}", | |
"type": "rankings_list", | |
"size": "large", | |
"elevation": "none", | |
"data": { | |
"title": "Defenders", | |
"subtitle": "League Ranking", | |
"entries": [ | |
{ |
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
--Drop views | |
DO | |
$$ | |
DECLARE | |
rec record; | |
BEGIN | |
FOR rec IN | |
(select *, replace(table_schema, 'datalink_', '') as target_schema from information_schema.tables | |
where table_schema LIKE 'datalink_%') |
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
const Undefined = new Proxy({}, { | |
get: function(target, name){ | |
if (name == '$'){ | |
return undefined | |
} else { | |
return Undefined; | |
} | |
} | |
}); | |
let safeAccess = { |
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
if (refund_method == 'Back To Original') { | |
payments.each do |payment| | |
paymentRefunder = new paymentRefunder(payment, cookie, currency) | |
paymentRefunder.attemptRefund(refundAmounts[payment.type]) | |
end | |
return; | |
} |
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
Log uploaded on Thursday, August 03, 2017, 11:34:20 AM | |
Loaded mods: | |
Core: (no assemblies) | |
HugsLib[3.1.2]: 0Harmony(1.0.9.1), HugsLib(0.17.0.0) | |
Base Robots: 0Harmony(1.0.9.1), BaseRobot(0.0.0.0) | |
Defensive Positions: $HugsLibChecker(0.3.0.0), DefensivePositions(1.4.2.0) | |
Facial Stuff 0.17.1.2: RW_FacialStuff(1.0.0.0) | |
RimFridge - A17: RimFridge(1.0.0.0), SaveStorageSettingsUtil(1.0.0.0) | |
Realistic Rooms: (no assemblies) | |
DeadMansClothing: 0Harmony(1.0.9.1), DeadMansClothing(0.17.2.0) |
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
-- In publisher: | |
Name: notify_trigger(); Type: FUNCTION; Schema: public; Owner: - | |
CREATE FUNCTION notify_trigger() RETURNS trigger | |
LANGUAGE plpgsql | |
AS $$ | |
DECLARE | |
BEGIN | |
PERFORM pg_notify('orders', TG_TABLE_NAME || ',id,' || row_to_json(NEW)::text ); | |
RETURN new; |