mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-24 13:56:39 +00:00
Remove domains from price
This commit is contained in:
@@ -51,14 +51,16 @@ export function getFeatureIdByMetricId(metricId: string): FeatureId | undefined
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type FeaturePriceSet = {
|
export type FeaturePriceSet = {
|
||||||
[key in FeatureId]: string;
|
[key in Exclude<FeatureId, FeatureId.DOMAINS>]: string;
|
||||||
|
} & {
|
||||||
|
[FeatureId.DOMAINS]?: string; // Optional since domains are not billed
|
||||||
};
|
};
|
||||||
|
|
||||||
export const standardFeaturePriceSet: FeaturePriceSet = { // Free tier matches the freeLimitSet
|
export const standardFeaturePriceSet: FeaturePriceSet = { // Free tier matches the freeLimitSet
|
||||||
[FeatureId.SITE_UPTIME]: "price_1RrQc4D3Ee2Ir7WmaJGZ3MtF",
|
[FeatureId.SITE_UPTIME]: "price_1RrQc4D3Ee2Ir7WmaJGZ3MtF",
|
||||||
[FeatureId.USERS]: "price_1RrQeJD3Ee2Ir7WmgveP3xea",
|
[FeatureId.USERS]: "price_1RrQeJD3Ee2Ir7WmgveP3xea",
|
||||||
[FeatureId.EGRESS_DATA_MB]: "price_1RrQXFD3Ee2Ir7WmvGDlgxQk",
|
[FeatureId.EGRESS_DATA_MB]: "price_1RrQXFD3Ee2Ir7WmvGDlgxQk",
|
||||||
[FeatureId.DOMAINS]: "price_1Rz3tMD3Ee2Ir7Wm5qLeASzC",
|
// [FeatureId.DOMAINS]: "price_1Rz3tMD3Ee2Ir7Wm5qLeASzC",
|
||||||
[FeatureId.REMOTE_EXIT_NODES]: "price_1S46weD3Ee2Ir7Wm94KEHI4h"
|
[FeatureId.REMOTE_EXIT_NODES]: "price_1S46weD3Ee2Ir7Wm94KEHI4h"
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -66,7 +68,7 @@ export const standardFeaturePriceSetSandbox: FeaturePriceSet = { // Free tier ma
|
|||||||
[FeatureId.SITE_UPTIME]: "price_1RefFBDCpkOb237BPrKZ8IEU",
|
[FeatureId.SITE_UPTIME]: "price_1RefFBDCpkOb237BPrKZ8IEU",
|
||||||
[FeatureId.USERS]: "price_1ReNa4DCpkOb237Bc67G5muF",
|
[FeatureId.USERS]: "price_1ReNa4DCpkOb237Bc67G5muF",
|
||||||
[FeatureId.EGRESS_DATA_MB]: "price_1Rfp9LDCpkOb237BwuN5Oiu0",
|
[FeatureId.EGRESS_DATA_MB]: "price_1Rfp9LDCpkOb237BwuN5Oiu0",
|
||||||
[FeatureId.DOMAINS]: "price_1Ryi88DCpkOb237B2D6DM80b",
|
// [FeatureId.DOMAINS]: "price_1Ryi88DCpkOb237B2D6DM80b",
|
||||||
[FeatureId.REMOTE_EXIT_NODES]: "price_1RyiZvDCpkOb237BXpmoIYJL"
|
[FeatureId.REMOTE_EXIT_NODES]: "price_1RyiZvDCpkOb237BXpmoIYJL"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ export const subscribedLimitSet: LimitSet = {
|
|||||||
description: "Contact us to increase soft limit."
|
description: "Contact us to increase soft limit."
|
||||||
}, // 12000 GB
|
}, // 12000 GB
|
||||||
[FeatureId.DOMAINS]: {
|
[FeatureId.DOMAINS]: {
|
||||||
value: 20,
|
value: 25,
|
||||||
description: "Contact us to increase soft limit."
|
description: "Contact us to increase soft limit."
|
||||||
},
|
},
|
||||||
[FeatureId.REMOTE_EXIT_NODES]: {
|
[FeatureId.REMOTE_EXIT_NODES]: {
|
||||||
|
|||||||
Reference in New Issue
Block a user