@valbuild/shared 0.146.0 → 0.146.4

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,5 +1,5 @@
1
- import { _ as _createForOfIteratorHelper, o as _objectSpread2, q as _arrayLikeToArray, r as _unsupportedIterableToArray, s as _typeof, t as _defineProperty, u as _toPropertyKey } from '../../dist/getSitemapTree-6fcdf745.esm.js';
2
- export { D as DEFAULT_CANVAS_SELECTION, e as DEFAULT_CANVAS_SELECTION_SOFT, b as VAL_AI_SESSION_STORAGE_KEY, d as VAL_CANVAS_MESSAGE, c as VAL_CANVAS_PARAM, V as VAL_CONFIG_SESSION_STORAGE_KEY, a as VAL_THEME_SESSION_STORAGE_KEY, h as getNextAppRouterSourceFolder, m as getPageRouterSitemapTree, k as getPageRouterSourceFolder, n as getPatternFromModuleFilePath, j as getTanStackRouterSourceFolder, l as isTanStackRoutesFolder, g as isValCanvasFrame, i as isValCanvasPageMessage, f as isValCanvasStudioMessage, p as parseRoutePattern, w as withValCanvasParam } from '../../dist/getSitemapTree-6fcdf745.esm.js';
1
+ import { _ as _createForOfIteratorHelper, o as _objectSpread2, q as _arrayLikeToArray, r as _unsupportedIterableToArray, s as _typeof, t as _defineProperty, u as _toPropertyKey } from '../../dist/getSitemapTree-e65acefe.esm.js';
2
+ export { D as DEFAULT_CANVAS_SELECTION, e as DEFAULT_CANVAS_SELECTION_SOFT, b as VAL_AI_SESSION_STORAGE_KEY, d as VAL_CANVAS_MESSAGE, c as VAL_CANVAS_PARAM, V as VAL_CONFIG_SESSION_STORAGE_KEY, a as VAL_THEME_SESSION_STORAGE_KEY, h as getNextAppRouterSourceFolder, m as getPageRouterSitemapTree, k as getPageRouterSourceFolder, n as getPatternFromModuleFilePath, j as getTanStackRouterSourceFolder, l as isTanStackRoutesFolder, g as isValCanvasFrame, i as isValCanvasPageMessage, f as isValCanvasStudioMessage, p as parseRoutePattern, w as withValCanvasParam } from '../../dist/getSitemapTree-e65acefe.esm.js';
3
3
  import { Internal, CODE_LANGUAGES, resolveSettingsModule, missingDeclaredKeys, localeOfValue, discriminatedUnionBranchOf, DEFAULT_COLOR_FORMAT, declaredKeySetOf } from '@valbuild/core';
4
4
  import { z } from 'zod';
5
5
  import { fromError } from 'zod-validation-error';
@@ -1611,7 +1611,7 @@ var ValConfig = z.object({
1611
1611
  gitCommit: z.string().optional(),
1612
1612
  gitBranch: z.string().optional()
1613
1613
  });
1614
- var ValidationFixZ = z.union([z.literal("image:add-metadata"), z.literal("image:check-metadata"), z.literal("image:check-remote"), z.literal("image:upload-remote"), z.literal("image:download-remote"), z.literal("images:check-remote"), z.literal("images:upload-remote"), z.literal("file:add-metadata"), z.literal("video:add-metadata"), z.literal("video:upload-remote"), z.literal("video:download-remote"), z.literal("videos:add-metadata"), z.literal("videos:check-remote"), z.literal("videos:upload-remote"), z.literal("file:check-metadata"), z.literal("file:check-remote"), z.literal("file:upload-remote"), z.literal("file:download-remote"), z.literal("files:check-remote"), z.literal("files:upload-remote"), z.literal("keyof:check-keys"), z.literal("router:check-route"), z.literal("locale:check-locale"), z.literal("record:fill-keys"), z.literal("images:check-unique-folder"), z.literal("files:check-unique-folder"), z.literal("images:check-all-files"), z.literal("files:check-all-files"), z.literal("videos:check-unique-folder"), z.literal("videos:check-all-files"), z.literal("jsonValues:extract-entry"), z.literal("view:check-module")]);
1614
+ var ValidationFixZ = z.union([z.literal("image:add-metadata"), z.literal("image:check-metadata"), z.literal("image:check-remote"), z.literal("image:upload-remote"), z.literal("image:download-remote"), z.literal("images:check-remote"), z.literal("images:upload-remote"), z.literal("file:add-metadata"), z.literal("video:add-metadata"), z.literal("video:upload-remote"), z.literal("video:download-remote"), z.literal("videos:add-metadata"), z.literal("videos:check-remote"), z.literal("videos:upload-remote"), z.literal("file:check-metadata"), z.literal("file:check-remote"), z.literal("file:upload-remote"), z.literal("file:download-remote"), z.literal("files:check-remote"), z.literal("files:upload-remote"), z.literal("keyof:check-keys"), z.literal("image:check-gallery"), z.literal("file:check-gallery"), z.literal("video:check-gallery"), z.literal("router:check-route"), z.literal("locale:check-locale"), z.literal("record:fill-keys"), z.literal("images:check-unique-folder"), z.literal("files:check-unique-folder"), z.literal("images:check-all-files"), z.literal("files:check-all-files"), z.literal("videos:check-unique-folder"), z.literal("videos:check-all-files"), z.literal("jsonValues:extract-entry"), z.literal("view:check-module")]);
1615
1615
  var ValidationError = z.object({
1616
1616
  message: z.string(),
1617
1617
  value: z.unknown().optional(),
@@ -2864,6 +2864,66 @@ var Api = {
2864
2864
  })])
2865
2865
  }
2866
2866
  },
2867
+ /**
2868
+ * Publish selected (`docs/plans/remove-patch-groups.md`, Phase 4), its first
2869
+ * half, on the site's own server: the changes picked in Review, already
2870
+ * closed into whole patch sets (`selectionClosure`), moved into a proposal
2871
+ * of kind `publish` and saved there -- prepared over the site's head, which
2872
+ * the proposal is based on, so a publish landing in between is refused
2873
+ * rather than reverted. The second half is that proposal's Publish, pressed
2874
+ * as any proposal's is (`publishProposal`); this server answers its checks
2875
+ * and press with what the merge moves, as the proposal's own address would.
2876
+ */
2877
+ "/publish-selected": {
2878
+ POST: {
2879
+ req: {
2880
+ body: z.object({
2881
+ /** The changes to publish, whole patch sets, in any order: a move keeps the chain's. */
2882
+ patchIds: z.array(PatchId).min(1),
2883
+ /** What the merged proposal is listed as. */
2884
+ displayName: z.string().min(1).max(200),
2885
+ /** The press's own id: the same press sent again is the same proposal. */
2886
+ requestId: z.string().regex(/^[A-Za-z0-9_-]{1,100}$/)
2887
+ }),
2888
+ cookies: {
2889
+ val_session: z.string().optional()
2890
+ }
2891
+ },
2892
+ res: z.union([unauthorizedResponse, z.object({
2893
+ status: z.literal(400),
2894
+ json: GenericError
2895
+ }),
2896
+ /**
2897
+ * Refused: the site moved (`headMoved`: pressing again prepares over
2898
+ * the new head), a change went, or this deployment cannot.
2899
+ */
2900
+ z.object({
2901
+ status: z.literal(409),
2902
+ json: GenericError.extend({
2903
+ headMoved: z.literal(true).optional()
2904
+ })
2905
+ }), z.object({
2906
+ status: z.literal(500),
2907
+ json: GenericError
2908
+ }),
2909
+ /**
2910
+ * The proposal was made and its changes moved into it, and the save
2911
+ * there failed: they are safe in it, which `proposal` names.
2912
+ */
2913
+ z.object({
2914
+ status: z.literal(502),
2915
+ json: GenericError.extend({
2916
+ proposal: z.string()
2917
+ })
2918
+ }), z.object({
2919
+ status: z.literal(200),
2920
+ json: z.object({
2921
+ /** The proposal to publish next. */
2922
+ proposal: z.string()
2923
+ })
2924
+ })])
2925
+ }
2926
+ },
2867
2927
  "/save": {
2868
2928
  POST: {
2869
2929
  req: {
@@ -4783,7 +4843,7 @@ function declaredLocales(snapshot) {
4783
4843
  * these has to resolve all of them, and the two that leaked did so by adding a
4784
4844
  * fix here and not to a condition somewhere else.
4785
4845
  */
4786
- var SCHEMA_SOURCE_FIXES = ["keyof:check-keys", "router:check-route", "locale:check-locale", "record:fill-keys"];
4846
+ var SCHEMA_SOURCE_FIXES = ["keyof:check-keys", "image:check-gallery", "file:check-gallery", "video:check-gallery", "router:check-route", "locale:check-locale", "record:fill-keys"];
4787
4847
 
4788
4848
  /** Whether an error is a marker only the whole project can answer. */
4789
4849
  function isSchemaSourceFixError(error) {
@@ -4794,8 +4854,9 @@ function isSchemaSourceFixError(error) {
4794
4854
  }
4795
4855
 
4796
4856
  /**
4797
- * The record a `keyof:check-keys` error resolves against, or null for any other
4798
- * error — including a malformed marker, which
4857
+ * The record a `keyof:check-keys` error resolves against -- or a gallery
4858
+ * marker's (`image:check-gallery` and the rest): its gallery module -- or null
4859
+ * for any other error, including a malformed marker, which
4799
4860
  * {@link resolveSchemaSourceFixForError} reports and this has nothing to say
4800
4861
  * about.
4801
4862
  *
@@ -4805,6 +4866,12 @@ function isSchemaSourceFixError(error) {
4805
4866
  */
4806
4867
  function keyOfRecordPath(error) {
4807
4868
  var _error$fixes2;
4869
+ // A gallery-backed field's marker reads its gallery the same way: the
4870
+ // record whose keys say whether the field's path is there.
4871
+ var gallery = Internal.media.galleryMarkerOf(error);
4872
+ if (gallery !== null) {
4873
+ return gallery.gallery;
4874
+ }
4808
4875
  if (!((_error$fixes2 = error.fixes) !== null && _error$fixes2 !== void 0 ? _error$fixes2 : []).includes("keyof:check-keys")) {
4809
4876
  return null;
4810
4877
  }
@@ -4826,6 +4893,37 @@ function keyOfRecordPath(error) {
4826
4893
  function resolveSchemaSourceFixForError(error, snapshot) {
4827
4894
  var _error$fixes3;
4828
4895
  var fixes = (_error$fixes3 = error.fixes) !== null && _error$fixes3 !== void 0 ? _error$fixes3 : [];
4896
+ var gallery = Internal.media.galleryMarkerOf(error);
4897
+ if (gallery !== null) {
4898
+ // The gallery as it is now -- with what a pending change, a save in a
4899
+ // proposal or a content-only publish added -- not as the schema was built.
4900
+ var entries = getKeyOfRecordAt(gallery.gallery, snapshot).source;
4901
+ var has = _typeof(entries) === "object" && entries !== null && !Array.isArray(entries) && Internal.media.galleryKeyOf(gallery.path, function (key) {
4902
+ return key in entries;
4903
+ }) !== null;
4904
+ if (has) {
4905
+ return {
4906
+ status: "resolved"
4907
+ };
4908
+ }
4909
+ return {
4910
+ status: "remaining",
4911
+ error: _objectSpread2(_objectSpread2({}, error), {}, {
4912
+ value: gallery.source,
4913
+ fixes: undefined
4914
+ })
4915
+ };
4916
+ }
4917
+ if (fixes.includes("image:check-gallery") || fixes.includes("file:check-gallery") || fixes.includes("video:check-gallery")) {
4918
+ return {
4919
+ status: "remaining",
4920
+ error: _objectSpread2(_objectSpread2({}, error), {}, {
4921
+ message: "".concat(error.message, " The gallery could not be read from this error. ").concat(TYPE_ERROR_MESSAGE),
4922
+ typeError: true,
4923
+ fixes: undefined
4924
+ })
4925
+ };
4926
+ }
4829
4927
  if (fixes.includes("keyof:check-keys")) {
4830
4928
  if (!error.value) {
4831
4929
  return {
@@ -6117,6 +6215,9 @@ function isSkippableFixCode(fix) {
6117
6215
  // also took them off the publish gate, so a broken key published unseen.
6118
6216
  return false;
6119
6217
  case "keyof:check-keys":
6218
+ case "image:check-gallery":
6219
+ case "file:check-gallery":
6220
+ case "video:check-gallery":
6120
6221
  case "router:check-route":
6121
6222
  case "locale:check-locale":
6122
6223
  case "record:fill-keys":
@@ -7750,7 +7851,12 @@ var requestStatus = z.union([z.object({
7750
7851
  kind: z.literal("failed"),
7751
7852
  message: z.string(),
7752
7853
  actions: z.array(z["enum"](["try-again", "discard", "re-run-build"])),
7753
- job: z.string()
7854
+ job: z.string(),
7855
+ movedTo: z.object({
7856
+ proposal: z.string(),
7857
+ displayName: z.string(),
7858
+ changes: z.number()
7859
+ }).optional()
7754
7860
  }), z.object({
7755
7861
  kind: z.literal("cancelled")
7756
7862
  }), z.object({
@@ -8269,6 +8375,126 @@ var PatchSets = /*#__PURE__*/function () {
8269
8375
  }]);
8270
8376
  }();
8271
8377
 
8378
+ /**
8379
+ * Patch sets that share a change become one: a change is never split.
8380
+ *
8381
+ * Shared by the two places that move changes between branches a whole set at
8382
+ * a time -- the merge moving the site's conflicting pending changes
8383
+ * (`changesToMove` in `@valbuild/server`) and Publish selected
8384
+ * ({@link selectionClosure}) -- so that they agree on what "a whole set" is.
8385
+ */
8386
+ function joinSharedChanges(sets) {
8387
+ var groups = [];
8388
+ var _iterator = _createForOfIteratorHelper(sets),
8389
+ _step;
8390
+ try {
8391
+ var _loop = function _loop() {
8392
+ var set = _step.value;
8393
+ var joined = new Set(set);
8394
+ var _iterator2 = _createForOfIteratorHelper(groups.filter(function (g) {
8395
+ return set.some(function (id) {
8396
+ return g.has(id);
8397
+ });
8398
+ })),
8399
+ _step2;
8400
+ try {
8401
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
8402
+ var group = _step2.value;
8403
+ var _iterator3 = _createForOfIteratorHelper(group),
8404
+ _step3;
8405
+ try {
8406
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
8407
+ var id = _step3.value;
8408
+ joined.add(id);
8409
+ }
8410
+ } catch (err) {
8411
+ _iterator3.e(err);
8412
+ } finally {
8413
+ _iterator3.f();
8414
+ }
8415
+ groups.splice(groups.indexOf(group), 1);
8416
+ }
8417
+ } catch (err) {
8418
+ _iterator2.e(err);
8419
+ } finally {
8420
+ _iterator2.f();
8421
+ }
8422
+ groups.push(joined);
8423
+ };
8424
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
8425
+ _loop();
8426
+ }
8427
+ } catch (err) {
8428
+ _iterator.e(err);
8429
+ } finally {
8430
+ _iterator.f();
8431
+ }
8432
+ return groups;
8433
+ }
8434
+
8435
+ /**
8436
+ * What publishing `selected` publishes: every change in every patch set a
8437
+ * selected change is in, sets that share a change joined
8438
+ * (valbuild/val `docs/plans/remove-patch-groups.md`, Phase 4, rule 2).
8439
+ *
8440
+ * A patch set is changes that do not apply without each other, so a selection
8441
+ * of part of one cannot be published on its own. What it pulls in is someone
8442
+ * else's as often as not; the caller says whose, before anything moves.
8443
+ *
8444
+ * In the order of `patchIds` -- the chain's -- with nothing that is not in it.
8445
+ */
8446
+ function selectionClosure(patchSets, selected, patchIds) {
8447
+ var wanted = new Set(selected);
8448
+ var closed = new Set();
8449
+ var _iterator4 = _createForOfIteratorHelper(joinSharedChanges(patchSets.map(function (set) {
8450
+ return set.patches.map(function (patch) {
8451
+ return patch.patchId;
8452
+ });
8453
+ }))),
8454
+ _step4;
8455
+ try {
8456
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
8457
+ var group = _step4.value;
8458
+ if (_toConsumableArray(group).some(function (id) {
8459
+ return wanted.has(id);
8460
+ })) {
8461
+ var _iterator6 = _createForOfIteratorHelper(group),
8462
+ _step6;
8463
+ try {
8464
+ for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
8465
+ var id = _step6.value;
8466
+ closed.add(id);
8467
+ }
8468
+ } catch (err) {
8469
+ _iterator6.e(err);
8470
+ } finally {
8471
+ _iterator6.f();
8472
+ }
8473
+ }
8474
+ }
8475
+ // A selected change no patch set knows of is its own set.
8476
+ } catch (err) {
8477
+ _iterator4.e(err);
8478
+ } finally {
8479
+ _iterator4.f();
8480
+ }
8481
+ var _iterator5 = _createForOfIteratorHelper(wanted),
8482
+ _step5;
8483
+ try {
8484
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
8485
+ var _id = _step5.value;
8486
+ closed.add(_id);
8487
+ }
8488
+ } catch (err) {
8489
+ _iterator5.e(err);
8490
+ } finally {
8491
+ _iterator5.f();
8492
+ }
8493
+ return patchIds.filter(function (id) {
8494
+ return closed.has(id);
8495
+ });
8496
+ }
8497
+
8272
8498
  /**
8273
8499
  * Update from the site, for a proposal with code (valbuild/home
8274
8500
  * `docs/hosted-publishing.md` step 8.2, slice 1b): what content hands over,
@@ -8344,4 +8570,4 @@ function schemaErrorsOf(schema, moduleFilePath, source) {
8344
8570
  return errors;
8345
8571
  }
8346
8572
 
8347
- export { AA_LARGE, AA_TEXT, Api, BRAND_CONTRAST_PAIRS, BinaryFileRef, CodeOptions, ColorOptions, DEFAULT_ERROR_MESSAGE, DateOptions, ENCODE_DEFAULTS, ENCODE_MIME_TYPE_OF, FileOptions, HistoricalCommit, HistoricalModule, HistoricalPatchSet, HistoryError, ImageEncodeOption, ImageOptions, JSONValue, JSON_ENTRIES_BATCH_MAX, ModuleComparison, NEVER_ENCODED, ParentRef$1 as ParentRef, Patch, PatchBlock, PatchId, PatchJSON, PatchSets, PlanRefusalError, PublishProtocolError, RAMP_STEPS, RemirrorBr, RemirrorBulletList, RemirrorHeading, RemirrorImage, RemirrorJSON, RemirrorLinkMark, RemirrorListItem, RemirrorOrderedList, RemirrorParagraph, RemirrorText, RemirrorTextMark, RestoreVerdict, RichTextOptions, SCHEMA_SOURCE_FIXES, SerializedArraySchema, SerializedBooleanSchema, SerializedCodeSchema, SerializedColorSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedDiscriminatedUnionSchema, SerializedEnumSchema, SerializedFileSchema, SerializedImageSchema, SerializedKeyOfSchema, SerializedLiteralSchema, SerializedLocaleSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedRecordSchema, SerializedRichTextSchema, SerializedRouteSchema, SerializedSchema, SerializedSettingsSchema, SerializedStringSchema, SerializedValViewSchema, SerializedVideoSchema, SharedValConfig, VAL_ENABLE_COOKIE_NAME, VAL_GREEN_RAMP, VAL_SESSION_COOKIE, VAL_STATE_COOKIE, VAL_STUDIO_HEADER, ValCommit, ValDeployment, VideoOptions, VideoStreamOption, accentRamp, buildDuplicatePatch, buildEmptyAtPathPatch, buildFileRefValue, buildImageGalleryPatch, buildRemoveImageGalleryEntryPatch, buildSearchIndex, chainHeadOf, checkCompatibility, chooseEncoded, concatModulePath, contrastRatio, createRegExpFromPattern, createSearchIndex, createValClient, declaredLocales, describeContainerAtPath, emptyOf, explainIncompatible, filterBlockingValidationErrors, filterRoutesByPatterns, findSimilar, fitWithin, flattenRichText, forEachRichTextImage, getErrorMessageFromUnknownJson, getFilenameFromRef, getInlineImgInfo, getKeyOfRecordAt, getRefParts, getRoutesOf, getRoutesWithModulePaths, getSourceAt, indexModule, isInsidePatchSetPath, isMimeTypeAccepted, isRemoteSchema, isSchemaSourceFixError, isSkippedSource, keyOfRecordPath, levenshtein, localeAt, memoizePerRequest, newestCommitSha, parseArtifacts, parseBuildTarget, parseCancel, parseDeclare, parseDiscard, parseJob, parseNewestCiRun, parsePress, parseProblems, parseProjectSource, parsePromote, parsePublishToken, parseRenew, parseRequestStatus, parseStatus, parseUpdateTarget, parseVerify, partitionValidationErrors, performSearch, relativeLuminance, remirrorToRichTextSource, removeModule, resolveEncodeSettings, resolvePairGround, resolveSchemaSourceFixForError, resolveSchemaSourceFixes, resolveSerializedSchemaAtPath, richTextImageSchema, richTextToRemirror, safeParsePatch, schemaErrorsOf, schemaTypesOfPath, sideFiles, sideSource, sourcePathOfChild, themeCustomProperties, toolNames, traverseSchemaSource, urlOf, validateRoutePatterns, withExtension };
8573
+ export { AA_LARGE, AA_TEXT, Api, BRAND_CONTRAST_PAIRS, BinaryFileRef, CodeOptions, ColorOptions, DEFAULT_ERROR_MESSAGE, DateOptions, ENCODE_DEFAULTS, ENCODE_MIME_TYPE_OF, FileOptions, HistoricalCommit, HistoricalModule, HistoricalPatchSet, HistoryError, ImageEncodeOption, ImageOptions, JSONValue, JSON_ENTRIES_BATCH_MAX, ModuleComparison, NEVER_ENCODED, ParentRef$1 as ParentRef, Patch, PatchBlock, PatchId, PatchJSON, PatchSets, PlanRefusalError, PublishProtocolError, RAMP_STEPS, RemirrorBr, RemirrorBulletList, RemirrorHeading, RemirrorImage, RemirrorJSON, RemirrorLinkMark, RemirrorListItem, RemirrorOrderedList, RemirrorParagraph, RemirrorText, RemirrorTextMark, RestoreVerdict, RichTextOptions, SCHEMA_SOURCE_FIXES, SerializedArraySchema, SerializedBooleanSchema, SerializedCodeSchema, SerializedColorSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedDiscriminatedUnionSchema, SerializedEnumSchema, SerializedFileSchema, SerializedImageSchema, SerializedKeyOfSchema, SerializedLiteralSchema, SerializedLocaleSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedRecordSchema, SerializedRichTextSchema, SerializedRouteSchema, SerializedSchema, SerializedSettingsSchema, SerializedStringSchema, SerializedValViewSchema, SerializedVideoSchema, SharedValConfig, VAL_ENABLE_COOKIE_NAME, VAL_GREEN_RAMP, VAL_SESSION_COOKIE, VAL_STATE_COOKIE, VAL_STUDIO_HEADER, ValCommit, ValDeployment, VideoOptions, VideoStreamOption, accentRamp, buildDuplicatePatch, buildEmptyAtPathPatch, buildFileRefValue, buildImageGalleryPatch, buildRemoveImageGalleryEntryPatch, buildSearchIndex, chainHeadOf, checkCompatibility, chooseEncoded, concatModulePath, contrastRatio, createRegExpFromPattern, createSearchIndex, createValClient, declaredLocales, describeContainerAtPath, emptyOf, explainIncompatible, filterBlockingValidationErrors, filterRoutesByPatterns, findSimilar, fitWithin, flattenRichText, forEachRichTextImage, getErrorMessageFromUnknownJson, getFilenameFromRef, getInlineImgInfo, getKeyOfRecordAt, getRefParts, getRoutesOf, getRoutesWithModulePaths, getSourceAt, indexModule, isInsidePatchSetPath, isMimeTypeAccepted, isRemoteSchema, isSchemaSourceFixError, isSkippedSource, joinSharedChanges, keyOfRecordPath, levenshtein, localeAt, memoizePerRequest, newestCommitSha, parseArtifacts, parseBuildTarget, parseCancel, parseDeclare, parseDiscard, parseJob, parseNewestCiRun, parsePress, parseProblems, parseProjectSource, parsePromote, parsePublishToken, parseRenew, parseRequestStatus, parseStatus, parseUpdateTarget, parseVerify, partitionValidationErrors, performSearch, relativeLuminance, remirrorToRichTextSource, removeModule, resolveEncodeSettings, resolvePairGround, resolveSchemaSourceFixForError, resolveSchemaSourceFixes, resolveSerializedSchemaAtPath, richTextImageSchema, richTextToRemirror, safeParsePatch, schemaErrorsOf, schemaTypesOfPath, selectionClosure, sideFiles, sideSource, sourcePathOfChild, themeCustomProperties, toolNames, traverseSchemaSource, urlOf, validateRoutePatterns, withExtension };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/shared",
3
- "version": "0.146.0",
3
+ "version": "0.146.4",
4
4
  "private": false,
5
5
  "description": "Val shared types and utilities",
6
6
  "repository": {
@@ -37,7 +37,7 @@
37
37
  "flexsearch": "^0.8.212",
38
38
  "zod": "^4.4.3",
39
39
  "zod-validation-error": "^5.0.0",
40
- "@valbuild/core": "0.145.0"
40
+ "@valbuild/core": "0.146.2"
41
41
  },
42
42
  "files": [
43
43
  "CHANGELOG.md",