2021-12-11 22:18:48 +05:30
|
|
|
export const workItemQueryResponse = {
|
|
|
|
workItem: {
|
2022-01-26 12:08:38 +05:30
|
|
|
__typename: 'LocalWorkItem',
|
2021-12-11 22:18:48 +05:30
|
|
|
id: '1',
|
|
|
|
type: 'FEATURE',
|
|
|
|
widgets: {
|
2022-01-26 12:08:38 +05:30
|
|
|
__typename: 'LocalWorkItemWidgetConnection',
|
2021-12-11 22:18:48 +05:30
|
|
|
nodes: [
|
|
|
|
{
|
2022-01-26 12:08:38 +05:30
|
|
|
__typename: 'LocalTitleWidget',
|
2021-12-11 22:18:48 +05:30
|
|
|
type: 'TITLE',
|
|
|
|
contentText: 'Test',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
2022-01-26 12:08:38 +05:30
|
|
|
|
|
|
|
export const updateWorkItemMutationResponse = {
|
|
|
|
__typename: 'LocalUpdateWorkItemPayload',
|
|
|
|
workItem: {
|
|
|
|
__typename: 'LocalWorkItem',
|
|
|
|
id: '1',
|
|
|
|
widgets: {
|
|
|
|
__typename: 'LocalWorkItemWidgetConnection',
|
|
|
|
nodes: [
|
|
|
|
{
|
|
|
|
__typename: 'LocalTitleWidget',
|
|
|
|
type: 'TITLE',
|
|
|
|
enabled: true,
|
|
|
|
contentText: 'Updated title',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|