diff --git a/build/api/client-content.api.md b/build/api/client-content.api.md index f5074eb35..4762ea1a3 100644 --- a/build/api/client-content.api.md +++ b/build/api/client-content.api.md @@ -361,14 +361,14 @@ export type EntityTypeLike = { [columnName: string]: any; }; hasOne: { - [relationName: string]: EntityTypeLike; + [relationName: string]: any; }; hasMany: { - [relationName: string]: EntityTypeLike; + [relationName: string]: any; }; hasManyBy: { [relationName: string]: { - entity: EntityTypeLike; + entity: any; by: JSONObject; }; }; diff --git a/packages/client-content/src/types/Schema.ts b/packages/client-content/src/types/Schema.ts index d9278fa4b..b26d5b308 100644 --- a/packages/client-content/src/types/Schema.ts +++ b/packages/client-content/src/types/Schema.ts @@ -28,14 +28,14 @@ export type EntityTypeLike = { [columnName: string]: any } hasOne: { - [relationName: string]: EntityTypeLike + [relationName: string]: any } hasMany: { - [relationName: string]: EntityTypeLike + [relationName: string]: any } hasManyBy: { [relationName: string]: { - entity: EntityTypeLike + entity: any by: JSONObject } }