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
// Assignment represents the type of role assignment filter.
490
+
typeAssignmentstring
491
+
492
+
const (
493
+
AssignmentDirectAssignment="direct"
494
+
AssignmentIndirectAssignment="indirect"
495
+
)
496
+
484
497
// ListMembershipsForResourceOpts contains the options for listing memberships with access to a resource.
485
498
typeListMembershipsForResourceOptsstruct {
486
499
ResourceIdstring`json:"-" url:"-"`
487
500
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"`
501
+
AssignmentAssignment`url:"assignment,omitempty"`
502
+
Limitint`url:"limit,omitempty"`
503
+
Beforestring`url:"before,omitempty"`
504
+
Afterstring`url:"after,omitempty"`
505
+
Order common.Order`url:"order,omitempty"`
494
506
}
495
507
496
508
// 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