diff options
Diffstat (limited to 'spec/frontend/vue_shared/components/filtered_search_bar/store/modules/filters/mock_data.js')
-rw-r--r-- | spec/frontend/vue_shared/components/filtered_search_bar/store/modules/filters/mock_data.js | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/spec/frontend/vue_shared/components/filtered_search_bar/store/modules/filters/mock_data.js b/spec/frontend/vue_shared/components/filtered_search_bar/store/modules/filters/mock_data.js new file mode 100644 index 00000000000..6afac9f752a --- /dev/null +++ b/spec/frontend/vue_shared/components/filtered_search_bar/store/modules/filters/mock_data.js @@ -0,0 +1,50 @@ +export const filterMilestones = [ + { id: 1, title: 'None', name: 'Any' }, + { id: 101, title: 'Any', name: 'None' }, + { id: 1001, title: 'v1.0', name: 'v1.0' }, + { id: 10101, title: 'v0.0', name: 'v0.0' }, +]; + +export const filterUsers = [ + { + id: 31, + name: 'VSM User2', + username: 'vsm-user-2-1589776313', + state: 'active', + avatar_url: + 'https://www.gravatar.com/avatar/762398957a8c6e04eed16da88098899d?s=80\u0026d=identicon', + web_url: 'http://127.0.0.1:3001/vsm-user-2-1589776313', + access_level: 30, + expires_at: null, + }, + { + id: 32, + name: 'VSM User3', + username: 'vsm-user-3-1589776313', + state: 'active', + avatar_url: + 'https://www.gravatar.com/avatar/f78932237e8a5c5376b65a709824802f?s=80\u0026d=identicon', + web_url: 'http://127.0.0.1:3001/vsm-user-3-1589776313', + access_level: 30, + expires_at: null, + }, + { + id: 33, + name: 'VSM User4', + username: 'vsm-user-4-1589776313', + state: 'active', + avatar_url: + 'https://www.gravatar.com/avatar/ab506dc600d1a941e4d77d5ceeeba73f?s=80\u0026d=identicon', + web_url: 'http://127.0.0.1:3001/vsm-user-4-1589776313', + access_level: 30, + expires_at: null, + }, +]; + +export const filterLabels = [ + { id: 194, title: 'Afterfunc-Phureforge-781', color: '#990000', text_color: '#FFFFFF' }, + { id: 10, title: 'Afternix', color: '#16ecf2', text_color: '#FFFFFF' }, + { id: 176, title: 'Panasync-Pens-266', color: '#990000', text_color: '#FFFFFF' }, + { id: 79, title: 'Passat', color: '#f1a3d4', text_color: '#333333' }, + { id: 197, title: 'Phast-Onesync-395', color: '#990000', text_color: '#FFFFFF' }, +]; |