add newly generated api reports
Signed-off-by: secustor <sebastian@poxhofer.at>
This commit is contained in:
@@ -149,7 +149,7 @@ export type CreatePermissionIntegrationRouterResourceOptions<
|
||||
> = {
|
||||
resourceType: TResourceType;
|
||||
permissions?: Array<Permission>;
|
||||
rules: PermissionRule<TResource, any, NoInfer<TResourceType>>[];
|
||||
rules: PermissionRule<TResource, any, NoInfer_2<TResourceType>>[];
|
||||
getResources?: (
|
||||
resourceRefs: string[],
|
||||
) => Promise<Array<TResource | undefined>>;
|
||||
@@ -255,8 +255,8 @@ export type PermissionRule<
|
||||
description: string;
|
||||
resourceType: TResourceType;
|
||||
paramsSchema?: z.ZodSchema<TParams>;
|
||||
apply(resource: TResource, params: NoInfer<TParams>): boolean;
|
||||
toQuery(params: NoInfer<TParams>): PermissionCriteria<TQuery>;
|
||||
apply(resource: TResource, params: NoInfer_2<TParams>): boolean;
|
||||
toQuery(params: NoInfer_2<TParams>): PermissionCriteria<TQuery>;
|
||||
};
|
||||
|
||||
// @public
|
||||
@@ -295,4 +295,11 @@ export class ServerPermissionClient implements PermissionsService {
|
||||
},
|
||||
): ServerPermissionClient;
|
||||
}
|
||||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/ServerPermissionClient.d.ts:12:5 - (ae-undocumented) Missing documentation for "fromConfig".
|
||||
// src/ServerPermissionClient.d.ts:18:5 - (ae-undocumented) Missing documentation for "authorizeConditional".
|
||||
// src/ServerPermissionClient.d.ts:19:5 - (ae-undocumented) Missing documentation for "authorize".
|
||||
// src/policy/types.d.ts:67:5 - (ae-undocumented) Missing documentation for "handle".
|
||||
```
|
||||
Reference in New Issue
Block a user