@the-inkwell/shared 0.1.7 → 0.1.9

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);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin)",
@@ -1 +1,2 @@
1
+ export * from './persons'
1
2
  export * from './website'
@@ -0,0 +1,14 @@
1
+ import { ListResponse } from '../../shared'
2
+
3
+ export type Person = any // TODO add this
4
+
5
+ export type PersonResponse = Person
6
+
7
+ export type PersonsSearchRequest = {
8
+ take: number
9
+ skip: number
10
+ orderBy: any // TODO add this
11
+ where: any // TODO add this
12
+ }
13
+
14
+ export type PersonsSearchResponse = ListResponse<Person>
@@ -0,0 +1,4 @@
1
+ export type ListResponse<T> = {
2
+ count: number
3
+ results: T[]
4
+ }