Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and joshamaju committed Jan 23, 2024
1 parent 35673ad commit 7413da3
Show file tree
Hide file tree
Showing 6 changed files with 192 additions and 11 deletions.
5 changes: 0 additions & 5 deletions .changeset/seven-papayas-smash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/violet-radios-remain.md

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# effect-fetch

## 1.3.0

### Minor Changes

- 35673ad: Client with default http methods
- 275041a: Base URL interceptor that attaches a base URL to every request

## 1.2.7

### Patch Changes
Expand Down
154 changes: 154 additions & 0 deletions docs/modules/Client.ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
---
title: Client.ts
nav_order: 2
parent: Modules
---

## Client overview

Added in v1.3.0

---

<h2 class="text-delta">Table of contents</h2>

- [constructor](#constructor)
- [delete](#delete)
- [get](#get)
- [head](#head)
- [layer](#layer)
- [make](#make)
- [options](#options)
- [patch](#patch)
- [post](#post)
- [put](#put)
- [model](#model)
- [Client (interface)](#client-interface)
- [tag](#tag)
- [Client](#client)

---

# constructor

## delete

**Signature**

```ts
export declare const delete: Handler
```
Added in v1.3.0
## get
**Signature**
```ts
export declare const get: Handler
```
Added in v1.3.0
## head
**Signature**
```ts
export declare const head: Handler
```
Added in v1.3.0
## layer
**Signature**
```ts
export declare const layer: Layer.Layer<Fetch, never, Client>
```
Added in v1.3.0
## make
**Signature**
```ts
export declare const make: Effect<Fetch, never, Client>
```
Added in v1.3.0
## options
**Signature**
```ts
export declare const options: Handler
```
Added in v1.3.0
## patch
**Signature**
```ts
export declare const patch: Handler
```
Added in v1.3.0
## post
**Signature**
```ts
export declare const post: Handler
```
Added in v1.3.0
## put
**Signature**
```ts
export declare const put: Handler
```
Added in v1.3.0
# model
## Client (interface)
**Signature**
```ts
export interface Client {
put: Fetch
get: Fetch
head: Fetch
post: Fetch
patch: Fetch
delete: Fetch
options: Fetch
}
```

Added in v1.3.0

# tag

## Client

**Signature**

```ts
export declare const Client: Tag<Client, Client>
```
Added in v1.3.0
30 changes: 30 additions & 0 deletions docs/modules/Interceptors/Url.ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: Interceptors/Url.ts
nav_order: 8
parent: Modules
---

## Url overview

Added in v1.3.0

---

<h2 class="text-delta">Table of contents</h2>

- [interceptor](#interceptor)
- [Url](#url)

---

# interceptor

## Url

**Signature**

```ts
export declare const Url: (base: string) => Effect.Effect<Interceptor.Context, HttpError, Response>
```
Added in v1.3.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "effect-fetch",
"version": "1.2.7",
"version": "1.3.0",
"description": "fetch + interceptors + strongly typed errors",
"type": "module",
"homepage": "https://github.com/joshamaju/effect-fetch",
Expand Down

0 comments on commit 7413da3

Please sign in to comment.