-
Notifications
You must be signed in to change notification settings - Fork 870
[ci] Update Typedoc (9abb76f) #2772
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
plan of action: |
| | ---------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| | <a id="debug"></a> `debug` | <code>() => \{ [key: string]: any; \}</code> | Used to help debug issues when using Clerk in development. | | ||
| | <a id="gettoken"></a> `getToken` | <code>() => Promise\<null\> \| () => Promise\<string\> \| ServerGetToken \| () => Promise\<null\></code> | A function that gets the current user's [session token](/docs/guides/sessions/session-tokens) or a [custom JWT template](/docs/guides/sessions/jwt-templates). | | ||
| | <a id="has"></a> `has` | <code>CheckAuthorizationFromSessionClaims \| () => false</code> | A function that checks if the user has an organization role or custom permission. | |
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.
Lost a link here
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.
Having a look rn
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.
These links were broken in the first place, as there aren't links in the first place to link these too. This is also a typedoc that's not being used as we discussed. So I think we're safe to ignore.
| | <a id="pastdueat"></a> `pastDueAt` | <code>null \| number</code> | Unix timestamp (milliseconds) of when the subscription became past due. | | ||
| | <a id="payerid"></a> `payerId` | `string` | The ID of the payer for this subscription. | | ||
| | <a id="status"></a> `status` | <code>"abandoned" \| "active" \| "ended" \| "canceled" \| "incomplete" \| "past_due"</code> | The current status of the subscription. | | ||
| | <a id="subscriptionitems"></a> `subscriptionItems` | <code>[BillingSubscriptionItem](billing-subscription-item.mdx)[]</code> | Array of subscription items in this subscription. | |
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.
This is a broken link / missing a link replacement
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.
I'm not sure of this one bcs of several reasons:
- It's not being used as a typedoc.
- It's only being used in this typedoc.
- There is no existing link to link this to.
| | `props` | [`Without`](../types/without.mdx)\<`WithClerkProp`\<`PropsWithChildren`\<[`PlanDetailsButtonProps`](plan-details-button-props.mdx)\>\>, `"clerk"`\> | | ||
| | Parameter | Type | | ||
| | --------- | --------------------------------------------------------------------------------------------------------------------------- | | ||
| | `props` | `Without`\<`WithClerkProp`\<`PropsWithChildren`\<[`PlanDetailsButtonProps`](plan-details-button-props.mdx)\>\>, `"clerk"`\> | |
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.
broken link to plan details button props
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.
This typedoc isn't used
| | `params?` | `T$1` | | ||
|
|
||
| ## Returns | ||
|
|
||
| [`UseOrganizationListReturn`](../shared/use-organization-list-return.mdx)\<`T`\> | ||
| `UseOrganizationListReturn`\<`T$1`\> |
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.
No idea whats going on with the $1 getting added
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.
Also not used as a typedoc but yeah weird behaviour.
| ## Returns | ||
|
|
||
| [`SignInSignalValue`](../types/sign-in-signal-value.mdx) | ||
| `SignInSignalValue` |
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.
Lost broken link here
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.
This typedoc isn't used, and doesn't have a link to lead to.
|
Thanks for all the catches @NWylynko - have responded to them all, and as we discussed, it's looking like either the broken links are on typedocs that aren't used in the docs at all or the links were already broken and there is no real link to lead them to, so imo, we could prob ignore these. I am going to add the changes of this PR in here, so I can test everything. @alexisintech |
|
Update: Noticed one issue caused by this
Basically, it gets applied to the
So I say we prob want to remove this catch replacement but wanna get everyone's thoughts @alexisintech @NWylynko. |
oh yeah then lets remove it ! |
Okay, we'll need another JS PR then. And re-do the following process:
Will tackle it tomorrow! |
|
C
@alexisintech @NWylynko Fixed this with this PR: clerk/javascript#7176 and newly generated Typedoc CI PR is here: #2776. So closing this one. |










Auto-generated PR to update Typedoc documentation from clerk/javascript@9abb76f