@the-inkwell/shared 0.1.4 → 0.1.6

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.
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./admin"), exports);
18
+ __exportStar(require("./auth"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin)",
@@ -9,7 +9,7 @@
9
9
  "scripts": {
10
10
  "build": "tsc",
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
- "publish": "npm run build && npm publish"
12
+ "release": "npm run build && npm publish"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/node": "^22.13.1",
@@ -1,4 +1,4 @@
1
- export type AdminWebsiteStaticPageUpdateInput = {
1
+ export type AdminWebsiteStaticPageUpdateRequest = {
2
2
  content: {
3
3
  [key: string]: string
4
4
  }
@@ -0,0 +1,18 @@
1
+ export type AuthOtpRequest = {
2
+ email: string
3
+ }
4
+
5
+ export type AuthSignInRequest = {
6
+ code: string
7
+ }
8
+
9
+ export type AuthSignInResponse = {
10
+ accessToken: string
11
+ refreshToken: string
12
+ }
13
+
14
+ export type AuthSignInRefreshRequest = {
15
+ refreshToken: string
16
+ }
17
+
18
+ export type AuthSignInRefreshResponse = AuthSignInResponse
@@ -1 +1,2 @@
1
1
  export * from './admin'
2
+ export * from './auth'