Convert repository branch and commit models/collections to TypeScript/spina.

Review Request #14083 — Created Aug. 8, 2024 and submitted

Information

Review Board
master

Reviewers

This change converts the RB.RepositoryBranch and RB.RepositoryCommit
resource models to TypeScript, along with the RB.RepositoryBranches and
RB.RepositoryCommits collections.

  • Ran js-tests.
  • Ran setup.py build_media.
Summary ID
Convert repository branch and commit models/collections to TypeScript/spina.
This change converts the RB.RepositoryBranch and RB.RepositoryCommit resource models to TypeScript, along with the RB.RepositoryBranches and RB.RepositoryCommits collections. Testing Done: - Ran js-tests. - Ran setup.py build_media.
cad6c6342fc2ca2b37ba8fd65d5493c668ee67b1
Description From Last Updated

Must be a single-line summary.

chipx86chipx86

We should probably list these alphabetically.

chipx86chipx86

Missing space before the =.

chipx86chipx86

This can be Record<string, string>.

chipx86chipx86

We should probably type these, if we can.

chipx86chipx86
david
david
chipx86
  1. 
      
  2. Show all issues

    Must be a single-line summary.

  3. reviewboard/static/rb/js/common/resources/models/repositoryBranchModel.ts (Diff revision 3)
     
     
     
     
     
     
     
     
     
     
     
     
    Show all issues

    We should probably list these alphabetically.

  4. Show all issues

    Missing space before the =.

  5. Show all issues

    This can be Record<string, string>.

  6. Show all issues

    We should probably type these, if we can.

    1. I'm going to be removing these deprecated callbacks in a later change, at which point this method won't take any args.

  7. 
      
david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (d8048fb)