Work Counter - v1.1.0
    Preparing search index...

    Class RequirementAgents

    Index
    • Parameters

      • model: LanguageModel = TEXT_AI_MODEL
      • debug: boolean = false
      • OptionaloutputDirectory: string

      Returns RequirementAgents

    debug: boolean = false
    model: LanguageModel = TEXT_AI_MODEL
    outputDirectory?: string
    • Parameters

      • requirement: string
      • analyses: {
            backendEngineer?: {
                project: string;
                roles: string[];
                scopes: {
                    Design: boolean;
                    Desktop: boolean;
                    Mobile: boolean;
                    Prototype: boolean;
                    Service: boolean;
                };
                summary: string;
                tables: {
                    fields: string[];
                    kind: "base"
                    | "association"
                    | "view";
                    name: string;
                    operations: ("create" | "read" | "update" | "delete")[];
                    reason?: string;
                }[];
                [key: string]: unknown;
            };
            frontendEngineer?: {
                project: string;
                resources: {
                    attributes: string[];
                    name: string;
                    operations: ("create" | "read" | "update" | "delete")[];
                    reason?: string;
                }[];
                roles: string[];
                scopes: {
                    Design: boolean;
                    Desktop: boolean;
                    Mobile: boolean;
                    Prototype: boolean;
                    Service: boolean;
                };
                summary: string;
                [key: string]: unknown;
            };
            productManager?: {
                necessaryResources: { name: string; reason: string }[];
                project: string;
                roles: string[];
                scopes: {
                    Design: boolean;
                    Desktop: boolean;
                    Mobile: boolean;
                    Prototype: boolean;
                    Service: boolean;
                };
                summary: string;
                useCases: {
                    action: string;
                    kind: "direct"
                    | "state"
                    | "implicit";
                    operation: "create" | "read" | "update" | "delete";
                    resource: string;
                    roles: string[];
                }[];
                [key: string]: unknown;
            };
        }

      Returns Promise<RequirementAnalysis<EvaluationRawData>>

    • Parameters

      • requirement: string

      Returns Promise<
          RequirementAnalysis<
              {
                  project: string;
                  roles: string[];
                  scopes: {
                      Design: boolean;
                      Desktop: boolean;
                      Mobile: boolean;
                      Prototype: boolean;
                      Service: boolean;
                  };
                  summary: string;
                  tables: {
                      fields: string[];
                      kind: "base"
                      | "association"
                      | "view";
                      name: string;
                      operations: ("create" | "read" | "update" | "delete")[];
                      reason?: string;
                  }[];
                  [key: string]: unknown;
              },
          >,
      >

    • Parameters

      • requirement: string

      Returns Promise<
          RequirementAnalysis<
              {
                  project: string;
                  resources: {
                      attributes: string[];
                      name: string;
                      operations: ("create" | "read" | "update" | "delete")[];
                      reason?: string;
                  }[];
                  roles: string[];
                  scopes: {
                      Design: boolean;
                      Desktop: boolean;
                      Mobile: boolean;
                      Prototype: boolean;
                      Service: boolean;
                  };
                  summary: string;
                  [key: string]: unknown;
              },
          >,
      >

    • Parameters

      • requirement: string

      Returns Promise<
          RequirementAnalysis<
              {
                  necessaryResources: { name: string; reason: string }[];
                  project: string;
                  roles: string[];
                  scopes: {
                      Design: boolean;
                      Desktop: boolean;
                      Mobile: boolean;
                      Prototype: boolean;
                      Service: boolean;
                  };
                  summary: string;
                  useCases: {
                      action: string;
                      kind: "direct"
                      | "state"
                      | "implicit";
                      operation: "create" | "read" | "update" | "delete";
                      resource: string;
                      roles: string[];
                  }[];
                  [key: string]: unknown;
              },
          >,
      >