api-arreya-types 1.0.15 → 1.0.16

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.
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { Project } from './project.type';
2
3
  export declare const Device: z.ZodObject<{
3
4
  id: z.ZodString;
4
5
  name: z.ZodNullable<z.ZodString>;
@@ -91,6 +92,9 @@ export declare const PairDevice: z.ZodObject<{
91
92
  projectId: string;
92
93
  }>;
93
94
  export type Device = z.infer<typeof Device>;
95
+ export type DeviceExtended = Device & {
96
+ project: Project | null;
97
+ };
94
98
  export type CreateDevice = z.infer<typeof CreateDevice>;
95
99
  export type UpdateDevice = z.infer<typeof UpdateDevice>;
96
100
  export type PairDevice = z.infer<typeof PairDevice>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api-arreya-types",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "private": false,