Skip to content

Commit

Permalink
chore(merge): v1.5.0-release
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkasa committed Nov 25, 2024
2 parents 7d68411 + 9ddb509 commit ef83b6f
Show file tree
Hide file tree
Showing 33 changed files with 2,400 additions and 1,394 deletions.
7 changes: 6 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
hide:
- navigation
---

# Changelog

All notable changes to this project will be documented in this file.
Expand All @@ -16,7 +21,7 @@ All notable changes to this project will be documented in this file.

### 🚜 Refactor

- *(tag)* Edit endpoint method accepts seperate name argument
- *(tag)* Edit endpoint method accepts separate name argument
- *(tag)* Validate minimum name length
- *(endpoint)* Use generics with base endpoint
- *(cache)* User generic type with cache
Expand Down
2 changes: 2 additions & 0 deletions docs/api-guide/endpoint.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
::: toggl_api.meta.enums.RequestMethod
options:
show_source: true

***

Expand Down
19 changes: 17 additions & 2 deletions docs/api-guide/model.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,56 @@
# Abstract Classes
## Abstract Classes

::: toggl_api.models.TogglClass
options:
show_source: true
members:
- from_kwargs

::: toggl_api.models.WorkspaceChild
options:
show_source: true

---

# Main Models
## Main Models

::: toggl_api.TogglOrganization
options:
show_source: true
members:
- validate_name
- from_kwargs

::: toggl_api.TogglWorkspace
options:
show_source: true
members:
- validate_name
- from_kwargs

::: toggl_api.TogglClient
options:
show_source: true
members:
- from_kwargs

::: toggl_api.TogglProject
options:
show_source: true
members:
- Status
- get_status
- from_kwargs

::: toggl_api.TogglTracker
options:
show_source: true
members:
- running
- from_kwargs

::: toggl_api.TogglTag
options:
show_source: true
members:
- from_kwargs
4 changes: 3 additions & 1 deletion docs/api-guide/project.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
::: toggl_api.ProjectBody

options:
show_source: true

::: toggl_api.ProjectEndpoint
options:
Expand All @@ -13,3 +14,4 @@
- add
- get_color
- get_color_id
- status_to_query
33 changes: 2 additions & 31 deletions docs/api-guide/project_structure.txt
Original file line number Diff line number Diff line change
@@ -1,36 +1,7 @@
toggl_api
├── meta
│ ├── cache
│ │ ├── __init__.py
│ │ ├── base_cache.py
│ │ ├── json_cache.py
│ │ └── sqlite_cache.py
│ ├── __init__.py
│ ├── base_endpoint.py
│ ├── body.py
│ ├── cached_endpoint.py
│ └── enums.py
├── models
│ ├── __init__.py
│ ├── _decorators.py
│ ├── models.py
│ └── schema.py
├── reports
│ ├── __init__.py
│ └── reports.py
├── __init__.py
├── client.py
├── config.py
├── project.py
├── tag.py
├── tracker.py
├── user.py
├── utility.py
├── version.py
└── workspace.py
toggl_api
├── client.py
├── config.py
├── _exceptions.py
├── __init__.py
├── meta
│   ├── base_endpoint.py
Expand Down Expand Up @@ -61,4 +32,4 @@ toggl_api
├── version.py
└── workspace.py

5 directories, 27 files
5 directories, 28 files
11 changes: 11 additions & 0 deletions docs/api-guide/tracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
show_source: true
members:
- edit
- bulk_edit
- delete
- stop
- add
Expand All @@ -21,3 +22,13 @@
- get
- verify_authentication
- get_details

## Types

::: toggl_api.BulkEditParameter
options:
show_source: true

::: toggl_api.Edits
options:
show_source: true
Loading

0 comments on commit ef83b6f

Please sign in to comment.