Skip to content

Commit 849c93a

Browse files
fix: update preference set types (#78)
* fix: update preference set types * bump version
1 parent cd393a1 commit 849c93a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@knocklabs/node",
3-
"version": "0.6.13",
3+
"version": "0.6.14",
44
"description": "Library for interacting with the Knock API",
55
"homepage": "https://github.com/knocklabs/knock-node",
66
"author": "@knocklabs",
@@ -45,4 +45,4 @@
4545
"engines": {
4646
"node": ">=17.5.0"
4747
}
48-
}
48+
}

src/resources/preferences/interfaces.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ export interface SetPreferencesProperties {
2525

2626
export interface PreferenceSet {
2727
id: string;
28-
categories: WorkflowPreferences;
29-
workflows: WorkflowPreferences;
30-
channel_types: ChannelTypePreferences;
28+
categories: WorkflowPreferences | null;
29+
workflows: WorkflowPreferences | null;
30+
channel_types: ChannelTypePreferences | null;
3131
}
3232

3333
export interface PreferenceOptions {

0 commit comments

Comments
 (0)