@plyaz/types 1.7.15 → 1.7.17

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.
Files changed (71) hide show
  1. package/dist/api/cache/index.d.ts +5 -0
  2. package/dist/api/cache/types.d.ts +22 -0
  3. package/dist/api/client/index.d.ts +5 -0
  4. package/dist/api/client/types.d.ts +31 -0
  5. package/dist/api/config/index.d.ts +5 -0
  6. package/dist/api/config/types.d.ts +634 -0
  7. package/dist/api/errors/index.d.ts +5 -0
  8. package/dist/api/errors/types.d.ts +129 -0
  9. package/dist/api/events/index.d.ts +5 -0
  10. package/dist/api/events/types.d.ts +723 -0
  11. package/dist/api/headers/index.d.ts +5 -0
  12. package/dist/api/headers/types.d.ts +59 -0
  13. package/dist/api/index.d.ts +19 -1
  14. package/dist/api/network/enums.d.ts +14 -0
  15. package/dist/api/network/index.d.ts +6 -0
  16. package/dist/api/network/types.d.ts +121 -0
  17. package/dist/api/performance/index.d.ts +5 -0
  18. package/dist/api/performance/types.d.ts +137 -0
  19. package/dist/api/polling/index.d.ts +5 -0
  20. package/dist/api/polling/types.d.ts +74 -0
  21. package/dist/api/queue/enums.d.ts +31 -0
  22. package/dist/api/queue/index.d.ts +6 -0
  23. package/dist/api/queue/types.d.ts +65 -0
  24. package/dist/api/regional/index.d.ts +5 -0
  25. package/dist/api/regional/types.d.ts +50 -0
  26. package/dist/api/retry/index.d.ts +5 -0
  27. package/dist/api/retry/types.d.ts +26 -0
  28. package/dist/api/revalidation/index.d.ts +5 -0
  29. package/dist/api/revalidation/types.d.ts +33 -0
  30. package/dist/api/strategies/index.d.ts +5 -0
  31. package/dist/api/strategies/types.d.ts +27 -0
  32. package/dist/api/utils/enums.d.ts +23 -0
  33. package/dist/api/utils/index.d.ts +5 -0
  34. package/dist/auth/index.cjs +0 -41
  35. package/dist/auth/index.cjs.map +1 -1
  36. package/dist/auth/index.d.ts +1 -1
  37. package/dist/auth/index.js +0 -38
  38. package/dist/auth/index.js.map +1 -1
  39. package/dist/common/types.d.ts +1 -4
  40. package/dist/errors/enums.d.ts +27 -0
  41. package/dist/errors/index.cjs +0 -43
  42. package/dist/errors/index.cjs.map +1 -1
  43. package/dist/errors/index.d.ts +1 -1
  44. package/dist/errors/index.js +0 -40
  45. package/dist/errors/index.js.map +1 -1
  46. package/dist/errors/types.d.ts +2 -2
  47. package/dist/events/index.cjs +0 -33
  48. package/dist/events/index.cjs.map +1 -1
  49. package/dist/events/index.d.ts +1 -1
  50. package/dist/events/index.js +0 -30
  51. package/dist/events/index.js.map +1 -1
  52. package/dist/events/types.d.ts +2 -2
  53. package/dist/index.cjs +0 -138
  54. package/dist/index.cjs.map +1 -1
  55. package/dist/index.d.ts +5 -5
  56. package/dist/index.js +0 -128
  57. package/dist/index.js.map +1 -1
  58. package/dist/logger/index.d.ts +1 -1
  59. package/dist/testing/common/assertions/types.d.ts +66 -0
  60. package/dist/testing/common/mocks/types.d.ts +67 -0
  61. package/dist/testing/common/utils/types.d.ts +2 -1
  62. package/dist/testing/features/api/index.d.ts +1 -0
  63. package/dist/testing/features/api/types.d.ts +292 -0
  64. package/dist/testing/features/index.d.ts +1 -0
  65. package/dist/web3/index.cjs +0 -27
  66. package/dist/web3/index.cjs.map +1 -1
  67. package/dist/web3/index.d.ts +1 -1
  68. package/dist/web3/index.js +0 -26
  69. package/dist/web3/index.js.map +1 -1
  70. package/package.json +3 -2
  71. package/dist/api/types.d.ts +0 -51
package/dist/index.cjs CHANGED
@@ -1,142 +1,4 @@
1
1
  'use strict';
2
2
 
3
- // @plyaz package - Built with tsup
4
-
5
- // src/auth/enums.ts
6
- var USER_ROLE = {
7
- /** A user who is an athlete and participates in sports activities. */
8
- Athlete: "athlete",
9
- /** A user who scouts and discovers talent. */
10
- Scout: "scout",
11
- /** A user who acts as an agent representing athletes or clubs. */
12
- Agent: "agent",
13
- /** A user representing a sports club or organization. */
14
- Club: "club",
15
- /** A fan or supporter of athletes or clubs. */
16
- Fan: "fan",
17
- /** A system administrator with access to management tools. */
18
- Admin: "admin",
19
- /** A super admin with the highest level of access and control. */
20
- SuperAdmin: "super.admin"
21
- };
22
- var USER_STATUS = {
23
- /** Active user with full access. */
24
- Active: "active",
25
- /** Inactive user, typically not currently using the platform. */
26
- Inactive: "inactive",
27
- /** User account is awaiting approval or completion of setup. */
28
- Pending: "pending",
29
- /** User has been temporarily suspended due to policy violations or manual review. */
30
- Suspended: "suspended",
31
- /** User has been permanently banned from the platform. */
32
- Banned: "banned"
33
- };
34
- var AUTH_PROVIDER = {
35
- /** Authentication via email and password. */
36
- Email: "email",
37
- /** Authentication via connected blockchain wallet. */
38
- Wallet: "wallet"
39
- };
40
-
41
- // src/errors/enums.ts
42
- var ERROR_TYPE = {
43
- /** A general validation error (e.g., form or input errors). */
44
- ValidationError: "validation.error",
45
- /** Error related to schema validation, such as JSON schema or API payload checks. */
46
- SchemaValidationError: "validation.schema.error",
47
- /** Unhandled or unexpected system error. */
48
- InternalError: "system.internal.error",
49
- /** System dependency is currently unavailable (e.g., database or external API). */
50
- ServiceUnavailable: "system.service.unavailable",
51
- /** The request took too long and timed out. */
52
- TimeoutError: "system.timeout",
53
- /** Too many requests made in a short period of time. */
54
- RateLimitExceeded: "system.rate.limit.exceeded"
55
- };
56
- var ERROR_SEVERITY = {
57
- /** Low severity - does not impact functionality significantly. */
58
- Low: "low",
59
- /** Medium severity - minor disruption or warning. */
60
- Medium: "medium",
61
- /** High severity - major issue requiring attention. */
62
- High: "high",
63
- /** Critical severity - blocking or crashing issue. */
64
- Critical: "critical"
65
- };
66
- var ERROR_CATEGORY = {
67
- /** Client-side error (e.g., invalid request). */
68
- Client: "client",
69
- /** Server-side error (e.g., logic failure or exception). */
70
- Server: "server",
71
- /** Network-related error (e.g., unreachable endpoint). */
72
- Network: "network",
73
- /** Blockchain-related error (e.g., transaction failure, gas limit). */
74
- Blockchain: "blockchain",
75
- // Validation-specific error (e.g., failed constraints or field errors).
76
- Validation: "validation"
77
- };
78
-
79
- // src/events/enums.ts
80
- var EVENT_TYPE = {
81
- /** Application initialization event. */
82
- AppInit: "app.init"
83
- };
84
- var EVENT_PRIORITY = {
85
- /** Low priority event. */
86
- Low: "low",
87
- /** Normal priority event. */
88
- Normal: "normal",
89
- /** High priority event. */
90
- High: "high",
91
- /** Critical priority event. */
92
- Critical: "critical"
93
- };
94
- var EVENT_STATUS = {
95
- /** Event is pending and has not started processing. */
96
- Pending: "pending",
97
- /** Event is currently being processed. */
98
- Processing: "processing",
99
- /** Event has been completed successfully. */
100
- Completed: "completed",
101
- /** Event processing failed. */
102
- Failed: "failed",
103
- /** Event is being retried after a failure. */
104
- Retrying: "retrying"
105
- };
106
-
107
- // src/web3/enums.ts
108
- var CHAIN_ID = {
109
- /** Ethereum Mainnet (Chain ID: 1). */
110
- EthereumMainnet: 1,
111
- /** Ethereum Sepolia Testnet (Chain ID: 11155111). */
112
- EthereumSepolia: 11155111,
113
- /** Optimism Mainnet (Chain ID: 10). */
114
- Optimism: 10,
115
- /** Optimism Sepolia Testnet (Chain ID: 11155420). */
116
- OptimismSepolia: 11155420,
117
- /** Arbitrum One Mainnet (Chain ID: 42161). */
118
- Arbitrum: 42161,
119
- /** Arbitrum Sepolia Testnet (Chain ID: 421614). */
120
- ArbitrumSepolia: 421614,
121
- /** Polygon Mainnet (Chain ID: 137). */
122
- Polygon: 137,
123
- /** Polygon Amoy Testnet (Chain ID: 80002). */
124
- PolygonAmoy: 80002,
125
- /** Base Mainnet (Chain ID: 8453). */
126
- Base: 8453,
127
- /** Base Sepolia Testnet (Chain ID: 84532). */
128
- BaseSepolia: 84532
129
- };
130
-
131
- exports.AUTH_PROVIDER = AUTH_PROVIDER;
132
- exports.CHAIN_ID = CHAIN_ID;
133
- exports.ERROR_CATEGORY = ERROR_CATEGORY;
134
- exports.ERROR_SEVERITY = ERROR_SEVERITY;
135
- exports.ERROR_TYPE = ERROR_TYPE;
136
- exports.EVENT_PRIORITY = EVENT_PRIORITY;
137
- exports.EVENT_STATUS = EVENT_STATUS;
138
- exports.EVENT_TYPE = EVENT_TYPE;
139
- exports.USER_ROLE = USER_ROLE;
140
- exports.USER_STATUS = USER_STATUS;
141
3
  //# sourceMappingURL=index.cjs.map
142
4
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/auth/enums.ts","../src/errors/enums.ts","../src/events/enums.ts","../src/web3/enums.ts"],"names":[],"mappings":";;;;;AAYO,IAAM,SAAA,GAAY;AAAA;AAAA,EAEvB,OAAA,EAAS,SAAA;AAAA;AAAA,EAGT,KAAA,EAAO,OAAA;AAAA;AAAA,EAGP,KAAA,EAAO,OAAA;AAAA;AAAA,EAGP,IAAA,EAAM,MAAA;AAAA;AAAA,EAGN,GAAA,EAAK,KAAA;AAAA;AAAA,EAGL,KAAA,EAAO,OAAA;AAAA;AAAA,EAGP,UAAA,EAAY;AACd;AAcO,IAAM,WAAA,GAAc;AAAA;AAAA,EAEzB,MAAA,EAAQ,QAAA;AAAA;AAAA,EAGR,QAAA,EAAU,UAAA;AAAA;AAAA,EAGV,OAAA,EAAS,SAAA;AAAA;AAAA,EAGT,SAAA,EAAW,WAAA;AAAA;AAAA,EAGX,MAAA,EAAQ;AACV;AAcO,IAAM,aAAA,GAAgB;AAAA;AAAA,EAE3B,KAAA,EAAO,OAAA;AAAA;AAAA,EAGP,MAAA,EAAQ;AACV;;;AClEO,IAAM,UAAA,GAAa;AAAA;AAAA,EAExB,eAAA,EAAiB,kBAAA;AAAA;AAAA,EAGjB,qBAAA,EAAuB,yBAAA;AAAA;AAAA,EAGvB,aAAA,EAAe,uBAAA;AAAA;AAAA,EAGf,kBAAA,EAAoB,4BAAA;AAAA;AAAA,EAGpB,YAAA,EAAc,gBAAA;AAAA;AAAA,EAGd,iBAAA,EAAmB;AACrB;AAcO,IAAM,cAAA,GAAiB;AAAA;AAAA,EAE5B,GAAA,EAAK,KAAA;AAAA;AAAA,EAGL,MAAA,EAAQ,QAAA;AAAA;AAAA,EAGR,IAAA,EAAM,MAAA;AAAA;AAAA,EAGN,QAAA,EAAU;AACZ;AAcO,IAAM,cAAA,GAAiB;AAAA;AAAA,EAE5B,MAAA,EAAQ,QAAA;AAAA;AAAA,EAGR,MAAA,EAAQ,QAAA;AAAA;AAAA,EAGR,OAAA,EAAS,SAAA;AAAA;AAAA,EAGT,UAAA,EAAY,YAAA;AAAA;AAAA,EAGZ,UAAA,EAAY;AACd;;;AC9EO,IAAM,UAAA,GAAa;AAAA;AAAA,EAExB,OAAA,EAAS;AACX;AAaO,IAAM,cAAA,GAAiB;AAAA;AAAA,EAE5B,GAAA,EAAK,KAAA;AAAA;AAAA,EAEL,MAAA,EAAQ,QAAA;AAAA;AAAA,EAER,IAAA,EAAM,MAAA;AAAA;AAAA,EAEN,QAAA,EAAU;AACZ;AAkBO,IAAM,YAAA,GAAe;AAAA;AAAA,EAE1B,OAAA,EAAS,SAAA;AAAA;AAAA,EAET,UAAA,EAAY,YAAA;AAAA;AAAA,EAEZ,SAAA,EAAW,WAAA;AAAA;AAAA,EAEX,MAAA,EAAQ,QAAA;AAAA;AAAA,EAER,QAAA,EAAU;AACZ;;;ACpDO,IAAM,QAAA,GAAW;AAAA;AAAA,EAEtB,eAAA,EAAiB,CAAA;AAAA;AAAA,EAGjB,eAAA,EAAiB,QAAA;AAAA;AAAA,EAGjB,QAAA,EAAU,EAAA;AAAA;AAAA,EAGV,eAAA,EAAiB,QAAA;AAAA;AAAA,EAGjB,QAAA,EAAU,KAAA;AAAA;AAAA,EAGV,eAAA,EAAiB,MAAA;AAAA;AAAA,EAGjB,OAAA,EAAS,GAAA;AAAA;AAAA,EAGT,WAAA,EAAa,KAAA;AAAA;AAAA,EAGb,IAAA,EAAM,IAAA;AAAA;AAAA,EAGN,WAAA,EAAa;AACf","file":"index.cjs","sourcesContent":["/**\n * Enum representing the different roles a user can have within the system.\n * @description Roles are used to determine access levels, permissions, and user-specific experiences.\n *\n * @example\n * ```typescript\n * import { USER_ROLE } from '@plyaz/types';\n *\n * const userRole = USER_ROLE.Athlete; // 'athlete'\n * const isAdmin = userRole === USER_ROLE.Admin || userRole === USER_ROLE.SuperAdmin;\n * ```\n */\nexport const USER_ROLE = {\n /** A user who is an athlete and participates in sports activities. */\n Athlete: 'athlete',\n\n /** A user who scouts and discovers talent. */\n Scout: 'scout',\n\n /** A user who acts as an agent representing athletes or clubs. */\n Agent: 'agent',\n\n /** A user representing a sports club or organization. */\n Club: 'club',\n\n /** A fan or supporter of athletes or clubs. */\n Fan: 'fan',\n\n /** A system administrator with access to management tools. */\n Admin: 'admin',\n\n /** A super admin with the highest level of access and control. */\n SuperAdmin: 'super.admin',\n} as const;\n\n/**\n * Enum representing the current status of a user account.\n * @description Statuses are used to determine login availability, visibility, and user flow.\n *\n * @example\n * ```typescript\n * import { USER_STATUS } from '@plyaz/types';\n *\n * const isAccessible = status === USER_STATUS.Active;\n * const needsReview = status === USER_STATUS.Pending;\n * ```\n */\nexport const USER_STATUS = {\n /** Active user with full access. */\n Active: 'active',\n\n /** Inactive user, typically not currently using the platform. */\n Inactive: 'inactive',\n\n /** User account is awaiting approval or completion of setup. */\n Pending: 'pending',\n\n /** User has been temporarily suspended due to policy violations or manual review. */\n Suspended: 'suspended',\n\n /** User has been permanently banned from the platform. */\n Banned: 'banned',\n} as const;\n\n/**\n * Enum representing the supported authentication providers for user login.\n * @description Auth Providers allowed such as Email, Wallet, etc.\n *\n * @example\n * ```typescript\n * import { AUTH_PROVIDER } from '@plyaz/types';\n *\n * const provider = AUTH_PROVIDER.Wallet; // 'wallet'\n * const isWeb3Auth = provider === AUTH_PROVIDER.Wallet;\n * ```\n */\nexport const AUTH_PROVIDER = {\n /** Authentication via email and password. */\n Email: 'email',\n\n /** Authentication via connected blockchain wallet. */\n Wallet: 'wallet',\n} as const;\n","/**\n * Enum representing standardized error types used across the application.\n * @description These error types help classify different categories of errors such as validation issues and system-level failures.\n *\n * @example\n * ```typescript\n * import { ERROR_TYPE } from '@plyaz/types';\n *\n * const errorType = ERROR_TYPE.ValidationError; // 'validation.error'\n *\n * // Error handling example\n * if (error.type === ERROR_TYPE.RateLimitExceeded) {\n * // Handle rate limiting\n * }\n * ```\n */\nexport const ERROR_TYPE = {\n /** A general validation error (e.g., form or input errors). */\n ValidationError: 'validation.error',\n\n /** Error related to schema validation, such as JSON schema or API payload checks. */\n SchemaValidationError: 'validation.schema.error',\n\n /** Unhandled or unexpected system error. */\n InternalError: 'system.internal.error',\n\n /** System dependency is currently unavailable (e.g., database or external API). */\n ServiceUnavailable: 'system.service.unavailable',\n\n /** The request took too long and timed out. */\n TimeoutError: 'system.timeout',\n\n /** Too many requests made in a short period of time. */\n RateLimitExceeded: 'system.rate.limit.exceeded',\n} as const;\n\n/**\n * Enum representing the severity level of an error.\n * @description This allows categorization of errors by their potential impact on the system or user.\n *\n * @example\n * ```typescript\n * import { ERROR_SEVERITY } from '@plyaz/types';\n *\n * const severity = ERROR_SEVERITY.Critical; // 'critical'\n * const shouldAlert = severity === ERROR_SEVERITY.High || severity === ERROR_SEVERITY.Critical;\n * ```\n */\nexport const ERROR_SEVERITY = {\n /** Low severity - does not impact functionality significantly. */\n Low: 'low',\n\n /** Medium severity - minor disruption or warning. */\n Medium: 'medium',\n\n /** High severity - major issue requiring attention. */\n High: 'high',\n\n /** Critical severity - blocking or crashing issue. */\n Critical: 'critical',\n} as const;\n\n/**\n * Enum representing the category or origin of an error.\n * @description Useful for filtering or logging errors based on their source or nature.\n *\n * @example\n * ```typescript\n * import { ERROR_CATEGORY } from '@plyaz/types';\n *\n * const category = ERROR_CATEGORY.Blockchain; // 'blockchain'\n * const isClientError = category === ERROR_CATEGORY.Client;\n * ```\n */\nexport const ERROR_CATEGORY = {\n /** Client-side error (e.g., invalid request). */\n Client: 'client',\n\n /** Server-side error (e.g., logic failure or exception). */\n Server: 'server',\n\n /** Network-related error (e.g., unreachable endpoint). */\n Network: 'network',\n\n /** Blockchain-related error (e.g., transaction failure, gas limit). */\n Blockchain: 'blockchain',\n\n // Validation-specific error (e.g., failed constraints or field errors).\n Validation: 'validation',\n} as const;\n","/**\n * Enum representing the types of events in the application.\n * Uses dot notation for event naming convention.\n *\n * @example\n * ```typescript\n * import { EVENT_TYPE } from '@plyaz/types';\n *\n * const eventType = EVENT_TYPE.AppInit; // 'app.init'\n * ```\n */\nexport const EVENT_TYPE = {\n /** Application initialization event. */\n AppInit: 'app.init',\n} as const;\n\n/**\n * Const representing the priority levels for events.\n * Used to determine processing order and resource allocation.\n *\n * @example\n * ```typescript\n * import { EVENT_PRIORITY } from '@plyaz/types';\n *\n * const priority = EVENT_PRIORITY.High; // 'high'\n * ```\n */\nexport const EVENT_PRIORITY = {\n /** Low priority event. */\n Low: 'low',\n /** Normal priority event. */\n Normal: 'normal',\n /** High priority event. */\n High: 'high',\n /** Critical priority event. */\n Critical: 'critical',\n} as const;\n\n/**\n * Const representing the status of an event.\n * Tracks the lifecycle of event processing from creation to completion.\n *\n * @example\n * ```typescript\n * import { EVENT_STATUS } from '@plyaz/types';\n *\n * const status = EVENT_STATUS.Processing; // 'processing'\n *\n * // Typical event lifecycle:\n * // Pending -> Processing -> Completed\n * // or\n * // Pending -> Processing -> Failed -> Retrying -> Processing -> Completed\n * ```\n */\nexport const EVENT_STATUS = {\n /** Event is pending and has not started processing. */\n Pending: 'pending',\n /** Event is currently being processed. */\n Processing: 'processing',\n /** Event has been completed successfully. */\n Completed: 'completed',\n /** Event processing failed. */\n Failed: 'failed',\n /** Event is being retried after a failure. */\n Retrying: 'retrying',\n} as const;\n","/**\n * Enum representing supported EVM-compatible blockchain networks by their numeric chain IDs.\n * @description These IDs are used to identify the specific network when interacting with wallets or smart contracts.\n * @see https://chainlist.org for reference chain IDs\n *\n * @example\n * ```typescript\n * import { CHAIN_ID } from '@plyaz/types';\n *\n * const chainId = CHAIN_ID.EthereumMainnet; // 1\n * const isTestnet = chainId === CHAIN_ID.EthereumSepolia || chainId === CHAIN_ID.PolygonAmoy;\n * ```\n */\nexport const CHAIN_ID = {\n /** Ethereum Mainnet (Chain ID: 1). */\n EthereumMainnet: 1,\n\n /** Ethereum Sepolia Testnet (Chain ID: 11155111). */\n EthereumSepolia: 11_155_111,\n\n /** Optimism Mainnet (Chain ID: 10). */\n Optimism: 10,\n\n /** Optimism Sepolia Testnet (Chain ID: 11155420). */\n OptimismSepolia: 11_155_420,\n\n /** Arbitrum One Mainnet (Chain ID: 42161). */\n Arbitrum: 42_161,\n\n /** Arbitrum Sepolia Testnet (Chain ID: 421614). */\n ArbitrumSepolia: 421_614,\n\n /** Polygon Mainnet (Chain ID: 137). */\n Polygon: 137,\n\n /** Polygon Amoy Testnet (Chain ID: 80002). */\n PolygonAmoy: 80_002,\n\n /** Base Mainnet (Chain ID: 8453). */\n Base: 8_453,\n\n /** Base Sepolia Testnet (Chain ID: 84532). */\n BaseSepolia: 84_532,\n} as const;\n"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- export type * from './api';
2
- export * from './auth';
1
+ export type * from './auth';
3
2
  export type * from './common';
4
3
  export type * from './entities';
5
- export * from './errors';
6
- export * from './events';
4
+ export type * from './errors';
5
+ export type * from './events';
7
6
  export type * from './store';
8
7
  export type * from './ui';
9
- export * from './web3';
8
+ export type * from './web3';
10
9
  export type * from './translations';
11
10
  export type * from './features';
12
11
  export type * from './testing';
13
12
  export type * from './lib';
14
13
  export type * from './logger';
14
+ export type * from './api';
package/dist/index.js CHANGED
@@ -1,131 +1,3 @@
1
- // @plyaz package - Built with tsup
2
1
 
3
- // src/auth/enums.ts
4
- var USER_ROLE = {
5
- /** A user who is an athlete and participates in sports activities. */
6
- Athlete: "athlete",
7
- /** A user who scouts and discovers talent. */
8
- Scout: "scout",
9
- /** A user who acts as an agent representing athletes or clubs. */
10
- Agent: "agent",
11
- /** A user representing a sports club or organization. */
12
- Club: "club",
13
- /** A fan or supporter of athletes or clubs. */
14
- Fan: "fan",
15
- /** A system administrator with access to management tools. */
16
- Admin: "admin",
17
- /** A super admin with the highest level of access and control. */
18
- SuperAdmin: "super.admin"
19
- };
20
- var USER_STATUS = {
21
- /** Active user with full access. */
22
- Active: "active",
23
- /** Inactive user, typically not currently using the platform. */
24
- Inactive: "inactive",
25
- /** User account is awaiting approval or completion of setup. */
26
- Pending: "pending",
27
- /** User has been temporarily suspended due to policy violations or manual review. */
28
- Suspended: "suspended",
29
- /** User has been permanently banned from the platform. */
30
- Banned: "banned"
31
- };
32
- var AUTH_PROVIDER = {
33
- /** Authentication via email and password. */
34
- Email: "email",
35
- /** Authentication via connected blockchain wallet. */
36
- Wallet: "wallet"
37
- };
38
-
39
- // src/errors/enums.ts
40
- var ERROR_TYPE = {
41
- /** A general validation error (e.g., form or input errors). */
42
- ValidationError: "validation.error",
43
- /** Error related to schema validation, such as JSON schema or API payload checks. */
44
- SchemaValidationError: "validation.schema.error",
45
- /** Unhandled or unexpected system error. */
46
- InternalError: "system.internal.error",
47
- /** System dependency is currently unavailable (e.g., database or external API). */
48
- ServiceUnavailable: "system.service.unavailable",
49
- /** The request took too long and timed out. */
50
- TimeoutError: "system.timeout",
51
- /** Too many requests made in a short period of time. */
52
- RateLimitExceeded: "system.rate.limit.exceeded"
53
- };
54
- var ERROR_SEVERITY = {
55
- /** Low severity - does not impact functionality significantly. */
56
- Low: "low",
57
- /** Medium severity - minor disruption or warning. */
58
- Medium: "medium",
59
- /** High severity - major issue requiring attention. */
60
- High: "high",
61
- /** Critical severity - blocking or crashing issue. */
62
- Critical: "critical"
63
- };
64
- var ERROR_CATEGORY = {
65
- /** Client-side error (e.g., invalid request). */
66
- Client: "client",
67
- /** Server-side error (e.g., logic failure or exception). */
68
- Server: "server",
69
- /** Network-related error (e.g., unreachable endpoint). */
70
- Network: "network",
71
- /** Blockchain-related error (e.g., transaction failure, gas limit). */
72
- Blockchain: "blockchain",
73
- // Validation-specific error (e.g., failed constraints or field errors).
74
- Validation: "validation"
75
- };
76
-
77
- // src/events/enums.ts
78
- var EVENT_TYPE = {
79
- /** Application initialization event. */
80
- AppInit: "app.init"
81
- };
82
- var EVENT_PRIORITY = {
83
- /** Low priority event. */
84
- Low: "low",
85
- /** Normal priority event. */
86
- Normal: "normal",
87
- /** High priority event. */
88
- High: "high",
89
- /** Critical priority event. */
90
- Critical: "critical"
91
- };
92
- var EVENT_STATUS = {
93
- /** Event is pending and has not started processing. */
94
- Pending: "pending",
95
- /** Event is currently being processed. */
96
- Processing: "processing",
97
- /** Event has been completed successfully. */
98
- Completed: "completed",
99
- /** Event processing failed. */
100
- Failed: "failed",
101
- /** Event is being retried after a failure. */
102
- Retrying: "retrying"
103
- };
104
-
105
- // src/web3/enums.ts
106
- var CHAIN_ID = {
107
- /** Ethereum Mainnet (Chain ID: 1). */
108
- EthereumMainnet: 1,
109
- /** Ethereum Sepolia Testnet (Chain ID: 11155111). */
110
- EthereumSepolia: 11155111,
111
- /** Optimism Mainnet (Chain ID: 10). */
112
- Optimism: 10,
113
- /** Optimism Sepolia Testnet (Chain ID: 11155420). */
114
- OptimismSepolia: 11155420,
115
- /** Arbitrum One Mainnet (Chain ID: 42161). */
116
- Arbitrum: 42161,
117
- /** Arbitrum Sepolia Testnet (Chain ID: 421614). */
118
- ArbitrumSepolia: 421614,
119
- /** Polygon Mainnet (Chain ID: 137). */
120
- Polygon: 137,
121
- /** Polygon Amoy Testnet (Chain ID: 80002). */
122
- PolygonAmoy: 80002,
123
- /** Base Mainnet (Chain ID: 8453). */
124
- Base: 8453,
125
- /** Base Sepolia Testnet (Chain ID: 84532). */
126
- BaseSepolia: 84532
127
- };
128
-
129
- export { AUTH_PROVIDER, CHAIN_ID, ERROR_CATEGORY, ERROR_SEVERITY, ERROR_TYPE, EVENT_PRIORITY, EVENT_STATUS, EVENT_TYPE, USER_ROLE, USER_STATUS };
130
2
  //# sourceMappingURL=index.js.map
131
3
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/auth/enums.ts","../src/errors/enums.ts","../src/events/enums.ts","../src/web3/enums.ts"],"names":[],"mappings":";;;AAYO,IAAM,SAAA,GAAY;AAAA;AAAA,EAEvB,OAAA,EAAS,SAAA;AAAA;AAAA,EAGT,KAAA,EAAO,OAAA;AAAA;AAAA,EAGP,KAAA,EAAO,OAAA;AAAA;AAAA,EAGP,IAAA,EAAM,MAAA;AAAA;AAAA,EAGN,GAAA,EAAK,KAAA;AAAA;AAAA,EAGL,KAAA,EAAO,OAAA;AAAA;AAAA,EAGP,UAAA,EAAY;AACd;AAcO,IAAM,WAAA,GAAc;AAAA;AAAA,EAEzB,MAAA,EAAQ,QAAA;AAAA;AAAA,EAGR,QAAA,EAAU,UAAA;AAAA;AAAA,EAGV,OAAA,EAAS,SAAA;AAAA;AAAA,EAGT,SAAA,EAAW,WAAA;AAAA;AAAA,EAGX,MAAA,EAAQ;AACV;AAcO,IAAM,aAAA,GAAgB;AAAA;AAAA,EAE3B,KAAA,EAAO,OAAA;AAAA;AAAA,EAGP,MAAA,EAAQ;AACV;;;AClEO,IAAM,UAAA,GAAa;AAAA;AAAA,EAExB,eAAA,EAAiB,kBAAA;AAAA;AAAA,EAGjB,qBAAA,EAAuB,yBAAA;AAAA;AAAA,EAGvB,aAAA,EAAe,uBAAA;AAAA;AAAA,EAGf,kBAAA,EAAoB,4BAAA;AAAA;AAAA,EAGpB,YAAA,EAAc,gBAAA;AAAA;AAAA,EAGd,iBAAA,EAAmB;AACrB;AAcO,IAAM,cAAA,GAAiB;AAAA;AAAA,EAE5B,GAAA,EAAK,KAAA;AAAA;AAAA,EAGL,MAAA,EAAQ,QAAA;AAAA;AAAA,EAGR,IAAA,EAAM,MAAA;AAAA;AAAA,EAGN,QAAA,EAAU;AACZ;AAcO,IAAM,cAAA,GAAiB;AAAA;AAAA,EAE5B,MAAA,EAAQ,QAAA;AAAA;AAAA,EAGR,MAAA,EAAQ,QAAA;AAAA;AAAA,EAGR,OAAA,EAAS,SAAA;AAAA;AAAA,EAGT,UAAA,EAAY,YAAA;AAAA;AAAA,EAGZ,UAAA,EAAY;AACd;;;AC9EO,IAAM,UAAA,GAAa;AAAA;AAAA,EAExB,OAAA,EAAS;AACX;AAaO,IAAM,cAAA,GAAiB;AAAA;AAAA,EAE5B,GAAA,EAAK,KAAA;AAAA;AAAA,EAEL,MAAA,EAAQ,QAAA;AAAA;AAAA,EAER,IAAA,EAAM,MAAA;AAAA;AAAA,EAEN,QAAA,EAAU;AACZ;AAkBO,IAAM,YAAA,GAAe;AAAA;AAAA,EAE1B,OAAA,EAAS,SAAA;AAAA;AAAA,EAET,UAAA,EAAY,YAAA;AAAA;AAAA,EAEZ,SAAA,EAAW,WAAA;AAAA;AAAA,EAEX,MAAA,EAAQ,QAAA;AAAA;AAAA,EAER,QAAA,EAAU;AACZ;;;ACpDO,IAAM,QAAA,GAAW;AAAA;AAAA,EAEtB,eAAA,EAAiB,CAAA;AAAA;AAAA,EAGjB,eAAA,EAAiB,QAAA;AAAA;AAAA,EAGjB,QAAA,EAAU,EAAA;AAAA;AAAA,EAGV,eAAA,EAAiB,QAAA;AAAA;AAAA,EAGjB,QAAA,EAAU,KAAA;AAAA;AAAA,EAGV,eAAA,EAAiB,MAAA;AAAA;AAAA,EAGjB,OAAA,EAAS,GAAA;AAAA;AAAA,EAGT,WAAA,EAAa,KAAA;AAAA;AAAA,EAGb,IAAA,EAAM,IAAA;AAAA;AAAA,EAGN,WAAA,EAAa;AACf","file":"index.js","sourcesContent":["/**\n * Enum representing the different roles a user can have within the system.\n * @description Roles are used to determine access levels, permissions, and user-specific experiences.\n *\n * @example\n * ```typescript\n * import { USER_ROLE } from '@plyaz/types';\n *\n * const userRole = USER_ROLE.Athlete; // 'athlete'\n * const isAdmin = userRole === USER_ROLE.Admin || userRole === USER_ROLE.SuperAdmin;\n * ```\n */\nexport const USER_ROLE = {\n /** A user who is an athlete and participates in sports activities. */\n Athlete: 'athlete',\n\n /** A user who scouts and discovers talent. */\n Scout: 'scout',\n\n /** A user who acts as an agent representing athletes or clubs. */\n Agent: 'agent',\n\n /** A user representing a sports club or organization. */\n Club: 'club',\n\n /** A fan or supporter of athletes or clubs. */\n Fan: 'fan',\n\n /** A system administrator with access to management tools. */\n Admin: 'admin',\n\n /** A super admin with the highest level of access and control. */\n SuperAdmin: 'super.admin',\n} as const;\n\n/**\n * Enum representing the current status of a user account.\n * @description Statuses are used to determine login availability, visibility, and user flow.\n *\n * @example\n * ```typescript\n * import { USER_STATUS } from '@plyaz/types';\n *\n * const isAccessible = status === USER_STATUS.Active;\n * const needsReview = status === USER_STATUS.Pending;\n * ```\n */\nexport const USER_STATUS = {\n /** Active user with full access. */\n Active: 'active',\n\n /** Inactive user, typically not currently using the platform. */\n Inactive: 'inactive',\n\n /** User account is awaiting approval or completion of setup. */\n Pending: 'pending',\n\n /** User has been temporarily suspended due to policy violations or manual review. */\n Suspended: 'suspended',\n\n /** User has been permanently banned from the platform. */\n Banned: 'banned',\n} as const;\n\n/**\n * Enum representing the supported authentication providers for user login.\n * @description Auth Providers allowed such as Email, Wallet, etc.\n *\n * @example\n * ```typescript\n * import { AUTH_PROVIDER } from '@plyaz/types';\n *\n * const provider = AUTH_PROVIDER.Wallet; // 'wallet'\n * const isWeb3Auth = provider === AUTH_PROVIDER.Wallet;\n * ```\n */\nexport const AUTH_PROVIDER = {\n /** Authentication via email and password. */\n Email: 'email',\n\n /** Authentication via connected blockchain wallet. */\n Wallet: 'wallet',\n} as const;\n","/**\n * Enum representing standardized error types used across the application.\n * @description These error types help classify different categories of errors such as validation issues and system-level failures.\n *\n * @example\n * ```typescript\n * import { ERROR_TYPE } from '@plyaz/types';\n *\n * const errorType = ERROR_TYPE.ValidationError; // 'validation.error'\n *\n * // Error handling example\n * if (error.type === ERROR_TYPE.RateLimitExceeded) {\n * // Handle rate limiting\n * }\n * ```\n */\nexport const ERROR_TYPE = {\n /** A general validation error (e.g., form or input errors). */\n ValidationError: 'validation.error',\n\n /** Error related to schema validation, such as JSON schema or API payload checks. */\n SchemaValidationError: 'validation.schema.error',\n\n /** Unhandled or unexpected system error. */\n InternalError: 'system.internal.error',\n\n /** System dependency is currently unavailable (e.g., database or external API). */\n ServiceUnavailable: 'system.service.unavailable',\n\n /** The request took too long and timed out. */\n TimeoutError: 'system.timeout',\n\n /** Too many requests made in a short period of time. */\n RateLimitExceeded: 'system.rate.limit.exceeded',\n} as const;\n\n/**\n * Enum representing the severity level of an error.\n * @description This allows categorization of errors by their potential impact on the system or user.\n *\n * @example\n * ```typescript\n * import { ERROR_SEVERITY } from '@plyaz/types';\n *\n * const severity = ERROR_SEVERITY.Critical; // 'critical'\n * const shouldAlert = severity === ERROR_SEVERITY.High || severity === ERROR_SEVERITY.Critical;\n * ```\n */\nexport const ERROR_SEVERITY = {\n /** Low severity - does not impact functionality significantly. */\n Low: 'low',\n\n /** Medium severity - minor disruption or warning. */\n Medium: 'medium',\n\n /** High severity - major issue requiring attention. */\n High: 'high',\n\n /** Critical severity - blocking or crashing issue. */\n Critical: 'critical',\n} as const;\n\n/**\n * Enum representing the category or origin of an error.\n * @description Useful for filtering or logging errors based on their source or nature.\n *\n * @example\n * ```typescript\n * import { ERROR_CATEGORY } from '@plyaz/types';\n *\n * const category = ERROR_CATEGORY.Blockchain; // 'blockchain'\n * const isClientError = category === ERROR_CATEGORY.Client;\n * ```\n */\nexport const ERROR_CATEGORY = {\n /** Client-side error (e.g., invalid request). */\n Client: 'client',\n\n /** Server-side error (e.g., logic failure or exception). */\n Server: 'server',\n\n /** Network-related error (e.g., unreachable endpoint). */\n Network: 'network',\n\n /** Blockchain-related error (e.g., transaction failure, gas limit). */\n Blockchain: 'blockchain',\n\n // Validation-specific error (e.g., failed constraints or field errors).\n Validation: 'validation',\n} as const;\n","/**\n * Enum representing the types of events in the application.\n * Uses dot notation for event naming convention.\n *\n * @example\n * ```typescript\n * import { EVENT_TYPE } from '@plyaz/types';\n *\n * const eventType = EVENT_TYPE.AppInit; // 'app.init'\n * ```\n */\nexport const EVENT_TYPE = {\n /** Application initialization event. */\n AppInit: 'app.init',\n} as const;\n\n/**\n * Const representing the priority levels for events.\n * Used to determine processing order and resource allocation.\n *\n * @example\n * ```typescript\n * import { EVENT_PRIORITY } from '@plyaz/types';\n *\n * const priority = EVENT_PRIORITY.High; // 'high'\n * ```\n */\nexport const EVENT_PRIORITY = {\n /** Low priority event. */\n Low: 'low',\n /** Normal priority event. */\n Normal: 'normal',\n /** High priority event. */\n High: 'high',\n /** Critical priority event. */\n Critical: 'critical',\n} as const;\n\n/**\n * Const representing the status of an event.\n * Tracks the lifecycle of event processing from creation to completion.\n *\n * @example\n * ```typescript\n * import { EVENT_STATUS } from '@plyaz/types';\n *\n * const status = EVENT_STATUS.Processing; // 'processing'\n *\n * // Typical event lifecycle:\n * // Pending -> Processing -> Completed\n * // or\n * // Pending -> Processing -> Failed -> Retrying -> Processing -> Completed\n * ```\n */\nexport const EVENT_STATUS = {\n /** Event is pending and has not started processing. */\n Pending: 'pending',\n /** Event is currently being processed. */\n Processing: 'processing',\n /** Event has been completed successfully. */\n Completed: 'completed',\n /** Event processing failed. */\n Failed: 'failed',\n /** Event is being retried after a failure. */\n Retrying: 'retrying',\n} as const;\n","/**\n * Enum representing supported EVM-compatible blockchain networks by their numeric chain IDs.\n * @description These IDs are used to identify the specific network when interacting with wallets or smart contracts.\n * @see https://chainlist.org for reference chain IDs\n *\n * @example\n * ```typescript\n * import { CHAIN_ID } from '@plyaz/types';\n *\n * const chainId = CHAIN_ID.EthereumMainnet; // 1\n * const isTestnet = chainId === CHAIN_ID.EthereumSepolia || chainId === CHAIN_ID.PolygonAmoy;\n * ```\n */\nexport const CHAIN_ID = {\n /** Ethereum Mainnet (Chain ID: 1). */\n EthereumMainnet: 1,\n\n /** Ethereum Sepolia Testnet (Chain ID: 11155111). */\n EthereumSepolia: 11_155_111,\n\n /** Optimism Mainnet (Chain ID: 10). */\n Optimism: 10,\n\n /** Optimism Sepolia Testnet (Chain ID: 11155420). */\n OptimismSepolia: 11_155_420,\n\n /** Arbitrum One Mainnet (Chain ID: 42161). */\n Arbitrum: 42_161,\n\n /** Arbitrum Sepolia Testnet (Chain ID: 421614). */\n ArbitrumSepolia: 421_614,\n\n /** Polygon Mainnet (Chain ID: 137). */\n Polygon: 137,\n\n /** Polygon Amoy Testnet (Chain ID: 80002). */\n PolygonAmoy: 80_002,\n\n /** Base Mainnet (Chain ID: 8453). */\n Base: 8_453,\n\n /** Base Sepolia Testnet (Chain ID: 84532). */\n BaseSepolia: 84_532,\n} as const;\n"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1 +1 @@
1
- export type * from "./types";
1
+ export type * from './types';
@@ -335,3 +335,69 @@ export interface ErrorDeduplicatorOptions {
335
335
  /** Time window in ms for considering errors as duplicates */
336
336
  windowMs?: number;
337
337
  }
338
+ /**
339
+ * Generic event payload type for testing event-driven systems
340
+ * Represents arbitrary data that can be passed with events
341
+ *
342
+ * @example
343
+ * ```typescript
344
+ * const payload: EventPayload = {
345
+ * userId: '123',
346
+ * action: 'login',
347
+ * timestamp: Date.now()
348
+ * };
349
+ * ```
350
+ */
351
+ export interface EventPayload {
352
+ [key: string]: unknown;
353
+ }
354
+ /**
355
+ * Event bus interface for testing event-driven architectures
356
+ * Provides methods for subscribing to, emitting, and managing events
357
+ *
358
+ * @typeParam T - Type of data passed to event handlers
359
+ *
360
+ * @example
361
+ * ```typescript
362
+ * const eventBus: EventBusLike<EventPayload> = {
363
+ * on: (event, handler) => { subscribe(event, handler); },
364
+ * off: (event, handler) => { unsubscribe(event, handler); },
365
+ * emit: (event, ...args) => { emitEvent(event, ...args); }
366
+ * };
367
+ * ```
368
+ */
369
+ export interface EventBusLike<T = unknown> {
370
+ /** Subscribe to an event */
371
+ on: (event: string, handler: (...args: T[]) => void) => void;
372
+ /** Unsubscribe from an event */
373
+ off: (event: string, handler: (...args: T[]) => void) => void;
374
+ /** Emit an event with optional data */
375
+ emit: (event: string, ...args: T[]) => void;
376
+ /** Subscribe to an event for one-time execution */
377
+ once?: (event: string, handler: (...args: T[]) => void) => void;
378
+ /** Get all listeners for an event */
379
+ listeners?: (event: string) => Function[];
380
+ /** Remove all listeners for specific event or all events */
381
+ removeAllListeners?: (event?: string) => void;
382
+ }
383
+ /**
384
+ * Options for event emission assertions in tests
385
+ * Controls how event emissions are validated and waited for
386
+ *
387
+ * @example
388
+ * ```typescript
389
+ * const options: EmissionAssertionOptions = {
390
+ * times: 3,
391
+ * timeout: 5000,
392
+ * partial: true
393
+ * };
394
+ * ```
395
+ */
396
+ export interface EmissionAssertionOptions {
397
+ /** Expected number of times the event should be emitted */
398
+ times?: number;
399
+ /** Timeout in milliseconds to wait for the event */
400
+ timeout?: number;
401
+ /** Whether to match the payload exactly or partially */
402
+ partial?: boolean;
403
+ }
@@ -655,6 +655,8 @@ export interface MockFetch {
655
655
  * ```
656
656
  */
657
657
  export interface MockLocalStorage {
658
+ /** Internal storage object holding key-value pairs */
659
+ store?: Record<string, string>;
658
660
  /** Get item from storage */
659
661
  getItem: Vitest.Mock;
660
662
  /** Set item in storage */
@@ -667,6 +669,71 @@ export interface MockLocalStorage {
667
669
  length: number;
668
670
  /** Get key at index */
669
671
  key: Vitest.Mock;
672
+ /** Function to update the length property dynamically */
673
+ setLength?: (value: number) => void;
674
+ }
675
+ /**
676
+ * Test context for storage mocks
677
+ * Contains both original and mocked storage implementations for testing
678
+ *
679
+ * @example
680
+ * ```typescript
681
+ * const context: StorageTestContext = {
682
+ * originalSessionStorage: window.sessionStorage,
683
+ * originalLocalStorage: window.localStorage,
684
+ * mockSessionStorage: createMockLocalStorage(),
685
+ * mockLocalStorage: createMockLocalStorage()
686
+ * };
687
+ * ```
688
+ */
689
+ export interface StorageTestContext {
690
+ /** Original sessionStorage instance before mocking */
691
+ originalSessionStorage: Storage | undefined;
692
+ /** Original localStorage instance before mocking */
693
+ originalLocalStorage: Storage | undefined;
694
+ /** Mocked sessionStorage instance */
695
+ mockSessionStorage: MockLocalStorage;
696
+ /** Mocked localStorage instance */
697
+ mockLocalStorage: MockLocalStorage;
698
+ }
699
+ /**
700
+ * Mock geolocation interface for testing location-based features
701
+ * Provides a mocked implementation of the browser's Geolocation API
702
+ *
703
+ * @example
704
+ * ```typescript
705
+ * const mockGeolocation: MockGeolocationReturn = {
706
+ * getCurrentPosition: vi.fn().mockImplementation((success) => {
707
+ * success({ coords: { latitude: 40.7128, longitude: -74.0060 } });
708
+ * })
709
+ * };
710
+ * ```
711
+ */
712
+ export interface MockGeolocationReturn {
713
+ /** Mock function for getting current position */
714
+ getCurrentPosition: ReturnType<Vitest.Mock>;
715
+ }
716
+ /**
717
+ * Extended test context for regional detection testing
718
+ * Includes storage mocks plus global objects needed for testing internationalization and geolocation
719
+ *
720
+ * @example
721
+ * ```typescript
722
+ * const context: RegionalTestContext = {
723
+ * ...storageContext,
724
+ * originalNavigator: window.navigator,
725
+ * originalIntl: Intl,
726
+ * originalGeolocation: navigator.geolocation
727
+ * };
728
+ * ```
729
+ */
730
+ export interface RegionalTestContext extends StorageTestContext {
731
+ /** Original Navigator instance before mocking */
732
+ originalNavigator: globalThis.Navigator;
733
+ /** Original Intl object before mocking */
734
+ originalIntl: typeof Intl;
735
+ /** Original Geolocation instance before mocking */
736
+ originalGeolocation: globalThis.Geolocation;
670
737
  }
671
738
  /**
672
739
  * Mock IntersectionObserver instance interface
@@ -53,7 +53,8 @@ import type { RenderOptions as RTLRenderOptions, RenderHookOptions as RTLRenderH
53
53
  import type { UserEvent as UserEventLib } from '@testing-library/user-event';
54
54
  import type { MockEventEmitter, MockNextRouter, MockGetServerSidePropsContext, MockGetStaticPropsContext, MockNextApiResponse, MockNextApiRequest, TestScenario, CreateMockUseRouterReturn, CreateMockWebSocketReturn, CreateMockNextRequestFunction } from '..';
55
55
  import type { UnknownArray, Promisable, Arrayable, SetOptional } from 'type-fest';
56
- import type { KeyValueStore, Identifiable, WithUrl, WithHttpMethod, HttpMethod, WithHeaders, WithIpAddress, WithQueryParams, WithBody, Named, Clearable, Resettable, Describable, WithImpact, WithElement, WithDuration, IntervalControl, WithTimestamp, WithParams, WithTimeout, WithStatus, WithLocale, WithUserId, WithMessage } from '../../../common';
56
+ import type { KeyValueStore, Identifiable, WithUrl, WithHttpMethod, WithHeaders, WithIpAddress, WithQueryParams, WithBody, Named, Clearable, Resettable, Describable, WithImpact, WithElement, WithDuration, IntervalControl, WithTimestamp, WithParams, WithTimeout, WithStatus, WithLocale, WithUserId, WithMessage } from '../../../common';
57
+ import type { HttpMethod } from '../../../api';
57
58
  /**
58
59
  * Subscription information for tracking subscriptions in tests
59
60
  *
@@ -0,0 +1 @@
1
+ export type * from './types';