@genesislcap/foundation-comms 14.107.1-alpha-afbc4d7.0 → 14.107.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/datasource/entityDatasource.d.ts +2 -0
- package/dist/dts/datasource/entityDatasource.d.ts.map +1 -1
- package/dist/dts/testing/mocks/connect/socket.d.ts +1 -1
- package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/esm/datasource/datasource.types.js +1 -2
- package/dist/foundation-comms.api.json +240 -1021
- package/dist/foundation-comms.d.ts +3 -1
- package/docs/api/foundation-comms.md +0 -3
- package/docs/api-report.md +5 -1
- package/package.json +7 -7
- package/docs/api/foundation-comms.defaultentitydatasource.cache.md +0 -19
- package/docs/api/foundation-comms.defaultentitydatasource.disconnect.md +0 -19
- package/docs/api/foundation-comms.defaultentitydatasource.entitycache.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.entitymap.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.initialize.md +0 -19
- package/docs/api/foundation-comms.defaultentitydatasource.isempty.md +0 -19
- package/docs/api/foundation-comms.defaultentitydatasource.mapper.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.md +0 -36
- package/docs/api/foundation-comms.defaultentitydatasource.rowid.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.sourceref.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.subscription.md +0 -14
- package/docs/api/foundation-comms.defaultentitydatasource.subscriptionloggedoff.md +0 -14
- package/docs/api/foundation-comms.entitydatasource.cache.md +0 -19
- package/docs/api/foundation-comms.entitydatasource.disconnect.md +0 -22
- package/docs/api/foundation-comms.entitydatasource.initialize.md +0 -29
- package/docs/api/foundation-comms.entitydatasource.initialized.md +0 -19
- package/docs/api/foundation-comms.entitydatasource.isempty.md +0 -19
- package/docs/api/foundation-comms.entitydatasource.md +0 -81
- package/docs/api/foundation-comms.entitydatasourceinit.fetchmeta.md +0 -14
- package/docs/api/foundation-comms.entitydatasourceinit.mapper.md +0 -14
- package/docs/api/foundation-comms.entitydatasourceinit.md +0 -25
- package/docs/api/foundation-comms.entitydatasourceinit.options.md +0 -14
@@ -125,6 +125,8 @@ export declare class DefaultEntityDatasource<TDTO, TEntity> extends DefaultDatas
|
|
125
125
|
protected entityCache: TEntity[];
|
126
126
|
protected entityMap: Map<string, TEntity>;
|
127
127
|
protected rowId: string;
|
128
|
+
/** {@inheritDoc EntityDatasource.initialized} */
|
129
|
+
initialized: boolean;
|
128
130
|
/** {@inheritDoc EntityDatasource.initialize} */
|
129
131
|
initialize: (init: EntityDatasourceInit<TDTO, TEntity>) => Promise<boolean>;
|
130
132
|
/** {@inheritDoc EntityDatasource.cache} */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entityDatasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/entityDatasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAG/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EACV,wBAAwB,EAExB,OAAO,EACR,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D;;GAEG;AAEH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB,CAAC,IAAI,EAAE,OAAO;IACjD,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;IAC/C,MAAM,EAAE,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAM,WAAW,gBAAgB,CAAC,IAAI,EAAE,OAA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H,qBAAa,uBAAuB,CAAC,IAAI,EAAE,OAAO,CAChD,SAAQ,iBACR,YAAW,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC;IAE1C,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC3C,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,YAAY,EAAE,kBAAkB,CAAC;IAC3C,SAAS,CAAC,qBAAqB,EAAE,OAAO,CAAC;IACzC,SAAS,CAAC,WAAW,EAAE,OAAO,EAAE,CAAM;IACtC,SAAS,CAAC,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAa;IACtD,SAAS,CAAC,KAAK,EAAE,MAAM,CAAa;IAEpC,iDAAiD;IAC1C,WAAW,EAAE,OAAO,CAAC;IAE5B,gDAAgD;IAChD,UAAU,SAAgB,qBAAqB,IAAI,EAAE,OAAO,CAAC,KAAG,QAAQ,OAAO,CAAC,CAqB9E;IAEF,2CAA2C;IAC3C,IAAI,KAAK,IAAI,OAAO,EAAE,CAKrB;IAED,6CAA6C;IAC7C,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,gDAAgD;IAChD,UAAU,QAAO,IAAI,CAGnB;IAEF,SAAS,CAAC,WAAW,CAAC,MAAM,EAAE,wBAAwB,GAAG,IAAI;IAoB7D,SAAS,CAAC,oBAAoB,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,SAAS,GAAE,OAAe,GAAG,IAAI;CAarF;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,kFAE5B,CAAC"}
|
@@ -10,7 +10,7 @@ export declare class SocketMock implements Socket {
|
|
10
10
|
isConnectedSubject: BehaviorSubject<boolean>;
|
11
11
|
isReconnecting: boolean;
|
12
12
|
nextMessage: Message;
|
13
|
-
socketMessagesSubject: SocketSubject<Message
|
13
|
+
socketMessagesSubject: SocketSubject<Message<any>>;
|
14
14
|
connect(host: string, options?: SocketConnectOptions, reconnectOptions?: SocketReconnectOptions): Promise<boolean>;
|
15
15
|
disconnect(): void;
|
16
16
|
send<T>(message: Message<any>): Promise<Message | any>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"socket.d.ts","sourceRoot":"","sources":["../../../../../src/testing/mocks/connect/socket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAQ,UAAU,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,KAAK,EACV,OAAO,EACP,MAAM,EACN,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;GAEG;AACH,qBAAa,UAAW,YAAW,MAAM;IAChC,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,eAAe,CAAC,OAAO,CAAC,CAA6B;IACzE,cAAc,EAAE,OAAO,CAAC;IAExB,WAAW,EAAE,OAAO,CAAC;IACrB,qBAAqB,
|
1
|
+
{"version":3,"file":"socket.d.ts","sourceRoot":"","sources":["../../../../../src/testing/mocks/connect/socket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAQ,UAAU,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,KAAK,EACV,OAAO,EACP,MAAM,EACN,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;GAEG;AACH,qBAAa,UAAW,YAAW,MAAM;IAChC,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,eAAe,CAAC,OAAO,CAAC,CAA6B;IACzE,cAAc,EAAE,OAAO,CAAC;IAExB,WAAW,EAAE,OAAO,CAAC;IACrB,qBAAqB,8BAAgC;IAErD,OAAO,CACZ,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,oBAAoB,EAC9B,gBAAgB,CAAC,EAAE,sBAAsB,GACxC,OAAO,CAAC,OAAO,CAAC;IAIZ,UAAU,IAAI,IAAI;IAElB,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,OAAO,GAAG,GAAG,CAAC;IAItD,aAAa,CAAC,CAAC,EACpB,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,EACrB,SAAS,EAAE,QAAQ,EACnB,OAAO,EAAE,QAAQ,GAChB,UAAU,CAAC,OAAO,CAAC;IAIf,cAAc,IAAI,aAAa,CAAC,OAAO,CAAC;IAI/C,KAAK,IAAI,IAAI;CAGd"}
|
@@ -13,14 +13,13 @@ export var ResourceType;
|
|
13
13
|
* Default values for a DatasourceConfig
|
14
14
|
* @public
|
15
15
|
*/
|
16
|
-
class DatasourceDefaults {
|
16
|
+
export class DatasourceDefaults {
|
17
17
|
}
|
18
18
|
DatasourceDefaults.MAX_ROWS_250 = 250;
|
19
19
|
DatasourceDefaults.MAX_VIEW_1000 = 1000;
|
20
20
|
DatasourceDefaults.REQ_REP_POLLING_INTERVAL_MS = 10000;
|
21
21
|
DatasourceDefaults.DATASERVER_ROW_ID = 'ROW_REF';
|
22
22
|
DatasourceDefaults.REQUEST_SERVER_ROW_ID = 'RECORD_ID';
|
23
|
-
export { DatasourceDefaults };
|
24
23
|
/**
|
25
24
|
* The DI token for the DatasourceConfig interface.
|
26
25
|
*
|