Skip to content

fix: post-merge/OAPI-reconciliation adjustments - #1812

Open
arnautov-anton wants to merge 1 commit into
release-v10from
v10-post-merge-adjustments
Open

fix: post-merge/OAPI-reconciliation adjustments#1812
arnautov-anton wants to merge 1 commit into
release-v10from
v10-post-merge-adjustments

Conversation

@arnautov-anton

Copy link
Copy Markdown
Contributor

No description provided.

@arnautov-anton arnautov-anton changed the title fix: post-merge adjustments fix: post-merge/OAPI-reconciliation adjustments Aug 4, 2026
@arnautov-anton
arnautov-anton force-pushed the v10-post-merge-adjustments branch 2 times, most recently from bf51d81 to ccf70c0 Compare August 11, 2026 16:29
@arnautov-anton
arnautov-anton force-pushed the v10-post-merge-adjustments branch from ccf70c0 to 6257e5b Compare August 11, 2026 16:32
Comment thread src/utils.ts

export const isLocalMessage = (message: unknown): message is LocalMessage =>
isDate((message as LocalMessage).created_at);
typeof (message as LocalMessage | undefined)?.status === 'string';

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important one to check, @isekovanic and @MartinCupela.

Comment thread src/types.ts
Comment on lines -1110 to -1141

export type EventAPIResponse = APIResponse & {
event: Event;
};

export type PartializeKeys<T, K extends keyof T> = Partial<Pick<T, K>> & Omit<T, K>;

type ErrorResponseDetails = {
code: number;
messages: string[];
};

export type APIErrorResponse = {
duration: string;
message: string;
more_info: string;
StatusCode: number;
code?: number;
details?: ErrorResponseDetails;
};

export type DraftMessagePayload = PartializeKeys<
Omit<DraftMessage, 'mentioned_groups'>,
'id'
> & {
user_id?: string;
};

export type QueryRemindersOptions = Pager & {
filter?: ReminderFilters;
sort?: ReminderSort;
};

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaced all of these with generated equivalents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants