Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@equinor/fusion

Package Overview
Dependencies
Maintainers
3
Versions
485
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion - npm Package Compare versions

Comparing version 2.4.6 to 2.4.7

2

lib/http/apiClients/ReportClient.d.ts

@@ -7,2 +7,3 @@ import Report from './models/report/Report';

import BaseApiClient from './BaseApiClient';
import { ContextTypes } from './models/context';
export default class ReportClient extends BaseApiClient {

@@ -27,2 +28,3 @@ protected getBaseUrl(): string;

deleteReport(reportId: string): Promise<import("../HttpClient").HttpResponse<void>>;
checkContextAccess(reportId: string, contextExternalId: string, contextType: ContextTypes): Promise<import("../HttpClient").HttpResponse<void>>;
}

@@ -74,2 +74,6 @@ import BaseApiClient from './BaseApiClient';

}
async checkContextAccess(reportId, contextExternalId, contextType) {
const url = this.resourceCollections.report.checkAccess(reportId, contextExternalId, contextType);
return await this.httpClient.optionsAsync(url);
}
}
import BaseResourceCollection from './BaseResourceCollection';
import { ContextTypes } from '../apiClients/models/context';
export default class ReportResourceCollection extends BaseResourceCollection {

@@ -18,2 +19,3 @@ protected getBaseUrl(): string;

auditLog(reportId: string): string;
checkAccess(reportId: string, contextExternalId: string, contextType: ContextTypes): string;
}

@@ -49,2 +49,5 @@ import BaseResourceCollection from './BaseResourceCollection';

}
checkAccess(reportId, contextExternalId, contextType) {
return combineUrls(this.getBaseUrl(), 'reports', reportId, 'contexts', contextExternalId, 'contexttypes', contextType, 'checkaccess');
}
}

2

lib/index.d.ts

@@ -30,3 +30,3 @@ export { IAuthContainer, FusionAuthLoginError, default as AuthContainer, } from './auth/AuthContainer';

export { default as OrgProject, BasePosition, Position, PositionInstance, AssignedPerson, PositionLocation, FusionProject, OrgProjectType, CreateOrgProject, OrgProjectDates, Contract, PublishDetails, PositionReportPath, RoleDescription, OrgSnapshot, OrgSnapshotApproval, ApproveSnapshotRequest, CreateSnapshotRequest, CreateTransientSnapshotRequest, OrgSnapshotStatus, OrgSnapshotStatusProgress, } from './http/apiClients/models/org/OrgProject';
export { default as PersonDetails, PersonBasePosition, PersonContract, PersonPosition, PersonProject, PersonRole, PersonRoleScope, PersonAccountType, PersonCompany, PersonPresence, PersonPresenceAvailability, } from './http/apiClients/models/people/PersonDetails';
export { default as PersonDetails, PersonBasePosition, PersonContract, PersonPosition, PersonProject, PersonRole, PersonRoleScope, PersonAccountType, PersonCompany, PersonNotificationSettings, PersonPresence, PersonPresenceAvailability, } from './http/apiClients/models/people/PersonDetails';
export { default as RoleDefinition } from './http/apiClients/models/people/RoleDefinition';

@@ -33,0 +33,0 @@ export { default as GroupRoleMapping } from './http/apiClients/models/people/GroupRoleMapping';

@@ -1,2 +0,2 @@

declare const _default: "2.4.6";
declare const _default: "2.4.7";
export default _default;

@@ -1,1 +0,1 @@

export default '2.4.6';
export default '2.4.7';
{
"name": "@equinor/fusion",
"version": "2.4.6",
"version": "2.4.7",
"description": "Everything a Fusion app needs to communicate with the core",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc