diff --git a/core/schema.gql b/core/schema.gql index c01f61ff..26bd2626 100644 --- a/core/schema.gql +++ b/core/schema.gql @@ -2,18 +2,18 @@ type Password { value: String! - hasParentID: Boolean - parentCollection: ParentCollection + hasID: Boolean + collection: Collection } -type ParentCollection { +type Collection { name: String! passwords: [Password] } type Query { passwords: [Password] - parentCollection(name: String): ParentCollection + collection(name: String): Collection } mutation {