@autobe/agent 0.10.0 → 0.10.1
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/lib/constants/AutoBeSystemPromptConstant.d.ts +1 -0
- package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
- package/lib/factory/createAutoBeApplication.js +0 -10
- package/lib/factory/createAutoBeApplication.js.map +1 -1
- package/lib/index.mjs +490 -792
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/analyze/AutoBeAnalyzeAgent.js +0 -4
- package/lib/orchestrate/analyze/AutoBeAnalyzeAgent.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyze.js +0 -2
- package/lib/orchestrate/analyze/orchestrateAnalyze.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceComplement.js +0 -2
- package/lib/orchestrate/interface/orchestrateInterfaceComplement.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceComponents.js +0 -8
- package/lib/orchestrate/interface/orchestrateInterfaceComponents.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js +0 -6
- package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperations.js +0 -68
- package/lib/orchestrate/interface/orchestrateInterfaceOperations.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaComponent.js +0 -6
- package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +0 -50
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaSchema.js +0 -58
- package/lib/orchestrate/prisma/orchestratePrismaSchema.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealize.d.ts +1 -1
- package/lib/orchestrate/realize/orchestrateRealize.js +25 -56
- package/lib/orchestrate/realize/orchestrateRealize.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeCoder.d.ts +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeCoder.js +4 -15
- package/lib/orchestrate/realize/orchestrateRealizeCoder.js.map +1 -1
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.d.ts +6 -0
- package/lib/orchestrate/test/orchestrateTestCorrect.js +0 -8
- package/lib/orchestrate/test/orchestrateTestCorrect.js.map +1 -1
- package/lib/orchestrate/test/orchestrateTestScenario.js +0 -16
- package/lib/orchestrate/test/orchestrateTestScenario.js.map +1 -1
- package/lib/orchestrate/test/orchestrateTestWrite.js +0 -15
- package/lib/orchestrate/test/orchestrateTestWrite.js.map +1 -1
- package/lib/orchestrate/test/transformTestWriteHistories.js +0 -7
- package/lib/orchestrate/test/transformTestWriteHistories.js.map +1 -1
- package/package.json +8 -12
- package/src/constants/AutoBeSystemPromptConstant.ts +1 -0
- package/src/orchestrate/realize/orchestrateRealize.ts +48 -88
- package/src/orchestrate/realize/orchestrateRealizeCoder.ts +5 -13
- package/src/orchestrate/realize/structures/IAutoBeRealizeCoderApplication.ts +10 -0
- package/lib/orchestrate/realize/orchestrateRealizeIntegrator.d.ts +0 -52
- package/lib/orchestrate/realize/orchestrateRealizeIntegrator.js +0 -57
- package/lib/orchestrate/realize/orchestrateRealizeIntegrator.js.map +0 -1
- package/lib/orchestrate/realize/orchestrateRealizeValidator.d.ts +0 -46
- package/lib/orchestrate/realize/orchestrateRealizeValidator.js +0 -37
- package/lib/orchestrate/realize/orchestrateRealizeValidator.js.map +0 -1
- package/src/orchestrate/realize/orchestrateRealizeIntegrator.ts +0 -75
- package/src/orchestrate/realize/orchestrateRealizeValidator.ts +0 -64
|
@@ -125,7 +125,6 @@ const claude = {
|
|
|
125
125
|
type: "object",
|
|
126
126
|
properties: {
|
|
127
127
|
endpoints: {
|
|
128
|
-
title: "List of endpoints to generate",
|
|
129
128
|
description: "List of endpoints to generate.",
|
|
130
129
|
type: "array",
|
|
131
130
|
items: {
|
|
@@ -143,12 +142,10 @@ const claude = {
|
|
|
143
142
|
type: "object",
|
|
144
143
|
properties: {
|
|
145
144
|
path: {
|
|
146
|
-
title: "HTTP path of the API operation",
|
|
147
145
|
description: "HTTP path of the API operation.\n\nThe URL path for accessing this API operation, using path parameters\nenclosed in curly braces (e.g., `/shoppings/customers/sales/{saleId}`).\n\nIt must be corresponded to the {@link parameters path parameters}.\n\nThe path structure should clearly indicate which database entity this\noperation is manipulating, helping to ensure all entities have\nappropriate API coverage.",
|
|
148
146
|
type: "string"
|
|
149
147
|
},
|
|
150
148
|
method: {
|
|
151
|
-
title: "HTTP method of the API operation",
|
|
152
149
|
description: "HTTP method of the API operation.\n\nNote that, if the API operation has {@link requestBody}, method must not\nbe `get`.\n\nAlso, even though the API operation has been designed to only get\ninformation, but it needs complicated request information, it must be\ndefined as `patch` method with {@link requestBody} data specification.\n\n- `get`: get information\n- `patch`: get information with complicated request data\n ({@link requestBody})\n- `post`: create new record\n- `put`: update existing record\n- `delete`: remove record",
|
|
153
150
|
oneOf: [
|
|
154
151
|
{
|
|
@@ -248,7 +245,6 @@ const collection = {
|
|
|
248
245
|
type: "object",
|
|
249
246
|
properties: {
|
|
250
247
|
endpoints: {
|
|
251
|
-
title: "List of endpoints to generate",
|
|
252
248
|
description: "List of endpoints to generate.",
|
|
253
249
|
type: "array",
|
|
254
250
|
items: {
|
|
@@ -266,12 +262,10 @@ const collection = {
|
|
|
266
262
|
type: "object",
|
|
267
263
|
properties: {
|
|
268
264
|
path: {
|
|
269
|
-
title: "HTTP path of the API operation",
|
|
270
265
|
description: "HTTP path of the API operation.\n\nThe URL path for accessing this API operation, using path parameters\nenclosed in curly braces (e.g., `/shoppings/customers/sales/{saleId}`).\n\nIt must be corresponded to the {@link parameters path parameters}.\n\nThe path structure should clearly indicate which database entity this\noperation is manipulating, helping to ensure all entities have\nappropriate API coverage.",
|
|
271
266
|
type: "string"
|
|
272
267
|
},
|
|
273
268
|
method: {
|
|
274
|
-
title: "HTTP method of the API operation",
|
|
275
269
|
description: "HTTP method of the API operation.\n\nNote that, if the API operation has {@link requestBody}, method must not\nbe `get`.\n\nAlso, even though the API operation has been designed to only get\ninformation, but it needs complicated request information, it must be\ndefined as `patch` method with {@link requestBody} data specification.\n\n- `get`: get information\n- `patch`: get information with complicated request data\n ({@link requestBody})\n- `post`: create new record\n- `put`: update existing record\n- `delete`: remove record",
|
|
276
270
|
type: "string",
|
|
277
271
|
"enum": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrateInterfaceEndpoints.js","sourceRoot":"","sources":["../../../src/orchestrate/interface/orchestrateInterfaceEndpoints.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,sEA2DC;;AAjFD,yCAKwB;AAOxB,+BAAyC;AACzC,kDAA0B;AAC1B,+BAA0B;AAI1B,uEAAoE;AACpE,2EAAwE;AACxE,+EAA4E;AAE5E,SAAsB,6BAA6B;yDAGjD,GAAyB,EACzB,UAAkB,0CAA0C;;QAE5D,MAAM,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;QAC/B,MAAM,OAAO,GAA+C;YAC1D,KAAK,EAAE,IAAI;SACZ,CAAC;QACF,MAAM,QAAQ,GAAyB,IAAI,oBAAa,CAAC;YACvD,KAAK,EAAE,GAAG,CAAC,KAAK;YAChB,MAAM,EAAE,GAAG,CAAC,MAAM;YAClB,MAAM,kCACD,CAAC,MAAA,GAAG,CAAC,MAAM,mCAAI,EAAE,CAAC,KACrB,QAAQ,EAAE;oBACR,QAAQ,EAAE,IAAI;iBACf,GACF;YACD,SAAS,EAAE,IAAA,yDAA2B,EACpC,GAAG,CAAC,KAAK,EAAE,s4tBAEZ;YACD,WAAW,EAAE;gBACX,iBAAiB,CAAC;oBAChB,KAAK,EAAE,GAAG,CAAC,KAAK;oBAChB,KAAK,EAAE,CAAC,SAAS,EAAE,EAAE;;wBACnB,MAAA,OAAO,CAAC,KAAK,oCAAb,OAAO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AAK,CAAC,CAAC;IAE/B,MAAM,WAAW,GAA2B,UAAU,CACpD,KAAK,CAAC,KAAK,CACyB,CAAC;IACvC,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,WAAW;QACjB,WAAW;QACX,OAAO,EAAE;YACP,aAAa,EAAE,CAAC,IAAI,EAAE,EAAE;gBACtB,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC9B,CAAC;SACqB;KACzB,CAAC;AACJ,CAAC;AAED,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"orchestrateInterfaceEndpoints.js","sourceRoot":"","sources":["../../../src/orchestrate/interface/orchestrateInterfaceEndpoints.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,sEA2DC;;AAjFD,yCAKwB;AAOxB,+BAAyC;AACzC,kDAA0B;AAC1B,+BAA0B;AAI1B,uEAAoE;AACpE,2EAAwE;AACxE,+EAA4E;AAE5E,SAAsB,6BAA6B;yDAGjD,GAAyB,EACzB,UAAkB,0CAA0C;;QAE5D,MAAM,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;QAC/B,MAAM,OAAO,GAA+C;YAC1D,KAAK,EAAE,IAAI;SACZ,CAAC;QACF,MAAM,QAAQ,GAAyB,IAAI,oBAAa,CAAC;YACvD,KAAK,EAAE,GAAG,CAAC,KAAK;YAChB,MAAM,EAAE,GAAG,CAAC,MAAM;YAClB,MAAM,kCACD,CAAC,MAAA,GAAG,CAAC,MAAM,mCAAI,EAAE,CAAC,KACrB,QAAQ,EAAE;oBACR,QAAQ,EAAE,IAAI;iBACf,GACF;YACD,SAAS,EAAE,IAAA,yDAA2B,EACpC,GAAG,CAAC,KAAK,EAAE,s4tBAEZ;YACD,WAAW,EAAE;gBACX,iBAAiB,CAAC;oBAChB,KAAK,EAAE,GAAG,CAAC,KAAK;oBAChB,KAAK,EAAE,CAAC,SAAS,EAAE,EAA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,KAG1D;IACC,IAAA,qCAAiB,EAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAE/B,MAAM,WAAW,GAA2B,UAAU,CACpD,KAAK,CAAC,KAAK,CACyB,CAAC;IACvC,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,WAAW;QACjB,WAAW;QACX,OAAO,EAAE;YACP,aAAa,EAAE,CAAC,IAAI,EAAE,EAAE;gBACtB,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC9B,CAAC;SACqB;KACzB,CAAC;AACJ,CAAC;AAED,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIT,CAAC;AACJ,MAAM,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIJ;IACH,MAAM;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;CACd,CAAC"}
|
|
@@ -463,7 +463,6 @@ const claude = {
|
|
|
463
463
|
type: "object",
|
|
464
464
|
properties: {
|
|
465
465
|
operations: {
|
|
466
|
-
title: "Array of API operations to generate",
|
|
467
466
|
description: "Array of API operations to generate.\n\nEach operation in this array must include:\n\n- Specification: Detailed API specification with clear purpose and\n functionality\n- Path: Resource-centric URL path (e.g., \"/resources/{resourceId}\")\n- Method: HTTP method (get, post, put, delete, patch)\n- Description: Extremely detailed multi-paragraph description referencing\n Prisma schema comments\n- Summary: Concise one-sentence summary of the endpoint\n- Parameters: Array of all necessary parameters with descriptions and schema\n definitions\n- RequestBody: For POST/PUT/PATCH methods, with typeName referencing\n components.schemas\n- ResponseBody: With typeName referencing appropriate response type\n\nAll operations must follow strict quality standards:\n\n1. Detailed descriptions referencing Prisma schema comments\n2. Accurate parameter definitions matching path parameters\n3. Appropriate request/response body type references\n4. Consistent patterns for CRUD operations\n\nFor list retrievals (typically PATCH), include pagination, search, and\nsorting. For detail retrieval (GET), return a single resource. For creation\n(POST), use .ICreate request body. For modification (PUT), use .IUpdate\nrequest body.",
|
|
468
467
|
type: "array",
|
|
469
468
|
items: {
|
|
@@ -481,22 +480,18 @@ const claude = {
|
|
|
481
480
|
type: "object",
|
|
482
481
|
properties: {
|
|
483
482
|
specification: {
|
|
484
|
-
title: "Specification of the API operation",
|
|
485
483
|
description: "Specification of the API operation.\n\nBefore defining the API operation interface, please describe what you're\nplanning to write in this `specification` field.\n\nThe specification must be fully detailed and clear, so that anyone can\nunderstand the purpose and functionality of the API operation and its\nrelated components (e.g., {@link path}, {@link parameters},\n{@link requestBody}).\n\nIMPORTANT: The specification MUST identify which Prisma DB table this\noperation is associated with, helping ensure complete coverage of all\ndatabase entities.",
|
|
486
484
|
type: "string"
|
|
487
485
|
},
|
|
488
486
|
description: {
|
|
489
|
-
title: "Detailed description about the API operation",
|
|
490
487
|
description: "Detailed description about the API operation.\n\nIMPORTANT: This field MUST be extensively detailed and MUST reference the\ndescription comments from the related Prisma DB schema tables and\ncolumns. The description should be organized into MULTIPLE PARAGRAPHS\nseparated by line breaks to improve readability and comprehension.\n\nFor example, include separate paragraphs for:\n\n- The purpose and overview of the API operation\n- Security considerations and user permissions\n- Relationship to underlying database entities\n- Validation rules and business logic\n- Related API operations that might be used together with this one\n- Expected behavior and error handling\n\nWhen writing the description, be sure to incorporate the corresponding DB\nschema's description comments, matching the level of detail and style of\nthose comments. This ensures consistency between the API documentation\nand database structure.\n\nIf there's a dependency to other APIs, please describe the dependency API\noperation in this field with detailed reason. For example, if this API\noperation needs a pre-execution of other API operation, it must be\nexplicitly described.\n\n- `GET /shoppings/customers/sales` must be pre-executed to get entire list\n of summarized sales. Detailed sale information would be obtained by\n specifying the sale ID in the path parameter.\n\n> MUST be written in English. Never use other languages.",
|
|
491
488
|
type: "string"
|
|
492
489
|
},
|
|
493
490
|
summary: {
|
|
494
|
-
title: "Short summary of the API operation",
|
|
495
491
|
description: "Short summary of the API operation.\n\nThis should be a concise description of the API operation, typically one\nsentence long. It should provide a quick overview of what the API does\nwithout going into too much detail.\n\nThis summary will be used in the OpenAPI documentation to give users a\nquick understanding of the API operation's purpose.\n\nIMPORTANT: The summary should clearly indicate which Prisma DB table this\noperation relates to, helping to ensure all tables have API coverage.\n\n> MUST be written in English. Never use other languages",
|
|
496
492
|
type: "string"
|
|
497
493
|
},
|
|
498
494
|
parameters: {
|
|
499
|
-
title: "List of path parameters",
|
|
500
495
|
description: "List of path parameters.\n\nNote that, the {@link AutoBeOpenApi.IParameter.name identifier name} of\npath parameter must be corresponded to the\n{@link path API operation path}.\n\nFor example, if there's an API operation which has {@link path} of\n`/shoppings/customers/sales/{saleId}/questions/${questionId}/comments/${commentId}`,\nits list of {@link AutoBeOpenApi.IParameter.name path parameters} must be\nlike:\n\n- `saleId`\n- `questionId`\n- `commentId`",
|
|
501
496
|
type: "array",
|
|
502
497
|
items: {
|
|
@@ -504,7 +499,6 @@ const claude = {
|
|
|
504
499
|
}
|
|
505
500
|
},
|
|
506
501
|
requestBody: {
|
|
507
|
-
title: "Request body of the API operation",
|
|
508
502
|
description: "Request body of the API operation.\n\nDefines the payload structure for the request. Contains a description and\nschema reference to define the expected input data.\n\nShould be `null` for operations that don't require a request body, such\nas most \"get\" operations.",
|
|
509
503
|
oneOf: [
|
|
510
504
|
{
|
|
@@ -516,7 +510,6 @@ const claude = {
|
|
|
516
510
|
]
|
|
517
511
|
},
|
|
518
512
|
responseBody: {
|
|
519
|
-
title: "Response body of the API operation",
|
|
520
513
|
description: "Response body of the API operation.\n\nDefines the structure of the successful response data. Contains a\ndescription and schema reference for the returned data.\n\nShould be null for operations that don't return any data.",
|
|
521
514
|
oneOf: [
|
|
522
515
|
{
|
|
@@ -545,12 +538,10 @@ const claude = {
|
|
|
545
538
|
}
|
|
546
539
|
},
|
|
547
540
|
path: {
|
|
548
|
-
title: "HTTP path of the API operation",
|
|
549
541
|
description: "HTTP path of the API operation.\n\nThe URL path for accessing this API operation, using path parameters\nenclosed in curly braces (e.g., `/shoppings/customers/sales/{saleId}`).\n\nIt must be corresponded to the {@link parameters path parameters}.\n\nThe path structure should clearly indicate which database entity this\noperation is manipulating, helping to ensure all entities have\nappropriate API coverage.",
|
|
550
542
|
type: "string"
|
|
551
543
|
},
|
|
552
544
|
method: {
|
|
553
|
-
title: "HTTP method of the API operation",
|
|
554
545
|
description: "HTTP method of the API operation.\n\nNote that, if the API operation has {@link requestBody}, method must not\nbe `get`.\n\nAlso, even though the API operation has been designed to only get\ninformation, but it needs complicated request information, it must be\ndefined as `patch` method with {@link requestBody} data specification.\n\n- `get`: get information\n- `patch`: get information with complicated request data\n ({@link requestBody})\n- `post`: create new record\n- `put`: update existing record\n- `delete`: remove record",
|
|
555
546
|
oneOf: [
|
|
556
547
|
{
|
|
@@ -587,17 +578,14 @@ const claude = {
|
|
|
587
578
|
type: "object",
|
|
588
579
|
properties: {
|
|
589
580
|
name: {
|
|
590
|
-
title: "Identifier name of the path parameter",
|
|
591
581
|
description: "Identifier name of the path parameter.\n\nThis name must match exactly with the parameter name in the route path.\nIt must be corresponded to the\n{@link AutoBeOpenApi.IOperation.path API operation path}.",
|
|
592
582
|
type: "string"
|
|
593
583
|
},
|
|
594
584
|
description: {
|
|
595
|
-
title: "Description about the path parameter",
|
|
596
585
|
description: "Description about the path parameter.\n\nMake short, concise and clear description about the path parameter.\n\n> MUST be written in English. Never use other languages.",
|
|
597
586
|
type: "string"
|
|
598
587
|
},
|
|
599
588
|
schema: {
|
|
600
|
-
title: "Type schema of the path parameter",
|
|
601
589
|
description: "Type schema of the path parameter.\n\nPath parameters are typically primitive types like\n{@link AutoBeOpenApi.IJsonSchema.IString strings},\n{@link AutoBeOpenApi.IJsonSchema.IInteger integers},\n{@link AutoBeOpenApi.IJsonSchema.INumber numbers}.\n\nIf you need other types, please use request body instead with object type\nencapsulation.",
|
|
602
590
|
oneOf: [
|
|
603
591
|
{
|
|
@@ -631,33 +619,27 @@ const claude = {
|
|
|
631
619
|
type: "object",
|
|
632
620
|
properties: {
|
|
633
621
|
minimum: {
|
|
634
|
-
title: "Minimum value restriction",
|
|
635
622
|
description: "Minimum value restriction.",
|
|
636
623
|
type: "number"
|
|
637
624
|
},
|
|
638
625
|
maximum: {
|
|
639
|
-
title: "Maximum value restriction",
|
|
640
626
|
description: "Maximum value restriction.",
|
|
641
627
|
type: "number"
|
|
642
628
|
},
|
|
643
629
|
exclusiveMinimum: {
|
|
644
|
-
title: "Exclusive minimum value restriction",
|
|
645
630
|
description: "Exclusive minimum value restriction.",
|
|
646
631
|
type: "number"
|
|
647
632
|
},
|
|
648
633
|
exclusiveMaximum: {
|
|
649
|
-
title: "Exclusive maximum value restriction",
|
|
650
634
|
description: "Exclusive maximum value restriction.",
|
|
651
635
|
type: "number"
|
|
652
636
|
},
|
|
653
637
|
multipleOf: {
|
|
654
|
-
title: "Multiple of value restriction",
|
|
655
638
|
description: "Multiple of value restriction.",
|
|
656
639
|
type: "number",
|
|
657
640
|
exclusiveMinimum: 0
|
|
658
641
|
},
|
|
659
642
|
type: {
|
|
660
|
-
title: "Discriminator value of the type",
|
|
661
643
|
description: "Discriminator value of the type.",
|
|
662
644
|
"const": "number"
|
|
663
645
|
}
|
|
@@ -671,33 +653,27 @@ const claude = {
|
|
|
671
653
|
type: "object",
|
|
672
654
|
properties: {
|
|
673
655
|
minimum: {
|
|
674
|
-
title: "Minimum value restriction",
|
|
675
656
|
description: "Minimum value restriction.",
|
|
676
657
|
type: "integer"
|
|
677
658
|
},
|
|
678
659
|
maximum: {
|
|
679
|
-
title: "Maximum value restriction",
|
|
680
660
|
description: "Maximum value restriction.",
|
|
681
661
|
type: "integer"
|
|
682
662
|
},
|
|
683
663
|
exclusiveMinimum: {
|
|
684
|
-
title: "Exclusive minimum value restriction",
|
|
685
664
|
description: "Exclusive minimum value restriction.",
|
|
686
665
|
type: "number"
|
|
687
666
|
},
|
|
688
667
|
exclusiveMaximum: {
|
|
689
|
-
title: "Exclusive maximum value restriction",
|
|
690
668
|
description: "Exclusive maximum value restriction.",
|
|
691
669
|
type: "number"
|
|
692
670
|
},
|
|
693
671
|
multipleOf: {
|
|
694
|
-
title: "Multiple of value restriction",
|
|
695
672
|
description: "Multiple of value restriction.",
|
|
696
673
|
type: "integer",
|
|
697
674
|
exclusiveMinimum: 0
|
|
698
675
|
},
|
|
699
676
|
type: {
|
|
700
|
-
title: "Discriminator value of the type",
|
|
701
677
|
description: "Discriminator value of the type.",
|
|
702
678
|
"const": "integer"
|
|
703
679
|
}
|
|
@@ -711,34 +687,28 @@ const claude = {
|
|
|
711
687
|
type: "object",
|
|
712
688
|
properties: {
|
|
713
689
|
format: {
|
|
714
|
-
title: "Format restriction",
|
|
715
690
|
description: "Format restriction.",
|
|
716
691
|
type: "string"
|
|
717
692
|
},
|
|
718
693
|
pattern: {
|
|
719
|
-
title: "Pattern restriction",
|
|
720
694
|
description: "Pattern restriction.",
|
|
721
695
|
type: "string"
|
|
722
696
|
},
|
|
723
697
|
contentMediaType: {
|
|
724
|
-
title: "Content media type restriction",
|
|
725
698
|
description: "Content media type restriction.",
|
|
726
699
|
type: "string"
|
|
727
700
|
},
|
|
728
701
|
minLength: {
|
|
729
|
-
title: "Minimum length restriction",
|
|
730
702
|
description: "Minimum length restriction.",
|
|
731
703
|
type: "integer",
|
|
732
704
|
minimum: 0
|
|
733
705
|
},
|
|
734
706
|
maxLength: {
|
|
735
|
-
title: "Maximum length restriction",
|
|
736
707
|
description: "Maximum length restriction.",
|
|
737
708
|
type: "integer",
|
|
738
709
|
minimum: 0
|
|
739
710
|
},
|
|
740
711
|
type: {
|
|
741
|
-
title: "Discriminator value of the type",
|
|
742
712
|
description: "Discriminator value of the type.",
|
|
743
713
|
"const": "string"
|
|
744
714
|
}
|
|
@@ -752,12 +722,10 @@ const claude = {
|
|
|
752
722
|
type: "object",
|
|
753
723
|
properties: {
|
|
754
724
|
description: {
|
|
755
|
-
title: "Description about the request body",
|
|
756
725
|
description: "Description about the request body.\n\nMake short, concise and clear description about the request body.\n\n> MUST be written in English. Never use other languages.",
|
|
757
726
|
type: "string"
|
|
758
727
|
},
|
|
759
728
|
typeName: {
|
|
760
|
-
title: "Request body type name",
|
|
761
729
|
description: "Request body type name.\n\nThis specifies the data structure expected in the request body, that will\nbe transformed to {@link AutoBeOpenApi.IJsonSchema.IReference reference}\ntype in the {@link AutoBeOpenApi.IComponents.schemas components section}\nas an {@link AutoBeOpenApi.IJsonSchema.Object object} type.\n\nHere is the naming convention for the request body type:\n\n- `IEntityName.ICreate`: Request body for creation operations (POST)\n- `IEntityName.IUpdate`: Request body for update operations (PUT)\n- `IEntityName.IRequest`: Request parameters for list operations (often\n with search/pagination)\n\nWhat you write:\n\n```json\n{\n \"typeName\": \"IShoppingOrder.ICreate\"\n}\n```\n\nTransformed to:\n\n```json\n{\n \"schema\": {\n \"$ref\": \"#/components/schemas/IShoppingOrder.ICreate\"\n }\n}\n```",
|
|
762
730
|
type: "string"
|
|
763
731
|
}
|
|
@@ -772,12 +740,10 @@ const claude = {
|
|
|
772
740
|
type: "object",
|
|
773
741
|
properties: {
|
|
774
742
|
description: {
|
|
775
|
-
title: "Description about the response body",
|
|
776
743
|
description: "Description about the response body.\n\nMake short, concise and clear description about the response body.\n\n> MUST be written in English. Never use other languages.",
|
|
777
744
|
type: "string"
|
|
778
745
|
},
|
|
779
746
|
typeName: {
|
|
780
|
-
title: "Response body's data type",
|
|
781
747
|
description: "Response body's data type.\n\nSpecifies the structure of the returned data (response body), that will\nbe transformed to {@link AutoBeOpenApi.IJsonSchema.IReference} type in the\n{@link AutoBeOpenApi.IComponents.schemas components section} as an\n{@link AutoBeOpenApi.IJsonSchema.IObject object} type.\n\nHere is the naming convention for the response body type:\n\n- `IEntityName`: Main entity with detailed information (e.g.,\n `IShoppingSale`)\n- `IEntityName.ISummary`: Simplified response version with essential\n properties\n- `IEntityName.IInvert`: Alternative view of an entity from a different\n perspective\n- `IPageIEntityName`: Paginated results container with `pagination` and\n `data` properties\n\nWhat you write:\n\n```json\n{\n \"typeName\": \"IShoppingOrder\"\n}\n```\n\nTransformed to:\n\n```json\n{\n \"schema\": {\n \"$ref\": \"#/components/schemas/IShoppingOrder\"\n }\n}\n```",
|
|
782
748
|
type: "string"
|
|
783
749
|
}
|
|
@@ -1104,7 +1070,6 @@ const collection = {
|
|
|
1104
1070
|
type: "object",
|
|
1105
1071
|
properties: {
|
|
1106
1072
|
operations: {
|
|
1107
|
-
title: "Array of API operations to generate",
|
|
1108
1073
|
description: "Array of API operations to generate.\n\nEach operation in this array must include:\n\n- Specification: Detailed API specification with clear purpose and\n functionality\n- Path: Resource-centric URL path (e.g., \"/resources/{resourceId}\")\n- Method: HTTP method (get, post, put, delete, patch)\n- Description: Extremely detailed multi-paragraph description referencing\n Prisma schema comments\n- Summary: Concise one-sentence summary of the endpoint\n- Parameters: Array of all necessary parameters with descriptions and schema\n definitions\n- RequestBody: For POST/PUT/PATCH methods, with typeName referencing\n components.schemas\n- ResponseBody: With typeName referencing appropriate response type\n\nAll operations must follow strict quality standards:\n\n1. Detailed descriptions referencing Prisma schema comments\n2. Accurate parameter definitions matching path parameters\n3. Appropriate request/response body type references\n4. Consistent patterns for CRUD operations\n\nFor list retrievals (typically PATCH), include pagination, search, and\nsorting. For detail retrieval (GET), return a single resource. For creation\n(POST), use .ICreate request body. For modification (PUT), use .IUpdate\nrequest body.",
|
|
1109
1074
|
type: "array",
|
|
1110
1075
|
items: {
|
|
@@ -1122,22 +1087,18 @@ const collection = {
|
|
|
1122
1087
|
type: "object",
|
|
1123
1088
|
properties: {
|
|
1124
1089
|
specification: {
|
|
1125
|
-
title: "Specification of the API operation",
|
|
1126
1090
|
description: "Specification of the API operation.\n\nBefore defining the API operation interface, please describe what you're\nplanning to write in this `specification` field.\n\nThe specification must be fully detailed and clear, so that anyone can\nunderstand the purpose and functionality of the API operation and its\nrelated components (e.g., {@link path}, {@link parameters},\n{@link requestBody}).\n\nIMPORTANT: The specification MUST identify which Prisma DB table this\noperation is associated with, helping ensure complete coverage of all\ndatabase entities.",
|
|
1127
1091
|
type: "string"
|
|
1128
1092
|
},
|
|
1129
1093
|
description: {
|
|
1130
|
-
title: "Detailed description about the API operation",
|
|
1131
1094
|
description: "Detailed description about the API operation.\n\nIMPORTANT: This field MUST be extensively detailed and MUST reference the\ndescription comments from the related Prisma DB schema tables and\ncolumns. The description should be organized into MULTIPLE PARAGRAPHS\nseparated by line breaks to improve readability and comprehension.\n\nFor example, include separate paragraphs for:\n\n- The purpose and overview of the API operation\n- Security considerations and user permissions\n- Relationship to underlying database entities\n- Validation rules and business logic\n- Related API operations that might be used together with this one\n- Expected behavior and error handling\n\nWhen writing the description, be sure to incorporate the corresponding DB\nschema's description comments, matching the level of detail and style of\nthose comments. This ensures consistency between the API documentation\nand database structure.\n\nIf there's a dependency to other APIs, please describe the dependency API\noperation in this field with detailed reason. For example, if this API\noperation needs a pre-execution of other API operation, it must be\nexplicitly described.\n\n- `GET /shoppings/customers/sales` must be pre-executed to get entire list\n of summarized sales. Detailed sale information would be obtained by\n specifying the sale ID in the path parameter.\n\n> MUST be written in English. Never use other languages.",
|
|
1132
1095
|
type: "string"
|
|
1133
1096
|
},
|
|
1134
1097
|
summary: {
|
|
1135
|
-
title: "Short summary of the API operation",
|
|
1136
1098
|
description: "Short summary of the API operation.\n\nThis should be a concise description of the API operation, typically one\nsentence long. It should provide a quick overview of what the API does\nwithout going into too much detail.\n\nThis summary will be used in the OpenAPI documentation to give users a\nquick understanding of the API operation's purpose.\n\nIMPORTANT: The summary should clearly indicate which Prisma DB table this\noperation relates to, helping to ensure all tables have API coverage.\n\n> MUST be written in English. Never use other languages",
|
|
1137
1099
|
type: "string"
|
|
1138
1100
|
},
|
|
1139
1101
|
parameters: {
|
|
1140
|
-
title: "List of path parameters",
|
|
1141
1102
|
description: "List of path parameters.\n\nNote that, the {@link AutoBeOpenApi.IParameter.name identifier name} of\npath parameter must be corresponded to the\n{@link path API operation path}.\n\nFor example, if there's an API operation which has {@link path} of\n`/shoppings/customers/sales/{saleId}/questions/${questionId}/comments/${commentId}`,\nits list of {@link AutoBeOpenApi.IParameter.name path parameters} must be\nlike:\n\n- `saleId`\n- `questionId`\n- `commentId`",
|
|
1142
1103
|
type: "array",
|
|
1143
1104
|
items: {
|
|
@@ -1145,7 +1106,6 @@ const collection = {
|
|
|
1145
1106
|
}
|
|
1146
1107
|
},
|
|
1147
1108
|
requestBody: {
|
|
1148
|
-
title: "Request body of the API operation",
|
|
1149
1109
|
description: "Request body of the API operation.\n\nDefines the payload structure for the request. Contains a description and\nschema reference to define the expected input data.\n\nShould be `null` for operations that don't require a request body, such\nas most \"get\" operations.",
|
|
1150
1110
|
anyOf: [
|
|
1151
1111
|
{
|
|
@@ -1157,7 +1117,6 @@ const collection = {
|
|
|
1157
1117
|
]
|
|
1158
1118
|
},
|
|
1159
1119
|
responseBody: {
|
|
1160
|
-
title: "Response body of the API operation",
|
|
1161
1120
|
description: "Response body of the API operation.\n\nDefines the structure of the successful response data. Contains a\ndescription and schema reference for the returned data.\n\nShould be null for operations that don't return any data.",
|
|
1162
1121
|
anyOf: [
|
|
1163
1122
|
{
|
|
@@ -1186,12 +1145,10 @@ const collection = {
|
|
|
1186
1145
|
}
|
|
1187
1146
|
},
|
|
1188
1147
|
path: {
|
|
1189
|
-
title: "HTTP path of the API operation",
|
|
1190
1148
|
description: "HTTP path of the API operation.\n\nThe URL path for accessing this API operation, using path parameters\nenclosed in curly braces (e.g., `/shoppings/customers/sales/{saleId}`).\n\nIt must be corresponded to the {@link parameters path parameters}.\n\nThe path structure should clearly indicate which database entity this\noperation is manipulating, helping to ensure all entities have\nappropriate API coverage.",
|
|
1191
1149
|
type: "string"
|
|
1192
1150
|
},
|
|
1193
1151
|
method: {
|
|
1194
|
-
title: "HTTP method of the API operation",
|
|
1195
1152
|
description: "HTTP method of the API operation.\n\nNote that, if the API operation has {@link requestBody}, method must not\nbe `get`.\n\nAlso, even though the API operation has been designed to only get\ninformation, but it needs complicated request information, it must be\ndefined as `patch` method with {@link requestBody} data specification.\n\n- `get`: get information\n- `patch`: get information with complicated request data\n ({@link requestBody})\n- `post`: create new record\n- `put`: update existing record\n- `delete`: remove record",
|
|
1196
1153
|
type: "string",
|
|
1197
1154
|
"enum": [
|
|
@@ -1219,17 +1176,14 @@ const collection = {
|
|
|
1219
1176
|
type: "object",
|
|
1220
1177
|
properties: {
|
|
1221
1178
|
name: {
|
|
1222
|
-
title: "Identifier name of the path parameter",
|
|
1223
1179
|
description: "Identifier name of the path parameter.\n\nThis name must match exactly with the parameter name in the route path.\nIt must be corresponded to the\n{@link AutoBeOpenApi.IOperation.path API operation path}.",
|
|
1224
1180
|
type: "string"
|
|
1225
1181
|
},
|
|
1226
1182
|
description: {
|
|
1227
|
-
title: "Description about the path parameter",
|
|
1228
1183
|
description: "Description about the path parameter.\n\nMake short, concise and clear description about the path parameter.\n\n> MUST be written in English. Never use other languages.",
|
|
1229
1184
|
type: "string"
|
|
1230
1185
|
},
|
|
1231
1186
|
schema: {
|
|
1232
|
-
title: "Type schema of the path parameter",
|
|
1233
1187
|
description: "Type schema of the path parameter.\n\nPath parameters are typically primitive types like\n{@link AutoBeOpenApi.IJsonSchema.IString strings},\n{@link AutoBeOpenApi.IJsonSchema.IInteger integers},\n{@link AutoBeOpenApi.IJsonSchema.INumber numbers}.\n\nIf you need other types, please use request body instead with object type\nencapsulation.",
|
|
1234
1188
|
anyOf: [
|
|
1235
1189
|
{
|
|
@@ -1263,32 +1217,26 @@ const collection = {
|
|
|
1263
1217
|
type: "object",
|
|
1264
1218
|
properties: {
|
|
1265
1219
|
minimum: {
|
|
1266
|
-
title: "Minimum value restriction",
|
|
1267
1220
|
description: "Minimum value restriction.",
|
|
1268
1221
|
type: "number"
|
|
1269
1222
|
},
|
|
1270
1223
|
maximum: {
|
|
1271
|
-
title: "Maximum value restriction",
|
|
1272
1224
|
description: "Maximum value restriction.",
|
|
1273
1225
|
type: "number"
|
|
1274
1226
|
},
|
|
1275
1227
|
exclusiveMinimum: {
|
|
1276
|
-
title: "Exclusive minimum value restriction",
|
|
1277
1228
|
description: "Exclusive minimum value restriction.",
|
|
1278
1229
|
type: "number"
|
|
1279
1230
|
},
|
|
1280
1231
|
exclusiveMaximum: {
|
|
1281
|
-
title: "Exclusive maximum value restriction",
|
|
1282
1232
|
description: "Exclusive maximum value restriction.",
|
|
1283
1233
|
type: "number"
|
|
1284
1234
|
},
|
|
1285
1235
|
multipleOf: {
|
|
1286
|
-
title: "Multiple of value restriction",
|
|
1287
1236
|
description: "Multiple of value restriction.\n\n\n@exclusiveMinimum 0",
|
|
1288
1237
|
type: "number"
|
|
1289
1238
|
},
|
|
1290
1239
|
type: {
|
|
1291
|
-
title: "Discriminator value of the type",
|
|
1292
1240
|
description: "Discriminator value of the type.",
|
|
1293
1241
|
type: "string",
|
|
1294
1242
|
"enum": [
|
|
@@ -1305,32 +1253,26 @@ const collection = {
|
|
|
1305
1253
|
type: "object",
|
|
1306
1254
|
properties: {
|
|
1307
1255
|
minimum: {
|
|
1308
|
-
title: "Minimum value restriction",
|
|
1309
1256
|
description: "Minimum value restriction.",
|
|
1310
1257
|
type: "integer"
|
|
1311
1258
|
},
|
|
1312
1259
|
maximum: {
|
|
1313
|
-
title: "Maximum value restriction",
|
|
1314
1260
|
description: "Maximum value restriction.",
|
|
1315
1261
|
type: "integer"
|
|
1316
1262
|
},
|
|
1317
1263
|
exclusiveMinimum: {
|
|
1318
|
-
title: "Exclusive minimum value restriction",
|
|
1319
1264
|
description: "Exclusive minimum value restriction.",
|
|
1320
1265
|
type: "number"
|
|
1321
1266
|
},
|
|
1322
1267
|
exclusiveMaximum: {
|
|
1323
|
-
title: "Exclusive maximum value restriction",
|
|
1324
1268
|
description: "Exclusive maximum value restriction.",
|
|
1325
1269
|
type: "number"
|
|
1326
1270
|
},
|
|
1327
1271
|
multipleOf: {
|
|
1328
|
-
title: "Multiple of value restriction",
|
|
1329
1272
|
description: "Multiple of value restriction.\n\n\n@exclusiveMinimum 0",
|
|
1330
1273
|
type: "integer"
|
|
1331
1274
|
},
|
|
1332
1275
|
type: {
|
|
1333
|
-
title: "Discriminator value of the type",
|
|
1334
1276
|
description: "Discriminator value of the type.",
|
|
1335
1277
|
type: "string",
|
|
1336
1278
|
"enum": [
|
|
@@ -1347,32 +1289,26 @@ const collection = {
|
|
|
1347
1289
|
type: "object",
|
|
1348
1290
|
properties: {
|
|
1349
1291
|
format: {
|
|
1350
|
-
title: "Format restriction",
|
|
1351
1292
|
description: "Format restriction.",
|
|
1352
1293
|
type: "string"
|
|
1353
1294
|
},
|
|
1354
1295
|
pattern: {
|
|
1355
|
-
title: "Pattern restriction",
|
|
1356
1296
|
description: "Pattern restriction.",
|
|
1357
1297
|
type: "string"
|
|
1358
1298
|
},
|
|
1359
1299
|
contentMediaType: {
|
|
1360
|
-
title: "Content media type restriction",
|
|
1361
1300
|
description: "Content media type restriction.",
|
|
1362
1301
|
type: "string"
|
|
1363
1302
|
},
|
|
1364
1303
|
minLength: {
|
|
1365
|
-
title: "Minimum length restriction",
|
|
1366
1304
|
description: "Minimum length restriction.\n\n\n@minimum 0",
|
|
1367
1305
|
type: "integer"
|
|
1368
1306
|
},
|
|
1369
1307
|
maxLength: {
|
|
1370
|
-
title: "Maximum length restriction",
|
|
1371
1308
|
description: "Maximum length restriction.\n\n\n@minimum 0",
|
|
1372
1309
|
type: "integer"
|
|
1373
1310
|
},
|
|
1374
1311
|
type: {
|
|
1375
|
-
title: "Discriminator value of the type",
|
|
1376
1312
|
description: "Discriminator value of the type.",
|
|
1377
1313
|
type: "string",
|
|
1378
1314
|
"enum": [
|
|
@@ -1389,12 +1325,10 @@ const collection = {
|
|
|
1389
1325
|
type: "object",
|
|
1390
1326
|
properties: {
|
|
1391
1327
|
description: {
|
|
1392
|
-
title: "Description about the request body",
|
|
1393
1328
|
description: "Description about the request body.\n\nMake short, concise and clear description about the request body.\n\n> MUST be written in English. Never use other languages.",
|
|
1394
1329
|
type: "string"
|
|
1395
1330
|
},
|
|
1396
1331
|
typeName: {
|
|
1397
|
-
title: "Request body type name",
|
|
1398
1332
|
description: "Request body type name.\n\nThis specifies the data structure expected in the request body, that will\nbe transformed to {@link AutoBeOpenApi.IJsonSchema.IReference reference}\ntype in the {@link AutoBeOpenApi.IComponents.schemas components section}\nas an {@link AutoBeOpenApi.IJsonSchema.Object object} type.\n\nHere is the naming convention for the request body type:\n\n- `IEntityName.ICreate`: Request body for creation operations (POST)\n- `IEntityName.IUpdate`: Request body for update operations (PUT)\n- `IEntityName.IRequest`: Request parameters for list operations (often\n with search/pagination)\n\nWhat you write:\n\n```json\n{\n \"typeName\": \"IShoppingOrder.ICreate\"\n}\n```\n\nTransformed to:\n\n```json\n{\n \"schema\": {\n \"$ref\": \"#/components/schemas/IShoppingOrder.ICreate\"\n }\n}\n```",
|
|
1399
1333
|
type: "string"
|
|
1400
1334
|
}
|
|
@@ -1409,12 +1343,10 @@ const collection = {
|
|
|
1409
1343
|
type: "object",
|
|
1410
1344
|
properties: {
|
|
1411
1345
|
description: {
|
|
1412
|
-
title: "Description about the response body",
|
|
1413
1346
|
description: "Description about the response body.\n\nMake short, concise and clear description about the response body.\n\n> MUST be written in English. Never use other languages.",
|
|
1414
1347
|
type: "string"
|
|
1415
1348
|
},
|
|
1416
1349
|
typeName: {
|
|
1417
|
-
title: "Response body's data type",
|
|
1418
1350
|
description: "Response body's data type.\n\nSpecifies the structure of the returned data (response body), that will\nbe transformed to {@link AutoBeOpenApi.IJsonSchema.IReference} type in the\n{@link AutoBeOpenApi.IComponents.schemas components section} as an\n{@link AutoBeOpenApi.IJsonSchema.IObject object} type.\n\nHere is the naming convention for the response body type:\n\n- `IEntityName`: Main entity with detailed information (e.g.,\n `IShoppingSale`)\n- `IEntityName.ISummary`: Simplified response version with essential\n properties\n- `IEntityName.IInvert`: Alternative view of an entity from a different\n perspective\n- `IPageIEntityName`: Paginated results container with `pagination` and\n `data` properties\n\nWhat you write:\n\n```json\n{\n \"typeName\": \"IShoppingOrder\"\n}\n```\n\nTransformed to:\n\n```json\n{\n \"schema\": {\n \"$ref\": \"#/components/schemas/IShoppingOrder\"\n }\n}\n```",
|
|
1419
1351
|
type: "string"
|
|
1420
1352
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrateInterfaceOperations.js","sourceRoot":"","sources":["../../../src/orchestrate/interface/orchestrateInterfaceOperations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,wEAkCC;;AAhDD,yCAAoE;AAGpE,+BAAkD;AAClD,kDAA0B;AAI1B,uEAAoE;AACpE,yDAAsD;AACtD,iEAA8D;AAC9D,2EAAwE;AACxE,+EAA4E;AAE5E,SAAsB,8BAA8B;yDAGlD,GAAyB,EACzB,SAAoC,EACpC,WAAmB,EAAE;QAErB,MAAM,MAAM,GAAgC,IAAA,yBAAW,EAAC;YACtD,KAAK,EAAE,SAAS;YAChB,QAAQ;SACT,CAAC,CAAC;QACH,IAAI,SAAS,GAAW,CAAC,CAAC;QAC1B,MAAM,UAAU,GAAiC,MAAM,OAAO,CAAC,GAAG,CAChE,MAAM,CAAC,GAAG,CAAC,CAAO,EAAE,EAAE,EAAE;;YACtB,MAAM,GAAG,GAA+B,MAAM,gBAAgB,CAC5D,GAAG,EACH,EAAE,EACF,CAAC,EACD,CAAC,KAAK,EAAE,EAAE;gBACR,SAAS,IAAI,KAAK,CAAC;YACrB,CAAC,CACF,CAAC;YACF,GAAG,CAAC,QAAQ,CAAC;gBACX,IAAI,EAAE,qBAAqB;gBAC3B,UAAU,EAAE,GAAG;gBACf,SAAS;gBACT,KAAK,EAAE,SAAS,CAAC,MAAM;gBACvB,IAAI,EAAE,MAAA,MAAA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AAK,EAAE,EAAE,CAAC,WAAW;iBACtB,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;QACH,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;YACrB,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,MAAM;gBACN,IAAI,EAAE,IAAI;aACX,CAAC;QACJ,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;IACF,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,WAAW;QACjB,WAAW;QACX,OAAO,EAAE;YACP,cAAc,EAAE,CAAC,IAAI,EAAE,EAAE;gBACvB,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC/B,CAAC;SACqB;KACzB,CAAC;AACJ,CAAC;AAED,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"orchestrateInterfaceOperations.js","sourceRoot":"","sources":["../../../src/orchestrate/interface/orchestrateInterfaceOperations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,wEAkCC;;AAhDD,yCAAoE;AAGpE,+BAAkD;AAClD,kDAA0B;AAI1B,uEAAoE;AACpE,yDAAsD;AACtD,iEAA8D;AAC9D,2EAAwE;AACxE,+EAA4E;AAE5E,SAAsB,8BAA8B;yDAGlD,GAAyB,EACzB,SAAoC,EACpC,WAAmB,EAAE;QAErB,MAAM,MAAM,GAAgC,IAAA,yBAAW,EAAC;YACtD,KAAK,EAAE,SAAS;YAChB,QAAQ;SACT,CAAC,CAAC;QACH,IAAI,SAAS,GAAW,CAAC,CAAC;QAC1B,MAAM,UAAU,GAAiC,MAAM,OAAO,CAAC,GAAG,CAChE,MAAM,CAAC,GAAG,CAAC,CAAO,EAAE,EAAE,EAAE;;YACtB,MAAM,GAAG,GAA+B,MAAM,gBAAgB,CAC5D,GAAG,EACH,EAAE,EACF,CAAC,EACD,CAAC,KAAK,EAAE,EAAE;gBACR,SAAS,IAAI,KAAK,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIT,CAAC;AACJ,MAAM,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIJ;IACH,MAAM;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;CACd,CAAC"}
|
|
@@ -127,7 +127,6 @@ const claude = {
|
|
|
127
127
|
type: "object",
|
|
128
128
|
properties: {
|
|
129
129
|
components: {
|
|
130
|
-
title: "Maps Prisma schema filenames to their contained database tables",
|
|
131
130
|
description: "Maps Prisma schema filenames to their contained database tables.\n\n**Structure:**\n\n- Key: Prisma schema filename with .prisma extension\n- Value: Array of table names defined in that file\n\n**Example:**\n\n```typescript\n{\n {\n filename: \"schema-01-users.prisma\",\n tables: [\"user\", \"admin\", \"moderator\", \"user_profile\", \"user_settings\"]\n },\n {\n filename: \"schema-02-articles.prisma\",\n tables: [\"article\", \"article_snapshot\"]\n },\n {\n filename: \"schema-03-comments.prisma\",\n tables: [\"comment\", \"comment_like\"]\n }\n}\n```\n\n**Notes:**\n\n- Table names must match exact Prisma model names (case-sensitive)\n- Keep mapping synchronized with actual schema files\n- Use consistent naming convention for files",
|
|
132
131
|
type: "array",
|
|
133
132
|
items: {
|
|
@@ -144,13 +143,11 @@ const claude = {
|
|
|
144
143
|
type: "object",
|
|
145
144
|
properties: {
|
|
146
145
|
filename: {
|
|
147
|
-
title: "Filename of the Prisma schema file",
|
|
148
146
|
description: "Filename of the Prisma schema file.",
|
|
149
147
|
type: "string",
|
|
150
148
|
pattern: "^[a-zA-Z0-9._-]+\\.prisma$"
|
|
151
149
|
},
|
|
152
150
|
tables: {
|
|
153
|
-
title: "List of table names that would be stored in the file",
|
|
154
151
|
description: "List of table names that would be stored in the file.",
|
|
155
152
|
type: "array",
|
|
156
153
|
items: {
|
|
@@ -254,7 +251,6 @@ const collection = {
|
|
|
254
251
|
type: "object",
|
|
255
252
|
properties: {
|
|
256
253
|
components: {
|
|
257
|
-
title: "Maps Prisma schema filenames to their contained database tables",
|
|
258
254
|
description: "Maps Prisma schema filenames to their contained database tables.\n\n**Structure:**\n\n- Key: Prisma schema filename with .prisma extension\n- Value: Array of table names defined in that file\n\n**Example:**\n\n```typescript\n{\n {\n filename: \"schema-01-users.prisma\",\n tables: [\"user\", \"admin\", \"moderator\", \"user_profile\", \"user_settings\"]\n },\n {\n filename: \"schema-02-articles.prisma\",\n tables: [\"article\", \"article_snapshot\"]\n },\n {\n filename: \"schema-03-comments.prisma\",\n tables: [\"comment\", \"comment_like\"]\n }\n}\n```\n\n**Notes:**\n\n- Table names must match exact Prisma model names (case-sensitive)\n- Keep mapping synchronized with actual schema files\n- Use consistent naming convention for files",
|
|
259
255
|
type: "array",
|
|
260
256
|
items: {
|
|
@@ -271,12 +267,10 @@ const collection = {
|
|
|
271
267
|
type: "object",
|
|
272
268
|
properties: {
|
|
273
269
|
filename: {
|
|
274
|
-
title: "Filename of the Prisma schema file",
|
|
275
270
|
description: "Filename of the Prisma schema file.\n\n\n@pattern ^[a-zA-Z0-9._-]+\\.prisma$",
|
|
276
271
|
type: "string"
|
|
277
272
|
},
|
|
278
273
|
tables: {
|
|
279
|
-
title: "List of table names that would be stored in the file",
|
|
280
274
|
description: "List of table names that would be stored in the file.",
|
|
281
275
|
type: "array",
|
|
282
276
|
items: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestratePrismaComponent.js","sourceRoot":"","sources":["../../../src/orchestrate/prisma/orchestratePrismaComponent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,kEA0DC;;AA3ED,yCAKwB;AAKxB,kDAAoC;AACpC,+BAA0B;AAG1B,uEAAoE;AACpE,6FAA0F;AAE1F,SAAsB,2BAA2B;yDAG/C,GAAyB,EACzB,UAAkB,2DAA2D;;QAE7E,MAAM,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;QAC/B,MAAM,OAAO,GAA6C;YACxD,KAAK,EAAE,IAAI;SACZ,CAAC;QAEF,MAAM,MAAM,GAAG,MAAA,MAAA,GAAG,CAAC,KAAK,EAAE,CAAC,OAAO,0CAAE,MAAM,mCAAI,IAAI,CAAC;QAEnD,MAAM,QAAQ,GAAyB,IAAI,oBAAa,CAAC;YACvD,KAAK,EAAE,GAAG,CAAC,KAAK;YAChB,MAAM,EAAE,GAAG,CAAC,MAAM;YAClB,MAAM,kCACD,CAAC,MAAA,GAAG,CAAC,MAAM,mCAAI,EAAE,CAAC,KACrB,QAAQ,EAAE;oBACR,QAAQ,EAAE,IAAI;iBACf,GACF;YAC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E,OAAO,CAAC,KAAK,CAAC,UAAU;YACpC,IAAI,EAAE,MAAA,MAAA,GAAG,CAAC,KAAK,EAAE,CAAC,OAAO,0CAAE,IAAI,mCAAI,CAAC;SACrC,CAAC;IACJ,CAAC;CAAA;AAED,SAAS,iBAAiB,CAAiC,KAG1D;IACC,IAAA,qCAAiB,EAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAE/B,MAAM,WAAW,GAA2B,UAAU,CACpD,KAAK,CAAC,KAAK,CACyB,CAAC;IACvC,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,iCAAiC;QACvC,WAAW;QACX,OAAO,EAAE;YACP,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE;gBAC1B,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACpB,CAAC;SACqB;KACzB,CAAC;AACJ,CAAC;AAED,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"orchestratePrismaComponent.js","sourceRoot":"","sources":["../../../src/orchestrate/prisma/orchestratePrismaComponent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,kEA0DC;;AA3ED,yCAKwB;AAKxB,kDAAoC;AACpC,+BAA0B;AAG1B,uEAAoE;AACpE,6FAA0F;AAE1F,SAAsB,2BAA2B;yDAG/C,GAAyB,EACzB,UAAkB,2DAA2D;;QAE7E,MAAM,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;QAC/B,MAAM,OAAO,GAA6C;YACxD,KAAK,EAAE,IAAI;SACZ,CAAC;QAEF,MAAM,MAAM,GAAG,MAAA,MAAA,GAAG,CAAC,KAAK,EAAE,CAAC,OAAO,0CAAE,MAAM,mCAAI,IAAI,CAAC;QAEnD,MAAM,QAAQ,GAAyB,IAAI,oBAAa,CAAC;YACvD,KAAK,EAAE,GAAG,CAAC,KAAK;YAChB,MAAM,EAAE,GAAG,CAAC,MAAM;YAClB,MAAM,kCACD,CAAC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