Skip to content

Commit 8a6127e

Browse files
committed
update
1 parent d6618c9 commit 8a6127e

File tree

1 file changed

+2
-1
lines changed
  • packages/schema/src/plugins/enhancer/policy

1 file changed

+2
-1
lines changed

packages/schema/src/plugins/enhancer/policy/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
2-
import { type PolicyKind, type PolicyOperationKind } from '@zenstackhq/runtime';
2+
import type { PolicyKind, PolicyOperationKind } from '@zenstackhq/runtime';
33
import {
44
ExpressionContext,
55
PluginError,
@@ -304,6 +304,7 @@ export function generateQueryGuardFunction(
304304
fieldOverride = false
305305
) {
306306
const statements: (string | WriterFunction)[] = [];
307+
307308
const allowRules = allows.filter((rule) => !hasCrossModelComparison(rule));
308309
const denyRules = denies.filter((rule) => !hasCrossModelComparison(rule));
309310

0 commit comments

Comments
 (0)