textiot
Version:
A framework for building web and native (IoT) Dapps on the IPFS network
44 lines (43 loc) • 950 B
text/typescript
export const schema = {
name: 'media',
pin: true,
plaintext: false,
mill: 'skip',
opts: {},
json_schema: {},
links: {
thumb: {
use: 'large',
pin: true,
plaintext: false,
mill: '/image/resize',
opts: {
quality: '80',
width: '100'
},
json_schema: {}
},
large: {
use: ':file',
pin: false,
plaintext: false,
mill: '/image/resize',
opts: {
quality: '80',
width: '800'
},
json_schema: {}
},
small: {
use: ':file',
pin: false,
plaintext: false,
mill: '/image/resize',
opts: {
quality: '80',
width: '320'
},
json_schema: {}
}
}
}