Open paulfryer opened 15 hours ago
Property | Value |
---|---|
Proposed Branch Name | implement-capability-models-typescript |
Total Files in Scope | 19 |
Estimated Input Tokens | 9840 |
```text * !.* ```
| File | Estimated Tokens | |------|------------------| | LICENSE | 2972 | | sqlserver-to-postgress-migration/migration-report.md | 1137 | | sqlserver-to-postgress-migration/migration-app/Program.cs | 573 | | README.md | 495 | | sqlserver-to-postgress-migration/postgress/tables/SalesOrderHeader.sql | 380 | | adventureworks/tables/SalesOrderHeader.sql | 275 | | sqlserver-to-postgress-migration/postgress/tables/Product.sql | 273 | | adventureworks/tables/Product.sql | 228 | | sqlserver-to-postgress-migration/postgress/tables/Person.sql | 156 | | sqlserver-to-postgress-migration/postgress/procedures/usp_GetSalesOrdersByDateRange.sql | 153 | | adventureworks/procedures/usp_GetSalesOrdersByDateRange.sql | 142 | | sqlserver-to-postgress-migration/migration-app/sqlserver-to-postgress-migration.csproj | 138 | | sqlserver-to-postgress-migration/postgress/tables/Customer.sql | 135 | | adventureworks/tables/Person.sql | 127 | | sqlserver-to-postgress-migration/postgress/procedures/usp_UpdateProductListPrices.sql | 110 | | sqlserver-to-postgress-migration/postgress/procedures/usp_GetCustomersByTerritory.sql | 102 | | adventureworks/procedures/usp_GetCustomersByTerritory.sql | 91 | | adventureworks/tables/Customer.sql | 81 | | adventureworks/procedures/usp_UpdateProductListPrices.sql | 74 |
File Name | Action | Summary of Changes |
---|---|---|
.system/code/typescript/capabilities/product-catalog/integrations/sample/index.ts | CREATE | Created TypeScript implementation of the product catalog capability for the sample integration |
.system/code/typescript/capabilities/product-catalog/integrations/sample/README.md | CREATE | Created README for the sample product catalog integration |
.system/code/typescript/capabilities/product-catalog/models.ts | CREATE | Created TypeScript models for the product catalog capability |
.system/code/typescript/capabilities/product-catalog/product-catalog-capability.ts | CREATE | Created TypeScript interface for the product catalog capability |
.system/code/typescript/capabilities/order-management/integrations/sample/index.ts | CREATE | Created TypeScript implementation of the order management capability for the sample integration |
.system/code/typescript/capabilities/order-management/integrations/sample/README.md | CREATE | Created README for the sample order management integration |
.system/code/typescript/capabilities/order-management/models.ts | CREATE | Created TypeScript models for the order management capability |
.system/code/typescript/capabilities/order-management/order-management-capability.ts | CREATE | Created TypeScript interface for the order management capability |
.system/code/typescript/processes/create-order/index.ts | CREATE | Created TypeScript implementation of the create order process |
.system/code/typescript/processes/create-order/README.md | CREATE | Created README for the create order process |
Programming Language
TypeScript
Processing Instructions
Task Details
I'm going to show you capability models (OpenAPI specs) so you can understand what the Capability models are intended to do. I need you to implement the OpenAPI capability models in source code, against the implementation definitions found in the
.system/definitions/integrations
folder. Each integration definition contains a {integration-code}.md file with details on what capabilities the implementation should implement.Capability Implementation Code Generation
The generated code should be stored as
.system/code/{language-code}/capabilities/{capability-code}/integrations/{integration-code}/
in this naming pattern use:Each implementation should be compliable as it's own package, because it will later be composed via dependency injection when the individual implementations are combined into a platform deployment.
Process Code Generation
Processes should be implemented in the source code programming language specified. The source for the processes should be stored in this pattern
.system/code/{language-code}/processes/{process-code}
so each process will be in it's own location. You can read the description for a process in the.system/definitions/processes/
folder. Processes should try to use operations defined in the capaiblities implemented to implement their logic.Programming Language to Use
typescript
Source Branch
main