@r2wa-org/eden 0.0.90 → 0.0.91

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.
@@ -35,7 +35,19 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
35
35
  headers: import("elysia").HTTPHeaders;
36
36
  status?: number | keyof import("elysia").StatusMap;
37
37
  redirect?: string;
38
- cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
38
+ cookie?: Record<string, {
39
+ domain?: string | undefined;
40
+ expires?: Date | undefined;
41
+ httpOnly?: boolean | undefined;
42
+ maxAge?: number | undefined;
43
+ path?: string | undefined;
44
+ priority?: 'low' | 'medium' | 'high' | undefined;
45
+ partitioned?: boolean | undefined;
46
+ sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
47
+ secure?: boolean | undefined;
48
+ secrets?: string | null | (string | null)[];
49
+ value?: unknown;
50
+ }>;
39
51
  };
40
52
  path: string;
41
53
  route: string;
@@ -544,6 +544,34 @@ export declare const checkInRouter: Elysia<"/checkIns", {
544
544
  };
545
545
  };
546
546
  };
547
+ } & {
548
+ checkIns: {
549
+ today: {
550
+ get: {
551
+ body: {};
552
+ params: {};
553
+ query: {
554
+ checkInType?: "app" | "meeting" | undefined;
555
+ };
556
+ headers: {};
557
+ response: {
558
+ 200: {
559
+ checkedInToday: boolean;
560
+ };
561
+ 401: "Unauthorized";
562
+ 422: {
563
+ type: 'validation';
564
+ on: string;
565
+ summary?: string;
566
+ message?: string;
567
+ found?: unknown;
568
+ property?: string;
569
+ expected?: string;
570
+ };
571
+ };
572
+ };
573
+ };
574
+ };
547
575
  }, {
548
576
  derive: {};
549
577
  resolve: {};
@@ -1,4 +1,4 @@
1
- import type { CheckInCreateInputType, CheckInListQueryType, CheckInStatsQueryType, CheckInTimezoneUpdateInputType } from './dto.schemas';
1
+ import type { CheckInCreateInputType, CheckInListQueryType, CheckInStatsQueryType, CheckInTodayQueryType, CheckInTimezoneUpdateInputType } from './dto.schemas';
2
2
  export declare abstract class UserCheckInService {
3
3
  private static validateUserId;
4
4
  private static getCheckInTypeOrDefault;
@@ -70,4 +70,7 @@ export declare abstract class UserCheckInService {
70
70
  checkedInToday: boolean;
71
71
  currentStreakDays: number;
72
72
  }>;
73
+ static getMyTodayStatus(userId: string, query: CheckInTodayQueryType): Promise<{
74
+ checkedInToday: boolean;
75
+ }>;
73
76
  }
@@ -35,19 +35,7 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
35
35
  headers: import("elysia").HTTPHeaders;
36
36
  status?: number | keyof import("elysia").StatusMap;
37
37
  redirect?: string;
38
- cookie?: Record<string, {
39
- domain?: string | undefined;
40
- expires?: Date | undefined;
41
- httpOnly?: boolean | undefined;
42
- maxAge?: number | undefined;
43
- path?: string | undefined;
44
- priority?: 'low' | 'medium' | 'high' | undefined;
45
- partitioned?: boolean | undefined;
46
- sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
47
- secure?: boolean | undefined;
48
- secrets?: string | null | (string | null)[];
49
- value?: unknown;
50
- }>;
38
+ cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
51
39
  };
52
40
  path: string;
53
41
  route: string;
@@ -35,7 +35,19 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
35
35
  headers: import("elysia").HTTPHeaders;
36
36
  status?: number | keyof import("elysia").StatusMap;
37
37
  redirect?: string;
38
- cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
38
+ cookie?: Record<string, {
39
+ domain?: string | undefined;
40
+ expires?: Date | undefined;
41
+ httpOnly?: boolean | undefined;
42
+ maxAge?: number | undefined;
43
+ path?: string | undefined;
44
+ priority?: 'low' | 'medium' | 'high' | undefined;
45
+ partitioned?: boolean | undefined;
46
+ sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
47
+ secure?: boolean | undefined;
48
+ secrets?: string | null | (string | null)[];
49
+ value?: unknown;
50
+ }>;
39
51
  };
40
52
  path: string;
41
53
  route: string;
package/dist/index.d.ts CHANGED
@@ -12768,6 +12768,34 @@ declare const app: Elysia<"/api", {
12768
12768
  };
12769
12769
  };
12770
12770
  };
12771
+ } & {
12772
+ checkIns: {
12773
+ today: {
12774
+ get: {
12775
+ body: {};
12776
+ params: {};
12777
+ query: {
12778
+ checkInType?: "app" | "meeting" | undefined;
12779
+ };
12780
+ headers: {};
12781
+ response: {
12782
+ 200: {
12783
+ checkedInToday: boolean;
12784
+ };
12785
+ 401: "Unauthorized";
12786
+ 422: {
12787
+ type: 'validation';
12788
+ on: string;
12789
+ summary?: string;
12790
+ message?: string;
12791
+ found?: unknown;
12792
+ property?: string;
12793
+ expected?: string;
12794
+ };
12795
+ };
12796
+ };
12797
+ };
12798
+ };
12771
12799
  };
12772
12800
  } & {
12773
12801
  api: {
@@ -35,7 +35,19 @@ export declare const ledgerAccountImportAdminRouter: Elysia<"/ledger_account_imp
35
35
  headers: import("elysia").HTTPHeaders;
36
36
  status?: number | keyof import("elysia").StatusMap;
37
37
  redirect?: string;
38
- cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
38
+ cookie?: Record<string, {
39
+ domain?: string | undefined;
40
+ expires?: Date | undefined;
41
+ httpOnly?: boolean | undefined;
42
+ maxAge?: number | undefined;
43
+ path?: string | undefined;
44
+ priority?: 'low' | 'medium' | 'high' | undefined;
45
+ partitioned?: boolean | undefined;
46
+ sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
47
+ secure?: boolean | undefined;
48
+ secrets?: string | null | (string | null)[];
49
+ value?: unknown;
50
+ }>;
39
51
  };
40
52
  path: string;
41
53
  route: string;
@@ -35,19 +35,7 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
35
35
  headers: import("elysia").HTTPHeaders;
36
36
  status?: number | keyof import("elysia").StatusMap;
37
37
  redirect?: string;
38
- cookie?: Record<string, {
39
- domain?: string | undefined;
40
- expires?: Date | undefined;
41
- httpOnly?: boolean | undefined;
42
- maxAge?: number | undefined;
43
- path?: string | undefined;
44
- priority?: 'low' | 'medium' | 'high' | undefined;
45
- partitioned?: boolean | undefined;
46
- sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
47
- secure?: boolean | undefined;
48
- secrets?: string | null | (string | null)[];
49
- value?: unknown;
50
- }>;
38
+ cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
51
39
  };
52
40
  path: string;
53
41
  route: string;
@@ -35,19 +35,7 @@ export declare const referralDepthConfigAdminRouter: Elysia<"/referrals/depth-co
35
35
  headers: import("elysia").HTTPHeaders;
36
36
  status?: number | keyof import("elysia").StatusMap;
37
37
  redirect?: string;
38
- cookie?: Record<string, {
39
- domain?: string | undefined;
40
- expires?: Date | undefined;
41
- httpOnly?: boolean | undefined;
42
- maxAge?: number | undefined;
43
- path?: string | undefined;
44
- priority?: 'low' | 'medium' | 'high' | undefined;
45
- partitioned?: boolean | undefined;
46
- sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
47
- secure?: boolean | undefined;
48
- secrets?: string | null | (string | null)[];
49
- value?: unknown;
50
- }>;
38
+ cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
51
39
  };
52
40
  path: string;
53
41
  route: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2wa-org/eden",
3
- "version": "0.0.90",
3
+ "version": "0.0.91",
4
4
  "description": "Elysia API type definitions for Eden Treaty",
5
5
  "files": [
6
6
  "dist"