forked from ipfs-shipyard/ipfs-protocol-compliance-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.js
41 lines (39 loc) · 3.09 KB
/
constants.js
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
// Constants for test files, generated with publish-files.js
// Raw hashes
export const URL_IPFS_MEDIA = 'ipfs://bafybeic7n7s52drjp67yjklbiyxyzh3ddw35qr4wcuxkra6qmu37czxrmi/'
export const URL_IPFS_TEXT_FILE_RAW = 'ipfs://bafybeiduiecxoeiqs3gyc6r7v3lymmhserldnpw62qjnhmqsulqjxjmtzi/?filename=files/example.txt'
export const URL_IPFS_IMAGE_FILE_RAW = 'ipfs://bafybeihc4hti5ix4ds2tefhy35qd4c7n5as5cazdmksrxj7ipvcxm64h54/?filename=files/ipfs-logo.svg'
export const URL_IPFS_VIDEO_FILE_RAW = 'ipfs://bafybeifmi5ykqzw4xnyarcx4wltdqid3ivacz3dr5qobskrajprs53uvj4/?filename=files/IPFS.mp4'
export const URL_IPFS_AUDIO_FILE_RAW = 'ipfs://bafybeidwaupi25ngpkvjjn27ae7ct3tmmywbyv5gjagqjldqayfq42ynaa/?filename=files/ipfs.mp3'
export const URL_IPFS_JS_FILE_RAW = 'ipfs://bafybeie6onxucug6vpresqyspluul3dp5ln42copjfckrdjbxvbkslcohe/?filename=files/example.js'
export const URL_IPFS_CSS_FILE_RAW = 'ipfs://bafybeib7jtnjgsqnws3yt2wyw6up54tl2y4h4gwergruhdl4l4ehd57y4y/?filename=files/example.css'
export const URL_IPFS_HTML_FILE_RAW = 'ipfs://bafybeibsjyvcryciw666lqypkbgr4q5bvnmiipdsbw53hratenbvyoeevm/?filename=files/example.html'
export const URL_IPFS_REDIRECT_FILE_RAW = 'ipfs://bafybeigoxuborlvdwjel4xw4w5bxl4ucse5uac3jnhdm34zrhe3ynmev6e/?filename=files/redirect.html'
// Relative paths
export const URL_IPFS_TEXT_FILE = `${URL_IPFS_MEDIA}example.txt`
export const URL_IPFS_IMAGE_FILE = `${URL_IPFS_MEDIA}ipfs-logo.svg`
export const URL_IPFS_VIDEO_FILE = `${URL_IPFS_MEDIA}IPFS.mp4`
export const URL_IPFS_AUDIO_FILE = `${URL_IPFS_MEDIA}ipfs.mp3`
export const URL_IPFS_JS_FILE = `${URL_IPFS_MEDIA}example.js`
export const URL_IPFS_JS_FILE_IMPORT = `${URL_IPFS_MEDIA}js/import-example.js`
export const URL_IPFS_JS_FILE_IMPORT_DYNAMIC = `${URL_IPFS_MEDIA}js/import-example-dynamic.js`
export const URL_IPFS_CSS_FILE = `${URL_IPFS_MEDIA}example.css`
export const URL_IPFS_HTML_FILE = `${URL_IPFS_MEDIA}example.html`
export const URL_IPFS_DIRECTORY_NO_INDEX = `${URL_IPFS_MEDIA}`
export const URL_IPFS_DIRECTORY_WITH_INDEX = `${URL_IPFS_MEDIA}with-index/`
export const URL_IPFS_DIRECTORY_EMPTY = `${URL_IPFS_MEDIA}empty`
export const URL_IPFS_REDIRECT_FILE = `${URL_IPFS_MEDIA}redirect.html`
export const URL_IPNS_MEDIA = `ipns://ipfs-protocol-compliance-suite.on.fleek.co/files/`
export const URL_IPNS_TEXT_FILE = `${URL_IPNS_MEDIA}example.txt`
export const URL_IPNS_IMAGE_FILE = `${URL_IPNS_MEDIA}ipfs-logo.svg`
export const URL_IPNS_VIDEO_FILE = `${URL_IPNS_MEDIA}IPFS.mp4`
export const URL_IPNS_AUDIO_FILE = `${URL_IPNS_MEDIA}ipfs.mp3`
export const URL_IPNS_JS_FILE = `${URL_IPNS_MEDIA}example.js`
export const URL_IPNS_JS_FILE_IMPORT = `${URL_IPNS_MEDIA}js/import-example.js`
export const URL_IPNS_JS_FILE_IMPORT_DYNAMIC = `${URL_IPNS_MEDIA}js/import-example-dynamic.js`
export const URL_IPNS_CSS_FILE = `${URL_IPNS_MEDIA}example.css`
export const URL_IPNS_HTML_FILE = `${URL_IPNS_MEDIA}example.html`
export const URL_IPNS_DIRECTORY_NO_INDEX = `${URL_IPNS_MEDIA}`
export const URL_IPNS_DIRECTORY_WITH_INDEX = `${URL_IPNS_MEDIA}with-index/`
export const URL_IPNS_DIRECTORY_EMPTY = `${URL_IPNS_MEDIA}empty`
export const URL_IPNS_REDIRECT_FILE = `${URL_IPNS_MEDIA}redirect.html`