@natch-the-storage/heathershaw-platform-types 1.16.2 → 1.16.3

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.
@@ -214,13 +214,12 @@ export interface Order {
214
214
  draft: boolean;
215
215
  reasonMarkedPaid?: string;
216
216
  paymentLinkToken?: string;
217
+ log: LogItem[];
217
218
  }
218
- export type OrderCreate = Omit<Order, 'id' | 'status' | 'created' | 'draft' | 'paymentLinkToken'> & {
219
+ export type OrderCreate = Omit<Order, 'id' | 'status' | 'created' | 'draft' | 'paymentLinkToken' | 'log'> & {
219
220
  draft?: boolean;
220
221
  };
221
- export type OrderUpdate = Partial<Order> & {
222
- id: number;
223
- };
222
+ export type OrderUpdate = Partial<Order> & Pick<Order, 'id'>;
224
223
  export interface OrderAddress {
225
224
  fulfillment: OrderFulfillment;
226
225
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.16.2",
3
+ "version": "1.16.3",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",