authz: do not export AuthorizeResult as type

Since AuthorizeResult is an enum, exporting it via `export type` is
incorrect - it means we can refer to the AuthorizeResult type, but not
use it or its members as values.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
Mike Lewis
2021-11-11 13:26:17 +00:00
parent dce7237d46
commit 59702b2bde
@@ -14,10 +14,10 @@
* limitations under the License.
*/
export { AuthorizeResult } from './api';
export type {
AuthorizeRequest,
AuthorizeResponse,
AuthorizeResult,
PermissionCondition,
PermissionCriteria,
} from './api';