@the-inkwell/shared 0.1.6 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.1.6",
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 AdminWebsiteStaticPageUpdateRequest = {
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
@@ -5,14 +5,3 @@ export type AuthOtpRequest = {
5
5
  export type AuthSignInRequest = {
6
6
  code: string
7
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