@memberjunction/codegen-lib 6.1.0-edge.3 → 6.1.0-edge.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/README.md +50 -21
  2. package/dist/Config/config.d.ts +290 -11
  3. package/dist/Config/config.d.ts.map +1 -1
  4. package/dist/Config/config.js +259 -9
  5. package/dist/Config/config.js.map +1 -1
  6. package/dist/Config/schema-output.d.ts +33 -0
  7. package/dist/Config/schema-output.d.ts.map +1 -0
  8. package/dist/Config/schema-output.js +52 -0
  9. package/dist/Config/schema-output.js.map +1 -0
  10. package/dist/Database/__tests__/exclude-schema-permissions.test.d.ts +2 -0
  11. package/dist/Database/__tests__/exclude-schema-permissions.test.d.ts.map +1 -0
  12. package/dist/Database/__tests__/exclude-schema-permissions.test.js +32 -0
  13. package/dist/Database/__tests__/exclude-schema-permissions.test.js.map +1 -0
  14. package/dist/Database/codeGenDatabaseProvider.d.ts +126 -2
  15. package/dist/Database/codeGenDatabaseProvider.d.ts.map +1 -1
  16. package/dist/Database/codeGenDatabaseProvider.js +203 -0
  17. package/dist/Database/codeGenDatabaseProvider.js.map +1 -1
  18. package/dist/Database/exclude-tables.d.ts +26 -0
  19. package/dist/Database/exclude-tables.d.ts.map +1 -0
  20. package/dist/Database/exclude-tables.js +38 -0
  21. package/dist/Database/exclude-tables.js.map +1 -0
  22. package/dist/Database/heal-schema-params.d.ts +33 -0
  23. package/dist/Database/heal-schema-params.d.ts.map +1 -0
  24. package/dist/Database/heal-schema-params.js +51 -0
  25. package/dist/Database/heal-schema-params.js.map +1 -0
  26. package/dist/Database/manage-metadata.d.ts +59 -0
  27. package/dist/Database/manage-metadata.d.ts.map +1 -1
  28. package/dist/Database/manage-metadata.js +157 -61
  29. package/dist/Database/manage-metadata.js.map +1 -1
  30. package/dist/Database/providers/postgresql/PostgreSQLCodeGenProvider.d.ts +25 -35
  31. package/dist/Database/providers/postgresql/PostgreSQLCodeGenProvider.d.ts.map +1 -1
  32. package/dist/Database/providers/postgresql/PostgreSQLCodeGenProvider.js +97 -51
  33. package/dist/Database/providers/postgresql/PostgreSQLCodeGenProvider.js.map +1 -1
  34. package/dist/Database/providers/postgresql/__tests__/SoftPrimaryKeyIndex.test.d.ts +2 -0
  35. package/dist/Database/providers/postgresql/__tests__/SoftPrimaryKeyIndex.test.d.ts.map +1 -0
  36. package/dist/Database/providers/postgresql/__tests__/SoftPrimaryKeyIndex.test.js +110 -0
  37. package/dist/Database/providers/postgresql/__tests__/SoftPrimaryKeyIndex.test.js.map +1 -0
  38. package/dist/Database/providers/postgresql/metadataSupportObjects.js +78 -10
  39. package/dist/Database/providers/postgresql/metadataSupportObjects.js.map +1 -1
  40. package/dist/Database/providers/sqlserver/SQLServerCodeGenProvider.d.ts +14 -0
  41. package/dist/Database/providers/sqlserver/SQLServerCodeGenProvider.d.ts.map +1 -1
  42. package/dist/Database/providers/sqlserver/SQLServerCodeGenProvider.js +38 -0
  43. package/dist/Database/providers/sqlserver/SQLServerCodeGenProvider.js.map +1 -1
  44. package/dist/Database/providers/sqlserver/__tests__/SQLServerCodeGenProvider.test.js +17 -0
  45. package/dist/Database/providers/sqlserver/__tests__/SQLServerCodeGenProvider.test.js.map +1 -1
  46. package/dist/Database/providers/sqlserver/__tests__/SoftPrimaryKeyIndex.test.d.ts +2 -0
  47. package/dist/Database/providers/sqlserver/__tests__/SoftPrimaryKeyIndex.test.d.ts.map +1 -0
  48. package/dist/Database/providers/sqlserver/__tests__/SoftPrimaryKeyIndex.test.js +195 -0
  49. package/dist/Database/providers/sqlserver/__tests__/SoftPrimaryKeyIndex.test.js.map +1 -0
  50. package/dist/Database/schema-filters.d.ts +23 -0
  51. package/dist/Database/schema-filters.d.ts.map +1 -0
  52. package/dist/Database/schema-filters.js +42 -0
  53. package/dist/Database/schema-filters.js.map +1 -0
  54. package/dist/Database/schema-scope.d.ts.map +1 -1
  55. package/dist/Database/schema-scope.js +4 -0
  56. package/dist/Database/schema-scope.js.map +1 -1
  57. package/dist/Database/sql_codegen.d.ts +33 -0
  58. package/dist/Database/sql_codegen.d.ts.map +1 -1
  59. package/dist/Database/sql_codegen.js +147 -56
  60. package/dist/Database/sql_codegen.js.map +1 -1
  61. package/dist/EntityNameScanner/EntityNameScanner.d.ts.map +1 -1
  62. package/dist/EntityNameScanner/EntityNameScanner.js +33 -2
  63. package/dist/EntityNameScanner/EntityNameScanner.js.map +1 -1
  64. package/dist/Manifest/GenerateClassRegistrationsManifest.d.ts +30 -4
  65. package/dist/Manifest/GenerateClassRegistrationsManifest.d.ts.map +1 -1
  66. package/dist/Manifest/GenerateClassRegistrationsManifest.js +175 -25
  67. package/dist/Manifest/GenerateClassRegistrationsManifest.js.map +1 -1
  68. package/dist/Misc/codegen-reporter.d.ts +3 -0
  69. package/dist/Misc/codegen-reporter.d.ts.map +1 -1
  70. package/dist/Misc/codegen-reporter.js +3 -0
  71. package/dist/Misc/codegen-reporter.js.map +1 -1
  72. package/dist/Misc/emit-stats.d.ts +28 -0
  73. package/dist/Misc/emit-stats.d.ts.map +1 -0
  74. package/dist/Misc/emit-stats.js +43 -0
  75. package/dist/Misc/emit-stats.js.map +1 -0
  76. package/dist/Misc/entity_subclasses_codegen.d.ts +42 -7
  77. package/dist/Misc/entity_subclasses_codegen.d.ts.map +1 -1
  78. package/dist/Misc/entity_subclasses_codegen.js +177 -52
  79. package/dist/Misc/entity_subclasses_codegen.js.map +1 -1
  80. package/dist/Misc/file-write.d.ts +15 -0
  81. package/dist/Misc/file-write.d.ts.map +1 -0
  82. package/dist/Misc/file-write.js +33 -0
  83. package/dist/Misc/file-write.js.map +1 -0
  84. package/dist/Misc/graphql_server_codegen.d.ts +12 -2
  85. package/dist/Misc/graphql_server_codegen.d.ts.map +1 -1
  86. package/dist/Misc/graphql_server_codegen.js +61 -12
  87. package/dist/Misc/graphql_server_codegen.js.map +1 -1
  88. package/dist/Misc/runCommand.d.ts +5 -0
  89. package/dist/Misc/runCommand.d.ts.map +1 -1
  90. package/dist/Misc/runCommand.js +43 -17
  91. package/dist/Misc/runCommand.js.map +1 -1
  92. package/dist/Misc/schema-emit.d.ts +123 -0
  93. package/dist/Misc/schema-emit.d.ts.map +1 -0
  94. package/dist/Misc/schema-emit.js +220 -0
  95. package/dist/Misc/schema-emit.js.map +1 -0
  96. package/dist/Misc/system_integrity.d.ts.map +1 -1
  97. package/dist/Misc/system_integrity.js +5 -0
  98. package/dist/Misc/system_integrity.js.map +1 -1
  99. package/dist/index.d.ts +6 -0
  100. package/dist/index.d.ts.map +1 -1
  101. package/dist/index.js +6 -0
  102. package/dist/index.js.map +1 -1
  103. package/dist/runCodeGen.d.ts +20 -2
  104. package/dist/runCodeGen.d.ts.map +1 -1
  105. package/dist/runCodeGen.js +147 -21
  106. package/dist/runCodeGen.js.map +1 -1
  107. package/package.json +29 -29
package/README.md CHANGED
@@ -71,7 +71,7 @@ flowchart TD
71
71
  - **Extensible Architecture**: Every generator (`SQLCodeGenBase`, `EntitySubClassGeneratorBase`, `AngularClientGeneratorBase`, etc.) can be subclassed and overridden via MJ's class factory
72
72
  - **Zod Validation Schemas**: Generates Zod schemas from SQL CHECK constraints with proper union types and refinements
73
73
  - **Recursive Foreign Key & Hierarchy Traversal Engine**: Automatically detects self-referential foreign keys and generates a 4-routine TVF suite (`GetHierarchyMeta`, `GetDescendants`, `GetAncestors`, `GetRootID`), 5 computed base-view columns (`Root<Field>`, `<Field>Depth`, `<Field>Path`, `<Field>IsLeaf`, `<Field>ChildCount`), and strongly typed TypeScript entity traversal methods (`GetDescendants()`, `GetAncestors()`, `GetChildren()`). See the [Recursive Foreign Keys & Hierarchy Traversal Guide](../../guides/RECURSIVE_FOREIGN_KEYS_AND_HIERARCHIES_GUIDE.md).
74
- - **Cascade Delete Generation**: Produces cursor-based cascade delete procedures that call child entity stored procedures, respecting business logic at every level
74
+ - **Cascade Delete Generation**: Produces cursor-based cascade delete procedures that call child entity stored procedures, respecting business logic at every level. Default is **intra-schema only**; `allowCrossSchemaCascadeDeletes` (off) is required to walk FKs in other schemas.
75
75
  - **Force Regeneration**: Surgically regenerate specific SQL objects for specific entities without requiring schema changes
76
76
  - **Class Registration Manifests**: Prevents tree-shaking of `@RegisterClass`-decorated classes by generating static import manifests
77
77
  - **SQL Migration Logging**: Outputs all generated SQL as Flyway-compatible migration files with schema placeholder support
@@ -317,10 +317,40 @@ All configuration is validated at startup using Zod schemas, with clear error me
317
317
  | `SQLOutput` | Controls Flyway migration file generation from SQL logging |
318
318
  | `commands` | Shell commands to run before/after generation (typically package builds) |
319
319
  | `excludeSchemas` / `excludeTables` | Filter schemas and tables from metadata discovery |
320
+ | `includeSchemas` | Opt-in positive scope: generate only these schemas (resolved into `excludeSchemas` **for this run**). Heal SQL logged into migrations uses `@IncludedSchemaNames` from this list plus authored `excludeSchemas` — never a snapshot of sibling apps on the publisher DB. |
321
+ | `allowCrossSchemaCascadeDeletes` | Default **false**. Cascade-delete SQL is intra-schema only. `true` restores the old walk of every FK pointing at the entity, including other Open Apps. Dangerous; leave off. |
322
+ | `entityPackageName` | String: npm package this emit writes. Record: install-time host map (those schemas are also skipped for local generation) |
323
+ | `entityImportPackages` | Schema → npm map for peer classes this emit does **not** generate (embeds + related-record collections). See below. |
320
324
  | `entityNaming` | Controls ALL CAPS normalization and compound word splitting for entity/field names |
321
325
  | `additionalSchemaInfo` | Path to JSON file with soft PK/FK definitions and schema prefix rules |
322
326
  | `dbPlatform` | Database backend selector. See **Database Platform Selection** below. |
323
327
 
328
+ ### Peer entity imports (`entityImportPackages`)
329
+
330
+ Embedded records and related-record collections type the generated subclass against the **related** entity class (`DeclareEmbeddedRecord<AddressEntity>`, `DeclareRelatedRecords<PersonEntity>`). When that class is not emitted in the current file, CodeGen must `import` it from the npm package that owns it.
331
+
332
+ Those are three different knobs. Do not overload `entityPackageName`:
333
+
334
+ | Knob | Meaning |
335
+ |------|---------|
336
+ | `includeSchemas` | What this run **generates** |
337
+ | string `entityPackageName` | The npm package this run **writes** those classes into |
338
+ | Record `entityPackageName` | Install-time **host** map. Listed schemas are also skipped for local generation (`getExternalEntitySchemas`). Converting a publisher's string `entityPackageName` into this Record silently re-routes every unmapped schema. |
339
+ | `entityImportPackages` | Schema → npm map for peers this run does **not** generate |
340
+
341
+ Open App **publishers** (the repo that develops the app) use the string form plus `includeSchemas`, and must list sibling apps here:
342
+
343
+ ```javascript
344
+ entityPackageName: '@mj-biz-apps/orders-entities',
345
+ includeSchemas: ['__mj_BizAppsOrders'],
346
+ entityImportPackages: {
347
+ '__mj_BizAppsCommon': '@mj-biz-apps/common-entities',
348
+ '__mj_BizAppsAccounting': '@mj-biz-apps/accounting-entities',
349
+ },
350
+ ```
351
+
352
+ Resolution: core schema (`__mj`) → `@memberjunction/core-entities`; same schema as the owning entity → this emit's package; then `entityImportPackages`; then Record `entityPackageName` (host fallback). An unmapped foreign schema **throws** — CodeGen will not self-import this emit's package (that was the Orders `import { mjBizAppsCommonAddressEntity } from '@mj-biz-apps/orders-entities'` bug). Mapping a foreign schema to this emit's own package is also an error. Imports are grouped: one `import { A, B } from 'pkg'` line per package.
353
+
324
354
  ### Database Platform Selection (`dbPlatform`)
325
355
 
326
356
  CodeGenLib accepts a single canonical `dbPlatform` field with two values:
@@ -692,27 +722,21 @@ FROM [orders].[vwOrderHeadersGenerated] g;
692
722
  `RunView`, visible in Explorer — and is returned by `spCreate`/`spUpdate`/`spDelete`, because those
693
723
  select from `BaseView`.
694
724
 
695
- ### SQL Server only
696
-
697
- **Layering is rejected on PostgreSQL.** CodeGen throws when it encounters an entity with
698
- `GeneratedBaseViewName` set on a PG install, naming the entity and both views.
725
+ ### PostgreSQL — restar the outer view; ship it via pg-migrate
699
726
 
700
- The reason is that PG cannot deliver the feature's whole point. Everything above depends on the
701
- outer view's `SELECT g.*` being re-resolved after the inner view regenerates — that is what makes a
702
- late-added foreign key appear on its own. SQL Server does that with `sp_refreshview`. PostgreSQL
703
- expands `*` into a fixed column list at creation and freezes it, has no refresh equivalent, and
704
- CodeGen does not own the outer view, so nothing recreates it.
727
+ The outer view is still **custom SQL**. A build engineer ships the PostgreSQL equivalent through
728
+ pg-migrate (same `SELECT g.*, extras FROM inner g` shape, with `||` / `LEFT JOIN LATERAL` instead of
729
+ T-SQL). CodeGen never overwrites that outer SQL.
705
730
 
706
- The resulting behaviour would not even be consistently broken. Adding a column — the common case —
707
- leaves the outer view stale, because `CREATE OR REPLACE` on the inner view never touches dependents.
708
- Renaming a column or changing its type raises `42P16`, which sends CodeGen down its
709
- capture/`DROP CASCADE`/replay path; that incidentally recreates the outer view, which then *does*
710
- pick the new columns up. Same feature, opposite outcomes, decided by which kind of schema change
711
- happened to land that day. Since silent staleness is the exact failure layering exists to eliminate,
712
- PG refuses it outright rather than shipping a documented footgun.
731
+ PostgreSQL expands `g.*` at `CREATE VIEW` and freezes the column list, and it has no
732
+ `sp_refreshview`. After CodeGen rewrites the inner view it **restars** the outer definition — rewrites
733
+ the deparsed `SELECT g.col1, g.col2, …, extras` back to `SELECT g.*, extras` — then
734
+ `CREATE OR REPLACE` (or, when a new inner column lands in the middle of `g.*` and PostgreSQL raises
735
+ `42P16`, capture / `DROP CASCADE` / recreate / replay dependent functions). Open App `mj migrate`
736
+ calls `spRebindLayeredOuterViewsInSchema` for the same rebind.
713
737
 
714
- On PostgreSQL, use a fully custom base view (`BaseViewGenerated = 0`, `GeneratedBaseViewName` left
715
- `NULL`) and accept that it must be hand-maintained as the schema changes.
738
+ Do not leave the outer as a one-time pg-migrate artifact and hope later inner regenerations show up.
739
+ Without the restar they will not.
716
740
 
717
741
  ### Setting it up
718
742
 
@@ -721,8 +745,10 @@ On PostgreSQL, use a fully custom base view (`BaseViewGenerated = 0`, `Generated
721
745
  `metadata/entities/.layered-base-views.json`.
722
746
  2. Run CodeGen. It writes the inner view.
723
747
  3. Create your `BaseView` in a migration that runs **after** CodeGen output, since it selects from the
724
- inner view — and may reference generated root-ID functions.
725
- 4. Run CodeGen again so the new columns are discovered as `EntityField` rows.
748
+ inner view — and may reference generated root-ID functions. On PostgreSQL, ship the same wrapper
749
+ via pg-migrate (`LEFT JOIN LATERAL` / `||` instead of `OUTER APPLY` / `CONVERT`).
750
+ 4. Run CodeGen again so the new columns are discovered as `EntityField` rows. On PostgreSQL this
751
+ pass restars the outer view so `g.*` includes anything the inner view gained.
726
752
 
727
753
  > ### ⚠️ Adopting layering on an EXISTING entity needs `forceRegeneration`
728
754
  >
@@ -991,6 +1017,9 @@ Generates an import manifest that prevents tree-shaking of `@RegisterClass` deco
991
1017
  | `outputDir(type, fallback)` | Get the configured output directory for a generator type |
992
1018
  | `getSettingValue(name, default)` | Get a named setting value from configuration |
993
1019
  | `mj_core_schema()` | Get the MJ core schema name (typically `__mj`) |
1020
+ | `resolveEntityPackageName(schema)` | Package for a schema from `entityPackageName` (string form returns that string for every schema) |
1021
+ | `resolveEntityImportPackage(related, owning)` | Package to **import** a peer class from; throws if a foreign schema is unmapped |
1022
+ | `thisEmitEntityPackageName(owning)` | The npm package this CodeGen run writes |
994
1023
 
995
1024
  ## Dependencies
996
1025
 
@@ -158,6 +158,63 @@ declare const tableInfoSchema: z.ZodObject<{
158
158
  schema: string;
159
159
  table: string;
160
160
  }>;
161
+ declare const fileEmitSchema: z.ZodDefault<z.ZodObject<{
162
+ /** Emit one TypeScript file per schema plus a barrel. Default true. */
163
+ perSchema: z.ZodDefault<z.ZodBoolean>;
164
+ /** Skip the disk write when generated bytes are identical. Default true. */
165
+ writeIfChanged: z.ZodDefault<z.ZodBoolean>;
166
+ /** Assemble independent schema files in parallel. Default true. */
167
+ parallel: z.ZodDefault<z.ZodBoolean>;
168
+ /** Max schemas assembled at once when `parallel` is true. Default 8. */
169
+ concurrency: z.ZodDefault<z.ZodNumber>;
170
+ /**
171
+ * Rebuild only schemas that contain a new/modified entity (plus any schema
172
+ * whose file is missing). `--skipdb` file-only runs ignore this and rebuild
173
+ * every schema, still gated by write-if-changed. Default true.
174
+ */
175
+ dirtySchemaOnly: z.ZodDefault<z.ZodBoolean>;
176
+ /**
177
+ * SQL Server per-entity SQL generation width. PostgreSQL stays serial (1)
178
+ * regardless — catalog deadlocks under parallel phased DDL. Default 8.
179
+ */
180
+ sqlEntityBatchSize: z.ZodDefault<z.ZodNumber>;
181
+ }, "strip", z.ZodTypeAny, {
182
+ perSchema: boolean;
183
+ writeIfChanged: boolean;
184
+ parallel: boolean;
185
+ concurrency: number;
186
+ dirtySchemaOnly: boolean;
187
+ sqlEntityBatchSize: number;
188
+ }, {
189
+ perSchema?: boolean | undefined;
190
+ writeIfChanged?: boolean | undefined;
191
+ parallel?: boolean | undefined;
192
+ concurrency?: number | undefined;
193
+ dirtySchemaOnly?: boolean | undefined;
194
+ sqlEntityBatchSize?: number | undefined;
195
+ }>>;
196
+ declare const schemaOutputOverrideSchema: z.ZodObject<{
197
+ /** Exact schema name or `%` wildcard (`bsd_%`). */
198
+ schema: z.ZodString;
199
+ EntitySubClasses: z.ZodOptional<z.ZodString>;
200
+ GraphQLServer: z.ZodOptional<z.ZodString>;
201
+ Angular: z.ZodOptional<z.ZodString>;
202
+ skip: z.ZodOptional<z.ZodArray<z.ZodEnum<["EntitySubClasses", "GraphQLServer", "Angular", "SQL"]>, "many">>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ schema: string;
205
+ EntitySubClasses?: string | undefined;
206
+ GraphQLServer?: string | undefined;
207
+ Angular?: string | undefined;
208
+ skip?: ("EntitySubClasses" | "GraphQLServer" | "Angular" | "SQL")[] | undefined;
209
+ }, {
210
+ schema: string;
211
+ EntitySubClasses?: string | undefined;
212
+ GraphQLServer?: string | undefined;
213
+ Angular?: string | undefined;
214
+ skip?: ("EntitySubClasses" | "GraphQLServer" | "Angular" | "SQL")[] | undefined;
215
+ }>;
216
+ export type FileEmitConfig = z.infer<typeof fileEmitSchema>;
217
+ export type SchemaOutputOverrideConfig = z.infer<typeof schemaOutputOverrideSchema>;
161
218
  /**
162
219
  * Configuration bundle for generating database schema JSON output
163
220
  */
@@ -966,9 +1023,22 @@ declare const configInfoSchema: z.ZodObject<{
966
1023
  * exclude list naming every other installed app — a list that is O(N²) to maintain and, more
967
1024
  * importantly, cannot name schemas the app does not know about (such as a client's own schemas in
968
1025
  * a deployed instance).
1026
+ *
1027
+ * The in-memory compile into `excludeSchemas` is for THIS CodeGen run only (which entities to
1028
+ * generate). Heal stored-procedure EXEC statements logged into migrations use authored
1029
+ * `excludeSchemas` plus `@IncludedSchemaNames` from this list — they must not snapshot sibling
1030
+ * apps that happened to be installed on the publisher database.
969
1031
  */
970
1032
  includeSchemas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
971
- excludeTables: z.ZodDefault<z.ZodArray<z.ZodObject<{
1033
+ /**
1034
+ * When true, CodeGen cascade-delete SQL walks FKs pointing at the entity in
1035
+ * EVERY schema in metadata. Default false: only same-schema children.
1036
+ * Turning this on (and CascadeDeletes on an entity) will bake consumer
1037
+ * schemas into a publisher's delete proc — a dangerous escape hatch.
1038
+ * Leave off for Open Apps.
1039
+ */
1040
+ allowCrossSchemaCascadeDeletes: z.ZodDefault<z.ZodBoolean>;
1041
+ excludeTables: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
972
1042
  /** Schema name (supports wildcards like '%') */
973
1043
  schema: z.ZodString;
974
1044
  /** Table name (supports wildcards like 'sys%') */
@@ -979,6 +1049,72 @@ declare const configInfoSchema: z.ZodObject<{
979
1049
  }, {
980
1050
  schema: string;
981
1051
  table: string;
1052
+ }>, z.ZodString]>, import("../index.js").ExcludeTableEntry, string | {
1053
+ schema: string;
1054
+ table: string;
1055
+ }>, "many">>;
1056
+ /**
1057
+ * File-emit behaviour for entity subclasses and GraphQL resolvers.
1058
+ * Schema is the incremental unit — see `guides/CODEGEN_LARGE_SCHEMA_GUIDE.md`.
1059
+ */
1060
+ fileEmit: z.ZodDefault<z.ZodObject<{
1061
+ /** Emit one TypeScript file per schema plus a barrel. Default true. */
1062
+ perSchema: z.ZodDefault<z.ZodBoolean>;
1063
+ /** Skip the disk write when generated bytes are identical. Default true. */
1064
+ writeIfChanged: z.ZodDefault<z.ZodBoolean>;
1065
+ /** Assemble independent schema files in parallel. Default true. */
1066
+ parallel: z.ZodDefault<z.ZodBoolean>;
1067
+ /** Max schemas assembled at once when `parallel` is true. Default 8. */
1068
+ concurrency: z.ZodDefault<z.ZodNumber>;
1069
+ /**
1070
+ * Rebuild only schemas that contain a new/modified entity (plus any schema
1071
+ * whose file is missing). `--skipdb` file-only runs ignore this and rebuild
1072
+ * every schema, still gated by write-if-changed. Default true.
1073
+ */
1074
+ dirtySchemaOnly: z.ZodDefault<z.ZodBoolean>;
1075
+ /**
1076
+ * SQL Server per-entity SQL generation width. PostgreSQL stays serial (1)
1077
+ * regardless — catalog deadlocks under parallel phased DDL. Default 8.
1078
+ */
1079
+ sqlEntityBatchSize: z.ZodDefault<z.ZodNumber>;
1080
+ }, "strip", z.ZodTypeAny, {
1081
+ perSchema: boolean;
1082
+ writeIfChanged: boolean;
1083
+ parallel: boolean;
1084
+ concurrency: number;
1085
+ dirtySchemaOnly: boolean;
1086
+ sqlEntityBatchSize: number;
1087
+ }, {
1088
+ perSchema?: boolean | undefined;
1089
+ writeIfChanged?: boolean | undefined;
1090
+ parallel?: boolean | undefined;
1091
+ concurrency?: number | undefined;
1092
+ dirtySchemaOnly?: boolean | undefined;
1093
+ sqlEntityBatchSize?: number | undefined;
1094
+ }>>;
1095
+ /**
1096
+ * Route (or skip) generated artifacts for matching schemas to a directory
1097
+ * other than the default `output.*` entry. First match wins.
1098
+ */
1099
+ schemaOutput: z.ZodOptional<z.ZodArray<z.ZodObject<{
1100
+ /** Exact schema name or `%` wildcard (`bsd_%`). */
1101
+ schema: z.ZodString;
1102
+ EntitySubClasses: z.ZodOptional<z.ZodString>;
1103
+ GraphQLServer: z.ZodOptional<z.ZodString>;
1104
+ Angular: z.ZodOptional<z.ZodString>;
1105
+ skip: z.ZodOptional<z.ZodArray<z.ZodEnum<["EntitySubClasses", "GraphQLServer", "Angular", "SQL"]>, "many">>;
1106
+ }, "strip", z.ZodTypeAny, {
1107
+ schema: string;
1108
+ EntitySubClasses?: string | undefined;
1109
+ GraphQLServer?: string | undefined;
1110
+ Angular?: string | undefined;
1111
+ skip?: ("EntitySubClasses" | "GraphQLServer" | "Angular" | "SQL")[] | undefined;
1112
+ }, {
1113
+ schema: string;
1114
+ EntitySubClasses?: string | undefined;
1115
+ GraphQLServer?: string | undefined;
1116
+ Angular?: string | undefined;
1117
+ skip?: ("EntitySubClasses" | "GraphQLServer" | "Angular" | "SQL")[] | undefined;
982
1118
  }>, "many">>;
983
1119
  customSQLScripts: z.ZodDefault<z.ZodArray<z.ZodObject<{
984
1120
  /** When to run the script (e.g., 'before-all', 'after-all') */
@@ -1685,6 +1821,31 @@ declare const configInfoSchema: z.ZodObject<{
1685
1821
  mjCoreSchema: z.ZodDefault<z.ZodString>;
1686
1822
  graphqlPort: z.ZodDefault<z.ZodNumber>;
1687
1823
  entityPackageName: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1824
+ /**
1825
+ * Schema → npm package map for **peer** entity classes this emit does not generate
1826
+ * (cross-schema embedded records and related-record collections).
1827
+ *
1828
+ * This is a different knob from {@link entityPackageName} and {@link includeSchemas}:
1829
+ *
1830
+ * - `includeSchemas` — what this run generates
1831
+ * - string `entityPackageName` — the npm package this run writes those classes into
1832
+ * - Record `entityPackageName` — install-time host map; those schemas are also skipped
1833
+ * for local generation ({@link getExternalEntitySchemas}). Do not overload it on an
1834
+ * Open App under development: listing a sibling schema there would skip generating
1835
+ * *this* app if you also listed your own schema, and converting a custom string
1836
+ * `entityPackageName` into a Record silently re-routes every unmapped schema.
1837
+ * - `entityImportPackages` — where to `import { PeerEntity }` from when the peer's
1838
+ * schema is not in this file
1839
+ *
1840
+ * Publishers (Open Apps under development) use string `entityPackageName` +
1841
+ * `includeSchemas` and must list sibling app schemas here. Hosts that already use
1842
+ * Record `entityPackageName` do not need this — that map is the fallback after this
1843
+ * one. Case-insensitive schema keys. Mapping a foreign schema to this emit's own
1844
+ * package is an error (that would self-import a class this file does not emit).
1845
+ *
1846
+ * @see resolveEntityImportPackage
1847
+ */
1848
+ entityImportPackages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1688
1849
  verboseOutput: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1689
1850
  /**
1690
1851
  * Number of metadata `INSERT` statements CodeGen joins into a single batched
@@ -1707,10 +1868,16 @@ declare const configInfoSchema: z.ZodObject<{
1707
1868
  value?: any;
1708
1869
  }[];
1709
1870
  excludeSchemas: string[];
1710
- excludeTables: {
1711
- schema: string;
1712
- table: string;
1713
- }[];
1871
+ allowCrossSchemaCascadeDeletes: boolean;
1872
+ excludeTables: import("../index.js").ExcludeTableEntry[];
1873
+ fileEmit: {
1874
+ perSchema: boolean;
1875
+ writeIfChanged: boolean;
1876
+ parallel: boolean;
1877
+ concurrency: number;
1878
+ dirtySchemaOnly: boolean;
1879
+ sqlEntityBatchSize: number;
1880
+ };
1714
1881
  customSQLScripts: {
1715
1882
  when: string;
1716
1883
  scriptFile: string;
@@ -1850,6 +2017,13 @@ declare const configInfoSchema: z.ZodObject<{
1850
2017
  UserApplications: string[];
1851
2018
  } | null | undefined;
1852
2019
  includeSchemas?: string[] | undefined;
2020
+ schemaOutput?: {
2021
+ schema: string;
2022
+ EntitySubClasses?: string | undefined;
2023
+ GraphQLServer?: string | undefined;
2024
+ Angular?: string | undefined;
2025
+ skip?: ("EntitySubClasses" | "GraphQLServer" | "Angular" | "SQL")[] | undefined;
2026
+ }[] | undefined;
1853
2027
  advancedGeneration?: {
1854
2028
  enableAdvancedGeneration: boolean;
1855
2029
  allowFullTextSearchAutoUpdate: boolean;
@@ -1881,6 +2055,7 @@ declare const configInfoSchema: z.ZodObject<{
1881
2055
  mode?: "full" | "task" | undefined;
1882
2056
  } | undefined;
1883
2057
  outputCode?: string | null | undefined;
2058
+ entityImportPackages?: Record<string, string> | undefined;
1884
2059
  }, {
1885
2060
  logging: {
1886
2061
  log?: boolean | undefined;
@@ -1988,9 +2163,25 @@ declare const configInfoSchema: z.ZodObject<{
1988
2163
  }[] | undefined;
1989
2164
  excludeSchemas?: string[] | undefined;
1990
2165
  includeSchemas?: string[] | undefined;
1991
- excludeTables?: {
2166
+ allowCrossSchemaCascadeDeletes?: boolean | undefined;
2167
+ excludeTables?: (string | {
1992
2168
  schema: string;
1993
2169
  table: string;
2170
+ })[] | undefined;
2171
+ fileEmit?: {
2172
+ perSchema?: boolean | undefined;
2173
+ writeIfChanged?: boolean | undefined;
2174
+ parallel?: boolean | undefined;
2175
+ concurrency?: number | undefined;
2176
+ dirtySchemaOnly?: boolean | undefined;
2177
+ sqlEntityBatchSize?: number | undefined;
2178
+ } | undefined;
2179
+ schemaOutput?: {
2180
+ schema: string;
2181
+ EntitySubClasses?: string | undefined;
2182
+ GraphQLServer?: string | undefined;
2183
+ Angular?: string | undefined;
2184
+ skip?: ("EntitySubClasses" | "GraphQLServer" | "Angular" | "SQL")[] | undefined;
1994
2185
  }[] | undefined;
1995
2186
  customSQLScripts?: {
1996
2187
  when: string;
@@ -2059,6 +2250,7 @@ declare const configInfoSchema: z.ZodObject<{
2059
2250
  mjCoreSchema?: string | undefined;
2060
2251
  graphqlPort?: number | undefined;
2061
2252
  entityPackageName?: string | Record<string, string> | undefined;
2253
+ entityImportPackages?: Record<string, string> | undefined;
2062
2254
  verboseOutput?: boolean | undefined;
2063
2255
  metadataInsertBatchSize?: number | undefined;
2064
2256
  }>;
@@ -2106,10 +2298,16 @@ export declare const configInfo: {
2106
2298
  value?: any;
2107
2299
  }[];
2108
2300
  excludeSchemas: string[];
2109
- excludeTables: {
2110
- schema: string;
2111
- table: string;
2112
- }[];
2301
+ allowCrossSchemaCascadeDeletes: boolean;
2302
+ excludeTables: import("../index.js").ExcludeTableEntry[];
2303
+ fileEmit: {
2304
+ perSchema: boolean;
2305
+ writeIfChanged: boolean;
2306
+ parallel: boolean;
2307
+ concurrency: number;
2308
+ dirtySchemaOnly: boolean;
2309
+ sqlEntityBatchSize: number;
2310
+ };
2113
2311
  customSQLScripts: {
2114
2312
  when: string;
2115
2313
  scriptFile: string;
@@ -2249,6 +2447,13 @@ export declare const configInfo: {
2249
2447
  UserApplications: string[];
2250
2448
  } | null | undefined;
2251
2449
  includeSchemas?: string[] | undefined;
2450
+ schemaOutput?: {
2451
+ schema: string;
2452
+ EntitySubClasses?: string | undefined;
2453
+ GraphQLServer?: string | undefined;
2454
+ Angular?: string | undefined;
2455
+ skip?: ("EntitySubClasses" | "GraphQLServer" | "Angular" | "SQL")[] | undefined;
2456
+ }[] | undefined;
2252
2457
  advancedGeneration?: {
2253
2458
  enableAdvancedGeneration: boolean;
2254
2459
  allowFullTextSearchAutoUpdate: boolean;
@@ -2280,6 +2485,7 @@ export declare const configInfo: {
2280
2485
  mode?: "full" | "task" | undefined;
2281
2486
  } | undefined;
2282
2487
  outputCode?: string | null | undefined;
2488
+ entityImportPackages?: Record<string, string> | undefined;
2283
2489
  };
2284
2490
  /**
2285
2491
  * Destructured commonly used configuration values
@@ -2355,18 +2561,91 @@ export declare function getSettingValue(settingName: string, defaultValue?: any)
2355
2561
  * @returns True if auto-indexing is enabled (the default), false only if explicitly disabled
2356
2562
  */
2357
2563
  export declare function autoIndexForeignKeys(): boolean;
2564
+ /**
2565
+ * Checks if automatic indexing of SOFT primary keys is enabled.
2566
+ *
2567
+ * **Defaults to `true` when the `auto_index_soft_primary_keys` setting is absent**, for the
2568
+ * same reason as {@link autoIndexForeignKeys} and then some: nothing else in the stack can
2569
+ * ever create these indexes.
2570
+ *
2571
+ * A soft primary key is a PK that exists only in metadata — `IsPrimaryKey` and
2572
+ * `IsSoftPrimaryKey` are both set, and the table carries NO `PRIMARY KEY` constraint and no
2573
+ * unique index. Integration tables are built this way deliberately: their keys are *inferred*
2574
+ * from naming and streamed-data statistics, so enforcing one would reject valid rows the
2575
+ * moment an inference is wrong.
2576
+ *
2577
+ * The cost of that choice is that the table is a heap, and MJ's own write path pays it on
2578
+ * every single record. A create calls `InnerLoad` on the key to see whether the record already
2579
+ * exists; a genuinely new record finds nothing; and a not-found lookup cannot short-circuit,
2580
+ * so it scans the ENTIRE table before concluding the row is absent. Every create scans the
2581
+ * whole table, the table grows, and the scan grows with it — the throughput of a sync decays
2582
+ * as it runs, which reads as "the vendor is slow" rather than "an index is missing".
2583
+ *
2584
+ * Three separate mechanisms each declined to cover this:
2585
+ * - the integration DDL generator emits the table with no index on the key columns
2586
+ * - {@link autoIndexForeignKeys} covers foreign keys only, and explicitly SKIPS primary keys
2587
+ * on the reasoning that "a primary key is already covered by its own index" — true for a
2588
+ * real PK, false by definition for a soft one
2589
+ * - the missing-index probe reads `sys.foreign_keys`, and these tables have no physical FK
2590
+ * constraints, so it can never flag them
2591
+ *
2592
+ * Hence a separate setting rather than reusing the FK flag: an operator who has opinions about
2593
+ * foreign-key indexing has not thereby expressed an opinion about the engine's own hot path.
2594
+ *
2595
+ * @returns True if soft-PK auto-indexing is enabled (the default), false only if explicitly disabled
2596
+ */
2597
+ export declare function autoIndexSoftPrimaryKeys(): boolean;
2358
2598
  /**
2359
2599
  * Resolves the entity package name for a given database schema.
2360
2600
  *
2361
2601
  * When `entityPackageName` is a plain string (legacy/default), all non-core schemas
2362
2602
  * use that single package. When it is a `Record<string, string>`, each schema is
2363
- * mapped to its own package (used by OpenApp projects with multiple installed apps).
2603
+ * mapped to its own package (used by OpenApp **hosts** with multiple installed apps).
2604
+ *
2605
+ * Do **not** use this for peer-class imports on generated subclasses (embeds,
2606
+ * related-record collections). String form returns this emit's package for every
2607
+ * schema, which is the self-import bug Open App publishers hit. Use
2608
+ * {@link resolveEntityImportPackage} for that.
2364
2609
  *
2365
2610
  * @param schemaName The database schema name of the entity
2366
2611
  * @param config Optional config override; falls back to the module-level configInfo
2367
2612
  * @returns The npm package name to use for importing entities from this schema
2368
2613
  */
2369
2614
  export declare function resolveEntityPackageName(schemaName: string, config?: ConfigInfo): string;
2615
+ /**
2616
+ * The npm package this CodeGen emit writes entity subclasses into.
2617
+ *
2618
+ * String `entityPackageName` is that package. Record form is the install-time host
2619
+ * map (those keys are also skipped for local generation); this emit's package is
2620
+ * the owning schema's entry, or `mj_generatedentities` when the owning schema is
2621
+ * not mapped.
2622
+ */
2623
+ export declare function thisEmitEntityPackageName(owningSchema: string, config?: ConfigInfo): string;
2624
+ /**
2625
+ * Resolves the npm package to import a **peer** entity class from — embeds and
2626
+ * related-record collections whose class is not being emitted in this file.
2627
+ *
2628
+ * Generation scope (`includeSchemas`) and this emit's package (string
2629
+ * `entityPackageName`) are deliberately not reused as the import map. A string
2630
+ * `entityPackageName` means "classes this run emits live in this package"; using
2631
+ * it for a foreign schema is how Open App publishers used to self-import
2632
+ * `@mj-biz-apps/orders-entities` for a Common Address embed.
2633
+ *
2634
+ * Resolution, in order:
2635
+ * 1. Core schema (`mjCoreSchema` / `__mj`) → `@memberjunction/core-entities`
2636
+ * 2. Same schema as the owning entity → this emit's package (same-schema peers
2637
+ * not in the current file, e.g. skipped PK-less entities)
2638
+ * 3. `entityImportPackages` schema → npm map (publisher / Open App under development)
2639
+ * 4. Record-form `entityPackageName` (install-time host map — fallback only)
2640
+ * 5. Otherwise throw. Never silently fall back to the local package for a
2641
+ * foreign schema, and never emit a self-import of this emit's package for a
2642
+ * foreign schema even if the map says so.
2643
+ *
2644
+ * @param relatedSchema Schema of the peer being imported
2645
+ * @param owningSchema Schema of the entity currently being generated
2646
+ * @param config Optional config override; falls back to module-level configInfo
2647
+ */
2648
+ export declare function resolveEntityImportPackage(relatedSchema: string, owningSchema: string, config?: ConfigInfo): string;
2370
2649
  /**
2371
2650
  * Returns all schema names that have an explicit external entity package mapping.
2372
2651
  * These schemas should be skipped during local entity subclass generation because
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/Config/config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,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