@oxyfoo/gamelife-types 2.1.3 → 2.1.5

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.
@@ -13,6 +13,7 @@ export type SaveObject_Settings = {
13
13
  morningNotifications: boolean;
14
14
  eveningNotifications: boolean;
15
15
  optionalUpdatesNotifications: boolean;
16
+ statisticsEnabled: boolean;
16
17
  musicLinks: MusicLinksType;
17
18
  themeVariant: number;
18
19
  };
@@ -0,0 +1,17 @@
1
+ export type PageStatistics = {
2
+ pageName: string;
3
+ visitCount: number;
4
+ lastVisit: number;
5
+ };
6
+ export type LinkStatistics = {
7
+ linkName: string;
8
+ clickCount: number;
9
+ lastClick: number;
10
+ };
11
+ export type SaveObject_Statistics = {
12
+ pages: PageStatistics[];
13
+ links: LinkStatistics[];
14
+ loadingTimeMs: number;
15
+ sessionsCount: number;
16
+ lastSessionStart: number;
17
+ };
@@ -0,0 +1 @@
1
+ export {};
package/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from './Class/Rewards.js';
5
5
  export * from './Class/Server.js';
6
6
  export * from './Class/Settings.js';
7
7
  export * from './Class/Shop.js';
8
+ export * from './Class/Statistics.js';
8
9
  export * from './Class/ZapGPT.js';
9
10
  export * from './Data/App/index.js';
10
11
  export * from './Data/Server/index.js';
package/index.js CHANGED
@@ -5,6 +5,7 @@ export * from './Class/Rewards.js';
5
5
  export * from './Class/Server.js';
6
6
  export * from './Class/Settings.js';
7
7
  export * from './Class/Shop.js';
8
+ export * from './Class/Statistics.js';
8
9
  export * from './Class/ZapGPT.js';
9
10
  export * from './Data/App/index.js';
10
11
  export * from './Data/Server/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxyfoo/gamelife-types",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "description": "GameLife Types - TypeScript types for the GameLife project.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",