Skip to content

rune-langium / core/src / RepositoryExampleSourceSchema

Variable: RepositoryExampleSourceSchema ​

ts
const RepositoryExampleSourceSchema: ZodObject<{
  commit: ZodString;
  execution: ZodOptional<ZodObject<{
     descriptor: ZodRecord<ZodString, ZodUnknown>;
     descriptorPath: ZodString;
     role: ZodEnum<{
        input: "input";
        output: "output";
     }>;
  }, $strip>>;
  format: ZodEnum<{
     JSON: "JSON";
     RUNE_JSON: "RUNE_JSON";
  }>;
  model: ZodString;
  path: ZodString;
  release: ZodString;
  repository: ZodString;
  version: ZodOptional<ZodString>;
}, $strict>;

Defined in: packages/core/src/references/project-contract.ts:58

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.