subsquid / docs Goto Github PK
View Code? Open in Web Editor NEWSubsquid documentation
Home Page: https://docs.subsquid.io
Subsquid documentation
Home Page: https://docs.subsquid.io
Attempt to update Docusaurus to @latest fails due to absent themes, e.g.
Cannot find module 'prism-react-renderer/themes/github'
A migration of the existing theme to fresh Docusaurus would be much appreciated.
I followed this guide https://docs.subsquid.io/basics/schema-file/entity-relations/#one-to-one-relations to create One-to-one relations.
But I have an error when using sqd codegen
:
~/codegen-sample$ sqd codegen
CODEGEN
Error: Invalid property Account.user: User.account is not @unique
at invalidProperty (/home/nhat/codegen-sample/node_modules/@subsquid/openreader/lib/model.tools.js:253:12)
at validateLookups (/home/nhat/codegen-sample/node_modules/@subsquid/openreader/lib/model.tools.js:209:35)
at validateModel (/home/nhat/codegen-sample/node_modules/@subsquid/openreader/lib/model.tools.js:127:5)
at buildModel (/home/nhat/codegen-sample/node_modules/@subsquid/openreader/lib/model.schema.js:44:37)
at loadModel (/home/nhat/codegen-sample/node_modules/@subsquid/openreader/lib/tools.js:56:42)
at /home/nhat/codegen-sample/node_modules/@subsquid/typeorm-codegen/lib/main.js:23:39
at runProgram (/home/nhat/codegen-sample/node_modules/@subsquid/util-internal/lib/misc.js:61:9)
at Object.<anonymous> (/home/nhat/codegen-sample/node_modules/@subsquid/typeorm-codegen/lib/main.js:13:32)
at Module._compile (node:internal/modules/cjs/loader:1218:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
After making User.account property to be unique as below
The model account.model.ts in src/model/generated can't generate account
column although User model has been imported
Do you have any ideas for these issues?
Thanks
Page: https://docs.subsquid.io/query-squid/resolve-union-types-interfaces/
Unions don't support entity types.
Test case: https://github.com/subsquid/squid-sdk/blob/master/graphql/openreader/src/test/unions.test.ts
Hey guys, nice documentation, but there is one import missing
On following page, the completed code example before "Apply changes to the Database"
https://docs.subsquid.io/tutorial/create-a-simple-squid
Should be
import {SubstrateProcessor, EventHandlerContext, Store} from '@subsquid/substrate-processor'
Instead of
import {SubstrateProcessor, EventHandlerContext} from '@subsquid/substrate-processor'
hi @abernatskiy please check my problem
https://github.com/nashirudin/subsquid-internal-problem
Describe the bug
I noticed a couple of minor typo from this section of the docs https://docs.subsquid.io/sdk/reference/processors/evm-batch/context-interfaces/
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected no typos.
I've not been able to verify my delegation to validators on the testnet quest
We are proud to release ArrowSquid in public beta. It is by far the most advanced indexing toolkit for Substrate chains, which literally gives superpowers:
Main text color is too bright which makes it annoyingly hard to read.
It should be either dimmed, or, even better, light color scheme should be used by default.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.