Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
[schema] sync
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Jul 8, 2016
1 parent abd157b commit 5c1e9f5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
6 changes: 3 additions & 3 deletions data/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ type Artwork implements Node {
manufacturer(format: Format): String
series(format: Format): String
meta: ArtworkMeta
layer(id: ID): ArtworkLayer
layer(id: String): ArtworkLayer
layers: [ArtworkLayer]
}

Expand Down Expand Up @@ -482,7 +482,7 @@ type ArtworkSearchEntity implements Node {
manufacturer(format: Format): String
series(format: Format): String
meta: ArtworkMeta
layer(id: ID): ArtworkLayer
layer(id: String): ArtworkLayer
layers: [ArtworkLayer]
}

Expand Down Expand Up @@ -888,7 +888,7 @@ type HomePageModulesParams {

type Image {
__id: ID!
id: String!
id: String
href: String
title: String
width: Int
Expand Down
14 changes: 5 additions & 9 deletions data/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1967,13 +1967,9 @@
"description": "A type-specific ID.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
Expand Down Expand Up @@ -6125,7 +6121,7 @@
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"name": "String",
"ofType": null
},
"defaultValue": null
Expand Down Expand Up @@ -17691,7 +17687,7 @@
"description": null,
"type": {
"kind": "SCALAR",
"name": "ID",
"name": "String",
"ofType": null
},
"defaultValue": null
Expand Down
2 changes: 1 addition & 1 deletion externals/metaphysics
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "env NODE_ENV=test NODE_PATH=./lib mocha --recursive ./test",
"ci": "npm run-script lint && npm run-script flow && npm test",
"sync-externals": "npm run-script sync-schema && npm run-script sync-colors",
"sync-schema": "cd externals/metaphysics && git fetch && git checkout origin/master && npm install && npm run dump-schema -- ../../data",
"sync-schema": "cd externals/metaphysics && git fetch && git checkout origin/master && npm install && npm run dump-schema -- ../../data && rm -rf node_modules",
"sync-colors": "cd externals/elan && git fetch && git checkout origin/master && cp components/lib/variables/colors.json ../../data",
"start-packager": "cd node_modules/react-native && npm start -- --reset-cache",
"clean-example": "cd Example && xcodebuild -workspace Emission.xcworkspace -scheme Emission -destination 'platform=iOS Simulator,name=iPhone 6' clean",
Expand Down

0 comments on commit 5c1e9f5

Please sign in to comment.