Rollback Phoenix client to 1.5 because of issues with Jest
See https://github.com/phoenixframework/phoenix/pull/4512 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
2
js/src/typings/absinthe.d.ts
vendored
2
js/src/typings/absinthe.d.ts
vendored
@@ -2,6 +2,4 @@ declare module "@absinthe/socket";
|
||||
|
||||
declare module "@absinthe/socket-apollo-link";
|
||||
|
||||
declare module "phoenix";
|
||||
|
||||
declare module "apollo-absinthe-upload-link";
|
||||
|
||||
@@ -12,14 +12,14 @@ import {
|
||||
split,
|
||||
} from "@apollo/client/core";
|
||||
import { RetryLink } from "@apollo/client/link/retry";
|
||||
import buildCurrentUserResolver from "@/apollo/user";
|
||||
import { AUTH_ACCESS_TOKEN } from "@/constants";
|
||||
import { logout } from "@/utils/auth";
|
||||
import { Socket as PhoenixSocket } from "phoenix";
|
||||
import * as AbsintheSocket from "@absinthe/socket";
|
||||
import { createAbsintheSocketLink } from "@absinthe/socket-apollo-link";
|
||||
import { getMainDefinition } from "@apollo/client/utilities";
|
||||
import fetch from "unfetch";
|
||||
import buildCurrentUserResolver from "@/apollo/user";
|
||||
import { AUTH_ACCESS_TOKEN } from "@/constants";
|
||||
import { logout } from "@/utils/auth";
|
||||
import { GRAPHQL_API_ENDPOINT, GRAPHQL_API_FULL_PATH } from "./api/_entrypoint";
|
||||
import {
|
||||
possibleTypes,
|
||||
|
||||
Reference in New Issue
Block a user