Skip to content

Create types for a set of endpoints for "github.com", "ghes-3.1", "ghes-3.0" #6

@gr2m

Description

@gr2m
  • 1 endpoint that exists on all versions
  • 1 endpoint that exist on github.com, but not on ghes-*
  • 1 endpoint that exist on github.com and ghes-3.1, but not on ghes-3.0
  • 1 endpoint that exist on ghes-3.1, but not on ghes-3.0 and github.com
  • 1 endpoint that exists on all versions, but has additional parameters and response keys on github.com
  • Define a response header that only exists on github.com and is not set if version is set to a ghes-* version
  • Define a response header that only exists on ghes-* and is not set if version is set to github.com
  • Add tests for both JS/DTS and TS
  • Add the GET / root endpoint by default, move all other endpoints to a separate package and make it optional
  • Setup up repository as mono-repo using npm workspaces

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions