Skip to content

Commit

Permalink
Remove manually imported ActionCable code
Browse files Browse the repository at this point in the history
  • Loading branch information
rubendinho committed Jul 13, 2024
1 parent a7132c4 commit 44c5107
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 707 deletions.
2 changes: 2 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@
},
"dependencies": {
"@apollo/client": "^3.9.9",
"@rails/actioncable": "^7.1.3-4",
"cross-fetch": "^4.0.0",
"graphql": "^16.9.0",
"graphql-ruby-client": "^1.14.0"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/node": "20.14.10",
"@types/rails__actioncable": "6.1.11",
"@types/react": "18.3.3",
"bunchee": "5.2.2",
"rimraf": "6.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/api/graphql/links/ActionCableLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import type { FetchResult, NextLink, Operation } from '@apollo/client/core/index
import { ApolloLink, Observable } from '@apollo/client/core/index.js'
import { print } from 'graphql'
import { endpointWebsockets } from '../../../configuration'
import type { Consumer } from './actioncable'
import { createConsumer } from './actioncable'
import type { Consumer } from '@rails/actioncable'
import { createConsumer } from '@rails/actioncable'

type RequestResult = FetchResult<
{ [key: string]: unknown },
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/api/graphql/links/actioncable/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions packages/core/src/api/graphql/links/actioncable/adapters.ts

This file was deleted.

188 changes: 0 additions & 188 deletions packages/core/src/api/graphql/links/actioncable/connection.ts

This file was deleted.

141 changes: 0 additions & 141 deletions packages/core/src/api/graphql/links/actioncable/connection_monitor.ts

This file was deleted.

Loading

0 comments on commit 44c5107

Please sign in to comment.