@memberjunction/server 5.25.0 → 5.26.0
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.
- package/dist/config.d.ts +70 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +21 -0
- package/dist/config.js.map +1 -1
- package/dist/generated/generated.d.ts +6 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +24 -0
- package/dist/generated/generated.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/dist/resolvers/CacheStatsResolver.d.ts +31 -0
- package/dist/resolvers/CacheStatsResolver.d.ts.map +1 -0
- package/dist/resolvers/CacheStatsResolver.js +181 -0
- package/dist/resolvers/CacheStatsResolver.js.map +1 -0
- package/package.json +66 -63
- package/src/config.ts +24 -0
- package/src/generated/generated.ts +18 -0
- package/src/index.ts +16 -2
- package/src/resolvers/CacheStatsResolver.ts +142 -0
|
@@ -54950,6 +54950,14 @@ __decorate([
|
|
|
54950
54950
|
Field(() => Boolean, { description: `When true (default), CodeGen can automatically set SupportsGeoCoding based on LLM analysis of entity fields. Set to 0 to lock the value and prevent CodeGen from changing it.` }),
|
|
54951
54951
|
__metadata("design:type", Boolean)
|
|
54952
54952
|
], MJEntity_.prototype, "AutoUpdateSupportsGeoCoding", void 0);
|
|
54953
|
+
__decorate([
|
|
54954
|
+
Field(() => Boolean, { description: `Controls whether this entity participates in server-side and client-side caching. When false, all cache operations (PreRunView checks, auto-cache storage, BaseEntity event fingerprint scans, client-side IndexedDB cache) are skipped entirely. This column is the single source of truth at runtime; schema-level defaults are applied at CodeGen time via newEntityDefaults.AllowCachingBySchema.` }),
|
|
54955
|
+
__metadata("design:type", Boolean)
|
|
54956
|
+
], MJEntity_.prototype, "AllowCaching", void 0);
|
|
54957
|
+
__decorate([
|
|
54958
|
+
Field(() => Boolean, { description: `When set to 1 AND TrackRecordChanges is also 1, the external change detection system will scan this entity for changes made outside the MJ framework (direct SQL, third-party tools, etc.) and replay them through Save() to create proper RecordChange audit entries. Default is 0 (opt-out) because most entities, especially __mj schema metadata tables, are managed by migrations/CodeGen and should not be scanned.` }),
|
|
54959
|
+
__metadata("design:type", Boolean)
|
|
54960
|
+
], MJEntity_.prototype, "DetectExternalChanges", void 0);
|
|
54953
54961
|
__decorate([
|
|
54954
54962
|
Field({ nullable: true, description: `Schema-based programmatic code name derived from the entity Name. Uses GetClassNameSchemaPrefix(SchemaName) as the prefix, then strips EntityNamePrefix from the Name and removes spaces. For "__mj" schema with entity "MJ: AI Models", this produces "MJAIModels". For entities in other schemas, the sanitized schema name is prepended. Used in GraphQL type generation and internal code references.` }),
|
|
54955
54963
|
__metadata("design:type", String)
|
|
@@ -55442,6 +55450,14 @@ __decorate([
|
|
|
55442
55450
|
Field(() => Boolean, { nullable: true }),
|
|
55443
55451
|
__metadata("design:type", Boolean)
|
|
55444
55452
|
], CreateMJEntityInput.prototype, "AutoUpdateSupportsGeoCoding", void 0);
|
|
55453
|
+
__decorate([
|
|
55454
|
+
Field(() => Boolean, { nullable: true }),
|
|
55455
|
+
__metadata("design:type", Boolean)
|
|
55456
|
+
], CreateMJEntityInput.prototype, "AllowCaching", void 0);
|
|
55457
|
+
__decorate([
|
|
55458
|
+
Field(() => Boolean, { nullable: true }),
|
|
55459
|
+
__metadata("design:type", Boolean)
|
|
55460
|
+
], CreateMJEntityInput.prototype, "DetectExternalChanges", void 0);
|
|
55445
55461
|
CreateMJEntityInput = __decorate([
|
|
55446
55462
|
InputType()
|
|
55447
55463
|
], CreateMJEntityInput);
|
|
@@ -55687,6 +55703,14 @@ __decorate([
|
|
|
55687
55703
|
Field(() => Boolean, { nullable: true }),
|
|
55688
55704
|
__metadata("design:type", Boolean)
|
|
55689
55705
|
], UpdateMJEntityInput.prototype, "AutoUpdateSupportsGeoCoding", void 0);
|
|
55706
|
+
__decorate([
|
|
55707
|
+
Field(() => Boolean, { nullable: true }),
|
|
55708
|
+
__metadata("design:type", Boolean)
|
|
55709
|
+
], UpdateMJEntityInput.prototype, "AllowCaching", void 0);
|
|
55710
|
+
__decorate([
|
|
55711
|
+
Field(() => Boolean, { nullable: true }),
|
|
55712
|
+
__metadata("design:type", Boolean)
|
|
55713
|
+
], UpdateMJEntityInput.prototype, "DetectExternalChanges", void 0);
|
|
55690
55714
|
__decorate([
|
|
55691
55715
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
55692
55716
|
__metadata("design:type", Array)
|