@adminide-stack/yantra-mobile 12.0.53-alpha.21 → 12.0.53-alpha.24
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/lib/module.js +6 -0
- package/lib/module.js.map +1 -1
- package/package.json +2 -2
package/lib/module.js
CHANGED
|
@@ -3,5 +3,11 @@ import {Feature}from'@common-stack/client-react';import {filteredRoutes}from'./c
|
|
|
3
3
|
routeConfig: filteredRoutes,
|
|
4
4
|
clientStateParams: {
|
|
5
5
|
typePolicies
|
|
6
|
+
},
|
|
7
|
+
// Mirror billing/browser: namespace plan vs subscription cache ids so a
|
|
8
|
+
// CurrentSubscription{id:'basic'} cannot clobber AdminPlan{id:'basic'}.
|
|
9
|
+
dataIdFromObject: {
|
|
10
|
+
AdminPlan: (result) => `AdminPlan:${result.id}`,
|
|
11
|
+
CurrentSubscription: (result) => `CurrentSubscription:${result.id}`
|
|
6
12
|
}
|
|
7
13
|
});export{YantraMobileModule as default};//# sourceMappingURL=module.js.map
|
package/lib/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../src/module.ts"],"sourcesContent":["/* eslint-disable import/no-extraneous-dependencies */\nimport { Feature } from '@common-stack/client-react';\nimport { filteredRoutes } from './compute';\nimport { typePolicies } from './graphql/typePolicies';\n\nexport default new Feature({\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n routeConfig: filteredRoutes as any,\n clientStateParams: {\n typePolicies,\n },\n});\n"],"names":[],"mappings":"gJAIA,yBAAe,IAAI,OAAQ,CAAA;AAAA;AAAA,EAEzB,WAAa,EAAA,cAAA;AAAA,EACb,iBAAmB,EAAA;AAAA,IACjB;AAAA;
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../src/module.ts"],"sourcesContent":["/* eslint-disable import/no-extraneous-dependencies */\nimport { Feature } from '@common-stack/client-react';\nimport { filteredRoutes } from './compute';\nimport { typePolicies } from './graphql/typePolicies';\n\nexport default new Feature({\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n routeConfig: filteredRoutes as any,\n clientStateParams: {\n typePolicies,\n },\n // Mirror billing/browser: namespace plan vs subscription cache ids so a\n // CurrentSubscription{id:'basic'} cannot clobber AdminPlan{id:'basic'}.\n dataIdFromObject: {\n AdminPlan: (result: { id: string }) => `AdminPlan:${result.id}`,\n CurrentSubscription: (result: { id: string }) => `CurrentSubscription:${result.id}`,\n },\n});\n"],"names":[],"mappings":"gJAIA,yBAAe,IAAI,OAAQ,CAAA;AAAA;AAAA,EAEzB,WAAa,EAAA,cAAA;AAAA,EACb,iBAAmB,EAAA;AAAA,IACjB;AAAA,GACF;AAAA;AAAA;AAAA,EAGA,gBAAkB,EAAA;AAAA,IAChB,SAAW,EAAA,CAAC,MAEN,KAAA,CAAA,UAAA,EAAa,OAAO,EAAE,CAAA,CAAA;AAAA,IAC5B,mBAAqB,EAAA,CAAC,MAEhB,KAAA,CAAA,oBAAA,EAAuB,OAAO,EAAE,CAAA;AAAA;AAE1C,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminide-stack/yantra-mobile",
|
|
3
|
-
"version": "12.0.53-alpha.
|
|
3
|
+
"version": "12.0.53-alpha.24",
|
|
4
4
|
"description": "Sample core for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"typescript": {
|
|
58
58
|
"definition": "lib/index.d.ts"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "47b8a442174c24b55f95bda91577e6bc2f6b4eed"
|
|
61
61
|
}
|