@uniformdev/cli 20.57.2-alpha.25 → 20.59.1-alpha.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.
@@ -1,4 +1,4 @@
1
- import { C as CLIConfiguration, E as EntityTypes } from './index-B-KaB0aa.mjs';
1
+ import { C as CLIConfiguration, E as EntityTypes } from './index-BurxbjCD.mjs';
2
2
 
3
3
  type UniformConfigAllOptions = {
4
4
  /**
@@ -6,38 +6,12 @@ type StateArgs = {
6
6
  type SyncMode = 'mirror' | 'createOrUpdate' | 'create';
7
7
  type EntityTypes = 'aggregate' | 'asset' | 'category' | 'workflow' | 'webhook' | 'component' | 'composition' | 'contentType' | 'dataType' | 'enrichment' | 'entry' | 'entryPattern' | 'label' | 'locale' | 'componentPattern' | 'compositionPattern' | 'policyDocument' | 'projectMapDefinition' | 'projectMapNode' | 'previewUrl' | 'previewViewport' | 'prompt' | 'quirk' | 'redirect' | 'signal' | 'test';
8
8
  type SyncFileFormat = 'yaml' | 'json';
9
- type EntityConfigurationBase = {
9
+ type EntityConfiguration = {
10
10
  mode?: SyncMode;
11
11
  directory?: string;
12
12
  format?: SyncFileFormat;
13
13
  disabled?: true;
14
14
  };
15
- type EntityFilterCriteriaConfig = {
16
- type: 'ids';
17
- match: string[];
18
- } | {
19
- type: 'nameContains';
20
- match: string;
21
- };
22
- type EntityFilterInclude = {
23
- /** If set, only entities matching the criteria will be synced. Cannot be combined with `exclude`. */
24
- include: {
25
- filters: EntityFilterCriteriaConfig;
26
- };
27
- exclude?: never;
28
- };
29
- type EntityFilterExclude = {
30
- include?: never;
31
- /** If set, entities matching the criteria will be excluded from sync. Cannot be combined with `include`. */
32
- exclude: {
33
- filters: EntityFilterCriteriaConfig;
34
- };
35
- };
36
- type EntityFilterNone = {
37
- include?: never;
38
- exclude?: never;
39
- };
40
- type EntityConfiguration = EntityConfigurationBase & (EntityFilterInclude | EntityFilterExclude | EntityFilterNone);
41
15
  type EntityWithStateConfiguration = EntityConfiguration & Partial<StateArgs>;
42
16
  type PublishableEntitiesConfiguration = EntityWithStateConfiguration & {
43
17
  publish?: boolean;
package/dist/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- export { C as CLIConfiguration } from './index-B-KaB0aa.mjs';
2
+ export { C as CLIConfiguration } from './index-BurxbjCD.mjs';
package/dist/index.mjs CHANGED
@@ -558,152 +558,6 @@ async function createArraySyncEngineDataSource({
558
558
  };
559
559
  }
560
560
 
561
- // src/sync/entityFilter.ts
562
- function resolveEntityFilter(entityConfig, operation) {
563
- if (entityConfig) {
564
- validateEntityConfig(entityConfig, operation);
565
- }
566
- const directional = entityConfig?.[operation];
567
- const resolvedInclude = directional?.include ?? entityConfig?.include;
568
- const resolvedExclude = directional?.exclude ?? entityConfig?.exclude;
569
- const includeFilters = resolvedInclude?.filters;
570
- const excludeFilters = resolvedExclude?.filters;
571
- const hasInclude = hasCriteria(includeFilters);
572
- const hasExclude = hasCriteria(excludeFilters);
573
- if (hasInclude && hasExclude) {
574
- const includeSource = directional?.include ? `${operation}.include` : "include";
575
- const excludeSource = directional?.exclude ? `${operation}.exclude` : "exclude";
576
- throw new Error(
577
- `Entity filter for '${operation}' resolved both ${includeSource} and ${excludeSource}. Use one or the other. If a top-level filter conflicts with a per-direction filter, set the unwanted direction to { filters: { type: 'ids', match: [] } } to clear it.`
578
- );
579
- }
580
- return createEntityFilter(includeFilters, excludeFilters);
581
- }
582
- function createEntityFilter(include, exclude) {
583
- const normalizedInclude = normalizeCriteria(include);
584
- const normalizedExclude = normalizeCriteria(exclude);
585
- const hasInclude = hasCriteria(normalizedInclude);
586
- const hasExclude = hasCriteria(normalizedExclude);
587
- if (hasInclude && hasExclude) {
588
- throw new Error("Entity filter cannot have both `include` and `exclude` defined. Use one or the other.");
589
- }
590
- if (!hasInclude && !hasExclude) {
591
- return void 0;
592
- }
593
- if (hasInclude) {
594
- return buildMatcher(normalizedInclude, true);
595
- }
596
- return buildMatcher(normalizedExclude, false);
597
- }
598
- function normalizeCriteria(criteria) {
599
- if (Array.isArray(criteria)) {
600
- return criteria.length > 0 ? { type: "ids", match: criteria } : void 0;
601
- }
602
- return criteria;
603
- }
604
- var VALID_FILTER_TYPES = ["ids", "nameContains"];
605
- var VALID_FILTER_FIELDS = ["include", "exclude"];
606
- var VALID_FILTER_BLOCK_KEYS = ["filters"];
607
- function validateEntityConfig(entityConfig, operation) {
608
- for (const field of VALID_FILTER_FIELDS) {
609
- validateFilterBlock(entityConfig[field], field);
610
- }
611
- const directional = entityConfig[operation];
612
- if (directional && typeof directional === "object") {
613
- for (const field of VALID_FILTER_FIELDS) {
614
- validateFilterBlock(directional[field], `${operation}.${field}`);
615
- }
616
- }
617
- }
618
- function validateFilterBlock(value, label) {
619
- if (value === void 0 || value === null) {
620
- return;
621
- }
622
- if (typeof value === "string") {
623
- throw new Error(
624
- `"${label}" must be an object like { filters: { type: 'nameContains', match: '${value}' } }, not a plain string.`
625
- );
626
- }
627
- if (Array.isArray(value)) {
628
- throw new Error(
629
- `"${label}" must be an object like { filters: { type: 'ids', match: [...] } }, not a plain array.`
630
- );
631
- }
632
- if (typeof value !== "object") {
633
- throw new Error(`"${label}" must be an object with a "filters" field, but got ${typeof value}.`);
634
- }
635
- const block = value;
636
- if ("type" in block && "match" in block) {
637
- throw new Error(
638
- `"${label}" has "type" and "match" at the top level. Wrap them in a "filters" key: { filters: { type: '${block.type}', match: ... } }.`
639
- );
640
- }
641
- const validBlockKeysLabel = VALID_FILTER_BLOCK_KEYS.join(", ");
642
- for (const key of Object.keys(block)) {
643
- if (!VALID_FILTER_BLOCK_KEYS.includes(key)) {
644
- throw new Error(`Unknown key "${key}" in ${label}. Valid keys are: ${validBlockKeysLabel}.`);
645
- }
646
- }
647
- if (block.filters !== void 0) {
648
- validateFilterCriteria(block.filters, `${label}.filters`);
649
- }
650
- }
651
- function validateFilterCriteria(value, label) {
652
- if (value === void 0 || value === null) {
653
- return;
654
- }
655
- if (typeof value !== "object" || Array.isArray(value)) {
656
- throw new Error(
657
- `${label} must be an object like { type: 'ids', match: [...] }, but got ${typeof value}.`
658
- );
659
- }
660
- const criteria = value;
661
- if (!criteria.type) {
662
- throw new Error(
663
- `${label} is missing required "type" field. Expected one of: ${VALID_FILTER_TYPES.join(", ")}.`
664
- );
665
- }
666
- if (!VALID_FILTER_TYPES.includes(criteria.type)) {
667
- throw new Error(
668
- `${label} has unknown type "${criteria.type}". Expected one of: ${VALID_FILTER_TYPES.join(", ")}.`
669
- );
670
- }
671
- if (criteria.type === "ids" && !Array.isArray(criteria.match)) {
672
- throw new Error(
673
- `${label} with type "ids" requires "match" to be a string array, but got ${typeof criteria.match}.`
674
- );
675
- }
676
- if (criteria.type === "nameContains" && typeof criteria.match !== "string") {
677
- throw new Error(
678
- `${label} with type "nameContains" requires "match" to be a string, but got ${typeof criteria.match}.`
679
- );
680
- }
681
- }
682
- function hasCriteria(criteria) {
683
- if (!criteria) {
684
- return false;
685
- }
686
- if (criteria.type === "ids") {
687
- return criteria.match.length > 0;
688
- }
689
- return criteria.match.length > 0;
690
- }
691
- function buildMatcher(criteria, isInclude) {
692
- if (criteria.type === "ids") {
693
- const idSet = new Set(criteria.match);
694
- return (obj) => {
695
- const ids = Array.isArray(obj.id) ? obj.id : [obj.id];
696
- const matches = ids.some((id) => idSet.has(id));
697
- return isInclude ? matches : !matches;
698
- };
699
- }
700
- const needle = criteria.match.toLowerCase();
701
- return (obj) => {
702
- const matches = (obj.displayName ?? "").toLowerCase().includes(needle);
703
- return isInclude ? matches : !matches;
704
- };
705
- }
706
-
707
561
  // src/sync/fileSyncEngineDataSource.ts
708
562
  import { red } from "colorette";
709
563
  import { existsSync as existsSync2, mkdirSync as mkdirSync2 } from "fs";
@@ -802,13 +656,9 @@ async function createFileSyncEngineDataSource({
802
656
  const fullFilename = join(directory, filename);
803
657
  try {
804
658
  const contents = readFileToObject(fullFilename);
805
- const id = selectIdentifier18(contents);
806
- if (id === void 0 || id === null || id === "" || Array.isArray(id) && (id.length === 0 || id.every((s) => !s))) {
807
- throw new Error(`File does not contain a valid identifier.`);
808
- }
809
659
  const displayName = selectDisplayName18(contents);
810
660
  const object4 = {
811
- id,
661
+ id: selectIdentifier18(contents),
812
662
  displayName: Array.isArray(displayName) ? displayName[0] : displayName,
813
663
  providerId: fullFilename,
814
664
  object: omit(contents, ["$schema"])
@@ -935,14 +785,12 @@ async function syncEngine({
935
785
  onBeforeProcessObject,
936
786
  onBeforeCompareObjects,
937
787
  onBeforeWriteObject,
938
- onError,
939
- objectFilter
788
+ onError
940
789
  //verbose = false,
941
790
  }) {
942
791
  const status = new ReactiveStatusUpdate((status2) => syncEngineEvents.emit("statusUpdate", status2));
943
792
  const targetItems = /* @__PURE__ */ new Map();
944
793
  const deleteTracker = /* @__PURE__ */ new Set();
945
- const getFirstId = (id) => Array.isArray(id) ? id[0] : id;
946
794
  const processDelete = async (object4) => {
947
795
  if (deleteTracker.has(object4)) return;
948
796
  deleteTracker.add(object4);
@@ -960,7 +808,7 @@ async function syncEngine({
960
808
  } finally {
961
809
  log2({
962
810
  action: "delete",
963
- id: getFirstId(object4.id),
811
+ id: object4.id[0],
964
812
  providerId: object4.providerId,
965
813
  displayName: object4.displayName ?? object4.providerId,
966
814
  whatIf,
@@ -969,9 +817,6 @@ async function syncEngine({
969
817
  }
970
818
  };
971
819
  for await (const obj of target.objects) {
972
- if (objectFilter && !objectFilter(obj)) {
973
- continue;
974
- }
975
820
  status.fetched++;
976
821
  if (Array.isArray(obj.id)) {
977
822
  obj.id.forEach((o) => targetItems.set(o, obj));
@@ -981,12 +826,7 @@ async function syncEngine({
981
826
  }
982
827
  const actions = [];
983
828
  let sourceHasItems = false;
984
- let totalSourceItems = 0;
985
829
  for await (let sourceObject of source.objects) {
986
- totalSourceItems++;
987
- if (objectFilter && !objectFilter(sourceObject)) {
988
- continue;
989
- }
990
830
  sourceHasItems = true;
991
831
  if (onBeforeProcessObject) {
992
832
  await onBeforeProcessObject(sourceObject);
@@ -1071,11 +911,6 @@ async function syncEngine({
1071
911
  }
1072
912
  }
1073
913
  }
1074
- if (objectFilter && totalSourceItems > 0 && !sourceHasItems) {
1075
- console.warn(
1076
- `Warning: objectFilter is active but matched 0 of ${totalSourceItems} source entities from '${source.name}'. Check your include/exclude filter configuration.`
1077
- );
1078
- }
1079
914
  status.changeCount += targetItems.size;
1080
915
  status.compared += targetItems.size;
1081
916
  if (mode === "mirror") {
@@ -1272,7 +1107,7 @@ import { PostHog } from "posthog-node";
1272
1107
  // package.json
1273
1108
  var package_default = {
1274
1109
  name: "@uniformdev/cli",
1275
- version: "20.57.1",
1110
+ version: "20.59.0",
1276
1111
  description: "Uniform command line interface tool",
1277
1112
  license: "SEE LICENSE IN LICENSE.txt",
1278
1113
  main: "./cli.js",
@@ -3052,8 +2887,7 @@ var AssetPullModule = {
3052
2887
  whatIf,
3053
2888
  project: projectId,
3054
2889
  diff: diffMode,
3055
- allowEmptySource,
3056
- objectFilter
2890
+ allowEmptySource
3057
2891
  }) => {
3058
2892
  const fetch2 = nodeFetchProxy(proxy, verbose);
3059
2893
  const client = getAssetClient({
@@ -3104,7 +2938,6 @@ var AssetPullModule = {
3104
2938
  mode,
3105
2939
  whatIf,
3106
2940
  allowEmptySource: allowEmptySource ?? true,
3107
- objectFilter,
3108
2941
  log: createSyncEngineConsoleLogger({ diffMode }),
3109
2942
  onBeforeCompareObjects: async (sourceObject) => {
3110
2943
  delete sourceObject.object.asset._author;
@@ -3164,7 +2997,6 @@ var AssetPushModule = {
3164
2997
  project: projectId,
3165
2998
  diff: diffMode,
3166
2999
  allowEmptySource,
3167
- objectFilter,
3168
3000
  verbose
3169
3001
  }) => {
3170
3002
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3200,7 +3032,6 @@ var AssetPushModule = {
3200
3032
  mode,
3201
3033
  whatIf,
3202
3034
  allowEmptySource,
3203
- objectFilter,
3204
3035
  log: createSyncEngineConsoleLogger({ diffMode }),
3205
3036
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
3206
3037
  if (targetObject) {
@@ -3452,7 +3283,6 @@ var CategoryPullModule = {
3452
3283
  project: projectId,
3453
3284
  diff: diffMode,
3454
3285
  allowEmptySource,
3455
- objectFilter,
3456
3286
  verbose
3457
3287
  }) => {
3458
3288
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3487,7 +3317,6 @@ var CategoryPullModule = {
3487
3317
  mode,
3488
3318
  whatIf,
3489
3319
  allowEmptySource: allowEmptySource ?? true,
3490
- objectFilter,
3491
3320
  log: createSyncEngineConsoleLogger({ diffMode })
3492
3321
  });
3493
3322
  }
@@ -3527,7 +3356,6 @@ var CategoryPushModule = {
3527
3356
  project: projectId,
3528
3357
  diff: diffMode,
3529
3358
  allowEmptySource,
3530
- objectFilter,
3531
3359
  verbose
3532
3360
  }) => {
3533
3361
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3557,7 +3385,6 @@ var CategoryPushModule = {
3557
3385
  mode,
3558
3386
  whatIf,
3559
3387
  allowEmptySource,
3560
- objectFilter,
3561
3388
  log: createSyncEngineConsoleLogger({ diffMode })
3562
3389
  });
3563
3390
  }
@@ -3791,7 +3618,6 @@ var ComponentPullModule = {
3791
3618
  project: projectId,
3792
3619
  diff: diffMode,
3793
3620
  allowEmptySource,
3794
- objectFilter,
3795
3621
  verbose
3796
3622
  }) => {
3797
3623
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3827,7 +3653,6 @@ var ComponentPullModule = {
3827
3653
  mode,
3828
3654
  whatIf,
3829
3655
  allowEmptySource: allowEmptySource ?? true,
3830
- objectFilter,
3831
3656
  log: createSyncEngineConsoleLogger({ diffMode })
3832
3657
  });
3833
3658
  }
@@ -3867,7 +3692,6 @@ var ComponentPushModule = {
3867
3692
  project: projectId,
3868
3693
  diff: diffMode,
3869
3694
  allowEmptySource,
3870
- objectFilter,
3871
3695
  verbose
3872
3696
  }) => {
3873
3697
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3898,7 +3722,6 @@ var ComponentPushModule = {
3898
3722
  mode,
3899
3723
  whatIf,
3900
3724
  allowEmptySource,
3901
- objectFilter,
3902
3725
  log: createSyncEngineConsoleLogger({ diffMode })
3903
3726
  });
3904
3727
  }
@@ -4443,8 +4266,7 @@ var CompositionPublishModule = {
4443
4266
  onlyPatterns,
4444
4267
  patternType,
4445
4268
  verbose,
4446
- directory,
4447
- objectFilter
4269
+ directory
4448
4270
  }) => {
4449
4271
  if (!all && !ids || all && ids) {
4450
4272
  console.error(`Specify --all or composition ID(s) to publish.`);
@@ -4479,7 +4301,6 @@ var CompositionPublishModule = {
4479
4301
  mode: "createOrUpdate",
4480
4302
  whatIf,
4481
4303
  verbose,
4482
- objectFilter,
4483
4304
  log: createPublishStatusSyncEngineConsoleLogger({ status: "publish" }),
4484
4305
  onBeforeCompareObjects: async (sourceObject) => {
4485
4306
  return replaceLocalUrlsWithRemoteReferences({
@@ -4600,7 +4421,6 @@ function componentInstancePullModuleFactory(type) {
4600
4421
  project: projectId,
4601
4422
  diff: diffMode,
4602
4423
  allowEmptySource,
4603
- objectFilter,
4604
4424
  verbose
4605
4425
  }) => {
4606
4426
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -4643,7 +4463,6 @@ function componentInstancePullModuleFactory(type) {
4643
4463
  mode,
4644
4464
  whatIf,
4645
4465
  allowEmptySource: allowEmptySource ?? true,
4646
- objectFilter,
4647
4466
  log: createSyncEngineConsoleLogger({ diffMode }),
4648
4467
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
4649
4468
  return replaceRemoteUrlsWithLocalReferences({
@@ -4796,7 +4615,6 @@ function componentInstancePushModuleFactory(type) {
4796
4615
  patternType,
4797
4616
  diff: diffMode,
4798
4617
  allowEmptySource,
4799
- objectFilter,
4800
4618
  verbose
4801
4619
  }) => {
4802
4620
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -4842,7 +4660,6 @@ function componentInstancePushModuleFactory(type) {
4842
4660
  whatIf,
4843
4661
  verbose,
4844
4662
  allowEmptySource,
4845
- objectFilter,
4846
4663
  log: createSyncEngineConsoleLogger({ diffMode }),
4847
4664
  onBeforeProcessObject: async (sourceObject) => {
4848
4665
  await localeValidationHook({
@@ -5577,7 +5394,6 @@ var ContentTypePullModule = {
5577
5394
  project: projectId,
5578
5395
  diff: diffMode,
5579
5396
  allowEmptySource,
5580
- objectFilter,
5581
5397
  verbose
5582
5398
  }) => {
5583
5399
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -5617,7 +5433,6 @@ var ContentTypePullModule = {
5617
5433
  mode,
5618
5434
  whatIf,
5619
5435
  allowEmptySource: allowEmptySource ?? true,
5620
- objectFilter,
5621
5436
  log: createSyncEngineConsoleLogger({ diffMode })
5622
5437
  });
5623
5438
  }
@@ -5662,7 +5477,6 @@ var ContentTypePushModule = {
5662
5477
  project: projectId,
5663
5478
  diff: diffMode,
5664
5479
  allowEmptySource,
5665
- objectFilter,
5666
5480
  verbose
5667
5481
  }) => {
5668
5482
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -5697,7 +5511,6 @@ var ContentTypePushModule = {
5697
5511
  mode,
5698
5512
  whatIf,
5699
5513
  allowEmptySource,
5700
- objectFilter,
5701
5514
  log: createSyncEngineConsoleLogger({ diffMode })
5702
5515
  });
5703
5516
  }
@@ -5994,7 +5807,6 @@ var DataTypePullModule = {
5994
5807
  project: projectId,
5995
5808
  diff: diffMode,
5996
5809
  allowEmptySource,
5997
- objectFilter,
5998
5810
  verbose
5999
5811
  }) => {
6000
5812
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6034,7 +5846,6 @@ var DataTypePullModule = {
6034
5846
  mode,
6035
5847
  whatIf,
6036
5848
  allowEmptySource: allowEmptySource ?? true,
6037
- objectFilter,
6038
5849
  log: createSyncEngineConsoleLogger({ diffMode })
6039
5850
  });
6040
5851
  }
@@ -6074,7 +5885,6 @@ var DataTypePushModule = {
6074
5885
  project: projectId,
6075
5886
  diff: diffMode,
6076
5887
  allowEmptySource,
6077
- objectFilter,
6078
5888
  verbose
6079
5889
  }) => {
6080
5890
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6109,7 +5919,6 @@ var DataTypePushModule = {
6109
5919
  mode,
6110
5920
  whatIf,
6111
5921
  allowEmptySource,
6112
- objectFilter,
6113
5922
  log: createSyncEngineConsoleLogger({ diffMode })
6114
5923
  });
6115
5924
  }
@@ -6446,8 +6255,7 @@ var EntryPublishModule = {
6446
6255
  project: projectId,
6447
6256
  whatIf,
6448
6257
  verbose,
6449
- directory,
6450
- objectFilter
6258
+ directory
6451
6259
  }) => {
6452
6260
  if (!all && !ids || all && ids) {
6453
6261
  console.error(`Specify --all or entry ID(s) to publish.`);
@@ -6475,7 +6283,6 @@ var EntryPublishModule = {
6475
6283
  // Publishing is one-direction operation, so no need to support automatic un-publishing
6476
6284
  mode: "createOrUpdate",
6477
6285
  whatIf,
6478
- objectFilter,
6479
6286
  log: createPublishStatusSyncEngineConsoleLogger({ status: "publish" }),
6480
6287
  onBeforeCompareObjects: async (sourceObject) => {
6481
6288
  return replaceLocalUrlsWithRemoteReferences({
@@ -6539,7 +6346,6 @@ var EntryPullModule = {
6539
6346
  project: projectId,
6540
6347
  diff: diffMode,
6541
6348
  allowEmptySource,
6542
- objectFilter,
6543
6349
  verbose
6544
6350
  }) => {
6545
6351
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6580,7 +6386,6 @@ var EntryPullModule = {
6580
6386
  mode,
6581
6387
  whatIf,
6582
6388
  allowEmptySource: allowEmptySource ?? true,
6583
- objectFilter,
6584
6389
  log: createSyncEngineConsoleLogger({ diffMode }),
6585
6390
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
6586
6391
  return replaceRemoteUrlsWithLocalReferences({
@@ -6640,7 +6445,6 @@ var EntryPushModule = {
6640
6445
  project: projectId,
6641
6446
  diff: diffMode,
6642
6447
  allowEmptySource,
6643
- objectFilter,
6644
6448
  verbose
6645
6449
  }) => {
6646
6450
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6683,7 +6487,6 @@ var EntryPushModule = {
6683
6487
  mode,
6684
6488
  whatIf,
6685
6489
  allowEmptySource,
6686
- objectFilter,
6687
6490
  log: createSyncEngineConsoleLogger({ diffMode }),
6688
6491
  onBeforeProcessObject: async (sourceObject) => {
6689
6492
  await localeValidationHook({
@@ -7041,8 +6844,7 @@ var EntryPatternPublishModule = {
7041
6844
  whatIf,
7042
6845
  project: projectId,
7043
6846
  verbose,
7044
- directory,
7045
- objectFilter
6847
+ directory
7046
6848
  }) => {
7047
6849
  if (!all && !ids || all && ids) {
7048
6850
  console.error(`Specify --all or entry pattern ID(s) to publish.`);
@@ -7070,7 +6872,6 @@ var EntryPatternPublishModule = {
7070
6872
  // Publishing is one-direction operation, so no need to support automatic un-publishing
7071
6873
  mode: "createOrUpdate",
7072
6874
  whatIf,
7073
- objectFilter,
7074
6875
  log: createPublishStatusSyncEngineConsoleLogger({ status: "publish" }),
7075
6876
  onBeforeCompareObjects: async (sourceObject) => {
7076
6877
  return replaceLocalUrlsWithRemoteReferences({
@@ -7134,7 +6935,6 @@ var EntryPatternPullModule = {
7134
6935
  project: projectId,
7135
6936
  diff: diffMode,
7136
6937
  allowEmptySource,
7137
- objectFilter,
7138
6938
  verbose
7139
6939
  }) => {
7140
6940
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7175,7 +6975,6 @@ var EntryPatternPullModule = {
7175
6975
  mode,
7176
6976
  whatIf,
7177
6977
  allowEmptySource: allowEmptySource ?? true,
7178
- objectFilter,
7179
6978
  log: createSyncEngineConsoleLogger({ diffMode }),
7180
6979
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
7181
6980
  return replaceRemoteUrlsWithLocalReferences({
@@ -7240,7 +7039,6 @@ var EntryPatternPushModule = {
7240
7039
  project: projectId,
7241
7040
  diff: diffMode,
7242
7041
  allowEmptySource,
7243
- objectFilter,
7244
7042
  verbose
7245
7043
  }) => {
7246
7044
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7283,7 +7081,6 @@ var EntryPatternPushModule = {
7283
7081
  mode,
7284
7082
  whatIf,
7285
7083
  allowEmptySource,
7286
- objectFilter,
7287
7084
  log: createSyncEngineConsoleLogger({ diffMode }),
7288
7085
  onBeforeProcessObject: async (sourceObject) => {
7289
7086
  await localeValidationHook({
@@ -7764,7 +7561,6 @@ var LocalePullModule = {
7764
7561
  project: projectId,
7765
7562
  diff: diffMode,
7766
7563
  allowEmptySource,
7767
- objectFilter,
7768
7564
  verbose
7769
7565
  }) => {
7770
7566
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7804,7 +7600,6 @@ var LocalePullModule = {
7804
7600
  mode,
7805
7601
  whatIf,
7806
7602
  allowEmptySource: allowEmptySource ?? true,
7807
- objectFilter,
7808
7603
  log: createSyncEngineConsoleLogger({ diffMode })
7809
7604
  });
7810
7605
  }
@@ -7844,7 +7639,6 @@ var LocalePushModule = {
7844
7639
  project: projectId,
7845
7640
  diff: diffMode,
7846
7641
  allowEmptySource,
7847
- objectFilter,
7848
7642
  verbose
7849
7643
  }) => {
7850
7644
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7879,7 +7673,6 @@ var LocalePushModule = {
7879
7673
  mode,
7880
7674
  whatIf,
7881
7675
  allowEmptySource,
7882
- objectFilter,
7883
7676
  log: createSyncEngineConsoleLogger({ diffMode })
7884
7677
  });
7885
7678
  }
@@ -8019,7 +7812,6 @@ var PreviewUrlPullModule = {
8019
7812
  project: projectId,
8020
7813
  diff: diffMode,
8021
7814
  allowEmptySource,
8022
- objectFilter,
8023
7815
  verbose
8024
7816
  }) => {
8025
7817
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8054,7 +7846,6 @@ var PreviewUrlPullModule = {
8054
7846
  mode,
8055
7847
  whatIf,
8056
7848
  allowEmptySource: allowEmptySource ?? true,
8057
- objectFilter,
8058
7849
  log: createSyncEngineConsoleLogger({ diffMode })
8059
7850
  });
8060
7851
  }
@@ -8094,7 +7885,6 @@ var PreviewUrlPushModule = {
8094
7885
  project: projectId,
8095
7886
  diff: diffMode,
8096
7887
  allowEmptySource,
8097
- objectFilter,
8098
7888
  verbose
8099
7889
  }) => {
8100
7890
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8124,7 +7914,6 @@ var PreviewUrlPushModule = {
8124
7914
  mode,
8125
7915
  whatIf,
8126
7916
  allowEmptySource,
8127
- objectFilter,
8128
7917
  log: createSyncEngineConsoleLogger({ diffMode })
8129
7918
  });
8130
7919
  }
@@ -8312,7 +8101,6 @@ var PreviewViewportPullModule = {
8312
8101
  project: projectId,
8313
8102
  diff: diffMode,
8314
8103
  allowEmptySource,
8315
- objectFilter,
8316
8104
  verbose
8317
8105
  }) => {
8318
8106
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8347,7 +8135,6 @@ var PreviewViewportPullModule = {
8347
8135
  mode,
8348
8136
  whatIf,
8349
8137
  allowEmptySource: allowEmptySource ?? true,
8350
- objectFilter,
8351
8138
  log: createSyncEngineConsoleLogger({ diffMode })
8352
8139
  });
8353
8140
  }
@@ -8387,7 +8174,6 @@ var PreviewViewportPushModule = {
8387
8174
  project: projectId,
8388
8175
  diff: diffMode,
8389
8176
  allowEmptySource,
8390
- objectFilter,
8391
8177
  verbose
8392
8178
  }) => {
8393
8179
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8417,7 +8203,6 @@ var PreviewViewportPushModule = {
8417
8203
  mode,
8418
8204
  whatIf,
8419
8205
  allowEmptySource,
8420
- objectFilter,
8421
8206
  log: createSyncEngineConsoleLogger({ diffMode })
8422
8207
  });
8423
8208
  }
@@ -8604,7 +8389,6 @@ var PromptPullModule = {
8604
8389
  project: projectId,
8605
8390
  diff: diffMode,
8606
8391
  allowEmptySource,
8607
- objectFilter,
8608
8392
  verbose
8609
8393
  }) => {
8610
8394
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8644,7 +8428,6 @@ var PromptPullModule = {
8644
8428
  mode,
8645
8429
  whatIf,
8646
8430
  allowEmptySource: allowEmptySource ?? true,
8647
- objectFilter,
8648
8431
  log: createSyncEngineConsoleLogger({ diffMode })
8649
8432
  });
8650
8433
  }
@@ -8684,7 +8467,6 @@ var PromptPushModule = {
8684
8467
  project: projectId,
8685
8468
  diff: diffMode,
8686
8469
  allowEmptySource,
8687
- objectFilter,
8688
8470
  verbose
8689
8471
  }) => {
8690
8472
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8719,7 +8501,6 @@ var PromptPushModule = {
8719
8501
  mode,
8720
8502
  whatIf,
8721
8503
  allowEmptySource,
8722
- objectFilter,
8723
8504
  log: createSyncEngineConsoleLogger({ diffMode })
8724
8505
  });
8725
8506
  }
@@ -8866,7 +8647,6 @@ var WorkflowPullModule = {
8866
8647
  project: projectId,
8867
8648
  diff: diffMode,
8868
8649
  allowEmptySource,
8869
- objectFilter,
8870
8650
  verbose
8871
8651
  }) => {
8872
8652
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8901,7 +8681,6 @@ var WorkflowPullModule = {
8901
8681
  mode,
8902
8682
  whatIf,
8903
8683
  allowEmptySource: allowEmptySource ?? true,
8904
- objectFilter,
8905
8684
  log: createSyncEngineConsoleLogger({ diffMode })
8906
8685
  });
8907
8686
  }
@@ -8941,7 +8720,6 @@ var WorkflowPushModule = {
8941
8720
  project: projectId,
8942
8721
  diff: diffMode,
8943
8722
  allowEmptySource,
8944
- objectFilter,
8945
8723
  verbose
8946
8724
  }) => {
8947
8725
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8971,7 +8749,6 @@ var WorkflowPushModule = {
8971
8749
  mode,
8972
8750
  whatIf,
8973
8751
  allowEmptySource,
8974
- objectFilter,
8975
8752
  log: createSyncEngineConsoleLogger({ diffMode })
8976
8753
  });
8977
8754
  }
@@ -9142,7 +8919,6 @@ var AggregatePullModule = {
9142
8919
  project: projectId,
9143
8920
  diff: diffMode,
9144
8921
  allowEmptySource,
9145
- objectFilter,
9146
8922
  verbose
9147
8923
  }) => {
9148
8924
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9177,7 +8953,6 @@ var AggregatePullModule = {
9177
8953
  mode,
9178
8954
  whatIf,
9179
8955
  allowEmptySource,
9180
- objectFilter,
9181
8956
  log: createSyncEngineConsoleLogger({ diffMode })
9182
8957
  });
9183
8958
  }
@@ -9217,7 +8992,6 @@ var AggregatePushModule = {
9217
8992
  project: projectId,
9218
8993
  diff: diffMode,
9219
8994
  allowEmptySource,
9220
- objectFilter,
9221
8995
  verbose
9222
8996
  }) => {
9223
8997
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9247,7 +9021,6 @@ var AggregatePushModule = {
9247
9021
  mode,
9248
9022
  whatIf,
9249
9023
  allowEmptySource,
9250
- objectFilter,
9251
9024
  log: createSyncEngineConsoleLogger({ diffMode })
9252
9025
  });
9253
9026
  await target.complete();
@@ -9478,7 +9251,6 @@ var EnrichmentPullModule = {
9478
9251
  project: projectId,
9479
9252
  diff: diffMode,
9480
9253
  allowEmptySource,
9481
- objectFilter,
9482
9254
  verbose
9483
9255
  }) => {
9484
9256
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9513,7 +9285,6 @@ var EnrichmentPullModule = {
9513
9285
  mode,
9514
9286
  whatIf,
9515
9287
  allowEmptySource,
9516
- objectFilter,
9517
9288
  log: createSyncEngineConsoleLogger({ diffMode })
9518
9289
  });
9519
9290
  }
@@ -9551,7 +9322,6 @@ var EnrichmentPushModule = {
9551
9322
  project: projectId,
9552
9323
  diff: diffMode,
9553
9324
  allowEmptySource,
9554
- objectFilter,
9555
9325
  verbose
9556
9326
  }) => {
9557
9327
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9581,7 +9351,6 @@ var EnrichmentPushModule = {
9581
9351
  mode,
9582
9352
  whatIf,
9583
9353
  allowEmptySource,
9584
- objectFilter,
9585
9354
  log: createSyncEngineConsoleLogger({ diffMode })
9586
9355
  });
9587
9356
  }
@@ -9868,7 +9637,6 @@ var QuirkPullModule = {
9868
9637
  project: projectId,
9869
9638
  diff: diffMode,
9870
9639
  allowEmptySource,
9871
- objectFilter,
9872
9640
  verbose
9873
9641
  }) => {
9874
9642
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9903,7 +9671,6 @@ var QuirkPullModule = {
9903
9671
  mode,
9904
9672
  whatIf,
9905
9673
  allowEmptySource,
9906
- objectFilter,
9907
9674
  log: createSyncEngineConsoleLogger({ diffMode })
9908
9675
  });
9909
9676
  }
@@ -9944,7 +9711,6 @@ var QuirkPushModule = {
9944
9711
  project: projectId,
9945
9712
  diff: diffMode,
9946
9713
  allowEmptySource,
9947
- objectFilter,
9948
9714
  verbose
9949
9715
  }) => {
9950
9716
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9974,7 +9740,6 @@ var QuirkPushModule = {
9974
9740
  mode,
9975
9741
  whatIf,
9976
9742
  allowEmptySource,
9977
- objectFilter,
9978
9743
  log: createSyncEngineConsoleLogger({ diffMode })
9979
9744
  });
9980
9745
  }
@@ -10155,7 +9920,6 @@ var SignalPullModule = {
10155
9920
  project: projectId,
10156
9921
  diff: diffMode,
10157
9922
  allowEmptySource,
10158
- objectFilter,
10159
9923
  verbose
10160
9924
  }) => {
10161
9925
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10190,7 +9954,6 @@ var SignalPullModule = {
10190
9954
  mode,
10191
9955
  whatIf,
10192
9956
  allowEmptySource,
10193
- objectFilter,
10194
9957
  log: createSyncEngineConsoleLogger({ diffMode })
10195
9958
  });
10196
9959
  }
@@ -10231,7 +9994,6 @@ var SignalPushModule = {
10231
9994
  project: projectId,
10232
9995
  diff: diffMode,
10233
9996
  allowEmptySource,
10234
- objectFilter,
10235
9997
  verbose
10236
9998
  }) => {
10237
9999
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10261,7 +10023,6 @@ var SignalPushModule = {
10261
10023
  mode,
10262
10024
  whatIf,
10263
10025
  allowEmptySource,
10264
- objectFilter,
10265
10026
  log: createSyncEngineConsoleLogger({ diffMode })
10266
10027
  });
10267
10028
  }
@@ -10442,7 +10203,6 @@ var TestPullModule = {
10442
10203
  project: projectId,
10443
10204
  diff: diffMode,
10444
10205
  allowEmptySource,
10445
- objectFilter,
10446
10206
  verbose
10447
10207
  }) => {
10448
10208
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10477,7 +10237,6 @@ var TestPullModule = {
10477
10237
  mode,
10478
10238
  whatIf,
10479
10239
  allowEmptySource,
10480
- objectFilter,
10481
10240
  log: createSyncEngineConsoleLogger({ diffMode })
10482
10241
  });
10483
10242
  }
@@ -10518,7 +10277,6 @@ var TestPushModule = {
10518
10277
  project: projectId,
10519
10278
  diff: diffMode,
10520
10279
  allowEmptySource,
10521
- objectFilter,
10522
10280
  verbose
10523
10281
  }) => {
10524
10282
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10548,7 +10306,6 @@ var TestPushModule = {
10548
10306
  mode,
10549
10307
  whatIf,
10550
10308
  allowEmptySource,
10551
- objectFilter,
10552
10309
  log: createSyncEngineConsoleLogger({ diffMode })
10553
10310
  });
10554
10311
  }
@@ -11724,7 +11481,6 @@ var PolicyDocumentsPullModule = {
11724
11481
  project: projectId,
11725
11482
  diff: diffMode,
11726
11483
  allowEmptySource,
11727
- objectFilter,
11728
11484
  verbose
11729
11485
  }) => {
11730
11486
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -11742,7 +11498,6 @@ var PolicyDocumentsPullModule = {
11742
11498
  mode,
11743
11499
  whatIf,
11744
11500
  allowEmptySource: allowEmptySource ?? true,
11745
- objectFilter,
11746
11501
  log: createSyncEngineConsoleLogger({ diffMode })
11747
11502
  });
11748
11503
  }
@@ -11865,7 +11620,6 @@ var PolicyDocumentsPushModule = {
11865
11620
  project: projectId,
11866
11621
  diff: diffMode,
11867
11622
  allowEmptySource,
11868
- objectFilter,
11869
11623
  verbose
11870
11624
  }) => {
11871
11625
  if (!existsSync5(directory)) {
@@ -11895,7 +11649,6 @@ var PolicyDocumentsPushModule = {
11895
11649
  mode,
11896
11650
  whatIf,
11897
11651
  allowEmptySource: allowEmptySource ?? true,
11898
- objectFilter,
11899
11652
  log: createSyncEngineConsoleLogger({ diffMode })
11900
11653
  });
11901
11654
  if (!whatIf) {
@@ -12073,7 +11826,6 @@ var ProjectMapDefinitionPullModule = {
12073
11826
  project: projectId,
12074
11827
  diff: diffMode,
12075
11828
  allowEmptySource,
12076
- objectFilter,
12077
11829
  verbose
12078
11830
  }) => {
12079
11831
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12108,7 +11860,6 @@ var ProjectMapDefinitionPullModule = {
12108
11860
  mode,
12109
11861
  whatIf,
12110
11862
  allowEmptySource: allowEmptySource ?? true,
12111
- objectFilter,
12112
11863
  log: createSyncEngineConsoleLogger({ diffMode })
12113
11864
  });
12114
11865
  }
@@ -12148,7 +11899,6 @@ var ProjectMapDefinitionPushModule = {
12148
11899
  project: projectId,
12149
11900
  diff: diffMode,
12150
11901
  allowEmptySource,
12151
- objectFilter,
12152
11902
  verbose
12153
11903
  }) => {
12154
11904
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12178,7 +11928,6 @@ var ProjectMapDefinitionPushModule = {
12178
11928
  mode,
12179
11929
  whatIf,
12180
11930
  allowEmptySource,
12181
- objectFilter,
12182
11931
  log: createSyncEngineConsoleLogger({ diffMode })
12183
11932
  });
12184
11933
  }
@@ -12386,7 +12135,6 @@ var ProjectMapNodePullModule = {
12386
12135
  project: projectId,
12387
12136
  diff: diffMode,
12388
12137
  allowEmptySource,
12389
- objectFilter,
12390
12138
  verbose
12391
12139
  }) => {
12392
12140
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12425,7 +12173,6 @@ var ProjectMapNodePullModule = {
12425
12173
  mode,
12426
12174
  whatIf,
12427
12175
  allowEmptySource: allowEmptySource ?? true,
12428
- objectFilter,
12429
12176
  log: createSyncEngineConsoleLogger({ diffMode })
12430
12177
  });
12431
12178
  }
@@ -12468,7 +12215,6 @@ var ProjectMapNodePushModule = {
12468
12215
  project: projectId,
12469
12216
  diff: diffMode,
12470
12217
  allowEmptySource,
12471
- objectFilter,
12472
12218
  verbose
12473
12219
  }) => {
12474
12220
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12513,7 +12259,6 @@ var ProjectMapNodePushModule = {
12513
12259
  mode,
12514
12260
  whatIf,
12515
12261
  allowEmptySource,
12516
- objectFilter,
12517
12262
  log: createSyncEngineConsoleLogger({ diffMode }),
12518
12263
  onError: (error, object4) => {
12519
12264
  if (error.message.includes(__INTERNAL_MISSING_PARENT_NODE_ERROR)) {
@@ -12747,7 +12492,6 @@ var RedirectDefinitionPullModule = {
12747
12492
  project: projectId,
12748
12493
  diff: diffMode,
12749
12494
  allowEmptySource,
12750
- objectFilter,
12751
12495
  verbose
12752
12496
  }) => {
12753
12497
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12783,7 +12527,6 @@ var RedirectDefinitionPullModule = {
12783
12527
  mode,
12784
12528
  whatIf,
12785
12529
  allowEmptySource: allowEmptySource ?? true,
12786
- objectFilter,
12787
12530
  log: createSyncEngineConsoleLogger({ diffMode })
12788
12531
  });
12789
12532
  }
@@ -12823,7 +12566,6 @@ var RedirectDefinitionPushModule = {
12823
12566
  project: projectId,
12824
12567
  diff: diffMode,
12825
12568
  allowEmptySource,
12826
- objectFilter,
12827
12569
  verbose
12828
12570
  }) => {
12829
12571
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12853,7 +12595,6 @@ var RedirectDefinitionPushModule = {
12853
12595
  mode,
12854
12596
  whatIf,
12855
12597
  allowEmptySource,
12856
- objectFilter,
12857
12598
  log: createSyncEngineConsoleLogger({ diffMode })
12858
12599
  });
12859
12600
  }
@@ -13149,7 +12890,6 @@ var WebhookPullModule = {
13149
12890
  project: projectId,
13150
12891
  diff: diffMode,
13151
12892
  allowEmptySource,
13152
- objectFilter,
13153
12893
  verbose
13154
12894
  }) => {
13155
12895
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -13184,7 +12924,6 @@ var WebhookPullModule = {
13184
12924
  mode,
13185
12925
  whatIf,
13186
12926
  allowEmptySource: allowEmptySource ?? true,
13187
- objectFilter,
13188
12927
  log: createSyncEngineConsoleLogger({ diffMode }),
13189
12928
  compareContents: compareWebhooks
13190
12929
  });
@@ -13348,7 +13087,6 @@ var SyncPullModule = {
13348
13087
  return entityConfig2 !== void 0 && "state" in entityConfig2;
13349
13088
  };
13350
13089
  const entityConfig = config2.entitiesConfig?.[entityType];
13351
- const entityFilter = resolveEntityFilter(entityConfig, "pull");
13352
13090
  try {
13353
13091
  await spinPromise(
13354
13092
  module.handler({
@@ -13360,8 +13098,7 @@ var SyncPullModule = {
13360
13098
  patternType: entityType === "compositionPattern" ? "composition" : entityType === "componentPattern" ? "component" : void 0,
13361
13099
  mode: getPullMode(entityType, config2),
13362
13100
  directory: getPullFilename(entityType, config2),
13363
- allowEmptySource: config2.allowEmptySource,
13364
- objectFilter: entityFilter
13101
+ allowEmptySource: config2.allowEmptySource
13365
13102
  }),
13366
13103
  {
13367
13104
  text: `${entityType}\u2026`,
@@ -13437,7 +13174,6 @@ var WebhookPushModule = {
13437
13174
  project: projectId,
13438
13175
  diff: diffMode,
13439
13176
  allowEmptySource,
13440
- objectFilter,
13441
13177
  verbose
13442
13178
  }) => {
13443
13179
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -13467,7 +13203,6 @@ var WebhookPushModule = {
13467
13203
  mode,
13468
13204
  whatIf,
13469
13205
  allowEmptySource,
13470
- objectFilter,
13471
13206
  log: createSyncEngineConsoleLogger({ diffMode }),
13472
13207
  compareContents: compareWebhooks
13473
13208
  });
@@ -13517,8 +13252,6 @@ var SyncPushModule = {
13517
13252
  );
13518
13253
  }
13519
13254
  for (const [entityType, module] of enabledEntities) {
13520
- const entityConfig = config2.entitiesConfig?.[entityType];
13521
- const entityFilter = resolveEntityFilter(entityConfig, "push");
13522
13255
  try {
13523
13256
  await spinPromise(
13524
13257
  module.handler({
@@ -13530,8 +13263,7 @@ var SyncPushModule = {
13530
13263
  patternType: entityType === "compositionPattern" ? "composition" : entityType === "componentPattern" ? "component" : void 0,
13531
13264
  mode: getPushMode(entityType, config2),
13532
13265
  directory: getPushFilename(entityType, config2),
13533
- allowEmptySource: config2.allowEmptySource,
13534
- objectFilter: entityFilter
13266
+ allowEmptySource: config2.allowEmptySource
13535
13267
  }),
13536
13268
  {
13537
13269
  text: `${entityType}...`,
@@ -13548,7 +13280,6 @@ var SyncPushModule = {
13548
13280
  }
13549
13281
  }
13550
13282
  if (config2.entitiesConfig?.componentPattern && config2.entitiesConfig?.componentPattern?.push?.disabled !== true && config2.entitiesConfig?.componentPattern?.publish) {
13551
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.componentPattern, "push");
13552
13283
  try {
13553
13284
  await spinPromise(
13554
13285
  ComponentPatternPublishModule.handler({
@@ -13556,8 +13287,7 @@ var SyncPushModule = {
13556
13287
  patternType: "component",
13557
13288
  onlyPatterns: true,
13558
13289
  all: true,
13559
- directory: getPushFilename("componentPattern", config2),
13560
- objectFilter: publishFilter
13290
+ directory: getPushFilename("componentPattern", config2)
13561
13291
  }),
13562
13292
  {
13563
13293
  text: "publishing component patterns...",
@@ -13574,7 +13304,6 @@ var SyncPushModule = {
13574
13304
  }
13575
13305
  }
13576
13306
  if (config2.entitiesConfig?.compositionPattern && config2.entitiesConfig?.compositionPattern?.push?.disabled !== true && config2.entitiesConfig?.compositionPattern?.publish) {
13577
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.compositionPattern, "push");
13578
13307
  try {
13579
13308
  await spinPromise(
13580
13309
  CompositionPatternPublishModule.handler({
@@ -13582,8 +13311,7 @@ var SyncPushModule = {
13582
13311
  all: true,
13583
13312
  onlyPatterns: true,
13584
13313
  patternType: "composition",
13585
- directory: getPushFilename("compositionPattern", config2),
13586
- objectFilter: publishFilter
13314
+ directory: getPushFilename("compositionPattern", config2)
13587
13315
  }),
13588
13316
  {
13589
13317
  text: "publishing composition patterns...",
@@ -13600,15 +13328,13 @@ var SyncPushModule = {
13600
13328
  }
13601
13329
  }
13602
13330
  if (config2.entitiesConfig?.composition && config2.entitiesConfig?.composition?.push?.disabled !== true && config2.entitiesConfig?.composition?.publish) {
13603
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.composition, "push");
13604
13331
  try {
13605
13332
  await spinPromise(
13606
13333
  CompositionPublishModule.handler({
13607
13334
  ...otherParams,
13608
13335
  all: true,
13609
13336
  onlyCompositions: true,
13610
- directory: getPushFilename("composition", config2),
13611
- objectFilter: publishFilter
13337
+ directory: getPushFilename("composition", config2)
13612
13338
  }),
13613
13339
  {
13614
13340
  text: "publishing compositions...",
@@ -13625,14 +13351,12 @@ var SyncPushModule = {
13625
13351
  }
13626
13352
  }
13627
13353
  if (config2.entitiesConfig?.entry && config2.entitiesConfig?.entry?.push?.disabled !== true && config2.entitiesConfig?.entry?.publish) {
13628
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.entry, "push");
13629
13354
  try {
13630
13355
  await spinPromise(
13631
13356
  EntryPublishModule.handler({
13632
13357
  ...otherParams,
13633
13358
  all: true,
13634
- directory: getPushFilename("entry", config2),
13635
- objectFilter: publishFilter
13359
+ directory: getPushFilename("entry", config2)
13636
13360
  }),
13637
13361
  {
13638
13362
  text: "publishing entries...",
@@ -13649,14 +13373,12 @@ var SyncPushModule = {
13649
13373
  }
13650
13374
  }
13651
13375
  if (config2.entitiesConfig?.entryPattern && config2.entitiesConfig?.entryPattern?.push?.disabled !== true && config2.entitiesConfig?.entryPattern?.publish) {
13652
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.entryPattern, "push");
13653
13376
  try {
13654
13377
  await spinPromise(
13655
13378
  EntryPatternPublishModule.handler({
13656
13379
  ...otherParams,
13657
13380
  all: true,
13658
- directory: getPushFilename("entryPattern", config2),
13659
- objectFilter: publishFilter
13381
+ directory: getPushFilename("entryPattern", config2)
13660
13382
  }),
13661
13383
  {
13662
13384
  text: "publishing entry patterns...",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "20.57.2-alpha.25+6cfe36b730",
3
+ "version": "20.59.1-alpha.1+7025e4ce05",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -28,13 +28,13 @@
28
28
  "dependencies": {
29
29
  "@inquirer/prompts": "^7.10.1",
30
30
  "@thi.ng/mime": "^2.2.23",
31
- "@uniformdev/assets": "20.57.2-alpha.25+6cfe36b730",
32
- "@uniformdev/canvas": "20.57.2-alpha.25+6cfe36b730",
33
- "@uniformdev/context": "20.57.2-alpha.25+6cfe36b730",
34
- "@uniformdev/files": "20.57.2-alpha.25+6cfe36b730",
35
- "@uniformdev/project-map": "20.57.2-alpha.25+6cfe36b730",
36
- "@uniformdev/redirect": "20.57.2-alpha.25+6cfe36b730",
37
- "@uniformdev/richtext": "20.57.2-alpha.25+6cfe36b730",
31
+ "@uniformdev/assets": "20.59.1-alpha.1+7025e4ce05",
32
+ "@uniformdev/canvas": "20.59.1-alpha.1+7025e4ce05",
33
+ "@uniformdev/context": "20.59.1-alpha.1+7025e4ce05",
34
+ "@uniformdev/files": "20.59.1-alpha.1+7025e4ce05",
35
+ "@uniformdev/project-map": "20.59.1-alpha.1+7025e4ce05",
36
+ "@uniformdev/redirect": "20.59.1-alpha.1+7025e4ce05",
37
+ "@uniformdev/richtext": "20.59.1-alpha.1+7025e4ce05",
38
38
  "call-bind": "^1.0.2",
39
39
  "colorette": "2.0.20",
40
40
  "cosmiconfig": "9.0.0",
@@ -81,5 +81,5 @@
81
81
  "publishConfig": {
82
82
  "access": "public"
83
83
  },
84
- "gitHead": "6cfe36b730e744edc041607347cc10e7a8b1b5ff"
84
+ "gitHead": "7025e4ce052f67d73c0ee93cbf56104262cf190d"
85
85
  }