Sanity Library Reference Docs
    Preparing search index...

    Function validateProjectRole

    • Validates that the given resource is a valid Project Role.

      Parameters

      • resource: unknown

        The Role resource

      Returns BlueprintError[]

      A list of validation errors