remult 0.25.6-exp.7 → 0.25.6
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/package.json +1 -1
- package/src/context.d.ts +3 -2
- package/src/remult3/remult3.d.ts +2 -2
package/package.json
CHANGED
package/src/context.d.ts
CHANGED
|
@@ -132,8 +132,9 @@ export interface ApiClient {
|
|
|
132
132
|
subscriptionClient?: SubscriptionClient;
|
|
133
133
|
/**
|
|
134
134
|
* A function that wraps message handling for subscriptions. This is useful for executing some code before
|
|
135
|
-
* or after any message arrives from the subscription.
|
|
136
|
-
* a
|
|
135
|
+
* or after any message arrives from the subscription.
|
|
136
|
+
* For example, in Angular, to refresh a specific part of the UI,
|
|
137
|
+
* you can call the `NgZone` run method at this time.
|
|
137
138
|
*
|
|
138
139
|
* @example
|
|
139
140
|
* // Angular example
|
package/src/remult3/remult3.d.ts
CHANGED
|
@@ -194,7 +194,7 @@ export interface EntityMetadata<entityType = any> {
|
|
|
194
194
|
*/
|
|
195
195
|
readonly dbName: string;
|
|
196
196
|
/** The options send to the `Entity`'s decorator */
|
|
197
|
-
readonly options: EntityOptions
|
|
197
|
+
readonly options: EntityOptions;
|
|
198
198
|
/** The class type of the entity */
|
|
199
199
|
readonly entityType: ClassType<entityType>;
|
|
200
200
|
/** true if the current user is allowed to update an entity instance
|
|
@@ -347,7 +347,7 @@ export interface Repository<entityType> {
|
|
|
347
347
|
*/
|
|
348
348
|
metadata: EntityMetadata<entityType>;
|
|
349
349
|
addEventListener(listener: entityEventListener<entityType>): Unsubscribe;
|
|
350
|
-
relations
|
|
350
|
+
relations(item: entityType): RepositoryRelations<entityType>;
|
|
351
351
|
}
|
|
352
352
|
/**
|
|
353
353
|
* The `LiveQuery` interface represents a live query that allows subscribing to changes in the query results.
|