@simplysf/simply-aep 0.6.1 → 0.7.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.
package/README.md CHANGED
@@ -82,7 +82,7 @@ FLAG DESCRIPTIONS
82
82
  Comma-separated list of binding types to include. If not specified, all four are included.
83
83
  ```
84
84
 
85
- _See code: [lib/commands/simply/aep/at4dx/binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.5.1/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
85
+ _See code: [lib/commands/simply/aep/at4dx/binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.6.1/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
86
86
 
87
87
  ## `sf simply aep at4dx domain-process-binding create`
88
88
 
@@ -163,7 +163,7 @@ EXAMPLES
163
163
  $ sf simply aep at4dx domain-process-binding create --source-dir sfdx-source/core --developer-name ServiceResource_Before_Update_Sync --sobject ServiceResource --sobject-alternate --process-context TriggerExecution --trigger-operation Before_Update --type Action --class-to-inject ServiceResourceSyncAction --order 10
164
164
  ```
165
165
 
166
- _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/create.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.5.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/create.js)_
166
+ _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/create.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.6.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/create.js)_
167
167
 
168
168
  ## `sf simply aep at4dx domain-process-binding list`
169
169
 
@@ -209,7 +209,7 @@ EXAMPLES
209
209
  $ sf simply aep at4dx domain-process-binding list --target-org myOrg --active-only --json
210
210
  ```
211
211
 
212
- _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.5.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
212
+ _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.6.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
213
213
 
214
214
  ## `sf simply aep at4dx domain-process-binding set`
215
215
 
@@ -288,7 +288,7 @@ EXAMPLES
288
288
  $ sf simply aep at4dx domain-process-binding set --target-org myOrg --developer-name Account_Before_Insert_Assign_Owner --class-to-inject AccountAssignOwnerActionV2
289
289
  ```
290
290
 
291
- _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/set.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.5.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/set.js)_
291
+ _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/set.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.6.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/set.js)_
292
292
 
293
293
  ## `sf simply aep at4dx domain-process-binding validate`
294
294
 
@@ -321,8 +321,10 @@ DESCRIPTION
321
321
  from local Salesforce DX source, and checks it for problems `simply aep at4dx domain-process-binding list` doesn't
322
322
  fail on: two active records silently fighting over the same execution slot, a binding with no resolvable SObject, a
323
323
  binding whose declared process context doesn't match the field that's actually populated (so it never runs), the same
324
- DeveloperName defined more than once, and an ambiguous SObject reference. Exactly one of `--target-org` or
325
- `--source-dir` must be specified.
324
+ DeveloperName defined more than once, an ambiguous SObject reference, RelatedDomainBindingSObject__c set to a standard
325
+ object that can't actually go through an EntityDefinition relationship, and RelatedDomainBindingSObjectAlternate__c
326
+ set to an object that didn't need the Alternate field. Exactly one of `--target-org` or `--source-dir` must be
327
+ specified.
326
328
 
327
329
  Prints a table of every issue found. When --sobject is specified, scan-wide issues (a duplicate DeveloperName, or a
328
330
  binding with no resolvable SObject) print in their own section below the filtered table, since they can't be
@@ -339,577 +341,5 @@ EXAMPLES
339
341
  $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --json
340
342
  ```
341
343
 
342
- _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.5.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/validate.js)_
343
- <!-- commandsstop -->
344
-
345
- - [`sf simply aep at4dx binding list`](#sf-simply-aep-at4dx-binding-list)
346
- - [`sf simply aep at4dx domain-process-binding list`](#sf-simply-aep-at4dx-domain-process-binding-list)
347
- - [`sf simply aep at4dx domain-process-binding validate`](#sf-simply-aep-at4dx-domain-process-binding-validate)
348
-
349
- ## `sf simply aep at4dx binding list`
350
-
351
- List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins for each binding key.
352
-
353
- ```
354
- USAGE
355
- $ sf simply aep at4dx binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-t
356
- service|selector|domain|unit-of-work...] [--effective-only]
357
-
358
- FLAGS
359
- -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
360
- local-source discovery.
361
- -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
362
- -t, --type=<option>... Binding type(s) to include: service, selector, domain, unit-of-work.
363
- <options: service|selector|domain|unit-of-work>
364
- --api-version=<value> Override the api version used for api requests made by this command
365
- --effective-only Only show the bindings that actually win for their key; hide shadowed/non-winning
366
- records.
367
-
368
- GLOBAL FLAGS
369
- --flags-dir=<value> Import flag values from a directory.
370
- --json Format output as json.
371
-
372
- DESCRIPTION
373
- List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins
374
- for each binding key.
375
-
376
- Reads the four AT4DX Application Factory Custom Metadata Types — `ApplicationFactory_ServiceBinding__mdt`,
377
- `ApplicationFactory_SelectorBinding__mdt`, `ApplicationFactory_DomainBinding__mdt`, and
378
- `ApplicationFactory_UnitOfWorkBinding__mdt` — either from a live org or from local Salesforce DX source, and
379
- reproduces the resolution rules AT4DX applies at runtime so you can see which record actually wins for a given
380
- interface or SObject, and which ones are shadowed. Exactly one of `--target-org` or `--source-dir` must be specified.
381
-
382
- Service and Selector bindings resolve deterministically on `Priority__c` (highest wins). Domain bindings have no
383
- priority field, so a duplicated key is flagged `ambiguous` rather than reporting a guessed winner. UnitOfWork bindings
384
- have no winner concept at all — every record contributes to one ordered registration list.
385
-
386
- EXAMPLES
387
- $ sf simply aep at4dx binding list --target-org myOrg
388
-
389
- $ sf simply aep at4dx binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
390
-
391
- $ sf simply aep at4dx binding list --target-org myOrg --type service,selector
392
-
393
- $ sf simply aep at4dx binding list --target-org myOrg --effective-only --json
394
-
395
- FLAG DESCRIPTIONS
396
- -t, --type=service|selector|domain|unit-of-work...
397
-
398
- Binding type(s) to include: service, selector, domain, unit-of-work.
399
-
400
- Comma-separated list of binding types to include. If not specified, all four are included.
401
- ```
402
-
403
- _See code: [lib/commands/simply/aep/at4dx/binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.5.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
404
-
405
- ## `sf simply aep at4dx domain-process-binding list`
406
-
407
- List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
408
-
409
- ```
410
- USAGE
411
- $ sf simply aep at4dx domain-process-binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
412
- <value>...] [--active-only]
413
-
414
- FLAGS
415
- -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
416
- local-source discovery.
417
- -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
418
- -s, --sobject=<value>... SObject API name(s) to filter to. If not specified, bindings for every SObject are
419
- included.
420
- --active-only Only show active bindings; hide inactive records.
421
- --api-version=<value> Override the api version used for api requests made by this command
422
-
423
- GLOBAL FLAGS
424
- --flags-dir=<value> Import flag values from a directory.
425
- --json Format output as json.
426
-
427
- DESCRIPTION
428
- List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
429
-
430
- Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
431
- from local Salesforce DX source, showing which criteria/action classes are bound to each SObject's trigger events (or
432
- domain method tokens), and the order they run in. Exactly one of `--target-org` or `--source-dir` must be specified.
433
-
434
- Unlike `simply aep at4dx binding list`, there's no "winner" here — every active record in a group (same SObject,
435
- process context, and trigger operation or domain method token) runs, in `OrderOfExecution__c` order. Two active
436
- records sharing the same order within a group are flagged as a collision, since AT4DX doesn't guarantee which one runs
437
- first in that case.
438
-
439
- EXAMPLES
440
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg
441
-
442
- $ sf simply aep at4dx domain-process-binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
443
-
444
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg --sobject Account
445
-
446
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg --active-only --json
447
- ```
448
-
449
- _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.5.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
450
-
451
- ## `sf simply aep at4dx domain-process-binding validate`
452
-
453
- Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring problem is found.
454
-
455
- ```
456
- USAGE
457
- $ sf simply aep at4dx domain-process-binding validate [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
458
- <value>...]
459
-
460
- FLAGS
461
- -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
462
- local-source discovery.
463
- -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
464
- -s, --sobject=<value>... SObject API name(s) to filter to. Applies only to issues that name an SObject; issues
465
- that span the whole scan (a duplicate DeveloperName, or a binding with no resolvable
466
- SObject) are always reported, since filtering could hide the exact conflict they exist to
467
- catch. If not specified, every issue is included.
468
- --api-version=<value> Override the api version used for api requests made by this command
469
-
470
- GLOBAL FLAGS
471
- --flags-dir=<value> Import flag values from a directory.
472
- --json Format output as json.
473
-
474
- DESCRIPTION
475
- Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring
476
- problem is found.
477
-
478
- Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
479
- from local Salesforce DX source, and checks it for problems `simply aep at4dx domain-process-binding list` doesn't
480
- fail on: two active records silently fighting over the same execution slot, a binding with no resolvable SObject, a
481
- binding whose declared process context doesn't match the field that's actually populated (so it never runs), the same
482
- DeveloperName defined more than once, and an ambiguous SObject reference. Exactly one of `--target-org` or
483
- `--source-dir` must be specified.
484
-
485
- Prints a table of every issue found. When --sobject is specified, scan-wide issues (a duplicate DeveloperName, or a
486
- binding with no resolvable SObject) print in their own section below the filtered table, since they can't be
487
- attributed to one SObject. Exits non-zero when any issue is an error (a warning alone doesn't fail the command) — use
488
- this in CI to gate on AT4DX wiring problems before they reach an org.
489
-
490
- EXAMPLES
491
- $ sf simply aep at4dx domain-process-binding validate --target-org myOrg
492
-
493
- $ sf simply aep at4dx domain-process-binding validate --source-dir sfdx-source/core --source-dir sfdx-source/app
494
-
495
- $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --sobject Account
496
-
497
- $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --json
498
- ```
499
-
500
- _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.5.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/validate.js)_
501
- <!-- commandsstop -->
502
-
503
- - [`sf simply aep at4dx binding list`](#sf-simply-aep-at4dx-binding-list)
504
- - [`sf simply aep at4dx domain-process-binding list`](#sf-simply-aep-at4dx-domain-process-binding-list)
505
- - [`sf simply aep at4dx domain-process-binding validate`](#sf-simply-aep-at4dx-domain-process-binding-validate)
506
-
507
- ## `sf simply aep at4dx binding list`
508
-
509
- List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins for each binding key.
510
-
511
- ```
512
- USAGE
513
- $ sf simply aep at4dx binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-t
514
- service|selector|domain|unit-of-work...] [--effective-only]
515
-
516
- FLAGS
517
- -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
518
- local-source discovery.
519
- -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
520
- -t, --type=<option>... Binding type(s) to include: service, selector, domain, unit-of-work.
521
- <options: service|selector|domain|unit-of-work>
522
- --api-version=<value> Override the api version used for api requests made by this command
523
- --effective-only Only show the bindings that actually win for their key; hide shadowed/non-winning
524
- records.
525
-
526
- GLOBAL FLAGS
527
- --flags-dir=<value> Import flag values from a directory.
528
- --json Format output as json.
529
-
530
- DESCRIPTION
531
- List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins
532
- for each binding key.
533
-
534
- Reads the four AT4DX Application Factory Custom Metadata Types — `ApplicationFactory_ServiceBinding__mdt`,
535
- `ApplicationFactory_SelectorBinding__mdt`, `ApplicationFactory_DomainBinding__mdt`, and
536
- `ApplicationFactory_UnitOfWorkBinding__mdt` — either from a live org or from local Salesforce DX source, and
537
- reproduces the resolution rules AT4DX applies at runtime so you can see which record actually wins for a given
538
- interface or SObject, and which ones are shadowed. Exactly one of `--target-org` or `--source-dir` must be specified.
539
-
540
- Service and Selector bindings resolve deterministically on `Priority__c` (highest wins). Domain bindings have no
541
- priority field, so a duplicated key is flagged `ambiguous` rather than reporting a guessed winner. UnitOfWork bindings
542
- have no winner concept at all — every record contributes to one ordered registration list.
543
-
544
- EXAMPLES
545
- $ sf simply aep at4dx binding list --target-org myOrg
546
-
547
- $ sf simply aep at4dx binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
548
-
549
- $ sf simply aep at4dx binding list --target-org myOrg --type service,selector
550
-
551
- $ sf simply aep at4dx binding list --target-org myOrg --effective-only --json
552
-
553
- FLAG DESCRIPTIONS
554
- -t, --type=service|selector|domain|unit-of-work...
555
-
556
- Binding type(s) to include: service, selector, domain, unit-of-work.
557
-
558
- Comma-separated list of binding types to include. If not specified, all four are included.
559
- ```
560
-
561
- _See code: [lib/commands/simply/aep/at4dx/binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.1/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
562
-
563
- ## `sf simply aep at4dx domain-process-binding list`
564
-
565
- List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
566
-
567
- ```
568
- USAGE
569
- $ sf simply aep at4dx domain-process-binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
570
- <value>...] [--active-only]
571
-
572
- FLAGS
573
- -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
574
- local-source discovery.
575
- -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
576
- -s, --sobject=<value>... SObject API name(s) to filter to. If not specified, bindings for every SObject are
577
- included.
578
- --active-only Only show active bindings; hide inactive records.
579
- --api-version=<value> Override the api version used for api requests made by this command
580
-
581
- GLOBAL FLAGS
582
- --flags-dir=<value> Import flag values from a directory.
583
- --json Format output as json.
584
-
585
- DESCRIPTION
586
- List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
587
-
588
- Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
589
- from local Salesforce DX source, showing which criteria/action classes are bound to each SObject's trigger events (or
590
- domain method tokens), and the order they run in. Exactly one of `--target-org` or `--source-dir` must be specified.
591
-
592
- Unlike `simply aep at4dx binding list`, there's no "winner" here — every active record in a group (same SObject,
593
- process context, and trigger operation or domain method token) runs, in `OrderOfExecution__c` order. Two active
594
- records sharing the same order within a group are flagged as a collision, since AT4DX doesn't guarantee which one runs
595
- first in that case.
596
-
597
- EXAMPLES
598
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg
599
-
600
- $ sf simply aep at4dx domain-process-binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
601
-
602
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg --sobject Account
603
-
604
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg --active-only --json
605
- ```
606
-
607
- _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
608
-
609
- ## `sf simply aep at4dx domain-process-binding validate`
610
-
611
- Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring problem is found.
612
-
613
- ```
614
- USAGE
615
- $ sf simply aep at4dx domain-process-binding validate [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
616
- <value>...]
617
-
618
- FLAGS
619
- -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
620
- local-source discovery.
621
- -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
622
- -s, --sobject=<value>... SObject API name(s) to filter to. If not specified, bindings for every SObject are
623
- included.
624
- --api-version=<value> Override the api version used for api requests made by this command
625
-
626
- GLOBAL FLAGS
627
- --flags-dir=<value> Import flag values from a directory.
628
- --json Format output as json.
629
-
630
- DESCRIPTION
631
- Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring
632
- problem is found.
633
-
634
- Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
635
- from local Salesforce DX source, and checks it for problems `simply aep at4dx domain-process-binding list` doesn't
636
- fail on: two active records silently fighting over the same execution slot, a binding with no resolvable SObject, a
637
- binding whose declared process context doesn't match the field that's actually populated (so it never runs), the same
638
- DeveloperName defined more than once, and an ambiguous SObject reference. Exactly one of `--target-org` or
639
- `--source-dir` must be specified.
640
-
641
- Prints a table of every issue found. Exits non-zero when any issue is an error (a warning alone doesn't fail the
642
- command) — use this in CI to gate on AT4DX wiring problems before they reach an org.
643
-
644
- EXAMPLES
645
- $ sf simply aep at4dx domain-process-binding validate --target-org myOrg
646
-
647
- $ sf simply aep at4dx domain-process-binding validate --source-dir sfdx-source/core --source-dir sfdx-source/app
648
-
649
- $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --sobject Account
650
-
651
- $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --json
652
- ```
653
-
654
- _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/validate.js)_
655
- <!-- commandsstop -->
656
-
657
- - [`sf simply aep at4dx binding list`](#sf-simply-aep-at4dx-binding-list)
658
- - [`sf simply aep at4dx domain-process-binding list`](#sf-simply-aep-at4dx-domain-process-binding-list)
659
- - [`sf simply aep at4dx domain-process-binding validate`](#sf-simply-aep-at4dx-domain-process-binding-validate)
660
-
661
- ## `sf simply aep at4dx binding list`
662
-
663
- List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins for each binding key.
664
-
665
- ```
666
- USAGE
667
- $ sf simply aep at4dx binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-t
668
- service|selector|domain|unit-of-work...] [--effective-only]
669
-
670
- FLAGS
671
- -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
672
- local-source discovery.
673
- -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
674
- -t, --type=<option>... Binding type(s) to include: service, selector, domain, unit-of-work.
675
- <options: service|selector|domain|unit-of-work>
676
- --api-version=<value> Override the api version used for api requests made by this command
677
- --effective-only Only show the bindings that actually win for their key; hide shadowed/non-winning
678
- records.
679
-
680
- GLOBAL FLAGS
681
- --flags-dir=<value> Import flag values from a directory.
682
- --json Format output as json.
683
-
684
- DESCRIPTION
685
- List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins
686
- for each binding key.
687
-
688
- Reads the four AT4DX Application Factory Custom Metadata Types — `ApplicationFactory_ServiceBinding__mdt`,
689
- `ApplicationFactory_SelectorBinding__mdt`, `ApplicationFactory_DomainBinding__mdt`, and
690
- `ApplicationFactory_UnitOfWorkBinding__mdt` — either from a live org or from local Salesforce DX source, and
691
- reproduces the resolution rules AT4DX applies at runtime so you can see which record actually wins for a given
692
- interface or SObject, and which ones are shadowed. Exactly one of `--target-org` or `--source-dir` must be specified.
693
-
694
- Service and Selector bindings resolve deterministically on `Priority__c` (highest wins). Domain bindings have no
695
- priority field, so a duplicated key is flagged `ambiguous` rather than reporting a guessed winner. UnitOfWork bindings
696
- have no winner concept at all — every record contributes to one ordered registration list.
697
-
698
- EXAMPLES
699
- $ sf simply aep at4dx binding list --target-org myOrg
700
-
701
- $ sf simply aep at4dx binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
702
-
703
- $ sf simply aep at4dx binding list --target-org myOrg --type service,selector
704
-
705
- $ sf simply aep at4dx binding list --target-org myOrg --effective-only --json
706
-
707
- FLAG DESCRIPTIONS
708
- -t, --type=service|selector|domain|unit-of-work...
709
-
710
- Binding type(s) to include: service, selector, domain, unit-of-work.
711
-
712
- Comma-separated list of binding types to include. If not specified, all four are included.
713
- ```
714
-
715
- _See code: [lib/commands/simply/aep/at4dx/binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
716
-
717
- ## `sf simply aep at4dx domain-process-binding list`
718
-
719
- List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
720
-
721
- ```
722
- USAGE
723
- $ sf simply aep at4dx domain-process-binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
724
- <value>...] [--active-only]
725
-
726
- FLAGS
727
- -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
728
- local-source discovery.
729
- -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
730
- -s, --sobject=<value>... SObject API name(s) to filter to. If not specified, bindings for every SObject are
731
- included.
732
- --active-only Only show active bindings; hide inactive records.
733
- --api-version=<value> Override the api version used for api requests made by this command
734
-
735
- GLOBAL FLAGS
736
- --flags-dir=<value> Import flag values from a directory.
737
- --json Format output as json.
738
-
739
- DESCRIPTION
740
- List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
741
-
742
- Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
743
- from local Salesforce DX source, showing which criteria/action classes are bound to each SObject's trigger events (or
744
- domain method tokens), and the order they run in. Exactly one of `--target-org` or `--source-dir` must be specified.
745
-
746
- Unlike `simply aep at4dx binding list`, there's no "winner" here — every active record in a group (same SObject,
747
- process context, and trigger operation or domain method token) runs, in `OrderOfExecution__c` order. Two active
748
- records sharing the same order within a group are flagged as a collision, since AT4DX doesn't guarantee which one runs
749
- first in that case.
750
-
751
- EXAMPLES
752
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg
753
-
754
- $ sf simply aep at4dx domain-process-binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
755
-
756
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg --sobject Account
757
-
758
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg --active-only --json
759
- ```
760
-
761
- _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
762
-
763
- ## `sf simply aep at4dx domain-process-binding validate`
764
-
765
- Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring problem is found.
766
-
767
- ```
768
- USAGE
769
- $ sf simply aep at4dx domain-process-binding validate [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
770
- <value>...]
771
-
772
- FLAGS
773
- -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
774
- local-source discovery.
775
- -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
776
- -s, --sobject=<value>... SObject API name(s) to filter to. If not specified, bindings for every SObject are
777
- included.
778
- --api-version=<value> Override the api version used for api requests made by this command
779
-
780
- GLOBAL FLAGS
781
- --flags-dir=<value> Import flag values from a directory.
782
- --json Format output as json.
783
-
784
- DESCRIPTION
785
- Validate the AT4DX Trigger Action Framework bindings configured in an org or local source, failing when a wiring
786
- problem is found.
787
-
788
- Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
789
- from local Salesforce DX source, and checks it for problems `simply aep at4dx domain-process-binding list` doesn't
790
- fail on: two active records silently fighting over the same execution slot, a binding with no resolvable SObject, a
791
- binding whose declared process context doesn't match the field that's actually populated (so it never runs), the same
792
- DeveloperName defined more than once, and an ambiguous SObject reference. Exactly one of `--target-org` or
793
- `--source-dir` must be specified.
794
-
795
- Prints a table of every issue found. Exits non-zero when any issue is an error (a warning alone doesn't fail the
796
- command) — use this in CI to gate on AT4DX wiring problems before they reach an org.
797
-
798
- EXAMPLES
799
- $ sf simply aep at4dx domain-process-binding validate --target-org myOrg
800
-
801
- $ sf simply aep at4dx domain-process-binding validate --source-dir sfdx-source/core --source-dir sfdx-source/app
802
-
803
- $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --sobject Account
804
-
805
- $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --json
806
- ```
807
-
808
- _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.4.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/validate.js)_
809
- <!-- commandsstop -->
810
-
811
- - [`sf simply aep at4dx binding list`](#sf-simply-aep-at4dx-binding-list)
812
- - [`sf simply aep at4dx domain-process-binding list`](#sf-simply-aep-at4dx-domain-process-binding-list)
813
-
814
- ## `sf simply aep at4dx binding list`
815
-
816
- List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins for each binding key.
817
-
818
- ```
819
- USAGE
820
- $ sf simply aep at4dx binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-t
821
- service|selector|domain|unit-of-work...] [--effective-only]
822
-
823
- FLAGS
824
- -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
825
- local-source discovery.
826
- -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
827
- -t, --type=<option>... Binding type(s) to include: service, selector, domain, unit-of-work.
828
- <options: service|selector|domain|unit-of-work>
829
- --api-version=<value> Override the api version used for api requests made by this command
830
- --effective-only Only show the bindings that actually win for their key; hide shadowed/non-winning
831
- records.
832
-
833
- GLOBAL FLAGS
834
- --flags-dir=<value> Import flag values from a directory.
835
- --json Format output as json.
836
-
837
- DESCRIPTION
838
- List the AT4DX Application Factory bindings configured in an org or local source, resolved to show which record wins
839
- for each binding key.
840
-
841
- Reads the four AT4DX Application Factory Custom Metadata Types — `ApplicationFactory_ServiceBinding__mdt`,
842
- `ApplicationFactory_SelectorBinding__mdt`, `ApplicationFactory_DomainBinding__mdt`, and
843
- `ApplicationFactory_UnitOfWorkBinding__mdt` — either from a live org or from local Salesforce DX source, and
844
- reproduces the resolution rules AT4DX applies at runtime so you can see which record actually wins for a given
845
- interface or SObject, and which ones are shadowed. Exactly one of `--target-org` or `--source-dir` must be specified.
846
-
847
- Service and Selector bindings resolve deterministically on `Priority__c` (highest wins). Domain bindings have no
848
- priority field, so a duplicated key is flagged `ambiguous` rather than reporting a guessed winner. UnitOfWork bindings
849
- have no winner concept at all — every record contributes to one ordered registration list.
850
-
851
- EXAMPLES
852
- $ sf simply aep at4dx binding list --target-org myOrg
853
-
854
- $ sf simply aep at4dx binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
855
-
856
- $ sf simply aep at4dx binding list --target-org myOrg --type service,selector
857
-
858
- $ sf simply aep at4dx binding list --target-org myOrg --effective-only --json
859
-
860
- FLAG DESCRIPTIONS
861
- -t, --type=service|selector|domain|unit-of-work...
862
-
863
- Binding type(s) to include: service, selector, domain, unit-of-work.
864
-
865
- Comma-separated list of binding types to include. If not specified, all four are included.
866
- ```
867
-
868
- _See code: [lib/commands/simply/aep/at4dx/binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.3.1/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
869
-
870
- ## `sf simply aep at4dx domain-process-binding list`
871
-
872
- List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
873
-
874
- ```
875
- USAGE
876
- $ sf simply aep at4dx domain-process-binding list [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d <value>...] [-s
877
- <value>...] [--active-only]
878
-
879
- FLAGS
880
- -d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
881
- local-source discovery.
882
- -o, --target-org=<value> Username or alias of the org to read bindings from. Use this for live-org discovery.
883
- -s, --sobject=<value>... SObject API name(s) to filter to. If not specified, bindings for every SObject are
884
- included.
885
- --active-only Only show active bindings; hide inactive records.
886
- --api-version=<value> Override the api version used for api requests made by this command
887
-
888
- GLOBAL FLAGS
889
- --flags-dir=<value> Import flag values from a directory.
890
- --json Format output as json.
891
-
892
- DESCRIPTION
893
- List the AT4DX Trigger Action Framework bindings configured in an org or local source, in execution order.
894
-
895
- Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or
896
- from local Salesforce DX source, showing which criteria/action classes are bound to each SObject's trigger events (or
897
- domain method tokens), and the order they run in. Exactly one of `--target-org` or `--source-dir` must be specified.
898
-
899
- Unlike `simply aep at4dx binding list`, there's no "winner" here — every active record in a group (same SObject,
900
- process context, and trigger operation or domain method token) runs, in `OrderOfExecution__c` order. Two active
901
- records sharing the same order within a group are flagged as a collision, since AT4DX doesn't guarantee which one runs
902
- first in that case.
903
-
904
- EXAMPLES
905
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg
906
-
907
- $ sf simply aep at4dx domain-process-binding list --source-dir sfdx-source/core --source-dir sfdx-source/app
908
-
909
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg --sobject Account
910
-
911
- $ sf simply aep at4dx domain-process-binding list --target-org myOrg --active-only --json
912
- ```
913
-
914
- _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/list.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.3.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
344
+ _See code: [lib/commands/simply/aep/at4dx/domain-process-binding/validate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.6.1/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/validate.js)_
915
345
  <!-- commandsstop -->
@@ -4,7 +4,7 @@ Validate the AT4DX Trigger Action Framework bindings configured in an org or loc
4
4
 
5
5
  # description
6
6
 
7
- Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or from local Salesforce DX source, and checks it for problems `simply aep at4dx domain-process-binding list` doesn't fail on: two active records silently fighting over the same execution slot, a binding with no resolvable SObject, a binding whose declared process context doesn't match the field that's actually populated (so it never runs), the same DeveloperName defined more than once, and an ambiguous SObject reference. Exactly one of `--target-org` or `--source-dir` must be specified.
7
+ Reads AT4DX's Trigger Action Framework Custom Metadata Type — `DomainProcessBinding__mdt` — either from a live org or from local Salesforce DX source, and checks it for problems `simply aep at4dx domain-process-binding list` doesn't fail on: two active records silently fighting over the same execution slot, a binding with no resolvable SObject, a binding whose declared process context doesn't match the field that's actually populated (so it never runs), the same DeveloperName defined more than once, an ambiguous SObject reference, RelatedDomainBindingSObject__c set to a standard object that can't actually go through an EntityDefinition relationship, and RelatedDomainBindingSObjectAlternate__c set to an object that didn't need the Alternate field. Exactly one of `--target-org` or `--source-dir` must be specified.
8
8
 
9
9
  Prints a table of every issue found. When --sobject is specified, scan-wide issues (a duplicate DeveloperName, or a binding with no resolvable SObject) print in their own section below the filtered table, since they can't be attributed to one SObject. Exits non-zero when any issue is an error (a warning alone doesn't fail the command) — use this in CI to gate on AT4DX wiring problems before they reach an org.
10
10
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplysf/simply-aep",
3
3
  "description": "Commands for Apex Enterprise Patterns tooling (fflib, force-di, AT4DX)",
4
- "version": "0.6.1",
4
+ "version": "0.7.0",
5
5
  "author": "@ClayChipps",
6
6
  "homepage": "https://github.com/SimplySF/simply-node",
7
7
  "bugs": "https://github.com/SimplySF/simply-node/issues",
@@ -60,7 +60,7 @@
60
60
  "@salesforce/core": "^8.30.0",
61
61
  "@salesforce/kit": "^3.2.6",
62
62
  "@salesforce/sf-plugins-core": "^12.2.16",
63
- "@simplysf/simply-aep-core": "^0.5.0",
63
+ "@simplysf/simply-aep-core": "^0.6.0",
64
64
  "@simplysf/simply-core": "^1.5.0"
65
65
  },
66
66
  "devDependencies": {
@@ -208,5 +208,5 @@
208
208
  "output": []
209
209
  }
210
210
  },
211
- "gitHead": "7027cc7497e4b5852f51abb3713757f9eae85cd7"
211
+ "gitHead": "d2a9919f27df257491f324840fcfbbaa3a3a56c0"
212
212
  }