Skip to content

Commit

Permalink
Prevented breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriceackel committed Jan 31, 2022
1 parent 9b65408 commit c92b98c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/models/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ export interface EntitySchema<M extends { [Key: string]: any } = any> {
/**
* 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
Expand Down

0 comments on commit c92b98c

Please sign in to comment.