@jterrats/smart-deployment 1.0.3
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 +193 -0
- package/lib/ai/agentforce-error-handler.d.ts +81 -0
- package/lib/ai/agentforce-error-handler.js +196 -0
- package/lib/ai/agentforce-error-handler.js.map +1 -0
- package/lib/ai/agentforce-priority-service.d.ts +82 -0
- package/lib/ai/agentforce-priority-service.js +257 -0
- package/lib/ai/agentforce-priority-service.js.map +1 -0
- package/lib/ai/agentforce-service.d.ts +99 -0
- package/lib/ai/agentforce-service.js +300 -0
- package/lib/ai/agentforce-service.js.map +1 -0
- package/lib/ai/circuit-breaker.d.ts +115 -0
- package/lib/ai/circuit-breaker.js +277 -0
- package/lib/ai/circuit-breaker.js.map +1 -0
- package/lib/ai/dependency-inference-service.d.ts +76 -0
- package/lib/ai/dependency-inference-service.js +220 -0
- package/lib/ai/dependency-inference-service.js.map +1 -0
- package/lib/ai/llm-provider-factory.d.ts +15 -0
- package/lib/ai/llm-provider-factory.js +36 -0
- package/lib/ai/llm-provider-factory.js.map +1 -0
- package/lib/ai/llm-provider.d.ts +27 -0
- package/lib/ai/llm-provider.js +2 -0
- package/lib/ai/llm-provider.js.map +1 -0
- package/lib/ai/openai-service.d.ts +20 -0
- package/lib/ai/openai-service.js +89 -0
- package/lib/ai/openai-service.js.map +1 -0
- package/lib/ai/prompt-builder.d.ts +79 -0
- package/lib/ai/prompt-builder.js +180 -0
- package/lib/ai/prompt-builder.js.map +1 -0
- package/lib/ai/response-parser.d.ts +67 -0
- package/lib/ai/response-parser.js +234 -0
- package/lib/ai/response-parser.js.map +1 -0
- package/lib/ai/wave-validation-service.d.ts +111 -0
- package/lib/ai/wave-validation-service.js +381 -0
- package/lib/ai/wave-validation-service.js.map +1 -0
- package/lib/analysis/analysis-reporter.d.ts +56 -0
- package/lib/analysis/analysis-reporter.js +170 -0
- package/lib/analysis/analysis-reporter.js.map +1 -0
- package/lib/analytics/error-analytics.d.ts +80 -0
- package/lib/analytics/error-analytics.js +162 -0
- package/lib/analytics/error-analytics.js.map +1 -0
- package/lib/commands/analyze.d.ts +49 -0
- package/lib/commands/analyze.js +232 -0
- package/lib/commands/analyze.js.map +1 -0
- package/lib/commands/config.d.ts +42 -0
- package/lib/commands/config.js +219 -0
- package/lib/commands/config.js.map +1 -0
- package/lib/commands/resume.d.ts +26 -0
- package/lib/commands/resume.js +69 -0
- package/lib/commands/resume.js.map +1 -0
- package/lib/commands/start.d.ts +70 -0
- package/lib/commands/start.js +659 -0
- package/lib/commands/start.js.map +1 -0
- package/lib/commands/status.d.ts +37 -0
- package/lib/commands/status.js +69 -0
- package/lib/commands/status.js.map +1 -0
- package/lib/commands/validate.d.ts +33 -0
- package/lib/commands/validate.js +66 -0
- package/lib/commands/validate.js.map +1 -0
- package/lib/config/repo-config.d.ts +22 -0
- package/lib/config/repo-config.js +31 -0
- package/lib/config/repo-config.js.map +1 -0
- package/lib/constants/agentforce-limits.d.ts +174 -0
- package/lib/constants/agentforce-limits.js +262 -0
- package/lib/constants/agentforce-limits.js.map +1 -0
- package/lib/constants/api-version.d.ts +70 -0
- package/lib/constants/api-version.js +122 -0
- package/lib/constants/api-version.js.map +1 -0
- package/lib/constants/deployment-order.d.ts +68 -0
- package/lib/constants/deployment-order.js +162 -0
- package/lib/constants/deployment-order.js.map +1 -0
- package/lib/constants/salesforce-limits.d.ts +107 -0
- package/lib/constants/salesforce-limits.js +104 -0
- package/lib/constants/salesforce-limits.js.map +1 -0
- package/lib/dependencies/circular-dependency-detector.d.ts +137 -0
- package/lib/dependencies/circular-dependency-detector.js +329 -0
- package/lib/dependencies/circular-dependency-detector.js.map +1 -0
- package/lib/dependencies/cycle-remediation-planner.d.ts +50 -0
- package/lib/dependencies/cycle-remediation-planner.js +192 -0
- package/lib/dependencies/cycle-remediation-planner.js.map +1 -0
- package/lib/dependencies/dependency-cache.d.ts +134 -0
- package/lib/dependencies/dependency-cache.js +303 -0
- package/lib/dependencies/dependency-cache.js.map +1 -0
- package/lib/dependencies/dependency-depth-calculator.d.ts +145 -0
- package/lib/dependencies/dependency-depth-calculator.js +368 -0
- package/lib/dependencies/dependency-depth-calculator.js.map +1 -0
- package/lib/dependencies/dependency-graph-builder.d.ts +151 -0
- package/lib/dependencies/dependency-graph-builder.js +411 -0
- package/lib/dependencies/dependency-graph-builder.js.map +1 -0
- package/lib/dependencies/dependency-impact-analyzer.d.ts +145 -0
- package/lib/dependencies/dependency-impact-analyzer.js +330 -0
- package/lib/dependencies/dependency-impact-analyzer.js.map +1 -0
- package/lib/dependencies/dependency-merger.d.ts +122 -0
- package/lib/dependencies/dependency-merger.js +245 -0
- package/lib/dependencies/dependency-merger.js.map +1 -0
- package/lib/dependencies/dependency-resolver.d.ts +157 -0
- package/lib/dependencies/dependency-resolver.js +298 -0
- package/lib/dependencies/dependency-resolver.js.map +1 -0
- package/lib/dependencies/dependency-validator.d.ts +123 -0
- package/lib/dependencies/dependency-validator.js +291 -0
- package/lib/dependencies/dependency-validator.js.map +1 -0
- package/lib/dependencies/graph-visualizer.d.ts +110 -0
- package/lib/dependencies/graph-visualizer.js +262 -0
- package/lib/dependencies/graph-visualizer.js.map +1 -0
- package/lib/dependencies/heuristic-inference.d.ts +136 -0
- package/lib/dependencies/heuristic-inference.js +430 -0
- package/lib/dependencies/heuristic-inference.js.map +1 -0
- package/lib/deployment/cycle-source-editor.d.ts +34 -0
- package/lib/deployment/cycle-source-editor.js +121 -0
- package/lib/deployment/cycle-source-editor.js.map +1 -0
- package/lib/deployment/deployment-error-handler.d.ts +38 -0
- package/lib/deployment/deployment-error-handler.js +79 -0
- package/lib/deployment/deployment-error-handler.js.map +1 -0
- package/lib/deployment/deployment-reporter.d.ts +63 -0
- package/lib/deployment/deployment-reporter.js +150 -0
- package/lib/deployment/deployment-reporter.js.map +1 -0
- package/lib/deployment/deployment-state-summary.d.ts +38 -0
- package/lib/deployment/deployment-state-summary.js +209 -0
- package/lib/deployment/deployment-state-summary.js.map +1 -0
- package/lib/deployment/deployment-status-service.d.ts +36 -0
- package/lib/deployment/deployment-status-service.js +128 -0
- package/lib/deployment/deployment-status-service.js.map +1 -0
- package/lib/deployment/deployment-tracker.d.ts +42 -0
- package/lib/deployment/deployment-tracker.js +79 -0
- package/lib/deployment/deployment-tracker.js.map +1 -0
- package/lib/deployment/deployment-validation-service.d.ts +28 -0
- package/lib/deployment/deployment-validation-service.js +161 -0
- package/lib/deployment/deployment-validation-service.js.map +1 -0
- package/lib/deployment/retry-handler.d.ts +37 -0
- package/lib/deployment/retry-handler.js +86 -0
- package/lib/deployment/retry-handler.js.map +1 -0
- package/lib/deployment/sf-cli-integration.d.ts +42 -0
- package/lib/deployment/sf-cli-integration.js +105 -0
- package/lib/deployment/sf-cli-integration.js.map +1 -0
- package/lib/deployment/state-manager.d.ts +61 -0
- package/lib/deployment/state-manager.js +83 -0
- package/lib/deployment/state-manager.js.map +1 -0
- package/lib/deployment/test-executor.d.ts +41 -0
- package/lib/deployment/test-executor.js +87 -0
- package/lib/deployment/test-executor.js.map +1 -0
- package/lib/errors/base-error.d.ts +24 -0
- package/lib/errors/base-error.js +66 -0
- package/lib/errors/base-error.js.map +1 -0
- package/lib/errors/dependency-error.d.ts +37 -0
- package/lib/errors/dependency-error.js +76 -0
- package/lib/errors/dependency-error.js.map +1 -0
- package/lib/errors/deployment-error.d.ts +55 -0
- package/lib/errors/deployment-error.js +132 -0
- package/lib/errors/deployment-error.js.map +1 -0
- package/lib/errors/index.d.ts +45 -0
- package/lib/errors/index.js +71 -0
- package/lib/errors/index.js.map +1 -0
- package/lib/errors/network-error.d.ts +53 -0
- package/lib/errors/network-error.js +111 -0
- package/lib/errors/network-error.js.map +1 -0
- package/lib/errors/parsing-error.d.ts +41 -0
- package/lib/errors/parsing-error.js +69 -0
- package/lib/errors/parsing-error.js.map +1 -0
- package/lib/errors/validation-error-reporter.d.ts +34 -0
- package/lib/errors/validation-error-reporter.js +99 -0
- package/lib/errors/validation-error-reporter.js.map +1 -0
- package/lib/errors/validation-error.d.ts +58 -0
- package/lib/errors/validation-error.js +131 -0
- package/lib/errors/validation-error.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/lib/monitoring/performance-monitor.d.ts +98 -0
- package/lib/monitoring/performance-monitor.js +260 -0
- package/lib/monitoring/performance-monitor.js.map +1 -0
- package/lib/parsers/apex-class-parser.d.ts +47 -0
- package/lib/parsers/apex-class-parser.js +368 -0
- package/lib/parsers/apex-class-parser.js.map +1 -0
- package/lib/parsers/apex-trigger-parser.d.ts +48 -0
- package/lib/parsers/apex-trigger-parser.js +229 -0
- package/lib/parsers/apex-trigger-parser.js.map +1 -0
- package/lib/parsers/aura-parser.d.ts +55 -0
- package/lib/parsers/aura-parser.js +229 -0
- package/lib/parsers/aura-parser.js.map +1 -0
- package/lib/parsers/bot-parser.d.ts +65 -0
- package/lib/parsers/bot-parser.js +225 -0
- package/lib/parsers/bot-parser.js.map +1 -0
- package/lib/parsers/custom-metadata-parser.d.ts +94 -0
- package/lib/parsers/custom-metadata-parser.js +199 -0
- package/lib/parsers/custom-metadata-parser.js.map +1 -0
- package/lib/parsers/custom-object-parser.d.ts +62 -0
- package/lib/parsers/custom-object-parser.js +297 -0
- package/lib/parsers/custom-object-parser.js.map +1 -0
- package/lib/parsers/email-template-parser.d.ts +64 -0
- package/lib/parsers/email-template-parser.js +238 -0
- package/lib/parsers/email-template-parser.js.map +1 -0
- package/lib/parsers/error-resilient-parser.d.ts +110 -0
- package/lib/parsers/error-resilient-parser.js +277 -0
- package/lib/parsers/error-resilient-parser.js.map +1 -0
- package/lib/parsers/flexipage-parser.d.ts +64 -0
- package/lib/parsers/flexipage-parser.js +196 -0
- package/lib/parsers/flexipage-parser.js.map +1 -0
- package/lib/parsers/flow-parser.d.ts +54 -0
- package/lib/parsers/flow-parser.js +287 -0
- package/lib/parsers/flow-parser.js.map +1 -0
- package/lib/parsers/genai-prompt-parser.d.ts +67 -0
- package/lib/parsers/genai-prompt-parser.js +160 -0
- package/lib/parsers/genai-prompt-parser.js.map +1 -0
- package/lib/parsers/layout-parser.d.ts +64 -0
- package/lib/parsers/layout-parser.js +267 -0
- package/lib/parsers/layout-parser.js.map +1 -0
- package/lib/parsers/lwc-parser.d.ts +60 -0
- package/lib/parsers/lwc-parser.js +264 -0
- package/lib/parsers/lwc-parser.js.map +1 -0
- package/lib/parsers/permission-set-parser.d.ts +86 -0
- package/lib/parsers/permission-set-parser.js +152 -0
- package/lib/parsers/permission-set-parser.js.map +1 -0
- package/lib/parsers/profile-parser.d.ts +81 -0
- package/lib/parsers/profile-parser.js +141 -0
- package/lib/parsers/profile-parser.js.map +1 -0
- package/lib/parsers/visualforce-parser.d.ts +47 -0
- package/lib/parsers/visualforce-parser.js +180 -0
- package/lib/parsers/visualforce-parser.js.map +1 -0
- package/lib/provisioning/data-provisioner.d.ts +88 -0
- package/lib/provisioning/data-provisioner.js +257 -0
- package/lib/provisioning/data-provisioner.js.map +1 -0
- package/lib/scanner/custom-structure-scanner.d.ts +66 -0
- package/lib/scanner/custom-structure-scanner.js +229 -0
- package/lib/scanner/custom-structure-scanner.js.map +1 -0
- package/lib/scanner/forceignore-parser.d.ts +69 -0
- package/lib/scanner/forceignore-parser.js +195 -0
- package/lib/scanner/forceignore-parser.js.map +1 -0
- package/lib/scanner/metadata-format-scanner.d.ts +77 -0
- package/lib/scanner/metadata-format-scanner.js +282 -0
- package/lib/scanner/metadata-format-scanner.js.map +1 -0
- package/lib/scanner/monorepo-scanner.d.ts +71 -0
- package/lib/scanner/monorepo-scanner.js +225 -0
- package/lib/scanner/monorepo-scanner.js.map +1 -0
- package/lib/scanner/project-validator.d.ts +55 -0
- package/lib/scanner/project-validator.js +235 -0
- package/lib/scanner/project-validator.js.map +1 -0
- package/lib/scanner/sfdx-project-detector.d.ts +86 -0
- package/lib/scanner/sfdx-project-detector.js +240 -0
- package/lib/scanner/sfdx-project-detector.js.map +1 -0
- package/lib/scanner/structure-validator.d.ts +64 -0
- package/lib/scanner/structure-validator.js +296 -0
- package/lib/scanner/structure-validator.js.map +1 -0
- package/lib/services/metadata-scanner-service.d.ts +64 -0
- package/lib/services/metadata-scanner-service.js +651 -0
- package/lib/services/metadata-scanner-service.js.map +1 -0
- package/lib/types/agentforce.d.ts +157 -0
- package/lib/types/agentforce.js +2 -0
- package/lib/types/agentforce.js.map +1 -0
- package/lib/types/dependency.d.ts +98 -0
- package/lib/types/dependency.js +5 -0
- package/lib/types/dependency.js.map +1 -0
- package/lib/types/deployment-plan.d.ts +81 -0
- package/lib/types/deployment-plan.js +6 -0
- package/lib/types/deployment-plan.js.map +1 -0
- package/lib/types/deployment.d.ts +88 -0
- package/lib/types/deployment.js +5 -0
- package/lib/types/deployment.js.map +1 -0
- package/lib/types/graph.d.ts +35 -0
- package/lib/types/graph.js +5 -0
- package/lib/types/graph.js.map +1 -0
- package/lib/types/index.d.ts +12 -0
- package/lib/types/index.js +17 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/metadata.d.ts +101 -0
- package/lib/types/metadata.js +13 -0
- package/lib/types/metadata.js.map +1 -0
- package/lib/types/project.d.ts +156 -0
- package/lib/types/project.js +56 -0
- package/lib/types/project.js.map +1 -0
- package/lib/types/salesforce/apex.d.ts +94 -0
- package/lib/types/salesforce/apex.js +6 -0
- package/lib/types/salesforce/apex.js.map +1 -0
- package/lib/types/salesforce/aura.d.ts +150 -0
- package/lib/types/salesforce/aura.js +6 -0
- package/lib/types/salesforce/aura.js.map +1 -0
- package/lib/types/salesforce/bot.d.ts +293 -0
- package/lib/types/salesforce/bot.js +6 -0
- package/lib/types/salesforce/bot.js.map +1 -0
- package/lib/types/salesforce/common.d.ts +15 -0
- package/lib/types/salesforce/common.js +5 -0
- package/lib/types/salesforce/common.js.map +1 -0
- package/lib/types/salesforce/custom-metadata.d.ts +92 -0
- package/lib/types/salesforce/custom-metadata.js +6 -0
- package/lib/types/salesforce/custom-metadata.js.map +1 -0
- package/lib/types/salesforce/email.d.ts +56 -0
- package/lib/types/salesforce/email.js +6 -0
- package/lib/types/salesforce/email.js.map +1 -0
- package/lib/types/salesforce/flexipage.d.ts +149 -0
- package/lib/types/salesforce/flexipage.js +6 -0
- package/lib/types/salesforce/flexipage.js.map +1 -0
- package/lib/types/salesforce/flow.d.ts +516 -0
- package/lib/types/salesforce/flow.js +6 -0
- package/lib/types/salesforce/flow.js.map +1 -0
- package/lib/types/salesforce/genai.d.ts +67 -0
- package/lib/types/salesforce/genai.js +6 -0
- package/lib/types/salesforce/genai.js.map +1 -0
- package/lib/types/salesforce/index.d.ts +27 -0
- package/lib/types/salesforce/index.js +43 -0
- package/lib/types/salesforce/index.js.map +1 -0
- package/lib/types/salesforce/layout.d.ts +236 -0
- package/lib/types/salesforce/layout.js +6 -0
- package/lib/types/salesforce/layout.js.map +1 -0
- package/lib/types/salesforce/lwc.d.ts +123 -0
- package/lib/types/salesforce/lwc.js +6 -0
- package/lib/types/salesforce/lwc.js.map +1 -0
- package/lib/types/salesforce/object.d.ts +427 -0
- package/lib/types/salesforce/object.js +6 -0
- package/lib/types/salesforce/object.js.map +1 -0
- package/lib/types/salesforce/parser-types.d.ts +79 -0
- package/lib/types/salesforce/parser-types.js +80 -0
- package/lib/types/salesforce/parser-types.js.map +1 -0
- package/lib/types/salesforce/permission.d.ts +289 -0
- package/lib/types/salesforce/permission.js +6 -0
- package/lib/types/salesforce/permission.js.map +1 -0
- package/lib/types/salesforce/resource.d.ts +93 -0
- package/lib/types/salesforce/resource.js +6 -0
- package/lib/types/salesforce/resource.js.map +1 -0
- package/lib/types/salesforce/visualforce.d.ts +70 -0
- package/lib/types/salesforce/visualforce.js +6 -0
- package/lib/types/salesforce/visualforce.js.map +1 -0
- package/lib/utils/cache-manager.d.ts +158 -0
- package/lib/utils/cache-manager.js +429 -0
- package/lib/utils/cache-manager.js.map +1 -0
- package/lib/utils/deployment-plan-manager.d.ts +40 -0
- package/lib/utils/deployment-plan-manager.js +183 -0
- package/lib/utils/deployment-plan-manager.js.map +1 -0
- package/lib/utils/error-aggregator.d.ts +117 -0
- package/lib/utils/error-aggregator.js +268 -0
- package/lib/utils/error-aggregator.js.map +1 -0
- package/lib/utils/file-system.d.ts +62 -0
- package/lib/utils/file-system.js +167 -0
- package/lib/utils/file-system.js.map +1 -0
- package/lib/utils/functional.d.ts +52 -0
- package/lib/utils/functional.js +61 -0
- package/lib/utils/functional.js.map +1 -0
- package/lib/utils/graph-algorithms.d.ts +53 -0
- package/lib/utils/graph-algorithms.js +177 -0
- package/lib/utils/graph-algorithms.js.map +1 -0
- package/lib/utils/logger.d.ts +154 -0
- package/lib/utils/logger.js +327 -0
- package/lib/utils/logger.js.map +1 -0
- package/lib/utils/network-handler.d.ts +64 -0
- package/lib/utils/network-handler.js +147 -0
- package/lib/utils/network-handler.js.map +1 -0
- package/lib/utils/performance.d.ts +148 -0
- package/lib/utils/performance.js +294 -0
- package/lib/utils/performance.js.map +1 -0
- package/lib/utils/string.d.ts +197 -0
- package/lib/utils/string.js +331 -0
- package/lib/utils/string.js.map +1 -0
- package/lib/utils/xml.d.ts +97 -0
- package/lib/utils/xml.js +227 -0
- package/lib/utils/xml.js.map +1 -0
- package/lib/validators/xml-metadata-validator.d.ts +106 -0
- package/lib/validators/xml-metadata-validator.js +509 -0
- package/lib/validators/xml-metadata-validator.js.map +1 -0
- package/lib/waves/priority-wave-generator-ai.d.ts +85 -0
- package/lib/waves/priority-wave-generator-ai.js +191 -0
- package/lib/waves/priority-wave-generator-ai.js.map +1 -0
- package/lib/waves/priority-wave-generator.d.ts +47 -0
- package/lib/waves/priority-wave-generator.js +88 -0
- package/lib/waves/priority-wave-generator.js.map +1 -0
- package/lib/waves/test-optimizer.d.ts +155 -0
- package/lib/waves/test-optimizer.js +290 -0
- package/lib/waves/test-optimizer.js.map +1 -0
- package/lib/waves/wave-builder.d.ts +147 -0
- package/lib/waves/wave-builder.js +286 -0
- package/lib/waves/wave-builder.js.map +1 -0
- package/lib/waves/wave-diff-generator.d.ts +17 -0
- package/lib/waves/wave-diff-generator.js +6 -0
- package/lib/waves/wave-diff-generator.js.map +1 -0
- package/lib/waves/wave-executor.d.ts +33 -0
- package/lib/waves/wave-executor.js +50 -0
- package/lib/waves/wave-executor.js.map +1 -0
- package/lib/waves/wave-merger.d.ts +96 -0
- package/lib/waves/wave-merger.js +181 -0
- package/lib/waves/wave-merger.js.map +1 -0
- package/lib/waves/wave-metadata-generator.d.ts +13 -0
- package/lib/waves/wave-metadata-generator.js +12 -0
- package/lib/waves/wave-metadata-generator.js.map +1 -0
- package/lib/waves/wave-splitter.d.ts +154 -0
- package/lib/waves/wave-splitter.js +307 -0
- package/lib/waves/wave-splitter.js.map +1 -0
- package/lib/waves/wave-validator.d.ts +17 -0
- package/lib/waves/wave-validator.js +15 -0
- package/lib/waves/wave-validator.js.map +1 -0
- package/messages/analyze.json +18 -0
- package/messages/config.json +29 -0
- package/messages/resume.json +9 -0
- package/messages/start.json +24 -0
- package/messages/status.json +8 -0
- package/messages/validate.json +9 -0
- package/npm-shrinkwrap.json +25676 -0
- package/oclif.lock +11988 -0
- package/oclif.manifest.json +589 -0
- package/package.json +224 -0
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type definitions for Salesforce Layout metadata
|
|
3
|
+
* Represents Page Layout (.layout-meta.xml) metadata structures
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Layout metadata (.layout-meta.xml)
|
|
7
|
+
*/
|
|
8
|
+
export type LayoutMetadata = {
|
|
9
|
+
customButtons?: string[];
|
|
10
|
+
emailDefault?: boolean;
|
|
11
|
+
excludeButtons?: string[];
|
|
12
|
+
feedLayout?: FeedLayout;
|
|
13
|
+
headers?: LayoutHeader[];
|
|
14
|
+
layoutSections?: LayoutSection[];
|
|
15
|
+
miniLayout?: MiniLayout;
|
|
16
|
+
multilineLayoutFields?: string[];
|
|
17
|
+
platformActionList?: PlatformActionList;
|
|
18
|
+
quickActionList?: QuickActionList;
|
|
19
|
+
relatedContent?: RelatedContent;
|
|
20
|
+
relatedLists?: RelatedListItem[];
|
|
21
|
+
relatedObjects?: string[];
|
|
22
|
+
runAssignmentRulesDefault?: boolean;
|
|
23
|
+
showEmailCheckbox?: boolean;
|
|
24
|
+
showHighlightsPanel?: boolean;
|
|
25
|
+
showInteractionLogPanel?: boolean;
|
|
26
|
+
showRunAssignmentRulesCheckbox?: boolean;
|
|
27
|
+
showSubmitAndAttachButton?: boolean;
|
|
28
|
+
summaryLayout?: SummaryLayout;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Layout Section
|
|
32
|
+
*/
|
|
33
|
+
export type LayoutSection = {
|
|
34
|
+
customLabel?: boolean;
|
|
35
|
+
detailHeading?: boolean;
|
|
36
|
+
editHeading?: boolean;
|
|
37
|
+
label?: string;
|
|
38
|
+
layoutColumns?: LayoutColumn[];
|
|
39
|
+
style: LayoutSectionStyle;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Layout Section Style
|
|
43
|
+
*/
|
|
44
|
+
export type LayoutSectionStyle = 'TwoColumnsTopToBottom' | 'TwoColumnsLeftToRight' | 'OneColumn' | 'CustomLinks';
|
|
45
|
+
/**
|
|
46
|
+
* Layout Column
|
|
47
|
+
*/
|
|
48
|
+
export type LayoutColumn = {
|
|
49
|
+
layoutItems?: LayoutItem[];
|
|
50
|
+
reserved?: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Layout Item
|
|
54
|
+
*/
|
|
55
|
+
export type LayoutItem = {
|
|
56
|
+
behavior?: UiBehavior;
|
|
57
|
+
canvas?: string;
|
|
58
|
+
customLink?: string;
|
|
59
|
+
emptySpace?: boolean;
|
|
60
|
+
field?: string;
|
|
61
|
+
height?: number;
|
|
62
|
+
page?: string;
|
|
63
|
+
reportChartComponent?: ReportChartComponentLayoutItem;
|
|
64
|
+
scontrol?: string;
|
|
65
|
+
showLabel?: boolean;
|
|
66
|
+
showScrollbars?: boolean;
|
|
67
|
+
width?: string;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* UI Behavior
|
|
71
|
+
*/
|
|
72
|
+
export type UiBehavior = 'Edit' | 'Required' | 'Readonly';
|
|
73
|
+
/**
|
|
74
|
+
* Report Chart Component Layout Item
|
|
75
|
+
*/
|
|
76
|
+
export type ReportChartComponentLayoutItem = {
|
|
77
|
+
cacheData?: boolean;
|
|
78
|
+
contextFilterableField?: string;
|
|
79
|
+
error?: string;
|
|
80
|
+
hideOnError?: boolean;
|
|
81
|
+
includeContext?: boolean;
|
|
82
|
+
reportName?: string;
|
|
83
|
+
showTitle?: boolean;
|
|
84
|
+
size?: ReportChartComponentSize;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Report Chart Component Size
|
|
88
|
+
*/
|
|
89
|
+
export type ReportChartComponentSize = 'Tiny' | 'Small' | 'Medium' | 'Large';
|
|
90
|
+
/**
|
|
91
|
+
* Related List Item
|
|
92
|
+
*/
|
|
93
|
+
export type RelatedListItem = {
|
|
94
|
+
customButtons?: string[];
|
|
95
|
+
excludeButtons?: string[];
|
|
96
|
+
fields?: string[];
|
|
97
|
+
relatedList: string;
|
|
98
|
+
sortField?: string;
|
|
99
|
+
sortOrder?: SortOrder;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Sort Order
|
|
103
|
+
*/
|
|
104
|
+
export type SortOrder = 'Asc' | 'Desc';
|
|
105
|
+
/**
|
|
106
|
+
* Mini Layout
|
|
107
|
+
*/
|
|
108
|
+
export type MiniLayout = {
|
|
109
|
+
fields?: string[];
|
|
110
|
+
relatedLists?: RelatedListItem[];
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Feed Layout
|
|
114
|
+
*/
|
|
115
|
+
export type FeedLayout = {
|
|
116
|
+
autocollapsePublisher?: boolean;
|
|
117
|
+
compactFeed?: boolean;
|
|
118
|
+
feedFilterPosition?: FeedLayoutFilterPosition;
|
|
119
|
+
feedFilters?: FeedLayoutFilter[];
|
|
120
|
+
fullWidthFeed?: boolean;
|
|
121
|
+
hideSidebar?: boolean;
|
|
122
|
+
highlightExternalFeedItems?: boolean;
|
|
123
|
+
leftComponents?: FeedLayoutComponent[];
|
|
124
|
+
rightComponents?: FeedLayoutComponent[];
|
|
125
|
+
useInlineFiltersInConsole?: boolean;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Feed Layout Filter Position
|
|
129
|
+
*/
|
|
130
|
+
export type FeedLayoutFilterPosition = 'CenterDropDown' | 'LeftFixed' | 'LeftFloat';
|
|
131
|
+
/**
|
|
132
|
+
* Feed Layout Filter
|
|
133
|
+
*/
|
|
134
|
+
export type FeedLayoutFilter = {
|
|
135
|
+
feedFilterName?: string;
|
|
136
|
+
feedFilterType: FeedLayoutFilterType;
|
|
137
|
+
feedItemType?: FeedItemType;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Feed Layout Filter Type
|
|
141
|
+
*/
|
|
142
|
+
export type FeedLayoutFilterType = 'AllUpdates' | 'FeedItemType' | 'Custom';
|
|
143
|
+
/**
|
|
144
|
+
* Feed Item Type
|
|
145
|
+
*/
|
|
146
|
+
export type FeedItemType = 'TrackedChange' | 'UserStatus' | 'TextPost' | 'ContentPost' | 'LinkPost' | 'PollPost' | 'RypplePost' | 'ProfileSkillPost' | 'DashboardComponentSnapshot' | 'ApprovalPost' | 'CaseCommentPost' | 'ReplyPost' | 'EmailMessageEvent' | 'CallLogPost' | 'ChangeStatusPost' | 'AttachArticleEvent' | 'MilestoneEvent' | 'ActivityEvent' | 'ChatPost' | 'RichLinkPost' | 'AnnouncementPost' | 'CreateRecordEvent' | 'CanvasPost';
|
|
147
|
+
/**
|
|
148
|
+
* Feed Layout Component
|
|
149
|
+
*/
|
|
150
|
+
export type FeedLayoutComponent = {
|
|
151
|
+
componentType: FeedLayoutComponentType;
|
|
152
|
+
height?: number;
|
|
153
|
+
page?: string;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Feed Layout Component Type
|
|
157
|
+
*/
|
|
158
|
+
export type FeedLayoutComponentType = 'Following' | 'Followers' | 'Topics' | 'CustomTab' | 'Visualforce' | 'Canvas' | 'HelpAndToolLinks';
|
|
159
|
+
/**
|
|
160
|
+
* Platform Action List
|
|
161
|
+
*/
|
|
162
|
+
export type PlatformActionList = {
|
|
163
|
+
actionListContext: PlatformActionListContext;
|
|
164
|
+
platformActionListItems?: PlatformActionListItem[];
|
|
165
|
+
relatedSourceEntity?: string;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* Platform Action List Context
|
|
169
|
+
*/
|
|
170
|
+
export type PlatformActionListContext = 'Chatter' | 'ListView' | 'Record' | 'RelatedList' | 'RecordEdit' | 'Dockable' | 'MobileExtension' | 'Global' | 'Assistant';
|
|
171
|
+
/**
|
|
172
|
+
* Platform Action List Item
|
|
173
|
+
*/
|
|
174
|
+
export type PlatformActionListItem = {
|
|
175
|
+
actionName: string;
|
|
176
|
+
actionType: PlatformActionType;
|
|
177
|
+
sortOrder: number;
|
|
178
|
+
subtype?: string;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* Platform Action Type
|
|
182
|
+
*/
|
|
183
|
+
export type PlatformActionType = 'QuickAction' | 'StandardButton' | 'CustomButton' | 'ProductivityAction' | 'ActionLink' | 'InvocableAction';
|
|
184
|
+
/**
|
|
185
|
+
* Quick Action List
|
|
186
|
+
*/
|
|
187
|
+
export type QuickActionList = {
|
|
188
|
+
quickActionListItems?: QuickActionListItem[];
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* Quick Action List Item
|
|
192
|
+
*/
|
|
193
|
+
export type QuickActionListItem = {
|
|
194
|
+
quickActionName: string;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Related Content
|
|
198
|
+
*/
|
|
199
|
+
export type RelatedContent = {
|
|
200
|
+
relatedContentItems?: RelatedContentItem[];
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Related Content Item
|
|
204
|
+
*/
|
|
205
|
+
export type RelatedContentItem = {
|
|
206
|
+
layoutItem: LayoutItem;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Summary Layout
|
|
210
|
+
*/
|
|
211
|
+
export type SummaryLayout = {
|
|
212
|
+
masterLabel: string;
|
|
213
|
+
sizeX: number;
|
|
214
|
+
sizeY?: number;
|
|
215
|
+
sizeZ?: number;
|
|
216
|
+
summaryLayoutItems?: SummaryLayoutItem[];
|
|
217
|
+
summaryLayoutStyle: SummaryLayoutStyle;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* Summary Layout Style
|
|
221
|
+
*/
|
|
222
|
+
export type SummaryLayoutStyle = 'Default' | 'QuoteTemplate' | 'DefaultQuoteTemplate' | 'ServiceReportTemplate' | 'OverridesSummaryLayout' | 'CaseInteraction' | 'DefaultCaseInteraction';
|
|
223
|
+
/**
|
|
224
|
+
* Summary Layout Item
|
|
225
|
+
*/
|
|
226
|
+
export type SummaryLayoutItem = {
|
|
227
|
+
customLink?: string;
|
|
228
|
+
field?: string;
|
|
229
|
+
posX: number;
|
|
230
|
+
posY: number;
|
|
231
|
+
posZ?: number;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* Layout Header
|
|
235
|
+
*/
|
|
236
|
+
export type LayoutHeader = 'PersonalTagging' | 'PublicTagging';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.js","sourceRoot":"","sources":["../../../src/types/salesforce/layout.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type definitions for Lightning Web Components (LWC) metadata
|
|
3
|
+
* Represents LightningComponentBundle metadata structures
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* LWC metadata (component-name.js-meta.xml)
|
|
7
|
+
*/
|
|
8
|
+
export type LWCMetadata = {
|
|
9
|
+
apiVersion: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
isExposed: boolean;
|
|
12
|
+
masterLabel?: string;
|
|
13
|
+
targets?: LWCTargets;
|
|
14
|
+
targetConfigs?: LWCTargetConfig[];
|
|
15
|
+
capabilities?: LWCCapability[];
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* LWC targets
|
|
19
|
+
*/
|
|
20
|
+
export type LWCTargets = {
|
|
21
|
+
target: LWCTarget[];
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* LWC target
|
|
25
|
+
*/
|
|
26
|
+
export type LWCTarget = 'lightning__AppPage' | 'lightning__HomePage' | 'lightning__RecordPage' | 'lightning__RecordAction' | 'lightning__FlowScreen' | 'lightning__Tab' | 'lightning__Inbox' | 'lightning__UtilityBar' | 'lightningCommunity__Page' | 'lightningCommunity__Default' | 'lightningCommunity__Page_Layout' | 'lightningCommunity__Theme_Layout' | 'lightningSnapin__ChatMessage' | 'lightningSnapin__Minimized' | 'lightningSnapin__PreChat' | 'lightningSnapin__ChatHeader' | 'analytics__Dashboard';
|
|
27
|
+
/**
|
|
28
|
+
* LWC target config
|
|
29
|
+
*/
|
|
30
|
+
export type LWCTargetConfig = {
|
|
31
|
+
targets: string;
|
|
32
|
+
configurationEditor?: string;
|
|
33
|
+
objects?: LWCObject[];
|
|
34
|
+
property?: LWCProperty[];
|
|
35
|
+
supportedFormFactors?: LWCSupportedFormFactor[];
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* LWC object
|
|
39
|
+
*/
|
|
40
|
+
export type LWCObject = {
|
|
41
|
+
object: string;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* LWC property
|
|
45
|
+
*/
|
|
46
|
+
export type LWCProperty = {
|
|
47
|
+
name: string;
|
|
48
|
+
type: LWCPropertyType;
|
|
49
|
+
default?: string;
|
|
50
|
+
required?: boolean;
|
|
51
|
+
label?: string;
|
|
52
|
+
description?: string;
|
|
53
|
+
placeholder?: string;
|
|
54
|
+
role?: LWCPropertyRole;
|
|
55
|
+
datasource?: string;
|
|
56
|
+
min?: number;
|
|
57
|
+
max?: number;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* LWC property type
|
|
61
|
+
*/
|
|
62
|
+
export type LWCPropertyType = 'Boolean' | 'Integer' | 'String' | 'Color' | 'Date' | 'DateTime' | 'Picklist' | 'SObject' | 'SObjectField' | 'Url';
|
|
63
|
+
/**
|
|
64
|
+
* LWC property role
|
|
65
|
+
*/
|
|
66
|
+
export type LWCPropertyRole = 'Label' | 'Icon' | 'Description' | 'Filter';
|
|
67
|
+
/**
|
|
68
|
+
* LWC supported form factors
|
|
69
|
+
*/
|
|
70
|
+
export type LWCSupportedFormFactor = {
|
|
71
|
+
type: LWCFormFactor;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* LWC form factor
|
|
75
|
+
*/
|
|
76
|
+
export type LWCFormFactor = 'Small' | 'Medium' | 'Large';
|
|
77
|
+
/**
|
|
78
|
+
* LWC capability
|
|
79
|
+
*/
|
|
80
|
+
export type LWCCapability = 'urn:salesforce:communities:notifications' | 'sfdc:allow_guest_access';
|
|
81
|
+
/**
|
|
82
|
+
* LWC import types
|
|
83
|
+
*/
|
|
84
|
+
export type LWCImportType = 'apex' | 'lwc' | 'schema' | 'custom_label' | 'navigation' | 'wire' | 'platform';
|
|
85
|
+
/**
|
|
86
|
+
* LWC import statement
|
|
87
|
+
*/
|
|
88
|
+
export type LWCImport = {
|
|
89
|
+
type: LWCImportType;
|
|
90
|
+
source: string;
|
|
91
|
+
imports: string[];
|
|
92
|
+
default?: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* LWC wire adapter
|
|
96
|
+
*/
|
|
97
|
+
export type LWCWireAdapter = {
|
|
98
|
+
adapterName: string;
|
|
99
|
+
source: string;
|
|
100
|
+
propertyName: string;
|
|
101
|
+
parameters?: Record<string, string>;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* LWC @api property
|
|
105
|
+
*/
|
|
106
|
+
export type LWCApiProperty = {
|
|
107
|
+
name: string;
|
|
108
|
+
type?: string;
|
|
109
|
+
isGetter?: boolean;
|
|
110
|
+
isSetter?: boolean;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* LWC navigation reference
|
|
114
|
+
*/
|
|
115
|
+
export type LWCNavigationReference = {
|
|
116
|
+
type: LWCNavigationType;
|
|
117
|
+
target?: string;
|
|
118
|
+
params?: Record<string, string>;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* LWC navigation type
|
|
122
|
+
*/
|
|
123
|
+
export type LWCNavigationType = 'standard__recordPage' | 'standard__objectPage' | 'standard__navItemPage' | 'standard__knowledgeArticlePage' | 'standard__webPage' | 'comm__namedPage' | 'comm__loginPage' | 'standard__app';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lwc.js","sourceRoot":"","sources":["../../../src/types/salesforce/lwc.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|