@genesislcap/foundation-comms 14.176.1-alpha-ed9e3d4.0 → 14.177.0-raise-intent.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. package/dist/dts/auth/auth.d.ts +4 -4
  2. package/dist/dts/auth/auth.d.ts.map +1 -1
  3. package/dist/dts/auth/loginDTOMapper.d.ts +2 -0
  4. package/dist/dts/auth/loginDTOMapper.d.ts.map +1 -0
  5. package/dist/dts/connect/connect.d.ts +3 -0
  6. package/dist/dts/connect/connect.d.ts.map +1 -1
  7. package/dist/dts/connect/connect.events.d.ts +8 -3
  8. package/dist/dts/connect/connect.events.d.ts.map +1 -1
  9. package/dist/dts/connect/message.d.ts +42 -0
  10. package/dist/dts/connect/message.d.ts.map +1 -1
  11. package/dist/dts/connect/socket.d.ts +27 -4
  12. package/dist/dts/connect/socket.d.ts.map +1 -1
  13. package/dist/dts/connect/socket.status.d.ts +5 -1
  14. package/dist/dts/connect/socket.status.d.ts.map +1 -1
  15. package/dist/dts/networkMonitor/config.d.ts +13 -0
  16. package/dist/dts/networkMonitor/config.d.ts.map +1 -1
  17. package/dist/dts/networkMonitor/service.d.ts +11 -1
  18. package/dist/dts/networkMonitor/service.d.ts.map +1 -1
  19. package/dist/dts/storage/kv/kv.service.d.ts +19 -3
  20. package/dist/dts/storage/kv/kv.service.d.ts.map +1 -1
  21. package/dist/dts/testing/mocks/auth/auth.d.ts +2 -1
  22. package/dist/dts/testing/mocks/auth/auth.d.ts.map +1 -1
  23. package/dist/dts/user/user.d.ts +14 -43
  24. package/dist/dts/user/user.d.ts.map +1 -1
  25. package/dist/esm/auth/auth.js +19 -27
  26. package/dist/esm/auth/loginDTOMapper.js +49 -0
  27. package/dist/esm/connect/connect.events.js +5 -2
  28. package/dist/esm/connect/connect.js +6 -2
  29. package/dist/esm/connect/message.js +9 -0
  30. package/dist/esm/connect/socket.js +30 -22
  31. package/dist/esm/connect/socket.status.js +8 -4
  32. package/dist/esm/networkMonitor/config.js +2 -0
  33. package/dist/esm/networkMonitor/service.js +109 -29
  34. package/dist/esm/storage/kv/kv.service.js +26 -8
  35. package/dist/esm/user/user.js +11 -54
  36. package/dist/foundation-comms.api.json +559 -603
  37. package/dist/foundation-comms.d.ts +148 -55
  38. package/docs/api/foundation-comms.connecteventsemitter.md +1 -1
  39. package/docs/api/foundation-comms.connecteventsemitter.onstreamcompleteevent.md +2 -1
  40. package/docs/api/foundation-comms.currentuser.md +8 -25
  41. package/docs/api/foundation-comms.defaultauth._constructor_.md +2 -1
  42. package/docs/api/foundation-comms.defaultauth.md +2 -2
  43. package/docs/api/foundation-comms.defaultconnect.setvalidsession.md +5 -0
  44. package/docs/api/foundation-comms.defaultconnectevents.md +1 -1
  45. package/docs/api/foundation-comms.defaultconnectevents.onstreamcompleteevent.md +2 -1
  46. package/docs/api/foundation-comms.defaultmessagebuilder.createheartbeatpingmessage.md +22 -0
  47. package/docs/api/foundation-comms.defaultmessagebuilder.md +1 -0
  48. package/docs/api/foundation-comms.defaultnetworkmonitor._constructor_.md +13 -0
  49. package/docs/api/foundation-comms.defaultnetworkmonitor.md +6 -0
  50. package/docs/api/foundation-comms.defaultsocket._constructor_.md +3 -1
  51. package/docs/api/foundation-comms.defaultsocket.md +2 -1
  52. package/docs/api/foundation-comms.defaultsocket.user.md +13 -0
  53. package/docs/api/foundation-comms.defaultsocketstatus.hasvalidsession.md +1 -1
  54. package/docs/api/foundation-comms.defaultsocketstatus.md +2 -1
  55. package/docs/api/foundation-comms.defaultsocketstatus.user.md +11 -0
  56. package/docs/api/foundation-comms.getkvstorage.md +30 -0
  57. package/docs/api/foundation-comms.md +4 -0
  58. package/docs/api/foundation-comms.messagebuilder.createheartbeatpingmessage.md +22 -0
  59. package/docs/api/foundation-comms.messagebuilder.md +1 -0
  60. package/docs/api/foundation-comms.networkmonitorconfig.ignoredgenesisresources.md +13 -0
  61. package/docs/api/foundation-comms.networkmonitorconfig.loglevel.md +13 -0
  62. package/docs/api/foundation-comms.networkmonitorconfig.md +3 -0
  63. package/docs/api/foundation-comms.networkmonitorconfig.startdelay.md +13 -0
  64. package/docs/api/foundation-comms.pingmessage.md +17 -0
  65. package/docs/api/foundation-comms.pongmessage.md +20 -0
  66. package/docs/api/foundation-comms.serializedsocketstatus.hasvalidsession.md +5 -0
  67. package/docs/api/foundation-comms.socketconnectoptions.md +4 -1
  68. package/docs/api/foundation-comms.streamcompleteevent.md +2 -2
  69. package/docs/api/foundation-comms.streamcompleteeventdetail.md +14 -0
  70. package/docs/api/foundation-comms.user.md +7 -12
  71. package/docs/api-report.md +71 -54
  72. package/package.json +13 -11
  73. package/docs/api/foundation-comms.currentuser._constructor_.md +0 -20
  74. package/docs/api/foundation-comms.currentuser.hasadminprofile.md +0 -15
  75. package/docs/api/foundation-comms.currentuser.haspermission.md +0 -22
  76. package/docs/api/foundation-comms.currentuser.hasprofile.md +0 -22
  77. package/docs/api/foundation-comms.currentuser.permissions.md +0 -11
  78. package/docs/api/foundation-comms.currentuser.profiles.md +0 -11
  79. package/docs/api/foundation-comms.currentuser.set.md +0 -22
  80. package/docs/api/foundation-comms.currentuser.unset.md +0 -15
  81. package/docs/api/foundation-comms.currentuser.username.md +0 -11
  82. package/docs/api/foundation-comms.user.hasadminprofile.md +0 -15
  83. package/docs/api/foundation-comms.user.haspermission.md +0 -22
  84. package/docs/api/foundation-comms.user.hasprofile.md +0 -22
  85. package/docs/api/foundation-comms.user.set.md +0 -22
  86. package/docs/api/foundation-comms.user.unset.md +0 -15
@@ -1,9 +1,9 @@
1
+ import { User } from '@genesislcap/foundation-user';
1
2
  import { Observable } from 'rxjs';
2
3
  import { Connect } from '../connect';
3
4
  import { MessageBuilder } from '../connect/message';
4
5
  import { CredentialManager } from '../credentialManager';
5
6
  import { Session } from '../session';
6
- import { User } from '../user';
7
7
  import { AuthInfo, LoginResult, LogoutResult } from './auth.types';
8
8
  /**
9
9
  * Auth is the main interface for authenticating with a Genesis Server endpoint.
@@ -32,7 +32,7 @@ export interface Auth {
32
32
  */
33
33
  readonly isLoggedIn$?: Observable<boolean>;
34
34
  /**
35
- * The currently logged-in user, if any.
35
+ * The current user
36
36
  * @internal
37
37
  */
38
38
  readonly currentUser: User;
@@ -68,14 +68,14 @@ export declare class DefaultAuth implements Auth {
68
68
  private connect;
69
69
  private messageBuilder;
70
70
  private credentialManager;
71
- isWorking: boolean;
72
71
  currentUser: User;
72
+ isWorking: boolean;
73
73
  loggedUserResult: LoginResult;
74
74
  private loggedUserResultChanged;
75
75
  private isLoggedInSubject;
76
76
  get isLoggedIn$(): Observable<boolean>;
77
77
  get isLoggedIn(): boolean;
78
- constructor(session: Session, connect: Connect, messageBuilder: MessageBuilder, credentialManager: CredentialManager);
78
+ constructor(session: Session, connect: Connect, messageBuilder: MessageBuilder, credentialManager: CredentialManager, currentUser: User);
79
79
  login(credentials: AuthInfo): Promise<LoginResult>;
80
80
  logout(): Promise<LogoutResult>;
81
81
  reAuthFromSession(): Promise<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/auth/auth.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAGL,cAAc,EAIf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,OAAO,EAAa,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE9E;;;GAGG;AACH,MAAM,WAAW,IAAI;IACnB;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,gBAAgB,EAAE,WAAW,CAAC;IAEvC;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;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IAC1C,OAAO,CAAC,uBAAuB;IAI/B,OAAO,CAAC,iBAAiB,CAAwC;IACjE,IAAI,WAAW,IAAI,UAAU,CAAC,OAAO,CAAC,CAErC;IAED,IAAI,UAAU,IAAI,OAAO,CAExB;gBAGkB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EACT,cAAc,EAAE,cAAc,EAC3B,iBAAiB,EAAE,iBAAiB,EAClD,WAAW,EAAE,IAAI;IAO1B,KAAK,CAAC,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC;IAyClD,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC;IAuD/B,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;IAmB3C;;;OAGG;YACW,gBAAgB;IAW9B;;;;OAIG;IACH,OAAO,CAAC,wBAAwB;IAmBhC;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAexB;;;OAGG;IACH,OAAO,CAAC,iBAAiB;CAG1B;AAED;;;GAGG;AACH,eAAO,MAAM,IAAI,4DAA4D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const loginDTOMapper: (dto: any) => any;
2
+ //# sourceMappingURL=loginDTOMapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loginDTOMapper.d.ts","sourceRoot":"","sources":["../../../src/auth/loginDTOMapper.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,cAAc,QAAS,GAAG,KAAG,GAmCzC,CAAC"}
@@ -165,6 +165,9 @@ export declare class DefaultConnect implements Connect {
165
165
  get isConnected$(): Observable<boolean>;
166
166
  constructor(socket: Socket, messageBuilder: MessageBuilder, metaCache: MetaCache, events: ConnectEventsEmitter, config?: ConnectConfig);
167
167
  httpMode(): boolean;
168
+ /**
169
+ * @deprecated - Please reference {@link @genesislcap/foundation-user#User} instead.',
170
+ */
168
171
  setValidSession(valid: boolean): void;
169
172
  send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
170
173
  connect(host: string): Promise<boolean>;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ete-event";
50
50
  /**
51
51
  * @public
52
52
  */
53
- export type StreamCompleteEvent = CustomEvent<SocketObservable<any>>;
53
+ export type StreamCompleteEventDetail = Pick<StreamEventDetail, 'resourceName' | 'stream'>;
54
+ /**
55
+ * @public
56
+ */
57
+ export type StreamCompleteEvent = CustomEvent<StreamCompleteEventDetail>;
54
58
  /**
55
59
  * @public
56
60
  */
@@ -106,9 +110,10 @@ export interface ConnectEventsEmitter extends ConnectEvents {
106
110
  onStreamEvent(resourceName: string, message: Message<MessageDetails.DataserverRequest>, stream: SocketObservable<any>, functions: StreamEventFunctions): void;
107
111
  /**
108
112
  * Called by Connect.
113
+ * @param resourceName - The name of the resource.
109
114
  * @param stream - The actual stream itself.
110
115
  */
111
- onStreamCompleteEvent(stream: SocketObservable<any>): void;
116
+ onStreamCompleteEvent(resourceName: string, stream: SocketObservable<any>): void;
112
117
  /**
113
118
  * Called by Connect.
114
119
  * @param eventName - The name of the event.
@@ -137,7 +142,7 @@ export declare class DefaultConnectEvents implements ConnectEventsEmitter {
137
142
  /** {@inheritDoc ConnectEventsEmitter.onStreamEvent} */
138
143
  onStreamEvent(resourceName: string, message: Message<MessageDetails.DataserverRequest>, stream: SocketObservable<any>, functions: StreamEventFunctions): void;
139
144
  /** {@inheritDoc ConnectEventsEmitter.onStreamCompleteEvent} */
140
- onStreamCompleteEvent(stream: SocketObservable<any>): void;
145
+ onStreamCompleteEvent(resourceName: string, stream: SocketObservable<any>): void;
141
146
  /** @internal */
142
147
  protected commitListeners: import("@genesislcap/foundation-utils").Observer<CommitEvent>;
143
148
  /** {@inheritDoc ConnectEvents.addCommitListener} */
@@ -1 +1 @@
1
- {"version":3,"file":"connect.events.d.ts","sourceRoot":"","sources":["../../../src/connect/connect.events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC7F,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};
215
+ /**
216
+ * @public
217
+ */
218
+ export type PingMessage = Pick<Message, 'MESSAGE_TYPE' | 'SOURCE_REF' | 'DETAILS'> & {
219
+ VERBOSE?: boolean;
220
+ [key: string]: any;
221
+ };
222
+ type DATA_LOGON_DETAILS = {
223
+ DATASOURCE_NAME: string;
224
+ CRITERIA_MATCH?: string;
225
+ MAX_ROWS?: number;
226
+ MAX_VIEW?: number;
227
+ MOVING_VIEW?: boolean;
228
+ POLLING_INTERVAL?: number;
229
+ DISABLE_POLLING?: boolean;
230
+ REVERSE?: boolean;
231
+ };
232
+ type RESOURCE_DETAILS = {
233
+ NAME: string;
234
+ CREATED_AT: number;
235
+ LAST_RECEIVED: number;
236
+ LAST_SENT: number;
237
+ SOURCE_REF: string;
238
+ DATA_LOGON: DATA_LOGON_DETAILS;
239
+ };
240
+ /**
241
+ * @public
242
+ */
243
+ export type PongMessage = Pick<Message, 'MESSAGE_TYPE' | 'SOURCE_REF' | 'USER_NAME'> & {
244
+ IS_AUTHENTICATED?: boolean;
245
+ CREATED_AT?: number;
246
+ LAST_RECEIVED?: number;
247
+ LAST_SENT?: number;
248
+ RESOURCES?: Record<string, RESOURCE_DETAILS[]>;
249
+ };
215
250
  /**
216
251
  * Parameters for a REQUEST message
217
252
  * @public
@@ -393,6 +428,10 @@ export interface MessageBuilder {
393
428
  * @returns The headers.
394
429
  */
395
430
  createHTTPHeadersFromMessage(message: Message, contentType?: string): HeadersInit;
431
+ /**
432
+ * @param verbose - A flag to inform the backend you require a verbose response.
433
+ */
434
+ createHeartbeatPingMessage(verbose: boolean): PingMessage;
396
435
  }
397
436
  /**
398
437
  * TODO: Abstract out localStorage interaction with shell io stuff
@@ -424,10 +463,13 @@ export declare class DefaultMessageBuilder implements MessageBuilder {
424
463
  createMoreRowsMessage(sourceRef: string): Message;
425
464
  createMoreColumnsMessage(sourceRef: string): Message;
426
465
  createHTTPHeadersFromMessage(message: Message, contentType?: string): HeadersInit;
466
+ /** {@inheritDoc MessageBuilder.createHeartbeatPingMessage} */
467
+ createHeartbeatPingMessage(verbose?: boolean): PingMessage;
427
468
  }
428
469
  /**
429
470
  * The DI token for the MessageBUilder interface.
430
471
  * @internal
431
472
  */
432
473
  export declare const MessageBuilder: import("@microsoft/fast-foundation").InterfaceSymbol<MessageBuilder>;
474
+ export {};
433
475
  //# sourceMappingURL=message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/connect/message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAY,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;GAGG;AACH,oBAAY,WAAW;IACrB,SAAS,cAAc;IACvB,UAAU,eAAe;IAEzB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IAEjC,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IAErC,OAAO,YAAY;IACnB,QAAQ,aAAa;IAErB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,YAAY,iBAAiB;CAC9B;AAED;;;GAGG;AACH,oBAAY,gBAAgB;IAC1B,gBAAgB,qBAAqB;IACrC,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAE/C,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,YAAY,iBAAiB;IAC7B,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IAEvC,0BAA0B,+BAA+B;IACzD,iCAAiC,sCAAsC;IACvE,2BAA2B,gCAAgC;CAC5D;AAED;;;GAGG;AACH,oBAAY,WAAW;IACrB,iBAAiB,sBAAsB;IACvC,oBAAoB,yBAAyB;CAC9C;AAED;;GAEG;AACH,yBAAiB,cAAc,CAAC;IAC9B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;AACH,eAAO,MAAM,cAAc,sEAE1B,CAAC"}
@@ -1,8 +1,8 @@
1
- import { UUID } from '@genesislcap/foundation-utils';
2
- import { JSONSerializer } from '@genesislcap/foundation-utils';
1
+ import { User } from '@genesislcap/foundation-user';
2
+ import { JSONSerializer, UUID } from '@genesislcap/foundation-utils';
3
3
  import { Observable, Observer, Subject, Subscription } from 'rxjs';
4
4
  import { Session } from '../session';
5
- import { Message, MessageBuilder } from './message';
5
+ import { Message, MessageBuilder, PingMessage, PongMessage } from './message';
6
6
  import { SocketReconnectOptions } from './reconnectStrategy';
7
7
  import { SocketStatus } from './socket.status';
8
8
  /**
@@ -61,6 +61,20 @@ export type SocketConnectOptions = {
61
61
  * Time in milliseconds
62
62
  */
63
63
  heartbeatInterval?: number;
64
+ /**
65
+ * Server will send resource level information
66
+ */
67
+ verboseHeartbeat?: boolean;
68
+ /**
69
+ * Called with the ping message before it is sent
70
+ * @param message - The outgoing ping message.
71
+ */
72
+ heartbeatPingCallback?: (message: PingMessage) => void;
73
+ /**
74
+ * Called with the pong message after it is received
75
+ * @param message - The incoming pong message.
76
+ */
77
+ heartbeatPongCallback?: (message: PongMessage) => void;
64
78
  /**
65
79
  * The path to a proxy server to use for the connection.
66
80
  */
@@ -134,6 +148,10 @@ export declare class DefaultSocket implements Socket {
134
148
  private serializer;
135
149
  private uuid;
136
150
  private status;
151
+ /**
152
+ * Temp putting the user in place to bridge the hasValidSession logic.
153
+ */
154
+ protected user: User;
137
155
  private readonly defaultInterval;
138
156
  private readonly secondsMultiplier;
139
157
  private websocket;
@@ -146,6 +164,7 @@ export declare class DefaultSocket implements Socket {
146
164
  get isDisconnected(): boolean;
147
165
  get isDisconnectedByServer(): boolean;
148
166
  get isReconnecting(): boolean;
167
+ /** {@inheritDoc SerializedSocketStatus.hasValidSession} */
149
168
  get hasValidSession(): boolean;
150
169
  set hasValidSession(value: boolean);
151
170
  private heartbeatIsEnabled;
@@ -155,7 +174,11 @@ export declare class DefaultSocket implements Socket {
155
174
  private connectOptions;
156
175
  private reconnectOptions;
157
176
  private socketSubscription;
158
- constructor(messageBuilder: MessageBuilder, session: Session, serializer: JSONSerializer, uuid: UUID, status: SocketStatus);
177
+ constructor(messageBuilder: MessageBuilder, session: Session, serializer: JSONSerializer, uuid: UUID, status: SocketStatus,
178
+ /**
179
+ * Temp putting the user in place to bridge the hasValidSession logic.
180
+ */
181
+ user: User);
159
182
  private get heartbeatLoggingIsEnabled();
160
183
  private get messageLoggingIsEnabled();
161
184
  connect(host: string, connectOptions?: SocketConnectOptions, reconnectOptions?: SocketReconnectOptions): Promise<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"socket.d.ts","sourceRoot":"","sources":["../../../src/connect/socket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAG/D,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAM,OAAO,EAAE,YAAY,EAAyB,MAAM,MAAM,CAAC;AAG9F,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAoB,OAAO,EAAE,cAAc,EAA+B,MAAM,WAAW,CAAC;AACnG,OAAO,EAKL,sBAAsB,EAEvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C;;;;GAIG;AACH,qBAAa,aAAa,CAAC,CAAC,CAAE,SAAQ,OAAO,CAAC,CAAC,CAAC;;CAI/C;AAED;;;;GAIG;AACH,qBAAa,gBAAgB,CAAC,CAAC,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAC;gBACxC,GAAG,IAAI,EAAE,GAAG,EAAE;CAG3B;AAED;;;GAGG;AACH,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,CAAC;AAE9C;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;;;OAMG;IACH,QAAQ,C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AE,oBAAoB,EACrC,gBAAgB,CAAC,EAAE,sBAAsB,GACxC,OAAO,CAAC,OAAO,CAAC;IA6KnB,OAAO,CAAC,gBAAgB;IA2CxB,OAAO,CAAC,SAAS;IAsEV,KAAK,IAAI,IAAI;IAQpB,OAAO,CAAC,aAAa;IAMd,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,GAAG,GAAG,CAAC,EAAE,aAAa,UAAO,GAAG,OAAO,CAAC,OAAO,GAAG,GAAG,CAAC;IAyBhF,aAAa,CAAC,CAAC,EACpB,OAAO,EAAE,OAAO,CAAC,CAAC,GAAG,GAAG,CAAC,EACzB,SAAS,EAAE,QAAQ,EACnB,OAAO,EAAE,QAAQ,EACjB,UAAU,CAAC,EAAE,QAAQ,GACpB,UAAU,CAAC,OAAO,CAAC;IA0Cf,cAAc,QAAO,cAAc,OAAO,CAAC,CAAoB;IAEtE,OAAO,CAAC,iBAAiB;IAezB,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,iBAAiB;IAUzB,OAAO,CAAC,kBAAkB;CAkB3B;AAED;;;GAGG;AACH,eAAO,MAAM,MAAM,8DAAgE,CAAC;AAEpF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,SAAS,IAAI,MAAM,CAElC"}
@@ -1,3 +1,4 @@
1
+ import { User } from '@genesislcap/foundation-user';
1
2
  import { BehaviorSubject } from 'rxjs';
2
3
  /**
3
4
  * `SerializedSocketStatus` provides the serialize state of the web socket.
@@ -14,6 +15,7 @@ export interface SerializedSocketStatus {
14
15
  isDisconnectedByServer: boolean;
15
16
  isReconnecting: boolean;
16
17
  reconnectionLimitReached: boolean;
18
+ /** @deprecated - Use {@link @genesislcap/foundation-user#User.isAuthenticated} instead. */
17
19
  hasValidSession: boolean;
18
20
  readonly closedCode: number;
19
21
  readonly closedReason: string;
@@ -38,10 +40,12 @@ export declare class DefaultSocketStatus implements SocketStatus {
38
40
  isConnected: boolean;
39
41
  isReconnecting: boolean;
40
42
  reconnectionLimitReached: boolean;
41
- hasValidSession: boolean;
42
43
  closedCode: any;
43
44
  closedReason: any;
44
45
  closedClean: any;
46
+ protected user: User;
47
+ /** {@inheritDoc SerializedSocketStatus.hasValidSession} */
48
+ get hasValidSession(): boolean;
45
49
  get isDisconnected(): boolean;
46
50
  get isDisconnectedByServer(): boolean;
47
51
  isConnectedSubject: BehaviorSubject<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"socket.status.d.ts","sourceRoot":"","sources":["../../../src/connect/socket.status.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,sBAAsB,EAAE,OAAO,CAAC;IAChC,cAAc,EAAE,OAAO,CAAC;IACxB,wBAAwB,EAAE,OAAO,CAAC;IAClC,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,YAAa,SAAQ,sBAAsB;IAC1D,kBAAkB,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAC7C,SAAS,IAAI,sBAAsB,CAAC;IACpC,OAAO,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;CACvC;AAED;;;GAGG;AACH,qBAAa,mBAAoB,YAAW,YAAY;IAC1C,YAAY,UAAS;IACrB,YAAY,UAAS;IACrB,WAAW,UAAS;IACpB,cAAc,UAAS;IACvB,wBAAwB,UAAS;IACjC,eAAe,UAAS;IACxB,UAAU,MAAC;IACX,Y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a,mBAAoB,YAAW,YAAY;IAC1C,YAAY,UAAS;IACrB,YAAY,UAAS;IACrB,WAAW,UAAS;IACpB,cAAc,UAAS;IACvB,wBAAwB,UAAS;IACjC,UAAU,MAAC;IACX,YAAY,MAAC;IACb,WAAW,MAAC;IAElB,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC;IAE3B,2DAA2D;IAC3D,IAAI,eAAe,YAElB;IAED,IAAI,cAAc,YAEjB;IAED,IAAI,sBAAsB,YAEzB;IAEM,kBAAkB,2BAAyC;IAElE,SAAS,CAAC,kBAAkB;IAS5B,SAAS,CAAC,qBAAqB;IAM/B,SAAS,CAAC,gBAAgB;IAM1B,SAAS,IAAI,sBAAsB;IAgBnC,OAAO,CAAC,KAAK,EAAE,UAAU;CAM1B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,oEAExB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAE9C"}
@@ -1,3 +1,4 @@
1
+ import type { LogLevel } from '@genesislcap/foundation-utils';
1
2
  import type { GenesisConnectEvents, MonitoredResourceChecks, MonitoredResourceDataLogon } from './types';
2
3
  /**
3
4
  * NetworkMonitorConfig DI interface.
@@ -17,6 +18,14 @@ export interface NetworkMonitorConfig {
17
18
  * Genesis connect events that invoke checks
18
19
  */
19
20
  genesisConnectEvents?: GenesisConnectEvents[];
21
+ /**
22
+ * Ignored Genesis resources that will NOT invoke checks
23
+ */
24
+ ignoredGenesisResources?: string[];
25
+ /**
26
+ * Start delay in ms
27
+ */
28
+ startDelay?: number;
20
29
  /**
21
30
  * Periodic check internal in ms
22
31
  */
@@ -39,6 +48,10 @@ export interface NetworkMonitorConfig {
39
48
  * The element to emit events from
40
49
  */
41
50
  eventEmitter?: HTMLElement;
51
+ /**
52
+ * Default log level
53
+ */
54
+ logLevel?: LogLevel;
42
55
  }
43
56
  /**
44
57
  * Default NetworkMonitorConfig DI implementation.
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/networkMonitor/config.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAEjB;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,2BAA2B,CAAC,EAAE,CAAC;IACrD;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,gBAAgB,CAAC,EAAE,CAAC;IAC5C;;OAEG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAC9C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,uBAAuB,CAAC;IACzC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,0BAA0B,CAAC;IAC/C;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,oBA4BzC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,4EAEhC,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/networkMonitor/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAI9D,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAEjB;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,2BAA2B,CAAC,EAAE,CAAC;IACrD;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,gBAAgB,CAAC,EAAE,CAAC;IAC5C;;OAEG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAC9C;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,uBAAuB,CAAC;IACzC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,0BAA0B,CAAC;IAC/C;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,oBA8BzC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,4EAEhC,CAAC"}
@@ -1,6 +1,6 @@
1
+ import { User } from '@genesislcap/foundation-user';
1
2
  import { ConnectEvents } from '../connect/connect.events';
2
3
  import { SerializedSocketStatus, SocketStatus } from '../connect/socket.status';
3
- import { User } from '../user/user';
4
4
  import { NetworkMonitorConfig } from './config';
5
5
  import { MonitoredResource, MonitoredResourceMetadata, ResourceHealth, SystemHealthStatus } from './types';
6
6
  /**
@@ -72,6 +72,10 @@ export declare class DefaultNetworkMonitor implements NetworkMonitor {
72
72
  * @internal
73
73
  */
74
74
  protected internalId: ReturnType<typeof setInterval>;
75
+ /**
76
+ * @internal
77
+ */
78
+ protected isReady: boolean;
75
79
  /**
76
80
  * @internal
77
81
  */
@@ -80,6 +84,7 @@ export declare class DefaultNetworkMonitor implements NetworkMonitor {
80
84
  * {@inheritDoc NetworkMonitor.status}
81
85
  */
82
86
  status: SystemHealthStatus;
87
+ constructor();
83
88
  /**
84
89
  * {@inheritDoc NetworkMonitor.create}
85
90
  */
@@ -148,6 +153,11 @@ export declare class DefaultNetworkMonitor implements NetworkMonitor {
148
153
  * @internal
149
154
  */
150
155
  protected normaliseEventDetail(detail: Partial<SystemHealthStatus>): SystemHealthStatus;
156
+ /**
157
+ * @returns A flag to indicate if the socket is in a state that allows resource checking.
158
+ * @internal
159
+ */
160
+ protected preFlightSocketChecks(status: SerializedSocketStatus): boolean;
151
161
  /**
152
162
  * @internal
153
163
  */
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/networkMonitor/service.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG1D,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAChF,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EACL,iBAAiB,EAEjB,yBAAyB,EACzB,cAAc,EAEd,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,eAAO,MAAM,aAAa,iDAA4D,CAAC;AAsBvF;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,MAAM,IAAI,IAAI,CAAC;IACf,OAAO,IAAI,IAAI,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/D;;;OAGG;IACH,WAAW,CAAC,QAAQ,EAAE,iBAAiB,EAAE,QAAQ,EAAE,yBAAyB,GAAG,IAAI,CAAC;IACpF;;OAEG;IACH,cAAc,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACnD;AAED;;;GAGG;AACH,qBAAa,qBAAsB,YAAW,cAAc;IAC1D;;;OAGG;IACmB,SAAS,CAAC,MAAM,EAAE,oBAAoB,CAAC;IAE7D;;OAEG;IACW,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IA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G;IACH,SAAS,CAAC,uBAAuB,CAC/B,MAAM,EAAE,cAAc,EACtB,QAAQ,GAAE,OAAc,GACvB,cAAc;IAUjB;;;;;;;;;;OAUG;IACH,SAAS,CAAC,+BAA+B,CACvC,YAAY,EAAE,sBAAsB,EACpC,QAAQ,GAAE,OAAc,GACvB,sBAAsB;IAgBzB;;OAEG;IACH,SAAS,CAAC,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,kBAAkB;IA0BvF;;;OAGG;IACH,SAAS,CAAC,qBAAqB,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO;IAgCxE;;OAEG;IACH,SAAS,CAAC,qBAAqB,CAAC,YAAY,EAAE,MAAM;IAIpD;;OAEG;IACH,SAAS,CAAC,eAAe;IAIzB;;OAEG;IACH,SAAS,CAAC,gBAAgB;IAK1B;;OAEG;IACH,SAAS,CAAC,wBAAwB;CAOnC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,sEAE1B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,IAAI,cAAc,CAElD"}
@@ -1,4 +1,4 @@
1
- import { Auth } from '../../auth';
1
+ import { User } from '@genesislcap/foundation-user';
2
2
  import { Connect } from '../../connect';
3
3
  import { KVStorageConfig } from './kv-config.service';
4
4
  import { KeyValue, KeyValueTransfer, KVValue, KVEventFailureResponse } from './kv.types';
@@ -27,9 +27,9 @@ export interface KVStorage {
27
27
  */
28
28
  export declare class DefaultKVStorage implements KVStorage {
29
29
  private connect;
30
- private auth;
30
+ protected user: User;
31
31
  private kvStorageConfig;
32
- constructor(connect: Connect, auth: Auth, kvStorageConfig?: KVStorageConfig);
32
+ constructor(connect: Connect, user: User, kvStorageConfig?: KVStorageConfig);
33
33
  /**
34
34
  * Determine whether KV Storage is available for use.
35
35
  * @internal
@@ -101,4 +101,20 @@ export declare class DefaultKVStorage implements KVStorage {
101
101
  * @internal
102
102
  */
103
103
  export declare const KVStorage: import("@microsoft/fast-foundation").InterfaceSymbol<KVStorage>;
104
+ /**
105
+ * Gets KVStorage from the DI container.
106
+ *
107
+ * @remarks
108
+ * A utility method for host applications that are not using decorators or the DI container.
109
+ *
110
+ * @example
111
+ * ```ts
112
+ * import { getKVStorage } from '@genesislcap/foundation-comms';
113
+ * ...
114
+ * private kvStorage = getKVStorage();
115
+ * ```
116
+ *
117
+ * @public
118
+ */
119
+ export declare function getKVStorage(): KVStorage;
104
120
  //# sourceMappingURL=kv.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kv.service.d.ts","sourceRoot":"","sources":["../../../../src/storage/kv/kv.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAgB,OAAO,EAA0B,MAAM,eAAe,CAAC;AAE9E,OAAO,EAA0B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EACL,QAAQ,EACR,gBAAgB,EAChB,OAAO,EACP,sBAAsB,EAGvB,MAAM,YAAY,CAAC;AAEpB;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,GAAG,sBAAsB,CAAC,CAAC;IAC/D,GAAG,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAC/D,IAAI,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAC1B,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC,IAAI,GAAG,sBAAsB,CAAC,CAAC;CACvE;AAED;;;GAGG;AACH,qBAAa,gBAAiB,YAAW,SAAS;IAErC,OAAO,CAAC,OAAO;IAClB,OAAO,CAAC,IAAI;IACS,OAAO,CAAC,eAAe;gBAFjC,OAA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I,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAC1B,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC,IAAI,GAAG,sBAAsB,CAAC,CAAC;CACvE;AAED;;;GAGG;AACH,qBAAa,gBAAiB,YAAW,SAAS;IAErC,OAAO,CAAC,OAAO;IAClB,SAAS,CAAC,IAAI,EAAE,IAAI;IACC,OAAO,CAAC,eAAe;gBAFjC,OAAO,EAAE,OAAO,EACjB,IAAI,EAAE,IAAI,EACS,eAAe,kBAAyB;IAK7E;;;OAGG;YACW,iBAAiB;IAa/B;;;;;;;;;;;;OAYG;IACG,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,GAAG,sBAAsB,CAAC;IAmBpE;;;;;;;;;;;;;;;;;OAiBG;IACG,GAAG,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAoBpE;;;;;;;;;;;OAWG;IACG,IAAI,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAiB/B;;;;;;;;;;;;OAYG;IACG,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC,IAAI,GAAG,sBAAsB,CAAC;CAkB5E;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,iEAAsE,CAAC;AAE7F;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,IAAI,SAAS,CAExC"}
@@ -1,4 +1,5 @@
1
- import { Auth, AuthInfo, LoginResult, LogoutResult, User } from '../../../';
1
+ import type { User } from '@genesislcap/foundation-user';
2
+ import { Auth, AuthInfo, LoginResult, LogoutResult } from '../../../';
2
3
  /**
3
4
  * @internal
4
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../src/testing/mocks/auth/auth.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE5E;;GAEG;AACH,qBAAa,QAAS,YAAW,IAAI;IACvB,SAAS,UAAS;IAClB,gBAAgB,EAAE,WAAW,CAAQ;IACrC,WAAW,EAAE,IAAI,CAAQ;IACzB,UAAU,EAAE,OAAO,CAAS;IAExC,eAAe,EAAE,WAAW,CAAC;IAC7B,gBAAgB,EAAE,YAAY,CAAC;IAC/B,gBAAgB,EAAE,OAAO,CAAC;IAEpB,KAAK,CAAC,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC;IAIlD,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC;IAI/B,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;CAG5C"}
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../src/testing/mocks/auth/auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAEzD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEtE;;GAEG;AACH,qBAAa,QAAS,YAAW,IAAI;IACvB,SAAS,UAAS;IAClB,gBAAgB,EAAE,WAAW,CAAQ;IACrC,WAAW,EAAE,IAAI,CAAQ;IACzB,UAAU,EAAE,OAAO,CAAS;IAExC,eAAe,EAAE,WAAW,CAAC;IAC7B,gBAAgB,EAAE,YAAY,CAAC;IAC/B,gBAAgB,EAAE,OAAO,CAAC;IAEpB,KAAK,CAAC,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC;IAIlD,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC;IAI/B,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;CAG5C"}
@@ -1,61 +1,32 @@
1
- import type { UserPermission, UserProfile } from './user.types';
2
- /**
3
- * Made some minor adjustments here to make user more accessible in the short term.
4
- * Please note that this User will be replaced with the enhanced version shortly!
5
- */
6
- /**
7
- * TODO: Evolve, re-locate to foundation-data, foundation-user or similar and add JSON schema based population,
8
- * validation, evolution, foundation-store interop etc.
9
- */
10
- /**
11
- * Represents the core options for a user.
12
- * @internal
13
- */
14
- interface UserOptions {
15
- readonly permissions: UserPermission[] | null;
16
- readonly profiles: UserProfile[] | null;
17
- readonly username: string | null;
18
- }
1
+ import { User as NextUser, DefaultUser as DefaultNextUser } from '@genesislcap/foundation-user';
19
2
  /**
20
3
  * Represents a User object with associated permissions and profiles.
4
+ *
5
+ * @deprecated - Use {@link @genesislcap/foundation-user#User} instead.
6
+ *
21
7
  * @public
22
8
  */
23
- export interface User extends UserOptions {
24
- hasAdminProfile(): boolean;
25
- hasPermission(permission: UserPermission | UserPermission[]): boolean;
26
- hasProfile(profile: UserProfile | UserProfile[]): boolean;
27
- set(options: UserOptions): void;
28
- unset(): void;
9
+ export interface User extends NextUser {
29
10
  }
30
11
  /**
31
12
  * Represents the current user (i.e. the user that is currently logged in).
13
+ *
14
+ * @deprecated - Use {@link @genesislcap/foundation-user#DefaultUser} instead.
15
+ *
32
16
  * @public
33
17
  */
34
- export declare class CurrentUser implements User {
35
- permissions: UserPermission[];
36
- profiles: UserProfile[];
37
- username: string;
38
- constructor(options: UserOptions);
39
- set(options: UserOptions): void;
40
- unset(): void;
41
- hasAdminProfile(): boolean;
42
- hasPermission(permission: string | string[]): boolean;
43
- hasProfile(profile: string | string[]): boolean;
44
- /**
45
- * Checks if the given key or keys are present in the given array of keys.
46
- * @internal
47
- * @param keys - The array of keys to check.
48
- * @param key - The key or keys to check for.
49
- * @returns True if the key or keys are present in the array of keys.
50
- */
51
- private hasKey;
18
+ export declare class CurrentUser extends DefaultNextUser implements User {
52
19
  }
53
20
  /**
54
21
  * User DI key.
22
+ *
55
23
  * @privateRemarks
56
24
  * Marked as internal to stop api-extractor becoming confused cross-linking tokens with the same name.
25
+ * Using aliasTo to point to {@link @genesislcap/foundation-user#User}.
26
+ *
27
+ * @deprecated - Use {@link @genesislcap/foundation-user#User} instead.
28
+ *
57
29
  * @internal
58
30
  */
59
31
  export declare const User: import("@microsoft/fast-foundation").InterfaceSymbol<User>;
60
- export {};
61
32
  //# sourceMappingURL=user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/user/user.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhE;;;GAGG;AAEH;;;GAGG;AAEH;;;GAGG;AACH,UAAU,WAAW;IACnB,QAAQ,CAAC,WAAW,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;IAC9C,QAAQ,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,eAAe,IAAI,OAAO,CAAC;IAC3B,aAAa,CAAC,UAAU,EAAE,cAAc,GAAG,cAAc,EAAE,GAAG,OAAO,CAAC;IACtE,UAAU,CAAC,OAAO,EAAE,WAAW,GAAG,WAAW,EAAE,GAAG,OAAO,CAAC;IAC1D,GAAG,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,KAAK,IAAI,IAAI,CAAC;CACf;AAED;;;GAGG;AACH,qBAAa,WAAY,YAAW,IAAI;IAC1B,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;gBAEjB,OAAO,EAAE,WAAW;IAIhC,GAAG,CAAC,OAAO,EAAE,WAAW;IASxB,KAAK;IAML,eAAe;IAIf,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG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