From c92b98c800a0dc77b03f6e90e4f428e9b4a70927 Mon Sep 17 00:00:00 2001 From: Maurice Date: Mon, 31 Jan 2022 17:35:55 +0100 Subject: [PATCH] Prevented breaking change --- src/models/entities.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/models/entities.ts b/src/models/entities.ts index 5f4a69636..57e83357c 100644 --- a/src/models/entities.ts +++ b/src/models/entities.ts @@ -19,12 +19,12 @@ export interface EntitySchema { /** * If this property is not set, the property will be created by the * datasource. - * You can set the value to 'optional' to force the users to choose the ID. - * You can set the value to 'allowed' to allow the users to choose the ID. If the ID is empty, an automatic ID will be set. + * You can set the value to 'true' to force the users to choose the ID. + * You can set the value to 'optional' to allow the users to choose the ID. If the ID is empty, an automatic ID will be set. * You can also pass a set of values (as an EnumValues object) to allow them * to pick from only those */ - customId?: 'required' | 'optional' | EnumValues; + customId?: boolean | "optional" | EnumValues; /** * Set of properties that compose an entity