diff --git a/packages/graphile-build-pg/res/watch-fixtures.sql b/packages/graphile-build-pg/res/watch-fixtures.sql index f6c1dc1ae..7ef31de6b 100644 --- a/packages/graphile-build-pg/res/watch-fixtures.sql +++ b/packages/graphile-build-pg/res/watch-fixtures.sql @@ -49,26 +49,42 @@ $$ language plpgsql; create event trigger postgraphile_watch_ddl on ddl_command_end when tag in ( + -- Ref: https://www.postgresql.org/docs/10/static/event-trigger-matrix.html + 'ALTER AGGREGATE', 'ALTER DOMAIN', + 'ALTER EXTENSION', 'ALTER FOREIGN TABLE', 'ALTER FUNCTION', + 'ALTER POLICY', 'ALTER SCHEMA', 'ALTER TABLE', 'ALTER TYPE', 'ALTER VIEW', 'COMMENT', + 'CREATE AGGREGATE', 'CREATE DOMAIN', + 'CREATE EXTENSION', 'CREATE FOREIGN TABLE', 'CREATE FUNCTION', + 'CREATE INDEX', + 'CREATE POLICY', + 'CREATE RULE', 'CREATE SCHEMA', 'CREATE TABLE', 'CREATE TABLE AS', 'CREATE VIEW', + 'DROP AGGREGATE', 'DROP DOMAIN', + 'DROP EXTENSION', 'DROP FOREIGN TABLE', 'DROP FUNCTION', + 'DROP INDEX', + 'DROP OWNED', + 'DROP POLICY', + 'DROP RULE', 'DROP SCHEMA', 'DROP TABLE', + 'DROP TYPE', 'DROP VIEW', 'GRANT', 'REVOKE', diff --git a/packages/graphile-build/package.json b/packages/graphile-build/package.json index 5d29544c0..161ca3553 100644 --- a/packages/graphile-build/package.json +++ b/packages/graphile-build/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://graphile.org/graphile-build/", "dependencies": { - "@types/graphql": "0.13.4", + "@types/graphql": "^0.13.4", "debug": ">=2 <3", "graphql-parse-resolve-info": "4.0.0-rc.6", "lodash": ">=4 <5", diff --git a/packages/graphql-parse-resolve-info/package.json b/packages/graphql-parse-resolve-info/package.json index b84728bdb..71a17d9dc 100644 --- a/packages/graphql-parse-resolve-info/package.json +++ b/packages/graphql-parse-resolve-info/package.json @@ -44,7 +44,7 @@ "typescript": "3.0.1" }, "dependencies": { - "@types/graphql": "0.13.4", + "@types/graphql": "^0.13.4", "debug": ">=2 <3" }, "files": [ diff --git a/packages/postgraphile-core/package.json b/packages/postgraphile-core/package.json index dd6f22ddd..0f9e514b0 100644 --- a/packages/postgraphile-core/package.json +++ b/packages/postgraphile-core/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/graphile/graphile-build/issues" }, "dependencies": { - "@types/graphql": "0.13.4", + "@types/graphql": "^0.13.4", "graphile-build": "4.0.0-rc.6", "graphile-build-pg": "4.0.0-rc.6" }, diff --git a/yarn.lock b/yarn.lock index 50a99a00b..ab37b81f5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -76,7 +76,7 @@ version "1.2.0" resolved "https://registry.yarnpkg.com/@types/events/-/events-1.2.0.tgz#81a6731ce4df43619e5c8c945383b3e62a89ea86" -"@types/graphql@0.13.4": +"@types/graphql@^0.13.4": version "0.13.4" resolved "https://registry.yarnpkg.com/@types/graphql/-/graphql-0.13.4.tgz#55ae9c29f0fd6b85ee536f5c72b4769d5c5e06b1"