@uniformdev/cli 20.57.2-alpha.25 → 20.58.1-alpha.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.
package/dist/index.mjs CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
+ CLI_USER_AGENT,
3
4
  __require,
4
5
  applyDefaultSyncConfiguration,
5
6
  emitWithFormat,
@@ -7,6 +8,7 @@ import {
7
8
  getEntityOption,
8
9
  isPathAPackageFile,
9
10
  nodeFetchProxy,
11
+ package_default,
10
12
  paginateAsync,
11
13
  readFileToObject,
12
14
  withApiOptions,
@@ -16,7 +18,7 @@ import {
16
18
  withFormatOptions,
17
19
  withProjectOptions,
18
20
  withTeamOptions
19
- } from "./chunk-SRP5OQEZ.mjs";
21
+ } from "./chunk-TEHSH2JT.mjs";
20
22
 
21
23
  // src/index.ts
22
24
  import * as dotenv from "dotenv";
@@ -140,7 +142,7 @@ var createClient = (baseUrl, authToken) => {
140
142
  const request2 = async (path8, opts, allowedNon2xxStatusCodes = []) => {
141
143
  const res = await fetch(makeUrl(baseUrl, path8), {
142
144
  ...opts,
143
- headers: { Authorization: `Bearer ${authToken}` }
145
+ headers: { Authorization: `Bearer ${authToken}`, "User-Agent": CLI_USER_AGENT }
144
146
  });
145
147
  if (res.ok || allowedNon2xxStatusCodes.includes(res.status)) {
146
148
  return res;
@@ -558,152 +560,6 @@ async function createArraySyncEngineDataSource({
558
560
  };
559
561
  }
560
562
 
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
563
  // src/sync/fileSyncEngineDataSource.ts
708
564
  import { red } from "colorette";
709
565
  import { existsSync as existsSync2, mkdirSync as mkdirSync2 } from "fs";
@@ -802,13 +658,9 @@ async function createFileSyncEngineDataSource({
802
658
  const fullFilename = join(directory, filename);
803
659
  try {
804
660
  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
661
  const displayName = selectDisplayName18(contents);
810
662
  const object4 = {
811
- id,
663
+ id: selectIdentifier18(contents),
812
664
  displayName: Array.isArray(displayName) ? displayName[0] : displayName,
813
665
  providerId: fullFilename,
814
666
  object: omit(contents, ["$schema"])
@@ -935,14 +787,12 @@ async function syncEngine({
935
787
  onBeforeProcessObject,
936
788
  onBeforeCompareObjects,
937
789
  onBeforeWriteObject,
938
- onError,
939
- objectFilter
790
+ onError
940
791
  //verbose = false,
941
792
  }) {
942
793
  const status = new ReactiveStatusUpdate((status2) => syncEngineEvents.emit("statusUpdate", status2));
943
794
  const targetItems = /* @__PURE__ */ new Map();
944
795
  const deleteTracker = /* @__PURE__ */ new Set();
945
- const getFirstId = (id) => Array.isArray(id) ? id[0] : id;
946
796
  const processDelete = async (object4) => {
947
797
  if (deleteTracker.has(object4)) return;
948
798
  deleteTracker.add(object4);
@@ -960,7 +810,7 @@ async function syncEngine({
960
810
  } finally {
961
811
  log2({
962
812
  action: "delete",
963
- id: getFirstId(object4.id),
813
+ id: object4.id[0],
964
814
  providerId: object4.providerId,
965
815
  displayName: object4.displayName ?? object4.providerId,
966
816
  whatIf,
@@ -969,9 +819,6 @@ async function syncEngine({
969
819
  }
970
820
  };
971
821
  for await (const obj of target.objects) {
972
- if (objectFilter && !objectFilter(obj)) {
973
- continue;
974
- }
975
822
  status.fetched++;
976
823
  if (Array.isArray(obj.id)) {
977
824
  obj.id.forEach((o) => targetItems.set(o, obj));
@@ -981,12 +828,7 @@ async function syncEngine({
981
828
  }
982
829
  const actions = [];
983
830
  let sourceHasItems = false;
984
- let totalSourceItems = 0;
985
831
  for await (let sourceObject of source.objects) {
986
- totalSourceItems++;
987
- if (objectFilter && !objectFilter(sourceObject)) {
988
- continue;
989
- }
990
832
  sourceHasItems = true;
991
833
  if (onBeforeProcessObject) {
992
834
  await onBeforeProcessObject(sourceObject);
@@ -1071,11 +913,6 @@ async function syncEngine({
1071
913
  }
1072
914
  }
1073
915
  }
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
916
  status.changeCount += targetItems.size;
1080
917
  status.compared += targetItems.size;
1081
918
  if (mode === "mirror") {
@@ -1226,7 +1063,7 @@ var identitySchema = z2.object({
1226
1063
  });
1227
1064
  var getUserInfo = async (baseUrl, authToken, subject) => {
1228
1065
  try {
1229
- const headers = { Authorization: `Bearer ${authToken}` };
1066
+ const headers = { Authorization: `Bearer ${authToken}`, "User-Agent": CLI_USER_AGENT };
1230
1067
  const projectClient = new ProjectClient({ apiHost: baseUrl, bearerToken: authToken });
1231
1068
  const [identityRes, projectsRes] = await Promise.all([
1232
1069
  request(makeUrl(baseUrl, "/v1/graphql"), identityQuery, { subject }, headers),
@@ -1268,94 +1105,6 @@ async function fetchUserAndEnsureFirstTeamExists({
1268
1105
  // src/telemetry/telemetry.ts
1269
1106
  import crypto from "crypto";
1270
1107
  import { PostHog } from "posthog-node";
1271
-
1272
- // package.json
1273
- var package_default = {
1274
- name: "@uniformdev/cli",
1275
- version: "20.57.1",
1276
- description: "Uniform command line interface tool",
1277
- license: "SEE LICENSE IN LICENSE.txt",
1278
- main: "./cli.js",
1279
- exports: {
1280
- ".": {
1281
- types: "./dist/index.d.mts",
1282
- default: "./cli.js"
1283
- },
1284
- "./config": {
1285
- types: "./dist/defaultConfig.d.mts",
1286
- default: "./dist/defaultConfig.mjs"
1287
- }
1288
- },
1289
- types: "./dist/index.d.mts",
1290
- sideEffects: false,
1291
- scripts: {
1292
- uniform: "node ./cli.js",
1293
- build: "tsc --noEmit && tsup",
1294
- dev: "tsup --watch",
1295
- clean: "rimraf dist",
1296
- test: "vitest run",
1297
- lint: 'eslint "src/**/*.{js,ts,tsx}"',
1298
- format: 'prettier --write "src/**/*.{js,ts,tsx}"'
1299
- },
1300
- dependencies: {
1301
- "@inquirer/prompts": "^7.10.1",
1302
- "@thi.ng/mime": "^2.2.23",
1303
- "@uniformdev/assets": "workspace:*",
1304
- "@uniformdev/canvas": "workspace:*",
1305
- "@uniformdev/context": "workspace:*",
1306
- "@uniformdev/files": "workspace:*",
1307
- "@uniformdev/project-map": "workspace:*",
1308
- "@uniformdev/redirect": "workspace:*",
1309
- "@uniformdev/richtext": "workspace:*",
1310
- "call-bind": "^1.0.2",
1311
- colorette: "2.0.20",
1312
- cosmiconfig: "9.0.0",
1313
- "cosmiconfig-typescript-loader": "5.0.0",
1314
- diff: "^5.0.0",
1315
- dotenv: "^16.4.7",
1316
- esbuild: "0.25.0",
1317
- execa: "5.1.1",
1318
- "file-type": "^20.0.0",
1319
- "fs-jetpack": "5.1.0",
1320
- graphql: "16.9.0",
1321
- "graphql-request": "6.1.0",
1322
- "image-size": "^1.2.1",
1323
- "isomorphic-git": "1.35.0",
1324
- "js-yaml": "^4.1.0",
1325
- jsonwebtoken: "9.0.3",
1326
- mitt: "^3.0.1",
1327
- "normalize-newline": "^4.1.0",
1328
- open: "10.2.0",
1329
- ora: "8.0.1",
1330
- "p-queue": "7.3.4",
1331
- "posthog-node": "5.28.5",
1332
- "registry-auth-token": "^5.0.0",
1333
- "registry-url": "^6.0.0",
1334
- slugify: "1.6.6",
1335
- svix: "^1.71.0",
1336
- undici: "^7.16.0",
1337
- yargs: "^17.6.2",
1338
- zod: "3.25.76"
1339
- },
1340
- devDependencies: {
1341
- "@types/diff": "5.0.9",
1342
- "@types/js-yaml": "4.0.9",
1343
- "@types/jsonwebtoken": "9.0.5",
1344
- "@types/node": "24.3.1",
1345
- "@types/yargs": "17.0.32"
1346
- },
1347
- bin: {
1348
- uniform: "./cli.js"
1349
- },
1350
- files: [
1351
- "/dist"
1352
- ],
1353
- publishConfig: {
1354
- access: "public"
1355
- }
1356
- };
1357
-
1358
- // src/telemetry/telemetry.ts
1359
1108
  var POSTHOG_WRITE_ONLY_KEY = "phc_c8YoKI9984KOHBfNrCRfIKvL56aYd5OpYxOdYexRzH7";
1360
1109
  var Telemetry = class {
1361
1110
  constructor(prefix, disable = false) {
@@ -3052,8 +2801,7 @@ var AssetPullModule = {
3052
2801
  whatIf,
3053
2802
  project: projectId,
3054
2803
  diff: diffMode,
3055
- allowEmptySource,
3056
- objectFilter
2804
+ allowEmptySource
3057
2805
  }) => {
3058
2806
  const fetch2 = nodeFetchProxy(proxy, verbose);
3059
2807
  const client = getAssetClient({
@@ -3104,7 +2852,6 @@ var AssetPullModule = {
3104
2852
  mode,
3105
2853
  whatIf,
3106
2854
  allowEmptySource: allowEmptySource ?? true,
3107
- objectFilter,
3108
2855
  log: createSyncEngineConsoleLogger({ diffMode }),
3109
2856
  onBeforeCompareObjects: async (sourceObject) => {
3110
2857
  delete sourceObject.object.asset._author;
@@ -3164,7 +2911,6 @@ var AssetPushModule = {
3164
2911
  project: projectId,
3165
2912
  diff: diffMode,
3166
2913
  allowEmptySource,
3167
- objectFilter,
3168
2914
  verbose
3169
2915
  }) => {
3170
2916
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3200,7 +2946,6 @@ var AssetPushModule = {
3200
2946
  mode,
3201
2947
  whatIf,
3202
2948
  allowEmptySource,
3203
- objectFilter,
3204
2949
  log: createSyncEngineConsoleLogger({ diffMode }),
3205
2950
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
3206
2951
  if (targetObject) {
@@ -3452,7 +3197,6 @@ var CategoryPullModule = {
3452
3197
  project: projectId,
3453
3198
  diff: diffMode,
3454
3199
  allowEmptySource,
3455
- objectFilter,
3456
3200
  verbose
3457
3201
  }) => {
3458
3202
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3487,7 +3231,6 @@ var CategoryPullModule = {
3487
3231
  mode,
3488
3232
  whatIf,
3489
3233
  allowEmptySource: allowEmptySource ?? true,
3490
- objectFilter,
3491
3234
  log: createSyncEngineConsoleLogger({ diffMode })
3492
3235
  });
3493
3236
  }
@@ -3527,7 +3270,6 @@ var CategoryPushModule = {
3527
3270
  project: projectId,
3528
3271
  diff: diffMode,
3529
3272
  allowEmptySource,
3530
- objectFilter,
3531
3273
  verbose
3532
3274
  }) => {
3533
3275
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3557,7 +3299,6 @@ var CategoryPushModule = {
3557
3299
  mode,
3558
3300
  whatIf,
3559
3301
  allowEmptySource,
3560
- objectFilter,
3561
3302
  log: createSyncEngineConsoleLogger({ diffMode })
3562
3303
  });
3563
3304
  }
@@ -3791,7 +3532,6 @@ var ComponentPullModule = {
3791
3532
  project: projectId,
3792
3533
  diff: diffMode,
3793
3534
  allowEmptySource,
3794
- objectFilter,
3795
3535
  verbose
3796
3536
  }) => {
3797
3537
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3827,7 +3567,6 @@ var ComponentPullModule = {
3827
3567
  mode,
3828
3568
  whatIf,
3829
3569
  allowEmptySource: allowEmptySource ?? true,
3830
- objectFilter,
3831
3570
  log: createSyncEngineConsoleLogger({ diffMode })
3832
3571
  });
3833
3572
  }
@@ -3867,7 +3606,6 @@ var ComponentPushModule = {
3867
3606
  project: projectId,
3868
3607
  diff: diffMode,
3869
3608
  allowEmptySource,
3870
- objectFilter,
3871
3609
  verbose
3872
3610
  }) => {
3873
3611
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -3898,7 +3636,6 @@ var ComponentPushModule = {
3898
3636
  mode,
3899
3637
  whatIf,
3900
3638
  allowEmptySource,
3901
- objectFilter,
3902
3639
  log: createSyncEngineConsoleLogger({ diffMode })
3903
3640
  });
3904
3641
  }
@@ -4443,8 +4180,7 @@ var CompositionPublishModule = {
4443
4180
  onlyPatterns,
4444
4181
  patternType,
4445
4182
  verbose,
4446
- directory,
4447
- objectFilter
4183
+ directory
4448
4184
  }) => {
4449
4185
  if (!all && !ids || all && ids) {
4450
4186
  console.error(`Specify --all or composition ID(s) to publish.`);
@@ -4479,7 +4215,6 @@ var CompositionPublishModule = {
4479
4215
  mode: "createOrUpdate",
4480
4216
  whatIf,
4481
4217
  verbose,
4482
- objectFilter,
4483
4218
  log: createPublishStatusSyncEngineConsoleLogger({ status: "publish" }),
4484
4219
  onBeforeCompareObjects: async (sourceObject) => {
4485
4220
  return replaceLocalUrlsWithRemoteReferences({
@@ -4600,7 +4335,6 @@ function componentInstancePullModuleFactory(type) {
4600
4335
  project: projectId,
4601
4336
  diff: diffMode,
4602
4337
  allowEmptySource,
4603
- objectFilter,
4604
4338
  verbose
4605
4339
  }) => {
4606
4340
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -4643,7 +4377,6 @@ function componentInstancePullModuleFactory(type) {
4643
4377
  mode,
4644
4378
  whatIf,
4645
4379
  allowEmptySource: allowEmptySource ?? true,
4646
- objectFilter,
4647
4380
  log: createSyncEngineConsoleLogger({ diffMode }),
4648
4381
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
4649
4382
  return replaceRemoteUrlsWithLocalReferences({
@@ -4796,7 +4529,6 @@ function componentInstancePushModuleFactory(type) {
4796
4529
  patternType,
4797
4530
  diff: diffMode,
4798
4531
  allowEmptySource,
4799
- objectFilter,
4800
4532
  verbose
4801
4533
  }) => {
4802
4534
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -4842,7 +4574,6 @@ function componentInstancePushModuleFactory(type) {
4842
4574
  whatIf,
4843
4575
  verbose,
4844
4576
  allowEmptySource,
4845
- objectFilter,
4846
4577
  log: createSyncEngineConsoleLogger({ diffMode }),
4847
4578
  onBeforeProcessObject: async (sourceObject) => {
4848
4579
  await localeValidationHook({
@@ -5577,7 +5308,6 @@ var ContentTypePullModule = {
5577
5308
  project: projectId,
5578
5309
  diff: diffMode,
5579
5310
  allowEmptySource,
5580
- objectFilter,
5581
5311
  verbose
5582
5312
  }) => {
5583
5313
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -5617,7 +5347,6 @@ var ContentTypePullModule = {
5617
5347
  mode,
5618
5348
  whatIf,
5619
5349
  allowEmptySource: allowEmptySource ?? true,
5620
- objectFilter,
5621
5350
  log: createSyncEngineConsoleLogger({ diffMode })
5622
5351
  });
5623
5352
  }
@@ -5662,7 +5391,6 @@ var ContentTypePushModule = {
5662
5391
  project: projectId,
5663
5392
  diff: diffMode,
5664
5393
  allowEmptySource,
5665
- objectFilter,
5666
5394
  verbose
5667
5395
  }) => {
5668
5396
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -5697,7 +5425,6 @@ var ContentTypePushModule = {
5697
5425
  mode,
5698
5426
  whatIf,
5699
5427
  allowEmptySource,
5700
- objectFilter,
5701
5428
  log: createSyncEngineConsoleLogger({ diffMode })
5702
5429
  });
5703
5430
  }
@@ -5994,7 +5721,6 @@ var DataTypePullModule = {
5994
5721
  project: projectId,
5995
5722
  diff: diffMode,
5996
5723
  allowEmptySource,
5997
- objectFilter,
5998
5724
  verbose
5999
5725
  }) => {
6000
5726
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6034,7 +5760,6 @@ var DataTypePullModule = {
6034
5760
  mode,
6035
5761
  whatIf,
6036
5762
  allowEmptySource: allowEmptySource ?? true,
6037
- objectFilter,
6038
5763
  log: createSyncEngineConsoleLogger({ diffMode })
6039
5764
  });
6040
5765
  }
@@ -6074,7 +5799,6 @@ var DataTypePushModule = {
6074
5799
  project: projectId,
6075
5800
  diff: diffMode,
6076
5801
  allowEmptySource,
6077
- objectFilter,
6078
5802
  verbose
6079
5803
  }) => {
6080
5804
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6109,7 +5833,6 @@ var DataTypePushModule = {
6109
5833
  mode,
6110
5834
  whatIf,
6111
5835
  allowEmptySource,
6112
- objectFilter,
6113
5836
  log: createSyncEngineConsoleLogger({ diffMode })
6114
5837
  });
6115
5838
  }
@@ -6446,8 +6169,7 @@ var EntryPublishModule = {
6446
6169
  project: projectId,
6447
6170
  whatIf,
6448
6171
  verbose,
6449
- directory,
6450
- objectFilter
6172
+ directory
6451
6173
  }) => {
6452
6174
  if (!all && !ids || all && ids) {
6453
6175
  console.error(`Specify --all or entry ID(s) to publish.`);
@@ -6475,7 +6197,6 @@ var EntryPublishModule = {
6475
6197
  // Publishing is one-direction operation, so no need to support automatic un-publishing
6476
6198
  mode: "createOrUpdate",
6477
6199
  whatIf,
6478
- objectFilter,
6479
6200
  log: createPublishStatusSyncEngineConsoleLogger({ status: "publish" }),
6480
6201
  onBeforeCompareObjects: async (sourceObject) => {
6481
6202
  return replaceLocalUrlsWithRemoteReferences({
@@ -6539,7 +6260,6 @@ var EntryPullModule = {
6539
6260
  project: projectId,
6540
6261
  diff: diffMode,
6541
6262
  allowEmptySource,
6542
- objectFilter,
6543
6263
  verbose
6544
6264
  }) => {
6545
6265
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6580,7 +6300,6 @@ var EntryPullModule = {
6580
6300
  mode,
6581
6301
  whatIf,
6582
6302
  allowEmptySource: allowEmptySource ?? true,
6583
- objectFilter,
6584
6303
  log: createSyncEngineConsoleLogger({ diffMode }),
6585
6304
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
6586
6305
  return replaceRemoteUrlsWithLocalReferences({
@@ -6640,7 +6359,6 @@ var EntryPushModule = {
6640
6359
  project: projectId,
6641
6360
  diff: diffMode,
6642
6361
  allowEmptySource,
6643
- objectFilter,
6644
6362
  verbose
6645
6363
  }) => {
6646
6364
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6683,7 +6401,6 @@ var EntryPushModule = {
6683
6401
  mode,
6684
6402
  whatIf,
6685
6403
  allowEmptySource,
6686
- objectFilter,
6687
6404
  log: createSyncEngineConsoleLogger({ diffMode }),
6688
6405
  onBeforeProcessObject: async (sourceObject) => {
6689
6406
  await localeValidationHook({
@@ -7041,8 +6758,7 @@ var EntryPatternPublishModule = {
7041
6758
  whatIf,
7042
6759
  project: projectId,
7043
6760
  verbose,
7044
- directory,
7045
- objectFilter
6761
+ directory
7046
6762
  }) => {
7047
6763
  if (!all && !ids || all && ids) {
7048
6764
  console.error(`Specify --all or entry pattern ID(s) to publish.`);
@@ -7070,7 +6786,6 @@ var EntryPatternPublishModule = {
7070
6786
  // Publishing is one-direction operation, so no need to support automatic un-publishing
7071
6787
  mode: "createOrUpdate",
7072
6788
  whatIf,
7073
- objectFilter,
7074
6789
  log: createPublishStatusSyncEngineConsoleLogger({ status: "publish" }),
7075
6790
  onBeforeCompareObjects: async (sourceObject) => {
7076
6791
  return replaceLocalUrlsWithRemoteReferences({
@@ -7134,7 +6849,6 @@ var EntryPatternPullModule = {
7134
6849
  project: projectId,
7135
6850
  diff: diffMode,
7136
6851
  allowEmptySource,
7137
- objectFilter,
7138
6852
  verbose
7139
6853
  }) => {
7140
6854
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7175,7 +6889,6 @@ var EntryPatternPullModule = {
7175
6889
  mode,
7176
6890
  whatIf,
7177
6891
  allowEmptySource: allowEmptySource ?? true,
7178
- objectFilter,
7179
6892
  log: createSyncEngineConsoleLogger({ diffMode }),
7180
6893
  onBeforeCompareObjects: async (sourceObject, targetObject) => {
7181
6894
  return replaceRemoteUrlsWithLocalReferences({
@@ -7240,7 +6953,6 @@ var EntryPatternPushModule = {
7240
6953
  project: projectId,
7241
6954
  diff: diffMode,
7242
6955
  allowEmptySource,
7243
- objectFilter,
7244
6956
  verbose
7245
6957
  }) => {
7246
6958
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7283,7 +6995,6 @@ var EntryPatternPushModule = {
7283
6995
  mode,
7284
6996
  whatIf,
7285
6997
  allowEmptySource,
7286
- objectFilter,
7287
6998
  log: createSyncEngineConsoleLogger({ diffMode }),
7288
6999
  onBeforeProcessObject: async (sourceObject) => {
7289
7000
  await localeValidationHook({
@@ -7764,7 +7475,6 @@ var LocalePullModule = {
7764
7475
  project: projectId,
7765
7476
  diff: diffMode,
7766
7477
  allowEmptySource,
7767
- objectFilter,
7768
7478
  verbose
7769
7479
  }) => {
7770
7480
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7804,7 +7514,6 @@ var LocalePullModule = {
7804
7514
  mode,
7805
7515
  whatIf,
7806
7516
  allowEmptySource: allowEmptySource ?? true,
7807
- objectFilter,
7808
7517
  log: createSyncEngineConsoleLogger({ diffMode })
7809
7518
  });
7810
7519
  }
@@ -7844,7 +7553,6 @@ var LocalePushModule = {
7844
7553
  project: projectId,
7845
7554
  diff: diffMode,
7846
7555
  allowEmptySource,
7847
- objectFilter,
7848
7556
  verbose
7849
7557
  }) => {
7850
7558
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -7879,7 +7587,6 @@ var LocalePushModule = {
7879
7587
  mode,
7880
7588
  whatIf,
7881
7589
  allowEmptySource,
7882
- objectFilter,
7883
7590
  log: createSyncEngineConsoleLogger({ diffMode })
7884
7591
  });
7885
7592
  }
@@ -8019,7 +7726,6 @@ var PreviewUrlPullModule = {
8019
7726
  project: projectId,
8020
7727
  diff: diffMode,
8021
7728
  allowEmptySource,
8022
- objectFilter,
8023
7729
  verbose
8024
7730
  }) => {
8025
7731
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8054,7 +7760,6 @@ var PreviewUrlPullModule = {
8054
7760
  mode,
8055
7761
  whatIf,
8056
7762
  allowEmptySource: allowEmptySource ?? true,
8057
- objectFilter,
8058
7763
  log: createSyncEngineConsoleLogger({ diffMode })
8059
7764
  });
8060
7765
  }
@@ -8094,7 +7799,6 @@ var PreviewUrlPushModule = {
8094
7799
  project: projectId,
8095
7800
  diff: diffMode,
8096
7801
  allowEmptySource,
8097
- objectFilter,
8098
7802
  verbose
8099
7803
  }) => {
8100
7804
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8124,7 +7828,6 @@ var PreviewUrlPushModule = {
8124
7828
  mode,
8125
7829
  whatIf,
8126
7830
  allowEmptySource,
8127
- objectFilter,
8128
7831
  log: createSyncEngineConsoleLogger({ diffMode })
8129
7832
  });
8130
7833
  }
@@ -8312,7 +8015,6 @@ var PreviewViewportPullModule = {
8312
8015
  project: projectId,
8313
8016
  diff: diffMode,
8314
8017
  allowEmptySource,
8315
- objectFilter,
8316
8018
  verbose
8317
8019
  }) => {
8318
8020
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8347,7 +8049,6 @@ var PreviewViewportPullModule = {
8347
8049
  mode,
8348
8050
  whatIf,
8349
8051
  allowEmptySource: allowEmptySource ?? true,
8350
- objectFilter,
8351
8052
  log: createSyncEngineConsoleLogger({ diffMode })
8352
8053
  });
8353
8054
  }
@@ -8387,7 +8088,6 @@ var PreviewViewportPushModule = {
8387
8088
  project: projectId,
8388
8089
  diff: diffMode,
8389
8090
  allowEmptySource,
8390
- objectFilter,
8391
8091
  verbose
8392
8092
  }) => {
8393
8093
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8417,7 +8117,6 @@ var PreviewViewportPushModule = {
8417
8117
  mode,
8418
8118
  whatIf,
8419
8119
  allowEmptySource,
8420
- objectFilter,
8421
8120
  log: createSyncEngineConsoleLogger({ diffMode })
8422
8121
  });
8423
8122
  }
@@ -8604,7 +8303,6 @@ var PromptPullModule = {
8604
8303
  project: projectId,
8605
8304
  diff: diffMode,
8606
8305
  allowEmptySource,
8607
- objectFilter,
8608
8306
  verbose
8609
8307
  }) => {
8610
8308
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8644,7 +8342,6 @@ var PromptPullModule = {
8644
8342
  mode,
8645
8343
  whatIf,
8646
8344
  allowEmptySource: allowEmptySource ?? true,
8647
- objectFilter,
8648
8345
  log: createSyncEngineConsoleLogger({ diffMode })
8649
8346
  });
8650
8347
  }
@@ -8684,7 +8381,6 @@ var PromptPushModule = {
8684
8381
  project: projectId,
8685
8382
  diff: diffMode,
8686
8383
  allowEmptySource,
8687
- objectFilter,
8688
8384
  verbose
8689
8385
  }) => {
8690
8386
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8719,7 +8415,6 @@ var PromptPushModule = {
8719
8415
  mode,
8720
8416
  whatIf,
8721
8417
  allowEmptySource,
8722
- objectFilter,
8723
8418
  log: createSyncEngineConsoleLogger({ diffMode })
8724
8419
  });
8725
8420
  }
@@ -8866,7 +8561,6 @@ var WorkflowPullModule = {
8866
8561
  project: projectId,
8867
8562
  diff: diffMode,
8868
8563
  allowEmptySource,
8869
- objectFilter,
8870
8564
  verbose
8871
8565
  }) => {
8872
8566
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8901,7 +8595,6 @@ var WorkflowPullModule = {
8901
8595
  mode,
8902
8596
  whatIf,
8903
8597
  allowEmptySource: allowEmptySource ?? true,
8904
- objectFilter,
8905
8598
  log: createSyncEngineConsoleLogger({ diffMode })
8906
8599
  });
8907
8600
  }
@@ -8941,7 +8634,6 @@ var WorkflowPushModule = {
8941
8634
  project: projectId,
8942
8635
  diff: diffMode,
8943
8636
  allowEmptySource,
8944
- objectFilter,
8945
8637
  verbose
8946
8638
  }) => {
8947
8639
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -8971,7 +8663,6 @@ var WorkflowPushModule = {
8971
8663
  mode,
8972
8664
  whatIf,
8973
8665
  allowEmptySource,
8974
- objectFilter,
8975
8666
  log: createSyncEngineConsoleLogger({ diffMode })
8976
8667
  });
8977
8668
  }
@@ -9142,7 +8833,6 @@ var AggregatePullModule = {
9142
8833
  project: projectId,
9143
8834
  diff: diffMode,
9144
8835
  allowEmptySource,
9145
- objectFilter,
9146
8836
  verbose
9147
8837
  }) => {
9148
8838
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9177,7 +8867,6 @@ var AggregatePullModule = {
9177
8867
  mode,
9178
8868
  whatIf,
9179
8869
  allowEmptySource,
9180
- objectFilter,
9181
8870
  log: createSyncEngineConsoleLogger({ diffMode })
9182
8871
  });
9183
8872
  }
@@ -9217,7 +8906,6 @@ var AggregatePushModule = {
9217
8906
  project: projectId,
9218
8907
  diff: diffMode,
9219
8908
  allowEmptySource,
9220
- objectFilter,
9221
8909
  verbose
9222
8910
  }) => {
9223
8911
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9247,7 +8935,6 @@ var AggregatePushModule = {
9247
8935
  mode,
9248
8936
  whatIf,
9249
8937
  allowEmptySource,
9250
- objectFilter,
9251
8938
  log: createSyncEngineConsoleLogger({ diffMode })
9252
8939
  });
9253
8940
  await target.complete();
@@ -9478,7 +9165,6 @@ var EnrichmentPullModule = {
9478
9165
  project: projectId,
9479
9166
  diff: diffMode,
9480
9167
  allowEmptySource,
9481
- objectFilter,
9482
9168
  verbose
9483
9169
  }) => {
9484
9170
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9513,7 +9199,6 @@ var EnrichmentPullModule = {
9513
9199
  mode,
9514
9200
  whatIf,
9515
9201
  allowEmptySource,
9516
- objectFilter,
9517
9202
  log: createSyncEngineConsoleLogger({ diffMode })
9518
9203
  });
9519
9204
  }
@@ -9551,7 +9236,6 @@ var EnrichmentPushModule = {
9551
9236
  project: projectId,
9552
9237
  diff: diffMode,
9553
9238
  allowEmptySource,
9554
- objectFilter,
9555
9239
  verbose
9556
9240
  }) => {
9557
9241
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9581,7 +9265,6 @@ var EnrichmentPushModule = {
9581
9265
  mode,
9582
9266
  whatIf,
9583
9267
  allowEmptySource,
9584
- objectFilter,
9585
9268
  log: createSyncEngineConsoleLogger({ diffMode })
9586
9269
  });
9587
9270
  }
@@ -9868,7 +9551,6 @@ var QuirkPullModule = {
9868
9551
  project: projectId,
9869
9552
  diff: diffMode,
9870
9553
  allowEmptySource,
9871
- objectFilter,
9872
9554
  verbose
9873
9555
  }) => {
9874
9556
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9903,7 +9585,6 @@ var QuirkPullModule = {
9903
9585
  mode,
9904
9586
  whatIf,
9905
9587
  allowEmptySource,
9906
- objectFilter,
9907
9588
  log: createSyncEngineConsoleLogger({ diffMode })
9908
9589
  });
9909
9590
  }
@@ -9944,7 +9625,6 @@ var QuirkPushModule = {
9944
9625
  project: projectId,
9945
9626
  diff: diffMode,
9946
9627
  allowEmptySource,
9947
- objectFilter,
9948
9628
  verbose
9949
9629
  }) => {
9950
9630
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -9974,7 +9654,6 @@ var QuirkPushModule = {
9974
9654
  mode,
9975
9655
  whatIf,
9976
9656
  allowEmptySource,
9977
- objectFilter,
9978
9657
  log: createSyncEngineConsoleLogger({ diffMode })
9979
9658
  });
9980
9659
  }
@@ -10155,7 +9834,6 @@ var SignalPullModule = {
10155
9834
  project: projectId,
10156
9835
  diff: diffMode,
10157
9836
  allowEmptySource,
10158
- objectFilter,
10159
9837
  verbose
10160
9838
  }) => {
10161
9839
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10190,7 +9868,6 @@ var SignalPullModule = {
10190
9868
  mode,
10191
9869
  whatIf,
10192
9870
  allowEmptySource,
10193
- objectFilter,
10194
9871
  log: createSyncEngineConsoleLogger({ diffMode })
10195
9872
  });
10196
9873
  }
@@ -10231,7 +9908,6 @@ var SignalPushModule = {
10231
9908
  project: projectId,
10232
9909
  diff: diffMode,
10233
9910
  allowEmptySource,
10234
- objectFilter,
10235
9911
  verbose
10236
9912
  }) => {
10237
9913
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10261,7 +9937,6 @@ var SignalPushModule = {
10261
9937
  mode,
10262
9938
  whatIf,
10263
9939
  allowEmptySource,
10264
- objectFilter,
10265
9940
  log: createSyncEngineConsoleLogger({ diffMode })
10266
9941
  });
10267
9942
  }
@@ -10442,7 +10117,6 @@ var TestPullModule = {
10442
10117
  project: projectId,
10443
10118
  diff: diffMode,
10444
10119
  allowEmptySource,
10445
- objectFilter,
10446
10120
  verbose
10447
10121
  }) => {
10448
10122
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10477,7 +10151,6 @@ var TestPullModule = {
10477
10151
  mode,
10478
10152
  whatIf,
10479
10153
  allowEmptySource,
10480
- objectFilter,
10481
10154
  log: createSyncEngineConsoleLogger({ diffMode })
10482
10155
  });
10483
10156
  }
@@ -10518,7 +10191,6 @@ var TestPushModule = {
10518
10191
  project: projectId,
10519
10192
  diff: diffMode,
10520
10193
  allowEmptySource,
10521
- objectFilter,
10522
10194
  verbose
10523
10195
  }) => {
10524
10196
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -10548,7 +10220,6 @@ var TestPushModule = {
10548
10220
  mode,
10549
10221
  whatIf,
10550
10222
  allowEmptySource,
10551
- objectFilter,
10552
10223
  log: createSyncEngineConsoleLogger({ diffMode })
10553
10224
  });
10554
10225
  }
@@ -11724,7 +11395,6 @@ var PolicyDocumentsPullModule = {
11724
11395
  project: projectId,
11725
11396
  diff: diffMode,
11726
11397
  allowEmptySource,
11727
- objectFilter,
11728
11398
  verbose
11729
11399
  }) => {
11730
11400
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -11742,7 +11412,6 @@ var PolicyDocumentsPullModule = {
11742
11412
  mode,
11743
11413
  whatIf,
11744
11414
  allowEmptySource: allowEmptySource ?? true,
11745
- objectFilter,
11746
11415
  log: createSyncEngineConsoleLogger({ diffMode })
11747
11416
  });
11748
11417
  }
@@ -11865,7 +11534,6 @@ var PolicyDocumentsPushModule = {
11865
11534
  project: projectId,
11866
11535
  diff: diffMode,
11867
11536
  allowEmptySource,
11868
- objectFilter,
11869
11537
  verbose
11870
11538
  }) => {
11871
11539
  if (!existsSync5(directory)) {
@@ -11895,7 +11563,6 @@ var PolicyDocumentsPushModule = {
11895
11563
  mode,
11896
11564
  whatIf,
11897
11565
  allowEmptySource: allowEmptySource ?? true,
11898
- objectFilter,
11899
11566
  log: createSyncEngineConsoleLogger({ diffMode })
11900
11567
  });
11901
11568
  if (!whatIf) {
@@ -12073,7 +11740,6 @@ var ProjectMapDefinitionPullModule = {
12073
11740
  project: projectId,
12074
11741
  diff: diffMode,
12075
11742
  allowEmptySource,
12076
- objectFilter,
12077
11743
  verbose
12078
11744
  }) => {
12079
11745
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12108,7 +11774,6 @@ var ProjectMapDefinitionPullModule = {
12108
11774
  mode,
12109
11775
  whatIf,
12110
11776
  allowEmptySource: allowEmptySource ?? true,
12111
- objectFilter,
12112
11777
  log: createSyncEngineConsoleLogger({ diffMode })
12113
11778
  });
12114
11779
  }
@@ -12148,7 +11813,6 @@ var ProjectMapDefinitionPushModule = {
12148
11813
  project: projectId,
12149
11814
  diff: diffMode,
12150
11815
  allowEmptySource,
12151
- objectFilter,
12152
11816
  verbose
12153
11817
  }) => {
12154
11818
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12178,7 +11842,6 @@ var ProjectMapDefinitionPushModule = {
12178
11842
  mode,
12179
11843
  whatIf,
12180
11844
  allowEmptySource,
12181
- objectFilter,
12182
11845
  log: createSyncEngineConsoleLogger({ diffMode })
12183
11846
  });
12184
11847
  }
@@ -12386,7 +12049,6 @@ var ProjectMapNodePullModule = {
12386
12049
  project: projectId,
12387
12050
  diff: diffMode,
12388
12051
  allowEmptySource,
12389
- objectFilter,
12390
12052
  verbose
12391
12053
  }) => {
12392
12054
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12425,7 +12087,6 @@ var ProjectMapNodePullModule = {
12425
12087
  mode,
12426
12088
  whatIf,
12427
12089
  allowEmptySource: allowEmptySource ?? true,
12428
- objectFilter,
12429
12090
  log: createSyncEngineConsoleLogger({ diffMode })
12430
12091
  });
12431
12092
  }
@@ -12468,7 +12129,6 @@ var ProjectMapNodePushModule = {
12468
12129
  project: projectId,
12469
12130
  diff: diffMode,
12470
12131
  allowEmptySource,
12471
- objectFilter,
12472
12132
  verbose
12473
12133
  }) => {
12474
12134
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12513,7 +12173,6 @@ var ProjectMapNodePushModule = {
12513
12173
  mode,
12514
12174
  whatIf,
12515
12175
  allowEmptySource,
12516
- objectFilter,
12517
12176
  log: createSyncEngineConsoleLogger({ diffMode }),
12518
12177
  onError: (error, object4) => {
12519
12178
  if (error.message.includes(__INTERNAL_MISSING_PARENT_NODE_ERROR)) {
@@ -12747,7 +12406,6 @@ var RedirectDefinitionPullModule = {
12747
12406
  project: projectId,
12748
12407
  diff: diffMode,
12749
12408
  allowEmptySource,
12750
- objectFilter,
12751
12409
  verbose
12752
12410
  }) => {
12753
12411
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12783,7 +12441,6 @@ var RedirectDefinitionPullModule = {
12783
12441
  mode,
12784
12442
  whatIf,
12785
12443
  allowEmptySource: allowEmptySource ?? true,
12786
- objectFilter,
12787
12444
  log: createSyncEngineConsoleLogger({ diffMode })
12788
12445
  });
12789
12446
  }
@@ -12823,7 +12480,6 @@ var RedirectDefinitionPushModule = {
12823
12480
  project: projectId,
12824
12481
  diff: diffMode,
12825
12482
  allowEmptySource,
12826
- objectFilter,
12827
12483
  verbose
12828
12484
  }) => {
12829
12485
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -12853,7 +12509,6 @@ var RedirectDefinitionPushModule = {
12853
12509
  mode,
12854
12510
  whatIf,
12855
12511
  allowEmptySource,
12856
- objectFilter,
12857
12512
  log: createSyncEngineConsoleLogger({ diffMode })
12858
12513
  });
12859
12514
  }
@@ -13149,7 +12804,6 @@ var WebhookPullModule = {
13149
12804
  project: projectId,
13150
12805
  diff: diffMode,
13151
12806
  allowEmptySource,
13152
- objectFilter,
13153
12807
  verbose
13154
12808
  }) => {
13155
12809
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -13184,7 +12838,6 @@ var WebhookPullModule = {
13184
12838
  mode,
13185
12839
  whatIf,
13186
12840
  allowEmptySource: allowEmptySource ?? true,
13187
- objectFilter,
13188
12841
  log: createSyncEngineConsoleLogger({ diffMode }),
13189
12842
  compareContents: compareWebhooks
13190
12843
  });
@@ -13348,7 +13001,6 @@ var SyncPullModule = {
13348
13001
  return entityConfig2 !== void 0 && "state" in entityConfig2;
13349
13002
  };
13350
13003
  const entityConfig = config2.entitiesConfig?.[entityType];
13351
- const entityFilter = resolveEntityFilter(entityConfig, "pull");
13352
13004
  try {
13353
13005
  await spinPromise(
13354
13006
  module.handler({
@@ -13360,8 +13012,7 @@ var SyncPullModule = {
13360
13012
  patternType: entityType === "compositionPattern" ? "composition" : entityType === "componentPattern" ? "component" : void 0,
13361
13013
  mode: getPullMode(entityType, config2),
13362
13014
  directory: getPullFilename(entityType, config2),
13363
- allowEmptySource: config2.allowEmptySource,
13364
- objectFilter: entityFilter
13015
+ allowEmptySource: config2.allowEmptySource
13365
13016
  }),
13366
13017
  {
13367
13018
  text: `${entityType}\u2026`,
@@ -13437,7 +13088,6 @@ var WebhookPushModule = {
13437
13088
  project: projectId,
13438
13089
  diff: diffMode,
13439
13090
  allowEmptySource,
13440
- objectFilter,
13441
13091
  verbose
13442
13092
  }) => {
13443
13093
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -13467,7 +13117,6 @@ var WebhookPushModule = {
13467
13117
  mode,
13468
13118
  whatIf,
13469
13119
  allowEmptySource,
13470
- objectFilter,
13471
13120
  log: createSyncEngineConsoleLogger({ diffMode }),
13472
13121
  compareContents: compareWebhooks
13473
13122
  });
@@ -13517,8 +13166,6 @@ var SyncPushModule = {
13517
13166
  );
13518
13167
  }
13519
13168
  for (const [entityType, module] of enabledEntities) {
13520
- const entityConfig = config2.entitiesConfig?.[entityType];
13521
- const entityFilter = resolveEntityFilter(entityConfig, "push");
13522
13169
  try {
13523
13170
  await spinPromise(
13524
13171
  module.handler({
@@ -13530,8 +13177,7 @@ var SyncPushModule = {
13530
13177
  patternType: entityType === "compositionPattern" ? "composition" : entityType === "componentPattern" ? "component" : void 0,
13531
13178
  mode: getPushMode(entityType, config2),
13532
13179
  directory: getPushFilename(entityType, config2),
13533
- allowEmptySource: config2.allowEmptySource,
13534
- objectFilter: entityFilter
13180
+ allowEmptySource: config2.allowEmptySource
13535
13181
  }),
13536
13182
  {
13537
13183
  text: `${entityType}...`,
@@ -13548,7 +13194,6 @@ var SyncPushModule = {
13548
13194
  }
13549
13195
  }
13550
13196
  if (config2.entitiesConfig?.componentPattern && config2.entitiesConfig?.componentPattern?.push?.disabled !== true && config2.entitiesConfig?.componentPattern?.publish) {
13551
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.componentPattern, "push");
13552
13197
  try {
13553
13198
  await spinPromise(
13554
13199
  ComponentPatternPublishModule.handler({
@@ -13556,8 +13201,7 @@ var SyncPushModule = {
13556
13201
  patternType: "component",
13557
13202
  onlyPatterns: true,
13558
13203
  all: true,
13559
- directory: getPushFilename("componentPattern", config2),
13560
- objectFilter: publishFilter
13204
+ directory: getPushFilename("componentPattern", config2)
13561
13205
  }),
13562
13206
  {
13563
13207
  text: "publishing component patterns...",
@@ -13574,7 +13218,6 @@ var SyncPushModule = {
13574
13218
  }
13575
13219
  }
13576
13220
  if (config2.entitiesConfig?.compositionPattern && config2.entitiesConfig?.compositionPattern?.push?.disabled !== true && config2.entitiesConfig?.compositionPattern?.publish) {
13577
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.compositionPattern, "push");
13578
13221
  try {
13579
13222
  await spinPromise(
13580
13223
  CompositionPatternPublishModule.handler({
@@ -13582,8 +13225,7 @@ var SyncPushModule = {
13582
13225
  all: true,
13583
13226
  onlyPatterns: true,
13584
13227
  patternType: "composition",
13585
- directory: getPushFilename("compositionPattern", config2),
13586
- objectFilter: publishFilter
13228
+ directory: getPushFilename("compositionPattern", config2)
13587
13229
  }),
13588
13230
  {
13589
13231
  text: "publishing composition patterns...",
@@ -13600,15 +13242,13 @@ var SyncPushModule = {
13600
13242
  }
13601
13243
  }
13602
13244
  if (config2.entitiesConfig?.composition && config2.entitiesConfig?.composition?.push?.disabled !== true && config2.entitiesConfig?.composition?.publish) {
13603
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.composition, "push");
13604
13245
  try {
13605
13246
  await spinPromise(
13606
13247
  CompositionPublishModule.handler({
13607
13248
  ...otherParams,
13608
13249
  all: true,
13609
13250
  onlyCompositions: true,
13610
- directory: getPushFilename("composition", config2),
13611
- objectFilter: publishFilter
13251
+ directory: getPushFilename("composition", config2)
13612
13252
  }),
13613
13253
  {
13614
13254
  text: "publishing compositions...",
@@ -13625,14 +13265,12 @@ var SyncPushModule = {
13625
13265
  }
13626
13266
  }
13627
13267
  if (config2.entitiesConfig?.entry && config2.entitiesConfig?.entry?.push?.disabled !== true && config2.entitiesConfig?.entry?.publish) {
13628
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.entry, "push");
13629
13268
  try {
13630
13269
  await spinPromise(
13631
13270
  EntryPublishModule.handler({
13632
13271
  ...otherParams,
13633
13272
  all: true,
13634
- directory: getPushFilename("entry", config2),
13635
- objectFilter: publishFilter
13273
+ directory: getPushFilename("entry", config2)
13636
13274
  }),
13637
13275
  {
13638
13276
  text: "publishing entries...",
@@ -13649,14 +13287,12 @@ var SyncPushModule = {
13649
13287
  }
13650
13288
  }
13651
13289
  if (config2.entitiesConfig?.entryPattern && config2.entitiesConfig?.entryPattern?.push?.disabled !== true && config2.entitiesConfig?.entryPattern?.publish) {
13652
- const publishFilter = resolveEntityFilter(config2.entitiesConfig.entryPattern, "push");
13653
13290
  try {
13654
13291
  await spinPromise(
13655
13292
  EntryPatternPublishModule.handler({
13656
13293
  ...otherParams,
13657
13294
  all: true,
13658
- directory: getPushFilename("entryPattern", config2),
13659
- objectFilter: publishFilter
13295
+ directory: getPushFilename("entryPattern", config2)
13660
13296
  }),
13661
13297
  {
13662
13298
  text: "publishing entry patterns...",