39 lines
926 B
JavaScript
39 lines
926 B
JavaScript
export const mockIntegrationProps = {
|
|
id: 25,
|
|
initialActivated: true,
|
|
showActive: true,
|
|
editable: true,
|
|
triggerFieldsProps: {
|
|
initialTriggerCommit: false,
|
|
initialTriggerMergeRequest: false,
|
|
initialEnableComments: false,
|
|
},
|
|
jiraIssuesProps: {},
|
|
triggerEvents: [],
|
|
sections: [],
|
|
fields: [],
|
|
type: '',
|
|
inheritFromId: 25,
|
|
integrationLevel: 'project',
|
|
};
|
|
|
|
export const mockJiraIssueTypes = [
|
|
{ id: '1', name: 'issue', description: 'issue' },
|
|
{ id: '2', name: 'bug', description: 'bug' },
|
|
{ id: '3', name: 'epic', description: 'epic' },
|
|
];
|
|
|
|
export const mockField = {
|
|
help: 'The URL of the project',
|
|
name: 'project_url',
|
|
placeholder: 'https://jira.example.com',
|
|
title: 'Project URL',
|
|
type: 'text',
|
|
value: '1',
|
|
};
|
|
|
|
export const mockSectionConnection = {
|
|
type: 'connection',
|
|
title: 'Connection details',
|
|
description: 'Learn more on how to configure this integration.',
|
|
};
|