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

@equinor/fusion-framework-module-services

Package Overview
Dependencies
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-framework-module-services - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

dist/esm/bookmarks/delete/client.js

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [0.5.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-services@0.4.0...@equinor/fusion-framework-module-services@0.5.0) (2022-11-01)
### Features
- :sparkles: delete bookmark ([df70d9f](https://github.com/equinor/fusion-framework/commit/df70d9f6ed369cfc9e682a268b7175ddf8b3d122))
## 0.4.0 (2022-11-01)

@@ -8,0 +14,0 @@

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

import deleteBookmark from './delete/client';
import getBookmark from './get/client';

@@ -16,4 +17,8 @@ import postBookmark from './post/client';

}
delete(version, ...args) {
const fn = deleteBookmark(this._client, version, this._method);
return fn(...args);
}
}
export default BookmarksApiClient;
//# sourceMappingURL=client.js.map

2

dist/types/bookmarks/client.d.ts
import { IHttpClient } from '@equinor/fusion-framework-module-http';
import { ClientMethod } from '@equinor/fusion-framework-module-services/context';
import { DeleteBookmarkResult, DeleteBookmarksFn, DeleteBookmarksResult } from './delete/types';
import { ApiVersions, GetBookmarkResult, GetBookmarksFn, GetBookmarksResult } from './get/types';

@@ -11,3 +12,4 @@ import { PostBookmarkResult, PostBookmarkFn, PostBookmarksResult } from './post/types';

post<TVersion extends ApiVersions, TResult = PostBookmarkResult<TVersion, TPayload>>(version: TVersion, ...args: Parameters<PostBookmarkFn<TVersion, TMethod, TClient, TPayload, TResult>>): PostBookmarksResult<TVersion, TMethod, TPayload, TResult>;
delete<TVersion extends ApiVersions, TResult = DeleteBookmarkResult<TVersion>>(version: TVersion, ...args: Parameters<DeleteBookmarksFn<TVersion, TMethod, TClient, TResult>>): DeleteBookmarksResult<TVersion, TMethod, TResult>;
}
export default BookmarksApiClient;

2

dist/types/bookmarks/get/client.d.ts
import { ClientRequestInit, IHttpClient } from '@equinor/fusion-framework-module-http/client';
import { ClientMethod } from '../..';
import { GetBookmarkArgs, GetBookmarkResult, GetBookmarksResult } from './types';
export declare const getBookmark: <TVersion extends "v1" = "v1", TMethod extends keyof ClientMethod<unknown> = keyof ClientMethod<unknown>, TClient extends IHttpClient<import("@equinor/fusion-framework-module-services/../../module-http/src/lib/client").FetchRequest, Response> = IHttpClient<import("@equinor/fusion-framework-module-services/../../module-http/src/lib/client").FetchRequest, Response>>(client: TClient, version: TVersion, method?: TMethod) => <TResult = GetBookmarkResult<TVersion, unknown>>(args: GetBookmarkArgs<TVersion>, init?: ClientRequestInit<TClient, TResult> | undefined) => GetBookmarksResult<TVersion, TMethod, unknown, TResult>;
export declare const getBookmark: <TVersion extends "v1" = "v1", TMethod extends keyof ClientMethod<unknown> = keyof ClientMethod<unknown>, TClient extends IHttpClient<import("@equinor/fusion-framework-module-http/client").FetchRequest, Response> = IHttpClient<import("@equinor/fusion-framework-module-http/client").FetchRequest, Response>>(client: TClient, version: TVersion, method?: TMethod) => <TResult = GetBookmarkResult<TVersion, unknown>>(args: GetBookmarkArgs<TVersion>, init?: ClientRequestInit<TClient, TResult> | undefined) => GetBookmarksResult<TVersion, TMethod, unknown, TResult>;
export default getBookmark;
{
"name": "@equinor/fusion-framework-module-services",
"version": "0.4.0",
"version": "0.5.0",
"description": "",

@@ -52,4 +52,4 @@ "sideEffects": false,

"@equinor/fusion-framework-module": "^1.2.6",
"@equinor/fusion-framework-module-http": "^2.0.14",
"@equinor/fusion-framework-module-service-discovery": "^3.0.6"
"@equinor/fusion-framework-module-http": "^2.1.0",
"@equinor/fusion-framework-module-service-discovery": "^3.0.7"
},

@@ -60,3 +60,3 @@ "peerDependencies": {

},
"gitHead": "765972107b2f477c97ca12bad11f15b3d52d1fdb"
"gitHead": "b0bada58a93067d4f6adfa7f3e47c864c22c5bc9"
}
import { IHttpClient } from '@equinor/fusion-framework-module-http';
import { ClientMethod } from '@equinor/fusion-framework-module-services/context';
import deleteBookmark from './delete/client';
import { DeleteBookmarkResult, DeleteBookmarksFn, DeleteBookmarksResult } from './delete/types';
import getBookmark from './get/client';

@@ -39,4 +41,12 @@ import { ApiVersions, GetBookmarkResult, GetBookmarksFn, GetBookmarksResult } from './get/types';

}
public delete<TVersion extends ApiVersions, TResult = DeleteBookmarkResult<TVersion>>(
version: TVersion,
...args: Parameters<DeleteBookmarksFn<TVersion, TMethod, TClient, TResult>>
): DeleteBookmarksResult<TVersion, TMethod, TResult> {
const fn = deleteBookmark(this._client, version, this._method);
return fn<TResult>(...args);
}
}
export default BookmarksApiClient;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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