mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
* refactor(graphql): Introduce image type * Undo changes to .travis.yml * chore: Upgrade travis to node LTS - URL is available since v10 * chore: use lts Co-authored-by: mattwr18 <mattwr18@gmail.com>
8 lines
305 B
JavaScript
8 lines
305 B
JavaScript
export default {
|
|
url: { primary: true, type: 'string', uri: { allowRelative: true } },
|
|
alt: { type: 'string' },
|
|
sensitive: { type: 'boolean', default: false },
|
|
aspectRatio: { type: 'float', default: 1.0 },
|
|
createdAt: { type: 'string', isoDate: true, default: () => new Date().toISOString() },
|
|
}
|