@faable/auth-sdk 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/FaableAuthApi.d.ts +57 -1
- package/dist/FaableAuthApi.js +6 -0
- package/dist/types/api.d.ts +1911 -0
- package/dist/types/api.js +6 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.js +2 -0
- package/package.json +4 -2
- package/tsconfig.json +2 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { components } from "./api";
|
|
2
|
+
export type User = components["schemas"]["User"];
|
|
3
|
+
export type UserCreate = components["schemas"]["UserCreate"];
|
|
4
|
+
export type UserUpdate = components["schemas"]["UserUpdate"];
|
|
5
|
+
export type Team = components["schemas"]["Team"];
|
|
6
|
+
export type TeamMember = components["schemas"]["TeamMember"];
|
|
7
|
+
export type TeamCreate = components["schemas"]["TeamCreate"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faable/auth-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"author": "Marc Pomar <marc@faable.com>",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,14 +13,16 @@
|
|
|
13
13
|
"axios": "^1.6.2"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
+
"@ava/typescript": "^5.0.0",
|
|
16
17
|
"@types/node": "^20.10.5",
|
|
18
|
+
"ava": "^6.1.3",
|
|
17
19
|
"openapi-typescript": "^6.7.3",
|
|
18
20
|
"rimraf": "^5.0.5",
|
|
19
21
|
"semantic-release": "^22.0.12",
|
|
20
22
|
"typescript": "^5.3.3"
|
|
21
23
|
},
|
|
22
24
|
"scripts": {
|
|
23
|
-
"gentypes": "openapi-typescript https://faable.auth.faable.link/docs/json -o src/types/api.
|
|
25
|
+
"gentypes": "openapi-typescript https://faable.auth.faable.link/docs/json -o src/types/api.ts",
|
|
24
26
|
"build": "rimraf dist && tsc",
|
|
25
27
|
"prepublishOnly": "yarn run gentypes && yarn run build",
|
|
26
28
|
"release": "semantic-release"
|