@uniformdev/cli 20.57.2-alpha.22 → 20.58.0

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-Cs_pXOjF.mjs';
1
+ import { C as CLIConfiguration, E as EntityTypes } from './index-BurxbjCD.mjs';
2
2
 
3
3
  type UniformConfigAllOptions = {
4
4
  /**
@@ -6,33 +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 EntityFilterInclude = {
16
- /** If set, only entities matching the criteria will be synced. Cannot be combined with `exclude`. */
17
- include: {
18
- ids?: string[];
19
- namePattern?: string;
20
- };
21
- exclude?: never;
22
- };
23
- type EntityFilterExclude = {
24
- include?: never;
25
- /** If set, entities matching the criteria will be excluded from sync. Cannot be combined with `include`. */
26
- exclude: {
27
- ids?: string[];
28
- namePattern?: string;
29
- };
30
- };
31
- type EntityFilterNone = {
32
- include?: never;
33
- exclude?: never;
34
- };
35
- type EntityConfiguration = EntityConfigurationBase & (EntityFilterInclude | EntityFilterExclude | EntityFilterNone);
36
15
  type EntityWithStateConfiguration = EntityConfiguration & Partial<StateArgs>;
37
16
  type PublishableEntitiesConfiguration = EntityWithStateConfiguration & {
38
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-Cs_pXOjF.mjs';
2
+ export { C as CLIConfiguration } from './index-BurxbjCD.mjs';
package/dist/index.mjs CHANGED
@@ -558,71 +558,6 @@ async function createArraySyncEngineDataSource({
558
558
  };
559
559
  }
560
560
 
561
- // src/sync/entityFilter.ts
562
- function resolveEntityFilter(entityConfig, operation) {
563
- const directional = entityConfig?.[operation];
564
- const resolvedInclude = directional?.include ?? entityConfig?.include;
565
- const resolvedExclude = directional?.exclude ?? entityConfig?.exclude;
566
- const includeIds = resolvedInclude?.ids;
567
- const excludeIds = resolvedExclude?.ids;
568
- const includeNamePattern = resolvedInclude?.namePattern;
569
- const excludeNamePattern = resolvedExclude?.namePattern;
570
- const hasInclude = !!(includeIds?.length || includeNamePattern);
571
- const hasExclude = !!(excludeIds?.length || excludeNamePattern);
572
- if (hasInclude && hasExclude) {
573
- const includeSource = directional?.include ? `${operation}.include` : "include";
574
- const excludeSource = directional?.exclude ? `${operation}.exclude` : "exclude";
575
- throw new Error(
576
- `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 { ids: [] } to clear it.`
577
- );
578
- }
579
- return createEntityFilter(
580
- { ids: includeIds, namePattern: includeNamePattern },
581
- { ids: excludeIds, namePattern: excludeNamePattern }
582
- );
583
- }
584
- function createEntityFilter(include, exclude) {
585
- const includeIds = Array.isArray(include) ? include : include?.ids;
586
- const excludeIds = Array.isArray(exclude) ? exclude : exclude?.ids;
587
- const includeNamePattern = Array.isArray(include) ? void 0 : include?.namePattern;
588
- const excludeNamePattern = Array.isArray(exclude) ? void 0 : exclude?.namePattern;
589
- const hasInclude = !!(includeIds?.length || includeNamePattern);
590
- const hasExclude = !!(excludeIds?.length || excludeNamePattern);
591
- if (hasInclude && hasExclude) {
592
- throw new Error("Entity filter cannot have both `include` and `exclude` defined. Use one or the other.");
593
- }
594
- if (!hasInclude && !hasExclude) {
595
- return void 0;
596
- }
597
- const includeRegex = includeNamePattern ? safeRegex(includeNamePattern) : void 0;
598
- const excludeRegex = excludeNamePattern ? safeRegex(excludeNamePattern) : void 0;
599
- if (hasInclude) {
600
- const includeSet = includeIds?.length ? new Set(includeIds) : void 0;
601
- return (obj) => {
602
- const ids = Array.isArray(obj.id) ? obj.id : [obj.id];
603
- const matchesIds = includeSet ? ids.some((id) => includeSet.has(id)) : true;
604
- const matchesName = includeRegex ? includeRegex.test(obj.displayName ?? "") : true;
605
- return matchesIds && matchesName;
606
- };
607
- }
608
- const excludeSet = excludeIds?.length ? new Set(excludeIds) : void 0;
609
- return (obj) => {
610
- const ids = Array.isArray(obj.id) ? obj.id : [obj.id];
611
- const matchesIds = excludeSet ? ids.some((id) => excludeSet.has(id)) : false;
612
- const matchesName = excludeRegex ? excludeRegex.test(obj.displayName ?? "") : false;
613
- return !(matchesIds || matchesName);
614
- };
615
- }
616
- function safeRegex(pattern) {
617
- try {
618
- return new RegExp(pattern);
619
- } catch {
620
- throw new Error(
621
- `Invalid namePattern regex: "${pattern}". Provide a valid JavaScript regular expression.`
622
- );
623
- }
624
- }
625
-
626
561
  // src/sync/fileSyncEngineDataSource.ts
627
562
  import { red } from "colorette";
628
563
  import { existsSync as existsSync2, mkdirSync as mkdirSync2 } from "fs";
@@ -721,13 +656,9 @@ async function createFileSyncEngineDataSource({
721
656
  const fullFilename = join(directory, filename);
722
657
  try {
723
658
  const contents = readFileToObject(fullFilename);
724
- const id = selectIdentifier18(contents);
725
- if (id === void 0 || id === null || id === "" || Array.isArray(id) && (id.length === 0 || id.every((s) => !s))) {
726
- throw new Error(`File does not contain a valid identifier.`);
727
- }
728
659
  const displayName = selectDisplayName18(contents);
729
660
  const object4 = {
730
- id,
661
+ id: selectIdentifier18(contents),
731
662
  displayName: Array.isArray(displayName) ? displayName[0] : displayName,
732
663
  providerId: fullFilename,
733
664
  object: omit(contents, ["$schema"])
@@ -854,14 +785,12 @@ async function syncEngine({
854
785
  onBeforeProcessObject,
855
786
  onBeforeCompareObjects,
856
787
  onBeforeWriteObject,
857
- onError,
858
- objectFilter
788
+ onError
859
789
  //verbose = false,
860
790
  }) {
861
791
  const status = new ReactiveStatusUpdate((status2) => syncEngineEvents.emit("statusUpdate", status2));
862
792
  const targetItems = /* @__PURE__ */ new Map();
863
793
  const deleteTracker = /* @__PURE__ */ new Set();
864
- const getFirstId = (id) => Array.isArray(id) ? id[0] : id;
865
794
  const processDelete = async (object4) => {
866
795
  if (deleteTracker.has(object4)) return;
867
796
  deleteTracker.add(object4);
@@ -879,7 +808,7 @@ async function syncEngine({
879
808
  } finally {
880
809
  log2({
881
810
  action: "delete",
882
- id: getFirstId(object4.id),
811
+ id: object4.id[0],
883
812
  providerId: object4.providerId,
884
813
  displayName: object4.displayName ?? object4.providerId,
885
814
  whatIf,
@@ -888,9 +817,6 @@ async function syncEngine({
888
817
  }
889
818
  };
890
819
  for await (const obj of target.objects) {
891
- if (objectFilter && !objectFilter(obj)) {
892
- continue;
893
- }
894
820
  status.fetched++;
895
821
  if (Array.isArray(obj.id)) {
896
822
  obj.id.forEach((o) => targetItems.set(o, obj));
@@ -900,12 +826,7 @@ async function syncEngine({
900
826
  }
901
827
  const actions = [];
902
828
  let sourceHasItems = false;
903
- let totalSourceItems = 0;
904
829
  for await (let sourceObject of source.objects) {
905
- totalSourceItems++;
906
- if (objectFilter && !objectFilter(sourceObject)) {
907
- continue;
908
- }
909
830
  sourceHasItems = true;
910
831
  if (onBeforeProcessObject) {
911
832
  await onBeforeProcessObject(sourceObject);
@@ -990,11 +911,6 @@ async function syncEngine({
990
911
  }
991
912
  }
992
913
  }
993
- if (objectFilter && totalSourceItems > 0 && !sourceHasItems) {
994
- console.warn(
995
- `Warning: objectFilter is active but matched 0 of ${totalSourceItems} source entities from '${source.name}'. Check your include/exclude filter configuration.`
996
- );
997
- }
998
914
  status.changeCount += targetItems.size;
999
915
  status.compared += targetItems.size;
1000
916
  if (mode === "mirror") {
@@ -1191,7 +1107,7 @@ import { PostHog } from "posthog-node";
1191
1107
  // package.json
1192
1108
  var package_default = {
1193
1109
  name: "@uniformdev/cli",
1194
- version: "20.57.1",
1110
+ version: "20.58.0",
1195
1111
  description: "Uniform command line interface tool",
1196
1112
  license: "SEE LICENSE IN LICENSE.txt",
1197
1113
  main: "./cli.js",
@@ -2971,8 +2887,7 @@ var AssetPullModule = {
2971
2887
  whatIf,
2972
2888
  project: projectId,
2973
2889
  diff: diffMode,
2974
- allowEmptySource,
2975
- objectFilter
2890
+ allowEmptySource
2976
2891
  }) => {
2977
2892
  const fetch2 = nodeFetchProxy(proxy, verbose);
2978
2893
  const client = getAssetClient({
@@ -3023,7 +2938,6 @@ var AssetPullModule = {
3023
2938
  mode,
3024
2939
  whatIf,
3025
2940
  allowEmptySource: allowEmptySource ?? true,
3026
- objectFilter,
3027
2941
  log: createSyncEngineConsoleLogger({ diffMode }),
3028
2942
  onBeforeCompareObjects: async (sourceObject) => {
3029
2943
  delete sourceObject.object.asset._author;
@@ -3083,7 +2997,6 @@ var AssetPushModule = {
3083
2997
  project: projectId,
3084
2998
  diff: diffMode,
3085
2999
  allowEmptySource,
3086
- objectFilter,
3087
3000
  verbose
3088
3001
  }) => {
3089
3002
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3119,7 +3032,6 @@ var AssetPushModule = {
3119
3032
  mode,
3120
3033
  whatIf,
3121
3034
  allowEmptySource,
3122
- objectFilter,
3123
3035
  log: createSyncEngineConsoleLogger({ diffMode }),
3124
3036
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
3125
3037
  if (targetObject) {
@@ -3371,7 +3283,6 @@ var CategoryPullModule = {
3371
3283
  project: projectId,
3372
3284
  diff: diffMode,
3373
3285
  allowEmptySource,
3374
- objectFilter,
3375
3286
  verbose
3376
3287
  }) => {
3377
3288
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3406,7 +3317,6 @@ var CategoryPullModule = {
3406
3317
  mode,
3407
3318
  whatIf,
3408
3319
  allowEmptySource: allowEmptySource ?? true,
3409
- objectFilter,
3410
3320
  log: createSyncEngineConsoleLogger({ diffMode })
3411
3321
  });
3412
3322
  }
@@ -3446,7 +3356,6 @@ var CategoryPushModule = {
3446
3356
  project: projectId,
3447
3357
  diff: diffMode,
3448
3358
  allowEmptySource,
3449
- objectFilter,
3450
3359
  verbose
3451
3360
  }) => {
3452
3361
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3476,7 +3385,6 @@ var CategoryPushModule = {
3476
3385
  mode,
3477
3386
  whatIf,
3478
3387
  allowEmptySource,
3479
- objectFilter,
3480
3388
  log: createSyncEngineConsoleLogger({ diffMode })
3481
3389
  });
3482
3390
  }
@@ -3710,7 +3618,6 @@ var ComponentPullModule = {
3710
3618
  project: projectId,
3711
3619
  diff: diffMode,
3712
3620
  allowEmptySource,
3713
- objectFilter,
3714
3621
  verbose
3715
3622
  }) => {
3716
3623
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3746,7 +3653,6 @@ var ComponentPullModule = {
3746
3653
  mode,
3747
3654
  whatIf,
3748
3655
  allowEmptySource: allowEmptySource ?? true,
3749
- objectFilter,
3750
3656
  log: createSyncEngineConsoleLogger({ diffMode })
3751
3657
  });
3752
3658
  }
@@ -3786,7 +3692,6 @@ var ComponentPushModule = {
3786
3692
  project: projectId,
3787
3693
  diff: diffMode,
3788
3694
  allowEmptySource,
3789
- objectFilter,
3790
3695
  verbose
3791
3696
  }) => {
3792
3697
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3817,7 +3722,6 @@ var ComponentPushModule = {
3817
3722
  mode,
3818
3723
  whatIf,
3819
3724
  allowEmptySource,
3820
- objectFilter,
3821
3725
  log: createSyncEngineConsoleLogger({ diffMode })
3822
3726
  });
3823
3727
  }
@@ -4362,8 +4266,7 @@ var CompositionPublishModule = {
4362
4266
  onlyPatterns,
4363
4267
  patternType,
4364
4268
  verbose,
4365
- directory,
4366
- objectFilter
4269
+ directory
4367
4270
  }) => {
4368
4271
  if (!all && !ids || all && ids) {
4369
4272
  console.error(`Specify --all or composition ID(s) to publish.`);
@@ -4398,7 +4301,6 @@ var CompositionPublishModule = {
4398
4301
  mode: "createOrUpdate",
4399
4302
  whatIf,
4400
4303
  verbose,
4401
- objectFilter,
4402
4304
  log: createPublishStatusSyncEngineConsoleLogger({ status: "publish" }),
4403
4305
  onBeforeCompareObjects: async (sourceObject) => {
4404
4306
  return replaceLocalUrlsWithRemoteReferences({
@@ -4519,7 +4421,6 @@ function componentInstancePullModuleFactory(type) {
4519
4421
  project: projectId,
4520
4422
  diff: diffMode,
4521
4423
  allowEmptySource,
4522
- objectFilter,
4523
4424
  verbose
4524
4425
  }) => {
4525
4426
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -4562,7 +4463,6 @@ function componentInstancePullModuleFactory(type) {
4562
4463
  mode,
4563
4464
  whatIf,
4564
4465
  allowEmptySource: allowEmptySource ?? true,
4565
- objectFilter,
4566
4466
  log: createSyncEngineConsoleLogger({ diffMode }),
4567
4467
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
4568
4468
  return replaceRemoteUrlsWithLocalReferences({
@@ -4715,7 +4615,6 @@ function componentInstancePushModuleFactory(type) {
4715
4615
  patternType,
4716
4616
  diff: diffMode,
4717
4617
  allowEmptySource,
4718
- objectFilter,
4719
4618
  verbose
4720
4619
  }) => {
4721
4620
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -4761,7 +4660,6 @@ function componentInstancePushModuleFactory(type) {
4761
4660
  whatIf,
4762
4661
  verbose,
4763
4662
  allowEmptySource,
4764
- objectFilter,
4765
4663
  log: createSyncEngineConsoleLogger({ diffMode }),
4766
4664
  onBeforeProcessObject: async (sourceObject) => {
4767
4665
  await localeValidationHook({
@@ -5496,7 +5394,6 @@ var ContentTypePullModule = {
5496
5394
  project: projectId,
5497
5395
  diff: diffMode,
5498
5396
  allowEmptySource,
5499
- objectFilter,
5500
5397
  verbose
5501
5398
  }) => {
5502
5399
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -5536,7 +5433,6 @@ var ContentTypePullModule = {
5536
5433
  mode,
5537
5434
  whatIf,
5538
5435
  allowEmptySource: allowEmptySource ?? true,
5539
- objectFilter,
5540
5436
  log: createSyncEngineConsoleLogger({ diffMode })
5541
5437
  });
5542
5438
  }
@@ -5581,7 +5477,6 @@ var ContentTypePushModule = {
5581
5477
  project: projectId,
5582
5478
  diff: diffMode,
5583
5479
  allowEmptySource,
5584
- objectFilter,
5585
5480
  verbose
5586
5481
  }) => {
5587
5482
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -5616,7 +5511,6 @@ var ContentTypePushModule = {
5616
5511
  mode,
5617
5512
  whatIf,
5618
5513
  allowEmptySource,
5619
- objectFilter,
5620
5514
  log: createSyncEngineConsoleLogger({ diffMode })
5621
5515
  });
5622
5516
  }
@@ -5913,7 +5807,6 @@ var DataTypePullModule = {
5913
5807
  project: projectId,
5914
5808
  diff: diffMode,
5915
5809
  allowEmptySource,
5916
- objectFilter,
5917
5810
  verbose
5918
5811
  }) => {
5919
5812
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -5953,7 +5846,6 @@ var DataTypePullModule = {
5953
5846
  mode,
5954
5847
  whatIf,
5955
5848
  allowEmptySource: allowEmptySource ?? true,
5956
- objectFilter,
5957
5849
  log: createSyncEngineConsoleLogger({ diffMode })
5958
5850
  });
5959
5851
  }
@@ -5993,7 +5885,6 @@ var DataTypePushModule = {
5993
5885
  project: projectId,
5994
5886
  diff: diffMode,
5995
5887
  allowEmptySource,
5996
- objectFilter,
5997
5888
  verbose
5998
5889
  }) => {
5999
5890
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6028,7 +5919,6 @@ var DataTypePushModule = {
6028
5919
  mode,
6029
5920
  whatIf,
6030
5921
  allowEmptySource,
6031
- objectFilter,
6032
5922
  log: createSyncEngineConsoleLogger({ diffMode })
6033
5923
  });
6034
5924
  }
@@ -6365,8 +6255,7 @@ var EntryPublishModule = {
6365
6255
  project: projectId,
6366
6256
  whatIf,
6367
6257
  verbose,
6368
- directory,
6369
- objectFilter
6258
+ directory
6370
6259
  }) => {
6371
6260
  if (!all && !ids || all && ids) {
6372
6261
  console.error(`Specify --all or entry ID(s) to publish.`);
@@ -6394,7 +6283,6 @@ var EntryPublishModule = {
6394
6283
  // Publishing is one-direction operation, so no need to support automatic un-publishing
6395
6284
  mode: "createOrUpdate",
6396
6285
  whatIf,
6397
- objectFilter,
6398
6286
  log: createPublishStatusSyncEngineConsoleLogger({ status: "publish" }),
6399
6287
  onBeforeCompareObjects: async (sourceObject) => {
6400
6288
  return replaceLocalUrlsWithRemoteReferences({
@@ -6458,7 +6346,6 @@ var EntryPullModule = {
6458
6346
  project: projectId,
6459
6347
  diff: diffMode,
6460
6348
  allowEmptySource,
6461
- objectFilter,
6462
6349
  verbose
6463
6350
  }) => {
6464
6351
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6499,7 +6386,6 @@ var EntryPullModule = {
6499
6386
  mode,
6500
6387
  whatIf,
6501
6388
  allowEmptySource: allowEmptySource ?? true,
6502
- objectFilter,
6503
6389
  log: createSyncEngineConsoleLogger({ diffMode }),
6504
6390
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
6505
6391
  return replaceRemoteUrlsWithLocalReferences({
@@ -6559,7 +6445,6 @@ var EntryPushModule = {
6559
6445
  project: projectId,
6560
6446
  diff: diffMode,
6561
6447
  allowEmptySource,
6562
- objectFilter,
6563
6448
  verbose
6564
6449
  }) => {
6565
6450
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6602,7 +6487,6 @@ var EntryPushModule = {
6602
6487
  mode,
6603
6488
  whatIf,
6604
6489
  allowEmptySource,
6605
- objectFilter,
6606
6490
  log: createSyncEngineConsoleLogger({ diffMode }),
6607
6491
  onBeforeProcessObject: async (sourceObject) => {
6608
6492
  await localeValidationHook({
@@ -6960,8 +6844,7 @@ var EntryPatternPublishModule = {
6960
6844
  whatIf,
6961
6845
  project: projectId,
6962
6846
  verbose,
6963
- directory,
6964
- objectFilter
6847
+ directory
6965
6848
  }) => {
6966
6849
  if (!all && !ids || all && ids) {
6967
6850
  console.error(`Specify --all or entry pattern ID(s) to publish.`);
@@ -6989,7 +6872,6 @@ var EntryPatternPublishModule = {
6989
6872
  // Publishing is one-direction operation, so no need to support automatic un-publishing
6990
6873
  mode: "createOrUpdate",
6991
6874
  whatIf,
6992
- objectFilter,
6993
6875
  log: createPublishStatusSyncEngineConsoleLogger({ status: "publish" }),
6994
6876
  onBeforeCompareObjects: async (sourceObject) => {
6995
6877
  return replaceLocalUrlsWithRemoteReferences({
@@ -7053,7 +6935,6 @@ var EntryPatternPullModule = {
7053
6935
  project: projectId,
7054
6936
  diff: diffMode,
7055
6937
  allowEmptySource,
7056
- objectFilter,
7057
6938
  verbose
7058
6939
  }) => {
7059
6940
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7094,7 +6975,6 @@ var EntryPatternPullModule = {
7094
6975
  mode,
7095
6976
  whatIf,
7096
6977
  allowEmptySource: allowEmptySource ?? true,
7097
- objectFilter,
7098
6978
  log: createSyncEngineConsoleLogger({ diffMode }),
7099
6979
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
7100
6980
  return replaceRemoteUrlsWithLocalReferences({
@@ -7159,7 +7039,6 @@ var EntryPatternPushModule = {
7159
7039
  project: projectId,
7160
7040
  diff: diffMode,
7161
7041
  allowEmptySource,
7162
- objectFilter,
7163
7042
  verbose
7164
7043
  }) => {
7165
7044
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7202,7 +7081,6 @@ var EntryPatternPushModule = {
7202
7081
  mode,
7203
7082
  whatIf,
7204
7083
  allowEmptySource,
7205
- objectFilter,
7206
7084
  log: createSyncEngineConsoleLogger({ diffMode }),
7207
7085
  onBeforeProcessObject: async (sourceObject) => {
7208
7086
  await localeValidationHook({
@@ -7683,7 +7561,6 @@ var LocalePullModule = {
7683
7561
  project: projectId,
7684
7562
  diff: diffMode,
7685
7563
  allowEmptySource,
7686
- objectFilter,
7687
7564
  verbose
7688
7565
  }) => {
7689
7566
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7723,7 +7600,6 @@ var LocalePullModule = {
7723
7600
  mode,
7724
7601
  whatIf,
7725
7602
  allowEmptySource: allowEmptySource ?? true,
7726
- objectFilter,
7727
7603
  log: createSyncEngineConsoleLogger({ diffMode })
7728
7604
  });
7729
7605
  }
@@ -7763,7 +7639,6 @@ var LocalePushModule = {
7763
7639
  project: projectId,
7764
7640
  diff: diffMode,
7765
7641
  allowEmptySource,
7766
- objectFilter,
7767
7642
  verbose
7768
7643
  }) => {
7769
7644
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7798,7 +7673,6 @@ var LocalePushModule = {
7798
7673
  mode,
7799
7674
  whatIf,
7800
7675
  allowEmptySource,
7801
- objectFilter,
7802
7676
  log: createSyncEngineConsoleLogger({ diffMode })
7803
7677
  });
7804
7678
  }
@@ -7938,7 +7812,6 @@ var PreviewUrlPullModule = {
7938
7812
  project: projectId,
7939
7813
  diff: diffMode,
7940
7814
  allowEmptySource,
7941
- objectFilter,
7942
7815
  verbose
7943
7816
  }) => {
7944
7817
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7973,7 +7846,6 @@ var PreviewUrlPullModule = {
7973
7846
  mode,
7974
7847
  whatIf,
7975
7848
  allowEmptySource: allowEmptySource ?? true,
7976
- objectFilter,
7977
7849
  log: createSyncEngineConsoleLogger({ diffMode })
7978
7850
  });
7979
7851
  }
@@ -8013,7 +7885,6 @@ var PreviewUrlPushModule = {
8013
7885
  project: projectId,
8014
7886
  diff: diffMode,
8015
7887
  allowEmptySource,
8016
- objectFilter,
8017
7888
  verbose
8018
7889
  }) => {
8019
7890
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8043,7 +7914,6 @@ var PreviewUrlPushModule = {
8043
7914
  mode,
8044
7915
  whatIf,
8045
7916
  allowEmptySource,
8046
- objectFilter,
8047
7917
  log: createSyncEngineConsoleLogger({ diffMode })
8048
7918
  });
8049
7919
  }
@@ -8231,7 +8101,6 @@ var PreviewViewportPullModule = {
8231
8101
  project: projectId,
8232
8102
  diff: diffMode,
8233
8103
  allowEmptySource,
8234
- objectFilter,
8235
8104
  verbose
8236
8105
  }) => {
8237
8106
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8266,7 +8135,6 @@ var PreviewViewportPullModule = {
8266
8135
  mode,
8267
8136
  whatIf,
8268
8137
  allowEmptySource: allowEmptySource ?? true,
8269
- objectFilter,
8270
8138
  log: createSyncEngineConsoleLogger({ diffMode })
8271
8139
  });
8272
8140
  }
@@ -8306,7 +8174,6 @@ var PreviewViewportPushModule = {
8306
8174
  project: projectId,
8307
8175
  diff: diffMode,
8308
8176
  allowEmptySource,
8309
- objectFilter,
8310
8177
  verbose
8311
8178
  }) => {
8312
8179
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8336,7 +8203,6 @@ var PreviewViewportPushModule = {
8336
8203
  mode,
8337
8204
  whatIf,
8338
8205
  allowEmptySource,
8339
- objectFilter,
8340
8206
  log: createSyncEngineConsoleLogger({ diffMode })
8341
8207
  });
8342
8208
  }
@@ -8523,7 +8389,6 @@ var PromptPullModule = {
8523
8389
  project: projectId,
8524
8390
  diff: diffMode,
8525
8391
  allowEmptySource,
8526
- objectFilter,
8527
8392
  verbose
8528
8393
  }) => {
8529
8394
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8563,7 +8428,6 @@ var PromptPullModule = {
8563
8428
  mode,
8564
8429
  whatIf,
8565
8430
  allowEmptySource: allowEmptySource ?? true,
8566
- objectFilter,
8567
8431
  log: createSyncEngineConsoleLogger({ diffMode })
8568
8432
  });
8569
8433
  }
@@ -8603,7 +8467,6 @@ var PromptPushModule = {
8603
8467
  project: projectId,
8604
8468
  diff: diffMode,
8605
8469
  allowEmptySource,
8606
- objectFilter,
8607
8470
  verbose
8608
8471
  }) => {
8609
8472
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8638,7 +8501,6 @@ var PromptPushModule = {
8638
8501
  mode,
8639
8502
  whatIf,
8640
8503
  allowEmptySource,
8641
- objectFilter,
8642
8504
  log: createSyncEngineConsoleLogger({ diffMode })
8643
8505
  });
8644
8506
  }
@@ -8785,7 +8647,6 @@ var WorkflowPullModule = {
8785
8647
  project: projectId,
8786
8648
  diff: diffMode,
8787
8649
  allowEmptySource,
8788
- objectFilter,
8789
8650
  verbose
8790
8651
  }) => {
8791
8652
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8820,7 +8681,6 @@ var WorkflowPullModule = {
8820
8681
  mode,
8821
8682
  whatIf,
8822
8683
  allowEmptySource: allowEmptySource ?? true,
8823
- objectFilter,
8824
8684
  log: createSyncEngineConsoleLogger({ diffMode })
8825
8685
  });
8826
8686
  }
@@ -8860,7 +8720,6 @@ var WorkflowPushModule = {
8860
8720
  project: projectId,
8861
8721
  diff: diffMode,
8862
8722
  allowEmptySource,
8863
- objectFilter,
8864
8723
  verbose
8865
8724
  }) => {
8866
8725
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8890,7 +8749,6 @@ var WorkflowPushModule = {
8890
8749
  mode,
8891
8750
  whatIf,
8892
8751
  allowEmptySource,
8893
- objectFilter,
8894
8752
  log: createSyncEngineConsoleLogger({ diffMode })
8895
8753
  });
8896
8754
  }
@@ -9061,7 +8919,6 @@ var AggregatePullModule = {
9061
8919
  project: projectId,
9062
8920
  diff: diffMode,
9063
8921
  allowEmptySource,
9064
- objectFilter,
9065
8922
  verbose
9066
8923
  }) => {
9067
8924
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9096,7 +8953,6 @@ var AggregatePullModule = {
9096
8953
  mode,
9097
8954
  whatIf,
9098
8955
  allowEmptySource,
9099
- objectFilter,
9100
8956
  log: createSyncEngineConsoleLogger({ diffMode })
9101
8957
  });
9102
8958
  }
@@ -9136,7 +8992,6 @@ var AggregatePushModule = {
9136
8992
  project: projectId,
9137
8993
  diff: diffMode,
9138
8994
  allowEmptySource,
9139
- objectFilter,
9140
8995
  verbose
9141
8996
  }) => {
9142
8997
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9166,7 +9021,6 @@ var AggregatePushModule = {
9166
9021
  mode,
9167
9022
  whatIf,
9168
9023
  allowEmptySource,
9169
- objectFilter,
9170
9024
  log: createSyncEngineConsoleLogger({ diffMode })
9171
9025
  });
9172
9026
  await target.complete();
@@ -9397,7 +9251,6 @@ var EnrichmentPullModule = {
9397
9251
  project: projectId,
9398
9252
  diff: diffMode,
9399
9253
  allowEmptySource,
9400
- objectFilter,
9401
9254
  verbose
9402
9255
  }) => {
9403
9256
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9432,7 +9285,6 @@ var EnrichmentPullModule = {
9432
9285
  mode,
9433
9286
  whatIf,
9434
9287
  allowEmptySource,
9435
- objectFilter,
9436
9288
  log: createSyncEngineConsoleLogger({ diffMode })
9437
9289
  });
9438
9290
  }
@@ -9470,7 +9322,6 @@ var EnrichmentPushModule = {
9470
9322
  project: projectId,
9471
9323
  diff: diffMode,
9472
9324
  allowEmptySource,
9473
- objectFilter,
9474
9325
  verbose
9475
9326
  }) => {
9476
9327
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9500,7 +9351,6 @@ var EnrichmentPushModule = {
9500
9351
  mode,
9501
9352
  whatIf,
9502
9353
  allowEmptySource,
9503
- objectFilter,
9504
9354
  log: createSyncEngineConsoleLogger({ diffMode })
9505
9355
  });
9506
9356
  }
@@ -9787,7 +9637,6 @@ var QuirkPullModule = {
9787
9637
  project: projectId,
9788
9638
  diff: diffMode,
9789
9639
  allowEmptySource,
9790
- objectFilter,
9791
9640
  verbose
9792
9641
  }) => {
9793
9642
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9822,7 +9671,6 @@ var QuirkPullModule = {
9822
9671
  mode,
9823
9672
  whatIf,
9824
9673
  allowEmptySource,
9825
- objectFilter,
9826
9674
  log: createSyncEngineConsoleLogger({ diffMode })
9827
9675
  });
9828
9676
  }
@@ -9863,7 +9711,6 @@ var QuirkPushModule = {
9863
9711
  project: projectId,
9864
9712
  diff: diffMode,
9865
9713
  allowEmptySource,
9866
- objectFilter,
9867
9714
  verbose
9868
9715
  }) => {
9869
9716
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9893,7 +9740,6 @@ var QuirkPushModule = {
9893
9740
  mode,
9894
9741
  whatIf,
9895
9742
  allowEmptySource,
9896
- objectFilter,
9897
9743
  log: createSyncEngineConsoleLogger({ diffMode })
9898
9744
  });
9899
9745
  }
@@ -10074,7 +9920,6 @@ var SignalPullModule = {
10074
9920
  project: projectId,
10075
9921
  diff: diffMode,
10076
9922
  allowEmptySource,
10077
- objectFilter,
10078
9923
  verbose
10079
9924
  }) => {
10080
9925
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10109,7 +9954,6 @@ var SignalPullModule = {
10109
9954
  mode,
10110
9955
  whatIf,
10111
9956
  allowEmptySource,
10112
- objectFilter,
10113
9957
  log: createSyncEngineConsoleLogger({ diffMode })
10114
9958
  });
10115
9959
  }
@@ -10150,7 +9994,6 @@ var SignalPushModule = {
10150
9994
  project: projectId,
10151
9995
  diff: diffMode,
10152
9996
  allowEmptySource,
10153
- objectFilter,
10154
9997
  verbose
10155
9998
  }) => {
10156
9999
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10180,7 +10023,6 @@ var SignalPushModule = {
10180
10023
  mode,
10181
10024
  whatIf,
10182
10025
  allowEmptySource,
10183
- objectFilter,
10184
10026
  log: createSyncEngineConsoleLogger({ diffMode })
10185
10027
  });
10186
10028
  }
@@ -10361,7 +10203,6 @@ var TestPullModule = {
10361
10203
  project: projectId,
10362
10204
  diff: diffMode,
10363
10205
  allowEmptySource,
10364
- objectFilter,
10365
10206
  verbose
10366
10207
  }) => {
10367
10208
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10396,7 +10237,6 @@ var TestPullModule = {
10396
10237
  mode,
10397
10238
  whatIf,
10398
10239
  allowEmptySource,
10399
- objectFilter,
10400
10240
  log: createSyncEngineConsoleLogger({ diffMode })
10401
10241
  });
10402
10242
  }
@@ -10437,7 +10277,6 @@ var TestPushModule = {
10437
10277
  project: projectId,
10438
10278
  diff: diffMode,
10439
10279
  allowEmptySource,
10440
- objectFilter,
10441
10280
  verbose
10442
10281
  }) => {
10443
10282
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10467,7 +10306,6 @@ var TestPushModule = {
10467
10306
  mode,
10468
10307
  whatIf,
10469
10308
  allowEmptySource,
10470
- objectFilter,
10471
10309
  log: createSyncEngineConsoleLogger({ diffMode })
10472
10310
  });
10473
10311
  }
@@ -11643,7 +11481,6 @@ var PolicyDocumentsPullModule = {
11643
11481
  project: projectId,
11644
11482
  diff: diffMode,
11645
11483
  allowEmptySource,
11646
- objectFilter,
11647
11484
  verbose
11648
11485
  }) => {
11649
11486
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -11661,7 +11498,6 @@ var PolicyDocumentsPullModule = {
11661
11498
  mode,
11662
11499
  whatIf,
11663
11500
  allowEmptySource: allowEmptySource ?? true,
11664
- objectFilter,
11665
11501
  log: createSyncEngineConsoleLogger({ diffMode })
11666
11502
  });
11667
11503
  }
@@ -11784,7 +11620,6 @@ var PolicyDocumentsPushModule = {
11784
11620
  project: projectId,
11785
11621
  diff: diffMode,
11786
11622
  allowEmptySource,
11787
- objectFilter,
11788
11623
  verbose
11789
11624
  }) => {
11790
11625
  if (!existsSync5(directory)) {
@@ -11814,7 +11649,6 @@ var PolicyDocumentsPushModule = {
11814
11649
  mode,
11815
11650
  whatIf,
11816
11651
  allowEmptySource: allowEmptySource ?? true,
11817
- objectFilter,
11818
11652
  log: createSyncEngineConsoleLogger({ diffMode })
11819
11653
  });
11820
11654
  if (!whatIf) {
@@ -11992,7 +11826,6 @@ var ProjectMapDefinitionPullModule = {
11992
11826
  project: projectId,
11993
11827
  diff: diffMode,
11994
11828
  allowEmptySource,
11995
- objectFilter,
11996
11829
  verbose
11997
11830
  }) => {
11998
11831
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12027,7 +11860,6 @@ var ProjectMapDefinitionPullModule = {
12027
11860
  mode,
12028
11861
  whatIf,
12029
11862
  allowEmptySource: allowEmptySource ?? true,
12030
- objectFilter,
12031
11863
  log: createSyncEngineConsoleLogger({ diffMode })
12032
11864
  });
12033
11865
  }
@@ -12067,7 +11899,6 @@ var ProjectMapDefinitionPushModule = {
12067
11899
  project: projectId,
12068
11900
  diff: diffMode,
12069
11901
  allowEmptySource,
12070
- objectFilter,
12071
11902
  verbose
12072
11903
  }) => {
12073
11904
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12097,7 +11928,6 @@ var ProjectMapDefinitionPushModule = {
12097
11928
  mode,
12098
11929
  whatIf,
12099
11930
  allowEmptySource,
12100
- objectFilter,
12101
11931
  log: createSyncEngineConsoleLogger({ diffMode })
12102
11932
  });
12103
11933
  }
@@ -12305,7 +12135,6 @@ var ProjectMapNodePullModule = {
12305
12135
  project: projectId,
12306
12136
  diff: diffMode,
12307
12137
  allowEmptySource,
12308
- objectFilter,
12309
12138
  verbose
12310
12139
  }) => {
12311
12140
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12344,7 +12173,6 @@ var ProjectMapNodePullModule = {
12344
12173
  mode,
12345
12174
  whatIf,
12346
12175
  allowEmptySource: allowEmptySource ?? true,
12347
- objectFilter,
12348
12176
  log: createSyncEngineConsoleLogger({ diffMode })
12349
12177
  });
12350
12178
  }
@@ -12387,7 +12215,6 @@ var ProjectMapNodePushModule = {
12387
12215
  project: projectId,
12388
12216
  diff: diffMode,
12389
12217
  allowEmptySource,
12390
- objectFilter,
12391
12218
  verbose
12392
12219
  }) => {
12393
12220
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12432,7 +12259,6 @@ var ProjectMapNodePushModule = {
12432
12259
  mode,
12433
12260
  whatIf,
12434
12261
  allowEmptySource,
12435
- objectFilter,
12436
12262
  log: createSyncEngineConsoleLogger({ diffMode }),
12437
12263
  onError: (error, object4) => {
12438
12264
  if (error.message.includes(__INTERNAL_MISSING_PARENT_NODE_ERROR)) {
@@ -12666,7 +12492,6 @@ var RedirectDefinitionPullModule = {
12666
12492
  project: projectId,
12667
12493
  diff: diffMode,
12668
12494
  allowEmptySource,
12669
- objectFilter,
12670
12495
  verbose
12671
12496
  }) => {
12672
12497
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12702,7 +12527,6 @@ var RedirectDefinitionPullModule = {
12702
12527
  mode,
12703
12528
  whatIf,
12704
12529
  allowEmptySource: allowEmptySource ?? true,
12705
- objectFilter,
12706
12530
  log: createSyncEngineConsoleLogger({ diffMode })
12707
12531
  });
12708
12532
  }
@@ -12742,7 +12566,6 @@ var RedirectDefinitionPushModule = {
12742
12566
  project: projectId,
12743
12567
  diff: diffMode,
12744
12568
  allowEmptySource,
12745
- objectFilter,
12746
12569
  verbose
12747
12570
  }) => {
12748
12571
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12772,7 +12595,6 @@ var RedirectDefinitionPushModule = {
12772
12595
  mode,
12773
12596
  whatIf,
12774
12597
  allowEmptySource,
12775
- objectFilter,
12776
12598
  log: createSyncEngineConsoleLogger({ diffMode })
12777
12599
  });
12778
12600
  }
@@ -13068,7 +12890,6 @@ var WebhookPullModule = {
13068
12890
  project: projectId,
13069
12891
  diff: diffMode,
13070
12892
  allowEmptySource,
13071
- objectFilter,
13072
12893
  verbose
13073
12894
  }) => {
13074
12895
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -13103,7 +12924,6 @@ var WebhookPullModule = {
13103
12924
  mode,
13104
12925
  whatIf,
13105
12926
  allowEmptySource: allowEmptySource ?? true,
13106
- objectFilter,
13107
12927
  log: createSyncEngineConsoleLogger({ diffMode }),
13108
12928
  compareContents: compareWebhooks
13109
12929
  });
@@ -13267,7 +13087,6 @@ var SyncPullModule = {
13267
13087
  return entityConfig2 !== void 0 && "state" in entityConfig2;
13268
13088
  };
13269
13089
  const entityConfig = config2.entitiesConfig?.[entityType];
13270
- const entityFilter = resolveEntityFilter(entityConfig, "pull");
13271
13090
  try {
13272
13091
  await spinPromise(
13273
13092
  module.handler({
@@ -13279,8 +13098,7 @@ var SyncPullModule = {
13279
13098
  patternType: entityType === "compositionPattern" ? "composition" : entityType === "componentPattern" ? "component" : void 0,
13280
13099
  mode: getPullMode(entityType, config2),
13281
13100
  directory: getPullFilename(entityType, config2),
13282
- allowEmptySource: config2.allowEmptySource,
13283
- objectFilter: entityFilter
13101
+ allowEmptySource: config2.allowEmptySource
13284
13102
  }),
13285
13103
  {
13286
13104
  text: `${entityType}\u2026`,
@@ -13356,7 +13174,6 @@ var WebhookPushModule = {
13356
13174
  project: projectId,
13357
13175
  diff: diffMode,
13358
13176
  allowEmptySource,
13359
- objectFilter,
13360
13177
  verbose
13361
13178
  }) => {
13362
13179
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -13386,7 +13203,6 @@ var WebhookPushModule = {
13386
13203
  mode,
13387
13204
  whatIf,
13388
13205
  allowEmptySource,
13389
- objectFilter,
13390
13206
  log: createSyncEngineConsoleLogger({ diffMode }),
13391
13207
  compareContents: compareWebhooks
13392
13208
  });
@@ -13436,8 +13252,6 @@ var SyncPushModule = {
13436
13252
  );
13437
13253
  }
13438
13254
  for (const [entityType, module] of enabledEntities) {
13439
- const entityConfig = config2.entitiesConfig?.[entityType];
13440
- const entityFilter = resolveEntityFilter(entityConfig, "push");
13441
13255
  try {
13442
13256
  await spinPromise(
13443
13257
  module.handler({
@@ -13449,8 +13263,7 @@ var SyncPushModule = {
13449
13263
  patternType: entityType === "compositionPattern" ? "composition" : entityType === "componentPattern" ? "component" : void 0,
13450
13264
  mode: getPushMode(entityType, config2),
13451
13265
  directory: getPushFilename(entityType, config2),
13452
- allowEmptySource: config2.allowEmptySource,
13453
- objectFilter: entityFilter
13266
+ allowEmptySource: config2.allowEmptySource
13454
13267
  }),
13455
13268
  {
13456
13269
  text: `${entityType}...`,
@@ -13467,7 +13280,6 @@ var SyncPushModule = {
13467
13280
  }
13468
13281
  }
13469
13282
  if (config2.entitiesConfig?.componentPattern && config2.entitiesConfig?.componentPattern?.push?.disabled !== true && config2.entitiesConfig?.componentPattern?.publish) {
13470
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.componentPattern, "push");
13471
13283
  try {
13472
13284
  await spinPromise(
13473
13285
  ComponentPatternPublishModule.handler({
@@ -13475,8 +13287,7 @@ var SyncPushModule = {
13475
13287
  patternType: "component",
13476
13288
  onlyPatterns: true,
13477
13289
  all: true,
13478
- directory: getPushFilename("componentPattern", config2),
13479
- objectFilter: publishFilter
13290
+ directory: getPushFilename("componentPattern", config2)
13480
13291
  }),
13481
13292
  {
13482
13293
  text: "publishing component patterns...",
@@ -13493,7 +13304,6 @@ var SyncPushModule = {
13493
13304
  }
13494
13305
  }
13495
13306
  if (config2.entitiesConfig?.compositionPattern && config2.entitiesConfig?.compositionPattern?.push?.disabled !== true && config2.entitiesConfig?.compositionPattern?.publish) {
13496
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.compositionPattern, "push");
13497
13307
  try {
13498
13308
  await spinPromise(
13499
13309
  CompositionPatternPublishModule.handler({
@@ -13501,8 +13311,7 @@ var SyncPushModule = {
13501
13311
  all: true,
13502
13312
  onlyPatterns: true,
13503
13313
  patternType: "composition",
13504
- directory: getPushFilename("compositionPattern", config2),
13505
- objectFilter: publishFilter
13314
+ directory: getPushFilename("compositionPattern", config2)
13506
13315
  }),
13507
13316
  {
13508
13317
  text: "publishing composition patterns...",
@@ -13519,15 +13328,13 @@ var SyncPushModule = {
13519
13328
  }
13520
13329
  }
13521
13330
  if (config2.entitiesConfig?.composition && config2.entitiesConfig?.composition?.push?.disabled !== true && config2.entitiesConfig?.composition?.publish) {
13522
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.composition, "push");
13523
13331
  try {
13524
13332
  await spinPromise(
13525
13333
  CompositionPublishModule.handler({
13526
13334
  ...otherParams,
13527
13335
  all: true,
13528
13336
  onlyCompositions: true,
13529
- directory: getPushFilename("composition", config2),
13530
- objectFilter: publishFilter
13337
+ directory: getPushFilename("composition", config2)
13531
13338
  }),
13532
13339
  {
13533
13340
  text: "publishing compositions...",
@@ -13544,14 +13351,12 @@ var SyncPushModule = {
13544
13351
  }
13545
13352
  }
13546
13353
  if (config2.entitiesConfig?.entry && config2.entitiesConfig?.entry?.push?.disabled !== true && config2.entitiesConfig?.entry?.publish) {
13547
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.entry, "push");
13548
13354
  try {
13549
13355
  await spinPromise(
13550
13356
  EntryPublishModule.handler({
13551
13357
  ...otherParams,
13552
13358
  all: true,
13553
- directory: getPushFilename("entry", config2),
13554
- objectFilter: publishFilter
13359
+ directory: getPushFilename("entry", config2)
13555
13360
  }),
13556
13361
  {
13557
13362
  text: "publishing entries...",
@@ -13568,14 +13373,12 @@ var SyncPushModule = {
13568
13373
  }
13569
13374
  }
13570
13375
  if (config2.entitiesConfig?.entryPattern && config2.entitiesConfig?.entryPattern?.push?.disabled !== true && config2.entitiesConfig?.entryPattern?.publish) {
13571
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.entryPattern, "push");
13572
13376
  try {
13573
13377
  await spinPromise(
13574
13378
  EntryPatternPublishModule.handler({
13575
13379
  ...otherParams,
13576
13380
  all: true,
13577
- directory: getPushFilename("entryPattern", config2),
13578
- objectFilter: publishFilter
13381
+ directory: getPushFilename("entryPattern", config2)
13579
13382
  }),
13580
13383
  {
13581
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.22+a76473d7ee",
3
+ "version": "20.58.0",
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.22+a76473d7ee",
32
- "@uniformdev/canvas": "20.57.2-alpha.22+a76473d7ee",
33
- "@uniformdev/context": "20.57.2-alpha.22+a76473d7ee",
34
- "@uniformdev/files": "20.57.2-alpha.22+a76473d7ee",
35
- "@uniformdev/project-map": "20.57.2-alpha.22+a76473d7ee",
36
- "@uniformdev/redirect": "20.57.2-alpha.22+a76473d7ee",
37
- "@uniformdev/richtext": "20.57.2-alpha.22+a76473d7ee",
31
+ "@uniformdev/assets": "20.58.0",
32
+ "@uniformdev/canvas": "20.58.0",
33
+ "@uniformdev/context": "20.58.0",
34
+ "@uniformdev/files": "20.58.0",
35
+ "@uniformdev/project-map": "20.58.0",
36
+ "@uniformdev/redirect": "20.58.0",
37
+ "@uniformdev/richtext": "20.58.0",
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": "a76473d7ee17e2c8745b1f240d670afb90108f36"
84
+ "gitHead": "26c7029ee6b30b8faed688c8b348a1c768b2e94b"
85
85
  }