consul/ui/packages/consul-acls/vendor/consul-acls/routes.js

16 lines
307 B
JavaScript

(routes => routes({
dc: {
acls: {
tokens: {
_options: {
abilities: ['read tokens'],
},
},
},
},
}))(
(json, data = (typeof document !== 'undefined' ? document.currentScript.dataset : module.exports)) => {
data[`routes`] = JSON.stringify(json);
}
);