import { persisted, type Persisted } from '$lib/persisted/persisted'; export function projectHttpsWarningBannerDismissed(projectId: string): Persisted { const key = 'projectHttpsWarningBannerDismissed_'; return persisted(false, key + projectId); } export function projectMergeUpstreamWarningDismissed(projectId: string): Persisted { const key = 'projectMergeUpstreamWarningDismissed_'; return persisted(false, key + projectId); } export function projectCommitGenerationExtraConcise(projectId: string): Persisted { const key = 'projectCommitGenerationExtraConcise_'; return persisted(false, key + projectId); } export function projectCommitGenerationUseEmojis(projectId: string): Persisted { const key = 'projectCommitGenerationUseEmojis_'; return persisted(false, key + projectId); } export function projectCreatePullRequestInsteadOfPush(projectId: string): Persisted { const key = 'projectCreatePullRequestInsteadOfPush_'; return persisted(false, key + projectId); } export enum ListPRsFilter { All = 'ALL', ExcludeBots = 'EXCLUDE_BOTS', OnlyYours = 'ONLY_YOURS' } export function projectPullRequestListingFilter(projectId: string): Persisted { const key = 'projectPullRequestListingFilter_'; return persisted(ListPRsFilter.All, key + projectId); } export function projectAiGenEnabled(projectId: string): Persisted { const key = 'projectAiGenEnabled_'; return persisted(false, key + projectId); }