@hahnpro/hpc-api 2025.11.3 → 2025.11.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hahnpro/hpc-api",
|
|
3
|
-
"version": "2025.11.
|
|
3
|
+
"version": "2025.11.4",
|
|
4
4
|
"description": "Module for easy access to the HahnPRO Cloud API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@microsoft/fetch-event-source": "2.0.1",
|
|
12
|
-
"axios": "1.13.
|
|
12
|
+
"axios": "1.13.2",
|
|
13
13
|
"eventsource": "4.0.0",
|
|
14
14
|
"jose": "5.10.0",
|
|
15
15
|
"jwt-decode": "4.0.0",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"axios-mock-adapter": "2.1.0"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
|
-
"node": ">=
|
|
25
|
+
"node": ">=v24"
|
|
26
26
|
},
|
|
27
27
|
"main": "./src/index.js",
|
|
28
28
|
"types": "./src/index.d.ts",
|
|
@@ -18,7 +18,7 @@ export type { Label, CreateLabelDto, UpdateLabelDto } from './label.interface';
|
|
|
18
18
|
export type { NotificationType, Notification } from './notification.interface';
|
|
19
19
|
export type { TagRule, NotificationRule, StatusRule } from './notification-rule.interface';
|
|
20
20
|
export type { Owner } from './owner.interface';
|
|
21
|
-
export type { Organization, OrganizationCreateDto, OrganizationData, OrganizationDataKind, OrganizationDomain, OrganizationName, OrganizationRolesAdjustment, OrganizationSearchQuery, SubscriptionType, UserWithOrgRoles, } from './organization.interface';
|
|
21
|
+
export type { Organization, OrganizationCreateDto, OrganizationData, OrganizationDataKind, OrganizationDomain, OrganizationExtraProperties, OrganizationName, OrganizationRolesAdjustment, OrganizationSearchQuery, SubscriptionType, UserWithOrgRoles, } from './organization.interface';
|
|
22
22
|
export type { OrganizationRoleRepresentation } from './organization-role-representation.interface';
|
|
23
23
|
export type { OrganizationResourcesProgress, OrganizationResourcesProgressDto, OrganizationResourcesProgressErrorDto, CreateOrgWithResourcesDto, } from './organizations-resources.interface';
|
|
24
24
|
export type { Resource, ResourceReference } from './resource.interface';
|
|
@@ -30,7 +30,7 @@ export type { ServerSentEvent } from './sse.interface';
|
|
|
30
30
|
export type { FileType, Artifact, Storage, StorageProvider } from './storage.interface';
|
|
31
31
|
export type { Task, LogbookEntry, LogbookEntryDto } from './task.interface';
|
|
32
32
|
export type { TimeSeries, TimeSeriesBucket, TimeSeriesCondition, TimeSeriesValue, TS_GROUPS } from './timeseries.interface';
|
|
33
|
-
export type { Permission, Application, TableSetting, TableSettingProfile, UserSettings } from './user-settings.interface';
|
|
33
|
+
export type { Permission, Application, TableSetting, TableSettingProfile, UserSettings, Consent } from './user-settings.interface';
|
|
34
34
|
export type { VaultSecret } from './vault.interface';
|
|
35
35
|
export { AlertLevel, AlertType } from './alert.interface';
|
|
36
36
|
export { ReturnType } from './content.interface';
|
|
@@ -51,6 +51,11 @@ export interface OrganizationDomain {
|
|
|
51
51
|
recordValue?: string;
|
|
52
52
|
verified: boolean;
|
|
53
53
|
}
|
|
54
|
+
export interface OrganizationExtraProperties {
|
|
55
|
+
subscriptionId?: string;
|
|
56
|
+
previousSubscriptions?: string[];
|
|
57
|
+
isSuperOrganization?: boolean;
|
|
58
|
+
}
|
|
54
59
|
export interface OrganizationName {
|
|
55
60
|
id: string;
|
|
56
61
|
name?: string;
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
creationReadRoles: Permission[];
|
|
5
|
-
creationWriteRoles: Permission[];
|
|
1
|
+
import { Api } from './api.interface';
|
|
2
|
+
export interface UserSettings extends Api {
|
|
3
|
+
activeOrg?: string;
|
|
6
4
|
activeTags: string[];
|
|
7
5
|
applications: Application[];
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
consent?: Consent;
|
|
7
|
+
creationReadRoles: Permission[];
|
|
8
|
+
creationWriteRoles: Permission[];
|
|
10
9
|
deletionRequested: boolean;
|
|
10
|
+
favoriteLabelsOrder: Record<string, number>;
|
|
11
|
+
language: string;
|
|
12
|
+
tableSettings: TableSetting[];
|
|
13
|
+
userId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface Consent {
|
|
16
|
+
essential?: boolean;
|
|
17
|
+
analytics?: boolean;
|
|
11
18
|
}
|
|
12
19
|
export interface Application {
|
|
13
20
|
name: string;
|