Skip to content

Commit 749a977

Browse files
committed
revert mix format
1 parent 0b434e0 commit 749a977

4 files changed

Lines changed: 32 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,18 @@ jobs:
3131
- typesense: '0.25.2'
3232
otp: '25'
3333
elixir: '1.14'
34-
lint: true
3534
- typesense: '26.0'
3635
otp: '25'
3736
elixir: '1.14'
38-
lint: true
3937
- typesense: '27.1'
4038
otp: '25'
4139
elixir: '1.14'
42-
lint: true
4340
- typesense: '0.25.2'
4441
otp: '27'
4542
elixir: '1.17'
46-
lint: true
4743
- typesense: '26.0'
4844
otp: '27'
4945
elixir: '1.17'
50-
lint: true
5146
- typesense: '27.1'
5247
otp: '27'
5348
elixir: '1.17'
@@ -119,6 +114,9 @@ jobs:
119114
run: mix credo --all --strict
120115
if: ${{ matrix.lint }}
121116

117+
# TODO: how do we fix problem in Github Actions? there's some weird
118+
# thing where it just throws format error even though mix format
119+
# is ran multiple times locally!
122120
# - name: Check format files
123121
# run: mix format --check-formatted
124122
# if: ${{ matrix.lint }}

.iex.exs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
alias OpenApiTypesense.Client
1+
alias OpenApiTypesense.Client
2+
alias OpenApiTypesense.Connection
3+
4+
alias OpenApiTypesense.Analytics
5+
alias OpenApiTypesense.Collections
6+
alias OpenApiTypesense.Curation
7+
alias OpenApiTypesense.Debug
8+
alias OpenApiTypesense.Documents
9+
alias OpenApiTypesense.Health
10+
alias OpenApiTypesense.Keys
11+
alias OpenApiTypesense.Operations
12+
alias OpenApiTypesense.Override
13+
alias OpenApiTypesense.Presets
14+
alias OpenApiTypesense.Stopwords
15+
alias OpenApiTypesense.Synonyms

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## major.minor.patch (yyyy.mm.dd)
99

10+
## 0.2.0 (2024.12.xx)
11+
12+
### Changed
13+
14+
* Bumped dependencies
15+
16+
### Added
17+
18+
* Default client, currently using [`Req`](https://hexdocs.pm/req).
19+
* `Connection` module, which is taken from [`ExTypesense`](https://hexdocs.pm/ex_typesense) because someone requested for loading of credentials at runtime.
20+
* `defstruct` in Modules `Debug`, `Documents` and `Stopwords` because it is throwing undefined struct error.
21+
1022
## 0.1.0 (2024.11.08)
1123

1224
* Initial release

lib/open_api_typesense/operations/documents.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ defmodule OpenApiTypesense.Documents do
33
Provides API endpoints related to documents
44
"""
55

6+
defstruct [:num_deleted, :num_updated]
7+
68
@default_client OpenApiTypesense.Client
79

810
@doc """

0 commit comments

Comments
 (0)