async function getInputEntries (context, input) {
    if (typeof input === 'string') {
        input = await resolveInputId(context, input); 
        return [{ 
            name: getNameFromFileName(input),
            file: input
        }];
    }

    if (Array.isArray(input)) {
        return await Promise.all(input.map(async file => {
            file = await resolveInputId(context, file);
            return {
                name: getNameFromFileName(file),
                file: file
            };
        }));
    }

    if (typeof input === 'object') {
        return await Promise.all(Object.keys(input).map(async key => {
            let file = await resolveInputId(context, input[key]);
            return {
                name: key,
                file: file
            };
        }));
    }
}
@param {NollupContext} context 
@param {string|string[]|Object<string, string>} input 
@return {Promise<{name: string, file: string}[]>}