AutoBE
    Preparing search index...

    Interface AutoBeInterfaceCompleteEvent

    Event fired when the Interface agent completes the RESTful API design process and generates the complete NestJS application.

    This event represents the successful completion of the sophisticated multi-stage transformation pipeline that converts validated AST structures into comprehensive API specifications and production-ready NestJS code. The completion marks the transition from API design to implementation-ready artifacts that maintain perfect alignment with business requirements and database schemas.

    The Interface agent's completion ensures that API designs are syntactically perfect and semantically aligned with business requirements, ready for immediate deployment or further customization in the development workflow.

    Samchon

    interface AutoBeInterfaceCompleteEvent {
        authorizations: AutoBeInterfaceAuthorization[];
        created_at: string & Format<"date-time">;
        document: IDocument;
        elapsed: number;
        id: string;
        step: number;
        type: "interfaceComplete";
    }

    Hierarchy

    • AutoBeEventBase<"interfaceComplete">
      • AutoBeInterfaceCompleteEvent
    Index

    Properties

    JWT-based authentication and authorization operations generated for each user role.

    Contains role-specific authentication API operations including essential flows (join, login, validate, changePassword, refresh) plus additional operations based on Prisma schema capabilities like email verification and password reset. These operations are generated by analyzing the database schema to determine which authentication features are supported for each role.

    created_at: string & Format<"date-time">

    Timestamp when the event was created.

    ISO 8601 formatted date-time string indicating when this event was emitted by the system. This timestamp is crucial for event ordering, performance analysis, and debugging the agent workflow execution timeline.

    Format: "YYYY-MM-DDTHH:mm:ss.sssZ" (e.g., "2024-01-15T14:30:45.123Z")

    document: IDocument

    The complete OpenAPI document containing the finalized API specification.

    Contains the validated AutoBeOpenApi.IDocument AST structure that defines all API endpoints, operations, schemas, and business logic. This document represents the culmination of the API design process, incorporating comprehensive business logic integration, type safety bridges with Prisma schemas, and security pattern validation.

    The document serves as the authoritative API specification that has been converted from the internal AST format to formal OpenAPI standards, ready for code generation and integration with the broader development ecosystem.

    elapsed: number

    Elapsed time in milliseconds for the entire API design process.

    Indicates the total time taken to complete the API design process from the start of requirements analysis through to the final API specification generation. This metric helps in understanding the efficiency of the API design phase and can be used for process improvement analysis.

    This elapsed time includes all stages of the API design process, from initial requirements gathering, through business logic integration, to the final generation of the OpenAPI document. It serves as a performance indicator for the Interface agent's design capabilities and the overall efficiency of the API design workflow.

    id: string

    A unique identifier for the event.

    step: number

    Iteration number of the requirements analysis this API design was completed for.

    Indicates which version of the requirements analysis this API design reflects. If this value is lower than the current AutoBeAnalyzeCompleteEvent.step, it means the API design may not reflect the latest requirements and could need regeneration.

    The step value ensures proper synchronization between API specifications and the underlying requirements, enabling stakeholders to understand the currency of the API design relative to evolving project requirements.

    type: "interfaceComplete"

    Unique identifier for the event type.

    A literal string that discriminates between different event types in the AutoBE system. This field enables TypeScript's discriminated union feature, allowing type-safe event handling through switch statements or conditional checks.

    Examples: "analyzeWrite", "prismaSchemas", "interfaceOperations", "testScenarios"