@axelor/aos-mobile-core 7.0.25 → 7.0.27

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.
@@ -1 +1 @@
1
- export declare const getAllMetaModules: () => Promise<any>;
1
+ export declare function getAllMetaModules({}: {}): Promise<any>;
@@ -15,8 +15,13 @@
15
15
  * You should have received a copy of the GNU Affero General Public License
16
16
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
17
  */
18
- import { axiosApiProvider } from '../apiProviders';
19
- export const getAllMetaModules = () => {
20
- return axiosApiProvider.get({ url: 'ws/rest/com.axelor.meta.db.MetaModule' });
21
- };
18
+ import { createStandardSearch } from '../apiProviders';
19
+ export async function getAllMetaModules({}) {
20
+ return createStandardSearch({
21
+ model: 'com.axelor.meta.db.MetaModule',
22
+ fieldKey: 'core_module',
23
+ numberElementsByPage: null,
24
+ page: 0,
25
+ });
26
+ }
22
27
  //# sourceMappingURL=meta-module-api.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta-module-api.js","sourceRoot":"","sources":["../../src/api/meta-module-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAEjD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACpC,OAAO,gBAAgB,CAAC,GAAG,CAAC,EAAC,GAAG,EAAE,uCAAuC,EAAC,CAAC,CAAC;AAC9E,CAAC,CAAC"}
1
+ {"version":3,"file":"meta-module-api.js","sourceRoot":"","sources":["../../src/api/meta-module-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AAErD,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,EAAE;IACxC,OAAO,oBAAoB,CAAC;QAC1B,KAAK,EAAE,+BAA+B;QACtC,QAAQ,EAAE,aAAa;QACvB,oBAAoB,EAAE,IAAI;QAC1B,IAAI,EAAE,CAAC;KACR,CAAC,CAAC;AACL,CAAC"}
@@ -26,5 +26,9 @@ export const core_modelAPI = {
26
26
  fileName: schemaContructor.string(),
27
27
  createdOn: schemaContructor.string(),
28
28
  }),
29
+ core_module: schemaContructor.object({
30
+ moduleVersion: schemaContructor.string(),
31
+ name: schemaContructor.string(),
32
+ }),
29
33
  };
30
34
  //# sourceMappingURL=objectFields.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"objectFields.js","sourceRoot":"","sources":["../../src/models/objectFields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAe,gBAAgB,EAAC,MAAM,QAAQ,CAAC;AAEtD,MAAM,CAAC,MAAM,aAAa,GAAiB;IACzC,eAAe,EAAE,gBAAgB,CAAC,MAAM,CAAC;QACvC,IAAI,EAAE,gBAAgB,CAAC,MAAM,EAAE;QAC/B,aAAa,EAAE,gBAAgB,CAAC,MAAM,EAAE;QACxC,eAAe,EAAE,gBAAgB,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC;KAC3E,CAAC;IACF,aAAa,EAAE,gBAAgB,CAAC,MAAM,CAAC;QACrC,QAAQ,EAAE,gBAAgB,CAAC,MAAM,EAAE;QACnC,SAAS,EAAE,gBAAgB,CAAC,MAAM,EAAE;KACrC,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"objectFields.js","sourceRoot":"","sources":["../../src/models/objectFields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAe,gBAAgB,EAAC,MAAM,QAAQ,CAAC;AAEtD,MAAM,CAAC,MAAM,aAAa,GAAiB;IACzC,eAAe,EAAE,gBAAgB,CAAC,MAAM,CAAC;QACvC,IAAI,EAAE,gBAAgB,CAAC,MAAM,EAAE;QAC/B,aAAa,EAAE,gBAAgB,CAAC,MAAM,EAAE;QACxC,eAAe,EAAE,gBAAgB,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC;KAC3E,CAAC;IACF,aAAa,EAAE,gBAAgB,CAAC,MAAM,CAAC;QACrC,QAAQ,EAAE,gBAAgB,CAAC,MAAM,EAAE;QACnC,SAAS,EAAE,gBAAgB,CAAC,MAAM,EAAE;KACrC,CAAC;IACF,WAAW,EAAE,gBAAgB,CAAC,MAAM,CAAC;QACnC,aAAa,EAAE,gBAAgB,CAAC,MAAM,EAAE;QACxC,IAAI,EAAE,gBAAgB,CAAC,MAAM,EAAE;KAChC,CAAC;CACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axelor/aos-mobile-core",
3
- "version": "7.0.25",
3
+ "version": "7.0.27",
4
4
  "author": "Axelor",
5
5
  "license": "AGPL-3.0-only",
6
6
  "publishConfig": {
@@ -84,8 +84,8 @@
84
84
  "vision-camera-code-scanner": "^0.2.0"
85
85
  },
86
86
  "dependencies": {
87
- "@axelor/aos-mobile-error": "7.0.25",
88
- "@axelor/aos-mobile-ui": "7.0.25",
87
+ "@axelor/aos-mobile-error": "7.0.27",
88
+ "@axelor/aos-mobile-ui": "7.0.27",
89
89
  "@react-navigation/drawer": "6.6.3",
90
90
  "@react-navigation/native": "6.1.7",
91
91
  "@react-navigation/native-stack": "6.9.13",