-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.ts
More file actions
71 lines (60 loc) · 1.92 KB
/
index.ts
File metadata and controls
71 lines (60 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/**
* graphile-misc-plugins
*
* Miscellaneous PostGraphile v5 plugins: inflection, conflict detection,
* meta-schema, type mappings, public-key signature, and more.
*/
// Minimal preset - PostGraphile without Node/Relay features
export { MinimalPreset } from './minimal-preset';
// Custom inflector using inflekt library
export {
InflektPlugin,
InflektPreset,
CustomInflectorPlugin,
CustomInflectorPreset,
} from './custom-inflector';
// Conflict detector for multi-schema setups
export {
ConflictDetectorPlugin,
ConflictDetectorPreset,
} from './conflict-detector';
// Inflector logger for debugging
export {
InflectorLoggerPlugin,
InflectorLoggerPreset,
} from './inflector-logger';
// Enable filtering on all columns (not just indexed)
export {
EnableAllFilterColumnsPlugin,
EnableAllFilterColumnsPreset,
} from './enable-all-filter-columns';
// Many-to-many with opt-in behavior
export {
ManyToManyOptInPlugin,
ManyToManyOptInPreset,
} from './many-to-many-preset';
// Primary key only lookups (disable non-PK unique constraints)
export {
createUniqueLookupPlugin,
PrimaryKeyOnlyPlugin,
NoUniqueLookupPlugin,
PrimaryKeyOnlyPreset,
NoUniqueLookupPreset,
} from './primary-key-only';
export type { UniqueLookupOptions } from './primary-key-only';
// Meta schema plugin for introspection (tables, fields, indexes, constraints)
export {
MetaSchemaPlugin,
MetaSchemaPreset,
} from './meta-schema';
// PG type mappings for custom PostgreSQL types (email, url, etc.)
export {
PgTypeMappingsPlugin,
PgTypeMappingsPreset,
} from './pg-type-mappings';
export type { TypeMapping } from './pg-type-mappings';
// Public key signature plugin for crypto authentication
export { PublicKeySignature } from './PublicKeySignature';
export type { PublicKeyChallengeConfig } from './PublicKeySignature';
// Internal exports for testing
export { _pgTypeToGqlType, _buildFieldMeta, _cachedTablesMeta } from './meta-schema';