Skip to content

Commit

Permalink
fix: update preference set types (#78)
Browse files Browse the repository at this point in the history
* fix: update preference set types

* bump version
  • Loading branch information
connorlindsey authored Nov 13, 2024
1 parent cd393a1 commit 849c93a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@knocklabs/node",
"version": "0.6.13",
"version": "0.6.14",
"description": "Library for interacting with the Knock API",
"homepage": "https://github.com/knocklabs/knock-node",
"author": "@knocklabs",
Expand Down Expand Up @@ -45,4 +45,4 @@
"engines": {
"node": ">=17.5.0"
}
}
}
6 changes: 3 additions & 3 deletions src/resources/preferences/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export interface SetPreferencesProperties {

export interface PreferenceSet {
id: string;
categories: WorkflowPreferences;
workflows: WorkflowPreferences;
channel_types: ChannelTypePreferences;
categories: WorkflowPreferences | null;
workflows: WorkflowPreferences | null;
channel_types: ChannelTypePreferences | null;
}

export interface PreferenceOptions {
Expand Down

0 comments on commit 849c93a

Please sign in to comment.