Skip to content

Commit

Permalink
Merge pull request #255 from lmstudio-ai/ryan/update-manifest-schema
Browse files Browse the repository at this point in the history
Update manifest schema
  • Loading branch information
yagil authored Mar 4, 2025
2 parents a69ca22 + a2ce42d commit d760fae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/lms-shared-types/src/ArtifactManifestBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface ArtifactManifestBase {
}
export const artifactManifestBaseSchema = z.object({
owner: kebabCaseSchema,
name: kebabCaseSchema,
description: z.string(),
name: kebabCaseSchema.min(1, "Name is required").max(100, "Name too long"),
description: z.string().max(1000, "Description too long"),
revision: z.number().int().optional(),
});

0 comments on commit d760fae

Please sign in to comment.