@base44-preview/sdk 0.8.52-pr.286.2dbb896 → 0.8.52-pr.286.e333f30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,4 +4,4 @@ export { PlatformSocketError } from "./errors.js";
|
|
|
4
4
|
export type { PlatformSocketErrorCode } from "./errors.types.js";
|
|
5
5
|
export type { PlatformClientOptions } from "./client.types.js";
|
|
6
6
|
export type { BuilderModule, BuilderInitOptions, BuilderSession, PlatformSubscription, SubscriptionOptions } from "./modules/builder.types.js";
|
|
7
|
-
export type { AppUpdate, AppStatus, ChatMessage, MessageParams, ToolCall, ToolDisplayProjection, ToolQuestionOption, ToolQuestion, ToolQuestionArguments, ToolSecretField, ToolSecretArguments, ToolPackageOperation, ToolPackageArguments, ToolPlanUpdate, ToolPlanArguments, ToolPrdArguments, ToolMediaArguments, ToolMediaResult, ToolQuestionAnswer, ToolQuestionInput, ToolOutcome, ToolGuardApproval, ToolResult, QueueItem, QueueUpdate, TaskUpdate, ImageReady, Directive, PlatformEventMap, PlatformEvent, Snapshot } from "./modules/builder.events.types.js";
|
|
7
|
+
export type { AppUpdate, AppStatus, ChatMessage, DeletedMessage, MessageParams, ToolCall, ToolDisplayProjection, ToolQuestionOption, ToolQuestion, ToolQuestionArguments, ToolSecretField, ToolSecretArguments, ToolPackageOperation, ToolPackageArguments, ToolPlanUpdate, ToolPlanArguments, ToolPrdArguments, ToolMediaArguments, ToolMediaResult, ToolQuestionAnswer, ToolQuestionInput, ToolOutcome, ToolGuardApproval, ToolResult, QueueItem, QueueUpdate, TaskUpdate, ImageReady, Directive, PlatformEventMap, PlatformEvent, Snapshot } from "./modules/builder.events.types.js";
|
|
@@ -232,12 +232,19 @@ export interface AppStatus {
|
|
|
232
232
|
/** Existing state timestamp. */
|
|
233
233
|
last_updated_date?: string | null;
|
|
234
234
|
}
|
|
235
|
+
/** Removes the message with this identifier. */
|
|
236
|
+
export interface DeletedMessage {
|
|
237
|
+
/** Message identifier. */
|
|
238
|
+
id: string;
|
|
239
|
+
/** Always true. */
|
|
240
|
+
is_deleted: true;
|
|
241
|
+
}
|
|
235
242
|
/** Partial app update. Omitted keys mean unchanged; explicit null means clear. */
|
|
236
243
|
export interface AppUpdate {
|
|
237
244
|
/** Public builder state. */
|
|
238
245
|
status?: AppStatus | null;
|
|
239
|
-
/** Whole-message replacement by identifier, not a recursive message patch. */
|
|
240
|
-
_last_msg?: ChatMessage | null;
|
|
246
|
+
/** Whole-message replacement or removal by identifier, not a recursive message patch. */
|
|
247
|
+
_last_msg?: ChatMessage | DeletedMessage | null;
|
|
241
248
|
/** Conversation containing the replacement message. */
|
|
242
249
|
_last_msg_conversation_id?: string | null;
|
|
243
250
|
/** Existing branch scope, if supplied by the producer. */
|