Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-11330

Split root/types.js into smaller files

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021-06-14
    • Component/s: Refactoring
    • Labels:
      None

      Description

      root/types.js is very large and difficult to find things in without using grep. It's also annoying to keep properly "sorted," since we have some conflicts of interest there (keeping them in alphabetical order vs. keeping related types together).

      Ideally we'd move related types into smaller files and import them from root/types.js (or add them to the flowconfig). There are probably even cases where a type doesn't need to be global, and can be moved closer to the module(s) where it's used.

        Attachments

          Activity

            People

            Assignee:
            reosarevok Nicolás Tamargo
            Reporter:
            bitmap Michael Wiencek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2021-06-14