@the-inkwell/shared 0.1.5 → 0.1.7

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.5",
3
+ "version": "0.1.7",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin)",
@@ -1,5 +1,20 @@
1
- export type AdminWebsiteStaticPageUpdateInput = {
1
+ type AdminWebsiteStaticPage = {
2
2
  content: {
3
3
  [key: string]: string
4
4
  }
5
5
  }
6
+
7
+ type AdminWebsiteStaticPageParams = {
8
+ slug: string
9
+ }
10
+
11
+ export type AdminWebsiteStaticPageRequestParams = AdminWebsiteStaticPageParams
12
+
13
+ export type AdminWebsiteStaticPageResponse = {
14
+ slug: string
15
+ } & AdminWebsiteStaticPage
16
+
17
+ export type AdminWebsiteStaticPageUpdateRequestParams =
18
+ AdminWebsiteStaticPageParams
19
+
20
+ export type AdminWebsiteStaticPageUpdateRequest = AdminWebsiteStaticPage
@@ -0,0 +1,7 @@
1
+ export type AuthOtpRequest = {
2
+ email: string
3
+ }
4
+
5
+ export type AuthSignInRequest = {
6
+ code: string
7
+ }
@@ -1 +1,2 @@
1
1
  export * from './admin'
2
+ export * from './auth'