-
Notifications
You must be signed in to change notification settings - Fork 462
docs(backend,shared): Generate typedoc output for backend docs #8853
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
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
5147b18
docs(backend,shared): Generate typedoc output for backend docs
alexisintech 49b7e87
docs(backend): Extract backend API methods into per-method MDX pages
alexisintech daceb9d
docs(backend,shared): Extract OrganizationAPI methods into per-method…
alexisintech 9f65eee
fix broken organization API links
alexisintech 6273c3f
fix(backend): enumerate OrganizationApi barrel exports to avoid name …
alexisintech e178b28
docs review - organization
SarahSoutoul 231cddd
document the backend deleted-object
alexisintech 135ca40
fix(backend): enumerate typedoc endpoint entry points explicitly
alexisintech 4da4276
Document Billing, Allowlist Identifier, and Domains APIs
alexisintech 64f24dd
docs review - user
SarahSoutoul 9cb19e5
docs review - domains, allowlist and billing
SarahSoutoul 49556f8
apply Organization docs fixes
alexisintech c385aa9
custom_google --> oauth_custom_google
alexisintech 7007c43
update CreateAllowlistIdentifierParams
alexisintech 002391a
clean up comment formatting
alexisintech f89143b
fix deprecation tag missing from params table; add back deprecation t…
alexisintech 9e53ded
Merge branch 'main' into aa/DOCS-10984
alexisintech 88e40b8
remove organization-domain-resource from custom plugin
alexisintech 6127d23
Document Session, Client, Invitation API
alexisintech d8008bf
docs review - session, invitation & client
SarahSoutoul ce15d96
Document RedirectUrl, EmailAddress, PhoneNumber
alexisintech 7292df0
Document EnterpriseConnection, SignInToken, AgentTask
alexisintech d01b0e4
Merge branch 'main' into aa/DOCS-10984
SarahSoutoul f7b8344
docs review - agent task, enterpriseconnection, sign in token
SarahSoutoul f14ab96
Document TestingToken, WaitlistEntry, Machine
alexisintech 5102f77
Document M2MToken, APIKeys, OAuthApplication
alexisintech f526dd7
docs review - Testing Tokens, Waitlist Entries, and Machines APIs
SarahSoutoul 513aed8
The timestamp --> The Unix timestamp
alexisintech ae0daa5
update types; handle changes to non-backend files
alexisintech 80943b4
Merge branch 'main' into aa/DOCS-10984
alexisintech 0653031
link fixes
alexisintech 4680036
fix: correct m2-m-token-api slug in file-structure snapshot
alexisintech 21c14d6
small copy change to list methods
alexisintech e4c482f
inline OrganizationDomainBulkOwnershipVerificationError and handle it…
alexisintech 125b88f
docs(backend): mark getHandshakePayload as @internal
jacekradko 90a053d
apply suggestions from coderabbit
alexisintech f3072bd
Document Instance API
alexisintech ef02903
docs review - Instance API
SarahSoutoul da89b29
remove two nonexistent links
alexisintech c1e7922
Merge branch 'main' into aa/DOCS-10984
SarahSoutoul f489c4d
Document revokeToken method
alexisintech a27b2d1
fix(backend): drop OrganizationApi UpdateParams from barrel to avoid …
alexisintech e65134a
capitalize Agent Task
alexisintech File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| --- | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🌐 Web query:
In TypeDoc 0.28.5, where are object-literal members of a type alias liketype Foo = { a: string } & Tstored:reflection.childrenorreflection.type.declaration.children?💡 Result:
In TypeDoc 0.28.5, the object-literal members coming from a type alias like
type Foo<T> = { a: string } & Tend up stored underreflection.type.declaration.children(i.e., as children of the internalDeclarationReflectionthat belongs to the alias’stype), not underreflection.children. TypeDoc’sDeclarationReflection.getProperties()first checksthis.childrenand, if that’s empty, falls back tothis.type.declaration.childrenwhenthis.type.type === "reflection"[1]. TheReflectionTypemodel represents an object-literal-ish type by holding adeclaration: DeclarationReflection[2], and it renders its members by iteratingthis.declaration.children[2]. Thus, for type aliases whose object literal is represented as aReflectionType, the members are placed onreflection.type.declaration.children[2][1].Citations:
🏁 Script executed:
Repository: clerk/javascript
Length of output: 2017
Pull alias-backed members from the alias type
.typedoc/custom-plugin.mjs:503-507usestarget?.children ?? [], but TypeDoc stores object-literal members for type aliases ontarget.type.declaration.children. Sincechildrenis usually an empty array, the fallback never runs and wrapper fields likelimit/offsetare omitted. Use an emptiness check before falling back totarget.type.🤖 Prompt for AI Agents