Fix tag visibilities values (#44384)

There is a two available value for tag : public or internal https://ghost.org/docs/api/v3/content/#tags
The actual values in code coresponds to post status
This commit is contained in:
indie22 2020-05-06 22:29:21 +02:00 committed by GitHub
parent 0d004ec6f1
commit 23f8ba5c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ export interface Author extends Identification, Metadata {
};
}
export type TagVisibility = 'public' | 'draft' | 'scheduled';
export type TagVisibility = 'public' | 'internal';
export interface Tag extends Identification, Metadata {
name?: string;