Skip to content

Commit 9572f7b

Browse files
fix(v5): publicationState and its values have been renamed (#451)
1 parent 9878354 commit 9572f7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/types/v5.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface Strapi5RequestParams {
1515
sort?: string | Array<string>
1616
pagination?: PaginationByOffset | PaginationByPage
1717
filters?: Record<string, unknown>
18-
publicationState?: 'live' | 'preview'
18+
status?: 'published' | 'draft'
1919
locale?: StrapiLocale | null
2020
}
2121

0 commit comments

Comments
 (0)