* docs: Update documentation to reflect change from `config/` to `files/` * docs(files): Match documentation between template & module.yml * docs(files): Add example about using subfolder * docs(files): Some small style fixes * docs: Fix `files/system` typo Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com> * docs: Fix `files/system` typo pt. 2 Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com> * chore(files): Update typespec to be compatible with legacy & new recipe Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com> --------- Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
16 lines
395 B
Text
16 lines
395 B
Text
import "@typespec/json-schema";
|
|
using TypeSpec.JsonSchema;
|
|
|
|
@jsonSchema("/modules/files.json")
|
|
model FilesModule {
|
|
/** Copy files to your image at build time
|
|
* https://blue-build.org/reference/modules/files/
|
|
*/
|
|
type: "files";
|
|
|
|
/** List of files / folders to copy. */
|
|
files: Array<Record<string>> | Array<{
|
|
source: string;
|
|
destination: string;
|
|
}>;
|
|
}
|