@orlikfy/api-interfaces 4.2.0 → 4.2.1

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/README.md CHANGED
@@ -10,7 +10,7 @@ Run the server locally to ensure the latest `openapi.yaml` is generated:
10
10
 
11
11
  ```bash
12
12
  cd server
13
- npm run start:dev
13
+ OPENAPI_GEN_ONLY=true npm run start:dev
14
14
  ```
15
15
 
16
16
  > Note: This step will be automated in the future.
package/dist/api.d.ts CHANGED
@@ -2881,11 +2881,24 @@ export interface components {
2881
2881
  version: string;
2882
2882
  count: number;
2883
2883
  };
2884
+ DailyStatsDto: {
2885
+ /** @description Date in YYYY-MM-DD format */
2886
+ date: string;
2887
+ count: number;
2888
+ };
2884
2889
  GetAdminUsersStatsDto: {
2885
2890
  totalUsers: number;
2886
2891
  platformStats: components["schemas"]["PlatformStatsDto"][];
2887
2892
  versionStats: components["schemas"]["VersionStatsDto"][];
2888
2893
  platformVersionStats: components["schemas"]["PlatformVersionStatsDto"][];
2894
+ /** @description Daily user registration counts */
2895
+ dailyRegistrations: components["schemas"]["DailyStatsDto"][];
2896
+ /** @description Daily game creation counts */
2897
+ dailyGamesCreated: components["schemas"]["DailyStatsDto"][];
2898
+ /** @description Daily game application creation counts */
2899
+ dailyApplicationsCreated: components["schemas"]["DailyStatsDto"][];
2900
+ /** @description Daily game application acceptance counts */
2901
+ dailyApplicationsAccepted: components["schemas"]["DailyStatsDto"][];
2889
2902
  };
2890
2903
  AdminGamePlayerDto: {
2891
2904
  playerId: string;
@@ -3341,6 +3354,7 @@ export type GetAdminUsersDto = components['schemas']['GetAdminUsersDto'];
3341
3354
  export type PlatformStatsDto = components['schemas']['PlatformStatsDto'];
3342
3355
  export type VersionStatsDto = components['schemas']['VersionStatsDto'];
3343
3356
  export type PlatformVersionStatsDto = components['schemas']['PlatformVersionStatsDto'];
3357
+ export type DailyStatsDto = components['schemas']['DailyStatsDto'];
3344
3358
  export type GetAdminUsersStatsDto = components['schemas']['GetAdminUsersStatsDto'];
3345
3359
  export type AdminGamePlayerDto = components['schemas']['AdminGamePlayerDto'];
3346
3360
  export type AdminGameDto = components['schemas']['AdminGameDto'];
@@ -5361,7 +5375,12 @@ export interface operations {
5361
5375
  };
5362
5376
  getUsersStats: {
5363
5377
  parameters: {
5364
- query?: never;
5378
+ query?: {
5379
+ /** @description Number of days to include in daily registration stats */
5380
+ registrationStatsDays?: number;
5381
+ /** @description Force refresh the cached stats */
5382
+ forceRefresh?: boolean;
5383
+ };
5365
5384
  header?: {
5366
5385
  /** @description Request trace id for logs */
5367
5386
  "x-trace-request-id"?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orlikfy/api-interfaces",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "kruligh",