« get me outta code hell

externalFunction.js « wiki-properties « composite « data « src - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/wiki-properties/externalFunction.js
blob: c388da6c8314c712f8a529e8282b540f5b7f5749 (plain)
1
2
3
4
5
6
7
8
9
10
11
// External function. These should only be used as dependencies for other
// properties, so they're left unexposed.

// TODO: Not templateCompositeFrom.

export default function() {
  return {
    flags: {update: true},
    update: {validate: (t) => typeof t === 'function'},
  };
}