@the-inkwell/shared 0.1.127 → 0.1.129

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.
@@ -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("./home"), exports);
18
+ __exportStar(require("./shared"), exports);
@@ -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.127",
3
+ "version": "0.1.129",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",
@@ -17,7 +17,26 @@ export type AdminPersonResponse = AdminPerson
17
17
  // list
18
18
 
19
19
  export type AdminPersonListInput = ListRequest
20
- export type AdminPersonListResponse = ListResponse<AdminPerson>
20
+ export type AdminPersonListResponse = ListResponse<
21
+ Pick<
22
+ AdminPerson,
23
+ | 'id'
24
+ | 'firstName'
25
+ | 'lastName'
26
+ | 'email'
27
+ | 'linkedInUrl'
28
+ | 'photoUrl'
29
+ | 'createdAt'
30
+ | 'updatedAt'
31
+ | 'deletedAt'
32
+ | 'source'
33
+ > & {
34
+ _referralsCount: number
35
+ _referredIndustries: any
36
+ _referredLocations: any
37
+ _referredSkills: any
38
+ }
39
+ >
21
40
 
22
41
  // create
23
42
 
@@ -6,7 +6,7 @@ import {
6
6
  AdminWebsiteStaticPageParams,
7
7
  AdminWebsiteStaticPageResponse,
8
8
  AdminWebsiteStaticPageUpdateParams
9
- } from './_shared'
9
+ } from './shared'
10
10
 
11
11
  export type AdminWebsiteStaticPageHome = AdminWebsiteStaticPage & {
12
12
  content: {
@@ -1 +1,2 @@
1
1
  export * from './home'
2
+ export * from './shared'