@hexagen-monaco/sync 0.4.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/LICENSE +33 -0
- package/README.md +181 -0
- package/dist/application/index.d.ts +3 -0
- package/dist/application/index.d.ts.map +1 -0
- package/dist/application/ports/index.d.ts +2 -0
- package/dist/application/ports/index.d.ts.map +1 -0
- package/dist/application/ports/out/architecture-graph-provider.port.d.ts +6 -0
- package/dist/application/ports/out/architecture-graph-provider.port.d.ts.map +1 -0
- package/dist/application/ports/out/file-system.port.d.ts +22 -0
- package/dist/application/ports/out/file-system.port.d.ts.map +1 -0
- package/dist/application/ports/out/generator-config.port.d.ts +51 -0
- package/dist/application/ports/out/generator-config.port.d.ts.map +1 -0
- package/dist/application/ports/out/index.d.ts +9 -0
- package/dist/application/ports/out/index.d.ts.map +1 -0
- package/dist/application/ports/out/linter-report-provider.port.d.ts +6 -0
- package/dist/application/ports/out/linter-report-provider.port.d.ts.map +1 -0
- package/dist/application/ports/out/ownership-registry.port.d.ts +35 -0
- package/dist/application/ports/out/ownership-registry.port.d.ts.map +1 -0
- package/dist/application/ports/out/project-configuration-read.port.d.ts +9 -0
- package/dist/application/ports/out/project-configuration-read.port.d.ts.map +1 -0
- package/dist/application/ports/out/symbol-reference-provider.port.d.ts +10 -0
- package/dist/application/ports/out/symbol-reference-provider.port.d.ts.map +1 -0
- package/dist/application/ports/out/workspace-file-provider.port.d.ts +14 -0
- package/dist/application/ports/out/workspace-file-provider.port.d.ts.map +1 -0
- package/dist/application/use-cases/get-architecture-graph.use-case.d.ts +8 -0
- package/dist/application/use-cases/get-architecture-graph.use-case.d.ts.map +1 -0
- package/dist/application/use-cases/get-linter-report.use-case.d.ts +8 -0
- package/dist/application/use-cases/get-linter-report.use-case.d.ts.map +1 -0
- package/dist/application/use-cases/get-manifest-resource.use-case.d.ts +8 -0
- package/dist/application/use-cases/get-manifest-resource.use-case.d.ts.map +1 -0
- package/dist/application/use-cases/index.d.ts +4 -0
- package/dist/application/use-cases/index.d.ts.map +1 -0
- package/dist/application/use-cases/refactoring-impact.use-case.d.ts +29 -0
- package/dist/application/use-cases/refactoring-impact.use-case.d.ts.map +1 -0
- package/dist/application/use-cases/stub-generation.use-case.d.ts +23 -0
- package/dist/application/use-cases/stub-generation.use-case.d.ts.map +1 -0
- package/dist/arch-linter-bin.d.ts +20 -0
- package/dist/arch-linter-bin.d.ts.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +12149 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/add/index.d.ts +8 -0
- package/dist/commands/add/index.d.ts.map +1 -0
- package/dist/commands/add/validate.d.ts +2 -0
- package/dist/commands/add/validate.d.ts.map +1 -0
- package/dist/commands/arch/add.d.ts +3 -0
- package/dist/commands/arch/add.d.ts.map +1 -0
- package/dist/commands/arch/context/command.d.ts +4 -0
- package/dist/commands/arch/context/command.d.ts.map +1 -0
- package/dist/commands/arch/context/persistence.d.ts +22 -0
- package/dist/commands/arch/context/persistence.d.ts.map +1 -0
- package/dist/commands/arch/context/wizard.d.ts +7 -0
- package/dist/commands/arch/context/wizard.d.ts.map +1 -0
- package/dist/commands/arch/diff.d.ts +3 -0
- package/dist/commands/arch/diff.d.ts.map +1 -0
- package/dist/commands/arch/edit.d.ts +9 -0
- package/dist/commands/arch/edit.d.ts.map +1 -0
- package/dist/commands/arch/index.d.ts +3 -0
- package/dist/commands/arch/index.d.ts.map +1 -0
- package/dist/commands/arch/list.d.ts +2 -0
- package/dist/commands/arch/list.d.ts.map +1 -0
- package/dist/commands/arch/port/persistence.d.ts +28 -0
- package/dist/commands/arch/port/persistence.d.ts.map +1 -0
- package/dist/commands/arch/port.d.ts +4 -0
- package/dist/commands/arch/port.d.ts.map +1 -0
- package/dist/commands/arch/refactor-rename-entity.d.ts +3 -0
- package/dist/commands/arch/refactor-rename-entity.d.ts.map +1 -0
- package/dist/commands/arch/refactor-rename-port.d.ts +3 -0
- package/dist/commands/arch/refactor-rename-port.d.ts.map +1 -0
- package/dist/commands/arch/refactor-rename-use-case.d.ts +3 -0
- package/dist/commands/arch/refactor-rename-use-case.d.ts.map +1 -0
- package/dist/commands/arch/refactor-shared.d.ts +11 -0
- package/dist/commands/arch/refactor-shared.d.ts.map +1 -0
- package/dist/commands/arch/refactor.d.ts +3 -0
- package/dist/commands/arch/refactor.d.ts.map +1 -0
- package/dist/commands/arch/remove/context.d.ts +7 -0
- package/dist/commands/arch/remove/context.d.ts.map +1 -0
- package/dist/commands/arch/remove/port.d.ts +7 -0
- package/dist/commands/arch/remove/port.d.ts.map +1 -0
- package/dist/commands/arch/remove.d.ts +3 -0
- package/dist/commands/arch/remove.d.ts.map +1 -0
- package/dist/commands/arch/validate.d.ts +2 -0
- package/dist/commands/arch/validate.d.ts.map +1 -0
- package/dist/commands/manifest/index.d.ts +3 -0
- package/dist/commands/manifest/index.d.ts.map +1 -0
- package/dist/commands/manifest/split-utils.d.ts +8 -0
- package/dist/commands/manifest/split-utils.d.ts.map +1 -0
- package/dist/commands/manifest/split.d.ts +3 -0
- package/dist/commands/manifest/split.d.ts.map +1 -0
- package/dist/commands/shared/confirm.d.ts +5 -0
- package/dist/commands/shared/confirm.d.ts.map +1 -0
- package/dist/commands/shared/error-formatter.d.ts +7 -0
- package/dist/commands/shared/error-formatter.d.ts.map +1 -0
- package/dist/commands/shared/index.d.ts +15 -0
- package/dist/commands/shared/index.d.ts.map +1 -0
- package/dist/commands/shared/project-root.d.ts +3 -0
- package/dist/commands/shared/project-root.d.ts.map +1 -0
- package/dist/commands/shared/prompt-service.d.ts +15 -0
- package/dist/commands/shared/prompt-service.d.ts.map +1 -0
- package/dist/commands/shared/spinner.d.ts +13 -0
- package/dist/commands/shared/spinner.d.ts.map +1 -0
- package/dist/commands/shared/template-engine-path.d.ts +12 -0
- package/dist/commands/shared/template-engine-path.d.ts.map +1 -0
- package/dist/commands/shared/validation.d.ts +15 -0
- package/dist/commands/shared/validation.d.ts.map +1 -0
- package/dist/commands/shared/yaml-service.d.ts +23 -0
- package/dist/commands/shared/yaml-service.d.ts.map +1 -0
- package/dist/commands/templates/index.d.ts +3 -0
- package/dist/commands/templates/index.d.ts.map +1 -0
- package/dist/commands/templates/info.d.ts +2 -0
- package/dist/commands/templates/info.d.ts.map +1 -0
- package/dist/commands/templates/list.d.ts +2 -0
- package/dist/commands/templates/list.d.ts.map +1 -0
- package/dist/config/barrel-exclusions.d.ts +10 -0
- package/dist/config/barrel-exclusions.d.ts.map +1 -0
- package/dist/config.d.ts +19 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/domain/index.d.ts +5 -0
- package/dist/domain/index.d.ts.map +1 -0
- package/dist/domain/result.d.ts +4 -0
- package/dist/domain/result.d.ts.map +1 -0
- package/dist/domain/services/architectural-boundary-checker.d.ts +18 -0
- package/dist/domain/services/architectural-boundary-checker.d.ts.map +1 -0
- package/dist/domain/services/emission-plan-builder.d.ts +17 -0
- package/dist/domain/services/emission-plan-builder.d.ts.map +1 -0
- package/dist/domain/services/impact-analysis.types.d.ts +24 -0
- package/dist/domain/services/impact-analysis.types.d.ts.map +1 -0
- package/dist/domain/services/impact-request-validator.d.ts +14 -0
- package/dist/domain/services/impact-request-validator.d.ts.map +1 -0
- package/dist/domain/services/index.d.ts +7 -0
- package/dist/domain/services/index.d.ts.map +1 -0
- package/dist/domain/services/layer-classifier.d.ts +4 -0
- package/dist/domain/services/layer-classifier.d.ts.map +1 -0
- package/dist/domain/services/stub-template-resolver.d.ts +16 -0
- package/dist/domain/services/stub-template-resolver.d.ts.map +1 -0
- package/dist/domain/session.d.ts +6 -0
- package/dist/domain/session.d.ts.map +1 -0
- package/dist/domain/stub-templates.d.ts +8 -0
- package/dist/domain/stub-templates.d.ts.map +1 -0
- package/dist/domain/types.d.ts +4 -0
- package/dist/domain/types.d.ts.map +1 -0
- package/dist/fs-utils.d.ts +28 -0
- package/dist/fs-utils.d.ts.map +1 -0
- package/dist/generators/apps-framework-templates.d.ts +4 -0
- package/dist/generators/apps-framework-templates.d.ts.map +1 -0
- package/dist/generators/apps.d.ts +5 -0
- package/dist/generators/apps.d.ts.map +1 -0
- package/dist/generators/architecture-file-templates.d.ts +9 -0
- package/dist/generators/architecture-file-templates.d.ts.map +1 -0
- package/dist/generators/architecture-files.d.ts +5 -0
- package/dist/generators/architecture-files.d.ts.map +1 -0
- package/dist/generators/barrels/index.d.ts +6 -0
- package/dist/generators/barrels/index.d.ts.map +1 -0
- package/dist/generators/barrels/recursive.d.ts +44 -0
- package/dist/generators/barrels/recursive.d.ts.map +1 -0
- package/dist/generators/barrels/utils.d.ts +56 -0
- package/dist/generators/barrels/utils.d.ts.map +1 -0
- package/dist/generators/barrels.d.ts +31 -0
- package/dist/generators/barrels.d.ts.map +1 -0
- package/dist/generators/eslint.d.ts +47 -0
- package/dist/generators/eslint.d.ts.map +1 -0
- package/dist/generators/layer-folders.d.ts +16 -0
- package/dist/generators/layer-folders.d.ts.map +1 -0
- package/dist/generators/migration-assistant.d.ts +7 -0
- package/dist/generators/migration-assistant.d.ts.map +1 -0
- package/dist/generators/migration-audit.d.ts +28 -0
- package/dist/generators/migration-audit.d.ts.map +1 -0
- package/dist/generators/migration-stubs.d.ts +7 -0
- package/dist/generators/migration-stubs.d.ts.map +1 -0
- package/dist/generators/package-json.d.ts +11 -0
- package/dist/generators/package-json.d.ts.map +1 -0
- package/dist/generators/port-analyzer.d.ts +56 -0
- package/dist/generators/port-analyzer.d.ts.map +1 -0
- package/dist/generators/reap.d.ts +11 -0
- package/dist/generators/reap.d.ts.map +1 -0
- package/dist/generators/root-file-templates.d.ts +8 -0
- package/dist/generators/root-file-templates.d.ts.map +1 -0
- package/dist/generators/root-files.d.ts +5 -0
- package/dist/generators/root-files.d.ts.map +1 -0
- package/dist/generators/stubs/index.d.ts +4 -0
- package/dist/generators/stubs/index.d.ts.map +1 -0
- package/dist/generators/stubs/stub-templates.d.ts +3 -0
- package/dist/generators/stubs/stub-templates.d.ts.map +1 -0
- package/dist/generators/stubs.d.ts +5 -0
- package/dist/generators/stubs.d.ts.map +1 -0
- package/dist/generators/test-generator.d.ts +7 -0
- package/dist/generators/test-generator.d.ts.map +1 -0
- package/dist/generators/test-templates/data-builder.d.ts +2 -0
- package/dist/generators/test-templates/data-builder.d.ts.map +1 -0
- package/dist/generators/test-templates/enhanced-test-double.d.ts +2 -0
- package/dist/generators/test-templates/enhanced-test-double.d.ts.map +1 -0
- package/dist/generators/test-templates/index.d.ts +5 -0
- package/dist/generators/test-templates/index.d.ts.map +1 -0
- package/dist/generators/test-templates/integration-test.d.ts +2 -0
- package/dist/generators/test-templates/integration-test.d.ts.map +1 -0
- package/dist/generators/test-templates/unit-test.d.ts +2 -0
- package/dist/generators/test-templates/unit-test.d.ts.map +1 -0
- package/dist/generators/tsconfig.d.ts +16 -0
- package/dist/generators/tsconfig.d.ts.map +1 -0
- package/dist/generators/validators/index.d.ts +11 -0
- package/dist/generators/validators/index.d.ts.map +1 -0
- package/dist/generators/validators/validate-dependencies.d.ts +7 -0
- package/dist/generators/validators/validate-dependencies.d.ts.map +1 -0
- package/dist/generators/validators/validate-manifest-sync.d.ts +5 -0
- package/dist/generators/validators/validate-manifest-sync.d.ts.map +1 -0
- package/dist/generators/validators/validate-port-adapter.d.ts +5 -0
- package/dist/generators/validators/validate-port-adapter.d.ts.map +1 -0
- package/dist/generators/validators/validation-types.d.ts +20 -0
- package/dist/generators/validators/validation-types.d.ts.map +1 -0
- package/dist/generators/validators.d.ts +7 -0
- package/dist/generators/validators.d.ts.map +1 -0
- package/dist/generators/wiring.d.ts +20 -0
- package/dist/generators/wiring.d.ts.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8070 -0
- package/dist/index.js.map +1 -0
- package/dist/infrastructure/adapters/atomic-file-system.adapter.d.ts +13 -0
- package/dist/infrastructure/adapters/atomic-file-system.adapter.d.ts.map +1 -0
- package/dist/infrastructure/adapters/file-system-workspace.adapter.d.ts +12 -0
- package/dist/infrastructure/adapters/file-system-workspace.adapter.d.ts.map +1 -0
- package/dist/infrastructure/adapters/in-memory-config-double.d.ts +30 -0
- package/dist/infrastructure/adapters/in-memory-config-double.d.ts.map +1 -0
- package/dist/infrastructure/adapters/index.d.ts +5 -0
- package/dist/infrastructure/adapters/index.d.ts.map +1 -0
- package/dist/infrastructure/adapters/yaml-config.adapter.d.ts +38 -0
- package/dist/infrastructure/adapters/yaml-config.adapter.d.ts.map +1 -0
- package/dist/infrastructure/index.d.ts +2 -0
- package/dist/infrastructure/index.d.ts.map +1 -0
- package/dist/linter.d.ts +7 -0
- package/dist/linter.d.ts.map +1 -0
- package/dist/loaders/index.d.ts +2 -0
- package/dist/loaders/index.d.ts.map +1 -0
- package/dist/loaders/manifest-merge-loader.d.ts +3 -0
- package/dist/loaders/manifest-merge-loader.d.ts.map +1 -0
- package/dist/lock.d.ts +14 -0
- package/dist/lock.d.ts.map +1 -0
- package/dist/manifest-service.d.ts +10 -0
- package/dist/manifest-service.d.ts.map +1 -0
- package/dist/migration-report.d.ts +12 -0
- package/dist/migration-report.d.ts.map +1 -0
- package/dist/preflight.d.ts +7 -0
- package/dist/preflight.d.ts.map +1 -0
- package/dist/refactoring/git-operations.d.ts +9 -0
- package/dist/refactoring/git-operations.d.ts.map +1 -0
- package/dist/refactoring/impact-analyzer.d.ts +23 -0
- package/dist/refactoring/impact-analyzer.d.ts.map +1 -0
- package/dist/refactoring/index.d.ts +6 -0
- package/dist/refactoring/index.d.ts.map +1 -0
- package/dist/refactoring/refactoring-engine.d.ts +40 -0
- package/dist/refactoring/refactoring-engine.d.ts.map +1 -0
- package/dist/refactoring/refactoring-patterns/base-pattern.d.ts +37 -0
- package/dist/refactoring/refactoring-patterns/base-pattern.d.ts.map +1 -0
- package/dist/refactoring/refactoring-patterns/index.d.ts +5 -0
- package/dist/refactoring/refactoring-patterns/index.d.ts.map +1 -0
- package/dist/refactoring/refactoring-patterns/refactoring-utils.d.ts +8 -0
- package/dist/refactoring/refactoring-patterns/refactoring-utils.d.ts.map +1 -0
- package/dist/refactoring/refactoring-patterns/rename-entity.pattern.d.ts +19 -0
- package/dist/refactoring/refactoring-patterns/rename-entity.pattern.d.ts.map +1 -0
- package/dist/refactoring/refactoring-patterns/rename-port.pattern.d.ts +42 -0
- package/dist/refactoring/refactoring-patterns/rename-port.pattern.d.ts.map +1 -0
- package/dist/refactoring/refactoring-patterns/rename-use-case.pattern.d.ts +40 -0
- package/dist/refactoring/refactoring-patterns/rename-use-case.pattern.d.ts.map +1 -0
- package/dist/refactoring/safe-refactoring-orchestrator.d.ts +24 -0
- package/dist/refactoring/safe-refactoring-orchestrator.d.ts.map +1 -0
- package/dist/refactoring/validation-suite.d.ts +20 -0
- package/dist/refactoring/validation-suite.d.ts.map +1 -0
- package/dist/results.d.ts +16 -0
- package/dist/results.d.ts.map +1 -0
- package/dist/sync-engine-helpers.d.ts +15 -0
- package/dist/sync-engine-helpers.d.ts.map +1 -0
- package/dist/sync-engine-init.d.ts +12 -0
- package/dist/sync-engine-init.d.ts.map +1 -0
- package/dist/sync-engine.d.ts +21 -0
- package/dist/sync-engine.d.ts.map +1 -0
- package/dist/template-engine.d.ts +3 -0
- package/dist/template-engine.d.ts.map +1 -0
- package/dist/templates/__example__/files/example-output.txt +9 -0
- package/dist/templates/__example__/manifest.json +44 -0
- package/dist/templates/adobe-creative-production/README.md +89 -0
- package/dist/templates/adobe-creative-production/files/.env.adobe-creative-production.example +6 -0
- package/dist/templates/adobe-creative-production/files/src/domain/ports/out/creative-production.port.ts +62 -0
- package/dist/templates/adobe-creative-production/files/src/infrastructure/adobe/creative-production/creative-production.adapter.ts +144 -0
- package/dist/templates/adobe-creative-production/manifest.json +25 -0
- package/dist/templates/adobe-express/README.md +85 -0
- package/dist/templates/adobe-express/files/.env.adobe-express.example +7 -0
- package/dist/templates/adobe-express/files/src/domain/ports/out/express.port.ts +47 -0
- package/dist/templates/adobe-express/files/src/infrastructure/adobe/express/express.adapter.ts +155 -0
- package/dist/templates/adobe-express/manifest.json +32 -0
- package/dist/templates/adobe-firefly-composite/README.md +75 -0
- package/dist/templates/adobe-firefly-composite/files/.env.adobe-composite.example +5 -0
- package/dist/templates/adobe-firefly-composite/files/src/domain/ports/out/composite.port.ts +39 -0
- package/dist/templates/adobe-firefly-composite/files/src/infrastructure/adobe/composite/composite.adapter.ts +102 -0
- package/dist/templates/adobe-firefly-composite/manifest.json +32 -0
- package/dist/templates/adobe-firefly-content-tagging/README.md +70 -0
- package/dist/templates/adobe-firefly-content-tagging/files/.env.adobe-content-tagging.example +4 -0
- package/dist/templates/adobe-firefly-content-tagging/files/src/domain/ports/out/content-tagging.port.ts +28 -0
- package/dist/templates/adobe-firefly-content-tagging/files/src/infrastructure/adobe/content-tagging/content-tagging.adapter.ts +120 -0
- package/dist/templates/adobe-firefly-content-tagging/manifest.json +31 -0
- package/dist/templates/adobe-firefly-core/README.md +147 -0
- package/dist/templates/adobe-firefly-core/files/.env.adobe.example +15 -0
- package/dist/templates/adobe-firefly-core/files/src/domain/ports/out/firefly-auth.port.ts +11 -0
- package/dist/templates/adobe-firefly-core/files/src/domain/ports/out/firefly-job.port.ts +50 -0
- package/dist/templates/adobe-firefly-core/files/src/domain/ports/out/firefly-storage.port.ts +20 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/auth/ims-token-provider.adapter.ts +112 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/auth/smoke-token.ts +17 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/errors/firefly-errors.ts +91 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/http/firefly-client.ts +135 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/index.ts +46 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/jobs/job-poller.ts +52 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/jobs/job-port.ts +149 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/jobs/job-result.ts +113 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/jobs/webhook-verifier.ts +67 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/storage/passthrough-storage.adapter.ts +36 -0
- package/dist/templates/adobe-firefly-core/manifest.json +86 -0
- package/dist/templates/adobe-firefly-custom-models/README.md +96 -0
- package/dist/templates/adobe-firefly-custom-models/files/.env.adobe-custom-models.example +6 -0
- package/dist/templates/adobe-firefly-custom-models/files/src/domain/ports/out/custom-model.port.ts +77 -0
- package/dist/templates/adobe-firefly-custom-models/files/src/infrastructure/adobe/custom-models/firefly-custom-model.adapter.ts +199 -0
- package/dist/templates/adobe-firefly-custom-models/manifest.json +33 -0
- package/dist/templates/adobe-firefly-generate/README.md +86 -0
- package/dist/templates/adobe-firefly-generate/files/.env.adobe-generate.example +5 -0
- package/dist/templates/adobe-firefly-generate/files/src/domain/ports/out/image-generation.port.ts +61 -0
- package/dist/templates/adobe-firefly-generate/files/src/infrastructure/adobe/generate/firefly-generate.adapter.ts +167 -0
- package/dist/templates/adobe-firefly-generate/manifest.json +45 -0
- package/dist/templates/adobe-firefly-media/README.md +99 -0
- package/dist/templates/adobe-firefly-media/files/.env.adobe-media.example +8 -0
- package/dist/templates/adobe-firefly-media/files/src/domain/ports/out/media-generation.port.ts +80 -0
- package/dist/templates/adobe-firefly-media/files/src/infrastructure/adobe/media/firefly-media.adapter.ts +161 -0
- package/dist/templates/adobe-firefly-media/manifest.json +32 -0
- package/dist/templates/adobe-firefly-storage-azure/README.md +88 -0
- package/dist/templates/adobe-firefly-storage-azure/files/.env.adobe-storage-azure.example +9 -0
- package/dist/templates/adobe-firefly-storage-azure/files/src/infrastructure/adobe/storage/azure-blob-presign.adapter.ts +171 -0
- package/dist/templates/adobe-firefly-storage-azure/files/src/infrastructure/adobe/storage/azure-register.ts +15 -0
- package/dist/templates/adobe-firefly-storage-azure/manifest.json +37 -0
- package/dist/templates/adobe-firefly-storage-gcs/README.md +85 -0
- package/dist/templates/adobe-firefly-storage-gcs/files/.env.adobe-storage-gcs.example +8 -0
- package/dist/templates/adobe-firefly-storage-gcs/files/src/infrastructure/adobe/storage/gcs-presign.adapter.ts +100 -0
- package/dist/templates/adobe-firefly-storage-gcs/files/src/infrastructure/adobe/storage/gcs-register.ts +15 -0
- package/dist/templates/adobe-firefly-storage-gcs/manifest.json +33 -0
- package/dist/templates/adobe-firefly-storage-s3/README.md +76 -0
- package/dist/templates/adobe-firefly-storage-s3/files/.env.adobe-storage-s3.example +8 -0
- package/dist/templates/adobe-firefly-storage-s3/files/src/infrastructure/adobe/storage/s3-presign.adapter.ts +109 -0
- package/dist/templates/adobe-firefly-storage-s3/files/src/infrastructure/adobe/storage/s3-register.ts +15 -0
- package/dist/templates/adobe-firefly-storage-s3/manifest.json +31 -0
- package/dist/templates/adobe-firefly-upscale/README.md +68 -0
- package/dist/templates/adobe-firefly-upscale/files/.env.adobe-upscale.example +3 -0
- package/dist/templates/adobe-firefly-upscale/files/src/domain/ports/out/upscale.port.ts +25 -0
- package/dist/templates/adobe-firefly-upscale/files/src/infrastructure/adobe/upscale/upscale.adapter.ts +85 -0
- package/dist/templates/adobe-firefly-upscale/manifest.json +30 -0
- package/dist/templates/adobe-illustrator/README.md +80 -0
- package/dist/templates/adobe-illustrator/files/.env.adobe-illustrator.example +7 -0
- package/dist/templates/adobe-illustrator/files/src/domain/ports/out/illustrator.port.ts +51 -0
- package/dist/templates/adobe-illustrator/files/src/infrastructure/adobe/illustrator/illustrator.adapter.ts +167 -0
- package/dist/templates/adobe-illustrator/manifest.json +38 -0
- package/dist/templates/adobe-ims-spa/README.md +99 -0
- package/dist/templates/adobe-ims-spa/files/.env.adobe-ims.example +12 -0
- package/dist/templates/adobe-ims-spa/files/app/api/auth/callback/route.ts +84 -0
- package/dist/templates/adobe-ims-spa/files/app/api/auth/login/route.ts +30 -0
- package/dist/templates/adobe-ims-spa/files/app/api/auth/logout/route.ts +24 -0
- package/dist/templates/adobe-ims-spa/files/app/api/auth/me/route.ts +18 -0
- package/dist/templates/adobe-ims-spa/files/middleware.ts +74 -0
- package/dist/templates/adobe-ims-spa/files/src/domain/ports/out/ims-auth.port.ts +24 -0
- package/dist/templates/adobe-ims-spa/files/src/infrastructure/auth/adobe-ims/adobe-ims-auth.adapter.ts +71 -0
- package/dist/templates/adobe-ims-spa/files/src/infrastructure/auth/adobe-ims/config.ts +34 -0
- package/dist/templates/adobe-ims-spa/files/src/infrastructure/auth/adobe-ims/ims-client.ts +85 -0
- package/dist/templates/adobe-ims-spa/files/src/infrastructure/auth/adobe-ims/pkce.ts +37 -0
- package/dist/templates/adobe-ims-spa/files/src/infrastructure/auth/adobe-ims/token-store.ts +54 -0
- package/dist/templates/adobe-ims-spa/files/src/infrastructure/auth/adobe-ims/user-profile-mapper.ts +12 -0
- package/dist/templates/adobe-ims-spa/files/src/lib/auth/get-current-user.ts +56 -0
- package/dist/templates/adobe-ims-spa/files/src/lib/auth/require-auth.ts +11 -0
- package/dist/templates/adobe-ims-spa/manifest.json +88 -0
- package/dist/templates/adobe-indesign/README.md +76 -0
- package/dist/templates/adobe-indesign/files/.env.adobe-indesign.example +7 -0
- package/dist/templates/adobe-indesign/files/src/domain/ports/out/indesign.port.ts +43 -0
- package/dist/templates/adobe-indesign/files/src/infrastructure/adobe/indesign/indesign.adapter.ts +160 -0
- package/dist/templates/adobe-indesign/manifest.json +38 -0
- package/dist/templates/adobe-lightroom/README.md +81 -0
- package/dist/templates/adobe-lightroom/files/.env.adobe-lightroom.example +7 -0
- package/dist/templates/adobe-lightroom/files/src/domain/ports/out/lightroom.port.ts +36 -0
- package/dist/templates/adobe-lightroom/files/src/infrastructure/adobe/lightroom/lightroom.adapter.ts +145 -0
- package/dist/templates/adobe-lightroom/manifest.json +39 -0
- package/dist/templates/adobe-photoshop/README.md +87 -0
- package/dist/templates/adobe-photoshop/files/.env.adobe-photoshop.example +7 -0
- package/dist/templates/adobe-photoshop/files/src/domain/ports/out/photoshop-automation.port.ts +60 -0
- package/dist/templates/adobe-photoshop/files/src/infrastructure/adobe/photoshop/photoshop-automation.adapter.ts +180 -0
- package/dist/templates/adobe-photoshop/manifest.json +45 -0
- package/dist/templates/adobe-substance-3d/README.md +88 -0
- package/dist/templates/adobe-substance-3d/files/.env.adobe-substance-3d.example +12 -0
- package/dist/templates/adobe-substance-3d/files/src/domain/ports/out/substance-3d.port.ts +45 -0
- package/dist/templates/adobe-substance-3d/files/src/infrastructure/adobe/substance-3d/substance-3d.adapter.ts +177 -0
- package/dist/templates/adobe-substance-3d/manifest.json +39 -0
- package/dist/templates/agents-md/README.md +55 -0
- package/dist/templates/agents-md/files/.agents/architecture.md +42 -0
- package/dist/templates/agents-md/files/.agents/git.md +30 -0
- package/dist/templates/agents-md/files/.agents/session-log.md +37 -0
- package/dist/templates/agents-md/files/.agents/tech-stack.md +34 -0
- package/dist/templates/agents-md/files/.agents/testing.md +30 -0
- package/dist/templates/agents-md/files/AGENTS.md +97 -0
- package/dist/templates/agents-md/manifest.json +49 -0
- package/dist/templates/auth-mock/README.md +57 -0
- package/dist/templates/auth-mock/files/.env.auth.example +9 -0
- package/dist/templates/auth-mock/files/middleware.ts +28 -0
- package/dist/templates/auth-mock/manifest.json +23 -0
- package/dist/templates/bedrock-agentcore-runtime/README.md +68 -0
- package/dist/templates/bedrock-agentcore-runtime/files/.env.agentcore.example +19 -0
- package/dist/templates/bedrock-agentcore-runtime/files/.github/workflows/deploy-agentcore.yml +100 -0
- package/dist/templates/bedrock-agentcore-runtime/files/Dockerfile.agentcore +33 -0
- package/dist/templates/bedrock-agentcore-runtime/files/agentcore/agentcore.json +16 -0
- package/dist/templates/bedrock-agentcore-runtime/files/agentcore/aws-targets.json +7 -0
- package/dist/templates/bedrock-agentcore-runtime/files/iam/agentcore-runtime-role.policy.json +49 -0
- package/dist/templates/bedrock-agentcore-runtime/files/infra/agentcore-stack.ts +90 -0
- package/dist/templates/bedrock-agentcore-runtime/files/src/infrastructure/agentcore/http/invocations.handler.ts +152 -0
- package/dist/templates/bedrock-agentcore-runtime/files/src/infrastructure/agentcore/http/ping.handler.ts +13 -0
- package/dist/templates/bedrock-agentcore-runtime/files/src/infrastructure/agentcore/http/server.ts +134 -0
- package/dist/templates/bedrock-agentcore-runtime/files/src/infrastructure/agentcore/runtime/payload.ts +63 -0
- package/dist/templates/bedrock-agentcore-runtime/files/src/infrastructure/agentcore/runtime/session.ts +58 -0
- package/dist/templates/bedrock-agentcore-runtime/manifest.json +89 -0
- package/dist/templates/bedrock-agentcore-services/README.md +65 -0
- package/dist/templates/bedrock-agentcore-services/files/.env.agentcore-services.example +20 -0
- package/dist/templates/bedrock-agentcore-services/files/agentcore/agentcore-services.json +14 -0
- package/dist/templates/bedrock-agentcore-services/files/src/domain/ports/out/agent-identity.port.ts +26 -0
- package/dist/templates/bedrock-agentcore-services/files/src/domain/ports/out/agent-memory.port.ts +30 -0
- package/dist/templates/bedrock-agentcore-services/files/src/domain/ports/out/tool-gateway.port.ts +27 -0
- package/dist/templates/bedrock-agentcore-services/files/src/infrastructure/agentcore/gateway/agentcore-gateway.adapter.ts +103 -0
- package/dist/templates/bedrock-agentcore-services/files/src/infrastructure/agentcore/gateway/mcp-tool-mapper.ts +44 -0
- package/dist/templates/bedrock-agentcore-services/files/src/infrastructure/agentcore/identity/agentcore-identity.adapter.ts +82 -0
- package/dist/templates/bedrock-agentcore-services/files/src/infrastructure/agentcore/identity/idp-bridge.ts +74 -0
- package/dist/templates/bedrock-agentcore-services/files/src/infrastructure/agentcore/memory/agentcore-memory.adapter.ts +82 -0
- package/dist/templates/bedrock-agentcore-services/files/src/infrastructure/agentcore/memory/memory-config.ts +45 -0
- package/dist/templates/bedrock-agentcore-services/manifest.json +97 -0
- package/dist/templates/better-auth/README.md +60 -0
- package/dist/templates/better-auth/files/.env.better-auth.example +20 -0
- package/dist/templates/better-auth/files/app/api/auth/[...all]/route.ts +5 -0
- package/dist/templates/better-auth/files/src/db/index.ts +10 -0
- package/dist/templates/better-auth/files/src/db/migrations/0001_better_auth.sql +49 -0
- package/dist/templates/better-auth/files/src/db/schema/better-auth.ts +57 -0
- package/dist/templates/better-auth/files/src/lib/auth-client.ts +13 -0
- package/dist/templates/better-auth/files/src/lib/auth.ts +72 -0
- package/dist/templates/better-auth/manifest.json +71 -0
- package/dist/templates/bullmq/README.md +61 -0
- package/dist/templates/bullmq/files/.env.bullmq.example +34 -0
- package/dist/templates/bullmq/files/app/admin/queues/[[...slug]]/route.ts +103 -0
- package/dist/templates/bullmq/files/scripts/start-worker.ts +55 -0
- package/dist/templates/bullmq/files/server/startup/start-workers.ts +171 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/connection.ts +105 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/fallback/sync-executor.ts +96 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/index.ts +30 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/jobs/ai-generation.job.ts +53 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/jobs/email.job.ts +42 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/jobs/export.job.ts +49 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/jobs/image-processing.job.ts +48 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/jobs/webhook.job.ts +139 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/parse-int-env.ts +28 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/queues.ts +153 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/scheduler/job-scheduler.ts +70 -0
- package/dist/templates/bullmq/files/src/infrastructure/queue/workers.ts +101 -0
- package/dist/templates/bullmq/manifest.json +120 -0
- package/dist/templates/ci-github-actions/README.md +62 -0
- package/dist/templates/ci-github-actions/files/.github/dependabot.yml +20 -0
- package/dist/templates/ci-github-actions/files/.github/workflows/ci.yml +103 -0
- package/dist/templates/ci-github-actions/files/.github/workflows/deploy-fly.yml +30 -0
- package/dist/templates/ci-github-actions/files/.github/workflows/deploy-railway.yml +32 -0
- package/dist/templates/ci-github-actions/files/.github/workflows/deploy-vercel.yml +39 -0
- package/dist/templates/ci-github-actions/files/.github/workflows/deploy-vps.yml +34 -0
- package/dist/templates/ci-github-actions/files/.github/workflows/preview.yml +58 -0
- package/dist/templates/ci-github-actions/files/fly.toml +23 -0
- package/dist/templates/ci-github-actions/manifest.json +100 -0
- package/dist/templates/clerk/README.md +59 -0
- package/dist/templates/clerk/files/.env.clerk.example +11 -0
- package/dist/templates/clerk/files/app/(protected)/layout.tsx +18 -0
- package/dist/templates/clerk/files/app/api/protected-example/route.ts +17 -0
- package/dist/templates/clerk/files/middleware.ts +25 -0
- package/dist/templates/clerk/files/src/lib/auth.ts +12 -0
- package/dist/templates/clerk/files/src/lib/role-guard.tsx +32 -0
- package/dist/templates/clerk/manifest.json +67 -0
- package/dist/templates/design-system/README.md +60 -0
- package/dist/templates/design-system/files/.storybook/main.ts +9 -0
- package/dist/templates/design-system/files/.storybook/preview.ts +13 -0
- package/dist/templates/design-system/files/DESIGN.md +76 -0
- package/dist/templates/design-system/files/src/components/ui/button.stories.tsx +17 -0
- package/dist/templates/design-system/files/src/components/ui/button.tsx +61 -0
- package/dist/templates/design-system/files/src/components/ui/card.tsx +40 -0
- package/dist/templates/design-system/files/src/components/ui/index.ts +6 -0
- package/dist/templates/design-system/files/src/components/ui/input.tsx +29 -0
- package/dist/templates/design-system/files/src/lib/cn.ts +13 -0
- package/dist/templates/design-system/files/src/styles/globals.css +37 -0
- package/dist/templates/design-system/files/src/styles/theme.ts +56 -0
- package/dist/templates/design-system/files/src/styles/tokens.css +73 -0
- package/dist/templates/design-system/files/tailwind.config.ts +58 -0
- package/dist/templates/design-system/manifest.json +81 -0
- package/dist/templates/docker/README.md +62 -0
- package/dist/templates/docker/files/.dockerignore +34 -0
- package/dist/templates/docker/files/.github/workflows/docker-build.yml +74 -0
- package/dist/templates/docker/files/Dockerfile +57 -0
- package/dist/templates/docker/files/docker-compose.ci.yml +22 -0
- package/dist/templates/docker/files/docker-compose.override.yml +20 -0
- package/dist/templates/docker/files/docker-compose.yml +109 -0
- package/dist/templates/docker/manifest.json +59 -0
- package/dist/templates/env-setup/README.md +70 -0
- package/dist/templates/env-setup/files/.env.example +28 -0
- package/dist/templates/env-setup/files/.gitignore.hexagen +16 -0
- package/dist/templates/env-setup/files/SETUP.md +70 -0
- package/dist/templates/env-setup/files/scripts/check-env.ts +95 -0
- package/dist/templates/env-setup/files/src/config/env.client.ts +18 -0
- package/dist/templates/env-setup/files/src/config/env.server.ts +49 -0
- package/dist/templates/env-setup/files/src/config/env.ts +14 -0
- package/dist/templates/env-setup/files/src/config/load-env.ts +40 -0
- package/dist/templates/env-setup/manifest.json +55 -0
- package/dist/templates/error-handling/README.md +72 -0
- package/dist/templates/error-handling/files/.env.sentry.example +8 -0
- package/dist/templates/error-handling/files/app/components/ErrorBoundary.tsx +49 -0
- package/dist/templates/error-handling/files/app/components/ErrorFallback.tsx +35 -0
- package/dist/templates/error-handling/files/server/middleware/error-handler.ts +131 -0
- package/dist/templates/error-handling/files/src/application/errors/application.error.ts +33 -0
- package/dist/templates/error-handling/files/src/domain/errors/authorization.error.ts +20 -0
- package/dist/templates/error-handling/files/src/domain/errors/domain.error.ts +23 -0
- package/dist/templates/error-handling/files/src/domain/errors/not-found.error.ts +11 -0
- package/dist/templates/error-handling/files/src/domain/errors/validation.error.ts +17 -0
- package/dist/templates/error-handling/files/src/infrastructure/errors/external-service.error.ts +24 -0
- package/dist/templates/error-handling/files/src/infrastructure/errors/infrastructure.error.ts +22 -0
- package/dist/templates/error-handling/files/src/infrastructure/errors/llm-errors.ts +57 -0
- package/dist/templates/error-handling/files/src/shared/errors/error-codes.ts +29 -0
- package/dist/templates/error-handling/files/src/shared/result.ts +38 -0
- package/dist/templates/error-handling/manifest.json +63 -0
- package/dist/templates/eslint-no-console/README.md +78 -0
- package/dist/templates/eslint-no-console/files/eslint.no-console.mjs +35 -0
- package/dist/templates/eslint-no-console/manifest.json +28 -0
- package/dist/templates/github-oauth/README.md +61 -0
- package/dist/templates/github-oauth/files/.env.github-oauth.example +13 -0
- package/dist/templates/github-oauth/files/app/api/auth/callback/github/route.ts +105 -0
- package/dist/templates/github-oauth/files/app/api/auth/login/github/route.ts +33 -0
- package/dist/templates/github-oauth/files/app/api/auth/logout/github/route.ts +8 -0
- package/dist/templates/github-oauth/files/app/api/auth/me/route.ts +10 -0
- package/dist/templates/github-oauth/files/middleware.ts +59 -0
- package/dist/templates/github-oauth/files/src/infrastructure/auth/github/config.ts +34 -0
- package/dist/templates/github-oauth/files/src/infrastructure/auth/github/github-auth.adapter.ts +12 -0
- package/dist/templates/github-oauth/files/src/infrastructure/auth/github/github-client.ts +95 -0
- package/dist/templates/github-oauth/files/src/infrastructure/auth/github/github-user.ts +8 -0
- package/dist/templates/github-oauth/files/src/infrastructure/auth/github/session-store.ts +56 -0
- package/dist/templates/github-oauth/files/src/infrastructure/auth/github/user-profile-mapper.ts +24 -0
- package/dist/templates/github-oauth/files/src/lib/auth/get-current-user.ts +31 -0
- package/dist/templates/github-oauth/files/src/lib/auth/require-auth.ts +11 -0
- package/dist/templates/github-oauth/manifest.json +83 -0
- package/dist/templates/google-oauth/README.md +70 -0
- package/dist/templates/google-oauth/files/.env.google-oauth.example +14 -0
- package/dist/templates/google-oauth/files/app/api/auth/callback/google/route.ts +78 -0
- package/dist/templates/google-oauth/files/app/api/auth/login/google/route.ts +34 -0
- package/dist/templates/google-oauth/files/app/api/auth/logout/google/route.ts +8 -0
- package/dist/templates/google-oauth/files/app/api/auth/me/route.ts +13 -0
- package/dist/templates/google-oauth/files/middleware.ts +62 -0
- package/dist/templates/google-oauth/files/src/infrastructure/auth/google/config.ts +29 -0
- package/dist/templates/google-oauth/files/src/infrastructure/auth/google/google-auth.adapter.ts +22 -0
- package/dist/templates/google-oauth/files/src/infrastructure/auth/google/google-client.ts +65 -0
- package/dist/templates/google-oauth/files/src/infrastructure/auth/google/google-user.ts +9 -0
- package/dist/templates/google-oauth/files/src/infrastructure/auth/google/session-store.ts +62 -0
- package/dist/templates/google-oauth/files/src/infrastructure/auth/google/user-profile-mapper.ts +24 -0
- package/dist/templates/google-oauth/files/src/lib/auth/get-current-user.ts +36 -0
- package/dist/templates/google-oauth/files/src/lib/auth/require-auth.ts +13 -0
- package/dist/templates/google-oauth/manifest.json +82 -0
- package/dist/templates/langgraph/README.md +60 -0
- package/dist/templates/langgraph/files/.env.langgraph.example +26 -0
- package/dist/templates/langgraph/files/app/api/agent/invoke/route.ts +48 -0
- package/dist/templates/langgraph/files/app/api/agent/resume/route.ts +66 -0
- package/dist/templates/langgraph/files/app/api/agent/stream/route.ts +63 -0
- package/dist/templates/langgraph/files/src/domain/ports/out/agent-graph.port.ts +78 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/adapters/langgraph.adapter.ts +185 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/checkpointers/index.ts +84 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/checkpointers/memory-checkpointer.ts +12 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/checkpointers/postgres-checkpointer.ts +20 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/checkpointers/redis-checkpointer.ts +25 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/checkpointers/supabase-checkpointer.ts +26 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/edges/routing.ts +31 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/graphs/research-agent.graph.ts +81 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/graphs/simple-chain.graph.ts +81 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/index.ts +23 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/nodes/human-review.node.ts +34 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/nodes/input-processor.node.ts +31 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/nodes/llm-call.node.ts +38 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/nodes/output-formatter.node.ts +27 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/nodes/planner.node.ts +51 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/nodes/researcher.node.ts +63 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/nodes/synthesiser.node.ts +62 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/state/graph-state.ts +57 -0
- package/dist/templates/langgraph/files/src/infrastructure/langgraph/streaming/token-stream.ts +84 -0
- package/dist/templates/langgraph/manifest.json +131 -0
- package/dist/templates/llm-adapter/README.md +63 -0
- package/dist/templates/llm-adapter/files/.env.llm.example +49 -0
- package/dist/templates/llm-adapter/files/src/domain/ports/out/llm-client.port.ts +36 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/anthropic-llm-client.adapter.ts +111 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/azure-openai-llm-client.adapter.ts +105 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/ollama-llm-client.adapter.ts +102 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/openai-llm-client.adapter.ts +104 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/xai-llm-client.adapter.ts +104 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/constants/capabilities.ts +38 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/constants/models.ts +39 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/errors/llm-errors.ts +83 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/index.ts +39 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/router/llm-router.ts +117 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/router/provider-registry.ts +45 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/smoke-test.ts +25 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/utils/parse-env.ts +8 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/utils/retry.ts +39 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/utils/structured-output.ts +78 -0
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/utils/timeout.ts +22 -0
- package/dist/templates/llm-adapter/manifest.json +113 -0
- package/dist/templates/llm-adapter-bedrock/README.md +58 -0
- package/dist/templates/llm-adapter-bedrock/files/.env.bedrock.example +23 -0
- package/dist/templates/llm-adapter-bedrock/files/src/infrastructure/llm/adapters/bedrock-llm-client.adapter.ts +126 -0
- package/dist/templates/llm-adapter-bedrock/files/src/infrastructure/llm/adapters/bedrock-register.ts +20 -0
- package/dist/templates/llm-adapter-bedrock/files/src/infrastructure/llm/errors/bedrock-errors.ts +42 -0
- package/dist/templates/llm-adapter-bedrock/manifest.json +51 -0
- package/dist/templates/magic-link/README.md +66 -0
- package/dist/templates/magic-link/files/.env.magic-link.example +24 -0
- package/dist/templates/magic-link/files/app/api/auth/logout/route.ts +12 -0
- package/dist/templates/magic-link/files/app/api/auth/magic-link/request/route.ts +34 -0
- package/dist/templates/magic-link/files/app/api/auth/magic-link/verify/route.ts +41 -0
- package/dist/templates/magic-link/files/app/api/auth/me/route.ts +10 -0
- package/dist/templates/magic-link/files/middleware.ts +60 -0
- package/dist/templates/magic-link/files/src/infrastructure/auth/magic-link/config.ts +17 -0
- package/dist/templates/magic-link/files/src/infrastructure/auth/magic-link/email-templates.ts +46 -0
- package/dist/templates/magic-link/files/src/infrastructure/auth/magic-link/email-transport.ts +71 -0
- package/dist/templates/magic-link/files/src/infrastructure/auth/magic-link/magic-link-auth.adapter.ts +11 -0
- package/dist/templates/magic-link/files/src/infrastructure/auth/magic-link/magic-link-store.ts +31 -0
- package/dist/templates/magic-link/files/src/infrastructure/auth/magic-link/session-store.ts +56 -0
- package/dist/templates/magic-link/files/src/infrastructure/auth/magic-link/token-generator.ts +71 -0
- package/dist/templates/magic-link/files/src/infrastructure/auth/magic-link/user-profile-mapper.ts +10 -0
- package/dist/templates/magic-link/files/src/lib/auth/get-current-user.ts +28 -0
- package/dist/templates/magic-link/files/src/lib/auth/require-auth.ts +11 -0
- package/dist/templates/magic-link/manifest.json +99 -0
- package/dist/templates/microsoft-entra/README.md +63 -0
- package/dist/templates/microsoft-entra/files/.env.microsoft-entra.example +17 -0
- package/dist/templates/microsoft-entra/files/app/api/auth/callback/entra/route.ts +93 -0
- package/dist/templates/microsoft-entra/files/app/api/auth/login/entra/route.ts +29 -0
- package/dist/templates/microsoft-entra/files/app/api/auth/logout/entra/route.ts +26 -0
- package/dist/templates/microsoft-entra/files/app/api/auth/me/route.ts +10 -0
- package/dist/templates/microsoft-entra/files/middleware.ts +59 -0
- package/dist/templates/microsoft-entra/files/src/infrastructure/auth/entra/config.ts +43 -0
- package/dist/templates/microsoft-entra/files/src/infrastructure/auth/entra/entra-auth.adapter.ts +14 -0
- package/dist/templates/microsoft-entra/files/src/infrastructure/auth/entra/entra-client.ts +82 -0
- package/dist/templates/microsoft-entra/files/src/infrastructure/auth/entra/entra-user.ts +9 -0
- package/dist/templates/microsoft-entra/files/src/infrastructure/auth/entra/group-role-mapper.ts +22 -0
- package/dist/templates/microsoft-entra/files/src/infrastructure/auth/entra/pkce.ts +20 -0
- package/dist/templates/microsoft-entra/files/src/infrastructure/auth/entra/session-store.ts +56 -0
- package/dist/templates/microsoft-entra/files/src/infrastructure/auth/entra/user-profile-mapper.ts +33 -0
- package/dist/templates/microsoft-entra/files/src/lib/auth/get-current-user.ts +31 -0
- package/dist/templates/microsoft-entra/files/src/lib/auth/require-auth.ts +11 -0
- package/dist/templates/microsoft-entra/manifest.json +93 -0
- package/dist/templates/nextauth/README.md +61 -0
- package/dist/templates/nextauth/files/.env.nextauth.example +16 -0
- package/dist/templates/nextauth/files/app/api/auth/[...nextauth]/route.ts +4 -0
- package/dist/templates/nextauth/files/middleware.ts +17 -0
- package/dist/templates/nextauth/files/src/auth.config.ts +41 -0
- package/dist/templates/nextauth/files/src/auth.ts +67 -0
- package/dist/templates/nextauth/files/types/next-auth.d.ts +16 -0
- package/dist/templates/nextauth/manifest.json +74 -0
- package/dist/templates/observability/README.md +69 -0
- package/dist/templates/observability/files/.env.observability.example +12 -0
- package/dist/templates/observability/files/.env.otel.example +7 -0
- package/dist/templates/observability/files/app/api/health/route.ts +37 -0
- package/dist/templates/observability/files/instrumentation.ts +52 -0
- package/dist/templates/observability/files/server/middleware/request-logger.ts +53 -0
- package/dist/templates/observability/files/src/infrastructure/logging/context.ts +21 -0
- package/dist/templates/observability/files/src/infrastructure/logging/correlation.ts +39 -0
- package/dist/templates/observability/files/src/infrastructure/logging/index.ts +12 -0
- package/dist/templates/observability/files/src/infrastructure/logging/logger.ts +68 -0
- package/dist/templates/observability/files/src/infrastructure/logging/redact.ts +89 -0
- package/dist/templates/observability/manifest.json +57 -0
- package/dist/templates/rate-limiting/README.md +63 -0
- package/dist/templates/rate-limiting/files/.env.rate-limit.example +21 -0
- package/dist/templates/rate-limiting/files/server/errors/rate-limit-exceeded.error.ts +43 -0
- package/dist/templates/rate-limiting/files/server/middleware/rate-limit.ts +79 -0
- package/dist/templates/rate-limiting/files/server/utils/get-client-ip.ts +27 -0
- package/dist/templates/rate-limiting/files/server/utils/rate-limiter.ts +82 -0
- package/dist/templates/rate-limiting/files/server/utils/session-id.ts +28 -0
- package/dist/templates/rate-limiting/files/types/rate-limit.d.ts +12 -0
- package/dist/templates/rate-limiting/manifest.json +66 -0
- package/dist/templates/shared-types/README.md +59 -0
- package/dist/templates/shared-types/files/.env.shared-types.example +14 -0
- package/dist/templates/shared-types/files/src/domain/value-objects/user-context.ts +11 -0
- package/dist/templates/shared-types/files/src/infrastructure/auth/mock-user.ts +16 -0
- package/dist/templates/shared-types/files/src/infrastructure/auth/session/session-manager.ts +59 -0
- package/dist/templates/shared-types/manifest.json +37 -0
- package/dist/templates/supabase/README.md +59 -0
- package/dist/templates/supabase/files/.env.supabase.example +15 -0
- package/dist/templates/supabase/files/drizzle.config.ts +15 -0
- package/dist/templates/supabase/files/scripts/gen-types.sh +9 -0
- package/dist/templates/supabase/files/scripts/migrate.ts +23 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/admin.ts +23 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/client.ts +16 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/drizzle/client.ts +17 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/drizzle/schema.ts +10 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/realtime/subscribe.ts +41 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/result.ts +30 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/server.ts +28 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/storage/delete.ts +17 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/storage/download.ts +17 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/storage/index.ts +4 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/storage/signed-url.ts +26 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/storage/upload.ts +24 -0
- package/dist/templates/supabase/files/src/infrastructure/supabase/types/database.types.ts +10 -0
- package/dist/templates/supabase/files/supabase/migrations/0001_example_rls.sql +23 -0
- package/dist/templates/supabase/files/supabase/seed.sql +7 -0
- package/dist/templates/supabase/manifest.json +133 -0
- package/dist/templates/supabase-auth/README.md +55 -0
- package/dist/templates/supabase-auth/files/app/api/auth/me/route.ts +10 -0
- package/dist/templates/supabase-auth/files/middleware.ts +108 -0
- package/dist/templates/supabase-auth/files/src/lib/auth/get-current-user.ts +46 -0
- package/dist/templates/supabase-auth/files/src/lib/auth/require-auth.ts +11 -0
- package/dist/templates/supabase-auth/manifest.json +40 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/manifest/apps.d.ts +24 -0
- package/dist/types/manifest/apps.d.ts.map +1 -0
- package/dist/types/manifest/bounded-context.d.ts +43 -0
- package/dist/types/manifest/bounded-context.d.ts.map +1 -0
- package/dist/types/manifest/generator.d.ts +51 -0
- package/dist/types/manifest/generator.d.ts.map +1 -0
- package/dist/types/manifest/helpers.d.ts +30 -0
- package/dist/types/manifest/helpers.d.ts.map +1 -0
- package/dist/types/manifest/index.d.ts +8 -0
- package/dist/types/manifest/index.d.ts.map +1 -0
- package/dist/types/manifest/layers.d.ts +32 -0
- package/dist/types/manifest/layers.d.ts.map +1 -0
- package/dist/types/manifest/manifest.d.ts +64 -0
- package/dist/types/manifest/manifest.d.ts.map +1 -0
- package/dist/types/manifest/monorepo.d.ts +94 -0
- package/dist/types/manifest/monorepo.d.ts.map +1 -0
- package/dist/types/manifest.d.ts +2 -0
- package/dist/types/manifest.d.ts.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-engine-helpers.d.ts","sourceRoot":"","sources":["../src/sync-engine-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEvE,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,eAAe,CAAC;IAC3B,SAAS,EAAE,eAAe,CAAC;IAC3B,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE,eAAe,CAAC;IACtB,SAAS,EAAE,eAAe,CAAC;IAC3B,MAAM,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,eAAe,CAAC;IACvB,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,EAAE,eAAe,GAAG,IAAI,CAK7E;AAED,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,eAAe,EAC1B,UAAU,EAAE,eAAe,GAC1B,eAAe,CAqBjB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SyncFlags } from "./config.js";
|
|
2
|
+
import type { Manifest } from "./types/manifest.js";
|
|
3
|
+
declare const __dirname: string;
|
|
4
|
+
export { __dirname };
|
|
5
|
+
export interface InitOptions {
|
|
6
|
+
targetRoot?: string;
|
|
7
|
+
manifest?: Manifest;
|
|
8
|
+
}
|
|
9
|
+
export declare function findWorkspaceRoot(options: InitOptions): Promise<string>;
|
|
10
|
+
export declare function loadManifest(workspaceRoot: string, flags: SyncFlags, options: InitOptions): Promise<Manifest>;
|
|
11
|
+
export declare function validateManifest(manifest: Manifest, flags: SyncFlags): void;
|
|
12
|
+
//# sourceMappingURL=sync-engine-init.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-engine-init.d.ts","sourceRoot":"","sources":["../src/sync-engine-init.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAKpD,QAAA,MAAM,SAAS,QAA2B,CAAC;AAE3C,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAsB7E;AAED,wBAAsB,YAAY,CAChC,aAAa,EAAE,MAAM,EACrB,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,QAAQ,CAAC,CA+BnB;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,GAAG,IAAI,CAiC3E"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SyncFlags } from "./config.js";
|
|
2
|
+
import type { Manifest } from "./types/manifest.js";
|
|
3
|
+
export interface SyncEngineOptions {
|
|
4
|
+
targetRoot?: string;
|
|
5
|
+
manifest?: Manifest;
|
|
6
|
+
}
|
|
7
|
+
export declare class SyncEngine {
|
|
8
|
+
private report;
|
|
9
|
+
private partialConfig;
|
|
10
|
+
private fullConfig;
|
|
11
|
+
private manifest;
|
|
12
|
+
private workspaceRoot;
|
|
13
|
+
private readonly options?;
|
|
14
|
+
constructor(flags: SyncFlags, options?: SyncEngineOptions);
|
|
15
|
+
private getInitOptions;
|
|
16
|
+
private getConfig;
|
|
17
|
+
private ensureDirectories;
|
|
18
|
+
private generateCoreArtifacts;
|
|
19
|
+
run(): Promise<void>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=sync-engine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-engine.d.ts","sourceRoot":"","sources":["../src/sync-engine.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AAgBpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAkBpD,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,qBAAa,UAAU;IACrB,OAAO,CAAC,MAAM,CAAyB;IACvC,OAAO,CAAC,aAAa,CAAY;IACjC,OAAO,CAAC,UAAU,CAA2B;IAC7C,OAAO,CAAC,QAAQ,CAAgB;IAChC,OAAO,CAAC,aAAa,CAAc;IACnC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAoB;gBAEjC,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,iBAAiB;IAKzD,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,SAAS;YAOH,iBAAiB;YAyCjB,qBAAqB;IAuF7B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA4M3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-engine.d.ts","sourceRoot":"","sources":["../src/template-engine.ts"],"names":[],"mappings":"AAEA,YAAY,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
This file was generated by the Hexagen template engine.
|
|
2
|
+
|
|
3
|
+
Project: {project_name}
|
|
4
|
+
Framework: {framework}
|
|
5
|
+
TypeScript: {use_typescript}
|
|
6
|
+
|
|
7
|
+
Edit this file after generation — the template engine will detect your changes
|
|
8
|
+
and write future updates to example-output.hexagen-update.txt instead of
|
|
9
|
+
overwriting your work.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "__example__",
|
|
3
|
+
"name": "Example Template",
|
|
4
|
+
"description": "End-to-end smoke test for the template engine framework",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"requires": [],
|
|
7
|
+
"conflicts": [],
|
|
8
|
+
"questions": [
|
|
9
|
+
{
|
|
10
|
+
"id": "project_name",
|
|
11
|
+
"type": "text",
|
|
12
|
+
"prompt": "Project name?",
|
|
13
|
+
"default": "my-app",
|
|
14
|
+
"required": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "framework",
|
|
18
|
+
"type": "select",
|
|
19
|
+
"prompt": "Which framework?",
|
|
20
|
+
"options": ["next.js", "express", "fastify"],
|
|
21
|
+
"default": "next.js"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "features",
|
|
25
|
+
"type": "multiselect",
|
|
26
|
+
"prompt": "Which features?",
|
|
27
|
+
"options": ["auth", "database", "queue"],
|
|
28
|
+
"default": ["auth"]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "use_typescript",
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"prompt": "Use TypeScript?",
|
|
34
|
+
"default": true
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"envVars": ["EXAMPLE_API_KEY"],
|
|
38
|
+
"outputs": ["example-output.txt"],
|
|
39
|
+
"checklist": [
|
|
40
|
+
"Set EXAMPLE_API_KEY in .env.local",
|
|
41
|
+
"Run: yarn dev to verify the template output"
|
|
42
|
+
],
|
|
43
|
+
"branch": "feature/generator-template-system-core"
|
|
44
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Adobe Creative Production API (`adobe-creative-production`)
|
|
2
|
+
|
|
3
|
+
> Map a published workflow over N assets in one async batch job, surfacing **per-asset
|
|
4
|
+
> status** — a failed asset is reported in-band rather than failing the whole batch.
|
|
5
|
+
|
|
6
|
+
| | |
|
|
7
|
+
| ------------- | ------------------------------------------------------ |
|
|
8
|
+
| **ID** | `adobe-creative-production` |
|
|
9
|
+
| **Category** | Adobe Firefly Services — Creative Automation (batch) |
|
|
10
|
+
| **Requires** | `adobe-firefly-core` |
|
|
11
|
+
| **Conflicts** | none |
|
|
12
|
+
| **Branch** | `feature/generator-template-adobe-creative-production` |
|
|
13
|
+
|
|
14
|
+
Author/agent-facing reference, beside `manifest.json` — not emitted into projects.
|
|
15
|
+
|
|
16
|
+
## What it does
|
|
17
|
+
|
|
18
|
+
Adds `CreativeProductionPort` + `creativeProduction` adapter. `runWorkflow(req)` presigns
|
|
19
|
+
each asset's input + output, submits **one** async batch job, and resolves to
|
|
20
|
+
**`AssetResult[]`** — a discriminated union per asset:
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
type AssetResult =
|
|
24
|
+
| { id: string; status: "succeeded"; outputHref: string }
|
|
25
|
+
| { id: string; status: "failed"; error: string };
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The outer `Result` fails only on a batch-level error (submit / poll / count mismatch).
|
|
29
|
+
|
|
30
|
+
## Service & API
|
|
31
|
+
|
|
32
|
+
- **Host:** `image.adobe.io` host family (configurable via `ADOBE_CREATIVE_PRODUCTION_BASE_URL`);
|
|
33
|
+
posts **absolute URLs**.
|
|
34
|
+
- **Auth:** IMS Server-to-Server (inherited). **Wait:** centralised `jobPort.poll(handle)`.
|
|
35
|
+
- Outputs are aligned **positionally** 1:1 with `req.assets` (a count mismatch is a
|
|
36
|
+
batch-level error; a per-asset missing href is an in-band `"failed"`).
|
|
37
|
+
|
|
38
|
+
## Install
|
|
39
|
+
|
|
40
|
+
`hexagen add adobe-creative-production`. **No questions** — the workflow is chosen at
|
|
41
|
+
runtime, and outputs are workflow-defined (no format question).
|
|
42
|
+
|
|
43
|
+
Env: `ADOBE_CREATIVE_PRODUCTION_BASE_URL`. Emits `creative-production.port.ts`,
|
|
44
|
+
`creative-production.adapter.ts`, `.env.adobe-creative-production.example`.
|
|
45
|
+
|
|
46
|
+
## Usage
|
|
47
|
+
|
|
48
|
+
```ts
|
|
49
|
+
import { creativeProduction } from "@/infrastructure/adobe/creative-production/creative-production.adapter";
|
|
50
|
+
|
|
51
|
+
const res = await creativeProduction.runWorkflow({
|
|
52
|
+
workflowId: "published-workflow-id",
|
|
53
|
+
assets: [
|
|
54
|
+
{ id: "a1", inputHref: "s3://b/in/1.png", outputHref: "s3://b/out/1.png" },
|
|
55
|
+
{ id: "a2", inputHref: "s3://b/in/2.png", outputHref: "s3://b/out/2.png" },
|
|
56
|
+
],
|
|
57
|
+
});
|
|
58
|
+
if (res.success) {
|
|
59
|
+
for (const a of res.value) {
|
|
60
|
+
if (a.status === "succeeded") console.log(a.id, a.outputHref);
|
|
61
|
+
else console.warn(a.id, a.error); // in-band failure
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Configuration
|
|
67
|
+
|
|
68
|
+
| Env var | Purpose |
|
|
69
|
+
| ------------------------------------ | ------------------------------------------------ |
|
|
70
|
+
| `ADOBE_CREATIVE_PRODUCTION_BASE_URL` | host override (default `https://image.adobe.io`) |
|
|
71
|
+
|
|
72
|
+
## Notes for agents
|
|
73
|
+
|
|
74
|
+
- **Partial success is the contract** — narrow on `status`; the compiler enforces
|
|
75
|
+
`succeeded ⇒ outputHref`, `failed ⇒ error`.
|
|
76
|
+
- **Soft dependency:** persist the per-asset breakdown in your own store (e.g. `supabase`/DB)
|
|
77
|
+
for long-running batches — the adapter returns it but does not persist it.
|
|
78
|
+
- Alignment is positional (`JobOutput` carries no id); the count guard is the integrity check.
|
|
79
|
+
|
|
80
|
+
## Checklist (post-install)
|
|
81
|
+
|
|
82
|
+
Confirm the Creative Production entitlement/scope; verify the host/path; supply a workflow id
|
|
83
|
+
plus presigned input+output per asset; persist batch status if needed. Pairs with
|
|
84
|
+
`adobe-express`. Optional SDK: `npm install @adobe/firefly-services-sdk-js`.
|
|
85
|
+
|
|
86
|
+
## Related
|
|
87
|
+
|
|
88
|
+
Foundation: [`adobe-firefly-core`](../adobe-firefly-core). Sibling batch service:
|
|
89
|
+
[`adobe-express`](../adobe-express).
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# --- Adobe Creative Production API (batch automation) ---
|
|
2
|
+
# Maps a published workflow over N assets in one async batch job. Reached via the
|
|
3
|
+
# base URL below; it defaults to the image.adobe.io host family (same IMS
|
|
4
|
+
# Server-to-Server token as Firefly, NOT firefly-api.adobe.io). Verify the current
|
|
5
|
+
# host/path against Adobe docs.
|
|
6
|
+
ADOBE_CREATIVE_PRODUCTION_BASE_URL=https://image.adobe.io
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { Result } from "../../../shared/result";
|
|
2
|
+
// Type-only import of the infrastructure error (erased at compile) — the deliberate
|
|
3
|
+
// domain→infra decoupling for the port's failure channel, not an oversight.
|
|
4
|
+
import type { FireflyError } from "../../../infrastructure/adobe/errors/firefly-errors";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Outbound port for the Adobe Creative Production API (batch automation).
|
|
8
|
+
*
|
|
9
|
+
* Maps a single published workflow over N assets in one async batch job and
|
|
10
|
+
* surfaces per-asset status: a failed asset is reported in-band (status
|
|
11
|
+
* "failed") rather than failing the whole batch. Resolves to one result per
|
|
12
|
+
* asset, in request order. Hrefs are presigned URLs (`storage: "external"`).
|
|
13
|
+
*/
|
|
14
|
+
export interface CreativeProductionAsset {
|
|
15
|
+
/** Caller-supplied id, echoed back in the result for correlation. */
|
|
16
|
+
readonly id: string;
|
|
17
|
+
/** Presigned input asset the workflow runs over. */
|
|
18
|
+
readonly inputHref: string;
|
|
19
|
+
/** Presigned destination this asset's output is written to. */
|
|
20
|
+
readonly outputHref: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface RunWorkflowRequest {
|
|
24
|
+
/** Published Creative Production workflow the batch runs. */
|
|
25
|
+
readonly workflowId: string;
|
|
26
|
+
/** Assets the workflow is mapped over; processed in one async batch job. */
|
|
27
|
+
readonly assets: readonly CreativeProductionAsset[];
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Per-asset outcome — a discriminated union on `status` so the contract is
|
|
32
|
+
* compile-time enforced: a succeeded asset always carries `outputHref`, a failed
|
|
33
|
+
* asset always carries `error`. Callers narrow on `status` rather than guarding
|
|
34
|
+
* optional fields at runtime.
|
|
35
|
+
*/
|
|
36
|
+
export type AssetResult =
|
|
37
|
+
| {
|
|
38
|
+
/** Echoes the request asset id. */
|
|
39
|
+
readonly id: string;
|
|
40
|
+
readonly status: "succeeded";
|
|
41
|
+
/** Presigned output href the workflow wrote for this asset. */
|
|
42
|
+
readonly outputHref: string;
|
|
43
|
+
}
|
|
44
|
+
| {
|
|
45
|
+
/** Echoes the request asset id. */
|
|
46
|
+
readonly id: string;
|
|
47
|
+
readonly status: "failed";
|
|
48
|
+
/** Failure detail. */
|
|
49
|
+
readonly error: string;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export interface CreativeProductionPort {
|
|
53
|
+
/**
|
|
54
|
+
* Run a published workflow over a batch of assets. Resolves to one result per
|
|
55
|
+
* asset, in the same order as `req.assets`, each carrying its own status —
|
|
56
|
+
* partial success is surfaced rather than failing the whole batch. The outer
|
|
57
|
+
* Result fails only on a batch-level error (submit / poll / count mismatch).
|
|
58
|
+
*/
|
|
59
|
+
runWorkflow(
|
|
60
|
+
req: RunWorkflowRequest,
|
|
61
|
+
): Promise<Result<AssetResult[], FireflyError>>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
// @hexagen-server-only
|
|
2
|
+
import type {
|
|
3
|
+
AssetResult,
|
|
4
|
+
CreativeProductionPort,
|
|
5
|
+
RunWorkflowRequest,
|
|
6
|
+
} from "../../../domain/ports/out/creative-production.port";
|
|
7
|
+
import { fireflyClient } from "../http/firefly-client";
|
|
8
|
+
import { jobPort } from "../jobs/job-port";
|
|
9
|
+
import { toJobHandle } from "../jobs/job-result";
|
|
10
|
+
import { getStoragePresigner } from "../storage/passthrough-storage.adapter";
|
|
11
|
+
import { classifyAdobeError, FireflyError } from "../errors/firefly-errors";
|
|
12
|
+
import { ok, err, type Result } from "../../../shared/result";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Adobe Creative Production adapter — the workflow-batch↔domain boundary for
|
|
16
|
+
* {@link CreativeProductionPort}.
|
|
17
|
+
*
|
|
18
|
+
* Maps a published workflow over a batch of assets in one async job on the
|
|
19
|
+
* image.adobe.io host family (same as Photoshop/Lightroom/Illustrator/InDesign/
|
|
20
|
+
* Express — a different host than firefly-api.adobe.io), so the adapter posts
|
|
21
|
+
* ABSOLUTE URLs; the shared `fireflyClient` passes those through with the same
|
|
22
|
+
* IMS auth. The result carries one entry per asset, aligned to request order,
|
|
23
|
+
* each with its own status — a failed asset is reported in-band.
|
|
24
|
+
*
|
|
25
|
+
* NOTE: host/paths/payloads version frequently — verify against Adobe docs.
|
|
26
|
+
*/
|
|
27
|
+
const CREATIVE_PRODUCTION_BASE = normalizeBase(
|
|
28
|
+
process.env.ADOBE_CREATIVE_PRODUCTION_BASE_URL?.trim() ||
|
|
29
|
+
"https://image.adobe.io",
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
export class CreativeProductionAdapter implements CreativeProductionPort {
|
|
33
|
+
async runWorkflow(
|
|
34
|
+
req: RunWorkflowRequest,
|
|
35
|
+
): Promise<Result<AssetResult[], FireflyError>> {
|
|
36
|
+
// A batch with no assets would submit an empty job the API rejects — guard
|
|
37
|
+
// up front rather than spending a round-trip to discover it.
|
|
38
|
+
if (req.assets.length === 0) {
|
|
39
|
+
return err(new FireflyError("runWorkflow requires at least one asset."));
|
|
40
|
+
}
|
|
41
|
+
try {
|
|
42
|
+
// Presign each asset's input + output up front; the workflow runs over the
|
|
43
|
+
// presigned inputs and writes to the presigned destinations.
|
|
44
|
+
const storage = getStoragePresigner();
|
|
45
|
+
const assets = await Promise.all(
|
|
46
|
+
req.assets.map(async (asset) => {
|
|
47
|
+
const input = await storage.presignInput(asset.inputHref);
|
|
48
|
+
const output = await storage.presignOutput(asset.outputHref);
|
|
49
|
+
return {
|
|
50
|
+
id: asset.id,
|
|
51
|
+
input: external(input.href),
|
|
52
|
+
output: external(output.href),
|
|
53
|
+
};
|
|
54
|
+
}),
|
|
55
|
+
);
|
|
56
|
+
|
|
57
|
+
const handle = toJobHandle(
|
|
58
|
+
await fireflyClient.post(endpoint("run"), {
|
|
59
|
+
workflowId: req.workflowId,
|
|
60
|
+
assets,
|
|
61
|
+
}),
|
|
62
|
+
);
|
|
63
|
+
// image.adobe.io services are tracked by a status URL (_links.self.href) and
|
|
64
|
+
// are polled regardless of the project's job_mode (they don't deliver Firefly
|
|
65
|
+
// webhooks). A response without a status URL can't be polled, so surface a
|
|
66
|
+
// clear error rather than routing through the job port's await — which only
|
|
67
|
+
// resolves a jobId-only handle in webhook mode and would fail in polling builds.
|
|
68
|
+
if (!handle.statusUrl) {
|
|
69
|
+
return err(
|
|
70
|
+
new FireflyError(
|
|
71
|
+
"Creative Production submit response had no status URL to track the job.",
|
|
72
|
+
),
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
// jobPort.poll() is the centralised always-poll entry point (keeps the wait
|
|
76
|
+
// path on the port rather than importing the poller directly).
|
|
77
|
+
const done = await jobPort.poll(handle);
|
|
78
|
+
if (done.status !== "succeeded") {
|
|
79
|
+
return err(
|
|
80
|
+
new FireflyError(
|
|
81
|
+
done.error ?? "Creative Production job did not succeed.",
|
|
82
|
+
),
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
// Align outputs 1:1 with the requested assets so every entry maps to its
|
|
86
|
+
// request id in order. Alignment is POSITIONAL by necessity: the shared
|
|
87
|
+
// JobOutput is {href?, data?} with no id, so there is nothing to correlate
|
|
88
|
+
// on — the batch API is relied upon to return outputs in submission order
|
|
89
|
+
// (the count-mismatch guard below is the integrity check). A length
|
|
90
|
+
// mismatch is a batch-level failure (results can't be correlated to
|
|
91
|
+
// assets); a per-asset missing href is reported IN-BAND as a "failed"
|
|
92
|
+
// asset, not a whole-batch error — the partial-success contract this
|
|
93
|
+
// service exists to provide.
|
|
94
|
+
if (done.outputs.length !== req.assets.length) {
|
|
95
|
+
return err(
|
|
96
|
+
new FireflyError(
|
|
97
|
+
`Creative Production returned ${done.outputs.length} outputs for ${req.assets.length} assets.`,
|
|
98
|
+
),
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
// Annotate the callback return so the `status` literals stay narrow ("succeeded"/
|
|
102
|
+
// "failed") and satisfy the discriminated AssetResult union — without it they
|
|
103
|
+
// would widen to `string` and fail the assignment.
|
|
104
|
+
const results: AssetResult[] = req.assets.map((asset, i): AssetResult => {
|
|
105
|
+
const href = done.outputs[i]?.href;
|
|
106
|
+
return href
|
|
107
|
+
? { id: asset.id, status: "succeeded", outputHref: href }
|
|
108
|
+
: {
|
|
109
|
+
id: asset.id,
|
|
110
|
+
status: "failed",
|
|
111
|
+
error: "Workflow produced no output for this asset.",
|
|
112
|
+
};
|
|
113
|
+
});
|
|
114
|
+
return ok(results);
|
|
115
|
+
} catch (error) {
|
|
116
|
+
return err(classifyAdobeError(error));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
function endpoint(operation: string): string {
|
|
122
|
+
return `${CREATIVE_PRODUCTION_BASE}/creative-production/${operation}`;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
function external(href: string): { href: string; storage: "external" } {
|
|
126
|
+
return { href, storage: "external" };
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Guarantee an absolute, scheme-qualified base with no trailing slash, and lowercase
|
|
131
|
+
* the scheme. fireflyClient now matches schemes case-insensitively, but keeping the
|
|
132
|
+
* emitted URL lowercase is defensive and consistent with the other image.adobe.io
|
|
133
|
+
* adapters (Photoshop/Lightroom/Illustrator/InDesign/Express). A schemeless
|
|
134
|
+
* `image.adobe.io` would otherwise be mis-prefixed with the Firefly base URL.
|
|
135
|
+
*/
|
|
136
|
+
function normalizeBase(raw: string): string {
|
|
137
|
+
const withScheme = /^https?:\/\//i.test(raw)
|
|
138
|
+
? raw.replace(/^https?:\/\//i, (scheme) => scheme.toLowerCase())
|
|
139
|
+
: `https://${raw}`;
|
|
140
|
+
return withScheme.replace(/\/+$/, "");
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/** Shared singleton. */
|
|
144
|
+
export const creativeProduction = new CreativeProductionAdapter();
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "adobe-creative-production",
|
|
3
|
+
"name": "Adobe Creative Production API",
|
|
4
|
+
"description": "Creative Production batch automation for Adobe Firefly Services (image.adobe.io): a CreativeProductionPort + adapter that maps a published workflow over N assets in one async batch job and surfaces per-asset status (partial success) over the adobe-firefly-core foundation. Async batch.",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"requires": ["adobe-firefly-core"],
|
|
7
|
+
"conflicts": [],
|
|
8
|
+
"questions": [],
|
|
9
|
+
"envVars": ["ADOBE_CREATIVE_PRODUCTION_BASE_URL"],
|
|
10
|
+
"outputs": [
|
|
11
|
+
"src/domain/ports/out/creative-production.port.ts",
|
|
12
|
+
"src/infrastructure/adobe/creative-production/creative-production.adapter.ts",
|
|
13
|
+
".env.adobe-creative-production.example"
|
|
14
|
+
],
|
|
15
|
+
"checklist": [
|
|
16
|
+
"Confirm the Creative Production API entitlement + scope on your Adobe Developer Console project (same IMS Server-to-Server auth as Firefly)",
|
|
17
|
+
"Verify the current host/endpoints/payloads against Adobe docs — the Creative Production API is configured via ADOBE_CREATIVE_PRODUCTION_BASE_URL (defaults to the image.adobe.io host family; the client posts absolute URLs there)",
|
|
18
|
+
"Provide a published workflow id plus a presigned input + output href per asset — use core passthrough or install an adobe-firefly-storage-* addon",
|
|
19
|
+
"runWorkflow returns one per-asset result (status + output href) in request order; a failed asset is reported in-band rather than failing the whole batch",
|
|
20
|
+
"Soft dependency: persist the per-asset batch status in your own store (e.g. supabase/DB) for long-running batches — the adapter returns the breakdown but does not persist it",
|
|
21
|
+
"Pairs naturally with adobe-express for localized variant production",
|
|
22
|
+
"Optional official SDK: npm install @adobe/firefly-services-sdk-js"
|
|
23
|
+
],
|
|
24
|
+
"branch": "feature/generator-template-adobe-creative-production"
|
|
25
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Adobe Express API (`adobe-express`)
|
|
2
|
+
|
|
3
|
+
> The batch member of the family: render many variants from one published Express template
|
|
4
|
+
> in a single async batch job. The localization use case (translated copy + regional imagery
|
|
5
|
+
> per locale).
|
|
6
|
+
|
|
7
|
+
| | |
|
|
8
|
+
| ------------- | ---------------------------------------------------- |
|
|
9
|
+
| **ID** | `adobe-express` |
|
|
10
|
+
| **Category** | Adobe Firefly Services — Creative Automation (batch) |
|
|
11
|
+
| **Requires** | `adobe-firefly-core` |
|
|
12
|
+
| **Conflicts** | none |
|
|
13
|
+
| **Branch** | `feature/generator-template-adobe-express` |
|
|
14
|
+
|
|
15
|
+
Author/agent-facing reference, beside `manifest.json` — not emitted into projects.
|
|
16
|
+
|
|
17
|
+
## What it does
|
|
18
|
+
|
|
19
|
+
Adds `ExpressAutomationPort` + `expressAutomation` adapter. `renderBatch(req)` presigns each
|
|
20
|
+
variant's destination, submits **one** async batch job, and resolves to **`string[]`** — one
|
|
21
|
+
output href per `items[]` entry, in request order (all-or-nothing: a missing href fails the
|
|
22
|
+
batch). Singleton is named `expressAutomation` to avoid the Express.js `express` collision.
|
|
23
|
+
|
|
24
|
+
## Service & API
|
|
25
|
+
|
|
26
|
+
- **Host:** `image.adobe.io` host family (configurable via `ADOBE_EXPRESS_BASE_URL`); posts
|
|
27
|
+
**absolute URLs**.
|
|
28
|
+
- **Auth:** IMS Server-to-Server (inherited). **Wait:** centralised `jobPort.poll(handle)`.
|
|
29
|
+
- Guards an empty `items[]` before spending a round-trip; validates output↔item count 1:1.
|
|
30
|
+
|
|
31
|
+
## Install
|
|
32
|
+
|
|
33
|
+
`hexagen add adobe-express`. Question:
|
|
34
|
+
|
|
35
|
+
| Question | Options (default) |
|
|
36
|
+
| --------------- | ------------------------------------------------------ |
|
|
37
|
+
| `output_format` | `jpg` / `png` / `pdf` (`jpg`) — default variant format |
|
|
38
|
+
|
|
39
|
+
Env: `ADOBE_EXPRESS_BASE_URL`, `ADOBE_EXPRESS_FORMAT`. Emits `express.port.ts`,
|
|
40
|
+
`express.adapter.ts`, `.env.adobe-express.example`.
|
|
41
|
+
|
|
42
|
+
## Usage
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
import { expressAutomation } from "@/infrastructure/adobe/express/express.adapter";
|
|
46
|
+
|
|
47
|
+
const res = await expressAutomation.renderBatch({
|
|
48
|
+
templateId: "published-express-template-id",
|
|
49
|
+
items: [
|
|
50
|
+
{
|
|
51
|
+
modifications: [{ key: "headline", value: "Bonjour" }],
|
|
52
|
+
outputHref: "s3://b/out/fr.jpg",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
modifications: [{ key: "headline", value: "Hola" }],
|
|
56
|
+
outputHref: "s3://b/out/es.jpg",
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
});
|
|
60
|
+
if (res.success) res.value.forEach((href) => console.log(href)); // one per item, in order
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Configuration
|
|
64
|
+
|
|
65
|
+
| Env var | Purpose |
|
|
66
|
+
| ------------------------ | ------------------------------------------------ |
|
|
67
|
+
| `ADOBE_EXPRESS_BASE_URL` | host override (default `https://image.adobe.io`) |
|
|
68
|
+
| `ADOBE_EXPRESS_FORMAT` | install-set default variant format |
|
|
69
|
+
|
|
70
|
+
## Notes for agents
|
|
71
|
+
|
|
72
|
+
- **All-or-nothing batch:** any missing output href fails the whole `Result`. (Contrast with
|
|
73
|
+
[`adobe-creative-production`](../adobe-creative-production), which reports per-asset status.)
|
|
74
|
+
- Asset-valued modifications are presigned **input** hrefs supplied by the caller.
|
|
75
|
+
|
|
76
|
+
## Checklist (post-install)
|
|
77
|
+
|
|
78
|
+
Confirm the Express entitlement/scope; verify the host/path; supply a published template id
|
|
79
|
+
plus a presigned output href per variant; one `items[]` entry per locale. Pairs with
|
|
80
|
+
`adobe-creative-production`. Optional SDK: `npm install @adobe/firefly-services-sdk-js`.
|
|
81
|
+
|
|
82
|
+
## Related
|
|
83
|
+
|
|
84
|
+
Foundation: [`adobe-firefly-core`](../adobe-firefly-core). Sibling batch service:
|
|
85
|
+
[`adobe-creative-production`](../adobe-creative-production).
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# --- Adobe Express API (batch automation) ---
|
|
2
|
+
# The Express batch API is reached via the base URL below; it defaults to the
|
|
3
|
+
# image.adobe.io host family (same IMS Server-to-Server token as Firefly, NOT
|
|
4
|
+
# firefly-api.adobe.io). Verify the current host/path against Adobe docs.
|
|
5
|
+
ADOBE_EXPRESS_BASE_URL=https://image.adobe.io
|
|
6
|
+
# Default output format for rendered variants (jpg|png|pdf).
|
|
7
|
+
ADOBE_EXPRESS_FORMAT={output_format}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { Result } from "../../../shared/result";
|
|
2
|
+
// Type-only import of the infrastructure error (erased at compile) — the deliberate
|
|
3
|
+
// domain→infra decoupling for the port's failure channel, not an oversight.
|
|
4
|
+
import type { FireflyError } from "../../../infrastructure/adobe/errors/firefly-errors";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Outbound port for the Adobe Express API (batch automation).
|
|
8
|
+
*
|
|
9
|
+
* Renders many variants from a single published Express template in one async
|
|
10
|
+
* batch job — the localization use case: one variant per locale/region with
|
|
11
|
+
* translated copy and regional imagery. Resolves to one output href per item,
|
|
12
|
+
* in request order. Hrefs are presigned URLs (`storage: "external"`).
|
|
13
|
+
*/
|
|
14
|
+
export type ExpressFormat = "jpg" | "png" | "pdf";
|
|
15
|
+
|
|
16
|
+
/** A single named substitution applied to the published template. */
|
|
17
|
+
export interface ExpressModification {
|
|
18
|
+
/** Named field/layer/asset in the template (e.g. `headline`, `hero`). */
|
|
19
|
+
readonly key: string;
|
|
20
|
+
/** Replacement: literal text, or a presigned asset href for image fields. */
|
|
21
|
+
readonly value: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** One rendered variant: its modifications plus where the result is written. */
|
|
25
|
+
export interface ExpressRenderItem {
|
|
26
|
+
/** Per-variant substitutions (e.g. one locale's translated copy + imagery). */
|
|
27
|
+
readonly modifications: readonly ExpressModification[];
|
|
28
|
+
/** Presigned destination this variant is written to. */
|
|
29
|
+
readonly outputHref: string;
|
|
30
|
+
/** Output format for this variant; defaults to the install-configured format. */
|
|
31
|
+
readonly format?: ExpressFormat;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface RenderBatchRequest {
|
|
35
|
+
/** Published Express template the batch renders from. */
|
|
36
|
+
readonly templateId: string;
|
|
37
|
+
/** One entry per output variant; rendered in a single async batch job. */
|
|
38
|
+
readonly items: readonly ExpressRenderItem[];
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface ExpressAutomationPort {
|
|
42
|
+
/**
|
|
43
|
+
* Render a batch of variants from a published Express template. Resolves to
|
|
44
|
+
* one output href per item, in the same order as `req.items`.
|
|
45
|
+
*/
|
|
46
|
+
renderBatch(req: RenderBatchRequest): Promise<Result<string[], FireflyError>>;
|
|
47
|
+
}
|