entropic-bond 1.59.4 → 1.59.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.
package/README.md CHANGED
@@ -19,7 +19,7 @@ Typically, you will derive all your business logic entities from the `EntropicCo
19
19
 
20
20
  ### API
21
21
 
22
- You can find the API documentation [here](docs/modules.md).
22
+ You can find the API documentation in the docs/ directory.
23
23
 
24
24
  ### Persistence
25
25
 
@@ -45,7 +45,7 @@ class MyEntity extends EntropicBond {
45
45
 
46
46
  #### Storing and querying the persistent entities
47
47
 
48
- The database abstraction is provided by the `Store` object. To learn how to set up a concrete database, [see below](setup_the_database_access).
48
+ The database abstraction is provided by the `Store` object.
49
49
 
50
50
  The `Store.getModel` method will return an object with methods to access the database.
51
51
 
@@ -80,7 +80,7 @@ Currently, there is an official plugin to connect to a **Firebase** _Firestore_
80
80
  npm i entropic-bond-firebase
81
81
  ```
82
82
 
83
- You can develop new plugins following the [plugin developer's](plugin_development) section.
83
+ You can develop new plugins following the plugin developer's section.
84
84
 
85
85
  You should instantiate the concrete implementation of the `DataSource` and pass it to the `useDataSource` method of the `Store` object.
86
86
 
@@ -1,5 +1,5 @@
1
1
  import { CloudFunction, CloudFunctionsService } from './cloud-functions';
2
- interface FunctionCollection {
2
+ export interface FunctionCollection {
3
3
  [key: string]: CloudFunction<any, any>;
4
4
  }
5
5
  export declare class CloudFunctionsMock implements CloudFunctionsService {
@@ -8,4 +8,3 @@ export declare class CloudFunctionsMock implements CloudFunctionsService {
8
8
  callFunction<P, R>(func: CloudFunction<P, R>, params: P): Promise<R>;
9
9
  private _registeredFunctions;
10
10
  }
11
- export {};
@@ -1,5 +1,5 @@
1
1
  export type UploadProgress = (uploadedBytes: number, fileSize: number) => void;
2
- type CloudStorageFactory = () => CloudStorage;
2
+ export type CloudStorageFactory = () => CloudStorage;
3
3
  export interface UploadControl {
4
4
  pause: () => void;
5
5
  resume: () => void;
@@ -21,4 +21,3 @@ export declare abstract class CloudStorage {
21
21
  private static _cloudStorageFactoryMap;
22
22
  }
23
23
  export declare function registerCloudStorage(cloudStorageProviderName: string, factory: CloudStorageFactory): (constructor: Function) => void;
24
- export {};
@@ -338,12 +338,12 @@ var S = class extends c {
338
338
  this._onChange.notify(e);
339
339
  }
340
340
  pushAndNotify(e, t, n) {
341
- let r = "_" + String(e);
342
- if (!(n && this[r].find((e) => !n(e, t)))) return this[r].push(t), this.notify({ [e]: this[e] }), t;
341
+ let r = "_" + String(e), i = this[r];
342
+ if (!(n && i.find((e) => !n(e, t)))) return i.push(t), this.notify({ [e]: this[e] }), t;
343
343
  }
344
344
  removeAndNotify(e, t, n) {
345
- let r = "_" + String(e), i = this[r].length;
346
- if (this[r] = this[r].filter((e) => !n(e, t)), i !== this[r].length) return this.notify({ [e]: this[e] }), t;
345
+ let r = "_" + String(e), i = this[r], a = i.length, o = i.filter((e) => !n(e, t)), s = this;
346
+ if (s[r] = o, a !== o.length) return this.notify({ [e]: this[e] }), t;
347
347
  }
348
348
  }, C = class e {
349
349
  static {
@@ -1212,6 +1212,6 @@ function G(e, t) {
1212
1212
  return t.split(".").reduce((e, t) => e[t], e);
1213
1213
  }
1214
1214
  //#endregion
1215
- export { F as Auth, I as AuthMock, P as AuthService, L as CloudFunctions, R as CloudFunctionsMock, k as CloudStorage, D as DataSource, S as EntropicComponent, O as JsonDataSource, j as MockCloudStorage, C as Model, e as Observable, c as Persistent, w as Query, B as ServerAuth, V as ServerAuthMock, z as ServerAuthService, T as Store, N as StoredFile, M as StoredFileEvent, U as camelCase, G as getDeepValue, l as persistent, h as persistentParser, p as persistentPureReference, m as persistentPureReferenceWithCachedProps, d as persistentReference, u as persistentReferenceAt, f as persistentReferenceWithCachedProps, A as registerCloudStorage, _ as registerLegacyClassName, g as registerPersistentClass, H as replaceValue, y as required, b as requiredWithValidator, v as searchableArray, W as snakeCase, x as typeName };
1215
+ export { F as Auth, I as AuthMock, P as AuthService, E as CachedPropsUpdater, L as CloudFunctions, R as CloudFunctionsMock, k as CloudStorage, D as DataSource, S as EntropicComponent, O as JsonDataSource, j as MockCloudStorage, C as Model, e as Observable, c as Persistent, w as Query, B as ServerAuth, V as ServerAuthMock, z as ServerAuthService, T as Store, N as StoredFile, M as StoredFileEvent, U as camelCase, G as getDeepValue, l as persistent, h as persistentParser, p as persistentPureReference, m as persistentPureReferenceWithCachedProps, d as persistentReference, u as persistentReferenceAt, f as persistentReferenceWithCachedProps, A as registerCloudStorage, _ as registerLegacyClassName, g as registerPersistentClass, H as replaceValue, y as required, b as requiredWithValidator, v as searchableArray, W as snakeCase, x as typeName };
1216
1216
 
1217
1217
  //# sourceMappingURL=entropic-bond.js.map