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.
Parameters
Section titled “Parameters”entries
Section titled “entries”object[]
Each loaded spec with the file that declared it, in the order they’ll be built.
Returns
Section titled “Returns”void
Throws
Section titled “Throws”duplicate-name, naming the first duplicate and both files.