{"id":26891768,"url":"https://github.com/hyperse-io/graphql-codegen-enum","last_synced_at":"2025-11-03T17:43:24.431Z","repository":{"id":236244463,"uuid":"792215340","full_name":"hyperse-io/graphql-codegen-enum","owner":"hyperse-io","description":"Gernated by graphql-codegen only for scalar type enum","archived":false,"fork":false,"pushed_at":"2024-08-16T22:43:38.000Z","size":1969,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-16T23:41:36.927Z","etag":null,"topics":["graphql-codegen","graphql-codegen-enum","graphql-codegen-gql-tada","graphql-codegen-scalar","hyperse"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperse-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":["hyperse-net"]}},"created_at":"2024-04-26T07:59:46.000Z","updated_at":"2024-08-16T22:43:35.000Z","dependencies_parsed_at":"2024-06-08T01:53:07.185Z","dependency_job_id":"5d4e33c7-aae9-4cc6-b9fb-b4e76d499eaf","html_url":"https://github.com/hyperse-io/graphql-codegen-enum","commit_stats":null,"previous_names":["hyperse-io/graphql-codegen-enum"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperse-io%2Fgraphql-codegen-enum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperse-io%2Fgraphql-codegen-enum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperse-io%2Fgraphql-codegen-enum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperse-io%2Fgraphql-codegen-enum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperse-io","download_url":"https://codeload.github.com/hyperse-io/graphql-codegen-enum/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552939,"owners_count":20795835,"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":["graphql-codegen","graphql-codegen-enum","graphql-codegen-gql-tada","graphql-codegen-scalar","hyperse"],"created_at":"2025-03-31T22:41:35.425Z","updated_at":"2025-11-03T17:43:24.382Z","avatar_url":"https://github.com/hyperse-io.png","language":"JavaScript","funding_links":["https://github.com/sponsors/hyperse-net"],"categories":[],"sub_categories":[],"readme":"# @hyperse/graphql-codegen-enum\n\n\u003cp align=\"left\"\u003e\n  \u003ca aria-label=\"Build\" href=\"https://github.com/hyperse-io/graphql-codegen-enum/actions?query=workflow%3ACI\"\u003e\n    \u003cimg alt=\"build\" src=\"https://img.shields.io/github/actions/workflow/status/hyperse-io/graphql-codegen-enum/ci-integrity.yml?branch=main\u0026label=ci\u0026logo=github\u0026style=flat-quare\u0026labelColor=000000\" /\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"stable version\" href=\"https://www.npmjs.com/package/@hyperse/graphql-codegen-enum\"\u003e\n    \u003cimg alt=\"stable version\" src=\"https://img.shields.io/npm/v/%40hyperse%2Fgraphql-codegen-enum?branch=main\u0026label=version\u0026logo=npm\u0026style=flat-quare\u0026labelColor=000000\" /\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Top language\" href=\"https://github.com/hyperse-io/graphql-codegen-enum/search?l=typescript\"\u003e\n    \u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/hyperse-io/graphql-codegen-enum?style=flat-square\u0026labelColor=000\u0026color=blue\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Licence\" href=\"https://github.com/hyperse-io/graphql-codegen-enum/blob/main/LICENSE\"\u003e\n    \u003cimg alt=\"Licence\" src=\"https://img.shields.io/github/license/hyperse-io/graphql-codegen-enum?style=flat-quare\u0026labelColor=000000\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\nGernated by graphql-codegen only for scalar type enum\n\n# Usage\n\n1. `yarn graphql @graphql-codegen/cli @graphql-codegen/add @hyperse/graphql-codegen-enum`\n\n2. setup codegen plugin on `codegen.cjs`\n\n```cjs\nmodule.exports = {\n  overwrite: true,\n  config: {\n    strict: true,\n  },\n  generates: {\n    'src/generated-types.ts': {\n      schema: 'http://localhost:7001/admin-api',\n      plugins: [\n        {\n          add: {\n            content: '/* eslint-disable */',\n          },\n        },\n        '@hyperse/graphql-codegen-enum',\n      ],\n    },\n  },\n  hooks: {\n    afterAllFileWrite: ['prettier --write'],\n  },\n};\n```\n\n3. Define codegen `scripts`\n\n```json\n{\n  \"scripts\": {\n    \"codegen\": \"graphql-codegen --config ./codegen.cjs\"\n  }\n}\n```\n\n4. `yarn codegen`\n\n## Note\n\nThis plugin normally used to `gql.tada`, it will forcely only generated all `enum` object, we assume that you don't need any other codegen typings except enum.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperse-io%2Fgraphql-codegen-enum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperse-io%2Fgraphql-codegen-enum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperse-io%2Fgraphql-codegen-enum/lists"}