@@ -59,32 +59,36 @@ module Peripherals
59
59
60
60
namespace ( "components" ) do
61
61
namespace ( "forms" ) do
62
- register ( :automatically_managed_folders , :: Storages :: Admin ::Forms ::AutomaticallyManagedProjectFoldersFormComponent )
63
- register ( :general_information , :: Storages :: Admin ::Forms ::GeneralInfoFormComponent )
64
- register ( :storage_audience , :: Storages :: Admin ::Forms ::StorageAudienceFormComponent )
65
- register ( :oauth_application , :: Storages :: Admin ::OAuthApplicationInfoCopyComponent )
66
- register ( :oauth_client , :: Storages :: Admin ::Forms ::OAuthClientFormComponent )
62
+ register ( :automatically_managed_folders , Admin ::Forms ::AutomaticallyManagedProjectFoldersFormComponent )
63
+ register ( :general_information , Admin ::Forms ::GeneralInfoFormComponent )
64
+ register ( :storage_audience , Admin ::Forms ::StorageAudienceFormComponent )
65
+ register ( :oauth_application , Admin ::OAuthApplicationInfoCopyComponent )
66
+ register ( :oauth_client , Admin ::Forms ::OAuthClientFormComponent )
67
67
end
68
68
69
69
register ( :setup_wizard , NextcloudStorageWizard )
70
70
71
- register ( :automatically_managed_folders , :: Storages :: Admin ::AutomaticallyManagedProjectFoldersInfoComponent )
72
- register ( :general_information , :: Storages :: Admin ::GeneralInfoComponent )
73
- register ( :storage_audience , :: Storages :: Admin ::StorageAudienceInfoComponent )
74
- register ( :oauth_application , :: Storages :: Admin ::OAuthApplicationInfoComponent )
75
- register ( :oauth_client , :: Storages :: Admin ::OAuthClientInfoComponent )
71
+ register ( :automatically_managed_folders , Admin ::AutomaticallyManagedProjectFoldersInfoComponent )
72
+ register ( :general_information , Admin ::GeneralInfoComponent )
73
+ register ( :storage_audience , Admin ::StorageAudienceInfoComponent )
74
+ register ( :oauth_application , Admin ::OAuthApplicationInfoComponent )
75
+ register ( :oauth_client , Admin ::OAuthClientInfoComponent )
76
76
end
77
77
78
78
namespace ( "contracts" ) do
79
- register ( :storage , :: Storages :: Storages ::NextcloudContract )
80
- register ( :general_information , :: Storages :: Storages ::NextcloudGeneralInformationContract )
81
- register ( :storage_audience , :: Storages :: Storages ::NextcloudAudienceContract )
79
+ register ( :storage , Storages ::NextcloudContract )
80
+ register ( :general_information , Storages ::NextcloudGeneralInformationContract )
81
+ register ( :storage_audience , Storages ::NextcloudAudienceContract )
82
82
end
83
83
84
84
namespace ( "models" ) do
85
85
register ( :managed_folder_identifier , ManagedFolderIdentifier ::Nextcloud )
86
86
end
87
87
88
+ namespace ( "validators" ) do
89
+ register ( :connection , ConnectionValidators ::NextcloudValidator )
90
+ end
91
+
88
92
namespace ( "authentication" ) do
89
93
register ( :userless , StorageInteraction ::AuthenticationStrategies ::NextcloudStrategies ::UserLess , call : false )
90
94
register ( :user_bound , StorageInteraction ::AuthenticationStrategies ::NextcloudStrategies ::UserBound )
0 commit comments