Skip to content

Commit

Permalink
feat: add timezone ignore setting (#2600)
Browse files Browse the repository at this point in the history
  • Loading branch information
capJavert authored Jan 16, 2025
1 parent f30950f commit 81866f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/entity/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export type SettingsFlags = Partial<{
sidebarBookmarksExpanded: boolean;
clickbaitShieldEnabled: boolean;
prompt: object;
timezoneMismatchIgnore: string;
}>;

export type SettingsFlagsPublic = Pick<
Expand All @@ -38,6 +39,7 @@ export type SettingsFlagsPublic = Pick<
| 'sidebarBookmarksExpanded'
| 'clickbaitShieldEnabled'
| 'prompt'
| 'timezoneMismatchIgnore'
>;

@Entity()
Expand Down
2 changes: 2 additions & 0 deletions src/schema/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const typeDefs = /* GraphQL */ `
sidebarResourcesExpanded: Boolean
sidebarBookmarksExpanded: Boolean
clickbaitShieldEnabled: Boolean
timezoneMismatchIgnore: String
}
input SettingsFlagsPublicInput {
Expand All @@ -73,6 +74,7 @@ export const typeDefs = /* GraphQL */ `
sidebarBookmarksExpanded: Boolean
clickbaitShieldEnabled: Boolean
prompt: JSONObject
timezoneMismatchIgnore: String
}
"""
Expand Down

0 comments on commit 81866f8

Please sign in to comment.