Skip to content

Commit ffb1089

Browse files
committed
Removes deprecated preview trial
1 parent 76180ab commit ffb1089

19 files changed

+41
-381
lines changed

contributions.json

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3489,10 +3489,6 @@
34893489
"label": "Simulate Subscription (Debugging)",
34903490
"commandPalette": "gitlens:enabled && gitlens:debugging"
34913491
},
3492-
"gitlens.plus.startPreviewTrial": {
3493-
"label": "Preview Pro",
3494-
"commandPalette": "false && !gitlens:plus"
3495-
},
34963492
"gitlens.plus.upgrade": {
34973493
"label": "Upgrade to Pro...",
34983494
"commandPalette": true
@@ -13994,13 +13990,9 @@
1399413990
"contents": "[Resend Verification Email](command:gitlens.plus.resendVerification?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nYou must verify your email before you can continue or [recheck Status](command:gitlens.plus.validate?%7B%22source%22%3A%22launchpad-view%22%7D).",
1399513991
"when": "gitlens:launchpad:connected && gitlens:plus:state == -1"
1399613992
},
13997-
{
13998-
"contents": "[Continue](command:gitlens.plus.startPreviewTrial?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nContinuing gives you 3 days to preview Launchpad and other local Pro features for 3 days. [Start 14-day Pro trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D) or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D) for full access to Pro features.",
13999-
"when": "false && gitlens:launchpad:connected && gitlens:plus:state == 0"
14000-
},
1400113993
{
1400213994
"contents": "[Try GitLens Pro](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nGet 14 days of GitLens Pro for free — no credit card required. Or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D).",
14003-
"when": "gitlens:launchpad:connected && (gitlens:plus:state == 0 || gitlens:plus:state == 2)"
13995+
"when": "gitlens:launchpad:connected && gitlens:plus:state == 0"
1400413996
},
1400513997
{
1400613998
"contents": "[Upgrade to Pro](command:gitlens.plus.upgrade?%7B%22source%22%3A%22launchpad-view%22%7D)",
@@ -14101,13 +14093,9 @@
1410114093
"contents": "[Resend Verification Email](command:gitlens.plus.resendVerification?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nYou must verify your email before you can continue or [recheck Status](command:gitlens.plus.validate?%7B%22source%22%3A%22launchpad-view%22%7D).",
1410214094
"when": "gitlens:views:scm:grouped:view == launchpad && gitlens:launchpad:connected && gitlens:plus:state == -1"
1410314095
},
14104-
{
14105-
"contents": "[Continue](command:gitlens.plus.startPreviewTrial?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nContinuing gives you 3 days to preview Launchpad and other local Pro features for 3 days. [Start 14-day Pro trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D) or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D) for full access to Pro features.",
14106-
"when": "gitlens:views:scm:grouped:view == launchpad && false && gitlens:launchpad:connected && gitlens:plus:state == 0"
14107-
},
1410814096
{
1410914097
"contents": "[Try GitLens Pro](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nGet 14 days of GitLens Pro for free — no credit card required. Or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D).",
14110-
"when": "gitlens:views:scm:grouped:view == launchpad && gitlens:launchpad:connected && (gitlens:plus:state == 0 || gitlens:plus:state == 2)"
14098+
"when": "gitlens:views:scm:grouped:view == launchpad && gitlens:launchpad:connected && gitlens:plus:state == 0"
1411114099
},
1411214100
{
1411314101
"contents": "[Upgrade to Pro](command:gitlens.plus.upgrade?%7B%22source%22%3A%22launchpad-view%22%7D)",
@@ -14153,13 +14141,9 @@
1415314141
"contents": "[Resend Verification Email](command:gitlens.plus.resendVerification?%7B%22source%22%3A%22worktrees%22%7D)\n\nYou must verify your email before you can continue or [recheck Status](command:gitlens.plus.validate?%7B%22source%22%3A%22worktrees%22%7D).",
1415414142
"when": "gitlens:views:scm:grouped:view == worktrees && gitlens:plus:state == -1"
1415514143
},
14156-
{
14157-
"contents": "[Continue](command:gitlens.plus.startPreviewTrial?%7B%22source%22%3A%22worktrees%22%7D)\n\nContinuing gives you 3 days to preview Worktrees and other local Pro features for 3 days. [Start 14-day Pro trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D) or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D) for full access to Pro features.",
14158-
"when": "false && gitlens:views:scm:grouped:view == worktrees && gitlens:plus:required && gitlens:plus:state == 0"
14159-
},
1416014144
{
1416114145
"contents": "[Try GitLens Pro](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D)\n\nGet 14 days of GitLens Pro for free — no credit card required. Or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D).",
14162-
"when": "gitlens:views:scm:grouped:view == worktrees && gitlens:plus:required && (gitlens:plus:state == 0 || gitlens:plus:state == 2)"
14146+
"when": "gitlens:views:scm:grouped:view == worktrees && gitlens:plus:required && gitlens:plus:state == 0"
1416314147
},
1416414148
{
1416514149
"contents": "[Upgrade to Pro](command:gitlens.plus.upgrade?%7B%22source%22%3A%22worktrees%22%7D)",
@@ -14291,13 +14275,9 @@
1429114275
"contents": "[Resend Verification Email](command:gitlens.plus.resendVerification?%7B%22source%22%3A%22worktrees%22%7D)\n\nYou must verify your email before you can continue or [recheck Status](command:gitlens.plus.validate?%7B%22source%22%3A%22worktrees%22%7D).",
1429214276
"when": "gitlens:plus:state == -1"
1429314277
},
14294-
{
14295-
"contents": "[Continue](command:gitlens.plus.startPreviewTrial?%7B%22source%22%3A%22worktrees%22%7D)\n\nContinuing gives you 3 days to preview Worktrees and other local Pro features for 3 days. [Start 14-day Pro trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D) or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D) for full access to Pro features.",
14296-
"when": "false && gitlens:plus:required && gitlens:plus:state == 0"
14297-
},
1429814278
{
1429914279
"contents": "[Try GitLens Pro](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D)\n\nGet 14 days of GitLens Pro for free — no credit card required. Or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D).",
14300-
"when": "gitlens:plus:required && (gitlens:plus:state == 0 || gitlens:plus:state == 2)"
14280+
"when": "gitlens:plus:required && gitlens:plus:state == 0"
1430114281
},
1430214282
{
1430314283
"contents": "[Upgrade to Pro](command:gitlens.plus.upgrade?%7B%22source%22%3A%22worktrees%22%7D)",

docs/telemetry-events.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,12 @@
6767
[`global.subscription.featurePreviews.graph.day.${number}.startedOn`]: string,
6868
'global.subscription.featurePreviews.graph.startedOn': string,
6969
'global.subscription.featurePreviews.graph.status': 'eligible' | 'active' | 'expired',
70-
'global.subscription.previewTrial.expiresOn': string,
71-
'global.subscription.previewTrial.startedOn': string,
7270
// Promo discount code associated with the upgrade
7371
'global.subscription.promo.code': string,
7472
// Promo key (identifier) associated with the upgrade
7573
'global.subscription.promo.key': string,
76-
'global.subscription.state': -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6,
77-
'global.subscription.stateString': 'verification' | 'free' | 'preview' | 'preview-expired' | 'trial' | 'trial-expired' | 'trial-reactivation-eligible' | 'paid' | 'unknown',
74+
'global.subscription.state': -1 | 0 | 3 | 4 | 5 | 6,
75+
'global.subscription.stateString': 'verification' | 'free' | 'trial' | 'trial-expired' | 'trial-reactivation-eligible' | 'paid' | 'unknown',
7876
'global.upgrade': boolean,
7977
'global.upgradedFrom': string,
8078
'global.workspace.isTrusted': boolean
@@ -1918,14 +1916,12 @@ void
19181916
[`subscription.featurePreviews.graph.day.${number}.startedOn`]: string,
19191917
'subscription.featurePreviews.graph.startedOn': string,
19201918
'subscription.featurePreviews.graph.status': 'eligible' | 'active' | 'expired',
1921-
'subscription.previewTrial.expiresOn': string,
1922-
'subscription.previewTrial.startedOn': string,
19231919
// Promo discount code associated with the upgrade
19241920
'subscription.promo.code': string,
19251921
// Promo key (identifier) associated with the upgrade
19261922
'subscription.promo.key': string,
1927-
'subscription.state': -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6,
1928-
'subscription.stateString': 'verification' | 'free' | 'preview' | 'preview-expired' | 'trial' | 'trial-expired' | 'trial-reactivation-eligible' | 'paid' | 'unknown'
1923+
'subscription.state': -1 | 0 | 3 | 4 | 5 | 6,
1924+
'subscription.stateString': 'verification' | 'free' | 'trial' | 'trial-expired' | 'trial-reactivation-eligible' | 'paid' | 'unknown'
19291925
}
19301926
```
19311927

@@ -2003,8 +1999,6 @@ or
20031999
'previous.subscription.effective.organizationId': string,
20042000
'previous.subscription.effective.startedOn': string,
20052001
'previous.subscription.effective.trialReactivationCount': number,
2006-
'previous.subscription.previewTrial.expiresOn': string,
2007-
'previous.subscription.previewTrial.startedOn': string,
20082002
'subscription.actual.bundle': boolean,
20092003
'subscription.actual.cancelled': boolean,
20102004
'subscription.actual.expiresOn': string,
@@ -2025,14 +2019,12 @@ or
20252019
[`subscription.featurePreviews.graph.day.${number}.startedOn`]: string,
20262020
'subscription.featurePreviews.graph.startedOn': string,
20272021
'subscription.featurePreviews.graph.status': 'eligible' | 'active' | 'expired',
2028-
'subscription.previewTrial.expiresOn': string,
2029-
'subscription.previewTrial.startedOn': string,
20302022
// Promo discount code associated with the upgrade
20312023
'subscription.promo.code': string,
20322024
// Promo key (identifier) associated with the upgrade
20332025
'subscription.promo.key': string,
2034-
'subscription.state': -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6,
2035-
'subscription.stateString': 'verification' | 'free' | 'preview' | 'preview-expired' | 'trial' | 'trial-expired' | 'trial-reactivation-eligible' | 'paid' | 'unknown'
2026+
'subscription.state': -1 | 0 | 3 | 4 | 5 | 6,
2027+
'subscription.stateString': 'verification' | 'free' | 'trial' | 'trial-expired' | 'trial-reactivation-eligible' | 'paid' | 'unknown'
20362028
}
20372029
```
20382030

package.json

Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7485,11 +7485,6 @@
74857485
"title": "Simulate Subscription (Debugging)",
74867486
"category": "GitLens"
74877487
},
7488-
{
7489-
"command": "gitlens.plus.startPreviewTrial",
7490-
"title": "Preview Pro",
7491-
"category": "GitLens"
7492-
},
74937488
{
74947489
"command": "gitlens.plus.upgrade",
74957490
"title": "Upgrade to Pro...",
@@ -11576,10 +11571,6 @@
1157611571
"command": "gitlens.plus.simulateSubscription",
1157711572
"when": "gitlens:enabled && gitlens:debugging"
1157811573
},
11579-
{
11580-
"command": "gitlens.plus.startPreviewTrial",
11581-
"when": "false && !gitlens:plus"
11582-
},
1158311574
{
1158411575
"command": "gitlens.pullRepositories",
1158511576
"when": "gitlens:repos:withRemotes && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders"
@@ -21220,15 +21211,10 @@
2122021211
"contents": "[Resend Verification Email](command:gitlens.plus.resendVerification?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nYou must verify your email before you can continue or [recheck Status](command:gitlens.plus.validate?%7B%22source%22%3A%22launchpad-view%22%7D).",
2122121212
"when": "gitlens:launchpad:connected && gitlens:plus:state == -1"
2122221213
},
21223-
{
21224-
"view": "gitlens.views.launchpad",
21225-
"contents": "[Continue](command:gitlens.plus.startPreviewTrial?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nContinuing gives you 3 days to preview Launchpad and other local Pro features for 3 days. [Start 14-day Pro trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D) or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D) for full access to Pro features.",
21226-
"when": "false && gitlens:launchpad:connected && gitlens:plus:state == 0"
21227-
},
2122821214
{
2122921215
"view": "gitlens.views.launchpad",
2123021216
"contents": "[Try GitLens Pro](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nGet 14 days of GitLens Pro for free — no credit card required. Or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D).",
21231-
"when": "gitlens:launchpad:connected && (gitlens:plus:state == 0 || gitlens:plus:state == 2)"
21217+
"when": "gitlens:launchpad:connected && gitlens:plus:state == 0"
2123221218
},
2123321219
{
2123421220
"view": "gitlens.views.launchpad",
@@ -21280,15 +21266,10 @@
2128021266
"contents": "[Resend Verification Email](command:gitlens.plus.resendVerification?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nYou must verify your email before you can continue or [recheck Status](command:gitlens.plus.validate?%7B%22source%22%3A%22launchpad-view%22%7D).",
2128121267
"when": "gitlens:views:scm:grouped:view == launchpad && gitlens:launchpad:connected && gitlens:plus:state == -1"
2128221268
},
21283-
{
21284-
"view": "gitlens.views.scm.grouped",
21285-
"contents": "[Continue](command:gitlens.plus.startPreviewTrial?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nContinuing gives you 3 days to preview Launchpad and other local Pro features for 3 days. [Start 14-day Pro trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D) or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D) for full access to Pro features.",
21286-
"when": "gitlens:views:scm:grouped:view == launchpad && false && gitlens:launchpad:connected && gitlens:plus:state == 0"
21287-
},
2128821269
{
2128921270
"view": "gitlens.views.scm.grouped",
2129021271
"contents": "[Try GitLens Pro](command:gitlens.plus.signUp?%7B%22source%22%3A%22launchpad-view%22%7D)\n\nGet 14 days of GitLens Pro for free — no credit card required. Or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22launchpad-view%22%7D).",
21291-
"when": "gitlens:views:scm:grouped:view == launchpad && gitlens:launchpad:connected && (gitlens:plus:state == 0 || gitlens:plus:state == 2)"
21272+
"when": "gitlens:views:scm:grouped:view == launchpad && gitlens:launchpad:connected && gitlens:plus:state == 0"
2129221273
},
2129321274
{
2129421275
"view": "gitlens.views.scm.grouped",
@@ -21345,15 +21326,10 @@
2134521326
"contents": "[Resend Verification Email](command:gitlens.plus.resendVerification?%7B%22source%22%3A%22worktrees%22%7D)\n\nYou must verify your email before you can continue or [recheck Status](command:gitlens.plus.validate?%7B%22source%22%3A%22worktrees%22%7D).",
2134621327
"when": "gitlens:views:scm:grouped:view == worktrees && gitlens:plus:state == -1"
2134721328
},
21348-
{
21349-
"view": "gitlens.views.scm.grouped",
21350-
"contents": "[Continue](command:gitlens.plus.startPreviewTrial?%7B%22source%22%3A%22worktrees%22%7D)\n\nContinuing gives you 3 days to preview Worktrees and other local Pro features for 3 days. [Start 14-day Pro trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D) or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D) for full access to Pro features.",
21351-
"when": "false && gitlens:views:scm:grouped:view == worktrees && gitlens:plus:required && gitlens:plus:state == 0"
21352-
},
2135321329
{
2135421330
"view": "gitlens.views.scm.grouped",
2135521331
"contents": "[Try GitLens Pro](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D)\n\nGet 14 days of GitLens Pro for free — no credit card required. Or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D).",
21356-
"when": "gitlens:views:scm:grouped:view == worktrees && gitlens:plus:required && (gitlens:plus:state == 0 || gitlens:plus:state == 2)"
21332+
"when": "gitlens:views:scm:grouped:view == worktrees && gitlens:plus:required && gitlens:plus:state == 0"
2135721333
},
2135821334
{
2135921335
"view": "gitlens.views.scm.grouped",
@@ -21438,15 +21414,10 @@
2143821414
"contents": "[Resend Verification Email](command:gitlens.plus.resendVerification?%7B%22source%22%3A%22worktrees%22%7D)\n\nYou must verify your email before you can continue or [recheck Status](command:gitlens.plus.validate?%7B%22source%22%3A%22worktrees%22%7D).",
2143921415
"when": "gitlens:plus:state == -1"
2144021416
},
21441-
{
21442-
"view": "gitlens.views.worktrees",
21443-
"contents": "[Continue](command:gitlens.plus.startPreviewTrial?%7B%22source%22%3A%22worktrees%22%7D)\n\nContinuing gives you 3 days to preview Worktrees and other local Pro features for 3 days. [Start 14-day Pro trial](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D) or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D) for full access to Pro features.",
21444-
"when": "false && gitlens:plus:required && gitlens:plus:state == 0"
21445-
},
2144621417
{
2144721418
"view": "gitlens.views.worktrees",
2144821419
"contents": "[Try GitLens Pro](command:gitlens.plus.signUp?%7B%22source%22%3A%22worktrees%22%7D)\n\nGet 14 days of GitLens Pro for free — no credit card required. Or [sign in](command:gitlens.plus.login?%7B%22source%22%3A%22worktrees%22%7D).",
21449-
"when": "gitlens:plus:required && (gitlens:plus:state == 0 || gitlens:plus:state == 2)"
21420+
"when": "gitlens:plus:required && gitlens:plus:state == 0"
2145021421
},
2145121422
{
2145221423
"view": "gitlens.views.worktrees",

src/commands/quickCommand.steps.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import {
4343
} from '../git/utils/reference.utils';
4444
import { getHighlanderProviderName } from '../git/utils/remote.utils';
4545
import { createRevisionRange, isRevisionRange } from '../git/utils/revision.utils';
46-
import { isSubscriptionPaidPlan, isSubscriptionPreviewTrialExpired } from '../plus/gk/utils/subscription.utils';
46+
import { isSubscriptionPaidPlan } from '../plus/gk/utils/subscription.utils';
4747
import type { LaunchpadCommandArgs } from '../plus/launchpad/launchpad';
4848
import {
4949
CommitApplyFileChangesCommandQuickPickItem,
@@ -2782,15 +2782,6 @@ export async function* ensureAccessStep<
27822782
createQuickPickSeparator(),
27832783
createDirectiveQuickPickItem(Directive.Cancel),
27842784
);
2785-
} else if (
2786-
access.subscription.current.account == null &&
2787-
!isSubscriptionPreviewTrialExpired(access.subscription.current)
2788-
) {
2789-
directives.push(
2790-
createDirectiveQuickPickItem(Directive.StartPreview, true),
2791-
createQuickPickSeparator(),
2792-
createDirectiveQuickPickItem(Directive.Cancel),
2793-
);
27942785
} else {
27952786
directives.push(
27962787
createDirectiveQuickPickItem(Directive.StartProTrial, true),

src/commands/quickWizard.base.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -711,17 +711,6 @@ export abstract class QuickWizardCommandBase extends GlCommandBase {
711711
return;
712712
}
713713

714-
case Directive.StartPreview:
715-
await Container.instance.subscription.startPreviewTrial({
716-
source: 'quick-wizard',
717-
detail: {
718-
action: rootStep.command?.key,
719-
'step.title': step.title,
720-
},
721-
});
722-
resolve(await rootStep.command?.retry());
723-
return;
724-
725714
case Directive.RequiresVerification: {
726715
const result = await Container.instance.subscription.resendVerification({
727716
source: 'quick-wizard',

src/constants.commands.generated.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,6 @@ export type ContributedPaletteCommands =
747747
| 'gitlens.plus.restore'
748748
| 'gitlens.plus.signUp'
749749
| 'gitlens.plus.simulateSubscription'
750-
| 'gitlens.plus.startPreviewTrial'
751750
| 'gitlens.plus.upgrade'
752751
| 'gitlens.pullRepositories'
753752
| 'gitlens.pushRepositories'

src/constants.subscription.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export const proFeaturePreviewUsages = 3;
22
export const proFeaturePreviewUsageDurationInDays = 1;
3-
export const proPreviewLengthInDays = 0;
43
export const proTrialLengthInDays = 14;
54

65
export const enum SubscriptionPlanId {
@@ -17,11 +16,11 @@ export const enum SubscriptionPlanId {
1716
export const enum SubscriptionState {
1817
/** Indicates a user who hasn't verified their email address yet */
1918
VerificationRequired = -1,
20-
/** Indicates an account-less Community (free) user who hasn't started a Pro preview */
19+
/** Indicates an account-less Community (free) user */
2120
Community = 0,
22-
/** Indicates an account-less Community (free) user who is in a Pro preview */
21+
/** @deprecated DO NOT USE */
2322
ProPreview = 1,
24-
/** Indicates an account-less Community (free) user who's Pro preview has expired */
23+
/** @deprecated DO NOT USE */
2524
ProPreviewExpired = 2,
2625
/** Indicates a Pro user who is in a Pro trial */
2726
ProTrial = 3,
@@ -36,8 +35,6 @@ export const enum SubscriptionState {
3635
export type SubscriptionStateString =
3736
| 'verification'
3837
| 'free'
39-
| 'preview'
40-
| 'preview-expired'
4138
| 'trial'
4239
| 'trial-expired'
4340
| 'trial-reactivation-eligible'

0 commit comments

Comments
 (0)