@docsvision/management-console 6.2.0-beta.20 → 6.2.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -82,6 +82,10 @@ declare type $ApplicationSettings_2 = { applicationSettings: IApplicationSetting
82
82
 
83
83
  declare const $ApplicationSettings_2 = serviceName((s: $ApplicationSettings_2) => s.applicationSettings);
84
84
 
85
+ declare type $ArchivationController = { archivationController: IArchivationController };
86
+
87
+ declare const $ArchivationController = serviceName((s: $ArchivationController) => s.archivationController);
88
+
85
89
  declare type $CardUrl = { cardUrl: ICardUrl; };
86
90
 
87
91
  declare const $CardUrl = serviceName((s: $CardUrl) => s.cardUrl);
@@ -100,6 +104,10 @@ declare type $DashboardConfigurationService_2 = { dashboardConfigurationService:
100
104
 
101
105
  declare const $DashboardConfigurationService_2 = serviceName((s: $DashboardConfigurationService_2) => s.dashboardConfigurationService);
102
106
 
107
+ declare type $DatabaseMaintenanceController = { databaseMaintenanceController: IDatabaseMaintenanceController };
108
+
109
+ declare const $DatabaseMaintenanceController = serviceName((s: $DatabaseMaintenanceController) => s.databaseMaintenanceController);
110
+
103
111
  export declare type $DomEntryPointService = {
104
112
  domEntryPointService: IDomEntryPointService;
105
113
  };
@@ -136,6 +144,16 @@ declare type $ExtensionsService_2 = { extensionsService: IExtensionsService_2 };
136
144
 
137
145
  declare const $ExtensionsService_2 = serviceName((s: $ExtensionsService_2) => s.extensionsService);
138
146
 
147
+ declare type $ExternalStoragesController = { externalStoragesController: IExternalStoragesController };
148
+
149
+ declare const $ExternalStoragesController = serviceName((s: $ExternalStoragesController) => s.externalStoragesController);
150
+
151
+ declare type $ExternalStoragesController_2 = {
152
+ externalStoragesController: IExternalStoragesController_2;
153
+ };
154
+
155
+ declare const $ExternalStoragesController_2: string | ((model?: $ExternalStoragesController_2) => IExternalStoragesController_2);
156
+
139
157
  declare type $FilterPluginsLoading = { filterPluginsLoading: IFilterPluginsLoadingService };
140
158
 
141
159
  declare const $FilterPluginsLoading = serviceName<$FilterPluginsLoading, IFilterPluginsLoadingService>(x => x.filterPluginsLoading);
@@ -351,8 +369,11 @@ export declare class Application extends ServiceContainer implements IApplicatio
351
369
  sessionsController: ISessionsController;
352
370
  configurationLocksController: IConfigurationLocksController;
353
371
  extendedConfigurationController: IExtendedConfigurationController_2;
372
+ databaseMaintenanceController: DatabaseMaintenanceController;
354
373
  rootElement: IRootElementService_2;
374
+ externalStoragesController: IExternalStoragesController_2;
355
375
  settingsController: ISettingsController;
376
+ archivationController: IArchivationController;
356
377
  constructor(reactRootElementId: string);
357
378
  static instance: IApplication;
358
379
  initialize(): Promise<void>;
@@ -483,6 +504,23 @@ export declare class DashboardConfigurationService implements IDashboardConfigur
483
504
  removeDashboardConfiguration(dashboardId: string): Promise<void>;
484
505
  }
485
506
 
507
+ declare class DatabaseMaintenanceController implements IDatabaseMaintenanceController {
508
+ name = "DatabaseMaintenance";
509
+ meta = null;
510
+ baseUrl = "api/databaseMaintenance";
511
+
512
+ constructor(private readonly requestService: IRequestService) {
513
+ }
514
+
515
+ clearRecycleBin(serviceId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void> {
516
+ return this.requestService.post(`${this.baseUrl}/clearRecycleBin`, {serviceId, pageId, elementId, databaseAlias});
517
+ }
518
+
519
+ recreateTasks(serviceId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void> {
520
+ return this.requestService.post(`${this.baseUrl}/recreateTasks`, {serviceId, pageId, elementId, databaseAlias});
521
+ }
522
+ }
523
+
486
524
  export declare function DatabaseSelectionModal(props: IDatabaseSelectionModalProps): JSX.Element;
487
525
 
488
526
  export declare function DatabaseSettingsCard(props: IDatabaseSettingsCardProps): JSX.Element;
@@ -595,6 +633,7 @@ export declare class ExtensionsService implements IExtensionsService {
595
633
  private getExtensionsLoadingInfo;
596
634
  private loadJSModule;
597
635
  private loadStyles;
636
+ private buildExtensionAssetUrl;
598
637
  private loadExtensionResources;
599
638
  }
600
639
 
@@ -725,7 +764,7 @@ export declare interface IApplication extends ServiceContainer, IApplicationServ
725
764
  declare interface IApplication_2 extends ServiceContainer, IApplicationServices_2 {
726
765
  }
727
766
 
728
- export declare interface IApplicationServices extends SystemServices, $ExtensionsService_2, $DomEntryPointService, $ApplicationSettings_2, $WidgetsService_2, $Router, $RoutingService, $TenantsService_2, $DashboardConfigurationService_2, $LocalizationService_2, $AboutSettings_2, $LocalStorage_2, $ResourcesManagement_2, $Resources_2, $RouteContentRender_2, $FilterPluginsLoading, $ToolbarVisibility, $MessageWindow, $RepeatProcessButton, $PanelsExpansionService, $Layout, $NavigationMenu_2, $ServersController_2, $SettingsNavigation, $FormControl, $ExtendedConfigurationController_2, $RealtimeCommunication_2, $ConfigurationLocksController, $SessionsController, $RootElement_2, $SettingsController {
767
+ export declare interface IApplicationServices extends SystemServices, $ExtensionsService_2, $DomEntryPointService, $ApplicationSettings_2, $WidgetsService_2, $Router, $RoutingService, $TenantsService_2, $DashboardConfigurationService_2, $LocalizationService_2, $AboutSettings_2, $LocalStorage_2, $ResourcesManagement_2, $Resources_2, $RouteContentRender_2, $FilterPluginsLoading, $ToolbarVisibility, $MessageWindow, $RepeatProcessButton, $PanelsExpansionService, $Layout, $NavigationMenu_2, $ServersController_2, $SettingsNavigation, $FormControl, $ExtendedConfigurationController_2, $RealtimeCommunication_2, $ConfigurationLocksController, $SessionsController, $RootElement_2, $SettingsController, $ExternalStoragesController_2, $ArchivationController, $DatabaseMaintenanceController {
729
768
  }
730
769
 
731
770
  declare interface IApplicationServices_2 extends
@@ -759,8 +798,11 @@ $RealtimeCommunication,
759
798
  $ConfigurationLocksController,
760
799
  $SessionsController,
761
800
  $RootElement_2,
762
- $SettingsController {
763
-
801
+ $SettingsController,
802
+ $ExternalStoragesController,
803
+ $ArchivationController,
804
+ $DatabaseMaintenanceController
805
+ {
764
806
  }
765
807
 
766
808
  export declare interface IApplicationSettings {
@@ -839,6 +881,18 @@ declare interface IApplicationSettings_2 {
839
881
  view: IViewSettings;
840
882
  }
841
883
 
884
+ declare interface IArchivationController extends Service {
885
+ performArchivation(serverId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void>;
886
+ }
887
+
888
+ declare interface IAssemblyValidationResponse extends IValidationResponse {
889
+ className?: string;
890
+ }
891
+
892
+ declare interface IAssemblyValidationResponse_2 extends IValidationResponse_2 {
893
+ className?: string;
894
+ }
895
+
842
896
  export declare interface IAvailableLocalesSettings {
843
897
  /**
844
898
  * Language display name
@@ -1143,6 +1197,11 @@ declare interface IDashboardPosition_2 {
1143
1197
  order: number;
1144
1198
  }
1145
1199
 
1200
+ declare interface IDatabaseMaintenanceController extends Service {
1201
+ clearRecycleBin(serverId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void>;
1202
+ recreateTasks(serverId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void>;
1203
+ }
1204
+
1146
1205
  export declare interface IDatabaseModel {
1147
1206
  baseName: string;
1148
1207
  sqlServerName: string;
@@ -1246,6 +1305,8 @@ export declare interface IDropdownWithEllipsisProps {
1246
1305
  dataTestId?: string;
1247
1306
  className?: string;
1248
1307
  noOptionsText?: string;
1308
+ disabled?: boolean;
1309
+ showLabelWhenSelected?: boolean;
1249
1310
  }
1250
1311
 
1251
1312
  export declare interface IEditorCollectionEditorProps extends IPageModelElement {
@@ -1399,12 +1460,14 @@ declare interface IExtensionInfo_2 {
1399
1460
  export declare interface IExtensionLoadingInfo {
1400
1461
  enabled: boolean;
1401
1462
  folderName: string;
1463
+ cacheKey?: string;
1402
1464
  order: number;
1403
1465
  }
1404
1466
 
1405
1467
  declare interface IExtensionLoadingInfo_2 {
1406
1468
  enabled: boolean;
1407
1469
  folderName: string;
1470
+ cacheKey?: string;
1408
1471
  order: number;
1409
1472
  }
1410
1473
 
@@ -1426,6 +1489,26 @@ declare interface IExtensionsService_2 {
1426
1489
  getOnApplicationRunHandlers(): ((application: IApplication_2) => void)[];
1427
1490
  }
1428
1491
 
1492
+ declare interface IExternalStoragesController extends Service {
1493
+ getExternalStorageTypes(serviceId: string, databaseAlias: string): Promise<IStorageTypeModel[]>;
1494
+ getCustomStorageSettings(serviceId: string, databaseAlias: string, assemblyName: string): Promise<IStorageTypeModel[]>;
1495
+ validateConnectionString(serviceId: string, connectionString: string): Promise<IValidationResponse>;
1496
+ validateAssembly(serviceId: string, assembly: string): Promise<IAssemblyValidationResponse>;
1497
+ validateFile(serviceId: string, file: string): Promise<IValidationResponse>;
1498
+ validatePath(serviceId: string, path: string): Promise<IValidationResponse>;
1499
+ validateAssemblySettings(serviceId: string, typeName: string, settings: string): Promise<IValidationResponse>;
1500
+ }
1501
+
1502
+ declare interface IExternalStoragesController_2 extends Service {
1503
+ getExternalStorageTypes(serviceId: string, databaseAlias: string): Promise<IStorageTypeModel_2[]>;
1504
+ getCustomStorageSettings(serviceId: string, databaseAlias: string, assemblyName: string): Promise<IStorageTypeModel_2[]>;
1505
+ validateConnectionString(serviceId: string, connectionString: string): Promise<IValidationResponse_2>;
1506
+ validateAssembly(serviceId: string, assembly: string): Promise<IAssemblyValidationResponse_2>;
1507
+ validateFile(serviceId: string, file: string): Promise<IValidationResponse_2>;
1508
+ validatePath(serviceId: string, path: string): Promise<IValidationResponse_2>;
1509
+ validateAssemblySettings(serviceId: string, typeName: string, settings: string): Promise<IValidationResponse_2>;
1510
+ }
1511
+
1429
1512
  export declare interface IFilteringClearButtonProps {
1430
1513
  onChange(value: (string | Moment)[]): void;
1431
1514
  visible: boolean;
@@ -2200,6 +2283,22 @@ export declare interface IStaticExtensionResourcesDescriptor {
2200
2283
  fileName?: string;
2201
2284
  }
2202
2285
 
2286
+ declare interface IStorageTypeModel {
2287
+ id: string;
2288
+ displayName: string;
2289
+ assemblyName: string;
2290
+ supportedPartions: number;
2291
+ isIntegratedStorage: boolean;
2292
+ }
2293
+
2294
+ declare interface IStorageTypeModel_2 {
2295
+ id: string;
2296
+ displayName: string;
2297
+ assemblyName: string;
2298
+ supportedPartions: number;
2299
+ isIntegratedStorage: boolean;
2300
+ }
2301
+
2203
2302
  export declare interface ISystemSettings {
2204
2303
  logLevel: LogLevel;
2205
2304
  }
@@ -2388,6 +2487,16 @@ declare interface IUserInfo_2 {
2388
2487
  displayName: string,
2389
2488
  }
2390
2489
 
2490
+ declare interface IValidationResponse {
2491
+ result: boolean;
2492
+ error?: string;
2493
+ }
2494
+
2495
+ declare interface IValidationResponse_2 {
2496
+ result: boolean;
2497
+ error?: string;
2498
+ }
2499
+
2391
2500
  declare interface IViewSettings{
2392
2501
  pageSize: number;
2393
2502
  }