"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.url = exports.unicornResponse = exports.response4 = exports.response3 = exports.response2 = exports.response1 = void 0;
var _linkingTypes = require("@atlaskit/linking-types");
var _images = require("../../images");
var _rectangle = _interopRequireDefault(require("../../images/rectangle.svg"));
var url = exports.url = 'https://product-fabric.atlassian.net/wiki/spaces/EM';

// This response is a showcase of a link response that contains a vast amount of data.
// It is unlikely that a real link would have all these information.
// For example, a blog link would not have data for a pull request target branch.',
var unicornResponse = exports.unicornResponse = {
  meta: {
    visibility: 'public',
    access: 'granted',
    auth: [],
    definitionId: 'd1',
    key: 'object-provider',
    supportedFeature: ['AISummary', 'RelatedLinks']
  },
  data: {
    '@context': {
      '@vocab': 'https://www.w3.org/ns/activitystreams#',
      atlassian: 'https://schema.atlassian.com/ns/vocabulary#',
      schema: 'http://schema.org/'
    },
    '@type': ['Object', 'atlassian:Task'],
    'atlassian:latestCommit': {
      url: 'https://commit-url/d4f2fc9',
      '@id': 'https://commit-url/d4f2fc9',
      '@type': 'atlassian:SourceCodeCommit',
      '@context': {
        '@vocab': 'https://www.w3.org/ns/activitystreams#',
        atlassian: 'https://schema.atlassian.com/ns/vocabulary#',
        schema: 'http://schema.org/'
      },
      name: 'd4f2fc9',
      attributedTo: 'Steve Johnson',
      'schema:dateCreated': '2022-07-04T11:57:38.000Z',
      updated: '2022-07-04T11:57:38.000Z',
      icon: {
        '@type': 'Image',
        url: _images.iconBitbucket
      },
      generator: {
        '@type': 'Application',
        name: 'Bitbucket',
        icon: {
          '@type': 'Image',
          url: _images.iconBitbucket
        }
      },
      'atlassian:committedBy': 'Steve Johnson',
      summary: 'EDM-3605: Nullam eu sem vehicula, consequat eros id.'
    },
    'atlassian:mergeSource': {
      '@type': 'Link',
      href: 'https://repository/branch/123',
      name: 'lp-linking-platform'
    },
    'atlassian:mergeDestination': {
      '@type': 'Link',
      href: 'https://repository/branch/1',
      name: 'master'
    },
    'atlassian:priority': 'Major',
    'atlassian:reactCount': 78,
    'atlassian:readTimeInMinutes': 5,
    'atlassian:state': 'draft',
    'atlassian:subscriberCount': 45,
    'atlassian:subTasks': {
      totalCount: 6,
      resolvedCount: 4
    },
    'atlassian:attachmentCount': 11,
    'atlassian:checkItems': {
      checkedItems: 4,
      totalItems: 6
    },
    'atlassian:updatedBy': {
      '@type': 'Person',
      icon: _images.avatar2,
      name: 'Steve'
    },
    'atlassian:viewCount': 120,
    'atlassian:voteCount': 38,
    attributedTo: [{
      '@type': 'Person',
      icon: _images.avatar1,
      name: 'Angie'
    }, {
      '@type': 'Person',
      icon: _images.avatar2,
      name: 'Steve'
    }, {
      '@type': 'Person',
      icon: _images.avatar3,
      name: 'Aliza'
    }],
    'atlassian:ownedBy': [{
      '@type': 'Person',
      icon: _images.avatar1,
      name: 'Angie'
    }, {
      '@type': 'Person',
      icon: _images.avatar2,
      name: 'Steve'
    }, {
      '@type': 'Person',
      icon: _images.avatar3,
      name: 'Aliza'
    }],
    'atlassian:assignedTo': {
      '@type': 'Person',
      icon: _images.avatar3,
      name: 'Aliza'
    },
    generator: {
      '@type': 'Application',
      '@id': 'https://www.atlassian.com/#Confluence',
      name: 'Confluence'
    },
    endTime: '2022-07-31T00:00:00.000Z',
    image: _rectangle.default,
    mediaType: 'text/plain',
    preview: {
      '@type': 'Link',
      href: 'https://www.atlassian.com/',
      'atlassian:supportedPlatforms': ['web']
    },
    name: 'A unicorn link response for Smart Links example.',
    'schema:commentCount': 22,
    'schema:dateCreated': '2022-01-21T10:25:11.676+1100',
    'schema:programmingLanguage': 'Javascript',
    'atlassian:downloadUrl': '/favicon.ico',
    'atlassian:storyPoints': 3,
    'atlassian:appliedToComponentsCount': 3,
    'schema:potentialAction': [{
      '@type': 'DownloadAction',
      name: 'Download'
    }],
    'atlassian:serverAction': [{
      '@type': 'UpdateAction',
      name: 'UpdateAction',
      dataRetrievalAction: {
        '@type': 'ReadAction',
        name: _linkingTypes.SmartLinkActionType.GetStatusTransitionsAction
      },
      dataUpdateAction: {
        '@type': 'UpdateAction',
        name: _linkingTypes.SmartLinkActionType.StatusUpdateAction
      },
      refField: 'tag',
      resourceIdentifiers: {
        issueKey: 'some-id',
        hostname: 'some-hostname'
      }
    }, {
      '@type': 'UpdateAction',
      name: 'UpdateAction',
      dataUpdateAction: {
        '@type': 'UpdateAction',
        name: 'FollowEntityAction'
      },
      resourceIdentifiers: {
        ari: 'ari'
      },
      refField: 'button'
    }],
    summary: 'This is a showcase of a link response that contains a vast amount of data. It is unlikely that a real link would have all these information. For example, a blog link would not have data for a pull request target branch.',
    tag: {
      '@type': 'Object',
      appearance: 'inprogress',
      name: 'In Progress'
    },
    updated: '2022-02-05T16:44:00.000+1000',
    url: url
  }
};
var response1 = exports.response1 = {
  meta: {
    visibility: 'public',
    access: 'granted',
    auth: [],
    definitionId: 'd1',
    key: 'object-provider'
  },
  data: {
    '@context': {
      '@vocab': 'https://www.w3.org/ns/activitystreams#',
      atlassian: 'https://schema.atlassian.com/ns/vocabulary#',
      schema: 'http://schema.org/'
    },
    '@type': ['Object', 'schema:BlogPosting'],
    'atlassian:priority': 'Major',
    'atlassian:reactCount': 78,
    'atlassian:state': 'draft',
    'atlassian:subscriberCount': 45,
    'atlassian:updatedBy': {
      '@type': 'Person',
      icon: _images.avatar2,
      name: 'Steve'
    },
    attributedTo: [{
      '@type': 'Person',
      icon: _images.avatar1,
      name: 'Angie'
    }, {
      '@type': 'Person',
      icon: _images.avatar2,
      name: 'Steve'
    }, {
      '@type': 'Person',
      icon: _images.avatar3,
      name: 'Aliza'
    }],
    generator: {
      '@type': 'Application',
      '@id': 'https://www.atlassian.com/#Confluence',
      name: 'Confluence'
    },
    endTime: '2022-07-31T00:00:00.000Z',
    image: _rectangle.default,
    mediaType: 'text/plain',
    name: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
    'schema:commentCount': 22,
    'schema:dateCreated': '2022-01-21T10:25:11.676+1100',
    summary: 'Nunc justo lectus, blandit ut ultrices a, elementum quis quam. In ut dolor ac nulla gravida scelerisque vitae sit amet ipsum. Pellentesque vitae luctus lorem. Etiam enim ligula, lobortis vel convallis ut, elementum ut nibh. Mauris ultricies mi risus, vel condimentum lorem convallis eu. Cras pharetra, dui nec gravida rutrum, mauris odio commodo mauris, eu lacinia dui mi nec tortor. Curabitur eleifend tortor eros, id venenatis est posuere sit amet. ',
    updated: '2022-02-05T16:44:00.000+1000',
    url: url
  }
};
var response2 = exports.response2 = {
  meta: {
    auth: [],
    definitionId: 'jira-object-provider',
    visibility: 'restricted',
    access: 'granted',
    resourceType: 'issue',
    key: 'jira-object-provider'
  },
  data: {
    '@context': {
      '@vocab': 'https://www.w3.org/ns/activitystreams#',
      atlassian: 'https://schema.atlassian.com/ns/vocabulary#',
      schema: 'http://schema.org/'
    },
    generator: {
      '@type': 'Application',
      '@id': 'https://www.atlassian.com/#Jira',
      name: 'Jira'
    },
    '@type': ['atlassian:Task', 'Object'],
    name: 'Maecenas sagittis mauris ut lacinia molestie.',
    'schema:dateCreated': '2022-03-01T11:35:10.027+1100',
    updated: '2022-03-09T10:25:11.676+1100',
    'schema:commentCount': 1,
    'atlassian:priority': 'Major',
    'atlassian:subscriberCount': 2,
    tag: {
      '@type': 'Object',
      name: 'Done',
      appearance: 'success'
    },
    taskType: {
      '@type': ['Object', 'atlassian:TaskType'],
      '@id': 'https://www.atlassian.com/#JiraEpic',
      name: 'Epic'
    },
    attributedTo: {
      '@type': 'Person',
      name: 'Aliza',
      icon: {
        '@type': 'Aliza',
        url: _images.avatar3
      }
    },
    url: url,
    summary: 'Donec dui quam, malesuada ut magna a, faucibus sodales quam.'
  }
};
var response3 = exports.response3 = {
  meta: {
    auth: [],
    definitionId: 'confluence-object-provider',
    visibility: 'restricted',
    access: 'granted',
    resourceType: 'page',
    key: 'confluence-object-provider'
  },
  data: {
    '@context': {
      '@vocab': 'https://www.w3.org/ns/activitystreams#',
      atlassian: 'https://schema.atlassian.com/ns/vocabulary#',
      schema: 'http://schema.org/'
    },
    generator: {
      '@type': 'Application',
      '@id': 'https://www.atlassian.com/#Confluence',
      name: 'Confluence'
    },
    '@type': ['Document', 'schema:TextDigitalDocument'],
    url: url,
    name: 'Nulla convallis enim ac lectus vehicula suscipit.',
    'atlassian:state': 'current',
    summary: 'Aenean nec urna et ex commodo mattis. Pellentesque feugiat fermentum venenatis. Curabitur eleifend, ipsum sit amet tincidunt tempor, quam elit interdum lorem, non porta erat nibh eu enim.',
    'schema:commentCount': 55,
    'schema:dateCreated': '2022-03-10T10:25:11.676+1100',
    'atlassian:subscriberCount': 5,
    preview: {
      '@type': 'Link',
      href: _rectangle.default
    },
    attributedTo: [{
      '@type': 'Person',
      icon: _images.avatar3,
      name: 'Aliza'
    }, {
      '@type': 'Person',
      icon: _images.avatar1,
      name: 'Angie'
    }]
  }
};
var response4 = exports.response4 = {
  meta: {
    auth: [],
    definitionId: 'watermelon-object-provider',
    visibility: 'restricted',
    access: 'granted',
    key: 'watermelon-object-provider'
  },
  data: {
    '@context': {
      '@vocab': 'https://www.w3.org/ns/activitystreams#',
      atlassian: 'https://schema.atlassian.com/ns/vocabulary#',
      schema: 'http://schema.org/'
    },
    generator: {
      '@type': 'Application',
      '@id': 'https://www.atlassian.com/#Jira',
      name: 'Atlas'
    },
    '@type': ['Object', 'atlassian:Task'],
    url: url,
    name: 'Aliquam aliquet tellus a aliquet rutrum.',
    summary: 'Sed et euismod leo. Phasellus accumsan orci mauris, ac dignissim nunc euismod et. Donec consequat dui nec est pellentesque egestas.',
    taskType: {
      '@type': ['Object', 'atlassian:TaskType'],
      '@id': 'https://www.atlassian.com/#JiraCustomTaskType',
      icon: {
        '@type': 'Image',
        url: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFTElEQVR4XuWb7U9bVRzHeWHQRN8tJr6a08SZGLcXauJTN4gwaTdqgdqWRVB8WMw2TZwsGzMkU+MLGQPnWLEkjj4BQisDt5axZtDSP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9PKTg55M6DznhW+mzoJM72dsHRQB8Gj78Ny6BYSz8GbE5gERzN7CYwJ8R8z80VeDDh++RRc7jaxwtPJZsKAJwL1lgVou5W/1FYqORtwbL4fAof4wqWYcCDhQjGLSU4GfBIeAd8XBiSaRsiEcOxvGI4HoV0gbjHJyQBbqxrc23dC4IAWiaYhJly9HWXF+2IrcCSZ/7xeDrIN6BnpAdsjW1l8hj1IMA3pKR9EHWx6vF8gXqmQbYDtpVdTBix0aJBgmnMj3SiGEpBlwEFvP9hqn/6/B7Q2IMHp+A+3wKchM4qjBIgBkjdIDHW2pcQTHI8/A+7ndrLzwVxTHTJgwHYCxVAI7AYJyVtkHFtf5BmQzviW7Tzx5384DO15+HhZIBKSN0kdt/Yi0TwDnnw+Jd5s+RLa4w4UQzFsbJISvU3uvYgNHNt2INE07jdeg69tvai+AjGL3ijZcXcUrK+8jsSmY3/iWRjWquHD5RFUX4mwGyXFbJU9aj+ZcdzbH9sG9hdehtOfdUDXsgXVVTDrW2WzbZbu+t0CZz42gqVZneKcSQd93V1w7OevmGExiuqUBdxm6fUN01W+XZ6Uqj4wQUrVH5khpaoPTXGlqo/NcaWqD05ypaqPzqaXqj08TZdKPT7/H9NbXYpTJ+ztAAAAAElFTkSuQmCC'
      },
      name: 'Aliquam aliquet tellus a aliquet rutrum.'
    },
    tag: {
      type: '@Object',
      name: 'Completed',
      appearance: 'success'
    },
    preview: {
      '@type': 'Link',
      href: _rectangle.default
    },
    attributedTo: [{
      '@type': 'Person',
      icon: _images.avatar2,
      name: 'Steve'
    }, {
      '@type': 'Person',
      name: 'Tony Stank'
    }, {
      '@type': 'Person',
      name: 'Agatha Harkness'
    }],
    'schema:dateCreated': '2022-03-11T11:35:10.027+1100'
  }
};