mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 10:53:51 +00:00
feat: excel import (#527)
* refactor: simplify excel import * chore: add external deepmerge utility * chore: create import map utilities * chore: increase size limits on uploads * style: small presentation tweaks * feat: resolve times on excel import, refs #508
This commit is contained in:
@@ -0,0 +1,156 @@
|
||||
const adjective = [
|
||||
'ambient',
|
||||
'analog',
|
||||
'artistic',
|
||||
'binaural',
|
||||
'bright',
|
||||
'cinematic',
|
||||
'clean',
|
||||
'cool',
|
||||
'crisp',
|
||||
'dark',
|
||||
'deep',
|
||||
'distorted',
|
||||
'dreamy',
|
||||
'dynamic',
|
||||
'electric',
|
||||
'explosive',
|
||||
'flickering',
|
||||
'fluid',
|
||||
'glitchy',
|
||||
'glowing',
|
||||
'harmonious',
|
||||
'hazy',
|
||||
'intense',
|
||||
'low-fi',
|
||||
'mellow',
|
||||
'melodic',
|
||||
'metallic',
|
||||
'moody',
|
||||
'muted',
|
||||
'nostalgic',
|
||||
'noisy',
|
||||
'organic',
|
||||
'panoramic',
|
||||
'percussive',
|
||||
'powerful',
|
||||
'psychedelic',
|
||||
'quirky',
|
||||
'raw',
|
||||
'resonant',
|
||||
'retro',
|
||||
'sharp',
|
||||
'shimmering',
|
||||
'smooth',
|
||||
'soft',
|
||||
'soulful',
|
||||
'sparkling',
|
||||
'spacious',
|
||||
'subtle',
|
||||
'surround',
|
||||
'tilted',
|
||||
'uplifting',
|
||||
'vibrant',
|
||||
'warm',
|
||||
];
|
||||
|
||||
const object = [
|
||||
'acoustics',
|
||||
'animation',
|
||||
'audio',
|
||||
'barndoor',
|
||||
'beat',
|
||||
'brightness',
|
||||
'bulb',
|
||||
'channel',
|
||||
'chroma',
|
||||
'cinema',
|
||||
'clip',
|
||||
'color',
|
||||
'codec',
|
||||
'composition',
|
||||
'compression',
|
||||
'contrast',
|
||||
'darkness',
|
||||
'display',
|
||||
'distortion',
|
||||
'dolly',
|
||||
'downlight',
|
||||
'drum',
|
||||
'echo',
|
||||
'edit',
|
||||
'effect',
|
||||
'film',
|
||||
'fixture',
|
||||
'flash',
|
||||
'footage',
|
||||
'format',
|
||||
'floodlight',
|
||||
'flicker',
|
||||
'frame',
|
||||
'fresnel',
|
||||
'gel',
|
||||
'glow',
|
||||
'gobo',
|
||||
'groove',
|
||||
'guitar',
|
||||
'harmony',
|
||||
'highlight',
|
||||
'illumination',
|
||||
'instrument',
|
||||
'instrumental',
|
||||
'jib',
|
||||
'lamp',
|
||||
'led',
|
||||
'light',
|
||||
'luminance',
|
||||
'mastering',
|
||||
'melody',
|
||||
'microphone',
|
||||
'mix',
|
||||
'mixing',
|
||||
'moving light',
|
||||
'note',
|
||||
'pattern',
|
||||
'piano',
|
||||
'picture',
|
||||
'production',
|
||||
'record',
|
||||
'reflection',
|
||||
'reverb',
|
||||
'resolution',
|
||||
'sampler',
|
||||
'sample',
|
||||
'saxophone',
|
||||
'screen',
|
||||
'signal',
|
||||
'softlight',
|
||||
'song',
|
||||
'sound',
|
||||
'soundtrack',
|
||||
'speaker',
|
||||
'spot',
|
||||
'strobe',
|
||||
'streaming',
|
||||
'surround',
|
||||
'synth',
|
||||
'tune',
|
||||
'trumpet',
|
||||
'uplight',
|
||||
'video',
|
||||
'violin',
|
||||
'visual',
|
||||
'voice',
|
||||
'wave',
|
||||
'wash',
|
||||
];
|
||||
|
||||
/**
|
||||
* @description returns a random name from the dictionary
|
||||
* @return {`${string} ${string}`}
|
||||
*/
|
||||
export default function getRandomName() {
|
||||
return `${adjective[Math.floor(Math.random() * adjective.length)]} ${
|
||||
object[Math.floor(Math.random() * object.length)]
|
||||
}`;
|
||||
}
|
||||
Reference in New Issue
Block a user