Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .graphqlconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ projects:
codeGenTarget: javascript
generatedFileName: ''
docsFilePath: src\graphql
graphQLApiId: fdfhu3unpvaljcfxuauhaqdcxe
graphQLApiId: xqhiqcttdrdm7hvlvbfw2zm5ia
endpoints:
prod: >-
https://26xtsfo5d5blrfmpr4nw7yfk7i.appsync-api.us-west-2.amazonaws.com/graphql
https://gp63jerrj5bxrnqrczxggbsb7m.appsync-api.us-west-2.amazonaws.com/graphql
4 changes: 3 additions & 1 deletion App.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import Profile from './src/views/Profile';

// Components
import Map from './src/components/Map';
import AR from './src/components/VR';

// Navigation stack
const AppNavigator = createStackNavigator(
Expand All @@ -29,7 +30,8 @@ const AppNavigator = createStackNavigator(
NewNote: NewNote,
Note: Note,
Profile: Profile,
Map: Map
Map: Map,
AR: AR
},
{
initialRouteName: 'Main'
Expand Down
13 changes: 1 addition & 12 deletions amplify/backend/api/breadcrumbs/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ type User @model {
username: String!
email: String!
emailVerified: Boolean
achievements: [Achievement]
notes: [Note] @connection(name: "UserNotes")
}

Expand All @@ -14,15 +13,5 @@ type Note @model {
latitude: String
altitude: String
content: String
upvotes: Int
downvotes: Int
author: User @connection(name: "UserNotes")
}

type Achievement @model {
id: ID!
imageUri: String
name: String
description: String
achievers: [User]
user: User @connection(name: "UserNotes")
}
Loading