@ibiliaze/global-vars 1.81.0 → 1.82.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.
@@ -1,292 +1,236 @@
1
+ export interface SupPage {
2
+ path: string;
3
+ name: string;
4
+ }
5
+ export interface PageSection {
6
+ parentId: string;
7
+ path: string;
8
+ name: string;
9
+ }
10
+ export interface SectionWithTabs extends PageSection {
11
+ subPages: readonly SupPage[];
12
+ }
13
+ export interface Sections {
14
+ [key: string]: PageSection | SectionWithTabs;
15
+ }
1
16
  export declare const pages: {
2
17
  sections: {
3
18
  readonly parentId: "sections-section";
4
19
  readonly path: "/admin/sections";
5
20
  readonly name: "Stadiums";
6
- readonly Icon: react.ForwardRefExoticComponent<any>;
7
21
  readonly subPages: readonly [{
8
22
  readonly name: "Stadiums";
9
23
  readonly path: "/stadiums";
10
- readonly Icon: react.ForwardRefExoticComponent<any>;
11
24
  }, {
12
25
  readonly name: "Sectors";
13
26
  readonly path: "/sections";
14
- readonly Icon: react.ForwardRefExoticComponent<any>;
15
27
  }];
16
28
  };
17
29
  fixtures: {
18
30
  readonly parentId: "fixtures-section";
19
31
  readonly path: "/admin/fixtures";
20
32
  readonly name: "Matches";
21
- readonly Icon: react.ForwardRefExoticComponent<any>;
22
33
  readonly subPages: readonly [{
23
34
  readonly name: "Matches";
24
35
  readonly path: "/matches";
25
- readonly Icon: react.ForwardRefExoticComponent<any>;
26
36
  }, {
27
37
  readonly name: "Seats";
28
38
  readonly path: "/seats";
29
- readonly Icon: react.ForwardRefExoticComponent<any>;
30
39
  }, {
31
40
  readonly name: "Match Types";
32
41
  readonly path: "/types";
33
- readonly Icon: react.ForwardRefExoticComponent<any>;
34
42
  }];
35
43
  };
36
44
  tickets: {
37
45
  readonly parentId: "tickets-section";
38
46
  readonly path: "/admin/tickets";
39
47
  readonly name: "Tickets";
40
- readonly Icon: react.ForwardRefExoticComponent<any>;
41
48
  };
42
49
  categories: {
43
50
  readonly parentId: "categories-section";
44
51
  readonly path: "/admin/categories";
45
52
  readonly name: "Categories";
46
- readonly Icon: react.ForwardRefExoticComponent<any>;
47
53
  };
48
54
  flows: {
49
55
  readonly parentId: "flows-section";
50
56
  readonly path: "/admin/flows";
51
57
  readonly name: "Sale Channels";
52
- readonly Icon: react.ForwardRefExoticComponent<any>;
53
58
  };
54
59
  users: {
55
60
  readonly parentId: "users-section";
56
61
  readonly path: "/admin/users";
57
62
  readonly name: "Users";
58
- readonly Icon: react.ForwardRefExoticComponent<any>;
59
63
  };
60
64
  staffs: {
61
65
  readonly parentId: "staffs-section";
62
66
  readonly path: "/admin/staffs";
63
67
  readonly name: "Staff";
64
- readonly Icon: react.ForwardRefExoticComponent<any>;
65
68
  };
66
69
  roles: {
67
70
  readonly parentId: "roles-section";
68
71
  readonly path: "/admin/roles";
69
72
  readonly name: "Roles";
70
- readonly Icon: react.ForwardRefExoticComponent<any>;
71
73
  };
72
74
  blogs: {
73
75
  readonly parentId: "blogs-section";
74
76
  readonly path: "/admin/blogs";
75
77
  readonly name: "Blogs";
76
- readonly Icon: react.ForwardRefExoticComponent<any>;
77
78
  readonly subPages: readonly [{
78
79
  readonly name: "Blogs";
79
80
  readonly path: "/blogs";
80
- readonly Icon: react.ForwardRefExoticComponent<any>;
81
81
  }, {
82
82
  readonly name: "Groups";
83
83
  readonly path: "/groups";
84
- readonly Icon: react.ForwardRefExoticComponent<any>;
85
84
  }];
86
85
  };
87
86
  products: {
88
87
  readonly parentId: "products-section";
89
88
  readonly path: "/admin/products";
90
89
  readonly name: "E-Commerce";
91
- readonly Icon: react.ForwardRefExoticComponent<any>;
92
90
  readonly subPages: readonly [{
93
91
  readonly name: "Products";
94
92
  readonly path: "/products";
95
- readonly Icon: react.ForwardRefExoticComponent<any>;
96
93
  }, {
97
94
  readonly name: "Groups";
98
95
  readonly path: "/groups";
99
- readonly Icon: react.ForwardRefExoticComponent<any>;
100
96
  }];
101
97
  };
102
98
  events: {
103
99
  readonly parentId: "events-section";
104
100
  readonly path: "/admin/events";
105
101
  readonly name: "Calendar";
106
- readonly Icon: react.ForwardRefExoticComponent<any>;
107
102
  readonly subPages: readonly [{
108
103
  readonly name: "Table";
109
104
  readonly path: "/table";
110
- readonly Icon: react.ForwardRefExoticComponent<any>;
111
105
  }, {
112
106
  readonly name: "Events";
113
107
  readonly path: "/events";
114
- readonly Icon: react.ForwardRefExoticComponent<any>;
115
108
  }];
116
109
  };
117
110
  prospects: {
118
111
  readonly parentId: "prospects-section";
119
112
  readonly path: "/admin/prospects";
120
113
  readonly name: "Prospects";
121
- readonly Icon: react.ForwardRefExoticComponent<any>;
122
114
  readonly subPages: readonly [{
123
115
  readonly name: "Prospects";
124
116
  readonly path: "/prospects";
125
- readonly Icon: react.ForwardRefExoticComponent<any>;
126
117
  }, {
127
118
  readonly name: "Niches";
128
119
  readonly path: "/niches";
129
- readonly Icon: react.ForwardRefExoticComponent<any>;
130
120
  }, {
131
121
  readonly name: "Groups";
132
122
  readonly path: "/groups";
133
- readonly Icon: react.ForwardRefExoticComponent<any>;
134
123
  }];
135
124
  };
136
125
  campaigns: {
137
126
  readonly parentId: "campaigns-section";
138
127
  readonly path: "/admin/campaigns";
139
128
  readonly name: "Campaigns";
140
- readonly Icon: react.ForwardRefExoticComponent<any>;
141
129
  readonly subPages: readonly [{
142
130
  readonly name: "Campaigns";
143
131
  readonly path: "/campaigns";
144
- readonly Icon: react.ForwardRefExoticComponent<any>;
145
132
  }, {
146
133
  readonly name: "DM Templates";
147
134
  readonly path: "/templates";
148
- readonly Icon: react.ForwardRefExoticComponent<any>;
149
135
  }];
150
136
  };
151
137
  jobs: {
152
138
  readonly parentId: "jobs-section";
153
139
  readonly path: "/admin/jobs";
154
140
  readonly name: "Scheduled Jobs";
155
- readonly Icon: react.ForwardRefExoticComponent<any>;
156
141
  };
157
142
  sales: {
158
143
  readonly parentId: "sales-list-section";
159
144
  readonly path: "/admin/sales";
160
145
  readonly name: "Sales";
161
- readonly Icon: react.ForwardRefExoticComponent<any>;
162
146
  readonly subPages: readonly [{
163
147
  readonly name: "Insights";
164
148
  readonly path: "/insights";
165
- readonly Icon: react.ForwardRefExoticComponent<any>;
166
149
  }, {
167
150
  readonly name: "Transactions";
168
151
  readonly path: "/transactions";
169
- readonly Icon: react.ForwardRefExoticComponent<any>;
170
152
  }];
171
153
  };
172
154
  pipelines: {
173
155
  readonly parentId: "pipelines-section";
174
156
  readonly path: "/admin/pipelines";
175
157
  readonly name: "Pipelines";
176
- readonly Icon: react.ForwardRefExoticComponent<any>;
177
158
  readonly subPages: readonly [{
178
159
  readonly name: "Pipelines";
179
160
  readonly path: "/pipelines";
180
- readonly Icon: react.ForwardRefExoticComponent<any>;
181
161
  }, {
182
162
  readonly name: "Groups";
183
163
  readonly path: "/groups";
184
- readonly Icon: react.ForwardRefExoticComponent<any>;
185
164
  }];
186
165
  };
187
166
  pages: {
188
167
  readonly parentId: "landing-pages-section";
189
168
  readonly path: "/admin/landing-pages";
190
169
  readonly name: "Pages";
191
- readonly Icon: react.ForwardRefExoticComponent<any>;
192
170
  };
193
171
  accounts: {
194
172
  readonly parentId: "accounts-section";
195
173
  readonly path: "/admin/accounts";
196
174
  readonly name: "Accounts";
197
- readonly Icon: react.ForwardRefExoticComponent<any>;
198
175
  };
199
176
  emails: {
200
177
  readonly parentId: "emails-section";
201
178
  readonly path: "/admin/emails";
202
179
  readonly name: "Emails";
203
- readonly Icon: react.ForwardRefExoticComponent<any>;
204
180
  readonly subPages: readonly [{
205
181
  readonly name: "Send emails";
206
182
  readonly path: "/send-email";
207
- readonly Icon: react.ForwardRefExoticComponent<any>;
208
183
  }, {
209
184
  readonly name: "Templates";
210
185
  readonly path: "/templates";
211
- readonly Icon: react.ForwardRefExoticComponent<any>;
212
186
  }, {
213
187
  readonly name: "Attachments";
214
188
  readonly path: "/attachments";
215
- readonly Icon: react.ForwardRefExoticComponent<any>;
216
189
  }];
217
190
  };
218
191
  public: {
219
192
  readonly parentId: "public-section";
220
193
  readonly path: "/admin/public";
221
194
  readonly name: "Public";
222
- readonly Icon: react.ForwardRefExoticComponent<any>;
223
195
  readonly subPages: readonly [{
224
196
  readonly name: "Company";
225
197
  readonly path: "/company";
226
- readonly Icon: react.ForwardRefExoticComponent<any>;
227
198
  }, {
228
199
  readonly name: "Banner";
229
200
  readonly path: "/banner";
230
- readonly Icon: react.ForwardRefExoticComponent<any>;
231
201
  }, {
232
202
  readonly name: "Links";
233
203
  readonly path: "/links";
234
- readonly Icon: react.ForwardRefExoticComponent<any>;
235
204
  }];
236
205
  };
237
206
  settings: {
238
207
  readonly parentId: "settings-section";
239
208
  readonly path: "/admin/settings";
240
209
  readonly name: "Settings";
241
- readonly Icon: react.ForwardRefExoticComponent<any>;
242
210
  readonly subPages: readonly [{
243
211
  readonly name: "Backup";
244
212
  readonly path: "/backup";
245
- readonly Icon: react.ForwardRefExoticComponent<any>;
246
213
  }, {
247
214
  readonly name: "Sessions";
248
215
  readonly path: "/sessions";
249
- readonly Icon: react.ForwardRefExoticComponent<any>;
250
216
  }, {
251
217
  readonly name: "Logs";
252
218
  readonly path: "/logs";
253
- readonly Icon: react.ForwardRefExoticComponent<any>;
254
219
  }, {
255
220
  readonly name: "DLQ";
256
221
  readonly path: "/dlq";
257
- readonly Icon: react.ForwardRefExoticComponent<any>;
258
222
  }, {
259
223
  readonly name: "Quota Limit";
260
224
  readonly path: "/quota-limit";
261
- readonly Icon: react.ForwardRefExoticComponent<any>;
262
225
  }, {
263
226
  readonly name: "Status";
264
227
  readonly path: "/status";
265
- readonly Icon: react.ForwardRefExoticComponent<any>;
266
228
  }, {
267
229
  readonly name: "Database";
268
230
  readonly path: "/database";
269
- readonly Icon: react.ForwardRefExoticComponent<any>;
270
231
  }];
271
232
  };
272
233
  };
273
- export interface SupPage {
274
- path: string;
275
- name: string;
276
- Icon: any;
277
- }
278
- export interface SectionBase {
279
- parentId: string;
280
- path: string;
281
- name: string;
282
- Icon: any;
283
- }
284
- export interface SectionWithTabs extends SectionBase {
285
- subPages: readonly SupPage[];
286
- }
287
- export interface Sections {
288
- [key: string]: SectionBase | SectionWithTabs;
289
- }
290
234
  export type SectionsTabId = (typeof pages.sections.subPages)[number]['path'];
291
235
  export type SettingsTabId = (typeof pages.settings.subPages)[number]['path'];
292
236
  export type PublicTabId = (typeof pages.public.subPages)[number]['path'];
@@ -1,191 +1,167 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.pages = void 0;
4
- ///////////////////////////////////////////////////////////////////////////////////MODULES
5
- const icons_react_1 = require("@tabler/icons-react");
6
- //////////////////////////////////////////////////////////////////////////////////////////
7
4
  exports.pages = {
8
5
  sections: {
9
6
  parentId: 'sections-section',
10
7
  path: '/admin/sections',
11
8
  name: 'Stadiums',
12
- Icon: icons_react_1.IconSection,
13
9
  subPages: [
14
- { name: 'Stadiums', path: '/stadiums', Icon: icons_react_1.IconSection },
15
- { name: 'Sectors', path: '/sections', Icon: icons_react_1.IconSectionSign },
10
+ { name: 'Stadiums', path: '/stadiums' },
11
+ { name: 'Sectors', path: '/sections' },
16
12
  ],
17
13
  },
18
14
  fixtures: {
19
15
  parentId: 'fixtures-section',
20
16
  path: '/admin/fixtures',
21
17
  name: 'Matches',
22
- Icon: icons_react_1.IconBallFootball,
23
18
  subPages: [
24
- { name: 'Matches', path: '/matches', Icon: icons_react_1.IconBallFootball },
25
- { name: 'Seats', path: '/seats', Icon: icons_react_1.IconArmchair2 },
26
- { name: 'Match Types', path: '/types', Icon: icons_react_1.IconTrophy },
19
+ { name: 'Matches', path: '/matches' },
20
+ { name: 'Seats', path: '/seats' },
21
+ { name: 'Match Types', path: '/types' },
27
22
  ],
28
23
  },
29
24
  tickets: {
30
25
  parentId: 'tickets-section',
31
26
  path: '/admin/tickets',
32
27
  name: 'Tickets',
33
- Icon: icons_react_1.IconTicket,
34
28
  },
35
29
  categories: {
36
30
  parentId: 'categories-section',
37
31
  path: '/admin/categories',
38
32
  name: 'Categories',
39
- Icon: icons_react_1.IconReceipt2,
40
33
  },
41
34
  flows: {
42
35
  parentId: 'flows-section',
43
36
  path: '/admin/flows',
44
37
  name: 'Sale Channels',
45
- Icon: icons_react_1.IconChartFunnel,
46
38
  },
47
39
  users: {
48
40
  parentId: 'users-section',
49
41
  path: '/admin/users',
50
42
  name: 'Users',
51
- Icon: icons_react_1.IconUserCircle,
52
43
  },
53
44
  staffs: {
54
45
  parentId: 'staffs-section',
55
46
  path: '/admin/staffs',
56
47
  name: 'Staff',
57
- Icon: icons_react_1.IconUserHexagon,
58
48
  },
59
49
  roles: {
60
50
  parentId: 'roles-section',
61
51
  path: '/admin/roles',
62
52
  name: 'Roles',
63
- Icon: icons_react_1.IconLockCheck,
64
53
  },
65
54
  blogs: {
66
55
  parentId: 'blogs-section',
67
56
  path: '/admin/blogs',
68
57
  name: 'Blogs',
69
- Icon: icons_react_1.IconTextCaption,
70
58
  subPages: [
71
- { name: 'Blogs', path: '/blogs', Icon: icons_react_1.IconTextCaption },
72
- { name: 'Groups', path: '/groups', Icon: icons_react_1.IconContainer },
59
+ { name: 'Blogs', path: '/blogs' },
60
+ { name: 'Groups', path: '/groups' },
73
61
  ],
74
62
  },
75
63
  products: {
76
64
  parentId: 'products-section',
77
65
  path: '/admin/products',
78
66
  name: 'E-Commerce',
79
- Icon: icons_react_1.IconShoppingBag,
80
67
  subPages: [
81
- { name: 'Products', path: '/products', Icon: icons_react_1.IconFileDelta },
82
- { name: 'Groups', path: '/groups', Icon: icons_react_1.IconContainer },
68
+ { name: 'Products', path: '/products' },
69
+ { name: 'Groups', path: '/groups' },
83
70
  ],
84
71
  },
85
72
  events: {
86
73
  parentId: 'events-section',
87
74
  path: '/admin/events',
88
75
  name: 'Calendar',
89
- Icon: icons_react_1.IconCalendar,
90
76
  subPages: [
91
- { name: 'Table', path: '/table', Icon: icons_react_1.IconCalendar },
92
- { name: 'Events', path: '/events', Icon: icons_react_1.IconCalendarEvent },
77
+ { name: 'Table', path: '/table' },
78
+ { name: 'Events', path: '/events' },
93
79
  ],
94
80
  },
95
81
  prospects: {
96
82
  parentId: 'prospects-section',
97
83
  path: '/admin/prospects',
98
84
  name: 'Prospects',
99
- Icon: icons_react_1.IconUserCheck,
100
85
  subPages: [
101
- { name: 'Prospects', path: '/prospects', Icon: icons_react_1.IconUserCheck },
102
- { name: 'Niches', path: '/niches', Icon: icons_react_1.IconBallBasketball },
103
- { name: 'Groups', path: '/groups', Icon: icons_react_1.IconContainer },
86
+ { name: 'Prospects', path: '/prospects' },
87
+ { name: 'Niches', path: '/niches' },
88
+ { name: 'Groups', path: '/groups' },
104
89
  ],
105
90
  },
106
91
  campaigns: {
107
92
  parentId: 'campaigns-section',
108
93
  path: '/admin/campaigns',
109
94
  name: 'Campaigns',
110
- Icon: icons_react_1.IconAdCircle,
111
95
  subPages: [
112
- { name: 'Campaigns', path: '/campaigns', Icon: icons_react_1.IconAdCircle },
113
- { name: 'DM Templates', path: '/templates', Icon: icons_react_1.IconTemplate },
96
+ { name: 'Campaigns', path: '/campaigns' },
97
+ { name: 'DM Templates', path: '/templates' },
114
98
  ],
115
99
  },
116
100
  jobs: {
117
101
  parentId: 'jobs-section',
118
102
  path: '/admin/jobs',
119
103
  name: 'Scheduled Jobs',
120
- Icon: icons_react_1.IconCalendarExclamation,
121
104
  },
122
105
  sales: {
123
106
  parentId: 'sales-list-section',
124
107
  path: '/admin/sales',
125
108
  name: 'Sales',
126
- Icon: icons_react_1.IconGraph,
127
109
  subPages: [
128
- { name: 'Insights', path: '/insights', Icon: icons_react_1.IconGraph },
129
- { name: 'Transactions', path: '/transactions', Icon: icons_react_1.IconTransactionPound },
110
+ { name: 'Insights', path: '/insights' },
111
+ { name: 'Transactions', path: '/transactions' },
130
112
  ],
131
113
  },
132
114
  pipelines: {
133
115
  parentId: 'pipelines-section',
134
116
  path: '/admin/pipelines',
135
117
  name: 'Pipelines',
136
- Icon: icons_react_1.IconMenuOrder,
137
118
  subPages: [
138
- { name: 'Pipelines', path: '/pipelines', Icon: icons_react_1.IconMenuOrder },
139
- { name: 'Groups', path: '/groups', Icon: icons_react_1.IconTemplate },
119
+ { name: 'Pipelines', path: '/pipelines' },
120
+ { name: 'Groups', path: '/groups' },
140
121
  ],
141
122
  },
142
123
  pages: {
143
124
  parentId: 'landing-pages-section',
144
125
  path: '/admin/landing-pages',
145
126
  name: 'Pages',
146
- Icon: icons_react_1.IconPageBreak,
147
127
  },
148
128
  accounts: {
149
129
  parentId: 'accounts-section',
150
130
  path: '/admin/accounts',
151
131
  name: 'Accounts',
152
- Icon: icons_react_1.IconBrandOauth,
153
132
  },
154
133
  emails: {
155
134
  parentId: 'emails-section',
156
135
  path: '/admin/emails',
157
136
  name: 'Emails',
158
- Icon: icons_react_1.IconMail,
159
137
  subPages: [
160
- { name: 'Send emails', path: '/send-email', Icon: icons_react_1.IconMail },
161
- { name: 'Templates', path: '/templates', Icon: icons_react_1.IconTemplate },
162
- { name: 'Attachments', path: '/attachments', Icon: icons_react_1.IconPaperclip },
138
+ { name: 'Send emails', path: '/send-email' },
139
+ { name: 'Templates', path: '/templates' },
140
+ { name: 'Attachments', path: '/attachments' },
163
141
  ],
164
142
  },
165
143
  public: {
166
144
  parentId: 'public-section',
167
145
  path: '/admin/public',
168
146
  name: 'Public',
169
- Icon: icons_react_1.IconLiveView,
170
147
  subPages: [
171
- { name: 'Company', path: '/company', Icon: icons_react_1.IconBuilding },
172
- { name: 'Banner', path: '/banner', Icon: icons_react_1.IconAd2 },
173
- { name: 'Links', path: '/links', Icon: icons_react_1.IconLink },
148
+ { name: 'Company', path: '/company' },
149
+ { name: 'Banner', path: '/banner' },
150
+ { name: 'Links', path: '/links' },
174
151
  ],
175
152
  },
176
153
  settings: {
177
154
  parentId: 'settings-section',
178
155
  path: '/admin/settings',
179
156
  name: 'Settings',
180
- Icon: icons_react_1.IconSettings,
181
157
  subPages: [
182
- { name: 'Backup', path: '/backup', Icon: icons_react_1.IconCloudUpload },
183
- { name: 'Sessions', path: '/sessions', Icon: icons_react_1.IconCloudDataConnection },
184
- { name: 'Logs', path: '/logs', Icon: icons_react_1.IconList },
185
- { name: 'DLQ', path: '/dlq', Icon: icons_react_1.IconCancel },
186
- { name: 'Quota Limit', path: '/quota-limit', Icon: icons_react_1.IconProgressX },
187
- { name: 'Status', path: '/status', Icon: icons_react_1.IconAnalyze },
188
- { name: 'Database', path: '/database', Icon: icons_react_1.IconDatabase },
158
+ { name: 'Backup', path: '/backup' },
159
+ { name: 'Sessions', path: '/sessions' },
160
+ { name: 'Logs', path: '/logs' },
161
+ { name: 'DLQ', path: '/dlq' },
162
+ { name: 'Quota Limit', path: '/quota-limit' },
163
+ { name: 'Status', path: '/status' },
164
+ { name: 'Database', path: '/database' },
189
165
  ],
190
166
  },
191
167
  };
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.81.0",
3
+ "version": "1.82.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
+ "sideEffects": false,
6
7
  "exports": {
7
8
  ".": {
8
9
  "import": "./dist/index.js",
@@ -21,13 +22,12 @@
21
22
  "scripts": {
22
23
  "build": "tsc",
23
24
  "pub": "npm publish --access public",
24
- "git": "git add .; git commit -m 'changes'; git tag -a v1.81.0 -m 'v1.81.0'; git push origin v1.81.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.82.0 -m 'v1.82.0'; git push origin v1.82.0; git push",
25
26
  "push": "npm run build; npm run git; npm run pub"
26
27
  },
27
28
  "author": "Ibi Hasanli",
28
29
  "license": "ISC",
29
30
  "devDependencies": {
30
- "@tabler/icons-react": "^3.35.0",
31
31
  "typescript": "^5.0.0"
32
32
  }
33
33
  }