Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
feat: ipfs-based workstreams store
Browse files Browse the repository at this point in the history
  • Loading branch information
efstajas committed Sep 8, 2022
1 parent eb99fb6 commit c553dfa
Show file tree
Hide file tree
Showing 9 changed files with 710 additions and 4 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,19 @@
"@lukeed/uuid": "^2.0.0",
"@metamask/detect-provider": "^1.2.0",
"@metamask/providers": "^9.0.0",
"@pinata/sdk": "^1.1.26",
"@walletconnect/qrcode-modal": "^1.7.8",
"@walletconnect/web3-provider": "^1.7.8",
"cupertino-pane": "^1.3.0",
"dotenv": "^16.0.2",
"drips-sdk": "https://github.com/radicle-dev/drips-js-sdk#973599caf3013a2ac56155f11b8cd2426ff263d1",
"ethers": "5.6.4",
"graphql-tag": "^2.12.6",
"multiformats": "^9.7.1",
"radicle-design-system": "https://github.com/radicle-dev/radicle-design-system#ecedcb410730a0a9c47b797b2018bcb52723b681",
"siwe": "^1.1.6",
"web3-utils": "^1.7.3"
"web3-utils": "^1.7.3",
"zod": "^3.18.0"
},
"lint-staged": {
"*.{js,css,svelte,ts}": "eslint --cache --fix",
Expand Down
29 changes: 29 additions & 0 deletions src/lib/api/drips-subgraph/__generated__/DripsEntriesForConfig.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions src/lib/api/drips-subgraph/__generated__/SplitsConfig.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions src/lib/api/drips-subgraph/queries.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
import { gql } from 'graphql-tag';

export const DRIPS_ENTRIES_FOR_CONFIG = gql`
query DripsEntriesForConfig($user: ID!) {
dripsConfig(id: $user) {
dripsEntries {
receiver
account
amtPerSec
isAccountDrip
}
}
}
`;

export const GET_LAST_DRIP_ENTRY = gql`
query LastDripsEntry($user: Bytes!) {
dripsEntries(
Expand Down
Loading

0 comments on commit c553dfa

Please sign in to comment.