tsondb 0.17.0 → 0.17.1

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.
@@ -59,6 +59,14 @@ export declare const EntityDecl: {
59
59
  <Name extends string, T extends TConstraint>(sourceUrl: string, options: {
60
60
  name: Name;
61
61
  namePlural: string;
62
+ /**
63
+ * Changes the appearance of the entity’s name in singular form.
64
+ */
65
+ displayName?: string;
66
+ /**
67
+ * Changes the appearance of the entity’s name in plural form.
68
+ */
69
+ displayNamePlural?: string;
62
70
  comment?: string;
63
71
  type: () => ObjectType<T>;
64
72
  /**
@@ -77,6 +85,14 @@ export declare const EntityDecl: {
77
85
  <Name extends string, T extends TConstraint, FK extends Extract<keyof T, string>>(sourceUrl: string, options: {
78
86
  name: Name;
79
87
  namePlural: string;
88
+ /**
89
+ * Changes the appearance of the entity’s name in singular form.
90
+ */
91
+ displayName?: string;
92
+ /**
93
+ * Changes the appearance of the entity’s name in plural form.
94
+ */
95
+ displayNamePlural?: string;
80
96
  comment?: string;
81
97
  type: () => ObjectType<T>;
82
98
  parentReferenceKey: FK;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsondb",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Lukas Obermann",