Skip to content

Commit

Permalink
Update InternalRoleOps.ts
Browse files Browse the repository at this point in the history
Remove unused param `deep`
  • Loading branch information
vscheuber authored Nov 14, 2024
1 parent 8276e5a commit 8a38293
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/ops/InternalRoleOps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,29 +72,24 @@ export type InternalRole = {
/**
* Delete internal role
* @param {string} roleId internal role uuid
* @param {boolean} deep deep delete (remove dependencies)
* @returns {Promise<InternalRoleSkeleton>} a promise that resolves to an internal role object
*/
deleteInternalRole(
roleId: string,
deep?: boolean
roleId: string
): Promise<InternalRoleSkeleton>;
/**
* Delete internal role by name
* @param {string} roleName internal role name
* @param {boolean} deep deep delete (remove dependencies)
* @returns {Promise<InternalRoleSkeleton>} a promise that resolves to an internal role object
*/
deleteInternalRoleByName(
roleName: string,
deep?: boolean
roleName: string
): Promise<InternalRoleSkeleton>;
/**
* Delete all internal roles
* @param {boolean} deep deep delete (remove dependencies)
* @returns {Promise<InternalRoleSkeleton[]>} a promise that resolves to an array of internal role objects
*/
deleteInternalRoles(deep?: boolean): Promise<InternalRoleSkeleton[]>;
deleteInternalRoles(): Promise<InternalRoleSkeleton[]>;
/**
* Query internal roles
* @param filter CREST search filter
Expand Down

0 comments on commit 8a38293

Please sign in to comment.