Last active
July 8, 2019 08:28
-
-
Save krsnvijay/02209b327049de5f1c2f62c63db8e3f9 to your computer and use it in GitHub Desktop.
RLE Suite Graphql Schema
This file contains hidden or 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 User @model { | |
id: ID! | |
username: String! | |
firstName: String! | |
lastName: String! | |
profilePic: String! | |
email: String! | |
bio: String | |
about: String | |
tags: [String!] | |
coreSkills: [String!] | |
github: String | |
linkedIn: String | |
facebook: String | |
learningPaths: [LearningPath]! | |
@connection(name: "userLearningPaths") | |
} | |
type FootStep @model { | |
id: ID! | |
title: String! | |
description: String! | |
resourceType: String! | |
resourceURL: String! | |
level:Level | |
tags: [String!]! | |
learningPath: LearningPath | |
@connection(name: "learningPathfootSteps") | |
} | |
type LearningPath @model { | |
id: ID! | |
title: String! | |
description: String! | |
footsteps: [FootStep!]! | |
@connection(name: "learningPathfootSteps") | |
author: User! | |
@connection(name: "userLearningPaths") | |
} | |
enum Level{ | |
BEGINNER | |
INTERMEDIATE | |
ADVANCED | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Final Revision will be deployed to aws-appsync