Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[forge-viewer] update for version 7.89 #69419

Merged
merged 3 commits into from May 3, 2024

Conversation

yiskang
Copy link
Contributor

@yiskang yiskang commented Apr 23, 2024

  • Move PropDbLoader to Private namespace and change its type from interface to class.
  • Add some missing fields and functions to PropDbLoader and Model.
  • Correct type declarations for LoadModelOptions and options in viewer#loadDocumentNode.
  • Add isMasterView() to BubbleNode.
  • Update test codes.
  • Updated version number.

Please fill in this template.

Select one of these and delete the others:

If adding a new definition:

  • The package does not already provide its own types, or cannot have its .d.ts files generated via --declaration
  • If this is for an npm package, match the name. If not, do not conflict with the name of an npm package.
  • Create it with dts-gen --dt, not by basing it on an existing project.
  • Represents shape of module/library correctly
  • tsconfig.json should have noImplicitAny, noImplicitThis, strictNullChecks, and strictFunctionTypes set to true.

If changing an existing definition:

If removing a declaration:

  • If a package was never on Definitely Typed, you don't need to do anything. (If you wrote a package and provided types, you don't need to register it with us.)
  • Delete the package's directory.
  • Add it to notNeededPackages.json.

- Move PropDbLoader to Private namespace and change its type from
  interface to class.
- Add some missing fields and
  functions to PropDbLoader and Model.
- Correct type declarations for LoadModelOptions and options in
  `viewer#loadDocumentNode`.
- Add isMasterView() to BubbleNode.
- Update test codes.
- Updated version number.
@typescript-bot
Copy link
Contributor

typescript-bot commented Apr 23, 2024

@yiskang Thank you for submitting this PR!

This is a live comment which I will keep updated.

1 package in this PR

@yiskang: I see that you have added yourself as an owner, are you sure you want to become an owner?

Code Reviews

Because this PR edits the configuration file, it can be merged once it's reviewed by a DT maintainer.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ A DT maintainer needs to approve changes which affect module config files

All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 69419,
  "author": "yiskang",
  "headCommitOid": "14f9972baf7f67bef92a0e562b30edd18de62d52",
  "mergeBaseOid": "9ec204164d296bac9574f8113417236cae2a5d62",
  "lastPushDate": "2024-04-23T14:20:30.000Z",
  "lastActivityDate": "2024-05-03T02:38:53.000Z",
  "mergeOfferDate": "2024-05-02T14:05:41.000Z",
  "mergeRequestDate": "2024-05-03T02:38:53.000Z",
  "mergeRequestUser": "yiskang",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "forge-viewer",
      "kind": "edit",
      "files": [
        {
          "path": "types/forge-viewer/forge-viewer-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/forge-viewer/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/forge-viewer/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/forge-viewer/tsconfig.json",
          "kind": "package-meta",
          "suspect": "not [the expected form](https://github.com/DefinitelyTyped/DefinitelyTyped#user-content-tsconfigjson) and not moving towards it (check: `compilerOptions.lib.1`)"
        }
      ],
      "owners": [
        "Autodesk-Forge",
        "alansmithnbs",
        "liskaj",
        "petrbroz",
        "cyrillef"
      ],
      "addedOwners": [
        "autodesk-platform-services",
        "yiskang"
      ],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "rbuckton",
      "date": "2024-05-02T14:05:02.000Z",
      "isMaintainer": true
    }
  ],
  "mainBotCommentID": 2072446860,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added Edits Owners This PR adds or removes owners Check Config Changes a module config files labels Apr 23, 2024
@typescript-bot typescript-bot added this to Waiting for Code Reviews in New Pull Request Status Board Apr 23, 2024
@typescript-bot
Copy link
Contributor

🔔 @Autodesk-Forge @alansmithnbs @liskaj @petrbroz @cyrillef — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Apr 23, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board Apr 23, 2024
@typescript-bot
Copy link
Contributor

@yiskang The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Apr 23, 2024
@typescript-bot typescript-bot moved this from Needs Author Action to Waiting for Code Reviews in New Pull Request Status Board Apr 23, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Maintainer Review in New Pull Request Status Board Apr 23, 2024
@typescript-bot typescript-bot moved this from Needs Maintainer Review to Waiting for Code Reviews in New Pull Request Status Board Apr 23, 2024
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Maintainer Review in New Pull Request Status Board Apr 23, 2024
@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels May 2, 2024
@typescript-bot typescript-bot moved this from Needs Maintainer Review to Waiting for Author to Merge in New Pull Request Status Board May 2, 2024
@typescript-bot
Copy link
Contributor

@yiskang: Everything looks good here. I am ready to merge this PR (at 14f9972) on your behalf whenever you think it's ready.

If you'd like that to happen, please post a comment saying:

Ready to merge

and I'll merge this PR almost instantly. Thanks for helping out! ❤️

(@Autodesk-Forge, @alansmithnbs, @liskaj, @petrbroz, @cyrillef: you can do this too.)

@yiskang
Copy link
Contributor Author

yiskang commented May 3, 2024

Ready to merge

@typescript-bot typescript-bot moved this from Waiting for Author to Merge to Recently Merged in New Pull Request Status Board May 3, 2024
@typescript-bot typescript-bot merged commit c2239bf into DefinitelyTyped:master May 3, 2024
4 checks passed
@typescript-bot typescript-bot removed this from Recently Merged in New Pull Request Status Board May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Check Config Changes a module config files Edits Owners This PR adds or removes owners Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants