refactor(schema): normalize module patterns (#33770)

This commit is contained in:
Kit Langton 2026-06-25 17:42:22 +02:00 committed by GitHub
commit 7854f5b9f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
50 changed files with 204 additions and 202 deletions

View file

@ -2,7 +2,7 @@ export * as Revert from "./revert"
import { Schema } from "effect"
import { NonNegativeInt, RelativePath } from "./schema"
import { SessionMessageID } from "./session-message-id"
import { SessionMessage } from "./session-message"
export const FileDiff = Schema.Struct({
path: RelativePath,
@ -14,7 +14,7 @@ export const FileDiff = Schema.Struct({
export type FileDiff = typeof FileDiff.Type
export const State = Schema.Struct({
messageID: SessionMessageID.ID,
messageID: SessionMessage.ID,
partID: Schema.String.pipe(Schema.optional),
snapshot: Schema.String.pipe(Schema.optional),
diff: Schema.String.pipe(Schema.optional),