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 { Resolver as GraphCacheResolver, UpdateResolver as GraphCacheUpdateResolver, OptimisticMutationResolver as GraphCacheOptimisticMutationResolver } from '@urql/exchange-graphcache'; | |
export type Maybe<T> = T | null; | |
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; | |
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }; | |
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }; | |
/** All built-in and custom scalars, mapped to their actual values */ | |
export type Scalars = { | |
ID: string; | |
String: string; | |
Boolean: boolean; |
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
gulp build | |
[12:44:31] Using gulpfile ~/Minbox/code/minbox-web/gulpfile.js | |
[12:44:31] Starting 'scripts'... | |
[12:44:31] Starting 'uglify-js'... | |
[12:44:31] Finished 'uglify-js' after 4.58 ms | |
[12:44:31] Starting 'uglify-css'... | |
[12:44:31] Finished 'uglify-css' after 1.76 ms | |
Error: EMFILE, open '/Users/mlawlor/Minbox/code/minbox-web/node_modules/react/package.json' | |
[12:44:42] Finished 'scripts' after 11 s | |
[12:44:42] Starting '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
{ | |
"type": "project:created", | |
"scopes": ["activity", "notification", "general"], | |
"data": { | |
"_id": "...", | |
"name": "project name", | |
"user": { | |
"_id": "...", | |
"avatar": "...", | |
"name": "John Doe" |
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
{ | |
"type": "activity:created", | |
"data": { | |
"_id": "...", | |
"_type": "project", | |
"name": "project name", | |
"user": { | |
"_id": "...", | |
"avatar": "...", | |
"name": "John Doe" |
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
Uncaught TypeError: Cannot read property 'view' of undefined minbox.js:14 | |
t.exports.n.createBackboneClass.render minbox.js:14 | |
(anonymous function) minbox.js:19 | |
(anonymous function) minbox.js:21 | |
(anonymous function) minbox.js:19 | |
(anonymous function) minbox.js:21 | |
b.Mixin.mountChildren minbox.js:21 | |
r.Mixin._createContentMarkup minbox.js:19 | |
(anonymous function) minbox.js:19 | |
(anonymous function) minbox.js:21 |
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
Uncaught TypeError: Cannot read property 'companies' of null minbox.js:13 | |
(anonymous function) minbox.js:13 | |
t.exports.requireAuthentication minbox.js:12 | |
r.before minbox.js:13 | |
o minbox.js:12 | |
r minbox.js:12 | |
n.extend.execute minbox.js:1 | |
(anonymous function) minbox.js:1 | |
(anonymous function) minbox.js:1 | |
C.some.C.any minbox.js:2 |
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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
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
class User | |
include DataMapper::Resource | |
property :id, Serial | |
property :full_name, String, :length => 25, :required => true | |
property :email, String, :length => 320, :required => true | |
has n, :company_memberships | |
has n, :companies, :through => :company_memberships | |
end |