File: //proc/self/cwd/wp-content/plugins/automatewoo/admin/assets/src/settings.js
const { getSetting: getWcSetting } = wc.wcSettings;
const automatewoo = getWcSetting( 'automatewoo', {} );
const getSetting = ( property, fallback = false, settingsObject ) => {
	if (
		typeof settingsObject === 'object' &&
		settingsObject.hasOwnProperty( property )
	) {
		return settingsObject[ property ];
	}
	return fallback;
};
export const MANUAL_WORKFLOWS_BATCH_SIZE = getSetting(
	'batchSize',
	10,
	automatewoo.manualRunner
);
export const MANUAL_WORKFLOWS_HIGH_VOLUME_THRESHOLD = getSetting(
	'highVolumeThreshold',
	500,
	automatewoo.manualRunner
);
export const ADMIN_URL = getWcSetting( 'adminUrl', '' );
export const TRACKS_PREFIX = 'aw_';