consul/ui/packages/consul-ui/tests/pages/dc/kv/index.js

12 lines
241 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
export default function (visitable, creatable, kvs) {
return creatable({
visit: visitable(['/:dc/kv/:kv', '/:dc/kv'], (str) => str),
kvs: kvs(),
});
}