Skip to content

Commit

Permalink
Packets Explorer Page (#2012)
Browse files Browse the repository at this point in the history
Basic for now, will be more beautiful later

- feat(app): add app-fetch-schema nix app
- chore(app): generate graphql schema
- feat(app): basic packets page
  • Loading branch information
cor authored May 31, 2024
2 parents 232a008 + b5c0d07 commit 596233b
Show file tree
Hide file tree
Showing 6 changed files with 28,761 additions and 289 deletions.
14 changes: 14 additions & 0 deletions app/app.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@
'';
};
};
app-fetch-schema = {
type = "app";
program = pkgs.writeShellApplication {
name = "app-dev-server";
runtimeInputs = combinedDeps;
text = ''
${ensureAtRepositoryRoot}
cd app/
npx gql.tada generate-schema --tsconfig ./tsconfig.json --output "./src/generated/schema.graphql" --header "X-Hasura-Role:app" "https://graphql.union.build/v1/graphql"
npx gql.tada generate-output --disable-preprocessing --tsconfig ./tsconfig.json --output ./src/generated/graphql-env.d.ts
'';
};
};
};
};
}
23,431 changes: 23,144 additions & 287 deletions app/src/generated/graphql-env.d.ts

Large diffs are not rendered by default.

Loading

0 comments on commit 596233b

Please sign in to comment.