extends Resource
class_name ApiSettings

enum HostType {
	Local,
	Remote
}

@export var local_url: String
@export var remote_url: String
@export var host_type: HostType

var url: String :
	get: return local_url if host_type == HostType.Local else remote_url

var analytics_event: String :
	get: return url + "/api/analytics_event"

var get_user_id: String :
	get: return url + "/api/get_user_id?device_id="

var discover_gate: String :
	get: return url + "/api/discover_gate"

var search: String :
	get: return url + "/api/search?query="
