-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: cleanup for major release (#8)
- Update TODO comments - Remove unused dependencies - Update links in comments We should have done a major release with the merge of #46, so — with great shame — I’m retroactively adding it here. BREAKING CHANGE: Update to the 1.x data source structure.
- Loading branch information
1 parent
b6b54d8
commit b87878f
Showing
7 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"presets": [ | ||
"stage-2", | ||
[ | ||
"env", | ||
{ | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// TODO Add methods to access your data. | ||
export default { | ||
getById: id => ({ | ||
id, | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
type Query { | ||
# TODO: rename and add a description of this query | ||
getById( | ||
# TODO: Describe this argument | ||
# A unique identifier | ||
id: ID! | ||
): PFX_DataSourceBase | ||
} | ||
|
||
# TODO: Choose a unique prefix and rename the type descriptively. | ||
type PFX_DataSourceBase { | ||
# The unique ID of the thing. | ||
# A unique identifier | ||
id: ID! | ||
# Describe each field to help people use the data more effectively. | ||
name: String | ||
# An array of very super lucky numbers. | ||
# | ||
# DISCLAIMER: The luckiness of these numbers is _not scientifically proven_. | ||
lucky_numbers: [Int] | ||
} |