@stoker-platform/cli 0.5.168 → 0.5.170

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/cli",
3
- "version": "0.5.167",
3
+ "version": "0.5.169",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "./lib/src/main.js",
@@ -415,7 +415,9 @@ export const lintSchema = async (noLog = false) => {
415
415
  errors.push(`Collection ${collectionName} has a preload cache with a range field ${field} that does not exist`);
416
416
  }
417
417
  else {
418
- if (index > 0 && !rangeField.nullable) {
418
+ if (index > 0 &&
419
+ !rangeField.nullable &&
420
+ !systemFieldSchema.some((systemField) => systemField.name === field)) {
419
421
  errors.push(`Collection ${collectionName} has a preload cache range field ${field} that must be nullable`);
420
422
  }
421
423
  if (isFieldAccessGroupReference(rangeField.access)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/cli",
3
- "version": "0.5.168",
3
+ "version": "0.5.170",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "./lib/src/main.js",
@@ -24,7 +24,7 @@
24
24
  "@google-cloud/secret-manager": "^7.0.0",
25
25
  "@google-cloud/storage": "^8.0.1",
26
26
  "@inquirer/prompts": "^8.6.0",
27
- "@stoker-platform/node-client": "0.5.105",
27
+ "@stoker-platform/node-client": "0.5.106",
28
28
  "@stoker-platform/types": "0.5.74",
29
29
  "@stoker-platform/utils": "0.5.91",
30
30
  "algoliasearch": "^5.57.0",