Skip to content

Commit

Permalink
feat: add back compat alias for InputJsonDelta
Browse files Browse the repository at this point in the history
  • Loading branch information
yjp20 authored and stainless-app[bot] committed Jul 29, 2024
1 parent e64cd50 commit 711d1d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export {
ContentBlockStartEvent,
ContentBlockStopEvent,
ImageBlockParam,
InputJsonDelta,
InputJSONDelta,
Message,
MessageDeltaEvent,
Expand Down
3 changes: 3 additions & 0 deletions src/resources/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ export namespace ImageBlockParam {
}
}

export type InputJsonDelta = InputJSONDelta;

export interface InputJSONDelta {
partial_json: string;

Expand Down Expand Up @@ -722,6 +724,7 @@ export namespace Messages {
export import ContentBlockStartEvent = MessagesAPI.ContentBlockStartEvent;
export import ContentBlockStopEvent = MessagesAPI.ContentBlockStopEvent;
export import ImageBlockParam = MessagesAPI.ImageBlockParam;
export import InputJJsonDelta = MessagesAPI.InputJsonDelta;
export import InputJSONDelta = MessagesAPI.InputJSONDelta;
export import Message = MessagesAPI.Message;
export import MessageDeltaEvent = MessagesAPI.MessageDeltaEvent;
Expand Down

0 comments on commit 711d1d5

Please sign in to comment.