@memberjunction/core 6.1.0-edge.2 → 6.1.0-edge.3

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 (90) hide show
  1. package/LICENSE +180 -4
  2. package/dist/generic/JSONType-interfaces/IEntityConfiguration.d.ts +120 -0
  3. package/dist/generic/JSONType-interfaces/IEntityConfiguration.d.ts.map +1 -0
  4. package/dist/generic/JSONType-interfaces/IEntityConfiguration.js +6 -0
  5. package/dist/generic/JSONType-interfaces/IEntityConfiguration.js.map +1 -0
  6. package/dist/generic/JSONType-interfaces/IEntityFieldConfiguration.d.ts +31 -0
  7. package/dist/generic/JSONType-interfaces/IEntityFieldConfiguration.d.ts.map +1 -0
  8. package/dist/generic/JSONType-interfaces/IEntityFieldConfiguration.js +6 -0
  9. package/dist/generic/JSONType-interfaces/IEntityFieldConfiguration.js.map +1 -0
  10. package/dist/generic/JSONType-interfaces/IEntityRelationshipConfiguration.d.ts +75 -0
  11. package/dist/generic/JSONType-interfaces/IEntityRelationshipConfiguration.d.ts.map +1 -0
  12. package/dist/generic/JSONType-interfaces/IEntityRelationshipConfiguration.js +6 -0
  13. package/dist/generic/JSONType-interfaces/IEntityRelationshipConfiguration.js.map +1 -0
  14. package/dist/generic/JSONType-interfaces/IFileStorageProviderConfiguration.d.ts +19 -0
  15. package/dist/generic/JSONType-interfaces/IFileStorageProviderConfiguration.d.ts.map +1 -0
  16. package/dist/generic/JSONType-interfaces/IFileStorageProviderConfiguration.js +6 -0
  17. package/dist/generic/JSONType-interfaces/IFileStorageProviderConfiguration.js.map +1 -0
  18. package/dist/generic/authTypes.d.ts +69 -0
  19. package/dist/generic/authTypes.d.ts.map +1 -1
  20. package/dist/generic/baseEngine.d.ts +14 -0
  21. package/dist/generic/baseEngine.d.ts.map +1 -1
  22. package/dist/generic/baseEngine.js +53 -13
  23. package/dist/generic/baseEngine.js.map +1 -1
  24. package/dist/generic/baseEntity.d.ts +113 -20
  25. package/dist/generic/baseEntity.d.ts.map +1 -1
  26. package/dist/generic/baseEntity.js +351 -49
  27. package/dist/generic/baseEntity.js.map +1 -1
  28. package/dist/generic/baseInfo.d.ts.map +1 -1
  29. package/dist/generic/baseInfo.js +16 -4
  30. package/dist/generic/baseInfo.js.map +1 -1
  31. package/dist/generic/compositeKey.d.ts +30 -0
  32. package/dist/generic/compositeKey.d.ts.map +1 -1
  33. package/dist/generic/compositeKey.js +97 -0
  34. package/dist/generic/compositeKey.js.map +1 -1
  35. package/dist/generic/databaseProviderBase.d.ts.map +1 -1
  36. package/dist/generic/databaseProviderBase.js +9 -5
  37. package/dist/generic/databaseProviderBase.js.map +1 -1
  38. package/dist/generic/embeddedRecord.d.ts +123 -0
  39. package/dist/generic/embeddedRecord.d.ts.map +1 -0
  40. package/dist/generic/embeddedRecord.js +356 -0
  41. package/dist/generic/embeddedRecord.js.map +1 -0
  42. package/dist/generic/entityCompanion.d.ts +20 -2
  43. package/dist/generic/entityCompanion.d.ts.map +1 -1
  44. package/dist/generic/entityCompanion.js +17 -1
  45. package/dist/generic/entityCompanion.js.map +1 -1
  46. package/dist/generic/entityConfiguration.d.ts +131 -0
  47. package/dist/generic/entityConfiguration.d.ts.map +1 -0
  48. package/dist/generic/entityConfiguration.js +346 -0
  49. package/dist/generic/entityConfiguration.js.map +1 -0
  50. package/dist/generic/entityInfo.d.ts +274 -4
  51. package/dist/generic/entityInfo.d.ts.map +1 -1
  52. package/dist/generic/entityInfo.js +502 -14
  53. package/dist/generic/entityInfo.js.map +1 -1
  54. package/dist/generic/entitySavePlan.d.ts +40 -11
  55. package/dist/generic/entitySavePlan.d.ts.map +1 -1
  56. package/dist/generic/entitySavePlan.js +70 -2
  57. package/dist/generic/entitySavePlan.js.map +1 -1
  58. package/dist/generic/interfaces.d.ts +6 -24
  59. package/dist/generic/interfaces.d.ts.map +1 -1
  60. package/dist/generic/interfaces.js +6 -24
  61. package/dist/generic/interfaces.js.map +1 -1
  62. package/dist/generic/localCacheManager.d.ts.map +1 -1
  63. package/dist/generic/localCacheManager.js +10 -0
  64. package/dist/generic/localCacheManager.js.map +1 -1
  65. package/dist/generic/providerBase.d.ts +19 -0
  66. package/dist/generic/providerBase.d.ts.map +1 -1
  67. package/dist/generic/providerBase.js +71 -6
  68. package/dist/generic/providerBase.js.map +1 -1
  69. package/dist/generic/relatedRecordCollection.d.ts +25 -3
  70. package/dist/generic/relatedRecordCollection.d.ts.map +1 -1
  71. package/dist/generic/relatedRecordCollection.js +53 -7
  72. package/dist/generic/relatedRecordCollection.js.map +1 -1
  73. package/dist/generic/runQuery.d.ts +14 -0
  74. package/dist/generic/runQuery.d.ts.map +1 -1
  75. package/dist/generic/runQuery.js.map +1 -1
  76. package/dist/generic/saveEntityGraphOperation.js +1 -1
  77. package/dist/generic/saveEntityGraphOperation.js.map +1 -1
  78. package/dist/generic/securityInfo.d.ts.map +1 -1
  79. package/dist/generic/securityInfo.js +15 -5
  80. package/dist/generic/securityInfo.js.map +1 -1
  81. package/dist/index.d.ts +3 -0
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/index.js +3 -0
  84. package/dist/index.js.map +1 -1
  85. package/dist/views/runView.d.ts +23 -0
  86. package/dist/views/runView.d.ts.map +1 -1
  87. package/dist/views/runView.js +20 -0
  88. package/dist/views/runView.js.map +1 -1
  89. package/package.json +5 -4
  90. package/readme.md +20 -1
package/LICENSE CHANGED
@@ -1,7 +1,183 @@
1
- ISC License
1
+ Business Source License 1.1
2
2
 
3
- Copyright (c) 2023 MemberJunction
3
+ License text copyright (c) 2024 MariaDB plc, All Rights Reserved.
4
+ "Business Source License" is a trademark of MariaDB plc.
4
5
 
5
- Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
6
+ -----------------------------------------------------------------------------
6
7
 
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
8
+ Parameters
9
+
10
+ Licensor: Blue Cypress, Inc.
11
+
12
+ Licensed Work: MemberJunction.
13
+ The Licensed Work is (c) 2023-2026 Blue Cypress, Inc.
14
+
15
+ Additional Use Grant: Subject to the terms of this License, Licensor grants
16
+ you the following additional rights to make Production
17
+ Use of the Licensed Work.
18
+
19
+ 1. Internal Use
20
+
21
+ You may make production use of the Licensed Work for
22
+ your own internal business or organizational operations.
23
+
24
+ 2. Nonprofit Use
25
+
26
+ If you are a Nonprofit, you may make production use of
27
+ the Licensed Work for the operations and activities of
28
+ your Organizational Family.
29
+
30
+ 3. MemberJunction Certified Program Use
31
+
32
+ If you are authorized by Licensor under the
33
+ MemberJunction Certified Program to provide professional
34
+ services using the Licensed Work, you may make
35
+ production use of the Licensed Work in providing such
36
+ professional services to a client, provided that:
37
+
38
+ (a) the Licensed Work is deployed in, and the applicable
39
+ production use occurs within, an environment owned,
40
+ leased, licensed, subscribed to, or otherwise controlled
41
+ by that client; and
42
+
43
+ (b) the production use is for that client's own internal
44
+ business or organizational operations or is otherwise
45
+ independently permitted to that client under this
46
+ Additional Use Grant.
47
+
48
+ 4. Definitions Applicable to the Additional Use Grant
49
+
50
+ "Affiliate" means, with respect to a specified Person,
51
+ any other Person that directly or indirectly Controls,
52
+ is Controlled by, or is under common Control with such
53
+ specified Person.
54
+
55
+ "Control" (including the terms "Controls," "Controlled
56
+ by," and "under common Control with") means the direct
57
+ or indirect possession of the power to direct or cause
58
+ the direction of the management and policies of a
59
+ Person, whether through ownership of voting interests,
60
+ by contract, or otherwise.
61
+
62
+ "Organizational Family" means, with respect to a Person,
63
+ (a) such Person and its Affiliates, and (b) any
64
+ nonprofit organization, governmental entity, chapter,
65
+ division, local affiliate, regional affiliate, state
66
+ affiliate, national affiliate, or other entity that is
67
+ formally affiliated with such Person through governing
68
+ documents, a charter, bylaws, a membership agreement, or
69
+ another written organizational instrument, and is
70
+ recognized under such documents as part of the same
71
+ organizational structure.
72
+
73
+ "Nonprofit" means a Person recognized by the Internal
74
+ Revenue Service as exempt from federal income taxation
75
+ under Section 501(c)(3), 501(c)(4), 501(c)(5), or
76
+ 501(c)(6) of the Internal Revenue Code, or a foreign
77
+ organization recognized under substantially equivalent
78
+ laws.
79
+
80
+ A Person claiming eligibility as a Nonprofit shall, upon
81
+ Licensor's reasonable request, provide documentation
82
+ reasonably sufficient to demonstrate that it qualifies
83
+ as a Nonprofit. If such Person materially misrepresents,
84
+ or is unable to demonstrate, its qualification as a
85
+ Nonprofit, the rights granted to such Person under
86
+ Section 2 of this Additional Use Grant shall terminate.
87
+
88
+ "MemberJunction Certified Program" means Licensor's
89
+ then-current program for certifying and authorizing a
90
+ Person to provide professional services using the
91
+ Licensed Work.
92
+
93
+ "Person" means any individual, corporation, limited
94
+ liability company, partnership, association, nonprofit
95
+ organization, governmental entity, or other legal or
96
+ organizational entity.
97
+
98
+ Change Date: Four (4) years from the date the Licensed Work is first
99
+ made available.
100
+
101
+ Change License: MIT License.
102
+
103
+ For information about alternative licensing arrangements for the Licensed
104
+ Work, please contact Blue Cypress, Inc.
105
+
106
+ -----------------------------------------------------------------------------
107
+
108
+ Terms
109
+
110
+ The Licensor hereby grants you the right to copy, modify, create derivative
111
+ works, redistribute, and make non-production use of the Licensed Work. The
112
+ Licensor may make an Additional Use Grant, above, permitting limited
113
+ production use.
114
+
115
+ Effective on the Change Date, or the fourth anniversary of the first publicly
116
+ available distribution of a specific version of the Licensed Work under this
117
+ License, whichever comes first, the Licensor hereby grants you rights under
118
+ the terms of the Change License, and the rights granted in the paragraph
119
+ above terminate.
120
+
121
+ If your use of the Licensed Work does not comply with the requirements
122
+ currently in effect as described in this License, you must purchase a
123
+ commercial license from the Licensor, its affiliated entities, or authorized
124
+ resellers, or you must refrain from using the Licensed Work.
125
+
126
+ All copies of the original and modified Licensed Work, and derivative works
127
+ of the Licensed Work, are subject to this License. This License applies
128
+ separately for each version of the Licensed Work and the Change Date may vary
129
+ for each version of the Licensed Work released by Licensor.
130
+
131
+ You must conspicuously display this License on each original or modified copy
132
+ of the Licensed Work. If you receive the Licensed Work in original or
133
+ modified form from a third party, the terms and conditions set forth in this
134
+ License apply to your use of that work.
135
+
136
+ Any use of the Licensed Work in violation of this License will automatically
137
+ terminate your rights under this License for the current and all other
138
+ versions of the Licensed Work.
139
+
140
+ This License does not grant you any right in any trademark or logo of
141
+ Licensor or its affiliates (provided that you may use a trademark or logo of
142
+ Licensor as expressly required by this License).
143
+
144
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
145
+ AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
146
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
147
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
148
+ TITLE.
149
+
150
+ MariaDB hereby grants you permission to use this License's text to license
151
+ your works, and to refer to it using the trademark "Business Source License",
152
+ as long as you comply with the Covenants of Licensor below.
153
+
154
+ -----------------------------------------------------------------------------
155
+
156
+ Covenants of Licensor
157
+
158
+ In consideration of the right to use this License's text and the "Business
159
+ Source License" name and trademark, Licensor covenants to MariaDB, and to all
160
+ other recipients of the licensed work to be provided by Licensor:
161
+
162
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
163
+ or a license that is compatible with GPL Version 2.0 or a later version,
164
+ where "compatible" means that software provided under the Change License
165
+ can be included in a program with software provided under GPL Version 2.0
166
+ or a later version. Licensor may specify additional Change Licenses without
167
+ limitation.
168
+
169
+ 2. To either: (a) specify an additional grant of rights to use that does not
170
+ impose any additional restriction on the right granted in this License, as
171
+ the Additional Use Grant; or (b) insert the text "None".
172
+
173
+ 3. To specify a Change Date.
174
+
175
+ 4. Not to modify this License in any other way.
176
+
177
+ -----------------------------------------------------------------------------
178
+
179
+ Notice
180
+
181
+ The Business Source License (this document, or the "License") is not an Open
182
+ Source license. However, the Licensed Work will eventually be made available
183
+ under an Open Source License, as stated in this License.
@@ -0,0 +1,120 @@
1
+ /**
2
+ * AUTO-COPIED FROM metadata/entities/JSONType-interfaces/IEntityConfiguration.ts
3
+ * DO NOT EDIT DIRECTLY. Run `pnpm run build` in MJCore to refresh.
4
+ */
5
+ /**
6
+ * Optional per-entity configuration bag.
7
+ *
8
+ * Stored as JSON in `MJ: Entities.Configuration`. CodeGen emits a typed
9
+ * `ConfigurationObject` accessor on `MJEntityEntity` that returns
10
+ * `IEntityConfiguration | null`.
11
+ *
12
+ * **NULL / `{}` / omitted keys** use the defaults on
13
+ * {@link IEntityFormConfiguration} (`Layout: auto`, `RelatedRolePolicy: smart`).
14
+ * Membership itself is L1 inclusion + L2 ranker + L3 `MJ: Form Chrome Rules`
15
+ * + L4 user order. `BaseFormPolicy.DecorateChrome` is cosmetics only.
16
+ *
17
+ * Expand by adding a property here — no schema migration. Anything the engine
18
+ * filters, sorts, or joins on stays a **column** on `Entity`. Anything the UI
19
+ * consumes at render time belongs in this bag.
20
+ *
21
+ * @see guides/FORMS_ARCHITECTURE_GUIDE.md §7d
22
+ */
23
+ export interface IEntityConfiguration {
24
+ /**
25
+ * Presentation / chrome. Null = host defaults (`Layout: auto`,
26
+ * `RelatedRolePolicy: smart`).
27
+ */
28
+ UI?: IEntityUIConfiguration;
29
+ /**
30
+ * Optional file attachment configuration for this entity.
31
+ * Controls whether attachments are permitted and sets entity-level upload policies.
32
+ */
33
+ Attachments?: IEntityAttachmentsConfiguration;
34
+ }
35
+ /**
36
+ * Configuration for entity-level file attachments.
37
+ */
38
+ export interface IEntityAttachmentsConfiguration {
39
+ /**
40
+ * Whether file attachments/linking are enabled for this entity.
41
+ * Default: true when storage providers are active. Set to false to explicitly disallow attachments.
42
+ */
43
+ Enabled?: boolean;
44
+ /**
45
+ * Maximum allowed size per attachment in bytes (e.g. 52428800 for 50MB).
46
+ * When omitted, uses global storage provider default.
47
+ */
48
+ MaxFileSizeBytes?: number;
49
+ /**
50
+ * Allowed MIME types or file extensions (e.g. ['image/*', 'application/pdf', '.docx']).
51
+ * When omitted, all file types supported by the storage provider are allowed.
52
+ */
53
+ AllowedContentTypes?: string[];
54
+ /**
55
+ * Optional default Storage Account ID to route uploads for this entity.
56
+ */
57
+ DefaultStorageAccountID?: string;
58
+ /**
59
+ * Optional default File Category ID for attachments on this entity.
60
+ */
61
+ DefaultCategoryID?: string;
62
+ }
63
+ /**
64
+ * Entity-level presentation configuration.
65
+ *
66
+ * Nested under {@link IEntityConfiguration.UI} so later UI concerns (list
67
+ * cards, search chrome, map defaults) can sit beside `Form` without a
68
+ * migration.
69
+ */
70
+ export interface IEntityUIConfiguration {
71
+ /**
72
+ * How the generated record form arranges its sections.
73
+ * Null = inherit {@link IEntityFormConfiguration} defaults.
74
+ */
75
+ Form?: IEntityFormConfiguration;
76
+ }
77
+ /**
78
+ * Generated-form chrome for this entity (L2 defaults).
79
+ *
80
+ * Consumed by `<mj-record-form-container>`. L1 `inclusion` and L3
81
+ * `MJ: Form Chrome Rules` decide membership; this bag only ranks Auto
82
+ * leftovers and chooses accordion vs left-nav.
83
+ */
84
+ export interface IEntityFormConfiguration {
85
+ /**
86
+ * Layout chrome for the generated form.
87
+ *
88
+ * - `'accordion'` — every first-class section is a collapsible panel.
89
+ * - `'left-nav'` — a left rail of section groups; the body shows one group.
90
+ * - `'auto'` — accordion until the first-class section count reaches
91
+ * {@link AutoLeftNavAt}, then left-nav.
92
+ *
93
+ * Omit to treat as `'auto'`.
94
+ */
95
+ Layout?: 'accordion' | 'left-nav' | 'auto';
96
+ /**
97
+ * Section-count threshold used when {@link Layout} is `'auto'` (or omitted).
98
+ * Defaults to 8. Ignored for an explicit `'accordion'` or `'left-nav'`.
99
+ */
100
+ AutoLeftNavAt?: number;
101
+ /**
102
+ * How Auto (omitted inclusion) relationships are resolved.
103
+ *
104
+ * - `'keep-all-primary'` — every remaining Auto related stays first-class.
105
+ * - `'smart'` — budgeted ranker: same-schema 1:N / collections / custom
106
+ * display components stay top-level; cross-schema hang-ons and platform
107
+ * plumbing fold into More once the Auto pool exceeds
108
+ * {@link PrimaryRelatedBudget}.
109
+ *
110
+ * Omit to treat as `'smart'`.
111
+ */
112
+ RelatedRolePolicy?: 'keep-all-primary' | 'smart';
113
+ /**
114
+ * Max Auto related grids that stay first-class when
115
+ * {@link RelatedRolePolicy} is `'smart'`. Default 6. Explicit
116
+ * `inclusion: 'Primary'` is never capped by this number.
117
+ */
118
+ PrimaryRelatedBudget?: number;
119
+ }
120
+ //# sourceMappingURL=IEntityConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEntityConfiguration.d.ts","sourceRoot":"","sources":["../../../src/generic/JSONType-interfaces/IEntityConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;OAGG;IACH,EAAE,CAAC,EAAE,sBAAsB,CAAC;IAE5B;;;OAGG;IACH,WAAW,CAAC,EAAE,+BAA+B,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;;;;;GAMG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;OAGG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;IAE3C;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;;;;;;;OAUG;IACH,iBAAiB,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC;IAEjD;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CACjC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * AUTO-COPIED FROM metadata/entities/JSONType-interfaces/IEntityConfiguration.ts
3
+ * DO NOT EDIT DIRECTLY. Run `pnpm run build` in MJCore to refresh.
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=IEntityConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEntityConfiguration.js","sourceRoot":"","sources":["../../../src/generic/JSONType-interfaces/IEntityConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * AUTO-COPIED FROM metadata/entities/JSONType-interfaces/IEntityFieldConfiguration.ts
3
+ * DO NOT EDIT DIRECTLY. Run `pnpm run build` in MJCore to refresh.
4
+ */
5
+ /**
6
+ * Optional per-field configuration bag.
7
+ *
8
+ * Stored as JSON in `MJ: Entity Fields.Configuration`. CodeGen emits a
9
+ * typed `ConfigurationObject` accessor on `MJEntityFieldEntity` that
10
+ * returns `IEntityFieldConfiguration | null`.
11
+ */
12
+ export interface IEntityFieldConfiguration {
13
+ /**
14
+ * Hierarchy and tree structure configuration for self-referencing foreign keys.
15
+ */
16
+ Hierarchy?: IEntityFieldHierarchyConfig;
17
+ }
18
+ /**
19
+ * Hierarchy options to explicitly declare recursive tree hierarchies.
20
+ */
21
+ export interface IEntityFieldHierarchyConfig {
22
+ /**
23
+ * When true, declares this self-referencing foreign key as an intentional tree hierarchy.
24
+ */
25
+ IsHierarchy?: boolean;
26
+ /**
27
+ * Optional custom maximum recursion depth guard (defaults to 100).
28
+ */
29
+ MaxDepth?: number;
30
+ }
31
+ //# sourceMappingURL=IEntityFieldConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEntityFieldConfiguration.d.ts","sourceRoot":"","sources":["../../../src/generic/JSONType-interfaces/IEntityFieldConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,SAAS,CAAC,EAAE,2BAA2B,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * AUTO-COPIED FROM metadata/entities/JSONType-interfaces/IEntityFieldConfiguration.ts
3
+ * DO NOT EDIT DIRECTLY. Run `pnpm run build` in MJCore to refresh.
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=IEntityFieldConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEntityFieldConfiguration.js","sourceRoot":"","sources":["../../../src/generic/JSONType-interfaces/IEntityFieldConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -0,0 +1,75 @@
1
+ /**
2
+ * AUTO-COPIED FROM metadata/entities/JSONType-interfaces/IEntityRelationshipConfiguration.ts
3
+ * DO NOT EDIT DIRECTLY. Run `pnpm run build` in MJCore to refresh.
4
+ */
5
+ /**
6
+ * Optional per-relationship configuration bag.
7
+ *
8
+ * Stored as JSON in `MJ: Entity Relationships.Configuration`. CodeGen emits a
9
+ * typed `ConfigurationObject` accessor on `MJEntityRelationshipEntity` that
10
+ * returns `IEntityRelationshipConfiguration | null`.
11
+ *
12
+ * Distinct from the other JSON columns on the same row, which CodeGen already
13
+ * owns for other jobs:
14
+ *
15
+ * - `RelatedRecordCollection` — `IRelatedRecordCollectionConfig` (composite graphs)
16
+ * - `DisplayComponentConfiguration` — knobs for the selected display component
17
+ * - `AdditionalFieldsToInclude` — join-field name list
18
+ *
19
+ * **NULL / `{}` / omitted keys = Auto.** The parent entity's
20
+ * `RelatedRolePolicy` ranker decides Primary vs More. Explicit
21
+ * `inclusion` (or the `FormRole` alias) always wins.
22
+ * `inclusion: 'None'` removes the relationship from the parent form
23
+ * entirely — it is not a More item and the ranker never sees it.
24
+ *
25
+ * Expand by adding a property here — no schema migration.
26
+ *
27
+ * @see guides/FORMS_ARCHITECTURE_GUIDE.md §7d
28
+ */
29
+ export interface IEntityRelationshipConfiguration {
30
+ /**
31
+ * Presentation / chrome for this relationship on the parent form.
32
+ * Null = the parent entity's related-role ranker decides.
33
+ */
34
+ UI?: IEntityRelationshipUIConfiguration;
35
+ }
36
+ /**
37
+ * How this relationship appears on the parent entity's generated form.
38
+ *
39
+ * Nested under {@link IEntityRelationshipConfiguration.UI} so later UI
40
+ * concerns (group, default-expanded, badge) can sit beside `inclusion`
41
+ * without a migration.
42
+ */
43
+ export interface IEntityRelationshipUIConfiguration {
44
+ /**
45
+ * L1 inclusion on the parent form. Keyed conceptually by
46
+ * (parent, related entity), not by a single FK.
47
+ *
48
+ * - `'Primary'` — first-class rail.
49
+ * - `'More'` — candidate, parked in More.
50
+ * - `'None'` — not a candidate. Not in More. Ranker never sees it.
51
+ *
52
+ * Omit = Auto (L2 ranker). See [Forms Architecture §7d](../../../../guides/FORMS_ARCHITECTURE_GUIDE.md).
53
+ */
54
+ inclusion?: 'Primary' | 'More' | 'None';
55
+ /**
56
+ * Alias of {@link inclusion}. `'Primary'` maps to Primary,
57
+ * `'Detail'` maps to More.
58
+ */
59
+ FormRole?: 'Primary' | 'Detail';
60
+ /**
61
+ * Same-table OR of FKs for one parent-form section
62
+ * (Bill-To OR Ship-To Orders). Sibling ERs to the same related entity
63
+ * should be `inclusion: 'None'` so they do not sprout extra rail items.
64
+ */
65
+ join?: {
66
+ mode: 'any';
67
+ fields: string[];
68
+ };
69
+ /**
70
+ * Higher = earlier among first-class related rail items (after Details,
71
+ * after lead contributions such as Overview). Omit = 0.
72
+ */
73
+ sortKey?: number;
74
+ }
75
+ //# sourceMappingURL=IEntityRelationshipConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEntityRelationshipConfiguration.d.ts","sourceRoot":"","sources":["../../../src/generic/JSONType-interfaces/IEntityRelationshipConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;OAGG;IACH,EAAE,CAAC,EAAE,kCAAkC,CAAC;CAC3C;AAED;;;;;;GAMG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;IAExC;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAEhC;;;;OAIG;IACH,IAAI,CAAC,EAAE;QACH,IAAI,EAAE,KAAK,CAAC;QACZ,MAAM,EAAE,MAAM,EAAE,CAAC;KACpB,CAAC;IAEF;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * AUTO-COPIED FROM metadata/entities/JSONType-interfaces/IEntityRelationshipConfiguration.ts
3
+ * DO NOT EDIT DIRECTLY. Run `pnpm run build` in MJCore to refresh.
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=IEntityRelationshipConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEntityRelationshipConfiguration.js","sourceRoot":"","sources":["../../../src/generic/JSONType-interfaces/IEntityRelationshipConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * AUTO-COPIED FROM metadata/entities/JSONType-interfaces/IFileStorageProviderConfiguration.ts
3
+ * DO NOT EDIT DIRECTLY. Run `pnpm run build` in MJCore to refresh.
4
+ */
5
+ /**
6
+ * Optional per-storage-provider configuration bag.
7
+ * Stored as JSON in `MJ: File Storage Providers.Configuration`.
8
+ */
9
+ export interface IFileStorageProviderConfiguration {
10
+ /**
11
+ * FontAwesome icon class for displaying the storage provider in UI components (e.g. 'fa-solid fa-box', 'fa-brands fa-aws').
12
+ */
13
+ IconClass?: string;
14
+ /**
15
+ * Optional brand color for badges and accents (e.g. '#0061D5').
16
+ */
17
+ BrandColor?: string;
18
+ }
19
+ //# sourceMappingURL=IFileStorageProviderConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IFileStorageProviderConfiguration.d.ts","sourceRoot":"","sources":["../../../src/generic/JSONType-interfaces/IFileStorageProviderConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * AUTO-COPIED FROM metadata/entities/JSONType-interfaces/IFileStorageProviderConfiguration.ts
3
+ * DO NOT EDIT DIRECTLY. Run `pnpm run build` in MJCore to refresh.
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=IFileStorageProviderConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IFileStorageProviderConfiguration.js","sourceRoot":"","sources":["../../../src/generic/JSONType-interfaces/IFileStorageProviderConfiguration.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -76,6 +76,75 @@ export interface AuthProviderConfig {
76
76
  */
77
77
  [key: string]: any;
78
78
  }
79
+ /**
80
+ * Flat key/value configuration handed to a BROWSER auth driver.
81
+ *
82
+ * Deliberately flat and primitive-valued: every value here is published in the
83
+ * unauthenticated pre-auth provider catalog, so the shape doubles as a reminder
84
+ * that nothing structured or sensitive belongs in it. Nested objects would make
85
+ * it easy to smuggle a credential blob into a "config" field.
86
+ */
87
+ export type PublicAuthProviderClientConfig = Record<string, string | number | boolean | null>;
88
+ /**
89
+ * The PUBLIC description of one authentication provider, as published by the
90
+ * server's unauthenticated catalog endpoint (`GET /auth/providers`) and consumed
91
+ * by the browser before any user is signed in.
92
+ *
93
+ * This type is the trust boundary made explicit. It contains ONLY fields that are
94
+ * safe for an anonymous caller to read — the same values a single-provider SPA
95
+ * already had compiled into its `environment.ts`. It intentionally has no `ID`,
96
+ * no `credentialID`, and no server-side configuration, so a provider row cannot
97
+ * leak secret material by being published.
98
+ *
99
+ * @see AuthProviderConfig for the richer SERVER-side config used to validate tokens.
100
+ */
101
+ export interface PublicAuthProviderInfo {
102
+ /**
103
+ * Unique provider name — matches the name the server registered with
104
+ * `AuthProviderFactory`, and is what the browser persists when a user picks
105
+ * a provider from the login picker.
106
+ */
107
+ name: string;
108
+ /**
109
+ * ClassFactory resolution key. The browser resolves its `MJAuthBase` subclass
110
+ * from this key exactly as the server resolves its `BaseAuthProvider` subclass,
111
+ * so a driver ships as a server/browser pair under one name.
112
+ */
113
+ driverClass: string;
114
+ /**
115
+ * Label for the login button (rendered as "Continue with {displayName}").
116
+ * The server falls back to `name` when the row has no DisplayName.
117
+ */
118
+ displayName: string;
119
+ /** Font Awesome class or known brand-logo key for the button's icon chip. */
120
+ icon?: string;
121
+ /** Ascending sort order within the picker. */
122
+ sequence: number;
123
+ /** True when this provider is pre-highlighted, and used directly when it is the only one. */
124
+ isDefault: boolean;
125
+ /** Public OAuth client ID. */
126
+ clientId?: string;
127
+ /** Expected token issuer. */
128
+ issuer?: string;
129
+ /** Provider domain (e.g. an Auth0/Okta tenant domain). */
130
+ domain?: string;
131
+ /**
132
+ * OAuth scopes to request, already parsed. The server splits the row's delimited `Scopes`
133
+ * column once at the trust boundary, so every consumer — the browser drivers hand this
134
+ * straight to SDK config typed `string[]` — receives ready-to-use values instead of
135
+ * re-deriving the delimiter convention.
136
+ */
137
+ scopes?: string[];
138
+ /** Driver-specific browser settings (redirect URI, API hostname, region, ...). */
139
+ clientConfiguration?: PublicAuthProviderClientConfig;
140
+ }
141
+ /**
142
+ * Response body of the unauthenticated `GET /auth/providers` catalog endpoint.
143
+ */
144
+ export interface PublicAuthProviderCatalog {
145
+ /** Active, client-visible providers, already sorted by `sequence` then `displayName`. */
146
+ providers: PublicAuthProviderInfo[];
147
+ }
79
148
  /**
80
149
  * User information extracted from authentication tokens or user profiles
81
150
  */
@@ -1 +1 @@
1
- {"version":3,"file":"authTypes.d.ts","sourceRoot":"","sources":["../../src/generic/authTypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;CAQtB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,mBAAmB,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAE5F;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,gBAAgB,GAAG,MAAM,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,M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C;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjB;;OAEG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAExB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB"}
@@ -839,6 +839,20 @@ export declare abstract class BaseEngine<T> extends BaseSingleton<T> implements
839
839
  * @param event - The cache change event from the other server
840
840
  */
841
841
  protected OnExternalCacheChange(config: BaseEnginePropertyConfig, event: CacheChangedEvent): Promise<void>;
842
+ /**
843
+ * Converts rows from a cache-change payload into the shape this config's property expects.
844
+ *
845
+ * Cache payloads are JSON, so their rows are plain objects with string dates. A config loaded
846
+ * as `entity_object` must not receive them directly — the property's declared element type
847
+ * would be violated and BaseEntity's coercing accessors bypassed, which is what turns a typed
848
+ * `__mj_CreatedAt` into a raw string at runtime. Mirrors the conversion the RunView cache-hit
849
+ * path performs, and enforces in this direction the same type-homogeneity invariant
850
+ * {@link canUseImmediateMutation} enforces for the sibling mutation path.
851
+ *
852
+ * @returns the rows to assign, or null when they cannot be safely materialized (caller should
853
+ * fall back to a full reload).
854
+ */
855
+ private materializeCacheEventRows;
842
856
  /**
843
857
  * Sets an expiration timer for a metadata property.
844
858
  * @param propertyName - The name of the property