Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mod dependencies #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add mod dependencies #37

wants to merge 1 commit into from

Conversation

john681611
Copy link
Collaborator

@john681611 john681611 commented Jan 19, 2025

#22

Not sure if we want to provide a duel format here.

  • Mod ID for Dropzone
  • Name and Link for external

Copy link

Deploying dcs-dropzone with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9a9f7d3
Status: ✅  Deploy successful!
Preview URL: https://2b397aa5.dcs-mod-manager-registry.pages.dev
Branch Preview URL: https://basic-depenecies.dcs-mod-manager-registry.pages.dev

View logs

@@ -34,6 +34,11 @@ export const indexDataSchema = z.object({
latest: z.coerce
.string()
.describe("The latest version of the mod to be pushed to the subscribers"),
dependencies:
z.array(z.coerce.string().regex(
/^[a-z0-9-]+$/,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Note] Not sure how we can validate that this ID is within our registry. We may not want to validate that as it could be a private registry item dependent on something public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant