@genesislcap/foundation-user 14.302.0 → 14.302.1-alpha-945e484.0

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.
Files changed (29) hide show
  1. package/dist/dts/tsdoc-metadata.json +1 -1
  2. package/dist/foundation-user.api.json +1 -1
  3. package/docs/api/foundation-user.defaultuser.addauthenticationchangelistener.md +33 -3
  4. package/docs/api/foundation-user.defaultuser.haspermission.md +33 -3
  5. package/docs/api/foundation-user.defaultuser.hasprofile.md +33 -3
  6. package/docs/api/foundation-user.defaultuser.md +493 -33
  7. package/docs/api/foundation-user.defaultuser.set.md +33 -3
  8. package/docs/api/foundation-user.defaultuser.trackaction.md +31 -3
  9. package/docs/api/foundation-user.legacyuserapi.md +100 -8
  10. package/docs/api/foundation-user.md +283 -31
  11. package/docs/api/foundation-user.setuserproperties.md +136 -8
  12. package/docs/api/foundation-user.user.addauthenticationchangelistener.md +33 -3
  13. package/docs/api/foundation-user.user.haspermission.md +33 -3
  14. package/docs/api/foundation-user.user.hasprofile.md +33 -3
  15. package/docs/api/foundation-user.user.md +279 -21
  16. package/docs/api/foundation-user.user.set.md +33 -3
  17. package/docs/api/foundation-user.useractionhistory.md +86 -8
  18. package/docs/api/foundation-user.useractionhistory.trackaction.md +31 -3
  19. package/docs/api/foundation-user.userconfig.md +98 -8
  20. package/docs/api/foundation-user.userconfig.setuser.md +45 -4
  21. package/docs/api/foundation-user.userconfig.unsetuser.md +31 -3
  22. package/docs/api/foundation-user.userdetailsproductproperty.md +60 -4
  23. package/docs/api/foundation-user.userdetailsproperty.md +155 -9
  24. package/docs/api/foundation-user.userdetailssystemproperty.md +41 -3
  25. package/docs/api/foundation-user.userpathhistory.md +88 -8
  26. package/docs/api/foundation-user.userqueueproperties.md +98 -6
  27. package/docs/api/index.md +21 -3
  28. package/docs/api-report.md.api.md +316 -0
  29. package/package.json +12 -12
@@ -12,9 +12,39 @@ hasProfile(profile: string | string[]): boolean;
12
12
 
13
13
  ## Parameters
14
14
 
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | profile | string \| string\[\] | A profile string or an array of profile strings to check. |
15
+ <table><thead><tr><th>
16
+
17
+ Parameter
18
+
19
+
20
+ </th><th>
21
+
22
+ Type
23
+
24
+
25
+ </th><th>
26
+
27
+ Description
28
+
29
+
30
+ </th></tr></thead>
31
+ <tbody><tr><td>
32
+
33
+ profile
34
+
35
+
36
+ </td><td>
37
+
38
+ string \| string\[\]
39
+
40
+
41
+ </td><td>
42
+
43
+ A profile string or an array of profile strings to check.
44
+
45
+
46
+ </td></tr>
47
+ </tbody></table>
18
48
 
19
49
  **Returns:**
20
50
 
@@ -28,28 +28,286 @@ import { User } from '@genesislcap/foundation-user';
28
28
 
29
29
  ## Properties
30
30
 
31
- | Property | Modifiers | Type | Description |
32
- | --- | --- | --- | --- |
33
- | [details](./foundation-user.user.details.md) | <code>readonly</code> | [SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->\['details'\] | |
34
- | [isAnonymous](./foundation-user.user.isanonymous.md) | <code>readonly</code> | boolean | |
35
- | [isAuthenticated](./foundation-user.user.isauthenticated.md) | <code>readonly</code> | boolean | |
36
- | [permission](./foundation-user.user.permission.md) | <code>readonly</code> | string\[\] | |
37
- | [profile](./foundation-user.user.profile.md) | <code>readonly</code> | string\[\] | |
38
- | [rawProperties](./foundation-user.user.rawproperties.md) | <code>readonly</code> | Partial&lt;[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->&gt; | A structuredClone of the raw unmanaged properties used to set the user. |
39
- | [sourceRef](./foundation-user.user.sourceref.md) | <code>readonly</code> | string | |
40
- | [userKVs](./foundation-user.user.userkvs.md) | <code>readonly</code> | { \[key: string\]: any; } | |
41
- | [userName](./foundation-user.user.username.md) | <code>readonly</code> | string | |
31
+ <table><thead><tr><th>
32
+
33
+ Property
34
+
35
+
36
+ </th><th>
37
+
38
+ Modifiers
39
+
40
+
41
+ </th><th>
42
+
43
+ Type
44
+
45
+
46
+ </th><th>
47
+
48
+ Description
49
+
50
+
51
+ </th></tr></thead>
52
+ <tbody><tr><td>
53
+
54
+ [details](./foundation-user.user.details.md)
55
+
56
+
57
+ </td><td>
58
+
59
+ `readonly`
60
+
61
+
62
+ </td><td>
63
+
64
+ [SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->\['details'\]
65
+
66
+
67
+ </td><td>
68
+
69
+
70
+ </td></tr>
71
+ <tr><td>
72
+
73
+ [isAnonymous](./foundation-user.user.isanonymous.md)
74
+
75
+
76
+ </td><td>
77
+
78
+ `readonly`
79
+
80
+
81
+ </td><td>
82
+
83
+ boolean
84
+
85
+
86
+ </td><td>
87
+
88
+
89
+ </td></tr>
90
+ <tr><td>
91
+
92
+ [isAuthenticated](./foundation-user.user.isauthenticated.md)
93
+
94
+
95
+ </td><td>
96
+
97
+ `readonly`
98
+
99
+
100
+ </td><td>
101
+
102
+ boolean
103
+
104
+
105
+ </td><td>
106
+
107
+
108
+ </td></tr>
109
+ <tr><td>
110
+
111
+ [permission](./foundation-user.user.permission.md)
112
+
113
+
114
+ </td><td>
115
+
116
+ `readonly`
117
+
118
+
119
+ </td><td>
120
+
121
+ string\[\]
122
+
123
+
124
+ </td><td>
125
+
126
+
127
+ </td></tr>
128
+ <tr><td>
129
+
130
+ [profile](./foundation-user.user.profile.md)
131
+
132
+
133
+ </td><td>
134
+
135
+ `readonly`
136
+
137
+
138
+ </td><td>
139
+
140
+ string\[\]
141
+
142
+
143
+ </td><td>
144
+
145
+
146
+ </td></tr>
147
+ <tr><td>
148
+
149
+ [rawProperties](./foundation-user.user.rawproperties.md)
150
+
151
+
152
+ </td><td>
153
+
154
+ `readonly`
155
+
156
+
157
+ </td><td>
158
+
159
+ Partial&lt;[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->&gt;
160
+
161
+
162
+ </td><td>
163
+
164
+ A structuredClone of the raw unmanaged properties used to set the user.
165
+
166
+
167
+ </td></tr>
168
+ <tr><td>
169
+
170
+ [sourceRef](./foundation-user.user.sourceref.md)
171
+
172
+
173
+ </td><td>
174
+
175
+ `readonly`
176
+
177
+
178
+ </td><td>
179
+
180
+ string
181
+
182
+
183
+ </td><td>
184
+
185
+
186
+ </td></tr>
187
+ <tr><td>
188
+
189
+ [userKVs](./foundation-user.user.userkvs.md)
190
+
191
+
192
+ </td><td>
193
+
194
+ `readonly`
195
+
196
+
197
+ </td><td>
198
+
199
+ { \[key: string\]: any; }
200
+
201
+
202
+ </td><td>
203
+
204
+
205
+ </td></tr>
206
+ <tr><td>
207
+
208
+ [userName](./foundation-user.user.username.md)
209
+
210
+
211
+ </td><td>
212
+
213
+ `readonly`
214
+
215
+
216
+ </td><td>
217
+
218
+ string
219
+
220
+
221
+ </td><td>
222
+
223
+
224
+ </td></tr>
225
+ </tbody></table>
42
226
 
43
227
  ## Methods
44
228
 
45
- | Method | Description |
46
- | --- | --- |
47
- | [addAuthenticationChangeListener(listener)](./foundation-user.user.addauthenticationchangelistener.md) | |
48
- | [clearTrackingHistory()](./foundation-user.user.cleartrackinghistory.md) | |
49
- | [hasPermission(permission)](./foundation-user.user.haspermission.md) | |
50
- | [hasProfile(profile)](./foundation-user.user.hasprofile.md) | |
51
- | [isAdmin()](./foundation-user.user.isadmin.md) | |
52
- | [isBanned()](./foundation-user.user.isbanned.md) | |
53
- | [set(properties)](./foundation-user.user.set.md) | |
54
- | [unset()](./foundation-user.user.unset.md) | |
229
+ <table><thead><tr><th>
230
+
231
+ Method
232
+
233
+
234
+ </th><th>
235
+
236
+ Description
237
+
238
+
239
+ </th></tr></thead>
240
+ <tbody><tr><td>
241
+
242
+ [addAuthenticationChangeListener(listener)](./foundation-user.user.addauthenticationchangelistener.md)
243
+
244
+
245
+ </td><td>
246
+
247
+
248
+ </td></tr>
249
+ <tr><td>
250
+
251
+ [clearTrackingHistory()](./foundation-user.user.cleartrackinghistory.md)
252
+
253
+
254
+ </td><td>
255
+
256
+
257
+ </td></tr>
258
+ <tr><td>
259
+
260
+ [hasPermission(permission)](./foundation-user.user.haspermission.md)
261
+
262
+
263
+ </td><td>
264
+
265
+
266
+ </td></tr>
267
+ <tr><td>
268
+
269
+ [hasProfile(profile)](./foundation-user.user.hasprofile.md)
270
+
271
+
272
+ </td><td>
273
+
274
+
275
+ </td></tr>
276
+ <tr><td>
277
+
278
+ [isAdmin()](./foundation-user.user.isadmin.md)
279
+
280
+
281
+ </td><td>
282
+
283
+
284
+ </td></tr>
285
+ <tr><td>
286
+
287
+ [isBanned()](./foundation-user.user.isbanned.md)
288
+
289
+
290
+ </td><td>
291
+
292
+
293
+ </td></tr>
294
+ <tr><td>
295
+
296
+ [set(properties)](./foundation-user.user.set.md)
297
+
298
+
299
+ </td><td>
300
+
301
+
302
+ </td></tr>
303
+ <tr><td>
304
+
305
+ [unset()](./foundation-user.user.unset.md)
306
+
307
+
308
+ </td><td>
309
+
310
+
311
+ </td></tr>
312
+ </tbody></table>
55
313
 
@@ -12,9 +12,39 @@ set(properties: Partial<SetUserProperties>): User;
12
12
 
13
13
  ## Parameters
14
14
 
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | properties | Partial&lt;[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->&gt; | The UserProperties used to populate the User. |
15
+ <table><thead><tr><th>
16
+
17
+ Parameter
18
+
19
+
20
+ </th><th>
21
+
22
+ Type
23
+
24
+
25
+ </th><th>
26
+
27
+ Description
28
+
29
+
30
+ </th></tr></thead>
31
+ <tbody><tr><td>
32
+
33
+ properties
34
+
35
+
36
+ </td><td>
37
+
38
+ Partial&lt;[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->&gt;
39
+
40
+
41
+ </td><td>
42
+
43
+ The UserProperties used to populate the User.
44
+
45
+
46
+ </td></tr>
47
+ </tbody></table>
18
48
 
19
49
  **Returns:**
20
50
 
@@ -18,15 +18,93 @@ APIs to track a user's action history.
18
18
 
19
19
  ## Properties
20
20
 
21
- | Property | Modifiers | Type | Description |
22
- | --- | --- | --- | --- |
23
- | [actionHistory](./foundation-user.useractionhistory.actionhistory.md) | <code>readonly</code> | unknown\[\] | Array of actions that have been tracked. |
21
+ <table><thead><tr><th>
22
+
23
+ Property
24
+
25
+
26
+ </th><th>
27
+
28
+ Modifiers
29
+
30
+
31
+ </th><th>
32
+
33
+ Type
34
+
35
+
36
+ </th><th>
37
+
38
+ Description
39
+
40
+
41
+ </th></tr></thead>
42
+ <tbody><tr><td>
43
+
44
+ [actionHistory](./foundation-user.useractionhistory.actionhistory.md)
45
+
46
+
47
+ </td><td>
48
+
49
+ `readonly`
50
+
51
+
52
+ </td><td>
53
+
54
+ unknown\[\]
55
+
56
+
57
+ </td><td>
58
+
59
+ Array of actions that have been tracked.
60
+
61
+
62
+ </td></tr>
63
+ </tbody></table>
24
64
 
25
65
  ## Methods
26
66
 
27
- | Method | Description |
28
- | --- | --- |
29
- | [clearActions()](./foundation-user.useractionhistory.clearactions.md) | Clears action history. |
30
- | [lastAction()](./foundation-user.useractionhistory.lastaction.md) | |
31
- | [trackAction(details)](./foundation-user.useractionhistory.trackaction.md) | Track an action. |
67
+ <table><thead><tr><th>
68
+
69
+ Method
70
+
71
+
72
+ </th><th>
73
+
74
+ Description
75
+
76
+
77
+ </th></tr></thead>
78
+ <tbody><tr><td>
79
+
80
+ [clearActions()](./foundation-user.useractionhistory.clearactions.md)
81
+
82
+
83
+ </td><td>
84
+
85
+ Clears action history.
86
+
87
+
88
+ </td></tr>
89
+ <tr><td>
90
+
91
+ [lastAction()](./foundation-user.useractionhistory.lastaction.md)
92
+
93
+
94
+ </td><td>
95
+
96
+
97
+ </td></tr>
98
+ <tr><td>
99
+
100
+ [trackAction(details)](./foundation-user.useractionhistory.trackaction.md)
101
+
102
+
103
+ </td><td>
104
+
105
+ Track an action.
106
+
107
+
108
+ </td></tr>
109
+ </tbody></table>
32
110
 
@@ -14,9 +14,37 @@ trackAction<TDetails = unknown>(details: TDetails): void;
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | details | TDetails | |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ details
36
+
37
+
38
+ </td><td>
39
+
40
+ TDetails
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td></tr>
47
+ </tbody></table>
20
48
 
21
49
  **Returns:**
22
50
 
@@ -14,15 +14,105 @@ export interface UserConfig
14
14
 
15
15
  ## Properties
16
16
 
17
- | Property | Modifiers | Type | Description |
18
- | --- | --- | --- | --- |
19
- | [trackActionExclusions](./foundation-user.userconfig.trackactionexclusions.md) | | unknown\[\] | <p>Exclude certain actions from tracking.</p><p>See [UserPathHistory](./foundation-user.userpathhistory.md)</p> |
20
- | [trackPathExclusions](./foundation-user.userconfig.trackpathexclusions.md) | | string\[\] | <p>Exclude certain paths from tracking.</p><p>See [UserActionHistory](./foundation-user.useractionhistory.md)</p> |
17
+ <table><thead><tr><th>
18
+
19
+ Property
20
+
21
+
22
+ </th><th>
23
+
24
+ Modifiers
25
+
26
+
27
+ </th><th>
28
+
29
+ Type
30
+
31
+
32
+ </th><th>
33
+
34
+ Description
35
+
36
+
37
+ </th></tr></thead>
38
+ <tbody><tr><td>
39
+
40
+ [trackActionExclusions](./foundation-user.userconfig.trackactionexclusions.md)
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td><td>
47
+
48
+ unknown\[\]
49
+
50
+
51
+ </td><td>
52
+
53
+ Exclude certain actions from tracking.
54
+
55
+ See [UserPathHistory](./foundation-user.userpathhistory.md)
56
+
57
+
58
+ </td></tr>
59
+ <tr><td>
60
+
61
+ [trackPathExclusions](./foundation-user.userconfig.trackpathexclusions.md)
62
+
63
+
64
+ </td><td>
65
+
66
+
67
+ </td><td>
68
+
69
+ string\[\]
70
+
71
+
72
+ </td><td>
73
+
74
+ Exclude certain paths from tracking.
75
+
76
+ See [UserActionHistory](./foundation-user.useractionhistory.md)
77
+
78
+
79
+ </td></tr>
80
+ </tbody></table>
21
81
 
22
82
  ## Methods
23
83
 
24
- | Method | Description |
25
- | --- | --- |
26
- | [setUser(user, properties)](./foundation-user.userconfig.setuser.md) | User property setter. |
27
- | [unsetUser(user)](./foundation-user.userconfig.unsetuser.md) | User property un-setter. |
84
+ <table><thead><tr><th>
85
+
86
+ Method
87
+
88
+
89
+ </th><th>
90
+
91
+ Description
92
+
93
+
94
+ </th></tr></thead>
95
+ <tbody><tr><td>
96
+
97
+ [setUser(user, properties)](./foundation-user.userconfig.setuser.md)
98
+
99
+
100
+ </td><td>
101
+
102
+ User property setter.
103
+
104
+
105
+ </td></tr>
106
+ <tr><td>
107
+
108
+ [unsetUser(user)](./foundation-user.userconfig.unsetuser.md)
109
+
110
+
111
+ </td><td>
112
+
113
+ User property un-setter.
114
+
115
+
116
+ </td></tr>
117
+ </tbody></table>
28
118
 
@@ -14,10 +14,51 @@ setUser(user: WriteableUser, properties: Partial<SetUserProperties>): User;
14
14
 
15
15
  ## Parameters
16
16
 
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | user | WriteableUser | |
20
- | properties | Partial&lt;[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->&gt; | |
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ user
36
+
37
+
38
+ </td><td>
39
+
40
+ WriteableUser
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td></tr>
47
+ <tr><td>
48
+
49
+ properties
50
+
51
+
52
+ </td><td>
53
+
54
+ Partial&lt;[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->&gt;
55
+
56
+
57
+ </td><td>
58
+
59
+
60
+ </td></tr>
61
+ </tbody></table>
21
62
 
22
63
  **Returns:**
23
64