From 628d9a275bd30185b8a6a9f17f48d32be16523b7 Mon Sep 17 00:00:00 2001 From: Serhii Mamontov Date: Wed, 22 May 2024 21:19:35 +0300 Subject: [PATCH] refactor(typo): fix typo in PAM types file name --- lib/core/types/api/{access-panager.js => access-manager.js} | 0 lib/types/core/pubnub-common.d.ts | 2 +- .../core/types/api/{access-panager.d.ts => access-manager.d.ts} | 0 src/core/endpoints/access_manager/audit.ts | 2 +- src/core/endpoints/access_manager/grant.ts | 2 +- src/core/endpoints/access_manager/grant_token.ts | 2 +- src/core/endpoints/access_manager/revoke_token.ts | 2 +- src/core/pubnub-common.ts | 2 +- src/core/types/api/{access-panager.ts => access-manager.ts} | 0 9 files changed, 6 insertions(+), 6 deletions(-) rename lib/core/types/api/{access-panager.js => access-manager.js} (100%) rename lib/types/core/types/api/{access-panager.d.ts => access-manager.d.ts} (100%) rename src/core/types/api/{access-panager.ts => access-manager.ts} (100%) diff --git a/lib/core/types/api/access-panager.js b/lib/core/types/api/access-manager.js similarity index 100% rename from lib/core/types/api/access-panager.js rename to lib/core/types/api/access-manager.js diff --git a/lib/types/core/pubnub-common.d.ts b/lib/types/core/pubnub-common.d.ts index 205654b62..f9bb4df1c 100644 --- a/lib/types/core/pubnub-common.d.ts +++ b/lib/types/core/pubnub-common.d.ts @@ -17,7 +17,7 @@ import * as History from './types/api/history'; import * as MessageAction from './types/api/message-action'; import * as FileSharing from './types/api/file-sharing'; import { PubNubFileInterface } from './types/file'; -import * as PAM from './types/api/access-panager'; +import * as PAM from './types/api/access-manager'; import { SubscriptionOptions } from '../entities/commonTypes'; import { ChannelMetadata } from '../entities/ChannelMetadata'; import { SubscriptionSet } from '../entities/SubscriptionSet'; diff --git a/lib/types/core/types/api/access-panager.d.ts b/lib/types/core/types/api/access-manager.d.ts similarity index 100% rename from lib/types/core/types/api/access-panager.d.ts rename to lib/types/core/types/api/access-manager.d.ts diff --git a/src/core/endpoints/access_manager/audit.ts b/src/core/endpoints/access_manager/audit.ts index bfcea42d3..7229a0e6f 100644 --- a/src/core/endpoints/access_manager/audit.ts +++ b/src/core/endpoints/access_manager/audit.ts @@ -7,7 +7,7 @@ import { TransportResponse } from '../../types/transport-response'; import { PubNubAPIError } from '../../../errors/pubnub-api-error'; import { AbstractRequest } from '../../components/request'; import RequestOperation from '../../constants/operations'; -import * as PAM from '../../types/api/access-panager'; +import * as PAM from '../../types/api/access-manager'; import { KeySet, Query } from '../../types/api'; // -------------------------------------------------------- diff --git a/src/core/endpoints/access_manager/grant.ts b/src/core/endpoints/access_manager/grant.ts index bf83c69b1..687ca08ce 100644 --- a/src/core/endpoints/access_manager/grant.ts +++ b/src/core/endpoints/access_manager/grant.ts @@ -7,7 +7,7 @@ import { TransportResponse } from '../../types/transport-response'; import { PubNubAPIError } from '../../../errors/pubnub-api-error'; import { AbstractRequest } from '../../components/request'; import RequestOperation from '../../constants/operations'; -import * as PAM from '../../types/api/access-panager'; +import * as PAM from '../../types/api/access-manager'; import { KeySet, Query } from '../../types/api'; // -------------------------------------------------------- diff --git a/src/core/endpoints/access_manager/grant_token.ts b/src/core/endpoints/access_manager/grant_token.ts index 86a8132c3..44c9f0089 100644 --- a/src/core/endpoints/access_manager/grant_token.ts +++ b/src/core/endpoints/access_manager/grant_token.ts @@ -8,7 +8,7 @@ import { PubNubAPIError } from '../../../errors/pubnub-api-error'; import { TransportMethod } from '../../types/transport-request'; import { AbstractRequest } from '../../components/request'; import RequestOperation from '../../constants/operations'; -import * as PAM from '../../types/api/access-panager'; +import * as PAM from '../../types/api/access-manager'; import { KeySet } from '../../types/api'; // -------------------------------------------------------- diff --git a/src/core/endpoints/access_manager/revoke_token.ts b/src/core/endpoints/access_manager/revoke_token.ts index a04ddead5..74b1d0f2d 100644 --- a/src/core/endpoints/access_manager/revoke_token.ts +++ b/src/core/endpoints/access_manager/revoke_token.ts @@ -8,7 +8,7 @@ import { PubNubAPIError } from '../../../errors/pubnub-api-error'; import { TransportMethod } from '../../types/transport-request'; import { AbstractRequest } from '../../components/request'; import RequestOperation from '../../constants/operations'; -import * as PAM from '../../types/api/access-panager'; +import * as PAM from '../../types/api/access-manager'; import { encodeString } from '../../utils'; import { KeySet } from '../../types/api'; diff --git a/src/core/pubnub-common.ts b/src/core/pubnub-common.ts index 04b77d7cc..4ed0aad14 100644 --- a/src/core/pubnub-common.ts +++ b/src/core/pubnub-common.ts @@ -80,7 +80,7 @@ import { RevokeTokenRequest } from './endpoints/access_manager/revoke_token'; import { GrantTokenRequest } from './endpoints/access_manager/grant_token'; import { GrantRequest } from './endpoints/access_manager/grant'; import { AuditRequest } from './endpoints/access_manager/audit'; -import * as PAM from './types/api/access-panager'; +import * as PAM from './types/api/access-manager'; // endregion // region Entities import { SubscriptionOptions } from '../entities/commonTypes'; diff --git a/src/core/types/api/access-panager.ts b/src/core/types/api/access-manager.ts similarity index 100% rename from src/core/types/api/access-panager.ts rename to src/core/types/api/access-manager.ts