DrMint

payloadcms relationships

by DrMint
Databases & data
v2
^2.24.0

Overview

Summary generated from the README

Adds a dedicated relationships collection that stores every relationship found across your collections' documents. The collection is populated automatically on first use and then kept in sync whenever a document is created, updated, or deleted. This makes it easy to look up what a given document links to and what links to it. Targets Payload 2.24 and later in the 2.x line.

Features

  • Creates a relationships collection that indexes relationships from all collections
  • Automatically populates the collection when the plugin is first used
  • Keeps entries updated on document create, update, and delete
  • Lists both incoming and outgoing relationships for a document

Use cases

  • Find which documents reference a given page or media item before deleting it
  • Audit how content is interlinked across collections

From the author

Make it easier to list all incoming/outcoming relationships for a given document

Installation

npm i payloadcms-relationships

1

Stars

0

Forks

0

Open Issues

2 years ago

Last Updated

0

Weekly Downloads

v

npm Version

Dependencies

GitHub stars

10 since Sep 6

Show data
GitHub stars by day (UTC)
DateStars
Dec 5, 20261
Dec 4, 20261
Dec 3, 20261
Dec 2, 20261
Dec 1, 20261
Nov 30, 20261
Nov 29, 20261
Nov 28, 20261
Nov 27, 20261
Nov 26, 20261
Nov 25, 20261
Nov 24, 20261
Nov 23, 20261
Nov 22, 20261
Nov 21, 20261
Nov 20, 20261
Nov 19, 20261
Nov 18, 20261
Nov 17, 20261
Nov 16, 20261
Nov 15, 20261
Nov 14, 20261
Nov 13, 20261
Nov 12, 20261
Nov 11, 20261
Nov 10, 20261
Nov 9, 20261
Nov 8, 20261
Nov 7, 20261
Nov 6, 20261
Nov 5, 20261
Nov 4, 20261
Nov 3, 20261
Nov 2, 20261
Nov 1, 20261
Oct 31, 20261
Oct 30, 20261
Oct 29, 20261
Oct 28, 20261
Oct 27, 20261
Oct 26, 20261
Oct 25, 20261
Oct 24, 20261
Oct 23, 20261
Oct 22, 20261
Oct 21, 20261
Oct 20, 20261
Oct 19, 20261
Oct 18, 20261
Oct 17, 20261
Oct 16, 20261
Oct 15, 20261
Oct 14, 20261
Oct 13, 20261
Oct 12, 20261
Oct 11, 20261
Oct 10, 20261
Oct 9, 20261
Oct 8, 20261
Oct 7, 20261
Oct 6, 20261
Oct 5, 20261
Oct 4, 20261
Oct 3, 20261
Oct 2, 20261
Oct 1, 20261
Sep 30, 20261
Sep 29, 20261
Sep 28, 20261
Sep 27, 20261
Sep 26, 20261
Sep 25, 20261
Sep 24, 20261
Sep 23, 20261
Sep 22, 20261
Sep 21, 20261
Sep 20, 20261
Sep 19, 20261
Sep 18, 20261
Sep 17, 20261
Sep 16, 20261
Sep 15, 20261
Sep 14, 20261
Sep 13, 20261
Sep 12, 20261
Sep 11, 20261
Sep 10, 20261
Sep 9, 20261
Sep 8, 20261
Sep 7, 20261
Sep 6, 20261
npm weekly downloads

Trends appear after 7 days of data. Daily snapshots have not started yet.

Each point is npm's rolling 7-day download count.

Health Score

10/100Poor

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/831570044-root.svg)](https://payloaddirectory.dev/plugins/831570044-root)
HTML
<a href="https://payloaddirectory.dev/plugins/831570044-root"><img src="https://payloaddirectory.dev/badge/831570044-root.svg" alt="Payload Directory"></a>
Updated Jul 24, 2024Created Jul 21, 2024

README

PayloadCMS Relationships Plugin

This plugin makes it easier to list all incoming and outgoing relationships for a given document.

It achieves this by creating a new "relationships" collection which holds all the relationships found in all your collections' documents. When first using this plugin, this "relationships" collection will automatically get populated. Then, whenever a document is created, updated, or deleted, its corresponding entry in the "relationships" collection will be updated accordingly.

Similar plugins