@the-inkwell/shared 0.1.6 → 0.1.8
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.
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./persons"), exports);
|
|
17
18
|
__exportStar(require("./website"), exports);
|
package/package.json
CHANGED
package/src/types/admin/index.ts
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
|
|
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
|
package/src/types/auth/index.ts
CHANGED
|
@@ -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
|