File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -443,13 +443,13 @@ pub enum PartialAuthorizationAnswer {
443
443
#[ serde( rename_all = "camelCase" ) ]
444
444
pub struct AuthorizationCall {
445
445
/// The principal taking action
446
- #[ cfg_attr( feature = "wasm" , tsify( type = "string| {type: string, id: string}" ) ) ]
446
+ #[ cfg_attr( feature = "wasm" , tsify( type = "{type: string, id: string}" ) ) ]
447
447
principal : Option < JsonValueWithNoDuplicateKeys > ,
448
448
/// The action the principal is taking
449
- #[ cfg_attr( feature = "wasm" , tsify( type = "string| {type: string, id: string}" ) ) ]
449
+ #[ cfg_attr( feature = "wasm" , tsify( type = "{type: string, id: string}" ) ) ]
450
450
action : JsonValueWithNoDuplicateKeys ,
451
451
/// The resource being acted on by the principal
452
- #[ cfg_attr( feature = "wasm" , tsify( type = "string| {type: string, id: string}" ) ) ]
452
+ #[ cfg_attr( feature = "wasm" , tsify( type = "{type: string, id: string}" ) ) ]
453
453
resource : Option < JsonValueWithNoDuplicateKeys > ,
454
454
/// The context details specific to the request
455
455
#[ serde_as( as = "MapPreventDuplicates<_, _>" ) ]
You can’t perform that action at this time.
0 commit comments