This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testLink.ts
58 lines (52 loc) · 1.76 KB
/
testLink.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import Link from '../../api/v1/link/link';
const link: Link = {
content: {
title: 'Bill Gates to buy FSF for $4.20bn',
description: 'The retired multi-billionaire is embracing open-source.',
color: '#f9a825',
},
destination: 'https://youtube.com/watch?v=dQw4w9WgXcQ',
};
export const notAllowedLink: Link = {
content: {
title: 'Bill Gates to buy FSF for $4.20bn',
description: 'The retired multi-billionaire is embracing open-source.',
color: '#f9a825',
},
destination: 'https://this-domain-is-not-allowed',
};
export const redirectLink: Link = {
content: {
title: 'Bill Gates to buy FSF for $4.20bn',
description: 'The retired multi-billionaire is embracing open-source.',
color: '#f9a825',
},
destination: 'https://youtube.com/redirect?q=snorlax.cc/',
};
export const encodedRedirectLink: Link = {
content: {
title: 'Bill Gates to buy FSF for $4.20bn',
description: 'The retired multi-billionaire is embracing open-source.',
color: '#f9a825',
},
destination: 'https://youtube.com/%72edirect?q=snorlax.cc/',
};
export const badImageLink: Link = {
content: {
title: 'Bill Gates to buy FSF for $4.20bn',
description: 'The retired multi-billionaire is embracing open-source.',
color: '#f9a825',
image: 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Cat_August_2010-4.jpg/800px-Cat_August_2010-4.jpg',
},
destination: 'https://youtube.com/watch?v=dQw4w9WgXcQ',
};
export const goodImageLink: Link = {
content: {
title: 'Bill Gates to buy FSF for $4.20bn',
description: 'The retired multi-billionaire is embracing open-source.',
color: '#f9a825',
image: 'https://i.imgur.com/9mNYg9X.png',
},
destination: 'https://youtube.com/watch?v=dQw4w9WgXcQ',
};
export default link;