-
Notifications
You must be signed in to change notification settings - Fork 310
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
chore(clerk-js,types): Initialize tasks
on Session
resource
#5170
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: fa71eec The changes in this PR will be included in the next version bump. This PR includes changesets to release 23 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
613811f
to
465496a
Compare
tasks
on Session
resourcetasks
on Session
resource
tasks
on Session
resourcetasks
on Session
resource
4809110
to
f559c3e
Compare
f559c3e
to
b9b5431
Compare
b9b5431
to
1882e49
Compare
@@ -169,6 +170,10 @@ export interface PublicUserData { | |||
userId?: string; | |||
} | |||
|
|||
export interface SessionTasks { | |||
orgs: Record<string, unknown>; |
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.
For now, FAPI is returning an empty object by purpose (https://github.com/clerk/clerk_go/pull/9639) as we're developing incrementally, but it might include some additional metadata about the task in the future and I'll update it by then
The purpose of including it now is to unblock next PRs
1882e49
to
d474276
Compare
packages/types/src/session.ts
Outdated
@@ -98,11 +98,12 @@ export interface SessionResource extends ClerkResource { | |||
* Each item represents the minutes that have passed since the last time a first or second factor were verified. | |||
* [fistFactorAge, secondFactorAge] |
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.
* [fistFactorAge, secondFactorAge] | |
* [firstFactorAge, secondFactorAge] |
d474276
to
fa71eec
Compare
Description
Adds the
tasks
property on the session client resource to be leveraged/accessed for displaying in AIO componentsChecklist
pnpm test
runs as expected.pnpm build
runs as expected.Type of change