Files
payloadcms/test/joins/shared.ts
Jarrod Flesch 19a3367972 fix(ui): monomorphic joins tables not fetching draft documents (#13139)
Monomorphic join fields were not using the `draft` argument when
fetching documents to display in the table. This change makes the join
field treatment of drafts consistent with the `relationship` type
fields.

Added e2e test to cover.
2025-07-11 14:26:48 +00:00

33 lines
850 B
TypeScript

export const categoriesSlug = 'categories'
export const categories2Slug = 'categories-2'
export const postsSlug = 'posts'
export const hiddenPostsSlug = 'hidden-posts'
export const uploadsSlug = 'uploads'
export const localizedPostsSlug = 'localized-posts'
export const localizedCategoriesSlug = 'localized-categories'
export const restrictedPostsSlug = 'restricted-posts'
export const categoriesJoinRestrictedSlug = 'categories-join-restricted'
export const collectionRestrictedSlug = 'collection-restricted'
export const restrictedCategoriesSlug = 'restricted-categories'
export const categoriesVersionsSlug = 'categories-versions'
export const versionsSlug = 'versions'
export const collectionSlugs = [
categoriesSlug,
postsSlug,
localizedPostsSlug,
localizedCategoriesSlug,
restrictedPostsSlug,
restrictedCategoriesSlug,
]