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
import { all, takeEvery, put, call, select } from 'redux-saga/effects' | |
import { notification } from 'antd' | |
import { history } from 'index' | |
import * as jwt from 'services/jwt' | |
import actions from './actions' | |
const mapAuthProviders = { | |
jwt: { | |
login: jwt.login, | |
register: jwt.register, |
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
import { all, takeEvery, put, call, select } from 'redux-saga/effects' | |
import { notification } from 'antd' | |
import { history } from 'index' | |
import * as jwt from 'services/jwt' | |
import actions from './actions' | |
const mapAuthProviders = { | |
jwt: { | |
login: jwt.login, | |
register: jwt.register, |
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
import TransformerSampleModel from "../../../db/models/TransformerSampleModel"; | |
import ApiController from "evo-back-lib/src/server/controllers/ApiController"; | |
import { SuccessResponse } from "evo-back-lib/src/server/Responses"; | |
import { | |
balanceQuery, meterSamplesByDayQuery, meterSamplesRangesQuery, | |
outagesQuery, transformerSamplesByHourQuery, transformerSamplesRangesQuery, | |
recentTransformerSamplesRangesQuery, getMaxDateQuery | |
} from "./queries"; | |
import endOfDay from 'date-fns/endOfDay'; | |
import startOfDay from 'date-fns/startOfDay'; |
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
<?php | |
namespace App; | |
use Illuminate\Database\Eloquent\Model; | |
use App\User; | |
use App\Game; | |
use App\challengeRule; | |
class Challenge extends Model |
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
<?php | |
namespace App\Http\Controllers; | |
use App\MessageGroup; | |
use App\Notifications\AdminNewChallenge; | |
use App\UserTeam; | |
use Illuminate\Http\Request; | |
use App\Console; | |
use App\Game; |
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
import React, { Component } from 'react' | |
import pbi from 'powerbi-client'; | |
/* global powerbi */ | |
export class Report extends Component { | |
constructor(props) { | |
super(props); | |
this.component = null; | |
this.state = { | |
type: 'report' |
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
package auth | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"math/rand" | |
"net/http" | |
"os" |
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
import InputLabel from "@material-ui/core/InputLabel"; | |
import OutlinedInput from "@material-ui/core/OutlinedInput"; | |
import FormControl from "@material-ui/core/FormControl"; | |
import FormHelperText from "@material-ui/core/FormHelperText"; | |
import { withStyles } from "@material-ui/core/styles"; | |
import textFieldStyles from "../../assets/jss/components/textfield"; | |
import React, { Component, Fragment } from "react"; | |
import CustomTooltip from "../Tooltip/Tooltip"; | |
class DefaultTextField extends Component { |
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
/** @jsx jsx */ | |
import { jsx } from '@emotion/core' | |
import { FunctionComponent, HTMLAttributes, useMemo, useState, useEffect } from 'react' | |
import Calendar from 'react-calendar/dist/entry.nostyle' | |
import dayjs from 'dayjs' | |
import { Icon, Button, Clickover, Text } from '~/components' | |
import { styles } from './styles' | |
// @ts-ignore |
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
version: 2.1 | |
orbs: | |
slack: circleci/slack@3.4.2 | |
jobs: | |
buildapp: | |
docker: | |
- image: cimg/node:12.18.0 | |
steps: | |
- checkout | |
- run: bash ./prepare-dev.sh |
NewerOlder