refactor(schema): tighten public contracts (#33771)
This commit is contained in:
@@ -6,4 +6,5 @@ import { PositiveInt } from "./schema"
|
||||
export const ConnectToken = Schema.Struct({
|
||||
ticket: Schema.String,
|
||||
expires_in: PositiveInt,
|
||||
})
|
||||
}).annotate({ identifier: "PtyTicket.ConnectToken" })
|
||||
export interface ConnectToken extends Schema.Schema.Type<typeof ConnectToken> {}
|
||||
|
||||
Reference in New Issue
Block a user