Skip to content

Commit

Permalink
removed flow_interfaces reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitpubnub committed Jan 16, 2024
1 parent ed83cab commit f815ad8
Show file tree
Hide file tree
Showing 33 changed files with 0 additions and 60 deletions.
1 change: 0 additions & 1 deletion src/core/components/deduping_manager.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* */

import Config from './config';
import { SubscribeMessage } from '../flow_interfaces';

const hashCode = (payload) => {
let hash = 0;
Expand Down
1 change: 0 additions & 1 deletion src/core/components/push_payload.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */
/* eslint max-classes-per-file: ["error", 5] */
import { APNS2Configuration, APNS2Target } from '../flow_interfaces';

class BaseNotificationPayload {
_subtitle;
Expand Down
1 change: 0 additions & 1 deletion src/core/components/reconnection_manager.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import TimeEndpoint from '../endpoints/time';
import { StatusAnnouncement } from '../flow_interfaces';

export default class {
_reconnectionCallback;
Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/access_manager/audit.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { AuditArguments, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';

export function getOperation() {
Expand Down
2 changes: 0 additions & 2 deletions src/core/endpoints/access_manager/grant.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* */

import { GrantArguments, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';

export function getOperation() {
Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/actions/add_message_action.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { AddMessageActionInput, AddMessageActionResponse, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
2 changes: 0 additions & 2 deletions src/core/endpoints/actions/get_message_actions.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* */

import { GetMessageActionsInput, GetMessageActionsResponse, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/actions/remove_message_action.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { RemoveMessageActionInput, RemoveMessageActionResponse, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
2 changes: 0 additions & 2 deletions src/core/endpoints/channel_groups/add_channels.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* */

import { AddChannelParams, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/channel_groups/delete_group.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { DeleteGroupParams, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
2 changes: 0 additions & 2 deletions src/core/endpoints/channel_groups/list_channels.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* */

import { ListChannelsParams, ListChannelsResponse, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/channel_groups/list_groups.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { ListAllGroupsResponse, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';

export function getOperation() {
Expand Down
2 changes: 0 additions & 2 deletions src/core/endpoints/channel_groups/remove_channels.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* */

import { RemoveChannelParams, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
8 changes: 0 additions & 8 deletions src/core/endpoints/fetch_messages.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
/* */

import {
FetchMessagesArguments,
FetchMessagesResponse,
MessageAnnouncement,
HistoryV3Response,
ModulesInject,
} from '../flow_interfaces';
import operationConstants from '../constants/operations';
import utils from '../utils';

Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/history/delete_messages.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { FetchHistoryArguments, HistoryResponse, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
2 changes: 0 additions & 2 deletions src/core/endpoints/history/get_history.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* */

import { FetchHistoryArguments, HistoryResponse, HistoryItem, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/presence/get_state.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { GetStateArguments, GetStateResponse, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/presence/heartbeat.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { HeartbeatArguments, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
2 changes: 0 additions & 2 deletions src/core/endpoints/presence/here_now.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* */

import { HereNowArguments, ModulesInject, StatusAnnouncement } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/presence/leave.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { LeaveArguments, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
2 changes: 0 additions & 2 deletions src/core/endpoints/presence/where_now.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* */

import { WhereNowArguments, WhereNowResponse, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';
import utils from '../../utils';

Expand Down
2 changes: 0 additions & 2 deletions src/core/endpoints/publish.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* */

import { PublishResponse, PublishArguments, ModulesInject } from '../flow_interfaces';
import operationConstants from '../constants/operations';
import utils from '../utils';
import { encode } from '../components/base64_codec';
Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/push/add_push_channels.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { ModifyDeviceArgs, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';

export function getOperation() {
Expand Down
2 changes: 0 additions & 2 deletions src/core/endpoints/push/list_push_channels.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* */

import { ListChannelsArgs, ListChannelsResponse, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';

export function getOperation() {
Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/push/remove_device.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { RemoveDeviceArgs, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';

export function getOperation() {
Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/push/remove_push_channels.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { ModifyDeviceArgs, ModulesInject } from '../../flow_interfaces';
import operationConstants from '../../constants/operations';

export function getOperation() {
Expand Down
1 change: 0 additions & 1 deletion src/core/endpoints/signal.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* */

import { SignalResponse, SignalArguments, ModulesInject } from '../flow_interfaces';
import operationConstants from '../constants/operations';
import utils from '../utils';

Expand Down
9 changes: 0 additions & 9 deletions src/core/endpoints/subscribe.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/* */

import {
SubscribeArguments,
PublishMetaData,
SubscribeMetadata,
SubscribeMessage,
SubscribeEnvelope,
ModulesInject,
} from '../flow_interfaces';
import operationConstants from '../constants/operations';
import utils from '../utils';

Expand Down
2 changes: 0 additions & 2 deletions src/core/endpoints/time.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* */

import { TimeResponse, ModulesInject } from '../flow_interfaces';
import operationConstants from '../constants/operations';

export function getOperation() {
Expand Down
1 change: 0 additions & 1 deletion src/nativescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import PubNubCore from '../core/pubnub-common';
import Networking from '../networking';
import Database from '../db/common';
import { del, get, post, patch } from '../networking/modules/nativescript';
import { InternalSetupStruct } from '../core/flow_interfaces';

export default class extends PubNubCore {
constructor(setup) {
Expand Down
2 changes: 0 additions & 2 deletions src/networking/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import Config from '../core/components/config';
import categoryConstants from '../core/constants/categories';

import { EndpointDefinition, NetworkingModules } from '../core/flow_interfaces';

export default class {
_modules;

Expand Down
1 change: 0 additions & 1 deletion src/networking/modules/nativescript.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* */

import { request as HttpRequest } from 'http';
import { EndpointDefinition, StatusAnnouncement } from '../../core/flow_interfaces';
import { buildUrl } from '../utils';

function log(url, qs, res) {
Expand Down
1 change: 0 additions & 1 deletion src/networking/modules/titanium.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* */
/* global XMLHttpRequest, Ti */

import { EndpointDefinition, StatusAnnouncement } from '../../core/flow_interfaces';
import { buildUrl } from '../utils';

function log(url, qs, res) {
Expand Down

0 comments on commit f815ad8

Please sign in to comment.