You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ListMembershipsForResourceOpts contains the options for listing memberships with access to a resource.
482
485
typeListMembershipsForResourceOptsstruct {
483
-
ResourceIdstring`json:"-" url:"-"`
484
-
PermissionSlugstring`url:"permission_slug"`
485
-
Assignmentstring`url:"assignment,omitempty"`
486
-
Limitint`url:"limit,omitempty"`
487
-
Beforestring`url:"before,omitempty"`
488
-
Afterstring`url:"after,omitempty"`
489
-
Order common.Order`url:"order,omitempty"`
486
+
ResourceIdstring`json:"-" url:"-"`
487
+
PermissionSlugstring`url:"permission_slug"`
488
+
// TODO can we turn assignment into an enum, where the values are direct and indirect, akin to /Users/swaroopakkineni/Documents/repos/public_repos/workos-node/src/authorization/interfaces/list-memberships-for-resource-by-external-id-options.interface.ts line 8
489
+
Assignmentstring`url:"assignment,omitempty"`
490
+
Limitint`url:"limit,omitempty"`
491
+
Beforestring`url:"before,omitempty"`
492
+
Afterstring`url:"after,omitempty"`
493
+
Order common.Order`url:"order,omitempty"`
490
494
}
491
495
492
496
// ListMembershipsForResourceByExternalIdOpts contains the options for listing memberships by resource external Id.
// TODO can we turn assignment into an enum, where the values are direct and indirect, akin to /Users/swaroopakkineni/Documents/repos/public_repos/workos-node/src/authorization/interfaces/list-memberships-for-resource-by-external-id-options.interface.ts line 8
0 commit comments