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

Factor out the common definitions of the content repo APIs and add new formats #1822

Merged
merged 4 commits into from
May 28, 2024

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented May 14, 2024

Prerequisite for #1758.

I believe I factored out all common parameters that allow to reduce the number of lines in the file.

The two new formats show up like this:

image

image

Preview: https://pr1822--matrix-spec-previews.netlify.app

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh requested a review from a team as a code owner May 14, 2024 13:01
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

Thanks!

Comment on lines -59 to +46
format: uri
format: mx-mxc-uri
pattern: "^mxc:\\/\\/"
Copy link
Member

Choose a reason for hiding this comment

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

it would probably be good to keep changes like this separate from the refactoring, in future.

@richvdh richvdh merged commit 3674985 into matrix-org:main May 28, 2024
12 checks passed
@zecakeh zecakeh deleted the refactor-content-repo branch May 28, 2024 14:39
@zecakeh zecakeh mentioned this pull request Jun 7, 2024
53 tasks
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.

2 participants