Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Dec 1, 2023
1 parent e04238c commit 2762b10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { JSONParseStep, jsonParse } from "@dataplan/json";
import type { JSONParseStep } from "@dataplan/json";
import { jsonParse } from "@dataplan/json";
import { context, lambda, listen, node } from "grafast";
import { makeExtendSchemaPlugin, gql, EXPORTABLE } from "graphile-utils";
import { EXPORTABLE, gql, makeExtendSchemaPlugin } from "graphile-utils";

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

Check failure on line 4 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Cannot find module 'graphile-utils' or its corresponding type declarations.

export const PgV4SimpleSubscriptionsPlugin = makeExtendSchemaPlugin((build) => {

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.

Check failure on line 6 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter 'build' implicitly has an 'any' type.
const nodeIdHandlerByTypeName = build.getNodeIdHandlerByTypeName?.();
Expand Down Expand Up @@ -31,7 +32,7 @@ export const PgV4SimpleSubscriptionsPlugin = makeExtendSchemaPlugin((build) => {
Subscription: {
listen: {
subscribePlan: EXPORTABLE(
(context, jsonParse, listen) =>
(context, jsonParse, lambda, listen) =>

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter 'context' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter 'jsonParse' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter 'lambda' implicitly has an 'any' type.

Check failure on line 35 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter 'listen' implicitly has an 'any' type.
function subscribePlan(_$root, { $topic }) {

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Benjie's depcheck script

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile mutation tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile v4 queries tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Grafast/PostGraphile website posttests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile polymorphic query tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / @dataplan/pg tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / PostGraphile schema tests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / star/build website posttests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Parameter '_$root' implicitly has an 'any' type.

Check failure on line 36 in postgraphile/postgraphile/src/plugins/PgV4SimpleSubscriptionsPlugin.ts

View workflow job for this annotation

GitHub Actions / Small package posttests / build (12, 16.14)

Binding element '$topic' implicitly has an 'any' type.
const $pgSubscriber = context().get("pgSubscriber");
const $derivedTopic = lambda(
Expand All @@ -40,7 +41,7 @@ export const PgV4SimpleSubscriptionsPlugin = makeExtendSchemaPlugin((build) => {
);
return listen($pgSubscriber, $derivedTopic, jsonParse);
},
[context, jsonParse, listen],
[context, jsonParse, lambda, listen],
),
plan: EXPORTABLE(
() =>
Expand Down
4 changes: 2 additions & 2 deletions postgraphile/postgraphile/src/presets/v4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import type { IncomingMessage, ServerResponse } from "http";

import { PgV4BehaviorPlugin } from "../plugins/PgV4BehaviorPlugin.js";
import { PgV4InflectionPlugin } from "../plugins/PgV4InflectionPlugin.js";
import { PgV4SmartTagsPlugin } from "../plugins/PgV4SmartTagsPlugin.js";
import { PgV4SimpleSubscriptionsPlugin } from "../plugins/PgV4SimpleSubscriptionsPlugin.js";
import { PgV4SmartTagsPlugin } from "../plugins/PgV4SmartTagsPlugin.js";

export {
PgV4BehaviorPlugin,
PgV4InflectionPlugin,
PgV4SmartTagsPlugin,
PgV4SimpleSubscriptionsPlugin,
PgV4SmartTagsPlugin,
};

type PromiseOrDirect<T> = T | Promise<T>;
Expand Down

0 comments on commit 2762b10

Please sign in to comment.