@evoke-platform/context 1.1.0-dev.0 → 1.1.0-testing.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.
package/README.md CHANGED
@@ -17,7 +17,6 @@ available and no further installation is necessary.
17
17
 
18
18
  - [Working With Objects](#working-with-objects)
19
19
  - [REST API Calls](#rest-api-calls)
20
- - [Authentication Context](#authentication-context)
21
20
  - [Notifications](#notifications)
22
21
 
23
22
  ### Working With Objects
@@ -207,25 +206,6 @@ absolute URL.
207
206
 
208
207
  ##### `delete(url, options)`
209
208
 
210
- ### Authentication Context
211
-
212
- - [useAuthenticationContext](#useauthenticationcontext)
213
-
214
- #### `useAuthenticationContext()`
215
-
216
- Hook to obtain the authentication context based on the current logged-in user.
217
-
218
- The authentication context includes the following property and functions.
219
-
220
- - `account` _[object]_
221
- - The account of the currently logged-in user. This includes both the user's `id` and `name`.
222
- - `logout()`
223
- - A function that logs out the currently logged-in user. The user will be redirected to Evoke's logout page upon logout.
224
- - `getAccessToken()`
225
- - A function that returns an access token that is associated to the currently logged-in user. This token can be used to make API calls to Evoke's APIs to authenticate the API call.
226
- - Note: As a general recommendation, the [ApiService](#class-apiservices) class should be used to make API calls as it will take care
227
- of appending an access token to the call.
228
-
229
209
  ### Notifications
230
210
 
231
211
  - [useNofitication](#usenotification)
@@ -139,6 +139,7 @@ export type VisibilityConfiguration = {
139
139
  property: string;
140
140
  operator: 'eq' | 'neq';
141
141
  value: string | number | boolean;
142
+ isInstanceProperty?: boolean;
142
143
  }[];
143
144
  };
144
145
  export type RelatedObjectDefaultValue = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/context",
3
- "version": "1.1.0-dev.0",
3
+ "version": "1.1.0-testing.1",
4
4
  "description": "Utilities that provide context to Evoke platform widgets",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",