Skip to content

Commit

Permalink
Allow optional model prop for device initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x authored Aug 17, 2023
1 parent 973834c commit 3e249a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/database/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ export interface DatabaseMethods {
connected_account_id: string
workspace_id: string
name: string
properties?: Partial<Device["properties"]>
properties?: Omit<Partial<Device["properties"]>, "model"> & {
model?: Partial<Device["properties"]["model"]>
}
errors?: Device["errors"]
warnings?: Device["warnings"]
created_at?: string
Expand Down

0 comments on commit 3e249a5

Please sign in to comment.