@valbuild/server 0.100.0 → 0.101.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.
@@ -5860,7 +5860,7 @@ function hasRemoteFileSchema(schema) {
5860
5860
  }
5861
5861
  }
5862
5862
  return false;
5863
- } else if (schema.type === "boolean" || schema.type === "number" || schema.type === "string" || schema.type === "literal" || schema.type === "date" || schema.type === "dateTime" || schema.type === "keyOf" || schema.type === "route") {
5863
+ } else if (schema.type === "boolean" || schema.type === "number" || schema.type === "string" || schema.type === "literal" || schema.type === "date" || schema.type === "dateTime" || schema.type === "color" || schema.type === "keyOf" || schema.type === "route") {
5864
5864
  return false;
5865
5865
  } else {
5866
5866
  const exhaustiveCheck = schema;
@@ -7466,7 +7466,11 @@ const ValServer = (valModules, options, callbacks) => {
7466
7466
  sourceFilePatchErrors: Object.fromEntries(Object.entries(preparedCommit.sourceFilePatchErrors).map(([key, errors]) => [key, errors.map(e => ({
7467
7467
  message: formatPatchSourceError(e)
7468
7468
  }))])),
7469
- binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors
7469
+ binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors,
7470
+ // Attributed to the patch that caused it, so the studio can
7471
+ // name the offending change and offer to remove it instead of
7472
+ // leaving the editor with "Failed to publish changes".
7473
+ unappliablePatches: preparedCommit.unappliablePatches
7470
7474
  }
7471
7475
  }
7472
7476
  };
@@ -5860,7 +5860,7 @@ function hasRemoteFileSchema(schema) {
5860
5860
  }
5861
5861
  }
5862
5862
  return false;
5863
- } else if (schema.type === "boolean" || schema.type === "number" || schema.type === "string" || schema.type === "literal" || schema.type === "date" || schema.type === "dateTime" || schema.type === "keyOf" || schema.type === "route") {
5863
+ } else if (schema.type === "boolean" || schema.type === "number" || schema.type === "string" || schema.type === "literal" || schema.type === "date" || schema.type === "dateTime" || schema.type === "color" || schema.type === "keyOf" || schema.type === "route") {
5864
5864
  return false;
5865
5865
  } else {
5866
5866
  const exhaustiveCheck = schema;
@@ -7466,7 +7466,11 @@ const ValServer = (valModules, options, callbacks) => {
7466
7466
  sourceFilePatchErrors: Object.fromEntries(Object.entries(preparedCommit.sourceFilePatchErrors).map(([key, errors]) => [key, errors.map(e => ({
7467
7467
  message: formatPatchSourceError(e)
7468
7468
  }))])),
7469
- binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors
7469
+ binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors,
7470
+ // Attributed to the patch that caused it, so the studio can
7471
+ // name the offending change and offer to remove it instead of
7472
+ // leaving the editor with "Failed to publish changes".
7473
+ unappliablePatches: preparedCommit.unappliablePatches
7470
7474
  }
7471
7475
  }
7472
7476
  };
@@ -5826,7 +5826,7 @@ function hasRemoteFileSchema(schema) {
5826
5826
  }
5827
5827
  }
5828
5828
  return false;
5829
- } else if (schema.type === "boolean" || schema.type === "number" || schema.type === "string" || schema.type === "literal" || schema.type === "date" || schema.type === "dateTime" || schema.type === "keyOf" || schema.type === "route") {
5829
+ } else if (schema.type === "boolean" || schema.type === "number" || schema.type === "string" || schema.type === "literal" || schema.type === "date" || schema.type === "dateTime" || schema.type === "color" || schema.type === "keyOf" || schema.type === "route") {
5830
5830
  return false;
5831
5831
  } else {
5832
5832
  const exhaustiveCheck = schema;
@@ -7432,7 +7432,11 @@ const ValServer = (valModules, options, callbacks) => {
7432
7432
  sourceFilePatchErrors: Object.fromEntries(Object.entries(preparedCommit.sourceFilePatchErrors).map(([key, errors]) => [key, errors.map(e => ({
7433
7433
  message: formatPatchSourceError(e)
7434
7434
  }))])),
7435
- binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors
7435
+ binaryFilePatchErrors: preparedCommit.binaryFilePatchErrors,
7436
+ // Attributed to the patch that caused it, so the studio can
7437
+ // name the offending change and offer to remove it instead of
7438
+ // leaving the editor with "Failed to publish changes".
7439
+ unappliablePatches: preparedCommit.unappliablePatches
7436
7440
  }
7437
7441
  }
7438
7442
  };
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "./package.json": "./package.json"
17
17
  },
18
18
  "types": "dist/valbuild-server.cjs.d.ts",
19
- "version": "0.100.0",
19
+ "version": "0.101.1",
20
20
  "devDependencies": {
21
21
  "@prettier/sync": "^0.6.1",
22
22
  "@types/jest": "^30.0.0"
@@ -29,9 +29,9 @@
29
29
  "typescript": "^5.9.3",
30
30
  "zod": "^4.3.5",
31
31
  "zod-validation-error": "^5.0.0",
32
- "@valbuild/core": "0.100.0",
33
- "@valbuild/shared": "0.100.0",
34
- "@valbuild/ui": "0.100.0"
32
+ "@valbuild/core": "0.101.0",
33
+ "@valbuild/shared": "0.101.1",
34
+ "@valbuild/ui": "0.101.1"
35
35
  },
36
36
  "engines": {
37
37
  "node": ">=18.17.0"