@@ -1,5 +1,5 @@
|
||||
import { encodeCursor } from '@/apollo/utils/encodeCursor';
|
||||
import { ObjectRecord } from '@/object-record/types/ObjectRecord';
|
||||
import { type ObjectRecord } from '@/object-record/types/ObjectRecord';
|
||||
import { Buffer } from 'buffer';
|
||||
|
||||
describe('encodeCursor', () => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { gql } from '@apollo/client';
|
||||
import { Operation } from '@apollo/client/core';
|
||||
import { type Operation } from '@apollo/client/core';
|
||||
import { StreamingRestLink } from '../streamingRestLink';
|
||||
|
||||
global.fetch = jest.fn();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ObjectRecord } from '@/object-record/types/ObjectRecord';
|
||||
import { type ObjectRecord } from '@/object-record/types/ObjectRecord';
|
||||
|
||||
import { Buffer } from 'buffer';
|
||||
import { isDefined } from 'twenty-shared/utils';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { isDefined } from 'twenty-shared/utils';
|
||||
import { AuthTokenPair } from '~/generated/graphql';
|
||||
import { type AuthTokenPair } from '~/generated/graphql';
|
||||
import { cookieStorage } from '~/utils/cookie-storage';
|
||||
|
||||
const isValidAuthTokenPair = (tokenPair: any): tokenPair is AuthTokenPair => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ApolloLink, gql, Operation } from '@apollo/client';
|
||||
import { ApolloLink, gql, type Operation } from '@apollo/client';
|
||||
import { logDebug } from '~/utils/logDebug';
|
||||
import { logError } from '~/utils/logError';
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import {
|
||||
ApolloLink,
|
||||
Observable,
|
||||
Operation,
|
||||
ServerError,
|
||||
type Operation,
|
||||
type ServerError,
|
||||
} from '@apollo/client/core';
|
||||
import { FetchResult } from '@apollo/client/link/core';
|
||||
import { ArgumentNode, DirectiveNode } from 'graphql';
|
||||
import { type FetchResult } from '@apollo/client/link/core';
|
||||
import { type ArgumentNode, type DirectiveNode } from 'graphql';
|
||||
import { isDefined } from 'twenty-shared/utils';
|
||||
|
||||
type StreamingRestLinkOptions = {
|
||||
|
||||
Reference in New Issue
Block a user