mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-23 02:34:21 +01:00
sync
This commit is contained in:
@@ -24,11 +24,15 @@ import { Bus } from "../bus";
|
||||
export namespace Session {
|
||||
const log = Log.create({ service: "session" });
|
||||
|
||||
export const Info = z.object({
|
||||
id: Identifier.schema("session"),
|
||||
shareID: z.string().optional(),
|
||||
title: z.string(),
|
||||
});
|
||||
export const Info = z
|
||||
.object({
|
||||
id: Identifier.schema("session"),
|
||||
shareID: z.string().optional(),
|
||||
title: z.string(),
|
||||
})
|
||||
.openapi({
|
||||
ref: "session.info",
|
||||
});
|
||||
export type Info = z.output<typeof Info>;
|
||||
|
||||
export const Event = {
|
||||
|
||||
Reference in New Issue
Block a user