@glissandoo/lib 1.104.22 → 1.104.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/helpers/plans.d.ts
CHANGED
|
@@ -12,3 +12,12 @@ export declare enum PlanPeriod {
|
|
|
12
12
|
}
|
|
13
13
|
export declare const membersPerPlan: Record<PlansGroup, number>;
|
|
14
14
|
export declare const pricesPerPlan: Record<PlanPeriod, Record<PlansGroup, number>>;
|
|
15
|
+
export declare const planGroupTiers: {
|
|
16
|
+
min: number;
|
|
17
|
+
max: number;
|
|
18
|
+
monthly: number;
|
|
19
|
+
yearly: number;
|
|
20
|
+
label: string;
|
|
21
|
+
name: string;
|
|
22
|
+
id: PlansGroup;
|
|
23
|
+
}[];
|
package/helpers/plans.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.pricesPerPlan = exports.membersPerPlan = exports.PlanPeriod = exports.PlansGroup = void 0;
|
|
3
|
+
exports.planGroupTiers = exports.pricesPerPlan = exports.membersPerPlan = exports.PlanPeriod = exports.PlansGroup = void 0;
|
|
4
4
|
var PlansGroup;
|
|
5
5
|
(function (PlansGroup) {
|
|
6
6
|
PlansGroup["Piano"] = "piano";
|
|
@@ -41,3 +41,59 @@ exports.pricesPerPlan = {
|
|
|
41
41
|
[PlansGroup.Tutti]: 299,
|
|
42
42
|
},
|
|
43
43
|
};
|
|
44
|
+
exports.planGroupTiers = [
|
|
45
|
+
{
|
|
46
|
+
min: 0,
|
|
47
|
+
max: exports.membersPerPlan[PlansGroup.Piano],
|
|
48
|
+
monthly: exports.pricesPerPlan[PlanPeriod.Monthly][PlansGroup.Piano],
|
|
49
|
+
yearly: exports.pricesPerPlan[PlanPeriod.Yearly][PlansGroup.Piano],
|
|
50
|
+
label: '0-20',
|
|
51
|
+
name: 'Piano',
|
|
52
|
+
id: PlansGroup.Piano,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
min: 21,
|
|
56
|
+
max: exports.membersPerPlan[PlansGroup.MezzoPiano],
|
|
57
|
+
monthly: exports.pricesPerPlan[PlanPeriod.Monthly][PlansGroup.MezzoPiano],
|
|
58
|
+
yearly: exports.pricesPerPlan[PlanPeriod.Yearly][PlansGroup.MezzoPiano],
|
|
59
|
+
label: '21-40',
|
|
60
|
+
name: 'Mezzopiano',
|
|
61
|
+
id: PlansGroup.MezzoPiano,
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
min: 41,
|
|
65
|
+
max: exports.membersPerPlan[PlansGroup.MezzoForte],
|
|
66
|
+
monthly: exports.pricesPerPlan[PlanPeriod.Monthly][PlansGroup.MezzoForte],
|
|
67
|
+
yearly: exports.pricesPerPlan[PlanPeriod.Yearly][PlansGroup.MezzoForte],
|
|
68
|
+
label: '41-60',
|
|
69
|
+
name: 'Mezzoforte',
|
|
70
|
+
id: PlansGroup.MezzoForte,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
min: 61,
|
|
74
|
+
max: exports.membersPerPlan[PlansGroup.Forte],
|
|
75
|
+
monthly: exports.pricesPerPlan[PlanPeriod.Monthly][PlansGroup.Forte],
|
|
76
|
+
yearly: exports.pricesPerPlan[PlanPeriod.Yearly][PlansGroup.Forte],
|
|
77
|
+
label: '61-80',
|
|
78
|
+
name: 'Forte',
|
|
79
|
+
id: PlansGroup.Forte,
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
min: 81,
|
|
83
|
+
max: exports.membersPerPlan[PlansGroup.Fortissimo],
|
|
84
|
+
monthly: exports.pricesPerPlan[PlanPeriod.Monthly][PlansGroup.Fortissimo],
|
|
85
|
+
yearly: exports.pricesPerPlan[PlanPeriod.Yearly][PlansGroup.Fortissimo],
|
|
86
|
+
label: '81-100',
|
|
87
|
+
name: 'Fortissimo',
|
|
88
|
+
id: PlansGroup.Fortissimo,
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
min: 101,
|
|
92
|
+
max: Infinity,
|
|
93
|
+
monthly: exports.pricesPerPlan[PlanPeriod.Monthly][PlansGroup.Tutti],
|
|
94
|
+
yearly: exports.pricesPerPlan[PlanPeriod.Yearly][PlansGroup.Tutti],
|
|
95
|
+
label: '+100',
|
|
96
|
+
name: 'Tutti',
|
|
97
|
+
id: PlansGroup.Tutti,
|
|
98
|
+
},
|
|
99
|
+
];
|
|
@@ -3,6 +3,13 @@ import { InstrumentId } from '../../../helpers/instruments';
|
|
|
3
3
|
import { EventTinyData } from '../../Evento/types';
|
|
4
4
|
import { ThemeBasicData } from '../../Repertory/types';
|
|
5
5
|
import { FileSectionId } from './File/Section/types';
|
|
6
|
+
export declare enum RepertoireHistoryAction {
|
|
7
|
+
Created = "created",
|
|
8
|
+
Deleted = "deleted",
|
|
9
|
+
PlayerPlay = "player_play",
|
|
10
|
+
PlayerView = "player_view",
|
|
11
|
+
PlayerDownload = "player_download"
|
|
12
|
+
}
|
|
6
13
|
export declare enum GroupRepertoireVisibility {
|
|
7
14
|
Always = "always",
|
|
8
15
|
ByEvent = "byEvent"
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GroupRepertoireVisibility = void 0;
|
|
3
|
+
exports.GroupRepertoireVisibility = exports.RepertoireHistoryAction = void 0;
|
|
4
|
+
var RepertoireHistoryAction;
|
|
5
|
+
(function (RepertoireHistoryAction) {
|
|
6
|
+
RepertoireHistoryAction["Created"] = "created";
|
|
7
|
+
RepertoireHistoryAction["Deleted"] = "deleted";
|
|
8
|
+
RepertoireHistoryAction["PlayerPlay"] = "player_play";
|
|
9
|
+
RepertoireHistoryAction["PlayerView"] = "player_view";
|
|
10
|
+
RepertoireHistoryAction["PlayerDownload"] = "player_download";
|
|
11
|
+
})(RepertoireHistoryAction = exports.RepertoireHistoryAction || (exports.RepertoireHistoryAction = {}));
|
|
4
12
|
var GroupRepertoireVisibility;
|
|
5
13
|
(function (GroupRepertoireVisibility) {
|
|
6
14
|
GroupRepertoireVisibility["Always"] = "always";
|