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
{ | |
// themes | |
"workbench.colorTheme": "Dark-Dracula", | |
"workbench.iconTheme": "material-icon-theme", | |
"workbench.colorCustomizations": { | |
"statusBar.background": "#8e1152" | |
}, | |
// font | |
"editor.fontSize": 16, | |
"editor.lineHeight": 24, |
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 { GraphQLInterfaceType, GraphQLString, GraphQLInt } from 'graphql' | |
import UserType from '../modules/user/UserType' | |
const PostType = new GraphQLInterfaceType({ | |
name: 'Post', | |
description: 'Post interface to enforce some fields', | |
fields: () => ({ | |
content: { type: GraphQLString }, | |
upvotes: { type: GraphQLInt }, | |
downvotes: { type: GraphQLInt }, |
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 NewTweet: NavigationScreenComponent = ({ navigation }) => { | |
const [content, setContent] = useState(""); | |
const handleCreateTweet = () => { | |
const input = { | |
content | |
}; | |
// TODO: implement optimistic to update the Relay store | |
const onCompleted = (() => { |
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
{ | |
"editor.formatOnSave": true, | |
"editor.tabSize": 2, | |
"editor.renderLineHighlight": "gutter", | |
"emmet.syntaxProfiles": { | |
"javascript": "jsx" | |
}, | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact" | |
}, |
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":"export","__export_format":4,"__export_date":"2019-06-13T15:25:24.020Z","__export_source":"insomnia.desktop.app:v6.5.4","resources":[{"_id":"req_fc30a991b59e4a4bb2bfcd582e05578d","authentication":{"token":"","type":"bearer"},"body":{},"created":1559848495683,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559848495683,"method":"GET","modified":1559849552148,"name":"Index","parameters":[],"parentId":"fld_b4f249d232e3428a81ed6f78e4b4daad","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/projects/2/jobs","_type":"request"},{"_id":"fld_b4f249d232e3428a81ed6f78e4b4daad","created":1559848485159,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1559848485159,"modified":1559848485159,"name":"Job","parentId":"wrk_2fd095ae8cb64997b2d9cf16568c5273","_type":"request_group"},{"_id":"wrk_2fd095ae8cb64997b2d9cf16568c5273","created":1559844301050,"descrip |
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":"export","__export_format":4,"__export_date":"2019-06-10T11:34:24.685Z","__export_source":"insomnia.desktop.app:v6.5.4","resources":[{"_id":"req_8e8e37ae31d045bb9600645960f93ac3","authentication":{"token":"{{ token }}","type":"bearer"},"body":{},"created":1559940843522,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559931917117,"method":"GET","modified":1559968350930,"name":"Index","parameters":[],"parentId":"fld_af239f87e9704576ab1d29c080642c1e","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/orders","_type":"request"},{"_id":"fld_af239f87e9704576ab1d29c080642c1e","created":1559940843510,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1559931905547,"modified":1559940853195,"name":"Orders","parentId":"wrk_e411ae0ef00e4701990cde1b7fb9d964","_type":"request_group"},{"_id":"wrk_e411ae0ef00e4701990cde1b7fb9d964","created":1559854060515,"d |
NewerOlder