dce-reactkit 3.12.1-beta-cross-server.1 → 3.12.1-beta-cross-server.2
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/dist/cjs/index.js +13 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -1
- package/dist/esm/index.js +13 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +2 -1
- package/dist/index.d.ts +9 -1
- package/package.json +1 -1
- package/src/index.ts +2 -0
package/dist/cjs/index.js
CHANGED
|
@@ -15629,6 +15629,18 @@ const initLogCollection = (Collection) => {
|
|
|
15629
15629
|
});
|
|
15630
15630
|
};
|
|
15631
15631
|
|
|
15632
|
+
/**
|
|
15633
|
+
* Initialize a cross-server credential collection given the dce-mango Collection class
|
|
15634
|
+
* @author Gabe Abrams
|
|
15635
|
+
* @param Collection the Collection class from dce-mango
|
|
15636
|
+
* @returns initialized logCollection
|
|
15637
|
+
*/
|
|
15638
|
+
const initCrossServerCredentialCollection = (Collection) => {
|
|
15639
|
+
return new Collection('CrossServerCredential', {
|
|
15640
|
+
uniqueIndexKey: 'key',
|
|
15641
|
+
});
|
|
15642
|
+
};
|
|
15643
|
+
|
|
15632
15644
|
/*------------------------------------------------------------------------*/
|
|
15633
15645
|
/* -------------------------------- Cache ------------------------------- */
|
|
15634
15646
|
/*------------------------------------------------------------------------*/
|
|
@@ -16631,6 +16643,7 @@ exports.handleError = handleError;
|
|
|
16631
16643
|
exports.handleSuccess = handleSuccess;
|
|
16632
16644
|
exports.idify = idify;
|
|
16633
16645
|
exports.initClient = initClient;
|
|
16646
|
+
exports.initCrossServerCredentialCollection = initCrossServerCredentialCollection;
|
|
16634
16647
|
exports.initLogCollection = initLogCollection;
|
|
16635
16648
|
exports.initServer = initServer;
|
|
16636
16649
|
exports.isMobileOrTablet = isMobileOrTablet;
|