debian-mirror-gitlab/spec/frontend/security_configuration/components/utils.js

9 lines
220 B
JavaScript
Raw Normal View History

2021-06-08 01:23:25 +05:30
export const makeFeature = (changes = {}) => ({
name: 'Foo Feature',
description: 'Lorem ipsum Foo',
type: 'foo_scanning',
helpPath: '/help/foo',
configurationHelpPath: '/help/foo#configure',
...changes,
});