@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.
- package/dist/apiProfile.d.ts +2 -0
- package/dist/apiProfile.js +2 -1
- package/dist/apiProfile.js.map +1 -1
- package/dist/assetGraph.d.ts +25 -3
- package/dist/assetGraph.js +30 -3
- package/dist/assetGraph.js.map +1 -1
- package/dist/assetJobs.d.ts +7 -3
- package/dist/assetJobs.js +2 -2
- package/dist/assetJobs.js.map +1 -1
- package/dist/assetSettings.d.ts +0 -6
- package/dist/assetSettings.js.map +1 -1
- package/dist/index.js +42 -64
- package/dist/index.js.map +1 -1
- package/dist/schemaGenerator.d.ts +0 -19
- package/dist/schemaGenerator.js +10 -60
- package/dist/schemaGenerator.js.map +1 -1
- package/dist/share.js.map +1 -1
- package/dist/shareApiBridge.js.map +1 -1
- package/dist/syncChannel.js.map +1 -1
- package/package.json +1 -1
package/dist/apiProfile.d.ts
CHANGED
|
@@ -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;
|
package/dist/apiProfile.js
CHANGED
|
@@ -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
|