Files
formbricks/apps/web/modules/hub/index.ts
T
Dhruwang 963f89c524 refactor: use toSorted and remove redundant type alias in feedback records
Replace .sort() with .toSorted() to avoid mutating arrays in-place
during chaining, and remove the redundant CreateFeedbackRecordResult
type alias in favor of HubFeedbackRecordResult.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-29 10:30:41 +05:30

18 lines
439 B
TypeScript

export { getHubClient } from "./hub-client";
export {
createFeedbackRecord,
createFeedbackRecordsBatch,
listFeedbackRecords,
retrieveFeedbackRecord,
updateFeedbackRecord,
type HubFeedbackRecordResult,
type ListFeedbackRecordsResult,
} from "./service";
export type {
FeedbackRecordCreateParams,
FeedbackRecordData,
FeedbackRecordListParams,
FeedbackRecordListResponse,
FeedbackRecordUpdateParams,
} from "./types";