@the-inkwell/shared 0.1.72 → 0.1.74

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.72",
3
+ "version": "0.1.74",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin)",
@@ -9,7 +9,7 @@ import { type ListRequest, type ListResponse } from '../../../utils'
9
9
 
10
10
  // detail
11
11
 
12
- export type AdminCandidacy = Omit<Candidacy, 'id'> & { id: string }
12
+ export type AdminCandidacy = Candidacy
13
13
  export type AdminCandidacyQueryParams = Pick<AdminCandidacy, 'id'>
14
14
  export type AdminCandidacyResponse = AdminCandidacy & {
15
15
  referral?: Pick<Referral, 'id'>
@@ -1,6 +1,6 @@
1
1
  import Person from '../../_schema/Person'
2
2
  import Otp from '../../_schema/Otp'
3
3
 
4
- export type AuthOtpCreate = Pick<Person, 'email'>
4
+ export type AuthOtpCreateInput = Pick<Person, 'email'>
5
5
 
6
- export type AuthSignInCreate = Pick<Otp, 'code'>
6
+ export type AuthSignInCreateInput = Pick<Otp, 'code'>
@@ -8,8 +8,8 @@ export type ListRequest<
8
8
  TFilter = unknown,
9
9
  TAdditional = unknown
10
10
  > = TAdditional & {
11
- take: 50 | 100 | 200 | 500
12
- skip: number
11
+ limit: 50 | 100 | 200 | 500
12
+ offset: number
13
13
  sort?: TSort
14
14
  filter?: TFilter
15
15
  }