@noatgnu/cupcake-core 1.3.2 → 1.3.4
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
|
@@ -995,6 +995,7 @@ declare class AsyncTaskMonitorService extends BaseApiService implements OnDestro
|
|
|
995
995
|
private tasksSubject;
|
|
996
996
|
private isSubscribed;
|
|
997
997
|
private websocket;
|
|
998
|
+
constructor();
|
|
998
999
|
tasks$: Observable<AsyncTaskStatus[]>;
|
|
999
1000
|
activeTasks$: Observable<AsyncTaskStatus[]>;
|
|
1000
1001
|
ngOnDestroy(): void;
|
|
@@ -1005,6 +1006,7 @@ declare class AsyncTaskMonitorService extends BaseApiService implements OnDestro
|
|
|
1005
1006
|
message: string;
|
|
1006
1007
|
}>;
|
|
1007
1008
|
private handleTaskUpdate;
|
|
1009
|
+
loadSingleTask(taskId: string): void;
|
|
1008
1010
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AsyncTaskMonitorService, never>;
|
|
1009
1011
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AsyncTaskMonitorService>;
|
|
1010
1012
|
}
|
|
@@ -1237,8 +1239,8 @@ interface WebSocketEndpointConfig {
|
|
|
1237
1239
|
}
|
|
1238
1240
|
declare const WEBSOCKET_ENDPOINTS: InjectionToken<WebSocketEndpointConfig[]>;
|
|
1239
1241
|
declare class WebSocketEndpoints {
|
|
1240
|
-
static readonly CORE_NOTIFICATIONS = "notifications";
|
|
1241
|
-
static readonly CORE_ADMIN = "admin";
|
|
1242
|
+
static readonly CORE_NOTIFICATIONS = "ccc/notifications";
|
|
1243
|
+
static readonly CORE_ADMIN = "ccc/admin";
|
|
1242
1244
|
}
|
|
1243
1245
|
declare class WebSocketConfigService {
|
|
1244
1246
|
private readonly endpoints;
|
|
@@ -1254,6 +1256,14 @@ declare class WebSocketConfigService {
|
|
|
1254
1256
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<WebSocketConfigService>;
|
|
1255
1257
|
}
|
|
1256
1258
|
|
|
1259
|
+
declare class AdminWebSocketService extends WebSocketService {
|
|
1260
|
+
constructor(authService: AuthService);
|
|
1261
|
+
getAdminNotifications(): Observable<WebSocketMessage>;
|
|
1262
|
+
getSystemNotifications(): Observable<WebSocketMessage>;
|
|
1263
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdminWebSocketService, never>;
|
|
1264
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AdminWebSocketService>;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1257
1267
|
interface LabGroupQueryParams {
|
|
1258
1268
|
search?: string;
|
|
1259
1269
|
parentGroup?: number;
|
|
@@ -1697,5 +1707,5 @@ declare class CupcakeCoreModule {
|
|
|
1697
1707
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<CupcakeCoreModule>;
|
|
1698
1708
|
}
|
|
1699
1709
|
|
|
1700
|
-
export { AnnotationType, ApiService, AsyncTaskMonitorService, AuthService, BaseApiService, CUPCAKE_CORE_CONFIG, CupcakeCoreModule, InvitationStatus, InvitationStatusLabels, LabGroupService, LabGroupsComponent, LoginComponent, NotificationService, PoweredByFooterComponent, RegisterComponent, ResourceRole, ResourceRoleLabels, ResourceService, ResourceType, ResourceTypeLabels, ResourceVisibility, ResourceVisibilityLabels, SiteConfigComponent, SiteConfigService, TASK_STATUS_COLORS, TASK_STATUS_LABELS, TASK_TYPE_LABELS, TaskStatus, TaskType, ThemeService, ToastContainerComponent, ToastService, UserManagementComponent, UserManagementService, UserProfileComponent, WEBSOCKET_ENDPOINT, WEBSOCKET_ENDPOINTS, WebSocketConfigService, WebSocketEndpoints, WebSocketService, adminGuard, authGuard, authInterceptor, resetRefreshState };
|
|
1710
|
+
export { AdminWebSocketService, AnnotationType, ApiService, AsyncTaskMonitorService, AuthService, BaseApiService, CUPCAKE_CORE_CONFIG, CupcakeCoreModule, InvitationStatus, InvitationStatusLabels, LabGroupService, LabGroupsComponent, LoginComponent, NotificationService, PoweredByFooterComponent, RegisterComponent, ResourceRole, ResourceRoleLabels, ResourceService, ResourceType, ResourceTypeLabels, ResourceVisibility, ResourceVisibilityLabels, SiteConfigComponent, SiteConfigService, TASK_STATUS_COLORS, TASK_STATUS_LABELS, TASK_TYPE_LABELS, TaskStatus, TaskType, ThemeService, ToastContainerComponent, ToastService, UserManagementComponent, UserManagementService, UserProfileComponent, WEBSOCKET_ENDPOINT, WEBSOCKET_ENDPOINTS, WebSocketConfigService, WebSocketEndpoints, WebSocketService, adminGuard, authGuard, authInterceptor, resetRefreshState };
|
|
1701
1711
|
export type { AccountMergeRequest, AdminPasswordResetRequest, Annotation, AnnotationCreateRequest, AnnotationFolder, AnnotationFolderCreateRequest, AnnotationFolderUpdateRequest, AnnotationUpdateRequest, ApiResponse, AsyncTaskCreateResponse, AsyncTaskQueryParams, AsyncTaskStatus, AsyncTaskUpdateNotification, AuthConfig, AuthResponse, AuthStatus, BaseNotification, BaseResource, BaseTimestampedModel, BulkExcelExportRequest, BulkExportRequest, BulkPermissionRequest, ChunkedImportRequest, ConnectionEstablishedNotification, CupcakeCoreConfig, DownloadUrlResponse, EmailChangeConfirmRequest, EmailChangeConfirmResponse, EmailChangeRequest, InvitationResponseRequest, LabGroup, LabGroupCreateRequest, LabGroupInvitation, LabGroupInvitationCreateRequest, LabGroupInvitationQueryParams, LabGroupInvitationQueryResponse, LabGroupInviteRequest, LabGroupMember, LabGroupPathItem, LabGroupPermission, LabGroupPermissionCreateRequest, LabGroupPermissionQueryParams, LabGroupPermissionQueryResponse, LabGroupPermissionUpdateRequest, LabGroupQueryParams, LabGroupQueryResponse, LabGroupUpdateNotification, LabGroupUpdateRequest, MetadataExportRequest, MetadataImportRequest, MetadataTableUpdateNotification, MetadataValidationConfig, MetadataValidationRequest, NotificationAction, NotificationItem, PaginatedResponse, PasswordChangeRequest, PasswordChangeResponse, PasswordResetConfirmRequest, PasswordResetRequest, RegistrationStatus, RemoteHost, RemoteHostCreateRequest, RemoteHostUpdateRequest, ResourcePermission, ResourcePermissionCreateRequest, ResourcePermissionUpdateRequest, ResourceQueryParams, SiteConfig, SiteConfigUpdateRequest, SystemNotification, TaskListItem, TaskResult, Theme, ToastMessage, TranscriptionCompletedNotification, TranscriptionFailedNotification, TranscriptionStartedNotification, User, UserCreateRequest, UserListResponse, UserOrcidProfile, UserProfileUpdateRequest, UserRegistrationRequest, UserResponse, WebSocketConfig, WebSocketEndpointConfig, WebSocketMessage, WebSocketNotification };
|
package/package.json
CHANGED