@ryanstark24/sfgraph-core 1.2.0 → 1.6.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/dist/analyze/apex-platform.d.ts +23 -0
- package/dist/analyze/apex-platform.d.ts.map +1 -0
- package/dist/analyze/apex-platform.js +112 -0
- package/dist/analyze/apex-platform.js.map +1 -0
- package/dist/analyze/audit-graph.d.ts +51 -3
- package/dist/analyze/audit-graph.d.ts.map +1 -1
- package/dist/analyze/audit-graph.js +382 -14
- package/dist/analyze/audit-graph.js.map +1 -1
- package/dist/analyze/component-scope.d.ts +82 -0
- package/dist/analyze/component-scope.d.ts.map +1 -0
- package/dist/analyze/component-scope.js +207 -0
- package/dist/analyze/component-scope.js.map +1 -0
- package/dist/analyze/containment.d.ts +91 -0
- package/dist/analyze/containment.d.ts.map +1 -0
- package/dist/analyze/containment.js +175 -0
- package/dist/analyze/containment.js.map +1 -0
- package/dist/analyze/cross-org.d.ts +35 -0
- package/dist/analyze/cross-org.d.ts.map +1 -1
- package/dist/analyze/cross-org.js +102 -3
- package/dist/analyze/cross-org.js.map +1 -1
- package/dist/analyze/dead-code.d.ts +99 -3
- package/dist/analyze/dead-code.d.ts.map +1 -1
- package/dist/analyze/dead-code.js +282 -10
- package/dist/analyze/dead-code.js.map +1 -1
- package/dist/analyze/dependencies.d.ts +21 -2
- package/dist/analyze/dependencies.d.ts.map +1 -1
- package/dist/analyze/dependencies.js +102 -12
- package/dist/analyze/dependencies.js.map +1 -1
- package/dist/analyze/dependents.d.ts +116 -1
- package/dist/analyze/dependents.d.ts.map +1 -1
- package/dist/analyze/dependents.js +285 -13
- package/dist/analyze/dependents.js.map +1 -1
- package/dist/analyze/deployment-manifest/generate.d.ts +24 -0
- package/dist/analyze/deployment-manifest/generate.d.ts.map +1 -1
- package/dist/analyze/deployment-manifest/generate.js +40 -12
- package/dist/analyze/deployment-manifest/generate.js.map +1 -1
- package/dist/analyze/deployment-manifest/member-name-formatters.d.ts.map +1 -1
- package/dist/analyze/deployment-manifest/member-name-formatters.js +1 -0
- package/dist/analyze/deployment-manifest/member-name-formatters.js.map +1 -1
- package/dist/analyze/deployment-manifest/member-types.d.ts.map +1 -1
- package/dist/analyze/deployment-manifest/member-types.js +2 -0
- package/dist/analyze/deployment-manifest/member-types.js.map +1 -1
- package/dist/analyze/diff-seeds.d.ts +33 -0
- package/dist/analyze/diff-seeds.d.ts.map +1 -0
- package/dist/analyze/diff-seeds.js +299 -0
- package/dist/analyze/diff-seeds.js.map +1 -0
- package/dist/analyze/edge-filters.d.ts +62 -0
- package/dist/analyze/edge-filters.d.ts.map +1 -0
- package/dist/analyze/edge-filters.js +127 -0
- package/dist/analyze/edge-filters.js.map +1 -0
- package/dist/analyze/field-scope.d.ts +25 -0
- package/dist/analyze/field-scope.d.ts.map +1 -0
- package/dist/analyze/field-scope.js +94 -0
- package/dist/analyze/field-scope.js.map +1 -0
- package/dist/analyze/find-nodes.d.ts +48 -12
- package/dist/analyze/find-nodes.d.ts.map +1 -1
- package/dist/analyze/find-nodes.js +323 -12
- package/dist/analyze/find-nodes.js.map +1 -1
- package/dist/analyze/findings.d.ts +1 -1
- package/dist/analyze/findings.d.ts.map +1 -1
- package/dist/analyze/findings.js +15 -3
- package/dist/analyze/findings.js.map +1 -1
- package/dist/analyze/git-diff.d.ts +27 -1
- package/dist/analyze/git-diff.d.ts.map +1 -1
- package/dist/analyze/git-diff.js +198 -26
- package/dist/analyze/git-diff.js.map +1 -1
- package/dist/analyze/governor.d.ts +25 -4
- package/dist/analyze/governor.d.ts.map +1 -1
- package/dist/analyze/governor.js +82 -18
- package/dist/analyze/governor.js.map +1 -1
- package/dist/analyze/index.d.ts +6 -0
- package/dist/analyze/index.d.ts.map +1 -1
- package/dist/analyze/index.js +6 -0
- package/dist/analyze/index.js.map +1 -1
- package/dist/analyze/path-to-qname.d.ts +9 -0
- package/dist/analyze/path-to-qname.d.ts.map +1 -1
- package/dist/analyze/path-to-qname.js +58 -15
- package/dist/analyze/path-to-qname.js.map +1 -1
- package/dist/analyze/populate.d.ts +40 -0
- package/dist/analyze/populate.d.ts.map +1 -1
- package/dist/analyze/populate.js +203 -58
- package/dist/analyze/populate.js.map +1 -1
- package/dist/analyze/pseudo-endpoints.d.ts +67 -0
- package/dist/analyze/pseudo-endpoints.d.ts.map +1 -0
- package/dist/analyze/pseudo-endpoints.js +78 -0
- package/dist/analyze/pseudo-endpoints.js.map +1 -0
- package/dist/analyze/security.d.ts +17 -0
- package/dist/analyze/security.d.ts.map +1 -1
- package/dist/analyze/security.js +103 -18
- package/dist/analyze/security.js.map +1 -1
- package/dist/analyze/test-coverage.d.ts +48 -0
- package/dist/analyze/test-coverage.d.ts.map +1 -1
- package/dist/analyze/test-coverage.js +72 -1
- package/dist/analyze/test-coverage.js.map +1 -1
- package/dist/analyze/wip-changed-files.d.ts +88 -0
- package/dist/analyze/wip-changed-files.d.ts.map +1 -0
- package/dist/analyze/wip-changed-files.js +422 -0
- package/dist/analyze/wip-changed-files.js.map +1 -0
- package/dist/analyze/wip-impact.d.ts +59 -0
- package/dist/analyze/wip-impact.d.ts.map +1 -1
- package/dist/analyze/wip-impact.js +199 -116
- package/dist/analyze/wip-impact.js.map +1 -1
- package/dist/domain/apex-platform.d.ts +10 -0
- package/dist/domain/apex-platform.d.ts.map +1 -0
- package/dist/domain/apex-platform.js +231 -0
- package/dist/domain/apex-platform.js.map +1 -0
- package/dist/domain/index.d.ts +2 -0
- package/dist/domain/index.d.ts.map +1 -1
- package/dist/domain/index.js +2 -0
- package/dist/domain/index.js.map +1 -1
- package/dist/domain/metadata-category.d.ts +1 -0
- package/dist/domain/metadata-category.d.ts.map +1 -1
- package/dist/domain/metadata-category.js +1 -0
- package/dist/domain/metadata-category.js.map +1 -1
- package/dist/domain/rel-types.d.ts +7 -0
- package/dist/domain/rel-types.d.ts.map +1 -1
- package/dist/domain/rel-types.js +7 -0
- package/dist/domain/rel-types.js.map +1 -1
- package/dist/domain/standard-sobjects.d.ts +20 -0
- package/dist/domain/standard-sobjects.d.ts.map +1 -0
- package/dist/domain/standard-sobjects.js +183 -0
- package/dist/domain/standard-sobjects.js.map +1 -0
- package/dist/embedding/cache.d.ts +41 -0
- package/dist/embedding/cache.d.ts.map +1 -0
- package/dist/embedding/cache.js +69 -0
- package/dist/embedding/cache.js.map +1 -0
- package/dist/embedding/embed.d.ts +59 -0
- package/dist/embedding/embed.d.ts.map +1 -1
- package/dist/embedding/embed.js +207 -29
- package/dist/embedding/embed.js.map +1 -1
- package/dist/embedding/index.d.ts +7 -0
- package/dist/embedding/index.d.ts.map +1 -1
- package/dist/embedding/index.js +4 -0
- package/dist/embedding/index.js.map +1 -1
- package/dist/embedding/pool.d.ts +66 -6
- package/dist/embedding/pool.d.ts.map +1 -1
- package/dist/embedding/pool.js +156 -6
- package/dist/embedding/pool.js.map +1 -1
- package/dist/embedding/queue.d.ts +166 -9
- package/dist/embedding/queue.d.ts.map +1 -1
- package/dist/embedding/queue.js +397 -39
- package/dist/embedding/queue.js.map +1 -1
- package/dist/embedding/tokenize.d.ts +18 -0
- package/dist/embedding/tokenize.d.ts.map +1 -0
- package/dist/embedding/tokenize.js +43 -0
- package/dist/embedding/tokenize.js.map +1 -0
- package/dist/embedding/worker.d.ts +0 -5
- package/dist/embedding/worker.d.ts.map +1 -1
- package/dist/embedding/worker.js +27 -4
- package/dist/embedding/worker.js.map +1 -1
- package/dist/extractors/filesystem/index.d.ts +21 -1
- package/dist/extractors/filesystem/index.d.ts.map +1 -1
- package/dist/extractors/filesystem/index.js +195 -38
- package/dist/extractors/filesystem/index.js.map +1 -1
- package/dist/extractors/filesystem/vlocity-datapacks.d.ts +27 -0
- package/dist/extractors/filesystem/vlocity-datapacks.d.ts.map +1 -0
- package/dist/extractors/filesystem/vlocity-datapacks.js +201 -0
- package/dist/extractors/filesystem/vlocity-datapacks.js.map +1 -0
- package/dist/extractors/interfaces/metadata-source.d.ts +40 -0
- package/dist/extractors/interfaces/metadata-source.d.ts.map +1 -1
- package/dist/extractors/live-org/bulk-retrieve.d.ts +206 -1
- package/dist/extractors/live-org/bulk-retrieve.d.ts.map +1 -1
- package/dist/extractors/live-org/bulk-retrieve.js +706 -94
- package/dist/extractors/live-org/bulk-retrieve.js.map +1 -1
- package/dist/extractors/live-org/capabilities.d.ts +15 -0
- package/dist/extractors/live-org/capabilities.d.ts.map +1 -1
- package/dist/extractors/live-org/capabilities.js +54 -9
- package/dist/extractors/live-org/capabilities.js.map +1 -1
- package/dist/extractors/live-org/extractors/apex.d.ts +12 -2
- package/dist/extractors/live-org/extractors/apex.d.ts.map +1 -1
- package/dist/extractors/live-org/extractors/apex.js +171 -75
- package/dist/extractors/live-org/extractors/apex.js.map +1 -1
- package/dist/extractors/live-org/extractors/custom-settings.d.ts +4 -0
- package/dist/extractors/live-org/extractors/custom-settings.d.ts.map +1 -0
- package/dist/extractors/live-org/extractors/custom-settings.js +76 -0
- package/dist/extractors/live-org/extractors/custom-settings.js.map +1 -0
- package/dist/extractors/live-org/extractors/flow.d.ts +2 -1
- package/dist/extractors/live-org/extractors/flow.d.ts.map +1 -1
- package/dist/extractors/live-org/extractors/flow.js +12 -3
- package/dist/extractors/live-org/extractors/flow.js.map +1 -1
- package/dist/extractors/live-org/extractors/generic-metadata.d.ts +23 -3
- package/dist/extractors/live-org/extractors/generic-metadata.d.ts.map +1 -1
- package/dist/extractors/live-org/extractors/generic-metadata.js +110 -25
- package/dist/extractors/live-org/extractors/generic-metadata.js.map +1 -1
- package/dist/extractors/live-org/extractors/generic-sobject.js.map +1 -1
- package/dist/extractors/live-org/extractors/integration.d.ts +2 -1
- package/dist/extractors/live-org/extractors/integration.d.ts.map +1 -1
- package/dist/extractors/live-org/extractors/integration.js +14 -5
- package/dist/extractors/live-org/extractors/integration.js.map +1 -1
- package/dist/extractors/live-org/extractors/lwc.d.ts +2 -1
- package/dist/extractors/live-org/extractors/lwc.d.ts.map +1 -1
- package/dist/extractors/live-org/extractors/lwc.js +95 -47
- package/dist/extractors/live-org/extractors/lwc.js.map +1 -1
- package/dist/extractors/live-org/extractors/mcd-baseline.d.ts.map +1 -1
- package/dist/extractors/live-org/extractors/mcd-baseline.js +2 -4
- package/dist/extractors/live-org/extractors/mcd-baseline.js.map +1 -1
- package/dist/extractors/live-org/extractors/object.d.ts +2 -11
- package/dist/extractors/live-org/extractors/object.d.ts.map +1 -1
- package/dist/extractors/live-org/extractors/object.js +127 -226
- package/dist/extractors/live-org/extractors/object.js.map +1 -1
- package/dist/extractors/live-org/extractors/omnistudio-retrieve.d.ts.map +1 -1
- package/dist/extractors/live-org/extractors/omnistudio-retrieve.js.map +1 -1
- package/dist/extractors/live-org/extractors/omnistudio.d.ts +11 -1
- package/dist/extractors/live-org/extractors/omnistudio.d.ts.map +1 -1
- package/dist/extractors/live-org/extractors/omnistudio.js +104 -16
- package/dist/extractors/live-org/extractors/omnistudio.js.map +1 -1
- package/dist/extractors/live-org/extractors/security.d.ts +12 -1
- package/dist/extractors/live-org/extractors/security.d.ts.map +1 -1
- package/dist/extractors/live-org/extractors/security.js +29 -7
- package/dist/extractors/live-org/extractors/security.js.map +1 -1
- package/dist/extractors/live-org/rate-limit.d.ts +48 -16
- package/dist/extractors/live-org/rate-limit.d.ts.map +1 -1
- package/dist/extractors/live-org/rate-limit.js +235 -40
- package/dist/extractors/live-org/rate-limit.js.map +1 -1
- package/dist/extractors/live-org/retry.d.ts +136 -0
- package/dist/extractors/live-org/retry.d.ts.map +1 -0
- package/dist/extractors/live-org/retry.js +416 -0
- package/dist/extractors/live-org/retry.js.map +1 -0
- package/dist/extractors/live-org/vlocity/runner.d.ts +2 -1
- package/dist/extractors/live-org/vlocity/runner.d.ts.map +1 -1
- package/dist/extractors/live-org/vlocity/runner.js +124 -72
- package/dist/extractors/live-org/vlocity/runner.js.map +1 -1
- package/dist/extractors/vlocity-shared/row.d.ts +19 -0
- package/dist/extractors/vlocity-shared/row.d.ts.map +1 -0
- package/dist/extractors/vlocity-shared/row.js +69 -0
- package/dist/extractors/vlocity-shared/row.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/ingest/delta.d.ts +70 -0
- package/dist/ingest/delta.d.ts.map +1 -0
- package/dist/ingest/delta.js +534 -0
- package/dist/ingest/delta.js.map +1 -0
- package/dist/ingest/detect-deletions-guard.d.ts +79 -0
- package/dist/ingest/detect-deletions-guard.d.ts.map +1 -0
- package/dist/ingest/detect-deletions-guard.js +122 -0
- package/dist/ingest/detect-deletions-guard.js.map +1 -0
- package/dist/ingest/index.d.ts +8 -1
- package/dist/ingest/index.d.ts.map +1 -1
- package/dist/ingest/index.js +4 -0
- package/dist/ingest/index.js.map +1 -1
- package/dist/ingest/live-ingest.d.ts +180 -0
- package/dist/ingest/live-ingest.d.ts.map +1 -1
- package/dist/ingest/live-ingest.js +1617 -625
- package/dist/ingest/live-ingest.js.map +1 -1
- package/dist/ingest/lock.d.ts +47 -0
- package/dist/ingest/lock.d.ts.map +1 -0
- package/dist/ingest/lock.js +222 -0
- package/dist/ingest/lock.js.map +1 -0
- package/dist/ingest/member-rows.d.ts +88 -0
- package/dist/ingest/member-rows.d.ts.map +1 -0
- package/dist/ingest/member-rows.js +152 -0
- package/dist/ingest/member-rows.js.map +1 -0
- package/dist/ingest/offline-org.d.ts +8 -0
- package/dist/ingest/offline-org.d.ts.map +1 -0
- package/dist/ingest/offline-org.js +41 -0
- package/dist/ingest/offline-org.js.map +1 -0
- package/dist/ingest/parse-member.d.ts +53 -0
- package/dist/ingest/parse-member.d.ts.map +1 -0
- package/dist/ingest/parse-member.js +276 -0
- package/dist/ingest/parse-member.js.map +1 -0
- package/dist/ingest/parse-pool.d.ts +139 -0
- package/dist/ingest/parse-pool.d.ts.map +1 -0
- package/dist/ingest/parse-pool.js +593 -0
- package/dist/ingest/parse-pool.js.map +1 -0
- package/dist/ingest/parse-worker.d.ts +3 -0
- package/dist/ingest/parse-worker.d.ts.map +1 -0
- package/dist/ingest/parse-worker.js +100 -0
- package/dist/ingest/parse-worker.js.map +1 -0
- package/dist/ingest/profile.d.ts +27 -0
- package/dist/ingest/profile.d.ts.map +1 -0
- package/dist/ingest/profile.js +48 -0
- package/dist/ingest/profile.js.map +1 -0
- package/dist/ingest/resolver-gates.d.ts +12 -0
- package/dist/ingest/resolver-gates.d.ts.map +1 -0
- package/dist/ingest/resolver-gates.js +53 -0
- package/dist/ingest/resolver-gates.js.map +1 -0
- package/dist/parsers/apex/arity-resolver.d.ts +16 -3
- package/dist/parsers/apex/arity-resolver.d.ts.map +1 -1
- package/dist/parsers/apex/arity-resolver.js +31 -2
- package/dist/parsers/apex/arity-resolver.js.map +1 -1
- package/dist/parsers/apex/ast-extractor.d.ts +4 -0
- package/dist/parsers/apex/ast-extractor.d.ts.map +1 -1
- package/dist/parsers/apex/ast-extractor.js +128 -29
- package/dist/parsers/apex/ast-extractor.js.map +1 -1
- package/dist/parsers/apex/class-refs.d.ts +78 -0
- package/dist/parsers/apex/class-refs.d.ts.map +1 -0
- package/dist/parsers/apex/class-refs.js +465 -0
- package/dist/parsers/apex/class-refs.js.map +1 -0
- package/dist/parsers/apex/class.d.ts +158 -0
- package/dist/parsers/apex/class.d.ts.map +1 -1
- package/dist/parsers/apex/class.js +1073 -172
- package/dist/parsers/apex/class.js.map +1 -1
- package/dist/parsers/apex/dynamic-soql.d.ts +52 -0
- package/dist/parsers/apex/dynamic-soql.d.ts.map +1 -0
- package/dist/parsers/apex/dynamic-soql.js +427 -0
- package/dist/parsers/apex/dynamic-soql.js.map +1 -0
- package/dist/parsers/apex/field-access.d.ts +65 -0
- package/dist/parsers/apex/field-access.d.ts.map +1 -0
- package/dist/parsers/apex/field-access.js +438 -0
- package/dist/parsers/apex/field-access.js.map +1 -0
- package/dist/parsers/apex/interface-ref-resolver.d.ts +32 -0
- package/dist/parsers/apex/interface-ref-resolver.d.ts.map +1 -0
- package/dist/parsers/apex/interface-ref-resolver.js +64 -0
- package/dist/parsers/apex/interface-ref-resolver.js.map +1 -0
- package/dist/parsers/apex/name-refs.d.ts +83 -0
- package/dist/parsers/apex/name-refs.d.ts.map +1 -0
- package/dist/parsers/apex/name-refs.js +465 -0
- package/dist/parsers/apex/name-refs.js.map +1 -0
- package/dist/parsers/apex/page-refs.d.ts +11 -0
- package/dist/parsers/apex/page-refs.d.ts.map +1 -0
- package/dist/parsers/apex/page-refs.js +34 -0
- package/dist/parsers/apex/page-refs.js.map +1 -0
- package/dist/parsers/apex/ref-resolver.d.ts +58 -0
- package/dist/parsers/apex/ref-resolver.d.ts.map +1 -0
- package/dist/parsers/apex/ref-resolver.js +348 -0
- package/dist/parsers/apex/ref-resolver.js.map +1 -0
- package/dist/parsers/apex/soql-fields.d.ts +75 -0
- package/dist/parsers/apex/soql-fields.d.ts.map +1 -0
- package/dist/parsers/apex/soql-fields.js +338 -0
- package/dist/parsers/apex/soql-fields.js.map +1 -0
- package/dist/parsers/apex/trigger.d.ts.map +1 -1
- package/dist/parsers/apex/trigger.js +100 -2
- package/dist/parsers/apex/trigger.js.map +1 -1
- package/dist/parsers/apex/vlocity-calls.d.ts +25 -0
- package/dist/parsers/apex/vlocity-calls.d.ts.map +1 -0
- package/dist/parsers/apex/vlocity-calls.js +225 -0
- package/dist/parsers/apex/vlocity-calls.js.map +1 -0
- package/dist/parsers/aura/bundle.d.ts +39 -0
- package/dist/parsers/aura/bundle.d.ts.map +1 -0
- package/dist/parsers/aura/bundle.js +269 -0
- package/dist/parsers/aura/bundle.js.map +1 -0
- package/dist/parsers/aura/embed-resolver.d.ts +17 -0
- package/dist/parsers/aura/embed-resolver.d.ts.map +1 -0
- package/dist/parsers/aura/embed-resolver.js +58 -0
- package/dist/parsers/aura/embed-resolver.js.map +1 -0
- package/dist/parsers/aura/index.d.ts +4 -0
- package/dist/parsers/aura/index.d.ts.map +1 -0
- package/dist/parsers/aura/index.js +6 -0
- package/dist/parsers/aura/index.js.map +1 -0
- package/dist/parsers/common.d.ts +9 -0
- package/dist/parsers/common.d.ts.map +1 -1
- package/dist/parsers/common.js +17 -0
- package/dist/parsers/common.js.map +1 -1
- package/dist/parsers/cross-flavor-resolver.js +8 -2
- package/dist/parsers/cross-flavor-resolver.js.map +1 -1
- package/dist/parsers/flow/invocable-resolver.d.ts.map +1 -1
- package/dist/parsers/flow/invocable-resolver.js +2 -0
- package/dist/parsers/flow/invocable-resolver.js.map +1 -1
- package/dist/parsers/flow/parser.d.ts +9 -0
- package/dist/parsers/flow/parser.d.ts.map +1 -1
- package/dist/parsers/flow/parser.js +327 -2
- package/dist/parsers/flow/parser.js.map +1 -1
- package/dist/parsers/flow/relationship-resolver.d.ts +34 -0
- package/dist/parsers/flow/relationship-resolver.d.ts.map +1 -0
- package/dist/parsers/flow/relationship-resolver.js +199 -0
- package/dist/parsers/flow/relationship-resolver.js.map +1 -0
- package/dist/parsers/generic/opaque-node-parser.d.ts +5 -1
- package/dist/parsers/generic/opaque-node-parser.d.ts.map +1 -1
- package/dist/parsers/generic/opaque-node-parser.js +37 -5
- package/dist/parsers/generic/opaque-node-parser.js.map +1 -1
- package/dist/parsers/generic/reflection-walker.d.ts +7 -0
- package/dist/parsers/generic/reflection-walker.d.ts.map +1 -1
- package/dist/parsers/generic/reflection-walker.js +38 -13
- package/dist/parsers/generic/reflection-walker.js.map +1 -1
- package/dist/parsers/hash-salts.d.ts +72 -0
- package/dist/parsers/hash-salts.d.ts.map +1 -0
- package/dist/parsers/hash-salts.js +91 -0
- package/dist/parsers/hash-salts.js.map +1 -0
- package/dist/parsers/index.d.ts +2 -0
- package/dist/parsers/index.d.ts.map +1 -1
- package/dist/parsers/index.js +2 -0
- package/dist/parsers/index.js.map +1 -1
- package/dist/parsers/lwc/bundle.d.ts +1 -0
- package/dist/parsers/lwc/bundle.d.ts.map +1 -1
- package/dist/parsers/lwc/bundle.js +37 -2
- package/dist/parsers/lwc/bundle.js.map +1 -1
- package/dist/parsers/lwc/field-key-resolver.d.ts +32 -0
- package/dist/parsers/lwc/field-key-resolver.d.ts.map +1 -0
- package/dist/parsers/lwc/field-key-resolver.js +92 -0
- package/dist/parsers/lwc/field-key-resolver.js.map +1 -0
- package/dist/parsers/lwc/html-visitor.d.ts +1 -1
- package/dist/parsers/lwc/html-visitor.d.ts.map +1 -1
- package/dist/parsers/lwc/html-visitor.js +81 -3
- package/dist/parsers/lwc/html-visitor.js.map +1 -1
- package/dist/parsers/lwc/js-visitor.d.ts +16 -0
- package/dist/parsers/lwc/js-visitor.d.ts.map +1 -1
- package/dist/parsers/lwc/js-visitor.js +354 -12
- package/dist/parsers/lwc/js-visitor.js.map +1 -1
- package/dist/parsers/lwc/omnidef.d.ts +10 -0
- package/dist/parsers/lwc/omnidef.d.ts.map +1 -0
- package/dist/parsers/lwc/omnidef.js +127 -0
- package/dist/parsers/lwc/omnidef.js.map +1 -0
- package/dist/parsers/lwc/xml-meta.d.ts.map +1 -1
- package/dist/parsers/lwc/xml-meta.js +16 -1
- package/dist/parsers/lwc/xml-meta.js.map +1 -1
- package/dist/parsers/object/formula-hop-resolver.d.ts +33 -0
- package/dist/parsers/object/formula-hop-resolver.d.ts.map +1 -0
- package/dist/parsers/object/formula-hop-resolver.js +60 -0
- package/dist/parsers/object/formula-hop-resolver.js.map +1 -0
- package/dist/parsers/object/formula-refs.d.ts +40 -0
- package/dist/parsers/object/formula-refs.d.ts.map +1 -0
- package/dist/parsers/object/formula-refs.js +129 -0
- package/dist/parsers/object/formula-refs.js.map +1 -0
- package/dist/parsers/object/object.d.ts +3 -0
- package/dist/parsers/object/object.d.ts.map +1 -1
- package/dist/parsers/object/object.js +54 -57
- package/dist/parsers/object/object.js.map +1 -1
- package/dist/parsers/omnistudio/data-transform.d.ts.map +1 -1
- package/dist/parsers/omnistudio/data-transform.js +40 -7
- package/dist/parsers/omnistudio/data-transform.js.map +1 -1
- package/dist/parsers/omnistudio/integration-procedure.d.ts.map +1 -1
- package/dist/parsers/omnistudio/integration-procedure.js +6 -6
- package/dist/parsers/omnistudio/integration-procedure.js.map +1 -1
- package/dist/parsers/omnistudio/overlap-detector.d.ts.map +1 -1
- package/dist/parsers/omnistudio/overlap-detector.js +29 -11
- package/dist/parsers/omnistudio/overlap-detector.js.map +1 -1
- package/dist/parsers/omnistudio/process.d.ts.map +1 -1
- package/dist/parsers/omnistudio/process.js +6 -6
- package/dist/parsers/omnistudio/process.js.map +1 -1
- package/dist/parsers/omnistudio/remote-refs.d.ts +11 -0
- package/dist/parsers/omnistudio/remote-refs.d.ts.map +1 -0
- package/dist/parsers/omnistudio/remote-refs.js +17 -0
- package/dist/parsers/omnistudio/remote-refs.js.map +1 -0
- package/dist/parsers/omnistudio/ui-card.d.ts.map +1 -1
- package/dist/parsers/omnistudio/ui-card.js +6 -6
- package/dist/parsers/omnistudio/ui-card.js.map +1 -1
- package/dist/parsers/resolver-prune.d.ts +14 -0
- package/dist/parsers/resolver-prune.d.ts.map +1 -0
- package/dist/parsers/resolver-prune.js +29 -0
- package/dist/parsers/resolver-prune.js.map +1 -0
- package/dist/parsers/rules/_engine.d.ts.map +1 -1
- package/dist/parsers/rules/_engine.js +4 -0
- package/dist/parsers/rules/_engine.js.map +1 -1
- package/dist/parsers/rules/_engine.ts +3 -0
- package/dist/parsers/rules/_loader.d.ts +8 -0
- package/dist/parsers/rules/_loader.d.ts.map +1 -1
- package/dist/parsers/rules/_loader.js +17 -0
- package/dist/parsers/rules/_loader.js.map +1 -1
- package/dist/parsers/rules/_loader.ts +19 -0
- package/dist/parsers/rules/_schema.d.ts +12 -12
- package/dist/parsers/rules/_selectors.d.ts +1 -0
- package/dist/parsers/rules/_selectors.d.ts.map +1 -1
- package/dist/parsers/rules/_selectors.js +6 -0
- package/dist/parsers/rules/_selectors.js.map +1 -1
- package/dist/parsers/rules/_selectors.ts +6 -0
- package/dist/parsers/rules/apex-component.yml +49 -4
- package/dist/parsers/rules/apex-page.yml +49 -4
- package/dist/parsers/rules/approval-process.yml +25 -5
- package/dist/parsers/rules/custom-metadata-type.yml +14 -7
- package/dist/parsers/rules/custom-setting.yml +24 -0
- package/dist/parsers/rules/custom-tab.yml +41 -0
- package/dist/parsers/rules/lightning-page.yml +4 -2
- package/dist/parsers/rules/workflow.yml +30 -10
- package/dist/parsers/vf/refs.d.ts +39 -0
- package/dist/parsers/vf/refs.d.ts.map +1 -0
- package/dist/parsers/vf/refs.js +152 -0
- package/dist/parsers/vf/refs.js.map +1 -0
- package/dist/parsers/vlocity/apex-resolver.d.ts +21 -0
- package/dist/parsers/vlocity/apex-resolver.d.ts.map +1 -0
- package/dist/parsers/vlocity/apex-resolver.js +115 -0
- package/dist/parsers/vlocity/apex-resolver.js.map +1 -0
- package/dist/parsers/vlocity/common.d.ts +72 -1
- package/dist/parsers/vlocity/common.d.ts.map +1 -1
- package/dist/parsers/vlocity/common.js +332 -2
- package/dist/parsers/vlocity/common.js.map +1 -1
- package/dist/parsers/vlocity/data-raptor.d.ts +9 -0
- package/dist/parsers/vlocity/data-raptor.d.ts.map +1 -1
- package/dist/parsers/vlocity/data-raptor.js +148 -17
- package/dist/parsers/vlocity/data-raptor.js.map +1 -1
- package/dist/parsers/vlocity/datapack-refs.d.ts +22 -0
- package/dist/parsers/vlocity/datapack-refs.d.ts.map +1 -0
- package/dist/parsers/vlocity/datapack-refs.js +126 -0
- package/dist/parsers/vlocity/datapack-refs.js.map +1 -0
- package/dist/parsers/vlocity/dr-relationship-resolver.d.ts +26 -0
- package/dist/parsers/vlocity/dr-relationship-resolver.d.ts.map +1 -0
- package/dist/parsers/vlocity/dr-relationship-resolver.js +137 -0
- package/dist/parsers/vlocity/dr-relationship-resolver.js.map +1 -0
- package/dist/parsers/vlocity/integration-procedure.d.ts.map +1 -1
- package/dist/parsers/vlocity/integration-procedure.js +15 -48
- package/dist/parsers/vlocity/integration-procedure.js.map +1 -1
- package/dist/parsers/vlocity/name-match-resolver.d.ts +21 -0
- package/dist/parsers/vlocity/name-match-resolver.d.ts.map +1 -0
- package/dist/parsers/vlocity/name-match-resolver.js +97 -0
- package/dist/parsers/vlocity/name-match-resolver.js.map +1 -0
- package/dist/parsers/vlocity/omni-script.d.ts.map +1 -1
- package/dist/parsers/vlocity/omni-script.js +18 -32
- package/dist/parsers/vlocity/omni-script.js.map +1 -1
- package/dist/parsers/vlocity/vlocity-card.d.ts.map +1 -1
- package/dist/parsers/vlocity/vlocity-card.js +30 -36
- package/dist/parsers/vlocity/vlocity-card.js.map +1 -1
- package/dist/render/mermaid/dependency-graph.d.ts.map +1 -1
- package/dist/render/mermaid/dependency-graph.js +13 -1
- package/dist/render/mermaid/dependency-graph.js.map +1 -1
- package/dist/render/mermaid/diff.d.ts.map +1 -1
- package/dist/render/mermaid/diff.js +4 -2
- package/dist/render/mermaid/diff.js.map +1 -1
- package/dist/render/mermaid/shared.d.ts +7 -0
- package/dist/render/mermaid/shared.d.ts.map +1 -1
- package/dist/render/mermaid/shared.js +15 -6
- package/dist/render/mermaid/shared.js.map +1 -1
- package/dist/render/sarif.d.ts.map +1 -1
- package/dist/render/sarif.js +1 -3
- package/dist/render/sarif.js.map +1 -1
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +2 -2
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/interfaces.d.ts +212 -1
- package/dist/storage/interfaces.d.ts.map +1 -1
- package/dist/storage/sqlite/graph-store.d.ts +366 -3
- package/dist/storage/sqlite/graph-store.d.ts.map +1 -1
- package/dist/storage/sqlite/graph-store.js +1755 -68
- package/dist/storage/sqlite/graph-store.js.map +1 -1
- package/dist/storage/sqlite/migrations.d.ts +11 -0
- package/dist/storage/sqlite/migrations.d.ts.map +1 -1
- package/dist/storage/sqlite/migrations.js +245 -11
- package/dist/storage/sqlite/migrations.js.map +1 -1
- package/dist/storage/sqlite/rename-stability.d.ts +1 -1
- package/dist/storage/sqlite/rename-stability.d.ts.map +1 -1
- package/dist/storage/sqlite/rename-stability.js +2 -6
- package/dist/storage/sqlite/rename-stability.js.map +1 -1
- package/dist/storage/sqlite/snapshot-store.d.ts +79 -3
- package/dist/storage/sqlite/snapshot-store.d.ts.map +1 -1
- package/dist/storage/sqlite/snapshot-store.js +500 -100
- package/dist/storage/sqlite/snapshot-store.js.map +1 -1
- package/dist/storage/sqlite/snapshot-versions.d.ts +51 -0
- package/dist/storage/sqlite/snapshot-versions.d.ts.map +1 -0
- package/dist/storage/sqlite/snapshot-versions.js +209 -0
- package/dist/storage/sqlite/snapshot-versions.js.map +1 -0
- package/dist/storage/sqlite/vector-store.d.ts +12 -0
- package/dist/storage/sqlite/vector-store.d.ts.map +1 -1
- package/dist/storage/sqlite/vector-store.js +57 -14
- package/dist/storage/sqlite/vector-store.js.map +1 -1
- package/dist/util/process-owner.d.ts +35 -0
- package/dist/util/process-owner.d.ts.map +1 -0
- package/dist/util/process-owner.js +87 -0
- package/dist/util/process-owner.js.map +1 -0
- package/dist/util/worker-heap-cap.d.ts +10 -0
- package/dist/util/worker-heap-cap.d.ts.map +1 -0
- package/dist/util/worker-heap-cap.js +65 -0
- package/dist/util/worker-heap-cap.js.map +1 -0
- package/package.json +6 -7
- package/dist/analyze/__tests__/audit-graph.test.d.ts +0 -2
- package/dist/analyze/__tests__/audit-graph.test.d.ts.map +0 -1
- package/dist/analyze/__tests__/audit-graph.test.js +0 -122
- package/dist/analyze/__tests__/audit-graph.test.js.map +0 -1
- package/dist/analyze/__tests__/cross-org-two-store.test.d.ts +0 -2
- package/dist/analyze/__tests__/cross-org-two-store.test.d.ts.map +0 -1
- package/dist/analyze/__tests__/cross-org-two-store.test.js +0 -68
- package/dist/analyze/__tests__/cross-org-two-store.test.js.map +0 -1
- package/dist/analyze/__tests__/dead-code-confidence.test.d.ts +0 -2
- package/dist/analyze/__tests__/dead-code-confidence.test.d.ts.map +0 -1
- package/dist/analyze/__tests__/dead-code-confidence.test.js +0 -66
- package/dist/analyze/__tests__/dead-code-confidence.test.js.map +0 -1
- package/dist/analyze/__tests__/deployment-manifest.test.d.ts +0 -2
- package/dist/analyze/__tests__/deployment-manifest.test.d.ts.map +0 -1
- package/dist/analyze/__tests__/deployment-manifest.test.js +0 -66
- package/dist/analyze/__tests__/deployment-manifest.test.js.map +0 -1
- package/dist/analyze/__tests__/find-nodes.test.d.ts +0 -2
- package/dist/analyze/__tests__/find-nodes.test.d.ts.map +0 -1
- package/dist/analyze/__tests__/find-nodes.test.js +0 -129
- package/dist/analyze/__tests__/find-nodes.test.js.map +0 -1
- package/dist/analyze/__tests__/findings.test.d.ts +0 -2
- package/dist/analyze/__tests__/findings.test.d.ts.map +0 -1
- package/dist/analyze/__tests__/findings.test.js +0 -90
- package/dist/analyze/__tests__/findings.test.js.map +0 -1
- package/dist/analyze/__tests__/governor-risks-detection.test.d.ts +0 -2
- package/dist/analyze/__tests__/governor-risks-detection.test.d.ts.map +0 -1
- package/dist/analyze/__tests__/governor-risks-detection.test.js +0 -70
- package/dist/analyze/__tests__/governor-risks-detection.test.js.map +0 -1
- package/dist/analyze/__tests__/populate.test.d.ts +0 -2
- package/dist/analyze/__tests__/populate.test.d.ts.map +0 -1
- package/dist/analyze/__tests__/populate.test.js +0 -129
- package/dist/analyze/__tests__/populate.test.js.map +0 -1
- package/dist/analyze/__tests__/traversal-caps.test.d.ts +0 -2
- package/dist/analyze/__tests__/traversal-caps.test.d.ts.map +0 -1
- package/dist/analyze/__tests__/traversal-caps.test.js +0 -129
- package/dist/analyze/__tests__/traversal-caps.test.js.map +0 -1
- package/dist/analyze/__tests__/wip-impact.test.d.ts +0 -2
- package/dist/analyze/__tests__/wip-impact.test.d.ts.map +0 -1
- package/dist/analyze/__tests__/wip-impact.test.js +0 -134
- package/dist/analyze/__tests__/wip-impact.test.js.map +0 -1
- package/dist/embedding/__tests__/embed.test.d.ts +0 -2
- package/dist/embedding/__tests__/embed.test.d.ts.map +0 -1
- package/dist/embedding/__tests__/embed.test.js +0 -72
- package/dist/embedding/__tests__/embed.test.js.map +0 -1
- package/dist/embedding/__tests__/queue.test.d.ts +0 -2
- package/dist/embedding/__tests__/queue.test.d.ts.map +0 -1
- package/dist/embedding/__tests__/queue.test.js +0 -64
- package/dist/embedding/__tests__/queue.test.js.map +0 -1
- package/dist/extractors/__tests__/network-egress.test.d.ts +0 -2
- package/dist/extractors/__tests__/network-egress.test.d.ts.map +0 -1
- package/dist/extractors/__tests__/network-egress.test.js +0 -32
- package/dist/extractors/__tests__/network-egress.test.js.map +0 -1
- package/dist/extractors/filesystem/__tests__/filesystem.test.d.ts +0 -2
- package/dist/extractors/filesystem/__tests__/filesystem.test.d.ts.map +0 -1
- package/dist/extractors/filesystem/__tests__/filesystem.test.js +0 -96
- package/dist/extractors/filesystem/__tests__/filesystem.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/_jsforce-mock.d.ts +0 -38
- package/dist/extractors/live-org/__tests__/_jsforce-mock.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/_jsforce-mock.js +0 -96
- package/dist/extractors/live-org/__tests__/_jsforce-mock.js.map +0 -1
- package/dist/extractors/live-org/__tests__/auth.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/auth.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/auth.test.js +0 -85
- package/dist/extractors/live-org/__tests__/auth.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/bulk-retrieve.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/bulk-retrieve.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/bulk-retrieve.test.js +0 -150
- package/dist/extractors/live-org/__tests__/bulk-retrieve.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/capabilities.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/capabilities.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/capabilities.test.js +0 -54
- package/dist/extractors/live-org/__tests__/capabilities.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/discovery.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/discovery.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/discovery.test.js +0 -55
- package/dist/extractors/live-org/__tests__/discovery.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/dispatch.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/dispatch.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/dispatch.test.js +0 -68
- package/dist/extractors/live-org/__tests__/dispatch.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/extractor-enrichment.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/extractor-enrichment.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/extractor-enrichment.test.js +0 -312
- package/dist/extractors/live-org/__tests__/extractor-enrichment.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/liveness.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/liveness.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/liveness.test.js +0 -148
- package/dist/extractors/live-org/__tests__/liveness.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/mcd-baseline.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/mcd-baseline.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/mcd-baseline.test.js +0 -174
- package/dist/extractors/live-org/__tests__/mcd-baseline.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/metadata-read-batch.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/metadata-read-batch.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/metadata-read-batch.test.js +0 -75
- package/dist/extractors/live-org/__tests__/metadata-read-batch.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/omnistudio-retrieve.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/omnistudio-retrieve.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/omnistudio-retrieve.test.js +0 -135
- package/dist/extractors/live-org/__tests__/omnistudio-retrieve.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/pools.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/pools.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/pools.test.js +0 -75
- package/dist/extractors/live-org/__tests__/pools.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/rate-limit.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/rate-limit.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/rate-limit.test.js +0 -78
- package/dist/extractors/live-org/__tests__/rate-limit.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/read-only-proxy.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/read-only-proxy.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/read-only-proxy.test.js +0 -376
- package/dist/extractors/live-org/__tests__/read-only-proxy.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/soql-rebatch.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/soql-rebatch.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/soql-rebatch.test.js +0 -118
- package/dist/extractors/live-org/__tests__/soql-rebatch.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/source-member.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/source-member.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/source-member.test.js +0 -84
- package/dist/extractors/live-org/__tests__/source-member.test.js.map +0 -1
- package/dist/extractors/live-org/__tests__/vlocity-runner.test.d.ts +0 -2
- package/dist/extractors/live-org/__tests__/vlocity-runner.test.d.ts.map +0 -1
- package/dist/extractors/live-org/__tests__/vlocity-runner.test.js +0 -115
- package/dist/extractors/live-org/__tests__/vlocity-runner.test.js.map +0 -1
- package/dist/ingest/__tests__/full-sync-deletion.test.d.ts +0 -2
- package/dist/ingest/__tests__/full-sync-deletion.test.d.ts.map +0 -1
- package/dist/ingest/__tests__/full-sync-deletion.test.js +0 -200
- package/dist/ingest/__tests__/full-sync-deletion.test.js.map +0 -1
- package/dist/ingest/__tests__/incremental-deletion.test.d.ts +0 -2
- package/dist/ingest/__tests__/incremental-deletion.test.d.ts.map +0 -1
- package/dist/ingest/__tests__/incremental-deletion.test.js +0 -92
- package/dist/ingest/__tests__/incremental-deletion.test.js.map +0 -1
- package/dist/ingest/__tests__/live-ingest.test.d.ts +0 -2
- package/dist/ingest/__tests__/live-ingest.test.d.ts.map +0 -1
- package/dist/ingest/__tests__/live-ingest.test.js +0 -155
- package/dist/ingest/__tests__/live-ingest.test.js.map +0 -1
- package/dist/ingest/__tests__/multi-org-orchestrator.test.d.ts +0 -2
- package/dist/ingest/__tests__/multi-org-orchestrator.test.d.ts.map +0 -1
- package/dist/ingest/__tests__/multi-org-orchestrator.test.js +0 -108
- package/dist/ingest/__tests__/multi-org-orchestrator.test.js.map +0 -1
- package/dist/ingest/__tests__/read-only-wrapping.test.d.ts +0 -2
- package/dist/ingest/__tests__/read-only-wrapping.test.d.ts.map +0 -1
- package/dist/ingest/__tests__/read-only-wrapping.test.js +0 -62
- package/dist/ingest/__tests__/read-only-wrapping.test.js.map +0 -1
- package/dist/parsers/__tests__/_harness.d.ts +0 -13
- package/dist/parsers/__tests__/_harness.d.ts.map +0 -1
- package/dist/parsers/__tests__/_harness.js +0 -84
- package/dist/parsers/__tests__/_harness.js.map +0 -1
- package/dist/parsers/__tests__/apex.golden.test.d.ts +0 -2
- package/dist/parsers/__tests__/apex.golden.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/apex.golden.test.js +0 -28
- package/dist/parsers/__tests__/apex.golden.test.js.map +0 -1
- package/dist/parsers/__tests__/cross-flavor.test.d.ts +0 -2
- package/dist/parsers/__tests__/cross-flavor.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/cross-flavor.test.js +0 -56
- package/dist/parsers/__tests__/cross-flavor.test.js.map +0 -1
- package/dist/parsers/__tests__/edge-provenance.test.d.ts +0 -2
- package/dist/parsers/__tests__/edge-provenance.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/edge-provenance.test.js +0 -44
- package/dist/parsers/__tests__/edge-provenance.test.js.map +0 -1
- package/dist/parsers/__tests__/flow.golden.test.d.ts +0 -2
- package/dist/parsers/__tests__/flow.golden.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/flow.golden.test.js +0 -17
- package/dist/parsers/__tests__/flow.golden.test.js.map +0 -1
- package/dist/parsers/__tests__/integration.golden.test.d.ts +0 -2
- package/dist/parsers/__tests__/integration.golden.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/integration.golden.test.js +0 -31
- package/dist/parsers/__tests__/integration.golden.test.js.map +0 -1
- package/dist/parsers/__tests__/long-tail.golden.test.d.ts +0 -2
- package/dist/parsers/__tests__/long-tail.golden.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/long-tail.golden.test.js +0 -115
- package/dist/parsers/__tests__/long-tail.golden.test.js.map +0 -1
- package/dist/parsers/__tests__/lwc-bindings.test.d.ts +0 -2
- package/dist/parsers/__tests__/lwc-bindings.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/lwc-bindings.test.js +0 -146
- package/dist/parsers/__tests__/lwc-bindings.test.js.map +0 -1
- package/dist/parsers/__tests__/lwc.golden.test.d.ts +0 -2
- package/dist/parsers/__tests__/lwc.golden.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/lwc.golden.test.js +0 -16
- package/dist/parsers/__tests__/lwc.golden.test.js.map +0 -1
- package/dist/parsers/__tests__/mcd-gap-fills.test.d.ts +0 -2
- package/dist/parsers/__tests__/mcd-gap-fills.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/mcd-gap-fills.test.js +0 -75
- package/dist/parsers/__tests__/mcd-gap-fills.test.js.map +0 -1
- package/dist/parsers/__tests__/object-inline-fields.test.d.ts +0 -2
- package/dist/parsers/__tests__/object-inline-fields.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/object-inline-fields.test.js +0 -115
- package/dist/parsers/__tests__/object-inline-fields.test.js.map +0 -1
- package/dist/parsers/__tests__/object.golden.test.d.ts +0 -2
- package/dist/parsers/__tests__/object.golden.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/object.golden.test.js +0 -33
- package/dist/parsers/__tests__/object.golden.test.js.map +0 -1
- package/dist/parsers/__tests__/omnistudio-overlap.test.d.ts +0 -2
- package/dist/parsers/__tests__/omnistudio-overlap.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/omnistudio-overlap.test.js +0 -163
- package/dist/parsers/__tests__/omnistudio-overlap.test.js.map +0 -1
- package/dist/parsers/__tests__/omnistudio.golden.test.d.ts +0 -2
- package/dist/parsers/__tests__/omnistudio.golden.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/omnistudio.golden.test.js +0 -54
- package/dist/parsers/__tests__/omnistudio.golden.test.js.map +0 -1
- package/dist/parsers/__tests__/reflection-walker.test.d.ts +0 -2
- package/dist/parsers/__tests__/reflection-walker.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/reflection-walker.test.js +0 -162
- package/dist/parsers/__tests__/reflection-walker.test.js.map +0 -1
- package/dist/parsers/__tests__/registry.test.d.ts +0 -2
- package/dist/parsers/__tests__/registry.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/registry.test.js +0 -23
- package/dist/parsers/__tests__/registry.test.js.map +0 -1
- package/dist/parsers/__tests__/security.golden.test.d.ts +0 -2
- package/dist/parsers/__tests__/security.golden.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/security.golden.test.js +0 -31
- package/dist/parsers/__tests__/security.golden.test.js.map +0 -1
- package/dist/parsers/__tests__/vlocity.golden.test.d.ts +0 -2
- package/dist/parsers/__tests__/vlocity.golden.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/vlocity.golden.test.js +0 -109
- package/dist/parsers/__tests__/vlocity.golden.test.js.map +0 -1
- package/dist/parsers/__tests__/worker-pool.test.d.ts +0 -2
- package/dist/parsers/__tests__/worker-pool.test.d.ts.map +0 -1
- package/dist/parsers/__tests__/worker-pool.test.js +0 -48
- package/dist/parsers/__tests__/worker-pool.test.js.map +0 -1
- package/dist/parsers/apex/__tests__/arity-resolver.test.d.ts +0 -2
- package/dist/parsers/apex/__tests__/arity-resolver.test.d.ts.map +0 -1
- package/dist/parsers/apex/__tests__/arity-resolver.test.js +0 -135
- package/dist/parsers/apex/__tests__/arity-resolver.test.js.map +0 -1
- package/dist/parsers/apex/__tests__/ast-extractor.test.d.ts +0 -2
- package/dist/parsers/apex/__tests__/ast-extractor.test.d.ts.map +0 -1
- package/dist/parsers/apex/__tests__/ast-extractor.test.js +0 -146
- package/dist/parsers/apex/__tests__/ast-extractor.test.js.map +0 -1
- package/dist/parsers/apex/__tests__/is-test-attribute.test.d.ts +0 -2
- package/dist/parsers/apex/__tests__/is-test-attribute.test.d.ts.map +0 -1
- package/dist/parsers/apex/__tests__/is-test-attribute.test.js +0 -54
- package/dist/parsers/apex/__tests__/is-test-attribute.test.js.map +0 -1
- package/dist/parsers/apex/__tests__/regex-arg-count.test.d.ts +0 -2
- package/dist/parsers/apex/__tests__/regex-arg-count.test.d.ts.map +0 -1
- package/dist/parsers/apex/__tests__/regex-arg-count.test.js +0 -82
- package/dist/parsers/apex/__tests__/regex-arg-count.test.js.map +0 -1
- package/dist/parsers/flow/__tests__/invocable-resolver.test.d.ts +0 -2
- package/dist/parsers/flow/__tests__/invocable-resolver.test.d.ts.map +0 -1
- package/dist/parsers/flow/__tests__/invocable-resolver.test.js +0 -91
- package/dist/parsers/flow/__tests__/invocable-resolver.test.js.map +0 -1
- package/dist/parsers/rules/__tests__/applies-to.test.d.ts +0 -2
- package/dist/parsers/rules/__tests__/applies-to.test.d.ts.map +0 -1
- package/dist/parsers/rules/__tests__/applies-to.test.js +0 -31
- package/dist/parsers/rules/__tests__/applies-to.test.js.map +0 -1
- package/dist/parsers/rules/__tests__/applies-to.test.ts +0 -40
- package/dist/parsers/rules/__tests__/engine.test.d.ts +0 -2
- package/dist/parsers/rules/__tests__/engine.test.d.ts.map +0 -1
- package/dist/parsers/rules/__tests__/engine.test.js +0 -127
- package/dist/parsers/rules/__tests__/engine.test.js.map +0 -1
- package/dist/parsers/rules/__tests__/engine.test.ts +0 -138
- package/dist/parsers/rules/__tests__/loader.test.d.ts +0 -2
- package/dist/parsers/rules/__tests__/loader.test.d.ts.map +0 -1
- package/dist/parsers/rules/__tests__/loader.test.js +0 -31
- package/dist/parsers/rules/__tests__/loader.test.js.map +0 -1
- package/dist/parsers/rules/__tests__/loader.test.ts +0 -37
- package/dist/parsers/rules/__tests__/schema.test.d.ts +0 -2
- package/dist/parsers/rules/__tests__/schema.test.d.ts.map +0 -1
- package/dist/parsers/rules/__tests__/schema.test.js +0 -33
- package/dist/parsers/rules/__tests__/schema.test.js.map +0 -1
- package/dist/parsers/rules/__tests__/schema.test.ts +0 -37
- package/dist/parsers/rules/__tests__/selectors.test.d.ts +0 -2
- package/dist/parsers/rules/__tests__/selectors.test.d.ts.map +0 -1
- package/dist/parsers/rules/__tests__/selectors.test.js +0 -51
- package/dist/parsers/rules/__tests__/selectors.test.js.map +0 -1
- package/dist/parsers/rules/__tests__/selectors.test.ts +0 -62
- package/dist/render/__tests__/sarif.test.d.ts +0 -2
- package/dist/render/__tests__/sarif.test.d.ts.map +0 -1
- package/dist/render/__tests__/sarif.test.js +0 -129
- package/dist/render/__tests__/sarif.test.js.map +0 -1
- package/dist/render/mermaid/__tests__/mermaid.test.d.ts +0 -2
- package/dist/render/mermaid/__tests__/mermaid.test.d.ts.map +0 -1
- package/dist/render/mermaid/__tests__/mermaid.test.js +0 -74
- package/dist/render/mermaid/__tests__/mermaid.test.js.map +0 -1
- package/dist/storage/__tests__/analysis-tables-migration.test.d.ts +0 -2
- package/dist/storage/__tests__/analysis-tables-migration.test.d.ts.map +0 -1
- package/dist/storage/__tests__/analysis-tables-migration.test.js +0 -44
- package/dist/storage/__tests__/analysis-tables-migration.test.js.map +0 -1
- package/dist/storage/__tests__/graph-store.test.d.ts +0 -2
- package/dist/storage/__tests__/graph-store.test.d.ts.map +0 -1
- package/dist/storage/__tests__/graph-store.test.js +0 -132
- package/dist/storage/__tests__/graph-store.test.js.map +0 -1
- package/dist/storage/__tests__/identifier.test.d.ts +0 -2
- package/dist/storage/__tests__/identifier.test.d.ts.map +0 -1
- package/dist/storage/__tests__/identifier.test.js +0 -35
- package/dist/storage/__tests__/identifier.test.js.map +0 -1
- package/dist/storage/__tests__/load-better-sqlite3.test.d.ts +0 -2
- package/dist/storage/__tests__/load-better-sqlite3.test.d.ts.map +0 -1
- package/dist/storage/__tests__/load-better-sqlite3.test.js +0 -65
- package/dist/storage/__tests__/load-better-sqlite3.test.js.map +0 -1
- package/dist/storage/__tests__/migrations.test.d.ts +0 -2
- package/dist/storage/__tests__/migrations.test.d.ts.map +0 -1
- package/dist/storage/__tests__/migrations.test.js +0 -93
- package/dist/storage/__tests__/migrations.test.js.map +0 -1
- package/dist/storage/__tests__/perf-50k.test.d.ts +0 -2
- package/dist/storage/__tests__/perf-50k.test.d.ts.map +0 -1
- package/dist/storage/__tests__/perf-50k.test.js +0 -67
- package/dist/storage/__tests__/perf-50k.test.js.map +0 -1
- package/dist/storage/__tests__/rename-stability.test.d.ts +0 -2
- package/dist/storage/__tests__/rename-stability.test.d.ts.map +0 -1
- package/dist/storage/__tests__/rename-stability.test.js +0 -135
- package/dist/storage/__tests__/rename-stability.test.js.map +0 -1
- package/dist/storage/__tests__/snapshot-store.test.d.ts +0 -2
- package/dist/storage/__tests__/snapshot-store.test.d.ts.map +0 -1
- package/dist/storage/__tests__/snapshot-store.test.js +0 -117
- package/dist/storage/__tests__/snapshot-store.test.js.map +0 -1
- package/dist/storage/__tests__/snippets.test.d.ts +0 -2
- package/dist/storage/__tests__/snippets.test.d.ts.map +0 -1
- package/dist/storage/__tests__/snippets.test.js +0 -88
- package/dist/storage/__tests__/snippets.test.js.map +0 -1
- package/dist/storage/__tests__/vector-store-load-failure.test.d.ts +0 -2
- package/dist/storage/__tests__/vector-store-load-failure.test.d.ts.map +0 -1
- package/dist/storage/__tests__/vector-store-load-failure.test.js +0 -42
- package/dist/storage/__tests__/vector-store-load-failure.test.js.map +0 -1
- package/dist/storage/__tests__/vector-store.test.d.ts +0 -2
- package/dist/storage/__tests__/vector-store.test.d.ts.map +0 -1
- package/dist/storage/__tests__/vector-store.test.js +0 -87
- package/dist/storage/__tests__/vector-store.test.js.map +0 -1
- package/dist/telemetry/__tests__/event-schema.test.d.ts +0 -2
- package/dist/telemetry/__tests__/event-schema.test.d.ts.map +0 -1
- package/dist/telemetry/__tests__/event-schema.test.js +0 -56
- package/dist/telemetry/__tests__/event-schema.test.js.map +0 -1
- package/dist/telemetry/__tests__/machine-id.test.d.ts +0 -2
- package/dist/telemetry/__tests__/machine-id.test.d.ts.map +0 -1
- package/dist/telemetry/__tests__/machine-id.test.js +0 -33
- package/dist/telemetry/__tests__/machine-id.test.js.map +0 -1
- package/dist/telemetry/__tests__/pipeline.test.d.ts +0 -2
- package/dist/telemetry/__tests__/pipeline.test.d.ts.map +0 -1
- package/dist/telemetry/__tests__/pipeline.test.js +0 -68
- package/dist/telemetry/__tests__/pipeline.test.js.map +0 -1
- package/dist/telemetry/__tests__/sanitizer.test.d.ts +0 -2
- package/dist/telemetry/__tests__/sanitizer.test.d.ts.map +0 -1
- package/dist/telemetry/__tests__/sanitizer.test.js +0 -143
- package/dist/telemetry/__tests__/sanitizer.test.js.map +0 -1
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { readFile, readdir, stat } from "node:fs/promises";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import { METADATA_CATEGORY } from "../../domain/metadata-category.js";
|
|
4
|
+
import { memberNameFor, normaliseRow, tryParseJsonField } from "../vlocity-shared/row.js";
|
|
5
|
+
const NS = "%vlocity_namespace%";
|
|
6
|
+
export const EPC_SKIP = new Set([
|
|
7
|
+
"Product2",
|
|
8
|
+
"PriceList",
|
|
9
|
+
"Pricebook2",
|
|
10
|
+
"PricingPlan",
|
|
11
|
+
"PricingVariable",
|
|
12
|
+
"Promotion",
|
|
13
|
+
"AttributeCategory",
|
|
14
|
+
"ProductChildItem",
|
|
15
|
+
"AttributeAssignment",
|
|
16
|
+
"PriceListEntry",
|
|
17
|
+
]);
|
|
18
|
+
const LOOKUP_TYPES = new Set(["VlocityLookupMatchingKeyObject", "VlocityMatchingKeyObject"]);
|
|
19
|
+
async function readJson(p) {
|
|
20
|
+
return JSON.parse(await readFile(p, "utf8"));
|
|
21
|
+
}
|
|
22
|
+
async function subdirs(dir) {
|
|
23
|
+
return (await readdir(dir, { withFileTypes: true }))
|
|
24
|
+
.filter((d) => d.isDirectory())
|
|
25
|
+
.map((d) => d.name)
|
|
26
|
+
.sort();
|
|
27
|
+
}
|
|
28
|
+
/** Normalise an inlined child record (Element / DRMapItem) and drop lookup-object keys. */
|
|
29
|
+
function normaliseChild(v) {
|
|
30
|
+
if (!v || typeof v !== "object" || Array.isArray(v))
|
|
31
|
+
return v;
|
|
32
|
+
const out = normaliseRow(v, NS);
|
|
33
|
+
for (const [k, val] of Object.entries(out)) {
|
|
34
|
+
if (val &&
|
|
35
|
+
typeof val === "object" &&
|
|
36
|
+
LOOKUP_TYPES.has(String(val.VlocityDataPackType))) {
|
|
37
|
+
delete out[k];
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return out;
|
|
41
|
+
}
|
|
42
|
+
/** Replace the `%vlocity_namespace%` token in a row's string values (object
|
|
43
|
+
* and field API names in DRMapItem rows) with the real package namespace,
|
|
44
|
+
* so DataRaptor field targets match the source tree's CustomField qnames. */
|
|
45
|
+
function substituteNamespace(v, ns) {
|
|
46
|
+
if (!v || typeof v !== "object" || Array.isArray(v))
|
|
47
|
+
return v;
|
|
48
|
+
const out = {};
|
|
49
|
+
for (const [k, val] of Object.entries(v)) {
|
|
50
|
+
out[k] = typeof val === "string" && val.includes(NS) ? val.split(NS).join(ns) : val;
|
|
51
|
+
}
|
|
52
|
+
return out;
|
|
53
|
+
}
|
|
54
|
+
/** Walk `<datapacksRoot>/<Type>/<Key>/<Key>_DataPack.json`, inline sibling
|
|
55
|
+
* JSON references one level deep, and yield rows shaped like the live-org
|
|
56
|
+
* Vlocity runner's output so the existing parsers run unchanged. */
|
|
57
|
+
export async function* iterDataPacks(root, report = { skipped: [], types: {} }, opts = {}) {
|
|
58
|
+
for await (const e of indexDataPacks(root, report, opts)) {
|
|
59
|
+
const m = await e.load();
|
|
60
|
+
if (m)
|
|
61
|
+
yield m;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Task 11c: the packs as index entries. Enumeration reads directories and
|
|
66
|
+
* stats files only: the key is the pack's sourceUri (`file://<..._DataPack.json>`)
|
|
67
|
+
* and the fingerprint covers every file in the pack folder plus the
|
|
68
|
+
* namespace substituted into it. `load()` reads and normalises the pack
|
|
69
|
+
* (null when it is malformed; the reason is added to `report`).
|
|
70
|
+
*/
|
|
71
|
+
export async function* indexDataPacks(root, report = { skipped: [], types: {} }, opts = {}) {
|
|
72
|
+
const ns = opts.vlocityNamespace ?? null;
|
|
73
|
+
for (const type of await subdirs(root)) {
|
|
74
|
+
if (EPC_SKIP.has(type))
|
|
75
|
+
continue;
|
|
76
|
+
const typeDir = path.join(root, type);
|
|
77
|
+
for (const key of await subdirs(typeDir)) {
|
|
78
|
+
const dir = path.join(typeDir, key);
|
|
79
|
+
let names;
|
|
80
|
+
try {
|
|
81
|
+
names = await readdir(dir);
|
|
82
|
+
}
|
|
83
|
+
catch (e) {
|
|
84
|
+
report.skipped.push({ path: dir, reason: `unreadable: ${e.message}` });
|
|
85
|
+
continue;
|
|
86
|
+
}
|
|
87
|
+
const files = new Set(names);
|
|
88
|
+
const packName = files.has(`${key}_DataPack.json`)
|
|
89
|
+
? `${key}_DataPack.json`
|
|
90
|
+
: [...files].filter((f) => f.endsWith("_DataPack.json")).sort()[0];
|
|
91
|
+
if (!packName) {
|
|
92
|
+
report.skipped.push({ path: dir, reason: "no _DataPack.json" });
|
|
93
|
+
continue;
|
|
94
|
+
}
|
|
95
|
+
const packPath = path.join(dir, packName);
|
|
96
|
+
const parts = [`ns=${ns ?? ""}`];
|
|
97
|
+
for (const f of [...names].sort()) {
|
|
98
|
+
try {
|
|
99
|
+
const st = await stat(path.join(dir, f));
|
|
100
|
+
if (st.isFile())
|
|
101
|
+
parts.push(`${f}:${st.size}:${st.mtimeMs}`);
|
|
102
|
+
}
|
|
103
|
+
catch {
|
|
104
|
+
parts.push(`${f}:?`);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
yield {
|
|
108
|
+
key: `file://${packPath}`,
|
|
109
|
+
memberType: type,
|
|
110
|
+
fingerprint: parts.join("|"),
|
|
111
|
+
load: () => loadPack(type, dir, files, packName, packPath, ns, report),
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
async function loadPack(type, dir, files, packName, packPath, ns, report) {
|
|
117
|
+
let row;
|
|
118
|
+
try {
|
|
119
|
+
const parsed = await readJson(packPath);
|
|
120
|
+
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
|
|
121
|
+
throw new Error("not a JSON object");
|
|
122
|
+
}
|
|
123
|
+
row = parsed;
|
|
124
|
+
}
|
|
125
|
+
catch (e) {
|
|
126
|
+
report.skipped.push({ path: packPath, reason: `malformed: ${e.message}` });
|
|
127
|
+
return null;
|
|
128
|
+
}
|
|
129
|
+
const inlined = new Set();
|
|
130
|
+
const inline = async (v) => {
|
|
131
|
+
if (typeof v === "string" && v.endsWith(".json") && v !== packName && files.has(v)) {
|
|
132
|
+
inlined.add(v);
|
|
133
|
+
try {
|
|
134
|
+
return await readJson(path.join(dir, v));
|
|
135
|
+
}
|
|
136
|
+
catch {
|
|
137
|
+
return v; // missing/malformed sibling: keep the filename string
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
return v;
|
|
141
|
+
};
|
|
142
|
+
for (const [k, v] of Object.entries(row)) {
|
|
143
|
+
if (Array.isArray(v)) {
|
|
144
|
+
row[k] = (await Promise.all(v.map(inline))).map(normaliseChild);
|
|
145
|
+
}
|
|
146
|
+
else {
|
|
147
|
+
const inl = await inline(v);
|
|
148
|
+
row[k] = Array.isArray(inl) ? inl.map(normaliseChild) : inl;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
const out = normaliseRow(row, NS);
|
|
152
|
+
// Orphan element files: `*_Element_*.json` siblings the pack's Element
|
|
153
|
+
// list does not name are still elements of this OmniScript/IP.
|
|
154
|
+
if (type === "OmniScript" || type === "IntegrationProcedure") {
|
|
155
|
+
const orphans = [...files]
|
|
156
|
+
.filter((f) => /_Element_.*\.json$/.test(f) && f !== packName && !inlined.has(f))
|
|
157
|
+
.sort();
|
|
158
|
+
if (orphans.length > 0) {
|
|
159
|
+
const els = Array.isArray(out.Element) ? [...out.Element] : [];
|
|
160
|
+
for (const f of orphans) {
|
|
161
|
+
try {
|
|
162
|
+
const parsed = await readJson(path.join(dir, f));
|
|
163
|
+
if (parsed && typeof parsed === "object" && !Array.isArray(parsed))
|
|
164
|
+
els.push(normaliseChild(parsed));
|
|
165
|
+
}
|
|
166
|
+
catch (e) {
|
|
167
|
+
report.skipped.push({
|
|
168
|
+
path: path.join(dir, f),
|
|
169
|
+
reason: `malformed orphan element: ${e.message}`,
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
out.Element = els;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
if ((type === "OmniScript" || type === "IntegrationProcedure") && Array.isArray(out.Element)) {
|
|
177
|
+
out.elements = out.Element;
|
|
178
|
+
}
|
|
179
|
+
if (type === "DataRaptor" && Array.isArray(out.DRMapItem)) {
|
|
180
|
+
if (ns)
|
|
181
|
+
out.DRMapItem = out.DRMapItem.map((r) => substituteNamespace(r, ns));
|
|
182
|
+
out.elements = out.DRMapItem;
|
|
183
|
+
}
|
|
184
|
+
if (type === "VlocityCard" && typeof out.Definition === "string") {
|
|
185
|
+
out.Definition = tryParseJsonField(out.Definition);
|
|
186
|
+
}
|
|
187
|
+
report.types[type] = (report.types[type] ?? 0) + 1;
|
|
188
|
+
const memberName = memberNameFor(type, out, () => report.skipped.push({ path: packPath, reason: "nameFallback: missing Type/SubType" }));
|
|
189
|
+
return {
|
|
190
|
+
ref: {
|
|
191
|
+
category: METADATA_CATEGORY.VLOCITY,
|
|
192
|
+
memberType: type,
|
|
193
|
+
memberName,
|
|
194
|
+
lastModifiedAt: "",
|
|
195
|
+
sourceUri: `file://${packPath}`,
|
|
196
|
+
namespace: null,
|
|
197
|
+
},
|
|
198
|
+
content: JSON.stringify(out),
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
//# sourceMappingURL=vlocity-datapacks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vlocity-datapacks.js","sourceRoot":"","sources":["../../../src/extractors/filesystem/vlocity-datapacks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAO1F,MAAM,EAAE,GAAG,qBAAqB,CAAC;AACjC,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC;IAC9B,UAAU;IACV,WAAW;IACX,YAAY;IACZ,aAAa;IACb,iBAAiB;IACjB,WAAW;IACX,mBAAmB;IACnB,kBAAkB;IAClB,qBAAqB;IACrB,gBAAgB;CACjB,CAAC,CAAC;AACH,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,CAAC,gCAAgC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAE7F,KAAK,UAAU,QAAQ,CAAC,CAAS;IAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;AAC/C,CAAC;AAED,KAAK,UAAU,OAAO,CAAC,GAAW;IAChC,OAAO,CA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CAAC;IACD,IAAI,IAAI,KAAK,YAAY,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC;QAC1D,IAAI,EAAE;YAAE,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;QAC7E,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,SAAS,CAAC;IAC/B,CAAC;IACD,IAAI,IAAI,KAAK,aAAa,IAAI,OAAO,GAAG,CAAC,UAAU,KAAK,QAAQ,EAAE,CAAC;QACjE,GAAG,CAAC,UAAU,GAAG,iBAAiB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACnD,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAC/C,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,oCAAoC,EAAE,CAAC,CACtF,CAAC;IACF,OAAO;QACL,GAAG,EAAE;YACH,QAAQ,EAAE,iBAAiB,CAAC,OAAO;YACnC,UAAU,EAAE,IAAI;YAChB,UAAU;YACV,cAAc,EAAE,EAAE;YAClB,SAAS,EAAE,UAAU,QAAQ,EAAE;YAC/B,SAAS,EAAE,IAAI;SAChB;QACD,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC;KAC7B,CAAC;AACJ,CAAC"}
|
|
@@ -14,8 +14,48 @@ export interface RawMember {
|
|
|
14
14
|
ref: MemberRef;
|
|
15
15
|
/** Serialized content for the parser (XML / JSON / source). May be empty for deletions. */
|
|
16
16
|
content: string;
|
|
17
|
+
/**
|
|
18
|
+
* Optional per-record metadata flags emitted by the bulk-retrieve fan-out.
|
|
19
|
+
* Today only `lateYield` is defined: it marks records that were yielded by
|
|
20
|
+
* a wedged source AFTER its sliding-window slot was released by the watchdog
|
|
21
|
+
* (i.e., drained from the background-wedge set rather than the live merger).
|
|
22
|
+
* Downstream parsers/upserts are idempotent and ignore this flag; it exists
|
|
23
|
+
* for telemetry + tests asserting late-drain behavior. See Phase 1.5 W1.5-02.
|
|
24
|
+
*/
|
|
25
|
+
attributes?: {
|
|
26
|
+
lateYield?: boolean;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Task 11c: cheap change signal for this member (sizes + mtimes of its
|
|
30
|
+
* files), set by sources that support delta ingest. Equal fingerprints
|
|
31
|
+
* mean "unchanged" without reading the content.
|
|
32
|
+
*/
|
|
33
|
+
fingerprint?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Task 11c: a file of this member could not be read (EACCES, EIO, ...), so
|
|
36
|
+
* `content` is incomplete. Ingest keeps the member's previous graph.
|
|
37
|
+
*/
|
|
38
|
+
unreadable?: boolean;
|
|
39
|
+
}
|
|
40
|
+
/** Task 11c: one member of an indexable source, before its content is read. */
|
|
41
|
+
export interface IndexedMember {
|
|
42
|
+
/** Stable member key: the member's `ref.sourceUri`. */
|
|
43
|
+
key: string;
|
|
44
|
+
memberType: string;
|
|
45
|
+
/** Sizes + mtimes of every file the member is built from. */
|
|
46
|
+
fingerprint: string;
|
|
47
|
+
/** Read and assemble the member (null: unreadable / malformed, skipped). */
|
|
48
|
+
load(): Promise<RawMember | null>;
|
|
17
49
|
}
|
|
18
50
|
export interface MetadataSource {
|
|
19
51
|
iter(): AsyncIterable<RawMember>;
|
|
52
|
+
/** Task 11c: members as cheap index entries, in `iter()` order (optional). */
|
|
53
|
+
iterIndexed?(): AsyncIterable<IndexedMember>;
|
|
54
|
+
/**
|
|
55
|
+
* Task 11c: keys of the members the last `iter()` indexed but could not
|
|
56
|
+
* load (unreadable or malformed). A full ingest keeps their previous graph
|
|
57
|
+
* instead of sweeping it as vanished.
|
|
58
|
+
*/
|
|
59
|
+
unloadedKeys?(): ReadonlySet<string>;
|
|
20
60
|
}
|
|
21
61
|
//# sourceMappingURL=metadata-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata-source.d.ts","sourceRoot":"","sources":["../../../src/extractors/interfaces/metadata-source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,SAAS,CAAC;IACf,2FAA2F;IAC3F,OAAO,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"metadata-source.d.ts","sourceRoot":"","sources":["../../../src/extractors/interfaces/metadata-source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,SAAS,CAAC;IACf,2FAA2F;IAC3F,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE;QACX,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IACF;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,+EAA+E;AAC/E,MAAM,WAAW,aAAa;IAC5B,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,WAAW,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,IAAI,IAAI,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,IAAI,aAAa,CAAC,SAAS,CAAC,CAAC;IACjC,8EAA8E;IAC9E,WAAW,CAAC,IAAI,aAAa,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;OAIG;IACH,YAAY,CAAC,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;CACtC"}
|
|
@@ -12,7 +12,98 @@ export interface IngestSkipReport {
|
|
|
12
12
|
category: SkipCategory;
|
|
13
13
|
}>;
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Phase 1.5 (W1.5-02): soft-isolate wedge coordination state.
|
|
17
|
+
*
|
|
18
|
+
* Threaded through the bulkRetrieve fan-out so `failSoft` wrappers can:
|
|
19
|
+
* (a) push namespaced-string warnings into a shared sink (the warnings
|
|
20
|
+
* eventually surface on LiveIngestResult.warnings),
|
|
21
|
+
* (b) park the still-pending iterator from a wedged source into a bounded
|
|
22
|
+
* background-wedge set (the merger's slot is released immediately,
|
|
23
|
+
* so queued neighbors can proceed),
|
|
24
|
+
* (c) yield late-arriving records from those background iterators with
|
|
25
|
+
* `attributes.lateYield = true` so they still reach the output stream.
|
|
26
|
+
*
|
|
27
|
+
* One coordinator instance per bulkRetrieve invocation. Default sourced
|
|
28
|
+
* from `SFGRAPH_MAX_BACKGROUND_WEDGES` (default 4).
|
|
29
|
+
*/
|
|
30
|
+
export interface BackgroundWedgeEntry {
|
|
31
|
+
label: string;
|
|
32
|
+
/** Iterator that was wedged. Used by the late-drain loop to keep pumping
|
|
33
|
+
* it after slot release. */
|
|
34
|
+
iterator: AsyncIterator<RawMember>;
|
|
35
|
+
/**
|
|
36
|
+
* The in-flight `it.next()` promise that was racing the watchdog at the
|
|
37
|
+
* moment the watchdog won. Async-generator semantics queue concurrent
|
|
38
|
+
* `.next()` calls — so if the drain loop calls `iterator.next()` while
|
|
39
|
+
* this promise is still pending, the drain will wait behind it AND
|
|
40
|
+
* "lose" the value it eventually resolves with (the first `.next()` gets
|
|
41
|
+
* it, then the drain's `.next()` advances to the NEXT yield). We must
|
|
42
|
+
* therefore consume this promise BEFORE calling `iterator.next()` again
|
|
43
|
+
* in the drain loop. After the drain consumes the first pending result,
|
|
44
|
+
* this field is set to null and subsequent calls go through the normal
|
|
45
|
+
* `iterator.next()` path.
|
|
46
|
+
*/
|
|
47
|
+
pendingFirstNext: Promise<IteratorResult<RawMember>> | null;
|
|
48
|
+
/** Wall-clock epoch when this entry was registered (post slot-release). */
|
|
49
|
+
registeredAt: number;
|
|
50
|
+
/** Set true when the cap-eviction policy decides this wedge has outlived
|
|
51
|
+
* its budget. The drain loop checks this each iteration and bails. The
|
|
52
|
+
* pending HTTP request (if any) is NOT actively cancelled — that's the
|
|
53
|
+
* job of W1.5-03. */
|
|
54
|
+
stopWaitingRef: {
|
|
55
|
+
value: boolean;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* The source's skip hook (failSoft's `onError`). A wedge is only a
|
|
59
|
+
* deferral: once the late drain (or cap eviction) decides the source did
|
|
60
|
+
* NOT finish — a late error, the drain budget running out, eviction, or
|
|
61
|
+
* late drain disabled — the outcome is reported here under the source's
|
|
62
|
+
* own label so it lands in skipReport and `--retry-skipped` re-runs it.
|
|
63
|
+
* (Review I1: these used to surface only as `wedge:*` warnings.)
|
|
64
|
+
*/
|
|
65
|
+
onError?: (label: string, err: Error) => void;
|
|
66
|
+
/** Set once a skip has been reported for this entry (one skip per wedge). */
|
|
67
|
+
skipReported?: boolean;
|
|
68
|
+
}
|
|
69
|
+
export interface WedgeCoordinator {
|
|
70
|
+
/** Shared namespaced-warning sink. Format documented in PLAN.md:
|
|
71
|
+
* `wedge:<source>:<stage>:<detail>`. The warning strings reach the
|
|
72
|
+
* surface via `bulkRetrieve` opts → `LiveIngestResult.warnings`. */
|
|
73
|
+
warnings: string[];
|
|
74
|
+
/** Active background-wedge set. Bounded by `maxBackgroundWedges`. When
|
|
75
|
+
* a new wedge would exceed the cap, the OLDEST entry gets its
|
|
76
|
+
* `stopWaitingRef.value = true` flag set + a `backgroundWedgeAborted`
|
|
77
|
+
* warning is emitted. The old iterator is NOT removed from the set —
|
|
78
|
+
* the late-drain loop sees the flag and bails. */
|
|
79
|
+
backgroundWedges: BackgroundWedgeEntry[];
|
|
80
|
+
/** Maximum simultaneous active background wedges. From
|
|
81
|
+
* `SFGRAPH_MAX_BACKGROUND_WEDGES`, default 4. */
|
|
82
|
+
maxBackgroundWedges: number;
|
|
83
|
+
/** Bounded wall-clock budget for the post-merger late-drain pass. The
|
|
84
|
+
* drain races each pending `it.next()` against this budget; whatever
|
|
85
|
+
* arrives gets `attributes.lateYield = true`. Default 60 000ms; set to
|
|
86
|
+
* 0 to disable late-drain entirely (used by some tests). */
|
|
87
|
+
lateDrainBudgetMs: number;
|
|
88
|
+
}
|
|
89
|
+
declare function createWedgeCoordinator(warnings?: string[], overrides?: Partial<Pick<WedgeCoordinator, "maxBackgroundWedges" | "lateDrainBudgetMs">>): WedgeCoordinator;
|
|
90
|
+
export type SkipCategory = "insufficient_access" | "not_found" | "rate_limit" | "network" | "unknown"
|
|
91
|
+
/** The org refused these members deterministically (same server fault on
|
|
92
|
+
* every read, or an org rejection). Listed to the user with the first
|
|
93
|
+
* error, but never re-run by auto-retry / --retry-skipped. */
|
|
94
|
+
| "unreadable";
|
|
95
|
+
/**
|
|
96
|
+
* Turn a source failure into skip-report entries. An IncompleteSourceError
|
|
97
|
+
* is split: members the org refused deterministically become one
|
|
98
|
+
* `unreadable` entry, the rest one entry classified as before — so a source
|
|
99
|
+
* with both still gets re-run for the recoverable part, and an all-refused
|
|
100
|
+
* source is not re-run at all.
|
|
101
|
+
*/
|
|
102
|
+
export declare function skipEntriesFor(label: string, err: Error): Array<{
|
|
103
|
+
label: string;
|
|
104
|
+
reason: string;
|
|
105
|
+
category: SkipCategory;
|
|
106
|
+
}>;
|
|
16
107
|
/** Naive sequential merge — predictable order, simpler back-pressure semantics.
|
|
17
108
|
* Kept for back-compat and tests; production ingest uses
|
|
18
109
|
* {@link mergeAsyncIterablesParallel} so different pools (Tooling/Metadata/
|
|
@@ -37,8 +128,77 @@ export declare function mergeAsyncIterables<T>(...iters: Array<AsyncIterable<T>>
|
|
|
37
128
|
*
|
|
38
129
|
* Output ordering is non-deterministic. `live-ingest`'s processOne is
|
|
39
130
|
* order-independent (idempotent per-record upserts), so this is safe.
|
|
131
|
+
*
|
|
132
|
+
* Errors: a sub-stream that rejects releases its slot and the remaining
|
|
133
|
+
* streams keep draining; after the last one finishes the merge rejects with
|
|
134
|
+
* that error (or an `AggregateError` when several failed). Values already
|
|
135
|
+
* yielded are never retracted.
|
|
40
136
|
*/
|
|
137
|
+
export interface MergeParallelOptions {
|
|
138
|
+
/** Override the sliding-window size for this call. When omitted, the
|
|
139
|
+
* env-var / default path applies as before. Used by unit tests that
|
|
140
|
+
* need deterministic queue-vs-active ordering. */
|
|
141
|
+
concurrency?: number;
|
|
142
|
+
}
|
|
41
143
|
export declare function mergeAsyncIterablesParallel<T>(...iters: Array<AsyncIterable<T>>): AsyncIterable<T>;
|
|
144
|
+
export declare function mergeAsyncIterablesParallel<T>(iters: Array<AsyncIterable<T>>, opts: MergeParallelOptions): AsyncIterable<T>;
|
|
145
|
+
/** Read watchdog budgets per-call so unit tests can override via env vars
|
|
146
|
+
* without restarting the process. Production env should leave these unset:
|
|
147
|
+
* ordinary sources get the documented 90s first-yield / 5min inactivity;
|
|
148
|
+
* a source in SOURCE_WATCHDOG_OVERRIDES gets its scoped budget instead. */
|
|
149
|
+
declare function readWatchdogBudgets(label?: string): {
|
|
150
|
+
firstYieldMs: number;
|
|
151
|
+
inactivityMs: number;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Drain a single background-wedge iterator. Called once per wedged source,
|
|
155
|
+
* post-merger, with a wall-clock budget. Each iteration races the iterator's
|
|
156
|
+
* `it.next()` against the remaining budget. Records arriving inside the
|
|
157
|
+
* budget are yielded with `attributes.lateYield = true`. The pending HTTP
|
|
158
|
+
* request (if the wedge is on a network call) is NOT actively cancelled
|
|
159
|
+
* (W1.5-03's job); we just stop awaiting it.
|
|
160
|
+
*
|
|
161
|
+
* Bails immediately if `stopWaitingRef.value === true` (cap eviction).
|
|
162
|
+
*/
|
|
163
|
+
declare function drainBackgroundWedge(entry: BackgroundWedgeEntry, budgetMs: number, warnings: string[]): AsyncIterable<RawMember>;
|
|
164
|
+
/**
|
|
165
|
+
* Wrap an iterable so a thrown error is captured + the stream ends cleanly
|
|
166
|
+
* instead of aborting the whole ingest. The error is recorded into a
|
|
167
|
+
* shared skip report (consumed at end-of-run) and a compact ✗ line is
|
|
168
|
+
* printed so the user sees something happened without the full error
|
|
169
|
+
* message scrolling past during the run.
|
|
170
|
+
*
|
|
171
|
+
* Phase 1.5 W1.5-01 + W1.5-02 contract:
|
|
172
|
+
*
|
|
173
|
+
* - The watchdog clock starts when this generator's BODY first executes
|
|
174
|
+
* (i.e., when the merger calls `.next()` on us for the first time —
|
|
175
|
+
* that's slot-acquisition time). Queued sources still inside
|
|
176
|
+
* `mergeAsyncIterablesParallel`'s waiting list accumulate ZERO clock
|
|
177
|
+
* time. Implemented via an internal `startedAtRef` that's written once
|
|
178
|
+
* on body entry; if the caller passes a `startedAtRef` we update it in
|
|
179
|
+
* place so the merger can observe the slot-acquisition moment.
|
|
180
|
+
*
|
|
181
|
+
* - On watchdog fire, we DO NOT throw (which would abort the merger's
|
|
182
|
+
* Promise.race for our slot AND lose the still-pending iterator).
|
|
183
|
+
* Instead we:
|
|
184
|
+
* 1. Emit a `wedge:<label>:firstYield:90s:...` (or `:inactivity:300s:`)
|
|
185
|
+
* warning into coordinator.warnings.
|
|
186
|
+
* 2. Register the still-pending iterator into coordinator.background
|
|
187
|
+
* Wedges with a stopWaitingRef. Enforce the cap (evict oldest).
|
|
188
|
+
* 3. RETURN from the generator. This cleanly releases the merger's
|
|
189
|
+
* slot — `pending.delete(idx)` runs in mergeAsyncIterablesParallel
|
|
190
|
+
* and the next queued source acquires the slot.
|
|
191
|
+
* Post-merger, the bulkRetrieve top-level fan-out drains the background
|
|
192
|
+
* wedge set; records arriving inside the late-drain budget are yielded
|
|
193
|
+
* with `attributes.lateYield = true`.
|
|
194
|
+
*/
|
|
195
|
+
declare function failSoft<T extends RawMember>(label: string, factory: () => AsyncIterable<T>, onError?: (label: string, err: Error) => void, coordinator?: WedgeCoordinator,
|
|
196
|
+
/** Optional outer-visible clock cell. The merger does not currently read
|
|
197
|
+
* this, but the contract is "set by failSoft on body entry"; tests use
|
|
198
|
+
* it to assert slot-acquisition timing. */
|
|
199
|
+
startedAtRef?: {
|
|
200
|
+
value: number;
|
|
201
|
+
}): AsyncIterable<T>;
|
|
42
202
|
export interface BulkRetrieveOpts {
|
|
43
203
|
skipReport?: IngestSkipReport;
|
|
44
204
|
/** When set, only invoke source labels in this set. Labels are the same
|
|
@@ -46,6 +206,10 @@ export interface BulkRetrieveOpts {
|
|
|
46
206
|
* 'security', 'integration', 'vlocity', 'omnistudio', or
|
|
47
207
|
* 'generic:<MetadataType>' for the long tail. */
|
|
48
208
|
onlyLabels?: Set<string>;
|
|
209
|
+
/** `onlyLabels` came from the user (--only / --retry-skipped), not from the
|
|
210
|
+
* in-run auto-retry: generic types it names are read in full (no early
|
|
211
|
+
* stop on identical refusals). */
|
|
212
|
+
explicitOnlyLabels?: boolean;
|
|
49
213
|
/** Opt-in: invoke the OmniStudio-on-Core retrieve() extractor in addition
|
|
50
214
|
* to the existing SOQL path. Default off — retrieve() consumes Metadata
|
|
51
215
|
* API quota (10k/24h) and is slower; only enable when the higher-fidelity
|
|
@@ -53,6 +217,47 @@ export interface BulkRetrieveOpts {
|
|
|
53
217
|
enableOmnistudioRetrieve?: boolean;
|
|
54
218
|
/** API version string for the retrieve() request envelope. */
|
|
55
219
|
apiVersion?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Phase 1.5 W1.5-02 warning sink. When provided, the watchdog soft-isolate
|
|
222
|
+
* path pushes namespaced wedge strings (`wedge:<source>:<stage>:...`) into
|
|
223
|
+
* this array. The caller (live-ingest) concatenates them onto
|
|
224
|
+
* LiveIngestResult.warnings. When omitted, wedge events fall through to
|
|
225
|
+
* the legacy `onSkip` / skipReport path so existing tests still see a
|
|
226
|
+
* skip entry.
|
|
227
|
+
*/
|
|
228
|
+
warnings?: string[];
|
|
56
229
|
}
|
|
57
230
|
export declare function bulkRetrieve(conn: any, caps: OrgCapabilities, orgId: OrgId, opts?: BulkRetrieveOpts | IngestSkipReport): AsyncIterable<RawMember>;
|
|
231
|
+
/**
|
|
232
|
+
* Internal-surface exports for unit tests in `__tests__/`. Not part of the
|
|
233
|
+
* public package API — these are intentionally namespaced under `__testing`
|
|
234
|
+
* so they don't appear in the package's exports surface to downstream
|
|
235
|
+
* consumers. (They're still importable, but the underscore convention
|
|
236
|
+
* signals "test only".)
|
|
237
|
+
*
|
|
238
|
+
* Exposed:
|
|
239
|
+
* - `failSoft`: wrap an iterable with the W1.5-01/02 watchdog + soft-isolate.
|
|
240
|
+
* - `createWedgeCoordinator`: build a coordinator + warnings sink with
|
|
241
|
+
* optional cap/drain overrides for deterministic tests.
|
|
242
|
+
* - `drainBackgroundWedge`: run the post-merger late-drain pass against
|
|
243
|
+
* a single background-wedge entry.
|
|
244
|
+
* - `mergeAsyncIterablesParallel`: re-export for symmetry; the (array,
|
|
245
|
+
* opts) overload is what tests use to fix concurrency.
|
|
246
|
+
* - `setTestWatchdogBudgets` / `resetTestWatchdogBudgets`: env-var-backed
|
|
247
|
+
* knobs to squeeze the watchdog budget for fast tests. Always paired
|
|
248
|
+
* via try/finally in tests so the environment is left clean.
|
|
249
|
+
*/
|
|
250
|
+
export declare const __testing: {
|
|
251
|
+
failSoft: typeof failSoft;
|
|
252
|
+
createWedgeCoordinator: typeof createWedgeCoordinator;
|
|
253
|
+
drainBackgroundWedge: typeof drainBackgroundWedge;
|
|
254
|
+
mergeAsyncIterablesParallel: typeof mergeAsyncIterablesParallel;
|
|
255
|
+
readWatchdogBudgets: typeof readWatchdogBudgets;
|
|
256
|
+
setTestWatchdogBudgets(opts: {
|
|
257
|
+
firstYieldMs: number;
|
|
258
|
+
inactivityMs: number;
|
|
259
|
+
}): void;
|
|
260
|
+
resetTestWatchdogBudgets(): void;
|
|
261
|
+
};
|
|
262
|
+
export {};
|
|
58
263
|
//# sourceMappingURL=bulk-retrieve.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-retrieve.d.ts","sourceRoot":"","sources":["../../../src/extractors/live-org/bulk-retrieve.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"bulk-retrieve.d.ts","sourceRoot":"","sources":["../../../src/extractors/live-org/bulk-retrieve.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,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