@@ -126,10 +126,10 @@ export const GraphQLTypeConfigSchema = z.object({
126126
127127 /** Fields to include/exclude */
128128 fields : z . object ( {
129- /** Include only these fields (whitelist ) */
129+ /** Include only these fields (allow list ) */
130130 include : z . array ( z . string ( ) ) . optional ( ) . describe ( 'Fields to include' ) ,
131131
132- /** Exclude these fields (blacklist ) */
132+ /** Exclude these fields (deny list ) */
133133 exclude : z . array ( z . string ( ) ) . optional ( ) . describe ( 'Fields to exclude (e.g., sensitive fields)' ) ,
134134
135135 /** Custom field mappings */
@@ -688,7 +688,7 @@ export type GraphQLRateLimit = z.infer<typeof GraphQLRateLimitSchema>;
688688/**
689689 * Persisted Queries Configuration
690690 *
691- * Only allow pre-registered queries to execute (whitelist approach).
691+ * Only allow pre-registered queries to execute (allow list approach).
692692 * Improves security and performance.
693693 */
694694export const GraphQLPersistedQuerySchema = z . object ( {
@@ -728,10 +728,10 @@ export const GraphQLPersistedQuerySchema = z.object({
728728 } ) . optional ( ) . describe ( 'APQ cache configuration' ) ,
729729 } ) . optional ( ) . describe ( 'Automatic Persisted Queries configuration' ) ,
730730
731- /** Query allowlist */
731+ /** Query allow list */
732732 allowlist : z . object ( {
733- /** Enable allowlist mode */
734- enabled : z . boolean ( ) . default ( false ) . describe ( 'Enable query allowlist (reject queries not in list)' ) ,
733+ /** Enable allow list mode */
734+ enabled : z . boolean ( ) . default ( false ) . describe ( 'Enable query allow list (reject queries not in list)' ) ,
735735
736736 /** Allowed query IDs */
737737 queries : z . array ( z . object ( {
@@ -740,9 +740,9 @@ export const GraphQLPersistedQuerySchema = z.object({
740740 query : z . string ( ) . optional ( ) . describe ( 'Query string' ) ,
741741 } ) ) . optional ( ) . describe ( 'Allowed queries' ) ,
742742
743- /** External allowlist source */
744- source : z . string ( ) . optional ( ) . describe ( 'External allowlist source (file path or URL)' ) ,
745- } ) . optional ( ) . describe ( 'Query allowlist configuration' ) ,
743+ /** External allow list source */
744+ source : z . string ( ) . optional ( ) . describe ( 'External allow list source (file path or URL)' ) ,
745+ } ) . optional ( ) . describe ( 'Query allow list configuration' ) ,
746746
747747 /** Security */
748748 security : z . object ( {
0 commit comments