@columnus/shared 0.1.56 → 0.1.59

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.
@@ -1088,6 +1088,8 @@ export declare function assertPatchesHaveEditorAccess(profile: Pick<ApiProfileSn
1088
1088
  }[]): void;
1089
1089
  /** Tables opted into push sync. Sync is deliberately opt-in, including legacy profiles. */
1090
1090
  export declare function syncEnabledTables(profile: Pick<ApiProfileSnapshot, "tableAccess">): string[];
1091
+ /** CMS Media library journal retention (plan 062); checkout cursors older than this re-bootstrap. */
1092
+ export declare const MEDIA_LIBRARY_JOURNAL_TTL_MS: number;
1091
1093
  /** Minimal root Media projection needed to decide API/Sync membership. */
1092
1094
  export type AssetScopeSnapshot = {
1093
1095
  isDeleted?: unknown;
@@ -4212,6 +4212,7 @@ function syncEnabledTables(profile) {
4212
4212
  }
4213
4213
  return [...tables];
4214
4214
  }
4215
+ var MEDIA_LIBRARY_JOURNAL_TTL_MS = 30 * 24 * 60 * 60 * 1e3;
4215
4216
  function assetMatchesProfileScope(asset, assetProfiles) {
4216
4217
  if (!asset || asset.isDeleted === true || asset.wipedAt !== void 0) return false;
4217
4218
  if (assetProfiles === void 0) return true;
@@ -4222,6 +4223,6 @@ function assetMatchesProfileScope(asset, assetProfiles) {
4222
4223
  );
4223
4224
  }
4224
4225
 
4225
- export { apiProfileSnapshotSchema, apiProfilesSchema, apiTableAccessSchema, assertPatchesHaveEditorAccess, assetMatchesProfileScope, editorAccessEnabled, findTableAccess, profileTableAccesses, syncEnabledTables };
4226
+ export { MEDIA_LIBRARY_JOURNAL_TTL_MS, apiProfileSnapshotSchema, apiProfilesSchema, apiTableAccessSchema, assertPatchesHaveEditorAccess, assetMatchesProfileScope, editorAccessEnabled, findTableAccess, profileTableAccesses, syncEnabledTables };
4226
4227
  //# sourceMappingURL=apiProfile.js.map
4227
4228
  //# sourceMappingURL=apiProfile.js.map