async function getChannelSettings( store, id ) {
	/** @type {ChannelSettings|DS.Model} */
	let record;
	try {
		record = await store.findRecord( "channel-settings", id );
	} catch ( e ) {
		record = await store.recordForId( "channel-settings", id );
	}

	const data = record.toJSON();
	store.unloadRecord( record );

	return data;
}
@param {DS.Store} store
@param {string} id
@return {Promise<Object>}