remult 0.23.0-exp.33 → 0.23.0-exp.34

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.
@@ -200,9 +200,7 @@ export interface EntityMetadata<entityType = any> {
200
200
  readonly idMetadata: IdMetadata<entityType>;
201
201
  }
202
202
  export declare type OmitEB<T> = Omit<T, keyof EntityBase>;
203
- export type OmitFunctions<T> = Pick<T, {
204
- [K in keyof T]: T[K] extends Function ? never : K;
205
- }[keyof T]>;
203
+ export type OmitFunctions<T> = T;
206
204
  export declare type idType<entityType> = entityType extends {
207
205
  id?: number;
208
206
  } ? number : entityType extends {
@@ -38,7 +38,7 @@ remult.apiClient.url='localhost:3007/api
38
38
  //y1 - YONI with relation to one, fields doesn't appear well in the overload options when trying to set driver phone on trempim
39
39
  //y1 - YONI why didn't this._.relations.statusChanges.insert({})work?
40
40
  //y1 - YONI 'taskid' toOne field parameter did not autocomplete in task app - C:\repos\help-zahal\src\app\events\volunteerInTask.ts 49
41
- //y1 - Is OmitFunctions a good name from fields and relations
41
+ //y1 - YONI - trieed to implement this with OmitFunctions - but it breaks this.$.[something] a good name from fields and relations
42
42
  //p2 - filterToRaw should get a dbnames of - and we should create a dbnames of that supports an alias
43
43
  //y2 - livequery for findfirst (@JY)
44
44
  //y2 - #239 - (@JY) add a way to get from fieldMetadata back to entity repo (like we have in fieldRef)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remult",
3
- "version": "0.23.0-exp.33",
3
+ "version": "0.23.0-exp.34",
4
4
  "description": "A CRUD framework for full-stack TypeScript",
5
5
  "types": "index.d.ts",
6
6
  "module": "esm/index.js",
@@ -200,9 +200,7 @@ export interface EntityMetadata<entityType = any> {
200
200
  readonly idMetadata: IdMetadata<entityType>;
201
201
  }
202
202
  export declare type OmitEB<T> = Omit<T, keyof EntityBase>;
203
- export type OmitFunctions<T> = Pick<T, {
204
- [K in keyof T]: T[K] extends Function ? never : K;
205
- }[keyof T]>;
203
+ export type OmitFunctions<T> = T;
206
204
  export declare type idType<entityType> = entityType extends {
207
205
  id?: number;
208
206
  } ? number : entityType extends {
@@ -39,7 +39,7 @@ remult.apiClient.url='localhost:3007/api
39
39
  //y1 - YONI with relation to one, fields doesn't appear well in the overload options when trying to set driver phone on trempim
40
40
  //y1 - YONI why didn't this._.relations.statusChanges.insert({})work?
41
41
  //y1 - YONI 'taskid' toOne field parameter did not autocomplete in task app - C:\repos\help-zahal\src\app\events\volunteerInTask.ts 49
42
- //y1 - Is OmitFunctions a good name from fields and relations
42
+ //y1 - YONI - trieed to implement this with OmitFunctions - but it breaks this.$.[something] a good name from fields and relations
43
43
  //p2 - filterToRaw should get a dbnames of - and we should create a dbnames of that supports an alias
44
44
  //y2 - livequery for findfirst (@JY)
45
45
  //y2 - #239 - (@JY) add a way to get from fieldMetadata back to entity repo (like we have in fieldRef)