-
Notifications
You must be signed in to change notification settings - Fork 501
Rename catalog to product line #1107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d41b807
653fa44
b911cb0
882bb95
d68cfd3
3f0711b
0b635c7
3366ecb
b6ea941
7c46e05
90cebb7
eba7ad3
dba9d85
c7bbbf6
cf6d861
969ac7f
5406496
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -112,15 +112,16 @@ export async function seed() { | |
| } | ||
| }, | ||
| payments: { | ||
| catalogs: { | ||
| productLines: { | ||
| plans: { | ||
| displayName: "Plans", | ||
| } | ||
| customerType: "team", | ||
| }, | ||
| }, | ||
| products: { | ||
| team: { | ||
| catalogId: "plans", | ||
| displayName: "Team", | ||
| team_plans: { | ||
| productLineId: "plans", | ||
| displayName: "Team Plans", | ||
| customerType: "team", | ||
| serverOnly: false, | ||
| stackable: false, | ||
|
|
@@ -140,7 +141,7 @@ export async function seed() { | |
| } | ||
| }, | ||
| growth: { | ||
| catalogId: "plans", | ||
| productLineId: "plans", | ||
| displayName: "Growth", | ||
| customerType: "team", | ||
| serverOnly: false, | ||
|
|
@@ -161,7 +162,7 @@ export async function seed() { | |
| } | ||
| }, | ||
| free: { | ||
| catalogId: "plans", | ||
| productLineId: "plans", | ||
| displayName: "Free", | ||
| customerType: "team", | ||
| serverOnly: false, | ||
|
|
@@ -176,7 +177,7 @@ export async function seed() { | |
| } | ||
| }, | ||
| "extra-admins": { | ||
| catalogId: "plans", | ||
| productLineId: "plans", | ||
| displayName: "Extra Admins", | ||
| customerType: "team", | ||
| serverOnly: false, | ||
|
|
@@ -814,7 +815,7 @@ function buildDummyPaymentsSetup(): PaymentsSetup { | |
| const paymentsProducts = { | ||
| 'starter': { | ||
| displayName: 'Starter', | ||
| catalogId: 'workspace', | ||
| productLineId: 'workspace', | ||
| customerType: 'user', | ||
| serverOnly: false, | ||
| stackable: false, | ||
|
|
@@ -842,7 +843,7 @@ function buildDummyPaymentsSetup(): PaymentsSetup { | |
| }, | ||
| 'growth': { | ||
| displayName: 'Growth', | ||
| catalogId: 'workspace', | ||
| productLineId: 'workspace', | ||
| customerType: 'user', | ||
| serverOnly: false, | ||
| stackable: false, | ||
|
|
@@ -878,7 +879,7 @@ function buildDummyPaymentsSetup(): PaymentsSetup { | |
| }, | ||
| 'regression-addon': { | ||
| displayName: 'Regression Add-on', | ||
| catalogId: 'add_ons', | ||
| productLineId: 'add_ons', | ||
| customerType: 'user', | ||
| serverOnly: false, | ||
| stackable: true, | ||
|
|
@@ -905,12 +906,14 @@ function buildDummyPaymentsSetup(): PaymentsSetup { | |
|
|
||
| const paymentsOverride = { | ||
| testMode: true, | ||
| catalogs: { | ||
| productLines: { | ||
| workspace: { | ||
| displayName: 'Workspace Plans', | ||
| customerType: 'team', | ||
| }, | ||
| add_ons: { | ||
| displayName: 'Add-ons', | ||
| customerType: 'team', | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seed data has mismatched customerType between products and productLinesMedium Severity The Additional Locations (2) |
||
| }, | ||
| }, | ||
| items: { | ||
|
|
@@ -1233,7 +1236,7 @@ async function seedDummyTransactions(options: TransactionsSeedOptions) { | |
| priceId: undefined, | ||
| product: cloneJson({ | ||
| displayName: 'Legacy Enterprise Pilot', | ||
| catalogId: 'workspace', | ||
| productLineId: 'workspace', | ||
| customerType: 'user', | ||
| prices: 'include-by-default', | ||
| }), | ||
|
|
@@ -1408,7 +1411,7 @@ async function seedDummyTransactions(options: TransactionsSeedOptions) { | |
| priceId: 'one_time', | ||
| product: cloneJson({ | ||
| displayName: 'Design Audit Pass', | ||
| catalogId: 'add_ons', | ||
| productLineId: 'add_ons', | ||
| customerType: 'custom', | ||
| prices: { | ||
| one_time: { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.