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

12 lines
242 B
JavaScript

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