{"id":20974709,"url":"https://github.com/thatconference/that-api-schema","last_synced_at":"2025-12-24T18:42:03.584Z","repository":{"id":43835732,"uuid":"322397131","full_name":"ThatConference/that-api-schema","owner":"ThatConference","description":"Shared schema bits between services (e.g enums)","archived":false,"fork":false,"pushed_at":"2023-12-04T17:22:52.000Z","size":693,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-20T05:41:03.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThatConference.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-17T19:48:09.000Z","updated_at":"2021-10-13T23:57:22.000Z","dependencies_parsed_at":"2024-11-19T04:50:10.735Z","dependency_job_id":null,"html_url":"https://github.com/ThatConference/that-api-schema","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatConference%2Fthat-api-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatConference%2Fthat-api-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatConference%2Fthat-api-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatConference%2Fthat-api-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThatConference","download_url":"https://codeload.github.com/ThatConference/that-api-schema/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243374324,"owners_count":20280661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T04:32:33.371Z","updated_at":"2025-12-24T18:42:03.552Z","avatar_url":"https://github.com/ThatConference.png","language":"JavaScript","readme":"# that-api-schema\n\n\u003e **Warning**: This is v4 of `that-api-schema`. It's intended use is with Apollo server version 3 \u0026\u0026 4. It is not compatible with Apollo server v2. V1 of this library is [here](https://github.com/ThatConference/that-api/tree/v1). (There is no v2 of this library) ⚠\n\nShared schema bits between entity services (e.g enums)\n\n@thatconference/schema\n\nEach exportable schema piece returns a GraphQL DocumentNode which can be merged into the rest of the services schema with `mergeTypeDefs()`. For Example:\n\n```javascript\nimport path from 'path';\nimport { loadFilesSync } from '@graphql-tools/load-files';\nimport { mergeTypeDefs } from '@graphql-tools/merge';\nimport { productTypeEnum } from '@thatconference/schema';\n\nconst typesArray = loadFilesSync(path.join(__dirname, './**/*.graphql'));\n\nexport default mergeTypeDefs([typesArray, productTypeEnum], { all: true });\n```\n\n## Publishing new versions\n\n1. ENSURE `package.json` version is updated to new semver value!\n1. Create a release in GitHub using `v` + semver value as tag (e.g. `v1.1.0`)\n   - Add release notes and changes made to this version\n1. From local command line at same tag point run `$ npm run npm:publish`\n   - version is published to [npmjs.com](https://www.npmjs.com/package/@thatconference/schema)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatconference%2Fthat-api-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatconference%2Fthat-api-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatconference%2Fthat-api-schema/lists"}