forceios 9.0.0 → 9.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forceios",
3
- "version": "9.0.0",
3
+ "version": "9.2.1",
4
4
  "description": "Utilities for creating mobile apps based on the Salesforce Mobile SDK for iOS",
5
5
  "keywords": [ "mobilesdk", "ios", "salesforce", "mobile", "sdk" ],
6
6
  "homepage": "https://github.com/forcedotcom/SalesforceMobileSDK-iOS",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "bin" : { "forceios" : "forceios.js" },
16
16
  "dependencies": {
17
- "shelljs": "0.8.3",
17
+ "shelljs": "0.8.4",
18
18
  "ajv": "^6.10.2",
19
19
  "jsonlint": "^1.6.3"
20
20
  },
@@ -28,7 +28,7 @@
28
28
  var path = require('path'),
29
29
  shelljs = require('shelljs');
30
30
 
31
- var VERSION= '9.0.0';
31
+ var VERSION= '9.2.1';
32
32
 
33
33
  module.exports = {
34
34
  version: VERSION,
@@ -64,8 +64,8 @@ module.exports = {
64
64
  minVersion: '10.0.0',
65
65
  pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#v' + VERSION, // GA
66
66
  platformVersion: {
67
- ios: '6.1.1',
68
- android: '9.0.0'
67
+ ios: '6.2.0',
68
+ android: '10.1.0'
69
69
  }
70
70
  },
71
71
  sfdx: {
@@ -143,7 +143,9 @@ function useLegacyBuild(config, iosSubDir) {
143
143
  '<plist version="1.0">\n' +
144
144
  '<dict>\n' +
145
145
  '<key>BuildSystemType</key>\n' +
146
- '<string>Original</string>\n' +
146
+ '<string>Original</string>\n' +
147
+ '<key>DisableBuildSystemDeprecationDiagnostic</key>\n' +
148
+ '<true/>\n' +
147
149
  '</dict>\n' +
148
150
  '</plist>\n';
149
151
  utils.logInfo('Creating WorkspaceSettings.xcsettings for project. Setting the BuildSystemType to original in ' + xcSettingsFile);
@@ -12,6 +12,19 @@
12
12
  "mergeMode":"OVERWRITE"
13
13
  }
14
14
  },
15
+ {
16
+ "syncName": "soqlSyncDownWithBatchSize",
17
+ "syncType": "syncDown",
18
+ "soupName": "accounts",
19
+ "target": {
20
+ "type":"soql",
21
+ "query":"SELECT Id, Name, LastModifiedDate FROM Account",
22
+ "maxBatchSize": 200
23
+ },
24
+ "options": {
25
+ "mergeMode":"OVERWRITE"
26
+ }
27
+ },
15
28
  {
16
29
  "syncName": "soslSyncDown",
17
30
  "syncType": "syncDown",
@@ -49,6 +49,9 @@
49
49
  "soqlFilter": {
50
50
  "type": "string"
51
51
  },
52
+ "maxBatchSize": {
53
+ "type": "integer"
54
+ },
52
55
  "relationshipType": {
53
56
  "type": "string",
54
57
  "enum": ["MASTER_DETAIL", "LOOKUP"]
@@ -73,9 +76,9 @@
73
76
  "sobjectType": { "$ref": "#/definitions/sobjectType" },
74
77
  "soupName": { "$ref": "#/definitions/soupName" },
75
78
  "sobjectTypePlural": { "$ref": "#/definitions/sobjectTypePlural" },
76
- "parentFieldName": { "$ref": "#/definitions/fieldName" }
79
+ "parentIdFieldName": { "$ref": "#/definitions/fieldName" }
77
80
  },
78
- "required": ["sobjectType", "soupName", "sobjectTypePlural", "parentFieldName"]
81
+ "required": ["sobjectType", "soupName", "sobjectTypePlural", "parentIdFieldName"]
79
82
  },
80
83
  "syncDownOptions": {
81
84
  "type": "object",
@@ -98,7 +101,8 @@
98
101
  "type": { "const": "soql" },
99
102
  "query": { "$ref": "#/definitions/query" },
100
103
  "idFieldName": { "$ref": "#/definitions/fieldName" },
101
- "modificationDateFieldName": { "$ref": "#/definitions/fieldName" }
104
+ "modificationDateFieldName": { "$ref": "#/definitions/fieldName" },
105
+ "maxBatchSize": { "$ref": "#/definitions/maxBatchSize" }
102
106
  },
103
107
  "required": ["type", "query"]
104
108
  },
@@ -165,7 +169,7 @@
165
169
  "type": { "const": "parent_children" },
166
170
  "parent": { "$ref": "#/definitions/parentInfo" },
167
171
  "parentFieldlist": { "$ref": "#/definitions/fieldlist" },
168
- "children": { "$ref": "#/definitions/parentInfo" },
172
+ "children": { "$ref": "#/definitions/childrenInfo" },
169
173
  "childrenFieldlist": { "$ref": "#/definitions/fieldlist" },
170
174
  "relationshipType": { "$ref": "#/definitions/relationshipType" },
171
175
  "parentSoqlFilter": { "$ref": "#/definitions/soqlFilter" }
@@ -222,7 +226,7 @@
222
226
  "parent": { "$ref": "#/definitions/parentInfo" },
223
227
  "createFieldlist": { "$ref": "#/definitions/fieldlist" },
224
228
  "updateFieldlist": { "$ref": "#/definitions/fieldlist" },
225
- "children": { "$ref": "#/definitions/parentInfo" },
229
+ "children": { "$ref": "#/definitions/childrenInfo" },
226
230
  "childrenCreateFieldlist": { "$ref": "#/definitions/fieldlist" },
227
231
  "childrenUpdateFieldlist": { "$ref": "#/definitions/fieldlist" },
228
232
  "relationshipType": { "$ref": "#/definitions/relationshipType" }