Gathering detailed insights and metrics for gsf.integration.data
Gathering detailed insights and metrics for gsf.integration.data
Gathering detailed insights and metrics for gsf.integration.data
Gathering detailed insights and metrics for gsf.integration.data
npm install gsf.integration.data
Typescript
Module System
Node Version
NPM Version
65.5
Supply Chain
87.4
Quality
74.2
Maintenance
50
Vulnerability
99.5
License
Cumulative downloads
Total Downloads
Last day
0%
2
Compared to previous day
Last week
100%
2
Compared to previous week
Last month
-50%
4
Compared to previous month
Last year
54.7%
147
Compared to previous year
1
56
This library provides a service designed to allow easy handling and retrieval of integrated V1 CDM Payloads from integration partners after the integration event has already occurred. Users register the Cdm Payload at the upper controller level and can then retrieve it from child controllers at will, even if they are dynamic datacards hidden by ng-if.
npm i @globalx/gsf.integration.data --save-dev
to install it into your projectimport '@globalx/gsf.integration.data'
angular.module('some-funky-app', ['gsf.integration.data']);
register(cdm)
Registers the payload with the service, call this from a page level component.
retrieveMatterEntity()
Retrieve the matter entity from the registered payload.
retrieveRelatedEntities(types, relationship)
Retrieve related entities from the registered payload given a set of criteria.
retrieveDatumByKey(key, /*optional*/ model)
Retrieve the requested datum object from either the registered payload's matter entity or a given entity
clear()
Clears the registered payload.
IntegratedData
service into a page level component that has access to the CDM object provided by provideMatter at pageloadIntegratedData.register(payload);
IntegratedData
service into a low-level dynamic/transient component that isn't typically present at pageloadvar theMatterEntity = IntegratedData.retrieveMatterEntity();
var types = ['GlobalX.Common.DataModel.Individual', 'GlobalX.Common.DataModel.Company'];
var relationshipType = 'Vendor';
var allVendorsOfTypeIndividualAndCompany = IntegratedData.retrieveRelatedEntities(types, relationshipType);
var settlementDate = IntegratedData.retrieveDatumByKey('SettlementDate');
var relatedVendorsMiddleName = IntegratedData.retrieveDatumByKey('MiddleName', vendor);
IntegratedData.clear();
Initial Release.
No vulnerabilities found.
No security vulnerabilities found.