debian-mirror-gitlab/spec/frontend/security_configuration/components/utils.js
2021-06-08 01:23:25 +05:30

8 lines
220 B
JavaScript

export const makeFeature = (changes = {}) => ({
name: 'Foo Feature',
description: 'Lorem ipsum Foo',
type: 'foo_scanning',
helpPath: '/help/foo',
configurationHelpPath: '/help/foo#configure',
...changes,
});