sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
import { from, ApolloClient, HttpLink, InMemoryCache } from '@apollo/client'; | |
import { errorLink } from './error.link'; | |
import * as tags from './posts.resolvers'; | |
const typeDefs = [tags.typeDefs]; | |
const resolvers = [tags.resolvers]; | |
const gqlClient = new ApolloClient({ | |
cache: new InMemoryCache(), | |
typeDefs, |
let actionsArray = []; | |
let types = {}; | |
export function getTypes() { | |
return types; | |
} | |
export function setActionTypes(actions, mutateWith = ['Request', 'Error']) { | |
if (!actionsArray.length) { | |
actionsArray = Object.keys(actions); |
/** | |
* Simple Node.js script to turn a specific page on a Google Sheet | |
* into a JSON object for the main purpose of HTML Templating. | |
* | |
* @author jonobr1 / http://jonobr1.com | |
* | |
*/ | |
/* eslint func-names: ["error", "never"] */ | |
const https = require('https'); | |
const { StringDecoder } = require('string_decoder'); |
/** | |
* Simple Node.js script to turn a specific page on a Google Sheet | |
* into a JSON object for the main purpose of HTML Templating. | |
* | |
* @author jonobr1 / http://jonobr1.com | |
* | |
*/ | |
/* eslint func-names: ["error", "never"] */ | |
const https = require('https'); | |
const { StringDecoder } = require('string_decoder'); |
DEUTSCHE BANK TRUST COMPANY AMERICAS, NEW YORK | |
BKTRUS33 | |
04-095-326 |
import { bindActionCreators } from 'redux'; | |
// @ts-ignore | |
import { simpleActions } from 'redux-pirate-actions'; | |
export abstract class UseStore { | |
actions: any; | |
store: any; | |
private errorTimeout: any; |
import { bindActionCreators } from 'redux'; | |
import { simpleActions } from 'redux-pirate-actions'; | |
function syncInit() { | |
this.syncUnsubscribe(); | |
this._sync(); | |
this._unsubscribe = this.store.subscribe(this._sync.bind(this)); | |
} | |
function syncUnsubscribe() { |
// Cause we use `redux-pirate-actions` the actions can be just a functions returned something Object / Promises... | |
export function clearErrors(data) { | |
} | |
export function setRoute(route) { | |
return { | |
route: route | |
}; | |
} |
// it's needs to reduce the includes and simplify store and actions injection. | |
import { inject } from 'aurelia-framework' | |
import { bindActionCreators } from 'redux' | |
import { simpleActions } from 'redux-pirate-actions'; | |
let actionsCallbacks = null; | |
let actionsWr = null; | |
export const createDecorator = (actions, store) => (...injectParams) => { |