Skip to content

Commit

Permalink
feat: Remove type-fest (#88)
Browse files Browse the repository at this point in the history
* Remove type-fest

* ci: Format code

* Update README.md

Co-authored-by: Charles Pick <[email protected]>

* Update types

---------

Co-authored-by: Seam Bot <[email protected]>
Co-authored-by: Charles Pick <[email protected]>
  • Loading branch information
3 people authored Apr 12, 2024
1 parent 61e4e22 commit d11338b
Show file tree
Hide file tree
Showing 33 changed files with 129 additions and 146 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ The underlying HTTP client is [Axios].

## Installation

_This is a low-level package meant for applications and libraries with particular dependency requirements.
Before using this package, ensure you understand the installation and updating instructions.
This SDK is entirely contained in the [seam package]. Seam recommends using that package instead
for simpler dependency management._
> [!IMPORTANT]
> This is a low-level package meant for applications and libraries with particular dependency requirements.
> Before using this package, ensure you understand the installation and updating instructions.
> This SDK is entirely contained in the [seam package].
> Seam recommends using that package instead for simpler dependency management.
Add this as a dependency to your project using [npm] with

Expand Down Expand Up @@ -76,7 +77,8 @@ $ npm install -D @seamapi/types@latest

### Examples

_These examples assume `SEAM_API_KEY` is set in your environment._
> [!NOTE]
> These examples assume `SEAM_API_KEY` is set in your environment.
#### List devices

Expand Down Expand Up @@ -104,6 +106,7 @@ Authentication may be configured by passing the corresponding
options directly to the `SeamHttp` constructor,
or with the more ergonomic static factory methods.

> [!NOTE]
> Publishable Key authentication is not supported by the constructor
> and must be configured using `SeamHttp.fromPublishableKey`.
Expand Down
2 changes: 1 addition & 1 deletion generate-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ import type {
RouteRequestParams,
RouteResponse,
} from '@seamapi/types/connect'
import type { SetNonNullable } from 'type-fest'
import type { SetNonNullable } from 'lib/types.js'
import {
getAuthHeadersForClientSessionToken,
Expand Down
187 changes: 82 additions & 105 deletions package-lock.json

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,11 @@
"npm": ">= 9.0.0"
},
"peerDependencies": {
"@seamapi/types": "^1.154.1",
"type-fest": "^4.0.0"
"@seamapi/types": "^1.157.2"
},
"peerDependenciesMeta": {
"@seamapi/types": {
"optional": true
},
"type-fest": {
"optional": true
}
},
"dependencies": {
Expand All @@ -103,7 +99,7 @@
},
"devDependencies": {
"@seamapi/fake-seam-connect": "^1.44.2",
"@seamapi/types": "1.154.1",
"@seamapi/types": "1.157.2",
"@types/eslint": "^8.44.2",
"@types/node": "^20.8.10",
"ava": "^5.0.1",
Expand All @@ -126,7 +122,6 @@
"tsc-alias": "^1.8.2",
"tsup": "^8.0.1",
"tsx": "^4.6.2",
"type-fest": "^4.3.1",
"typedoc": "^0.25.2",
"typescript": "~5.3.0"
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/access-codes-unmanaged.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/access-codes.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/acs-access-groups.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/acs-credential-pools.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/acs-credentials.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/acs-entrances.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/acs-systems.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/acs-users.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/action-attempts.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/client-sessions.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/connect-webviews.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/connected-accounts.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/devices-simulate.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/devices-unmanaged.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/devices.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/events.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/locks.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/seam/connect/routes/networks.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d11338b

Please sign in to comment.