Skip to content

assertUniquePermissionSetNames

assertUniquePermissionSetNames(entries): void

Defined in: packages/simply-permissions-core/src/permissionSetBuild.ts:530

Checks that no two permission set build files declare the same permission set name. Without this, the later file silently overwrites the earlier one’s output.

object[]

Each loaded spec with the file that declared it, in the order they’ll be built.

void

duplicate-name, naming the first duplicate and both files.