chore: add utils

This commit is contained in:
DarkSky
2026-05-09 02:32:10 +08:00
parent 5813e7dd77
commit 32a94d68dc
9 changed files with 464 additions and 38 deletions
+15
View File
@@ -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"""