mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-13 16:16:46 +08:00
@@ -76,6 +76,12 @@ type DeleteAccount {
|
||||
success: Boolean!
|
||||
}
|
||||
|
||||
input DeleteSessionInput {
|
||||
docId: String!
|
||||
sessionIds: [String!]!
|
||||
workspaceId: String!
|
||||
}
|
||||
|
||||
type DocHistoryType {
|
||||
id: String!
|
||||
timestamp: DateTime!
|
||||
@@ -184,6 +190,9 @@ type Mutation {
|
||||
changeEmail(email: String!, token: String!): UserType!
|
||||
changePassword(newPassword: String!, token: String!): UserType!
|
||||
|
||||
"""Cleanup sessions"""
|
||||
cleanupCopilotSession(options: DeleteSessionInput!): String!
|
||||
|
||||
"""Create a subscription checkout link of stripe"""
|
||||
createCheckoutSession(input: CreateCheckoutSessionInput!): String!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user