mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-08 03:39:20 +02:00
refactor(plugins): set settings properties as fields objects
This commit is contained in:
parent
8f8c61eaae
commit
cc6495dc7c
@ -35,8 +35,8 @@
|
||||
{
|
||||
"fileMatch": [
|
||||
"plugins/**/manifest.json",
|
||||
"tests/modules/Plugins/Mocks/manifests/*.json",
|
||||
"tests/modules/Plugins/Mocks/plugins/**/manifest.json"
|
||||
"tests/modules/Plugins/mocks/manifests/*.json",
|
||||
"tests/modules/Plugins/mocks/plugins/**/manifest.json"
|
||||
],
|
||||
"url": "/workspaces/castopod/modules/Plugins/Manifest/manifest.schema.json"
|
||||
}
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1338,8 +1337,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1338,8 +1337,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -7,8 +7,8 @@ process:
|
||||
|
||||
- [**`castopod/castopod`**](https://hub.docker.com/r/castopod/castopod): an all
|
||||
in one castopod image using nginx unit
|
||||
- [**`castopod/app`**](https://hub.docker.com/r/castopod/app): el
|
||||
paquet incloent Castopod i totes les dependències
|
||||
- [**`castopod/app`**](https://hub.docker.com/r/castopod/app): el paquet
|
||||
incloent Castopod i totes les dependències
|
||||
- [**`castopod/web-server`**](https://hub.docker.com/r/castopod/web-server): una
|
||||
configuració de Nginx per a Castopod
|
||||
|
||||
|
@ -167,8 +167,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1340,8 +1339,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -167,8 +167,7 @@ Veliko hvala ovim divnim ljudima
|
||||
([ključ emotikona](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1340,8 +1339,7 @@ Veliko hvala ovim divnim ljudima
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -166,8 +166,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1339,8 +1338,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -166,8 +166,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1339,8 +1338,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -173,8 +173,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1346,8 +1345,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1338,8 +1337,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1338,8 +1337,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -172,8 +172,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1345,8 +1344,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
@ -1401,16 +1399,21 @@ backers. If you'd like to help, please consider
|
||||
Copyright © 2020-present, [Ad Aures](https://adaures.com/).
|
||||
|
||||
[release]: https://code.castopod.org/adaures/castopod/-/releases
|
||||
[release-badge]: https://img.shields.io/gitlab/v/release/2?color=brightgreen&gitlab_url=https%3A%2F%2Fcode.castopod.org%2F&include_prereleases&label=release
|
||||
[release-badge]:
|
||||
https://img.shields.io/gitlab/v/release/2?color=brightgreen&gitlab_url=https%3A%2F%2Fcode.castopod.org%2F&include_prereleases&label=release
|
||||
[license]: https://code.castopod.org/adaures/castopod/-/blob/beta/LICENSE.md
|
||||
[license-badge]: https://img.shields.io/github/license/ad-aures/castopod?color=blue
|
||||
[license-badge]:
|
||||
https://img.shields.io/github/license/ad-aures/castopod?color=blue
|
||||
[contributions]: https://code.castopod.org/adaures/castopod/-/issues
|
||||
[contributions-badge]: https://img.shields.io/badge/contributions-welcome-brightgreen.svg
|
||||
[contributions-badge]:
|
||||
https://img.shields.io/badge/contributions-welcome-brightgreen.svg
|
||||
[semantic-release]: https://github.com/semantic-release/semantic-release
|
||||
[semantic-release-badge]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
|
||||
[semantic-release-badge]:
|
||||
https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
|
||||
[discord]: https://castopod.org/discord
|
||||
[discord-badge]: https://img.shields.io/badge/chat-on%20discord-7389D8
|
||||
[stars]: https://github.com/ad-aures/castopod/stargazers
|
||||
[stars-badge]: https://img.shields.io/github/stars/ad-aures/castopod?style=social
|
||||
[stars-badge]:
|
||||
https://img.shields.io/github/stars/ad-aures/castopod?style=social
|
||||
[crowdin]: https://translate.castopod.org/project/castopod
|
||||
[crowdin-badge]: https://badges.crowdin.net/castopod/localized.svg
|
||||
|
@ -172,8 +172,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1345,8 +1344,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
@ -1401,16 +1399,21 @@ backers. If you'd like to help, please consider
|
||||
Copyright © 2020-present, [Ad Aures](https://adaures.com/).
|
||||
|
||||
[release]: https://code.castopod.org/adaures/castopod/-/releases
|
||||
[release-badge]: https://img.shields.io/gitlab/v/release/2?color=brightgreen&gitlab_url=https%3A%2F%2Fcode.castopod.org%2F&include_prereleases&label=release
|
||||
[release-badge]:
|
||||
https://img.shields.io/gitlab/v/release/2?color=brightgreen&gitlab_url=https%3A%2F%2Fcode.castopod.org%2F&include_prereleases&label=release
|
||||
[license]: https://code.castopod.org/adaures/castopod/-/blob/beta/LICENSE.md
|
||||
[license-badge]: https://img.shields.io/github/license/ad-aures/castopod?color=blue
|
||||
[license-badge]:
|
||||
https://img.shields.io/github/license/ad-aures/castopod?color=blue
|
||||
[contributions]: https://code.castopod.org/adaures/castopod/-/issues
|
||||
[contributions-badge]: https://img.shields.io/badge/contributions-welcome-brightgreen.svg
|
||||
[contributions-badge]:
|
||||
https://img.shields.io/badge/contributions-welcome-brightgreen.svg
|
||||
[semantic-release]: https://github.com/semantic-release/semantic-release
|
||||
[semantic-release-badge]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
|
||||
[semantic-release-badge]:
|
||||
https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
|
||||
[discord]: https://castopod.org/discord
|
||||
[discord-badge]: https://img.shields.io/badge/chat-on%20discord-7389D8
|
||||
[stars]: https://github.com/ad-aures/castopod/stargazers
|
||||
[stars-badge]: https://img.shields.io/github/stars/ad-aures/castopod?style=social
|
||||
[stars-badge]:
|
||||
https://img.shields.io/github/stars/ad-aures/castopod?style=social
|
||||
[crowdin]: https://translate.castopod.org/project/castopod
|
||||
[crowdin-badge]: https://badges.crowdin.net/castopod/localized.svg
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1338,8 +1337,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1338,8 +1337,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -166,8 +166,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1339,8 +1338,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1306,8 +1305,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1306,8 +1305,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1338,8 +1337,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1306,8 +1305,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1306,8 +1305,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -170,8 +170,7 @@ Mange takk til dei flotte folka på
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1367,8 +1366,7 @@ Mange takk til dei flotte folka på
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1306,8 +1305,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1306,8 +1305,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -169,8 +169,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1342,8 +1341,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1306,8 +1305,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1306,8 +1305,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1306,8 +1305,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1306,8 +1305,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -167,8 +167,7 @@ Veliko hvala ovim divnim ljudima
|
||||
([ključ emotikona](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1340,8 +1339,7 @@ Veliko hvala ovim divnim ljudima
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -166,8 +166,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1339,8 +1338,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1306,8 +1305,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -142,8 +142,7 @@ Castopod 已经通过了一项行为准则,并希望所有的参与者都能
|
||||
感谢这些了不起的人([表情符号键](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1315,8 +1314,7 @@ Castopod 已经通过了一项行为准则,并希望所有的参与者都能
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -165,8 +165,7 @@ Thanks goes to these wonderful people
|
||||
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section */}
|
||||
{/* prettier-ignore-start */}
|
||||
{/* markdownlint-disable */}
|
||||
{/* prettier-ignore-start */} {/* markdownlint-disable */}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
@ -1338,8 +1337,7 @@ Thanks goes to these wonderful people
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/* markdownlint-restore */}
|
||||
{/* prettier-ignore-end */}
|
||||
{/* markdownlint-restore */} {/* prettier-ignore-end */}
|
||||
|
||||
{/* ALL-CONTRIBUTORS-LIST:END */}
|
||||
|
||||
|
@ -5,8 +5,8 @@ declare(strict_types=1);
|
||||
namespace Modules\Plugins\Manifest;
|
||||
|
||||
/**
|
||||
* @property 'text'|'email'|'url'|'markdown'|'number'|'switch' $type
|
||||
* @property string $key
|
||||
* @property 'text'|'email'|'url'|'markdown'|'number'|'switch' $type
|
||||
* @property string $label
|
||||
* @property string $hint
|
||||
* @property string $helper
|
||||
|
16
modules/Plugins/Manifest/Fields.php
Normal file
16
modules/Plugins/Manifest/Fields.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\Plugins\Manifest;
|
||||
|
||||
use Override;
|
||||
|
||||
class Fields extends ManifestObject
|
||||
{
|
||||
#[Override]
|
||||
public function loadData(array $data): void
|
||||
{
|
||||
dd($data);
|
||||
}
|
||||
}
|
@ -4,6 +4,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace Modules\Plugins\Manifest;
|
||||
|
||||
use Override;
|
||||
|
||||
/**
|
||||
* @property Field[] $general
|
||||
* @property Field[] $podcast
|
||||
@ -40,4 +42,21 @@ class Settings extends ManifestObject
|
||||
* @var Field[]
|
||||
*/
|
||||
protected array $episode = [];
|
||||
|
||||
#[Override]
|
||||
public function loadData(array $data): void
|
||||
{
|
||||
$newData = [];
|
||||
foreach ($data as $key => $fields) {
|
||||
$newFields = [];
|
||||
foreach ($fields as $fieldKey => $field) {
|
||||
$field['key'] = $fieldKey;
|
||||
$newFields[] = $field;
|
||||
}
|
||||
|
||||
$newData[$key] = $newFields;
|
||||
}
|
||||
|
||||
parent::loadData($newData);
|
||||
}
|
||||
}
|
||||
|
@ -101,28 +101,13 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"general": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/field"
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true
|
||||
"$ref": "#/$defs/fields"
|
||||
},
|
||||
"podcast": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/field"
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true
|
||||
"$ref": "#/$defs/fields"
|
||||
},
|
||||
"episode": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/field"
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true
|
||||
"$ref": "#/$defs/fields"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -170,24 +155,12 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"section": {
|
||||
"fields": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/field"
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true
|
||||
}
|
||||
}
|
||||
"patternProperties": {
|
||||
"^[A-Za-z]+[\\w\\-\\:\\.]*$": { "$ref": "#/$defs/field" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"field": {
|
||||
"type": "object",
|
||||
@ -209,10 +182,6 @@
|
||||
],
|
||||
"default": "text"
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z]+[\\w\\-\\:\\.]*$"
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
},
|
||||
@ -234,7 +203,7 @@
|
||||
"uniqueItems": true
|
||||
}
|
||||
},
|
||||
"required": ["key", "label"],
|
||||
"required": ["label"],
|
||||
"additionalProperties": false,
|
||||
"allOf": [
|
||||
{ "$ref": "#/$defs/field-multiple-implies-options-is-required" }
|
||||
|
@ -14,10 +14,9 @@
|
||||
"keywords": ["seo", "analytics"],
|
||||
"hooks": ["rssAfterChannel"],
|
||||
"settings": {
|
||||
"general": [
|
||||
{
|
||||
"general": {
|
||||
"name": {
|
||||
"type": "radio-group",
|
||||
"key": "name",
|
||||
"label": "Name",
|
||||
"options": [
|
||||
{ "label": "Foo", "value": "foo", "hint": "This is a hint." },
|
||||
@ -25,35 +24,29 @@
|
||||
{ "label": "Baz", "value": "baz" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"email": {
|
||||
"type": "email",
|
||||
"key": "email",
|
||||
"label": "Email"
|
||||
},
|
||||
{
|
||||
"url": {
|
||||
"type": "url",
|
||||
"key": "url",
|
||||
"label": "Your website URL"
|
||||
},
|
||||
{
|
||||
"toggler": {
|
||||
"type": "toggler",
|
||||
"key": "toggler",
|
||||
"label": "Toggle this?"
|
||||
},
|
||||
{
|
||||
"number": {
|
||||
"type": "number",
|
||||
"key": "number",
|
||||
"label": "Number"
|
||||
},
|
||||
{
|
||||
"datetime": {
|
||||
"type": "datetime",
|
||||
"key": "datetime",
|
||||
"label": "Enter a date",
|
||||
"optional": true
|
||||
},
|
||||
{
|
||||
"select": {
|
||||
"type": "select",
|
||||
"key": "select",
|
||||
"label": "Select something",
|
||||
"options": [
|
||||
{
|
||||
@ -70,9 +63,8 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"select-multiple": {
|
||||
"type": "select-multiple",
|
||||
"key": "select-multiple",
|
||||
"label": "Select multiple things",
|
||||
"options": [
|
||||
{
|
||||
@ -89,9 +81,8 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"radio-group": {
|
||||
"type": "radio-group",
|
||||
"key": "radio-group",
|
||||
"label": "Radio Group",
|
||||
"helper": "This is a helper.",
|
||||
"options": [
|
||||
@ -109,35 +100,31 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"textarea": {
|
||||
"type": "textarea",
|
||||
"key": "texting",
|
||||
"label": "Your text",
|
||||
"hint": "This is a hint."
|
||||
},
|
||||
{
|
||||
"markdown": {
|
||||
"type": "markdown",
|
||||
"key": "hello",
|
||||
"label": "Name Podcast",
|
||||
"label": "Markdown",
|
||||
"hint": "This is a hint.",
|
||||
"optional": true
|
||||
}
|
||||
],
|
||||
"podcast": [
|
||||
{
|
||||
},
|
||||
"podcast": {
|
||||
"name": {
|
||||
"type": "text",
|
||||
"key": "name",
|
||||
"label": "Name Podcast",
|
||||
"hint": "This is a hint."
|
||||
}
|
||||
],
|
||||
"episode": [
|
||||
{
|
||||
},
|
||||
"episode": {
|
||||
"name": {
|
||||
"type": "text",
|
||||
"key": "name",
|
||||
"label": "Name Episode",
|
||||
"helper": "This is a helper."
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user