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:
@@ -14,10 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { AuthorizeResult } from './api';
|
||||
export type {
|
||||
AuthorizeRequest,
|
||||
AuthorizeResponse,
|
||||
AuthorizeResult,
|
||||
PermissionCondition,
|
||||
PermissionCriteria,
|
||||
} from './api';
|
||||
|
||||
Reference in New Issue
Block a user