@autobe/agent 0.30.4 → 0.30.5
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 +5 -4
- package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
- package/lib/describe/image/orchestrateImageDescribeDraft.js +6 -6
- package/lib/describe/image/structures/IAutoBeImageDescribeDraftApplication.d.ts +12 -63
- package/lib/index.mjs +2918 -2842
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeExtractDecisions.js +8 -8
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js +36 -37
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenarioReview.js +7 -7
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js +55 -42
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js +67 -54
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionReview.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js +24 -25
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSection.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js +24 -25
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteSectionPatch.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js +30 -31
- package/lib/orchestrate/analyze/orchestrateAnalyzeWriteUnit.js.map +1 -1
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.d.ts +14 -52
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +23 -96
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.d.ts +12 -40
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.d.ts +30 -88
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.d.ts +35 -94
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.d.ts +23 -93
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.d.ts +15 -88
- package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js +76 -31
- package/lib/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.js.map +1 -1
- package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js +7 -7
- package/lib/orchestrate/common/structures/IAnalysisSectionEntry.d.ts +2 -8
- package/lib/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.d.ts +8 -50
- package/lib/orchestrate/common/structures/IAutoBePreliminaryCollection.d.ts +1 -9
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.d.ts +4 -23
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.d.ts +3 -21
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.d.ts +4 -22
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.d.ts +4 -22
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.d.ts +5 -17
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.d.ts +7 -76
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.d.ts +6 -89
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.d.ts +7 -93
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.d.ts +3 -22
- package/lib/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.d.ts +3 -22
- package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js +114 -139
- package/lib/orchestrate/interface/orchestrateInterfaceAuthorization.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js +90 -91
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointReview.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js +58 -59
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointWrite.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceGroup.js +58 -59
- package/lib/orchestrate/interface/orchestrateInterfaceGroup.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperation.js +108 -132
- package/lib/orchestrate/interface/orchestrateInterfaceOperation.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperationReview.js +72 -72
- package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js +76 -77
- package/lib/orchestrate/interface/orchestrateInterfacePrerequisite.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js +130 -159
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaCasting.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js +126 -155
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaComplement.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js +114 -142
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js +5 -5
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js +100 -129
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js +120 -149
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaWrite.js.map +1 -1
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.d.ts +10 -97
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.d.ts +14 -83
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.d.ts +12 -90
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +12 -80
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +21 -116
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.d.ts +24 -112
- package/lib/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.d.ts +11 -83
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +11 -76
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.d.ts +18 -96
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.d.ts +11 -76
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.d.ts +25 -107
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.d.ts +5 -31
- package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.d.ts +6 -42
- package/lib/orchestrate/prisma/orchestratePrismaAuthorization.js +41 -41
- package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js +62 -63
- package/lib/orchestrate/prisma/orchestratePrismaAuthorizationReview.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaComponent.js +40 -41
- package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js +60 -61
- package/lib/orchestrate/prisma/orchestratePrismaComponentReview.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +112 -116
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaGroup.js +48 -49
- package/lib/orchestrate/prisma/orchestratePrismaGroup.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js +70 -71
- package/lib/orchestrate/prisma/orchestratePrismaGroupReview.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaSchema.js +118 -122
- package/lib/orchestrate/prisma/orchestratePrismaSchema.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js +126 -131
- package/lib/orchestrate/prisma/orchestratePrismaSchemaReview.js.map +1 -1
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.d.ts +22 -99
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.d.ts +12 -109
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.d.ts +14 -100
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.d.ts +15 -108
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.d.ts +24 -106
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.d.ts +13 -76
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.d.ts +13 -111
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.d.ts +26 -97
- package/lib/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.d.ts +16 -93
- package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeOperationCorrectHistory.js.map +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeOperationWriteHistory.js.map +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js +20 -2
- package/lib/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.js.map +1 -1
- package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js +22 -2
- package/lib/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.js.map +1 -1
- package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectCasting.js +7 -7
- package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js +86 -6
- package/lib/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js +38 -38
- package/lib/orchestrate/realize/orchestrateRealizeAuthorizationWrite.js +34 -34
- package/lib/orchestrate/realize/orchestrateRealizeCollectorCorrectOverall.js +38 -38
- package/lib/orchestrate/realize/orchestrateRealizeCollectorPlan.js +54 -54
- package/lib/orchestrate/realize/orchestrateRealizeCollectorWrite.js +36 -36
- package/lib/orchestrate/realize/orchestrateRealizeOperationCorrectOverall.js +44 -44
- package/lib/orchestrate/realize/orchestrateRealizeOperationWrite.js +42 -42
- package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js +1 -0
- package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeTransformerCorrectOverall.js +46 -46
- package/lib/orchestrate/realize/orchestrateRealizeTransformerPlan.js +36 -36
- package/lib/orchestrate/realize/orchestrateRealizeTransformerWrite.js +44 -44
- package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.d.ts +18 -0
- package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js +167 -8
- package/lib/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.js.map +1 -1
- package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +17 -71
- package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.d.ts +32 -92
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.d.ts +32 -114
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.d.ts +29 -106
- package/lib/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.d.ts +38 -131
- package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.d.ts +16 -71
- package/lib/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.d.ts +16 -73
- package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.d.ts +37 -155
- package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.d.ts +25 -88
- package/lib/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.d.ts +48 -181
- package/lib/orchestrate/realize/utils/generateTS2339Hints.d.ts +5 -3
- package/lib/orchestrate/realize/utils/generateTS2339Hints.js +37 -19
- package/lib/orchestrate/realize/utils/generateTS2339Hints.js.map +1 -1
- package/lib/orchestrate/test/histories/transformTestOperationWriteHistory.js +2 -2
- package/lib/orchestrate/test/orchestrateTestScenario.js +22 -22
- package/lib/orchestrate/test/orchestrateTestScenarioReview.js +22 -22
- package/package.json +5 -5
- package/src/constants/AutoBeSystemPromptConstant.ts +5 -4
- package/src/describe/image/structures/IAutoBeImageDescribeDraftApplication.ts +12 -63
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.ts +14 -52
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +23 -96
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioReviewApplication.ts +12 -40
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionCrossFileReviewApplication.ts +30 -88
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeSectionReviewApplication.ts +35 -94
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteSectionApplication.ts +23 -93
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteUnitApplication.ts +15 -88
- package/src/orchestrate/common/histories/transformPreviousAndLatestCorrectHistory.ts +92 -31
- package/src/orchestrate/common/structures/IAnalysisSectionEntry.ts +2 -8
- package/src/orchestrate/common/structures/IAutoBeCommonCorrectCastingApplication.ts +8 -50
- package/src/orchestrate/common/structures/IAutoBePreliminaryCollection.ts +1 -9
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetAnalysisSections.ts +4 -23
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetDatabaseSchemas.ts +3 -21
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceOperations.ts +4 -22
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetInterfaceSchemas.ts +4 -22
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousAnalysisSections.ts +5 -17
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas.ts +7 -76
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations.ts +6 -89
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetPreviousInterfaceSchemas.ts +7 -93
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeCollectors.ts +3 -22
- package/src/orchestrate/common/structures/IAutoBePreliminaryGetRealizeTransformers.ts +3 -22
- package/src/orchestrate/interface/structures/IAutoBeInterfaceAuthorizationApplication.ts +10 -97
- package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointReviewApplication.ts +14 -83
- package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointWriteApplication.ts +12 -90
- package/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.ts +12 -80
- package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +21 -116
- package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationReviewApplication.ts +24 -112
- package/src/orchestrate/interface/structures/IAutoBeInterfacePrerequisiteApplication.ts +11 -83
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.ts +11 -76
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaCastingApplication.ts +18 -96
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaComplementApplication.ts +11 -76
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRefineApplication.ts +25 -107
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaRenameApplication.ts +5 -31
- package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaReviewApplication.ts +6 -42
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationApplication.ts +22 -99
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseAuthorizationReviewApplication.ts +12 -109
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentApplication.ts +14 -100
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseComponentReviewApplication.ts +15 -108
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseCorrectApplication.ts +24 -106
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupApplication.ts +13 -76
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseGroupReviewApplication.ts +13 -111
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaApplication.ts +26 -97
- package/src/orchestrate/prisma/structures/IAutoBeDatabaseSchemaReviewApplication.ts +16 -93
- package/src/orchestrate/realize/histories/transformRealizeTransformerCorrectHistory.ts +21 -1
- package/src/orchestrate/realize/histories/transformRealizeTransformerWriteHistory.ts +26 -4
- package/src/orchestrate/realize/internal/orchestrateRealizeCorrectOverall.ts +125 -9
- package/src/orchestrate/realize/orchestrateRealizeTransformerCorrectCasting.ts +1 -0
- package/src/orchestrate/realize/programmers/AutoBeRealizeTransformerProgrammer.ts +210 -7
- package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.ts +17 -71
- package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationWriteApplication.ts +32 -92
- package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorCorrectApplication.ts +32 -114
- package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorPlanApplication.ts +29 -106
- package/src/orchestrate/realize/structures/IAutoBeRealizeCollectorWriteApplication.ts +38 -131
- package/src/orchestrate/realize/structures/IAutoBeRealizeOperationCorrectApplication.ts +16 -71
- package/src/orchestrate/realize/structures/IAutoBeRealizeOperationWriteApplication.ts +16 -73
- package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerCorrectApplication.ts +37 -155
- package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerPlanApplication.ts +25 -88
- package/src/orchestrate/realize/structures/IAutoBeRealizeTransformerWriteApplication.ts +48 -181
- package/src/orchestrate/realize/utils/generateTS2339Hints.ts +39 -19
|
@@ -1,31 +1,12 @@
|
|
|
1
1
|
import { tags } from "typia";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Request to retrieve Realize Transformer function definitions for context.
|
|
5
|
-
*
|
|
6
|
-
* This type is used in the preliminary phase to request specific transformer
|
|
7
|
-
* functions generated during the REALIZE_TRANSFORMER_WRITE phase. Transformers
|
|
8
|
-
* convert database query results into API response DTOs.
|
|
9
|
-
*
|
|
10
|
-
* @author Samchon
|
|
11
|
-
*/
|
|
3
|
+
/** Request to retrieve Realize Transformer function definitions for context. */
|
|
12
4
|
export interface IAutoBePreliminaryGetRealizeTransformers {
|
|
13
|
-
/**
|
|
14
|
-
* Type discriminator for the request.
|
|
15
|
-
*
|
|
16
|
-
* Determines which action to perform: preliminary data retrieval or actual
|
|
17
|
-
* task execution. Value "getRealizeTransformers" indicates this is a
|
|
18
|
-
* preliminary data request for transformer functions.
|
|
19
|
-
*/
|
|
5
|
+
/** Type discriminator. */
|
|
20
6
|
type: "getRealizeTransformers";
|
|
21
7
|
|
|
22
8
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* DTO type names for response DTOs that have transformer functions (e.g.,
|
|
26
|
-
* "IShoppingSale", "IBbsArticle", "IShoppingSale.ISummary").
|
|
27
|
-
*
|
|
28
|
-
* CRITICAL: DO NOT request the same type names that you have already
|
|
9
|
+
* Transformer DTO type names to retrieve. DO NOT request same names already
|
|
29
10
|
* requested in previous calls.
|
|
30
11
|
*/
|
|
31
12
|
dtoTypeNames: string[] & tags.MinItems<1>;
|
|
@@ -7,53 +7,21 @@ import { IAutoBePreliminaryGetPreviousAnalysisSections } from "../../common/stru
|
|
|
7
7
|
import { IAutoBePreliminaryGetPreviousDatabaseSchemas } from "../../common/structures/IAutoBePreliminaryGetPreviousDatabaseSchemas";
|
|
8
8
|
|
|
9
9
|
export interface IAutoBeInterfaceAuthorizationApplication {
|
|
10
|
-
/**
|
|
11
|
-
* Process authorization operations generation task or preliminary data
|
|
12
|
-
* requests.
|
|
13
|
-
*
|
|
14
|
-
* Generates authorization operations for the given roles and ensures the
|
|
15
|
-
* interface reflects correct permissions and access levels.
|
|
16
|
-
*
|
|
17
|
-
* @param props Request containing either preliminary data request or complete
|
|
18
|
-
* task
|
|
19
|
-
*/
|
|
10
|
+
/** Process task or retrieve preliminary data. */
|
|
20
11
|
process(props: IAutoBeInterfaceAuthorizationApplication.IProps): void;
|
|
21
12
|
}
|
|
22
13
|
|
|
23
14
|
export namespace IAutoBeInterfaceAuthorizationApplication {
|
|
24
15
|
export interface IProps {
|
|
25
16
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* Before requesting preliminary data or completing your task, reflect on
|
|
29
|
-
* your current state and explain your reasoning:
|
|
30
|
-
*
|
|
31
|
-
* For preliminary requests (getAnalysisSections, getDatabaseSchemas, etc.):
|
|
32
|
-
*
|
|
33
|
-
* - What critical information is missing that you don't already have?
|
|
34
|
-
* - Why do you need it specifically right now?
|
|
35
|
-
* - Be brief - state the gap, don't list everything you have.
|
|
36
|
-
*
|
|
37
|
-
* For completion (complete):
|
|
38
|
-
*
|
|
39
|
-
* - What key assets did you acquire?
|
|
40
|
-
* - What did you accomplish?
|
|
41
|
-
* - Why is it sufficient to complete?
|
|
42
|
-
* - Summarize - don't enumerate every single item.
|
|
43
|
-
*
|
|
44
|
-
* This reflection helps you avoid duplicate requests and premature
|
|
45
|
-
* completion.
|
|
17
|
+
* Reasoning about your current state: what's missing (preliminary) or what
|
|
18
|
+
* you accomplished (completion).
|
|
46
19
|
*/
|
|
47
20
|
thinking: string;
|
|
48
21
|
|
|
49
22
|
/**
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* Determines which action to perform: preliminary data retrieval
|
|
53
|
-
* (getAnalysisSections, getPreviousAnalysisSections, getDatabaseSchemas,
|
|
54
|
-
* getPreviousDatabaseSchemas) or final authorization operations generation
|
|
55
|
-
* (complete). When preliminary returns empty array, that type is removed
|
|
56
|
-
* from the union, physically preventing repeated calls.
|
|
23
|
+
* Action to perform. Exhausted preliminary types are removed from the
|
|
24
|
+
* union.
|
|
57
25
|
*/
|
|
58
26
|
request:
|
|
59
27
|
| IComplete
|
|
@@ -63,73 +31,18 @@ export namespace IAutoBeInterfaceAuthorizationApplication {
|
|
|
63
31
|
| IAutoBePreliminaryGetPreviousDatabaseSchemas;
|
|
64
32
|
}
|
|
65
33
|
|
|
66
|
-
/**
|
|
67
|
-
* Request to generate authorization operations.
|
|
68
|
-
*
|
|
69
|
-
* Executes authorization operations generation to define the authorization
|
|
70
|
-
* requirements for the given roles. Ensures operations reflect correct
|
|
71
|
-
* permissions and access levels for each role.
|
|
72
|
-
*/
|
|
34
|
+
/** Request to generate authorization operations. */
|
|
73
35
|
export interface IComplete {
|
|
74
|
-
/**
|
|
75
|
-
* Type discriminator for the request.
|
|
76
|
-
*
|
|
77
|
-
* Determines which action to perform: preliminary data retrieval or actual
|
|
78
|
-
* task execution. Value "complete" indicates this is the final task
|
|
79
|
-
* execution request.
|
|
80
|
-
*/
|
|
36
|
+
/** Type discriminator for completion request. */
|
|
81
37
|
type: "complete";
|
|
82
38
|
|
|
83
|
-
/**
|
|
84
|
-
* Analysis of the actor's authentication requirements and schema context.
|
|
85
|
-
*
|
|
86
|
-
* Documents the agent's understanding of the actor type
|
|
87
|
-
* (guest/member/admin), what authentication fields exist in the database
|
|
88
|
-
* schema, what additional authentication features are supported by the
|
|
89
|
-
* schema, and what operations are appropriate for this actor kind.
|
|
90
|
-
*/
|
|
39
|
+
/** Analysis of the actor's authentication requirements and schema context. */
|
|
91
40
|
analysis: string;
|
|
92
41
|
|
|
93
|
-
/**
|
|
94
|
-
* Rationale for the authorization operation design decisions.
|
|
95
|
-
*
|
|
96
|
-
* Explains why specific operations were included or excluded, how the actor
|
|
97
|
-
* kind influenced the essential operations selection (e.g., why guests
|
|
98
|
-
* don't have login), what schema fields enabled additional operations, and
|
|
99
|
-
* why certain authentication patterns were chosen.
|
|
100
|
-
*/
|
|
42
|
+
/** Rationale for authorization operation design decisions. */
|
|
101
43
|
rationale: string;
|
|
102
44
|
|
|
103
|
-
/**
|
|
104
|
-
* Array of API operations to generate authorization operation for.
|
|
105
|
-
*
|
|
106
|
-
* Each operation in this array must include:
|
|
107
|
-
*
|
|
108
|
-
* - Specification: Detailed API specification with clear purpose and
|
|
109
|
-
* functionality
|
|
110
|
-
* - Path: Resource-centric URL path (e.g., "/resources/{resourceId}")
|
|
111
|
-
* - Method: HTTP method (get, post, put, delete, patch)
|
|
112
|
-
* - Description: Extremely detailed multi-paragraph description referencing
|
|
113
|
-
* database schema comments
|
|
114
|
-
* - Summary: Concise one-sentence summary of the endpoint
|
|
115
|
-
* - Parameters: Array of all necessary parameters with descriptions and
|
|
116
|
-
* schema definitions
|
|
117
|
-
* - RequestBody: For POST/PUT/PATCH methods, with typeName referencing
|
|
118
|
-
* components.schemas
|
|
119
|
-
* - ResponseBody: With typeName referencing appropriate response type
|
|
120
|
-
*
|
|
121
|
-
* All operations must follow strict quality standards:
|
|
122
|
-
*
|
|
123
|
-
* 1. Detailed descriptions referencing database schema comments
|
|
124
|
-
* 2. Accurate parameter definitions matching path parameters
|
|
125
|
-
* 3. Appropriate request/response body type references
|
|
126
|
-
* 4. Consistent patterns for CRUD operations
|
|
127
|
-
*
|
|
128
|
-
* For list retrievals (typically PATCH), include pagination, search, and
|
|
129
|
-
* sorting. For detail retrieval (GET), return a single resource. For
|
|
130
|
-
* creation (POST), use .ICreate request body. For modification (PUT), use
|
|
131
|
-
* .IUpdate request body.
|
|
132
|
-
*/
|
|
45
|
+
/** Array of API operations to generate for authorization. */
|
|
133
46
|
operations: AutoBeOpenApi.IOperation[] & tags.MinItems<1>;
|
|
134
47
|
}
|
|
135
48
|
}
|
|
@@ -8,19 +8,8 @@ import { IAutoBePreliminaryGetPreviousInterfaceOperations } from "../../common/s
|
|
|
8
8
|
|
|
9
9
|
export interface IAutoBeInterfaceEndpointReviewApplication {
|
|
10
10
|
/**
|
|
11
|
-
* Process
|
|
12
|
-
*
|
|
13
|
-
* Reviews and validates generated endpoints to ensure they meet quality
|
|
14
|
-
* standards. The review process examines endpoint design, identifies issues
|
|
15
|
-
* such as duplicates or inconsistencies, and applies corrections through
|
|
16
|
-
* revision operations (keep, create, update, or erase).
|
|
17
|
-
*
|
|
18
|
-
* **Critical**: Every endpoint in the provided list MUST receive a revision
|
|
19
|
-
* decision. No omissions are allowed - use "keep" to explicitly approve
|
|
20
|
-
* endpoints that need no changes.
|
|
21
|
-
*
|
|
22
|
-
* @param props Request containing either preliminary data request or endpoint
|
|
23
|
-
* review completion
|
|
11
|
+
* Process task or retrieve preliminary data. Every endpoint MUST receive a
|
|
12
|
+
* revision decision.
|
|
24
13
|
*/
|
|
25
14
|
process(props: IAutoBeInterfaceEndpointReviewApplication.IProps): void;
|
|
26
15
|
}
|
|
@@ -28,38 +17,14 @@ export interface IAutoBeInterfaceEndpointReviewApplication {
|
|
|
28
17
|
export namespace IAutoBeInterfaceEndpointReviewApplication {
|
|
29
18
|
export interface IProps {
|
|
30
19
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* Before requesting preliminary data or completing your task, reflect on
|
|
34
|
-
* your current state and explain your reasoning:
|
|
35
|
-
*
|
|
36
|
-
* For preliminary requests (getAnalysisSections, getDatabaseSchemas, etc.):
|
|
37
|
-
*
|
|
38
|
-
* - What critical information is missing that you don't already have?
|
|
39
|
-
* - Why do you need it specifically right now?
|
|
40
|
-
* - Be brief - state the gap, don't list everything you have.
|
|
41
|
-
*
|
|
42
|
-
* For completion (complete):
|
|
43
|
-
*
|
|
44
|
-
* - What key assets did you acquire?
|
|
45
|
-
* - What did you accomplish?
|
|
46
|
-
* - Why is it sufficient to complete?
|
|
47
|
-
* - Summarize - don't enumerate every single item.
|
|
48
|
-
*
|
|
49
|
-
* This reflection helps you avoid duplicate requests and premature
|
|
50
|
-
* completion.
|
|
20
|
+
* Reasoning about your current state: what's missing (preliminary) or what
|
|
21
|
+
* you accomplished (completion).
|
|
51
22
|
*/
|
|
52
23
|
thinking: string;
|
|
53
24
|
|
|
54
25
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* Determines which action to perform: preliminary data retrieval
|
|
58
|
-
* (getAnalysisSections, getDatabaseSchemas, getPreviousAnalysisSections,
|
|
59
|
-
* getPreviousDatabaseSchemas, getPreviousInterfaceOperations) or completion
|
|
60
|
-
* of the review with all modifications (complete). When preliminary returns
|
|
61
|
-
* empty array, that type is removed from the union, physically preventing
|
|
62
|
-
* repeated calls.
|
|
26
|
+
* Action to perform. Exhausted preliminary types are removed from the
|
|
27
|
+
* union.
|
|
63
28
|
*/
|
|
64
29
|
request:
|
|
65
30
|
| IComplete
|
|
@@ -71,57 +36,23 @@ export namespace IAutoBeInterfaceEndpointReviewApplication {
|
|
|
71
36
|
}
|
|
72
37
|
|
|
73
38
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* Finalizes the review by submitting revision decisions for ALL endpoints.
|
|
77
|
-
* Every endpoint in the provided list must have exactly one revision:
|
|
78
|
-
*
|
|
79
|
-
* - **keep**: Approve endpoint as-is (explicitly confirm it's correct)
|
|
80
|
-
* - **create**: Add a new endpoint that was missing
|
|
81
|
-
* - **update**: Fix an incorrectly structured endpoint
|
|
82
|
-
* - **erase**: Remove an invalid or duplicate endpoint
|
|
83
|
-
*
|
|
84
|
-
* The revisions ensure the final API structure is consistent, free of
|
|
85
|
-
* duplicates, properly designed, and aligned with RESTful conventions.
|
|
39
|
+
* Complete endpoint review with revision decisions (keep/create/update/erase)
|
|
40
|
+
* for ALL endpoints.
|
|
86
41
|
*/
|
|
87
42
|
export interface IComplete {
|
|
88
|
-
/**
|
|
89
|
-
* Type discriminator for the request.
|
|
90
|
-
*
|
|
91
|
-
* Determines which action to perform: preliminary data retrieval or actual
|
|
92
|
-
* task execution. Value "complete" indicates this is the final task
|
|
93
|
-
* execution request.
|
|
94
|
-
*/
|
|
43
|
+
/** Type discriminator for completion request. */
|
|
95
44
|
type: "complete";
|
|
96
45
|
|
|
97
46
|
/**
|
|
98
|
-
* Summary of issues found and fixes applied
|
|
99
|
-
*
|
|
100
|
-
* Document all issues discovered during endpoint validation:
|
|
101
|
-
*
|
|
102
|
-
* - What duplicates, inconsistencies, or design issues were found?
|
|
103
|
-
* - What endpoints needed to be added, modified, or removed?
|
|
104
|
-
* - What patterns or conventions were violated?
|
|
105
|
-
*
|
|
106
|
-
* State "No issues found." if all endpoints pass review.
|
|
47
|
+
* Summary of issues found and fixes applied. State "No issues found." if
|
|
48
|
+
* all pass.
|
|
107
49
|
*/
|
|
108
50
|
review: string;
|
|
109
51
|
|
|
110
52
|
/**
|
|
111
|
-
* Revision decisions for ALL endpoints.
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
* list. No omissions allowed.
|
|
115
|
-
*
|
|
116
|
-
* - Use **keep** for endpoints that are correct (do NOT simply omit them)
|
|
117
|
-
* - Use **create** to add missing endpoints
|
|
118
|
-
* - Use **update** to fix incorrectly structured endpoints
|
|
119
|
-
* - Use **erase** to remove invalid or duplicate endpoints
|
|
120
|
-
*
|
|
121
|
-
* The endpoint field in keep, update, and erase must exactly match an
|
|
122
|
-
* endpoint from the provided list (path + method).
|
|
123
|
-
*
|
|
124
|
-
* @see AutoBeInterfaceEndpointRevise - Discriminated union of revision types
|
|
53
|
+
* Revision decisions for ALL endpoints. One revision per endpoint, no
|
|
54
|
+
* omissions. The endpoint field in keep/update/erase must exactly match a
|
|
55
|
+
* provided endpoint (path + method).
|
|
125
56
|
*/
|
|
126
57
|
revises: AutoBeInterfaceEndpointRevise[];
|
|
127
58
|
}
|
|
@@ -7,52 +7,21 @@ import { IAutoBePreliminaryGetPreviousDatabaseSchemas } from "../../common/struc
|
|
|
7
7
|
import { IAutoBePreliminaryGetPreviousInterfaceOperations } from "../../common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations";
|
|
8
8
|
|
|
9
9
|
export interface IAutoBeInterfaceEndpointWriteApplication {
|
|
10
|
-
/**
|
|
11
|
-
* Process endpoint generation task or preliminary data requests.
|
|
12
|
-
*
|
|
13
|
-
* Generates API endpoints based on requirements analysis and database
|
|
14
|
-
* schemas. Endpoints are created to fulfill business requirements while
|
|
15
|
-
* adhering to RESTful design principles and AutoBE conventions.
|
|
16
|
-
*
|
|
17
|
-
* @param props Request containing either preliminary data request or complete
|
|
18
|
-
* task
|
|
19
|
-
*/
|
|
10
|
+
/** Process task or retrieve preliminary data. */
|
|
20
11
|
process(props: IAutoBeInterfaceEndpointWriteApplication.IProps): void;
|
|
21
12
|
}
|
|
22
13
|
|
|
23
14
|
export namespace IAutoBeInterfaceEndpointWriteApplication {
|
|
24
15
|
export interface IProps {
|
|
25
16
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* Before requesting preliminary data or completing your task, reflect on
|
|
29
|
-
* your current state and explain your reasoning:
|
|
30
|
-
*
|
|
31
|
-
* For preliminary requests (getAnalysisSections, getDatabaseSchemas, etc.):
|
|
32
|
-
*
|
|
33
|
-
* - What critical information is missing that you don't already have?
|
|
34
|
-
* - Why do you need it specifically right now?
|
|
35
|
-
* - Be brief - state the gap, don't list everything you have.
|
|
36
|
-
*
|
|
37
|
-
* For completion (complete):
|
|
38
|
-
*
|
|
39
|
-
* - What key assets did you acquire?
|
|
40
|
-
* - What did you accomplish?
|
|
41
|
-
* - Why is it sufficient to complete?
|
|
42
|
-
* - Summarize - don't enumerate every single item.
|
|
43
|
-
*
|
|
44
|
-
* This reflection helps you avoid duplicate requests and premature
|
|
45
|
-
* completion.
|
|
17
|
+
* Reasoning about your current state: what's missing (preliminary) or what
|
|
18
|
+
* you accomplished (completion).
|
|
46
19
|
*/
|
|
47
20
|
thinking: string;
|
|
48
21
|
|
|
49
22
|
/**
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* Determines which action to perform: preliminary data retrieval
|
|
53
|
-
* (getAnalysisSections, getDatabaseSchemas) or final endpoint generation
|
|
54
|
-
* (complete). When preliminary returns empty array, that type is removed
|
|
55
|
-
* from the union, physically preventing repeated calls.
|
|
23
|
+
* Action to perform. Exhausted preliminary types are removed from the
|
|
24
|
+
* union.
|
|
56
25
|
*/
|
|
57
26
|
request:
|
|
58
27
|
| IComplete
|
|
@@ -63,70 +32,23 @@ export namespace IAutoBeInterfaceEndpointWriteApplication {
|
|
|
63
32
|
| IAutoBePreliminaryGetPreviousInterfaceOperations;
|
|
64
33
|
}
|
|
65
34
|
|
|
66
|
-
/**
|
|
67
|
-
* Request to complete endpoint generation.
|
|
68
|
-
*
|
|
69
|
-
* Finalizes the endpoint generation task by submitting all generated
|
|
70
|
-
* endpoints. Each endpoint is derived from requirements analysis and database
|
|
71
|
-
* schemas, designed to fulfill specific business needs while maintaining
|
|
72
|
-
* RESTful conventions and API design best practices.
|
|
73
|
-
*/
|
|
35
|
+
/** Request to complete endpoint generation. */
|
|
74
36
|
export interface IComplete {
|
|
75
|
-
/**
|
|
76
|
-
* Type discriminator for the request.
|
|
77
|
-
*
|
|
78
|
-
* Determines which action to perform: preliminary data retrieval or actual
|
|
79
|
-
* task execution. Value "complete" indicates this is the final task
|
|
80
|
-
* execution request.
|
|
81
|
-
*/
|
|
37
|
+
/** Type discriminator for completion request. */
|
|
82
38
|
type: "complete";
|
|
83
39
|
|
|
84
|
-
/**
|
|
85
|
-
* Analysis of the requirements and database schema for endpoint design.
|
|
86
|
-
*
|
|
87
|
-
* Before designing endpoints, analyze what you know:
|
|
88
|
-
*
|
|
89
|
-
* - What business requirements need API coverage?
|
|
90
|
-
* - What database entities and relationships inform endpoint structure?
|
|
91
|
-
* - What CRUD operations are needed for each entity?
|
|
92
|
-
* - What special operations beyond basic CRUD are required?
|
|
93
|
-
*/
|
|
40
|
+
/** Analysis of requirements and database schema for endpoint design. */
|
|
94
41
|
analysis: string;
|
|
95
42
|
|
|
96
|
-
/**
|
|
97
|
-
* Rationale for the endpoint design decisions.
|
|
98
|
-
*
|
|
99
|
-
* Explain why you designed endpoints this way:
|
|
100
|
-
*
|
|
101
|
-
* - Why did you choose these paths and methods?
|
|
102
|
-
* - How do endpoints map to requirements and entities?
|
|
103
|
-
* - What RESTful conventions did you follow?
|
|
104
|
-
* - What was excluded and why?
|
|
105
|
-
*/
|
|
43
|
+
/** Rationale for the endpoint design decisions. */
|
|
106
44
|
rationale: string;
|
|
107
45
|
|
|
108
46
|
/**
|
|
109
47
|
* Array of endpoint designs to generate.
|
|
110
48
|
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
* ## Path Structure
|
|
116
|
-
*
|
|
117
|
-
* - Must use hierarchical `/` structure (NOT camelCase concatenation)
|
|
118
|
-
* - Must start with `/`
|
|
119
|
-
* - Must NOT include domain prefixes (`/shopping/`, `/bbs/`)
|
|
120
|
-
* - Resource collection names should use plural form
|
|
121
|
-
*
|
|
122
|
-
* ## Common Validation Rules
|
|
123
|
-
*
|
|
124
|
-
* - Must NOT duplicate existing endpoints
|
|
125
|
-
* - HTTP methods must align with their semantic meanings
|
|
126
|
-
* - Path parameters must be clearly named (e.g., `{userId}`, `{productId}`)
|
|
127
|
-
* - Nested paths should reflect entity relationships
|
|
128
|
-
*
|
|
129
|
-
* @see AutoBeInterfaceEndpointDesign - Endpoint design type with description
|
|
49
|
+
* Path rules: hierarchical `/` structure, must start with `/`, no domain
|
|
50
|
+
* prefixes, plural resource names. No duplicate endpoints. Path parameters
|
|
51
|
+
* clearly named. Nested paths reflect entity relationships.
|
|
130
52
|
*/
|
|
131
53
|
designs: AutoBeInterfaceEndpointDesign[];
|
|
132
54
|
}
|
|
@@ -8,55 +8,21 @@ import { IAutoBePreliminaryGetPreviousDatabaseSchemas } from "../../common/struc
|
|
|
8
8
|
import { IAutoBePreliminaryGetPreviousInterfaceOperations } from "../../common/structures/IAutoBePreliminaryGetPreviousInterfaceOperations";
|
|
9
9
|
|
|
10
10
|
export interface IAutoBeInterfaceGroupApplication {
|
|
11
|
-
/**
|
|
12
|
-
* Process group generation task or preliminary data requests.
|
|
13
|
-
*
|
|
14
|
-
* Generate logical groups for organizing API endpoint creation based on
|
|
15
|
-
* database schema structure. Processes group generation with incremental
|
|
16
|
-
* context loading to ensure comprehensive organization.
|
|
17
|
-
*
|
|
18
|
-
* @param props Request containing either preliminary data request or complete
|
|
19
|
-
* task
|
|
20
|
-
*/
|
|
11
|
+
/** Process task or retrieve preliminary data. */
|
|
21
12
|
process(props: IAutoBeInterfaceGroupApplication.IProps): void;
|
|
22
13
|
}
|
|
23
14
|
|
|
24
15
|
export namespace IAutoBeInterfaceGroupApplication {
|
|
25
16
|
export interface IProps {
|
|
26
17
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* Before requesting preliminary data or completing your task, reflect on
|
|
30
|
-
* your current state and explain your reasoning:
|
|
31
|
-
*
|
|
32
|
-
* For preliminary requests (getAnalysisSections,
|
|
33
|
-
* getPreviousAnalysisSections, getDatabaseSchemas,
|
|
34
|
-
* getPreviousDatabaseSchemas):
|
|
35
|
-
*
|
|
36
|
-
* - What critical information is missing that you don't already have?
|
|
37
|
-
* - Why do you need it specifically right now?
|
|
38
|
-
* - Be brief - state the gap, don't list everything you have.
|
|
39
|
-
*
|
|
40
|
-
* For completion (complete):
|
|
41
|
-
*
|
|
42
|
-
* - What key assets did you acquire?
|
|
43
|
-
* - What did you accomplish?
|
|
44
|
-
* - Why is it sufficient to complete?
|
|
45
|
-
* - Summarize - don't enumerate every single item.
|
|
46
|
-
*
|
|
47
|
-
* This reflection helps you avoid duplicate requests and premature
|
|
48
|
-
* completion.
|
|
18
|
+
* Reasoning about your current state: what's missing (preliminary) or what
|
|
19
|
+
* you accomplished (completion).
|
|
49
20
|
*/
|
|
50
21
|
thinking: string;
|
|
51
22
|
|
|
52
23
|
/**
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* Determines which action to perform: preliminary data retrieval
|
|
56
|
-
* (getAnalysisSections, getPreviousAnalysisSections, getDatabaseSchemas,
|
|
57
|
-
* getPreviousDatabaseSchemas) or final group generation (complete). When
|
|
58
|
-
* preliminary returns empty array, that type is removed from the union,
|
|
59
|
-
* physically preventing repeated calls.
|
|
24
|
+
* Action to perform. Exhausted preliminary types are removed from the
|
|
25
|
+
* union.
|
|
60
26
|
*/
|
|
61
27
|
request:
|
|
62
28
|
| IComplete
|
|
@@ -67,55 +33,21 @@ export namespace IAutoBeInterfaceGroupApplication {
|
|
|
67
33
|
| IAutoBePreliminaryGetPreviousInterfaceOperations;
|
|
68
34
|
}
|
|
69
35
|
|
|
70
|
-
/**
|
|
71
|
-
* Request to generate API endpoint groups.
|
|
72
|
-
*
|
|
73
|
-
* Executes group generation to organize API endpoints based on database
|
|
74
|
-
* schema structure.
|
|
75
|
-
*/
|
|
36
|
+
/** Request to generate API endpoint groups. */
|
|
76
37
|
export interface IComplete {
|
|
77
|
-
/**
|
|
78
|
-
* Type discriminator for the request.
|
|
79
|
-
*
|
|
80
|
-
* Determines which action to perform: preliminary data retrieval or actual
|
|
81
|
-
* task execution. Value "complete" indicates this is the final task
|
|
82
|
-
* execution request.
|
|
83
|
-
*/
|
|
38
|
+
/** Type discriminator for completion request. */
|
|
84
39
|
type: "complete";
|
|
85
40
|
|
|
86
|
-
/**
|
|
87
|
-
* Analysis of the database schema structure and grouping needs.
|
|
88
|
-
*
|
|
89
|
-
* Before designing groups, analyze what you know:
|
|
90
|
-
*
|
|
91
|
-
* - What namespaces, prefixes, or organizational patterns exist in the DB?
|
|
92
|
-
* - Which entities naturally belong together based on table relationships?
|
|
93
|
-
* - What business domains or functional areas can be identified?
|
|
94
|
-
* - Are there existing interface operations that suggest grouping patterns?
|
|
95
|
-
*/
|
|
41
|
+
/** Analysis of the database schema structure and grouping needs. */
|
|
96
42
|
analysis: string;
|
|
97
43
|
|
|
98
|
-
/**
|
|
99
|
-
* Rationale for the group design decisions.
|
|
100
|
-
*
|
|
101
|
-
* Explain why you organized groups this way:
|
|
102
|
-
*
|
|
103
|
-
* - Why did you create each group?
|
|
104
|
-
* - What entities are included in each group and why?
|
|
105
|
-
* - How does this grouping reflect the database schema structure?
|
|
106
|
-
* - What coverage does this provide for all requirements?
|
|
107
|
-
*/
|
|
44
|
+
/** Rationale for the group design decisions. */
|
|
108
45
|
rationale: string;
|
|
109
46
|
|
|
110
47
|
/**
|
|
111
|
-
* Array of API endpoint groups
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
* structure, table prefixes) rather than arbitrary business domains. DO:
|
|
115
|
-
* Create new groups only when existing schema structure cannot adequately
|
|
116
|
-
* cover all requirements. DO: Organize groups around existing database
|
|
117
|
-
* schema structure. DO: Provide complete coverage of all entities and
|
|
118
|
-
* requirements without overlap.
|
|
48
|
+
* Array of API endpoint groups. Derive from database schema organization
|
|
49
|
+
* (namespaces, table prefixes), not arbitrary business domains. Provide
|
|
50
|
+
* complete coverage without overlap.
|
|
119
51
|
*/
|
|
120
52
|
groups: AutoBeInterfaceGroup[] & tags.MinItems<1>;
|
|
121
53
|
}
|