debian-mirror-gitlab/spec/frontend/registry/shared/mock_data.js

13 lines
408 B
JavaScript
Raw Normal View History

2020-03-13 15:44:24 +05:30
export const options = [{ key: 'foo', label: 'Foo' }, { key: 'bar', label: 'Bar', default: true }];
export const stringifiedOptions = JSON.stringify(options);
export const stringifiedFormOptions = {
cadenceOptions: stringifiedOptions,
keepNOptions: stringifiedOptions,
olderThanOptions: stringifiedOptions,
};
export const formOptions = {
cadence: options,
keepN: options,
olderThan: options,
};