Declares a typed section over flat configuration keys.
Every entry in keys is read as prefix + key; the schema receives those
values under their prefix-stripped names. For example, prefix: 'DATABASE_' and keys: ['URL'] read DATABASE_URL and pass { URL } to
the schema. The returned declaration is an immutable snapshot, so later
mutations to the caller-owned definition cannot change a cached section.
Declares a typed section over flat configuration keys.
Every entry in
keysis read asprefix + key; the schema receives those values under their prefix-stripped names. For example,prefix: 'DATABASE_'andkeys: ['URL']readDATABASE_URLand pass{ URL }to the schema. The returned declaration is an immutable snapshot, so later mutations to the caller-owned definition cannot change a cached section.