package otoggl
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Helper types
val pp_datetime :
Ppx_deriving_runtime.Format.formatter ->
datetime ->
Ppx_deriving_runtime.unit
val show_datetime : datetime -> Ppx_deriving_runtime.string
type time_entry_update_request = {
description : string option;
wid : int option;
pid : int option option;
start : datetime option;
stop : datetime option option;
duration : int option;
duronly : bool option;
billable : bool option;
}
Represents a time entry as we send to Toggl when updating one
val pp_time_entry_update_request :
Ppx_deriving_runtime.Format.formatter ->
time_entry_update_request ->
Ppx_deriving_runtime.unit
val show_time_entry_update_request :
time_entry_update_request ->
Ppx_deriving_runtime.string
val equal_time_entry_update_request :
time_entry_update_request ->
time_entry_update_request ->
Ppx_deriving_runtime.bool
val pp_wrapped_time_entry_update_request :
Ppx_deriving_runtime.Format.formatter ->
wrapped_time_entry_update_request ->
Ppx_deriving_runtime.unit
val show_wrapped_time_entry_update_request :
wrapped_time_entry_update_request ->
Ppx_deriving_runtime.string
val equal_wrapped_time_entry_update_request :
wrapped_time_entry_update_request ->
wrapped_time_entry_update_request ->
Ppx_deriving_runtime.bool
type time_entry_request = {
description : string;
wid : int option;
pid : int option;
start : datetime option;
stop : datetime option option;
duration : int;
created_with : string;
duronly : bool;
billable : bool;
}
Represents a time entry as we send to Toggl when starting or creating one
val pp_time_entry_request :
Ppx_deriving_runtime.Format.formatter ->
time_entry_request ->
Ppx_deriving_runtime.unit
val show_time_entry_request : time_entry_request -> Ppx_deriving_runtime.string
val equal_time_entry_request :
time_entry_request ->
time_entry_request ->
Ppx_deriving_runtime.bool
val pp_wrapped_time_entry :
Ppx_deriving_runtime.Format.formatter ->
wrapped_time_entry ->
Ppx_deriving_runtime.unit
val show_wrapped_time_entry : wrapped_time_entry -> Ppx_deriving_runtime.string
val equal_wrapped_time_entry :
wrapped_time_entry ->
wrapped_time_entry ->
Ppx_deriving_runtime.bool
val pp_wid :
Ppx_deriving_runtime.Format.formatter ->
wid ->
Ppx_deriving_runtime.unit
val show_wid : wid -> Ppx_deriving_runtime.string
type project_request = {
wid : wid;
name : string;
billable : bool;
is_private : bool;
active : bool;
auto_estimates : bool;
estimated_hours : bool;
actual_hours : int;
template : bool;
template_id : int option;
cid : int option;
color : string option;
hex_color : string option;
}
Represents a project as we send to Toggl when creating one
val pp_project_request :
Ppx_deriving_runtime.Format.formatter ->
project_request ->
Ppx_deriving_runtime.unit
val show_project_request : project_request -> Ppx_deriving_runtime.string
val equal_project_request :
project_request ->
project_request ->
Ppx_deriving_runtime.bool
val pp_wrapped_project_request :
Ppx_deriving_runtime.Format.formatter ->
wrapped_project_request ->
Ppx_deriving_runtime.unit
val show_wrapped_project_request :
wrapped_project_request ->
Ppx_deriving_runtime.string
val equal_wrapped_project_request :
wrapped_project_request ->
wrapped_project_request ->
Ppx_deriving_runtime.bool
type workspace = {
id : wid;
name : string;
default_currency : string;
at : datetime;
admin : bool;
default_hourly_rate : float;
only_admins_may_create_projects : bool;
only_admins_see_billable_rates : bool;
only_admins_see_team_dashboard : bool;
projects_billable_by_default : bool;
rounding : int;
rounding_minutes : int;
ical_enabled : bool;
api_token : string option;
profile : int option;
logo_url : string option;
}
Represents a workspace in Toggl
val pp_workspace :
Ppx_deriving_runtime.Format.formatter ->
workspace ->
Ppx_deriving_runtime.unit
val show_workspace : workspace -> Ppx_deriving_runtime.string
type workspace_list = workspace list
val pp_workspace_list :
Ppx_deriving_runtime.Format.formatter ->
workspace_list ->
Ppx_deriving_runtime.unit
val show_workspace_list : workspace_list -> Ppx_deriving_runtime.string
val equal_workspace_list :
workspace_list ->
workspace_list ->
Ppx_deriving_runtime.bool
val pp_uid :
Ppx_deriving_runtime.Format.formatter ->
uid ->
Ppx_deriving_runtime.unit
val show_uid : uid -> Ppx_deriving_runtime.string
val pp_tid :
Ppx_deriving_runtime.Format.formatter ->
tid ->
Ppx_deriving_runtime.unit
val show_tid : tid -> Ppx_deriving_runtime.string
val pp_pid :
Ppx_deriving_runtime.Format.formatter ->
pid ->
Ppx_deriving_runtime.unit
val show_pid : pid -> Ppx_deriving_runtime.string
type time_entry = {
id : tid;
wid : wid;
uid : uid;
description : string;
at : datetime;
pid : pid option;
start : datetime;
stop : datetime option;
duration : int;
duronly : bool;
billable : bool;
}
Represents a time enty as will be returned from the Toggl API
val pp_time_entry :
Ppx_deriving_runtime.Format.formatter ->
time_entry ->
Ppx_deriving_runtime.unit
val show_time_entry : time_entry -> Ppx_deriving_runtime.string
val equal_time_entry : time_entry -> time_entry -> Ppx_deriving_runtime.bool
type time_entry_list = time_entry list
val pp_time_entry_list :
Ppx_deriving_runtime.Format.formatter ->
time_entry_list ->
Ppx_deriving_runtime.unit
val show_time_entry_list : time_entry_list -> Ppx_deriving_runtime.string
val equal_time_entry_list :
time_entry_list ->
time_entry_list ->
Ppx_deriving_runtime.bool
type tid_list = tid list
val pp_tid_list :
Ppx_deriving_runtime.Format.formatter ->
tid_list ->
Ppx_deriving_runtime.unit
val show_tid_list : tid_list -> Ppx_deriving_runtime.string
type project = {
id : pid;
wid : wid;
name : string;
at : datetime;
created_at : datetime option;
billable : bool;
is_private : bool;
active : bool;
auto_estimates : bool;
estimated_hours : bool;
actual_hours : int;
template : bool;
template_id : int option;
color : string option;
hex_color : string option;
}
Represents a project in Toggl
val pp_project :
Ppx_deriving_runtime.Format.formatter ->
project ->
Ppx_deriving_runtime.unit
val show_project : project -> Ppx_deriving_runtime.string
type project_list = project list
val pp_project_list :
Ppx_deriving_runtime.Format.formatter ->
project_list ->
Ppx_deriving_runtime.unit
val show_project_list : project_list -> Ppx_deriving_runtime.string
val equal_project_list :
project_list ->
project_list ->
Ppx_deriving_runtime.bool
type pid_list = pid list
val pp_pid_list :
Ppx_deriving_runtime.Format.formatter ->
pid_list ->
Ppx_deriving_runtime.unit
val show_pid_list : pid_list -> Ppx_deriving_runtime.string
val pp_data_time_entry :
Ppx_deriving_runtime.Format.formatter ->
data_time_entry ->
Ppx_deriving_runtime.unit
val show_data_time_entry : data_time_entry -> Ppx_deriving_runtime.string
val equal_data_time_entry :
data_time_entry ->
data_time_entry ->
Ppx_deriving_runtime.bool
Request types
val pp_data_project :
Ppx_deriving_runtime.Format.formatter ->
data_project ->
Ppx_deriving_runtime.unit
val show_data_project : data_project -> Ppx_deriving_runtime.string
val equal_data_project :
data_project ->
data_project ->
Ppx_deriving_runtime.bool
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>