add license, move folders

This commit is contained in:
Nordup 2024-05-04 00:14:24 +04:00
parent 185cc74060
commit 271c4a46a1
132 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,32 @@
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 create_user_id: String :
get: return url + "/api/create_user_id"
var discover_gate: String :
get: return url + "/api/discover_gate"
var featured_gates: String :
get: return url + "/api/featured_gates"
var search: String :
get: return url + "/api/search?query="
var prompt: String :
get: return url + "/api/prompt?query="