import { registerAPI } from "library/api/index.js";
registerAPI(
/* GraphQL */
`
type Query {
yourFunction: String
}
`,
{
Query: {
yourFunction,
},
}
);
function yourFunction() {
return "Hello World";
}-
Notifications
You must be signed in to change notification settings - Fork 0
SFG20/training-api
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
API training repository
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published