@memberjunction/core-entities 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.
@@ -7935,6 +7935,8 @@ export declare const MJEntitySchema: z.ZodObject<{
7935
7935
  TrustServerCacheCompletely: z.ZodBoolean;
7936
7936
  SupportsGeoCoding: z.ZodBoolean;
7937
7937
  AutoUpdateSupportsGeoCoding: z.ZodBoolean;
7938
+ AllowCaching: z.ZodBoolean;
7939
+ DetectExternalChanges: z.ZodBoolean;
7938
7940
  CodeName: z.ZodNullable<z.ZodString>;
7939
7941
  ClassName: z.ZodNullable<z.ZodString>;
7940
7942
  BaseTableCodeName: z.ZodNullable<z.ZodString>;
@@ -8007,6 +8009,8 @@ export declare const MJEntitySchema: z.ZodObject<{
8007
8009
  TrustServerCacheCompletely?: boolean;
8008
8010
  SupportsGeoCoding?: boolean;
8009
8011
  AutoUpdateSupportsGeoCoding?: boolean;
8012
+ AllowCaching?: boolean;
8013
+ DetectExternalChanges?: boolean;
8010
8014
  BaseTableCodeName?: string;
8011
8015
  ParentEntity?: string;
8012
8016
  ParentBaseTable?: string;
@@ -8077,6 +8081,8 @@ export declare const MJEntitySchema: z.ZodObject<{
8077
8081
  TrustServerCacheCompletely?: boolean;
8078
8082
  SupportsGeoCoding?: boolean;
8079
8083
  AutoUpdateSupportsGeoCoding?: boolean;
8084
+ AllowCaching?: boolean;
8085
+ DetectExternalChanges?: boolean;
8080
8086
  BaseTableCodeName?: string;
8081
8087
  ParentEntity?: string;
8082
8088
  ParentBaseTable?: string;
@@ -38726,6 +38732,24 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
38726
38732
  get AutoUpdateSupportsGeoCoding(): boolean;
38727
38733
  set AutoUpdateSupportsGeoCoding(value: boolean);
38728
38734
  /**
38735
+ * * Field Name: AllowCaching
38736
+ * * Display Name: Allow Caching
38737
+ * * SQL Data Type: bit
38738
+ * * Default Value: 0
38739
+ * * 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.
38740
+ */
38741
+ get AllowCaching(): boolean;
38742
+ set AllowCaching(value: boolean);
38743
+ /**
38744
+ * * Field Name: DetectExternalChanges
38745
+ * * Display Name: Detect External Changes
38746
+ * * SQL Data Type: bit
38747
+ * * Default Value: 0
38748
+ * * 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.
38749
+ */
38750
+ get DetectExternalChanges(): boolean;
38751
+ set DetectExternalChanges(value: boolean);
38752
+ /**
38729
38753
  * * Field Name: CodeName
38730
38754
  * * Display Name: Code Name
38731
38755
  * * SQL Data Type: nvarchar(MAX)