File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ type guidesRequestBodySchema =
1616type projectSchema =
1717 ( typeof readmeAPIv2Oas ) [ 'paths' ] [ '/projects/me' ] [ 'get' ] [ 'responses' ] [ '200' ] [ 'content' ] [ 'application/json' ] [ 'schema' ] ;
1818
19+ type apiKeySchema =
20+ ( typeof readmeAPIv2Oas ) [ 'paths' ] [ '/projects/{subdomain}/apikeys/{api_key_id}' ] [ 'get' ] [ 'responses' ] [ '200' ] [ 'content' ] [ 'application/json' ] [ 'schema' ] ;
21+
1922/**
2023 * Derived from our API documentation, this is the schema for the `guides` object
2124 * as we send it to the ReadMe API.
@@ -29,3 +32,5 @@ export type GuidesRequestRepresentation = FromSchema<
2932> ;
3033
3134export type ProjectRepresentation = FromSchema < projectSchema , { keepDefaultedPropertiesOptional : true } > ;
35+
36+ export type APIKeyRepresentation = FromSchema < apiKeySchema , { keepDefaultedPropertiesOptional : true } > ;
Original file line number Diff line number Diff line change 1- export type { GuidesRequestRepresentation , ProjectRepresentation } from './lib/types/index.js' ;
1+ export type { APIKeyRepresentation , GuidesRequestRepresentation , ProjectRepresentation } from './lib/types/index.js' ;
22export type { PageMetadata } from './lib/readPage.js' ;
33export type { PluginHooks } from './lib/hooks/exported.js' ;
44export type { ResponseBody } from './lib/readmeAPIFetch.js' ;
You can’t perform that action at this time.
0 commit comments