refactor(core): drop legacy compaction event (#33404)
This commit is contained in:
parent
130957288e
commit
1787fa4261
9 changed files with 122 additions and 19 deletions
|
|
@ -436,20 +436,9 @@ export namespace Compaction {
|
|||
})
|
||||
export type Delta = typeof Delta.Type
|
||||
|
||||
// Retain the unpublished v1 decoder so stored beta events remain replayable.
|
||||
export const EndedV1 = EventV2.define({
|
||||
type: "session.next.compaction.ended",
|
||||
...options,
|
||||
schema: {
|
||||
...Base,
|
||||
text: Schema.String,
|
||||
include: Schema.String.pipe(Schema.optional),
|
||||
},
|
||||
})
|
||||
|
||||
export const Ended = EventV2.define({
|
||||
type: "session.next.compaction.ended",
|
||||
durable: { aggregate: "sessionID", version: 2 },
|
||||
...options,
|
||||
schema: {
|
||||
...Base,
|
||||
messageID: SessionMessageID.ID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue