Skip to content

dependabit / manifest/src / DependencyEntrySchema

Variable: DependencyEntrySchema

ts
const DependencyEntrySchema: ZodObject<{
  accessMethod: ZodEnum<{
     arxiv: "arxiv";
     context7: "context7";
     github-api: "github-api";
     http: "http";
     openapi: "openapi";
  }>;
  auth: ZodOptional<ZodObject<{
     secretEnvVar: ZodOptional<ZodString>;
     type: ZodEnum<{
        basic: "basic";
        none: "none";
        oauth: "oauth";
        token: "token";
     }>;
  }, $strip>>;
  changeHistory: ZodDefault<ZodArray<ZodObject<{
     detectedAt: ZodString;
     falsePositive: ZodDefault<ZodBoolean>;
     issueNumber: ZodOptional<ZodNumber>;
     newVersion: ZodOptional<ZodString>;
     oldVersion: ZodOptional<ZodString>;
     severity: ZodEnum<{
        breaking: "breaking";
        major: "major";
        minor: "minor";
     }>;
  }, $strip>>>;
  currentStateHash: ZodString;
  currentVersion: ZodOptional<ZodString>;
  description: ZodOptional<ZodString>;
  detectedAt: ZodString;
  detectionConfidence: ZodNumber;
  detectionMethod: ZodEnum<{
     code-comment: "code-comment";
     llm-analysis: "llm-analysis";
     manual: "manual";
     package-json: "package-json";
     requirements-txt: "requirements-txt";
  }>;
  id: ZodString;
  lastChanged: ZodOptional<ZodString>;
  lastChecked: ZodString;
  monitoring: ZodOptional<ZodObject<{
     checkFrequency: ZodDefault<ZodEnum<{
        daily: "daily";
        hourly: "hourly";
        monthly: "monthly";
        weekly: "weekly";
     }>>;
     enabled: ZodDefault<ZodBoolean>;
     ignoreChanges: ZodDefault<ZodBoolean>;
     severityOverride: ZodOptional<ZodEnum<{
        breaking: "breaking";
        major: "major";
        minor: "minor";
     }>>;
  }, $strip>>;
  name: ZodString;
  referencedIn: ZodArray<ZodObject<{
     context: ZodOptional<ZodString>;
     file: ZodString;
     line: ZodOptional<ZodNumber>;
  }, $strip>>;
  type: ZodEnum<{
     api-example: "api-example";
     documentation: "documentation";
     other: "other";
     reference-implementation: "reference-implementation";
     research-paper: "research-paper";
     schema: "schema";
  }>;
  url: ZodString;
}, $strip>;

Defined in: packages/manifest/src/schema.ts:80

Released under the MIT License.