mirror of
https://github.com/nocodb/nocodb.git
synced 2026-06-02 00:22:02 +00:00
feat(docs): per-revision upgrade plan + hard cutoff in version history
This commit is contained in:
@@ -232,6 +232,10 @@ export const useEeConfig = createSharedComposable(() => {
|
||||
|
||||
const showUpgradeToUseDocsExportPdf = (..._args: any[]) => {}
|
||||
|
||||
const revisionRetentionLadder = computed<{ title: string; days: number }[]>(() => [])
|
||||
|
||||
const requiredPlanForRevisionAge = (..._args: any[]): string | null => null
|
||||
|
||||
const showScriptPlanLimitExceededModal = (..._args: any[]) => {}
|
||||
|
||||
const showUpgradeToUseCalendarRange = (..._args: any[]) => {}
|
||||
@@ -438,6 +442,8 @@ export const useEeConfig = createSharedComposable(() => {
|
||||
showUpgradeToUseDocsInlineComments,
|
||||
showUpgradeToUseDocsResolveComments,
|
||||
showUpgradeToUseDocsExportPdf,
|
||||
revisionRetentionLadder,
|
||||
requiredPlanForRevisionAge,
|
||||
showScriptPlanLimitExceededModal,
|
||||
blockAddNewScript,
|
||||
blockAddNewDashboard,
|
||||
|
||||
@@ -1380,7 +1380,13 @@
|
||||
"labels": {
|
||||
"docHistory": {
|
||||
"title": "Version history",
|
||||
"retention": "Versions are kept for {count} day on your plan. | Versions are kept for {count} days on your plan.",
|
||||
"lockedTitle": "{count} day page history",
|
||||
"lockedDescWithPlan": "Please upgrade to the {plan} plan to access versions older than {count} day. | Please upgrade to the {plan} plan to access versions older than {count} days.",
|
||||
"lockedDescGeneric": "Upgrade your plan to access versions older than {count} day. | Upgrade your plan to access versions older than {count} days.",
|
||||
"lockedDescOnPrem": "Enter your license key to access versions older than {count} day. | Enter your license key to access versions older than {count} days.",
|
||||
"upgradeNow": "Upgrade now",
|
||||
"retentionByPlanTitle": "Version history by plan",
|
||||
"retentionByPlanDays": "{count} day | {count} days",
|
||||
"previewEmptyTitle": "Select a version to preview",
|
||||
"previewEmptySubtitle": "Pick one from the list on the right to see the page as it was at that point. Changes against the current version are highlighted inline.",
|
||||
"currentVersion": "Current version · {author}",
|
||||
|
||||
@@ -16,6 +16,8 @@ export interface DocumentRevisionType {
|
||||
created_by?: string;
|
||||
fk_tab_id?: string;
|
||||
source?: DocRevisionSource;
|
||||
/** True when older than the plan's retention window — content is gated. */
|
||||
locked?: boolean;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user