Skip to content

Commit

Permalink
docs: Updated tags and oauth_token definitions in repository.ts (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
louisefindlay23 authored Jun 15, 2023
1 parent d52cdfd commit cad174d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/types/api/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export interface Repository {
types: Record<string, string>;

/**
* A list of tags for the repository.
* @deprecated Tags are only available in the forms object.
*
* @see More details in the blog post "A change to how the Prismic API handles tags": {@link https://prismic.io/blog/a-change-to-how-the-prismic-api-handles-tags}
*/
tags: string[];

Expand All @@ -50,7 +52,9 @@ export interface Repository {
*/
oauth_initiate: string;

// TODO: Describe this field
/**
* The token used for the OAuth process for the repository.
*/
oauth_token: string;

/**
Expand Down

0 comments on commit cad174d

Please sign in to comment.