refactor: save request handle in tabs and remove tabs related logic from personal provider definition
This commit is contained in:
@@ -492,6 +492,13 @@ const HoppRESTResponseSchema = z.discriminatedUnion("type", [
|
||||
|
||||
const HoppRESTSaveContextSchema = z.nullable(
|
||||
z.discriminatedUnion("originLocation", [
|
||||
z
|
||||
.object({
|
||||
originLocation: z.literal("workspace-user-collection"),
|
||||
// TODO: Specify the correct shape
|
||||
requestHandle: z.any(),
|
||||
})
|
||||
.strict(),
|
||||
z
|
||||
.object({
|
||||
originLocation: z.literal("user-collection"),
|
||||
|
||||
Reference in New Issue
Block a user