Skip to content

Commit ab81f9d

Browse files
committed
fix build
1 parent ff5735f commit ab81f9d

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

packages/server/src/api/rpc/openapi.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { lowerCaseFirst, upperCaseFirst } from '@zenstackhq/common-helpers';
22
import type { EnumDef, FieldDef, ModelDef, SchemaDef } from '@zenstackhq/orm/schema';
33
import type { OpenAPIV3_1 } from 'openapi-types';
4+
import type { RPCApiHandlerOptions } from '.';
45
import { PROCEDURE_ROUTE_PREFIXES } from '../common/procedures';
56
import {
67
getIncludedModels,
@@ -10,7 +11,6 @@ import {
1011
isProcedureIncluded,
1112
} from '../common/spec-utils';
1213
import type { OpenApiSpecOptions } from '../common/types';
13-
import type { RPCApiHandlerOptions } from './handler';
1414

1515
type SchemaObject = OpenAPIV3_1.SchemaObject;
1616
type ReferenceObject = OpenAPIV3_1.ReferenceObject;
@@ -685,11 +685,7 @@ export class RPCApiSpecGenerator<Schema extends SchemaDef = SchemaDef> {
685685
return baseSchema;
686686
}
687687

688-
private buildFieldFilterSchema(
689-
modelName: string,
690-
fieldName: string,
691-
fieldDef: FieldDef,
692-
): SchemaObject | undefined {
688+
private buildFieldFilterSchema(modelName: string, fieldName: string, fieldDef: FieldDef): SchemaObject | undefined {
693689
const baseSchema = this.typeToSchema(fieldDef.type);
694690
const filterProps: Record<string, SchemaObject | ReferenceObject> = {};
695691
const type = fieldDef.type;

0 commit comments

Comments
 (0)