@jsb188/app 1.0.0

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.
@@ -0,0 +1,146 @@
1
+ export const PLATFORM_PRODUCT_ENUMS = [
2
+ // Subscriptions
3
+ 'perks',
4
+ 'kajiwoto_plus',
5
+ 'kajiwoto_plus_yearly',
6
+ 'kajiwoto_pro',
7
+ 'kajiwoto_pro_yearly',
8
+
9
+ // These are for future proofing; don't use these until they're in the database
10
+ 'big_planet_plus',
11
+ 'big_planet_plus_yearly',
12
+ 'big_planet_pro',
13
+ 'big_planet_pro_yearly',
14
+
15
+ // Consumables
16
+ 'coins_10',
17
+ 'coins_20',
18
+ 'coins_100',
19
+
20
+ // Expired
21
+ 'kajiwoto_creator',
22
+ 'creator_dataset_sub',
23
+ ];
24
+
25
+ export const SUBSCRIPTION_CATALOG = [
26
+ // [groupName, stripeProductId, stripePriceId]
27
+ ['PLUS', 'prod_H0WgTKq5qiK51Q', 'plan_H0WhZdwYcq9Fn7'],
28
+ ['PRO', 'prod_H0WgTKq5qiK51Q', 'price_1MkLqjJI6Kvu2OvUPzFwwncH'],
29
+ ];
30
+
31
+ export const SUBSCRIPTION_CATALOG_TEST = [
32
+ // [groupName, stripeProductId, stripePriceId]
33
+ ['PLUS', 'prod_O2uOYfarTaRqJX', 'price_1QBox9JI6Kvu2OvUoy9vBmKL'],
34
+ ['PRO', 'prod_O2uOYfarTaRqJX', 'price_1QBox9JI6Kvu2OvUQ86KgX5C'],
35
+ ];
36
+
37
+ export const PRICE_ID_TO_PRODUCT = {
38
+ plan_H0WhZdwYcq9Fn7: {
39
+ name: 'kajiwoto_plus',
40
+ group: 'PLUS',
41
+ },
42
+ price_1HmqX5JI6Kvu2OvUM1edHUMw: {
43
+ name: 'kajiwoto_plus_yearly',
44
+ group: 'PLUS',
45
+ },
46
+ price_1MkLqjJI6Kvu2OvUPzFwwncH: {
47
+ name: 'kajiwoto_pro',
48
+ group: 'PRO',
49
+ },
50
+ price_1MkLrzJI6Kvu2OvUMPyWvKdt: {
51
+ name: 'kajiwoto_pro_yearly',
52
+ group: 'PRO',
53
+ },
54
+ price_1IOudjJI6Kvu2OvU6znCc2oZ: {
55
+ name: 'coins_10',
56
+ group: 'COINS',
57
+ },
58
+ price_1IOudjJI6Kvu2OvUnRFoUQUm: {
59
+ name: 'coins_20',
60
+ group: 'COINS',
61
+ },
62
+ price_1K3y6EJI6Kvu2OvUYUDJgMy6: {
63
+ name: 'coins_100',
64
+ group: 'COINS',
65
+ },
66
+ // price_HNzF3cC8hMxs0Q: 'kajiwoto_creator',
67
+ // plan_HIXtNYWIEx9eST: 'creator_dataset_sub',
68
+ } as {
69
+ [key: string]: {
70
+ name: string;
71
+ group: string;
72
+ };
73
+ };
74
+
75
+ export const PRICE_ID_TO_PRODUCT_TEST = {
76
+ price_1QBox9JI6Kvu2OvUoy9vBmKL: {
77
+ name: 'kajiwoto_plus',
78
+ group: 'PLUS',
79
+ },
80
+ price_1QBox9JI6Kvu2OvU7bKCLUYq: {
81
+ name: 'kajiwoto_plus_yearly',
82
+ group: 'PLUS',
83
+ },
84
+ price_1QBox9JI6Kvu2OvUQ86KgX5C: {
85
+ name: 'kajiwoto_pro',
86
+ group: 'PRO',
87
+ },
88
+ price_1QBox9JI6Kvu2OvU8Fn4ftXb: {
89
+ name: 'kajiwoto_pro_yearly',
90
+ group: 'PRO',
91
+ },
92
+ price_1NGnmKJI6Kvu2OvUx3bykj0F: {
93
+ name: 'coins_10',
94
+ group: 'COINS',
95
+ },
96
+ price_1NGoBHJI6Kvu2OvUONbOujKG: {
97
+ name: 'coins_20',
98
+ group: 'COINS',
99
+ },
100
+ price_1NGoAjJI6Kvu2OvUSRWartW3: {
101
+ name: 'coins_100',
102
+ group: 'COINS',
103
+ },
104
+ // price_HNzJjKRMAhEakr: 'kajiwoto_creator',
105
+ // plan_HIYFVZvX8lLTol: 'creator_dataset_sub',
106
+ } as {
107
+ [key: string]: {
108
+ name: string;
109
+ group: string;
110
+ };
111
+ };
112
+
113
+ // Products
114
+ // export const PRICES = {
115
+ // kajiwoto_plus: 7.99,
116
+ // kajiwoto_plus_yearly: 87.89,
117
+ // kajiwoto_pro: 29.99,
118
+ // kajiwoto_pro_yearly: 299.99,
119
+ // coins_10: 9.99,
120
+ // coins_20: 19.98,
121
+ // coins_100: 99.90,
122
+
123
+ // // Skin Prices
124
+ // SKIN_PRICE_1: 2.99,
125
+ // SKIN_PRICE_2: 4.99,
126
+ // SKIN_PRICE_3: 9.99,
127
+ // SKIN_PRICE_4: 19.99
128
+ // };
129
+
130
+ // export const SUBSCRIPTION_PRODUCTS = [
131
+ // 'kajiwoto_plus',
132
+ // 'kajiwoto_plus_yearly',
133
+ // 'kajiwoto_pro',
134
+ // 'kajiwoto_pro_yearly',
135
+ // 'kajiwoto_creator',
136
+ // 'kplus_test'
137
+ // ];
138
+
139
+ // export const HAS_PLUS_SUB_TYPES = [
140
+ // 'plus',
141
+ // 'pro'
142
+ // ];
143
+
144
+ // export const HAS_PRO_SUB_TYPES = [
145
+ // 'pro'
146
+ // ];