Skip to content

Commit

Permalink
word
Browse files Browse the repository at this point in the history
  • Loading branch information
tanfarming committed Jul 26, 2023
1 parent 7c2ec8d commit f1a2f39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion admin/src/utils/feature_flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function hasPaidFeature(): boolean {
// If the user is not a turkey user then no need to check.
if (configs.ITA_SERVER != "turkey") return true;

const authorizedTiers: PaidTiers[] = ["p1", "b1","b0"];
const authorizedTiers: PaidTiers[] = ["p1", "b0", "b1"];
return authorizedTiers.includes(configs.TIER);
}

Expand Down
9 changes: 5 additions & 4 deletions admin/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ export type ReticulumMetaT = {
};

/**
* p0 : FREE TIER
* p1 : STANDARD TIER
* p0 : Starter
* p1 : Personal
* b0 : Professional
* b1: BUSINESS TIER
*/
export type TiersT = "p0" | "p1" | "b1";
export type TiersT = "p0" | "p1" | "b0" | "b1";

export type PaidTiers = "p1" | "b1";
export type PaidTiers = "p1" | "b0" | "b1";

export type ReticulumRepoT = {
accounts: {
Expand Down

0 comments on commit f1a2f39

Please sign in to comment.