dyna-record 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ import type { AttributeOptions } from "../types";
16
16
  * ```typescript
17
17
  * class Order extends BaseEntity {
18
18
  * @ForeignKeyAttribute({ alias: 'UserID' })
19
- * public userId: ForeignKey; // Foreign key to the User entity. Cannot be optional. See {@link NullableForeignKeyAttribute} if it is nullable
19
+ * public userId: ForeignKey; // Foreign key to the User entity. Cannot be optional. See NullableForeignKeyAttribute otherwise
20
20
  *
21
21
  * @BelongsTo(() => User, { foreignKey: "userId" })
22
22
  * public readonly user: User; // Cannot be optional
@@ -19,7 +19,7 @@ const metadata_1 = __importDefault(require("../../metadata"));
19
19
  * ```typescript
20
20
  * class Order extends BaseEntity {
21
21
  * @ForeignKeyAttribute({ alias: 'UserID' })
22
- * public userId: ForeignKey; // Foreign key to the User entity. Cannot be optional. See {@link NullableForeignKeyAttribute} if it is nullable
22
+ * public userId: ForeignKey; // Foreign key to the User entity. Cannot be optional. See NullableForeignKeyAttribute otherwise
23
23
  *
24
24
  * @BelongsTo(() => User, { foreignKey: "userId" })
25
25
  * public readonly user: User; // Cannot be optional
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dyna-record",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Typescript Object Relational Mapper (ORM) for Dynamo",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",