pnp / m365-sample-gallery

Backend control and assets for the Microsoft 365 Sample Gallery - https://adoption.microsoft.com/sample-solution-gallery
https://adoption.microsoft.com/sample-solution-gallery
MIT License
20 stars 15 forks source link

Need Ability to support an array at root of sample.json #2

Closed hugoabernier closed 3 years ago

hugoabernier commented 3 years ago

We frequently have samples that host more than one listed asset in a single sample (e.g.: a mega-web-part sample, or a Power Fx sample).

To help increase exposure, we need to list each asset (e.g.: every web part, every Power Fx function) in the sample browser, even if they point to the same sample solution.

To do this, we'd most likely need to change the sample.json schema to handle an array of samples at the root, rather than a single sample.