Implement a RelationshipType enum

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Normal
    • None
    • Affects Version/s: None
    • Component/s: Site Backend

      Implement a Typescript enum for referring to a relationship type.
      Example of enums in Typescript: https://www.typescriptlang.org/docs/handbook/enums.html

      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.

            Assignee:
            prasad39
            Reporter:
            Monkey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package