mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 20:16:26 +08:00
chore: add utils
This commit is contained in:
@@ -91,6 +91,20 @@ type AdminDashboardValueDayPoint {
|
||||
value: SafeInt!
|
||||
}
|
||||
|
||||
type AdminLicensePreview {
|
||||
endAt: DateTime!
|
||||
entity: String!
|
||||
expiresAt: DateTime!
|
||||
id: String!
|
||||
issuedAt: DateTime!
|
||||
issuer: String!
|
||||
plan: SubscriptionPlan!
|
||||
quantity: Int!
|
||||
recurring: SubscriptionRecurring!
|
||||
valid: Boolean!
|
||||
workspaceId: String!
|
||||
}
|
||||
|
||||
type AdminSharedLinkTopItem {
|
||||
docId: String!
|
||||
guestViews: SafeInt!
|
||||
@@ -1632,6 +1646,7 @@ type Mutation {
|
||||
|
||||
"""mention user in a doc"""
|
||||
mentionUser(input: MentionInput!): ID!
|
||||
previewLicense(license: Upload!): AdminLicensePreview!
|
||||
publishDoc(docId: String!, mode: PublicDocMode = Page, workspaceId: String!): DocType!
|
||||
|
||||
"""queue workspace doc embedding"""
|
||||
|
||||
Reference in New Issue
Block a user