remult 0.26.14 → 0.26.15
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.
|
@@ -32,7 +32,7 @@ export class PostgresDataProvider {
|
|
|
32
32
|
this.wrapIdentifier = options.wrapIdentifier;
|
|
33
33
|
if (!options?.wrapIdentifier && options?.caseInsensitiveIdentifiers)
|
|
34
34
|
this.wrapIdentifier = (name) => name;
|
|
35
|
-
if (options
|
|
35
|
+
if (options?.orderByNullsFirst)
|
|
36
36
|
this.orderByNullsFirst = options.orderByNullsFirst;
|
|
37
37
|
if (options?.schema) {
|
|
38
38
|
this.pool = new PostgresSchemaWrapper(pool, options.schema);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export const flags = {
|
|
2
2
|
error500RetryCount: 4,
|
|
3
3
|
};
|
|
4
|
+
//y1 - Talk about the case where we had one to many, without a field - just a filter - for example, event,event participants, users - and a field that shows all users that are not participants
|
|
5
|
+
//p1 - Fix hagai and starter project to latest ts
|
|
4
6
|
//y1 TODO - discuss next auth withRemult paradox - the gift that keeps on giving - it's doing something crazy there!!
|
|
5
7
|
//p1 - fix chaining of saving and saved in multiple entity options args
|
|
6
8
|
//p1 - review starter and examples and separate remult * auth from the routes
|
|
@@ -83,6 +85,9 @@ const result = await repo.batch(x=>({
|
|
|
83
85
|
- allow conditional admin - like allowed
|
|
84
86
|
- remult-admin doesn't handle primary key that has compound column
|
|
85
87
|
- remult-admin didn't show a update for a table with a uniqua that is numeric
|
|
88
|
+
- for literal fields, allow selection from list
|
|
89
|
+
- for many to one fields - allow search field selection by developer
|
|
90
|
+
- for toOne relations, show the "one" row and allow its edit.
|
|
86
91
|
*/
|
|
87
92
|
//remult
|
|
88
93
|
//p1 - when a tasks table exists in a different schema - we get many errors
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ var PostgresDataProvider = /** @class */ (function () {
|
|
|
25
25
|
this.wrapIdentifier = options.wrapIdentifier;
|
|
26
26
|
if (!(options === null || options === void 0 ? void 0 : options.wrapIdentifier) && (options === null || options === void 0 ? void 0 : options.caseInsensitiveIdentifiers))
|
|
27
27
|
this.wrapIdentifier = function (name) { return name; };
|
|
28
|
-
if (options.orderByNullsFirst)
|
|
28
|
+
if (options === null || options === void 0 ? void 0 : options.orderByNullsFirst)
|
|
29
29
|
this.orderByNullsFirst = options.orderByNullsFirst;
|
|
30
30
|
if (options === null || options === void 0 ? void 0 : options.schema) {
|
|
31
31
|
this.pool = new PostgresSchemaWrapper(pool, options.schema);
|
package/src/remult3/remult3.js
CHANGED
|
@@ -4,6 +4,8 @@ exports.flags = void 0;
|
|
|
4
4
|
exports.flags = {
|
|
5
5
|
error500RetryCount: 4,
|
|
6
6
|
};
|
|
7
|
+
//y1 - Talk about the case where we had one to many, without a field - just a filter - for example, event,event participants, users - and a field that shows all users that are not participants
|
|
8
|
+
//p1 - Fix hagai and starter project to latest ts
|
|
7
9
|
//y1 TODO - discuss next auth withRemult paradox - the gift that keeps on giving - it's doing something crazy there!!
|
|
8
10
|
//p1 - fix chaining of saving and saved in multiple entity options args
|
|
9
11
|
//p1 - review starter and examples and separate remult * auth from the routes
|
|
@@ -86,6 +88,9 @@ const result = await repo.batch(x=>({
|
|
|
86
88
|
- allow conditional admin - like allowed
|
|
87
89
|
- remult-admin doesn't handle primary key that has compound column
|
|
88
90
|
- remult-admin didn't show a update for a table with a uniqua that is numeric
|
|
91
|
+
- for literal fields, allow selection from list
|
|
92
|
+
- for many to one fields - allow search field selection by developer
|
|
93
|
+
- for toOne relations, show the "one" row and allow its edit.
|
|
89
94
|
*/
|
|
90
95
|
//remult
|
|
91
96
|
//p1 - when a tasks table exists in a different schema - we get many errors
|