Uploaded image for project: 'BookBrainz'
  1. BookBrainz
  2. BB-333

Implement a RelationshipType enum

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Review Submitted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Site Backend
    • Labels:

      Description

      Implement a flow enum for referring to a relationship type.
      Example of enums in flow: https://alligator.io/react/flow-enums/#creating-an-enum-from-an-existing-value

      As for the format of each type, I suggest something like this: 
      `EditionContainsWork: 10`

      This can then be used when referring to relationship type id.

      I suggest the file `src/client/entity-editor/relationship-editor/types.js`as its logical home.

        Attachments

          Activity

            People

            • Assignee:
              mr_monkey Monkey
              Reporter:
              mr_monkey Monkey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package