page_size
and next_token
but having a way to grab the total amount of users at a glance would be great because at this stage, my table doesn't really know how big the organizations users table could be, and therefore has no idea what to specify as a max page. Likewise, being able to provide a page
instead of a next_token
as a cursor would make things a lot easier to work with, like using the built-in pagination features of Tanstack Table. useKindeBrowserClient().organization
and useKindeBrowserClient().getOrganization()
is typed as KindeOrganization
, which should be an object with an orgCode
value. In testing, this doesn't appear to be the case - instead the results of this is the orgCode
as a string. I spent a little while chasing my tail to figure out why the orgCode
was undefined on the object only to realize it's because the object wasn't an object... but a string 😆KindeOrganization
typed object returned from the various APIs (useKindeBrowserClient().organization
for example) only returns the orgCode. It'd be great if it could return the orgName as well - I believe it'd be a much nicer DX than having to get the org code > get the claim, we'd also get type checks 🙂KindeOrganizations
type as well that'd be awesome!