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
Conversation
- 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.
@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 ReviewsBecause 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
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"
} |
🔔 @Autodesk-Forge @alansmithnbs @liskaj @petrbroz @cyrillef — please review this PR in the next few days. Be sure to explicitly select |
@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. |
@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:
and I'll merge this PR almost instantly. Thanks for helping out! ❤️ (@Autodesk-Forge, @alansmithnbs, @liskaj, @petrbroz, @cyrillef: you can do this too.) |
Ready to merge |
viewer#loadDocumentNode
.Please fill in this template.
pnpm test <package to test>
.Select one of these and delete the others:
If adding a new definition:
.d.ts
files generated via--declaration
dts-gen --dt
, not by basing it on an existing project.tsconfig.json
should havenoImplicitAny
,noImplicitThis
,strictNullChecks
, andstrictFunctionTypes
set totrue
.If changing an existing definition:
- https://aps.autodesk.com/en/docs/viewer/v7/reference/Private/PropDbLoader/
- https://aps.autodesk.com/en/docs/viewer/v7/reference/Viewing/Model/
- https://aps.autodesk.com/en/docs/viewer/v7/reference/Viewing/Viewer3D/#loadmodel-url-options-onsuccesscallback-onerrorcallback
- https://aps.autodesk.com/en/docs/viewer/v7/reference/Viewing/BubbleNode/
package.json
.If removing a declaration:
notNeededPackages.json
.