mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 04:36:13 +08:00
feat(server): cleanup legacy compatibility (#15239)
This commit is contained in:
@@ -174,7 +174,6 @@ type AdminWorkspace {
|
||||
enableDocEmbedding: Boolean!
|
||||
enableSharing: Boolean!
|
||||
enableUrlPreview: Boolean!
|
||||
features: [FeatureType!]!
|
||||
id: String!
|
||||
memberCount: Int!
|
||||
|
||||
@@ -1176,13 +1175,6 @@ type ExpectToUpdateDocUserRoleDataType {
|
||||
|
||||
enum FeatureType {
|
||||
Admin
|
||||
FreePlan
|
||||
LifetimeProPlan
|
||||
ProPlan
|
||||
QuotaExceededReadonlyWorkspace
|
||||
TeamPlan
|
||||
UnlimitedCopilot
|
||||
UnlimitedWorkspace
|
||||
}
|
||||
|
||||
input ForkChatSessionInput {
|
||||
@@ -1505,7 +1497,6 @@ input ListWorkspaceInput {
|
||||
enableDocEmbedding: Boolean
|
||||
enableSharing: Boolean
|
||||
enableUrlPreview: Boolean
|
||||
features: [FeatureType!]
|
||||
first: Int! = 20
|
||||
keyword: String
|
||||
orderBy: AdminWorkspaceSort
|
||||
@@ -2321,9 +2312,6 @@ type ServerConfigType {
|
||||
"""Features for user that can be configured"""
|
||||
availableUserFeatures: [FeatureType!]!
|
||||
|
||||
"""Workspace features available for admin configuration"""
|
||||
availableWorkspaceFeatures: [FeatureType!]!
|
||||
|
||||
"""server base url"""
|
||||
baseUrl: String!
|
||||
calendarCalDAVProviders: [CalendarCalDAVProviderPresetObjectType!]!
|
||||
|
||||
Reference in New Issue
Block a user