Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: automate component imports #21

Merged
merged 21 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ notes

# Generated files
src/config/sidebar-links/
src/component-exports/
2 changes: 1 addition & 1 deletion docs/fuel-indexer
Submodule fuel-indexer updated 66 files
+2 −3 .github/workflows/ci.yml
+20 −20 Cargo.lock
+17 −17 Cargo.toml
+4 −2 ci/build-and-deploy-examples.bash
+1 −1 config.yaml
+1 −1 deployment/charts/fuel-indexer/templates/fuel-indexer-deployment.yaml
+1 −1 docs/src/data-types/types.md
+4 −4 docs/src/database/foreign-keys.md
+0 −1 docs/src/forc-index/build.md
+0 −3 docs/src/forc-index/deploy.md
+8 −8 docs/src/graphql/directives.md
+2 −2 docs/src/project-components/schema.md
+4 −4 docs/src/queries/index.md
+2 −2 examples/fuel-explorer/README.md
+1 −1 examples/fuel-explorer/docker-compose.yaml
+38 −8 examples/fuel-explorer/fuel-explorer/fuel_explorer.manifest.yaml
+97 −100 examples/fuel-explorer/fuel-explorer/schema/fuel_explorer.schema.graphql
+1 −1 examples/hello-world-native/README.md
+38 −7 examples/hello-world-native/hello-indexer-native/hello_indexer_native.manifest.yaml
+13 −13 examples/hello-world-native/hello-indexer-native/schema/hello_indexer_native.schema.graphql
+1 −1 examples/hello-world-native/hello-indexer-native/src/main.rs
+2 −2 examples/hello-world/README.md
+38 −8 examples/hello-world/hello-indexer/hello_indexer.manifest.yaml
+13 −13 examples/hello-world/hello-indexer/schema/hello_indexer.schema.graphql
+1 −1 packages/fuel-indexer-api-server/Cargo.toml
+12 −3 packages/fuel-indexer-api-server/src/api.rs
+79 −167 packages/fuel-indexer-api-server/src/uses.rs
+48 −16 packages/fuel-indexer-database/database-types/src/lib.rs
+77 −119 packages/fuel-indexer-database/postgres/src/lib.rs
+44 −41 packages/fuel-indexer-database/src/queries.rs
+2 −2 packages/fuel-indexer-graphql/src/graphql.rs
+0 −1 packages/fuel-indexer-lib/Cargo.toml
+0 −7 packages/fuel-indexer-lib/src/config/cli.rs
+0 −1 packages/fuel-indexer-lib/src/config/mod.rs
+1 −4 packages/fuel-indexer-lib/src/defaults.rs
+7 −3 packages/fuel-indexer-lib/src/graphql/mod.rs
+23 −11 packages/fuel-indexer-lib/src/graphql/parser.rs
+4 −4 packages/fuel-indexer-lib/src/utils.rs
+28 −13 packages/fuel-indexer-macros/src/decoder.rs
+2 −7 packages/fuel-indexer-macros/src/helpers.rs
+1 −1 packages/fuel-indexer-macros/src/indexer.rs
+4 −1 packages/fuel-indexer-plugin/src/native.rs
+2 −1 packages/fuel-indexer-schema/src/db/manager.rs
+218 −222 packages/fuel-indexer-tests/components/indices/fuel-indexer-test/schema/fuel_indexer_test.graphql
+7 −7 packages/fuel-indexer-tests/components/indices/simple-wasm/bad_simple_wasm.graphql
+7 −7 packages/fuel-indexer-tests/components/indices/simple-wasm/schema/schema.graphql
+7 −7 packages/fuel-indexer-tests/components/indices/simple-wasm/schema/simple_wasm.graphql
+ packages/fuel-indexer-tests/components/indices/simple-wasm/simple_wasm.wasm
+4 −10 packages/fuel-indexer-tests/src/fixtures.rs
+6 −9 packages/fuel-indexer-tests/tests/e2e/indexing_postgres.rs
+3 −2 packages/fuel-indexer-tests/tests/integration/database.rs
+2 −2 packages/fuel-indexer-tests/tests/integration/graphql_schema.rs
+3 −6 packages/fuel-indexer-tests/tests/integration/service.rs
+1 −4 packages/fuel-indexer/src/commands/run.rs
+1 −1 packages/fuel-indexer/src/database.rs
+51 −79 packages/fuel-indexer/src/executor.rs
+26 −49 packages/fuel-indexer/src/service.rs
+1 −0 plugins/forc-index/Cargo.toml
+0 −8 plugins/forc-index/src/commands/build.rs
+0 −21 plugins/forc-index/src/commands/deploy.rs
+2 −2 plugins/forc-index/src/defaults.rs
+26 −4 plugins/forc-index/src/ops/forc_index_build.rs
+16 −23 plugins/forc-index/src/ops/forc_index_deploy.rs
+1 −0 plugins/forc-index/src/ops/mod.rs
+85 −0 plugins/forc-index/src/ops/utils.rs
+2 −0 scripts/utils/build_modules.bash
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
"docs:sync": "sh ./scripts/sync-repos.sh",
"docs:clean": "sh ./scripts/clean-build-files.sh",
"deps:update": "updates -gu",
"dev": "pnpm generate:links && next dev",
"dev": "pnpm generate:links && pnpm generate:components && next dev",
"export": "DOCS_DIST=${DOCS_DIST:=dist} next export -o $DOCS_DIST",
"generate:links": "node scripts/generate-links.mjs",
"generate:components": "node scripts/components.mjs",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx",
"lint:fix": "pnpm lint --fix",
"lint:prod": "eslint . --ext .ts,.tsx,.js,.jsx -c .eslintrc.prod",
Expand All @@ -28,7 +29,7 @@
"@fuel-ui/config": "^0.16.1",
"@fuel-ui/css": "^0.16.1",
"@fuel-ui/react": "^0.16.1",
"@fuel-wallet/sdk": "^0.11.0",
"@fuel-wallet/sdk": "^0.11.2",
"@fuels/eslint-plugin": "^0.0.3",
"@fuels/prettier-config": "^0.0.3",
"@fuels/ts-config": "^0.0.3",
Expand All @@ -41,7 +42,7 @@
"cookie": "^0.5.0",
"dotenv": "^16.3.1",
"framer-motion": "^10.13.1",
"fuels": "0.48.1",
"fuels": "0.49.1",
"globby": "^13.2.2",
"gray-matter": "^4.0.3",
"hast-util-from-text": "^2.0.1",
Expand Down
Loading
Loading