We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0170064 commit be18000Copy full SHA for be18000
packages/postgraphile-core/src/index.ts
@@ -20,7 +20,7 @@ import {
20
formatSQLForDebugging,
21
} from "graphile-build-pg";
22
import { Pool, PoolClient } from "pg";
23
-import { SignOptions } from "jsonwebtoken";
+import { SignOptions, Secret } from "jsonwebtoken";
24
25
export {
26
Plugin,
@@ -73,7 +73,7 @@ export interface PostGraphileCoreOptions {
73
prependPlugins?: Array<Plugin>;
74
skipPlugins?: Array<Plugin>;
75
jwtPgTypeIdentifier?: string;
76
- jwtSecret?: string;
+ jwtSecret?: Secret;
77
jwtSignOptions?: SignOptions;
78
/**
79
* @deprecated UNSUPPORTED! Use an inflector plugin instead.
0 commit comments