Skip to content

Commit 0c50646

Browse files
Mohit TejaniMohit Tejani
authored andcommitted
lint fixes
1 parent 2bf1a75 commit 0c50646

3 files changed

Lines changed: 27 additions & 11 deletions

File tree

src/core/endpoints/data_sync/entity/fetch.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ type RequestParameters = DataSync.FetchEntityParameters & {
3232
*
3333
* @internal
3434
*/
35-
export class FetchEntityRequest<Response extends DataSync.FetchEntityResponse> extends AbstractRequest<Response, Response> {
35+
export class FetchEntityRequest<Response extends DataSync.FetchEntityResponse> extends AbstractRequest<
36+
Response,
37+
Response
38+
> {
3639
constructor(private readonly parameters: RequestParameters) {
3740
super();
3841
}

src/core/pubnub-data-sync.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,10 @@ export default class PubNubDataSync {
754754
* @param parameters - Request configuration parameters.
755755
* @param callback - Request completion handler callback.
756756
*/
757-
public fetchUser(parameters: DataSync.FetchUserParameters, callback: ResultCallback<DataSync.FetchUserResponse>): void;
757+
public fetchUser(
758+
parameters: DataSync.FetchUserParameters,
759+
callback: ResultCallback<DataSync.FetchUserResponse>,
760+
): void;
758761

759762
/**
760763
* Fetch a specific User.
@@ -1377,7 +1380,9 @@ export default class PubNubDataSync {
13771380
*
13781381
* @returns Asynchronous fetch membership response.
13791382
*/
1380-
public async fetchMembership(parameters: DataSync.FetchMembershipParameters): Promise<DataSync.FetchMembershipResponse>;
1383+
public async fetchMembership(
1384+
parameters: DataSync.FetchMembershipParameters,
1385+
): Promise<DataSync.FetchMembershipResponse>;
13811386

13821387
/**
13831388
* Fetch a specific Membership.

src/core/types/api/data-sync.ts

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,8 @@ export type PatchRelationshipParameters = {
781781

782782
/**
783783
* Source → destination path pairs to move (RFC 6902 "move"). Both paths are dot-notation and
784-
* used as provided (prefix with `payload.` to target payload fields); the value at `from` is removed and re-added at `path`.
784+
* used as provided (prefix with `payload.` to target payload fields); the value at `from` is
785+
* removed and re-added at `path`.
785786
*/
786787
move?: PatchMovePath[];
787788

@@ -793,7 +794,8 @@ export type PatchRelationshipParameters = {
793794

794795
/**
795796
* Fields to test (dot-notation keys → expected value; RFC 6902 "test"). The patch fails if the
796-
* value at any path does not equal the expected value. Keys are used as provided (prefix with `payload.` for payload fields).
797+
* value at any path does not equal the expected value. Keys are used as provided (prefix with
798+
* `payload.` for payload fields).
797799
*/
798800
test?: Record<string, unknown>;
799801

@@ -996,7 +998,8 @@ export type PatchUserParameters = {
996998

997999
/**
9981000
* Source → destination path pairs to move (RFC 6902 "move"). Both paths are dot-notation and
999-
* used as provided (prefix with `payload.` to target payload fields); the value at `from` is removed and re-added at `path`.
1001+
* used as provided (prefix with `payload.` to target payload fields); the value at `from` is
1002+
* removed and re-added at `path`.
10001003
*/
10011004
move?: PatchMovePath[];
10021005

@@ -1008,7 +1011,8 @@ export type PatchUserParameters = {
10081011

10091012
/**
10101013
* Fields to test (dot-notation keys → expected value; RFC 6902 "test"). The patch fails if the
1011-
* value at any path does not equal the expected value. Keys are used as provided (prefix with `payload.` for payload fields).
1014+
* value at any path does not equal the expected value. Keys are used as provided (prefix with
1015+
* `payload.` for payload fields).
10121016
*/
10131017
test?: Record<string, unknown>;
10141018

@@ -1207,7 +1211,8 @@ export type PatchChannelParameters = {
12071211

12081212
/**
12091213
* Source → destination path pairs to move (RFC 6902 "move"). Both paths are dot-notation and
1210-
* used as provided (prefix with `payload.` to target payload fields); the value at `from` is removed and re-added at `path`.
1214+
* used as provided (prefix with `payload.` to target payload fields); the value at `from` is
1215+
* removed and re-added at `path`.
12111216
*/
12121217
move?: PatchMovePath[];
12131218

@@ -1219,7 +1224,8 @@ export type PatchChannelParameters = {
12191224

12201225
/**
12211226
* Fields to test (dot-notation keys → expected value; RFC 6902 "test"). The patch fails if the
1222-
* value at any path does not equal the expected value. Keys are used as provided (prefix with `payload.` for payload fields).
1227+
* value at any path does not equal the expected value. Keys are used as provided (prefix with
1228+
* `payload.` for payload fields).
12231229
*/
12241230
test?: Record<string, unknown>;
12251231

@@ -1449,7 +1455,8 @@ export type PatchMembershipParameters = {
14491455

14501456
/**
14511457
* Source → destination path pairs to move (RFC 6902 "move"). Both paths are dot-notation and
1452-
* used as provided (prefix with `payload.` to target payload fields); the value at `from` is removed and re-added at `path`.
1458+
* used as provided (prefix with `payload.` to target payload fields); the value at `from` is
1459+
* removed and re-added at `path`.
14531460
*/
14541461
move?: PatchMovePath[];
14551462

@@ -1461,7 +1468,8 @@ export type PatchMembershipParameters = {
14611468

14621469
/**
14631470
* Fields to test (dot-notation keys → expected value; RFC 6902 "test"). The patch fails if the
1464-
* value at any path does not equal the expected value. Keys are used as provided (prefix with `payload.` for payload fields).
1471+
* value at any path does not equal the expected value. Keys are used as provided (prefix with
1472+
* `payload.` for payload fields).
14651473
*/
14661474
test?: Record<string, unknown>;
14671475

0 commit comments

Comments
 (0)