@plyaz/types 1.46.0 → 1.46.2
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/dist/core/frontend/types.d.ts +3 -0
- package/dist/core/init/index.d.ts +1 -1
- package/dist/core/init/types.d.ts +142 -0
- package/dist/devtools/index.cjs +4 -0
- package/dist/devtools/index.cjs.map +1 -0
- package/dist/devtools/index.d.ts +6 -0
- package/dist/devtools/index.js +3 -0
- package/dist/devtools/index.js.map +1 -0
- package/dist/devtools/types.d.ts +238 -0
- package/dist/index.d.ts +1 -0
- package/package.json +6 -1
|
@@ -12,6 +12,7 @@ import type { CoreBaseDomainServiceConfig } from '../domain';
|
|
|
12
12
|
import type { CoreBaseServiceConfig, CoreBaseMapperInstance, CoreBaseValidatorInstance } from '../domain';
|
|
13
13
|
import type { CoreDomainServiceInstance, CoreObservabilityConfig, CoreServiceEntry } from '../init';
|
|
14
14
|
import type { PackageErrorLike } from '../../errors';
|
|
15
|
+
import type { DevtoolsConfig } from '../../devtools';
|
|
15
16
|
/**
|
|
16
17
|
* Base store interface for frontend services.
|
|
17
18
|
*
|
|
@@ -1102,6 +1103,8 @@ export interface CorePlyazConfig {
|
|
|
1102
1103
|
observability?: CoreObservabilityConfig;
|
|
1103
1104
|
/** Enable verbose logging */
|
|
1104
1105
|
verbose?: boolean;
|
|
1106
|
+
/** DevTools configuration */
|
|
1107
|
+
devtools?: DevtoolsConfig;
|
|
1105
1108
|
}
|
|
1106
1109
|
/**
|
|
1107
1110
|
* Interface for services that can provide feature flags.
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Core Init Types
|
|
3
3
|
* Service registry and initialization type definitions
|
|
4
4
|
*/
|
|
5
|
-
export type { CoreDomainServiceInstance, CoreServiceInitConfig, CoreServiceCreateOptions, CoreInitializableDomainService, CoreServiceEntry, CoreServiceRegistryConfig, CoreExtractServiceConfig, CoreExtractServiceInstance, CoreFeatureFlagInitConfig, CoreErrorHandlerInitConfig, CoreCacheConfig, CoreStorageConfig, CoreNotificationConfig, CoreObservabilityConfig, CoreStreamConfig, CoreInitOptionsBase, CoreServicesResultBase, } from './types';
|
|
5
|
+
export type { CoreDomainServiceInstance, CoreServiceInitConfig, CoreServiceCreateOptions, CoreInitializableDomainService, CoreServiceEntry, CoreServiceRegistryConfig, CoreExtractServiceConfig, CoreExtractServiceInstance, CoreFeatureFlagInitConfig, CoreErrorHandlerInitConfig, CoreCacheConfig, CoreStorageConfig, CoreNotificationConfig, CoreObservabilityConfig, CoreStreamConfig, CoreInitOptionsBase, CoreServicesResultBase, CoreNestJsMiddlewareConfig, CoreNestJsRateLimitConfig, CoreNestJsValidationConfig, CoreNestJsSwaggerConfig, } from './types';
|
|
@@ -787,6 +787,142 @@ export interface CoreStreamConfig {
|
|
|
787
787
|
maxConnections?: number;
|
|
788
788
|
};
|
|
789
789
|
}
|
|
790
|
+
/**
|
|
791
|
+
* Rate limiting configuration for NestJS
|
|
792
|
+
*/
|
|
793
|
+
export interface CoreNestJsRateLimitConfig {
|
|
794
|
+
/** Time window in seconds (default: 60) */
|
|
795
|
+
ttl?: number;
|
|
796
|
+
/** Max requests per window (default: 100) */
|
|
797
|
+
limit?: number;
|
|
798
|
+
/** Skip rate limiting for certain paths */
|
|
799
|
+
skipIf?: (request: unknown) => boolean;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* Validation pipe configuration for NestJS
|
|
803
|
+
*/
|
|
804
|
+
export interface CoreNestJsValidationConfig {
|
|
805
|
+
/** Strip properties not in DTO (default: true) */
|
|
806
|
+
whitelist?: boolean;
|
|
807
|
+
/** Throw on non-whitelisted properties (default: false) */
|
|
808
|
+
forbidNonWhitelisted?: boolean;
|
|
809
|
+
/** Transform payloads to DTO instances (default: true) */
|
|
810
|
+
transform?: boolean;
|
|
811
|
+
/** Disable error messages (default: false) */
|
|
812
|
+
disableErrorMessages?: boolean;
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
* Swagger/OpenAPI configuration for NestJS
|
|
816
|
+
*/
|
|
817
|
+
export interface CoreNestJsSwaggerConfig {
|
|
818
|
+
/** Enable Swagger (default: false in production) */
|
|
819
|
+
enabled?: boolean;
|
|
820
|
+
/** Swagger path (default: '/api/docs') */
|
|
821
|
+
path?: string;
|
|
822
|
+
/** API title */
|
|
823
|
+
title?: string;
|
|
824
|
+
/** API description */
|
|
825
|
+
description?: string;
|
|
826
|
+
/** API version */
|
|
827
|
+
version?: string;
|
|
828
|
+
/** Bearer auth enabled */
|
|
829
|
+
bearerAuth?: boolean;
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* NestJS middleware and configuration options.
|
|
833
|
+
* Applied during app bootstrap via configureNestApp().
|
|
834
|
+
*
|
|
835
|
+
* @example
|
|
836
|
+
* ```typescript
|
|
837
|
+
* await Core.initialize({
|
|
838
|
+
* nestjs: {
|
|
839
|
+
* compression: true,
|
|
840
|
+
* helmet: true,
|
|
841
|
+
* rateLimit: { ttl: 60, limit: 100 },
|
|
842
|
+
* validation: { whitelist: true, transform: true },
|
|
843
|
+
* bodyLimit: '10mb',
|
|
844
|
+
* timeout: 30000,
|
|
845
|
+
* rawBody: true,
|
|
846
|
+
* swagger: { enabled: true, path: '/api/docs' },
|
|
847
|
+
* },
|
|
848
|
+
* });
|
|
849
|
+
* ```
|
|
850
|
+
*/
|
|
851
|
+
export interface CoreNestJsMiddlewareConfig {
|
|
852
|
+
/**
|
|
853
|
+
* Enable response compression (default: true in production).
|
|
854
|
+
* Uses compression middleware for gzip/brotli.
|
|
855
|
+
*/
|
|
856
|
+
compression?: boolean;
|
|
857
|
+
/**
|
|
858
|
+
* Enable Helmet security headers (default: true).
|
|
859
|
+
* Adds XSS protection, content security policy, etc.
|
|
860
|
+
*/
|
|
861
|
+
helmet?: boolean | Record<string, unknown>;
|
|
862
|
+
/**
|
|
863
|
+
* Rate limiting configuration.
|
|
864
|
+
* Set to false to disable, true for defaults, or object for custom config.
|
|
865
|
+
*/
|
|
866
|
+
rateLimit?: boolean | CoreNestJsRateLimitConfig;
|
|
867
|
+
/**
|
|
868
|
+
* Global validation pipe configuration.
|
|
869
|
+
* Enables class-validator for DTO validation.
|
|
870
|
+
*/
|
|
871
|
+
validation?: boolean | CoreNestJsValidationConfig;
|
|
872
|
+
/**
|
|
873
|
+
* Maximum request body size (default: '10mb').
|
|
874
|
+
* Accepts string like '1mb', '10kb', or number in bytes.
|
|
875
|
+
*/
|
|
876
|
+
bodyLimit?: string | number;
|
|
877
|
+
/**
|
|
878
|
+
* Request timeout in milliseconds (default: 30000).
|
|
879
|
+
* Set to 0 to disable timeout.
|
|
880
|
+
*/
|
|
881
|
+
timeout?: number;
|
|
882
|
+
/**
|
|
883
|
+
* Enable raw body parsing for webhooks (default: false).
|
|
884
|
+
* Required for signature verification (Stripe, GitHub, etc.).
|
|
885
|
+
* When enabled, raw body is available on request.rawBody.
|
|
886
|
+
*/
|
|
887
|
+
rawBody?: boolean | {
|
|
888
|
+
paths?: string[];
|
|
889
|
+
};
|
|
890
|
+
/**
|
|
891
|
+
* Swagger/OpenAPI documentation configuration.
|
|
892
|
+
* Set to false to disable, true for defaults, or object for custom config.
|
|
893
|
+
*/
|
|
894
|
+
swagger?: boolean | CoreNestJsSwaggerConfig;
|
|
895
|
+
/**
|
|
896
|
+
* CORS configuration override.
|
|
897
|
+
* By default, uses app-level CORS. Set here to override.
|
|
898
|
+
*/
|
|
899
|
+
cors?: boolean | {
|
|
900
|
+
origin?: string | string[] | boolean;
|
|
901
|
+
credentials?: boolean;
|
|
902
|
+
methods?: string[];
|
|
903
|
+
allowedHeaders?: string[];
|
|
904
|
+
};
|
|
905
|
+
/**
|
|
906
|
+
* Global prefix for all routes (default: 'api').
|
|
907
|
+
* Set to false to disable prefix.
|
|
908
|
+
*/
|
|
909
|
+
globalPrefix?: string | false;
|
|
910
|
+
/**
|
|
911
|
+
* Routes to exclude from global prefix.
|
|
912
|
+
* @example ['health', 'metrics', 'webhooks/*']
|
|
913
|
+
*/
|
|
914
|
+
excludeFromPrefix?: string[];
|
|
915
|
+
/**
|
|
916
|
+
* Enable graceful shutdown handling (default: true).
|
|
917
|
+
* Registers SIGTERM/SIGINT handlers for clean shutdown.
|
|
918
|
+
*/
|
|
919
|
+
gracefulShutdown?: boolean;
|
|
920
|
+
/**
|
|
921
|
+
* Shutdown timeout in milliseconds (default: 10000).
|
|
922
|
+
* Time to wait for graceful shutdown before force exit.
|
|
923
|
+
*/
|
|
924
|
+
shutdownTimeout?: number;
|
|
925
|
+
}
|
|
790
926
|
/**
|
|
791
927
|
* Base core initialization options
|
|
792
928
|
* Extended by @plyaz/core's CoreInitOptions with specific types
|
|
@@ -848,6 +984,12 @@ export interface CoreInitOptionsBase<TDb = unknown, TApi = unknown, TStorage = u
|
|
|
848
984
|
featureFlags?: CoreFeatureFlagInitConfig;
|
|
849
985
|
/** Domain services to auto-initialize */
|
|
850
986
|
services?: CoreServiceEntry[];
|
|
987
|
+
/**
|
|
988
|
+
* NestJS-specific middleware and configuration.
|
|
989
|
+
* Applied during app bootstrap via configureNestApp().
|
|
990
|
+
* Only used when runtime is 'nestjs'.
|
|
991
|
+
*/
|
|
992
|
+
nestjs?: CoreNestJsMiddlewareConfig;
|
|
851
993
|
}
|
|
852
994
|
/**
|
|
853
995
|
* Core services result from initialization
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevTools Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for PlyazDevtools configuration and state.
|
|
5
|
+
* These types are used by @plyaz/core/devtools.
|
|
6
|
+
*
|
|
7
|
+
* @module devtools
|
|
8
|
+
*/
|
|
9
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
10
|
+
import type { CorePlyazConfig } from '../core';
|
|
11
|
+
/**
|
|
12
|
+
* Available devtools tab identifiers
|
|
13
|
+
*/
|
|
14
|
+
export type DevtoolsTab = 'stores' | 'actions' | 'api' | 'streaming' | 'security' | 'compliance' | 'accessibility' | 'services' | 'errors' | 'events' | 'uploads' | 'observability' | 'config' | 'storage' | 'playground' | 'runner' | 'flags' | 'mocking' | 'explorer' | 'ssr' | 'routes' | 'i18n' | 'react' | 'console' | 'shortcuts';
|
|
15
|
+
/**
|
|
16
|
+
* Tab group configuration
|
|
17
|
+
*/
|
|
18
|
+
export interface TabGroupConfig {
|
|
19
|
+
/** Group identifier */
|
|
20
|
+
id: string;
|
|
21
|
+
/** Display name */
|
|
22
|
+
name: string;
|
|
23
|
+
/** Short name for compact displays */
|
|
24
|
+
shortName: string;
|
|
25
|
+
/** Icon (emoji or component) */
|
|
26
|
+
icon: string;
|
|
27
|
+
/** Color theme for the group */
|
|
28
|
+
color: string;
|
|
29
|
+
/** Tabs in this group */
|
|
30
|
+
tabs: DevtoolsTab[];
|
|
31
|
+
/** Description for tooltips */
|
|
32
|
+
description?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Tab plugin definition for custom tabs
|
|
36
|
+
*/
|
|
37
|
+
export interface TabPlugin {
|
|
38
|
+
/** Unique identifier for the tab */
|
|
39
|
+
id: string;
|
|
40
|
+
/** Tab metadata */
|
|
41
|
+
metadata: {
|
|
42
|
+
/** Full display name */
|
|
43
|
+
name: string;
|
|
44
|
+
/** Short name for compact displays */
|
|
45
|
+
shortName: string;
|
|
46
|
+
/** Icon (emoji or component) */
|
|
47
|
+
icon: ReactNode;
|
|
48
|
+
/** Group to place this tab in */
|
|
49
|
+
group?: string;
|
|
50
|
+
/** Keywords for search */
|
|
51
|
+
keywords?: string[];
|
|
52
|
+
/** Description for tooltips/search */
|
|
53
|
+
description?: string;
|
|
54
|
+
};
|
|
55
|
+
/** Tab component */
|
|
56
|
+
component: ComponentType;
|
|
57
|
+
/** Optional lifecycle hooks */
|
|
58
|
+
onMount?: () => void;
|
|
59
|
+
onUnmount?: () => void;
|
|
60
|
+
/** Required adapters for this tab to work */
|
|
61
|
+
requiredAdapters?: string[];
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Keyboard shortcut configuration
|
|
65
|
+
*/
|
|
66
|
+
export interface ShortcutConfig {
|
|
67
|
+
/** Shortcut key combination (e.g., 'Ctrl+K') */
|
|
68
|
+
key: string;
|
|
69
|
+
/** Action identifier */
|
|
70
|
+
action: string;
|
|
71
|
+
/** Description for help */
|
|
72
|
+
description?: string;
|
|
73
|
+
/** Whether this shortcut is enabled */
|
|
74
|
+
enabled?: boolean;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Storage adapter interface for custom storage implementations
|
|
78
|
+
*/
|
|
79
|
+
export interface DevtoolsStorageAdapter {
|
|
80
|
+
get<T>(key: string): Promise<T | null>;
|
|
81
|
+
set<T>(key: string, value: T): Promise<void>;
|
|
82
|
+
delete(key: string): Promise<void>;
|
|
83
|
+
clear(): Promise<void>;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Core adapter configuration for @plyaz/core integration
|
|
87
|
+
*/
|
|
88
|
+
export interface CoreAdapterConfig {
|
|
89
|
+
/** Hook to check if core is ready */
|
|
90
|
+
useReady?: () => boolean;
|
|
91
|
+
/** Hook to get core context */
|
|
92
|
+
useContext?: () => unknown;
|
|
93
|
+
/** Hook to get event manager */
|
|
94
|
+
useEvents?: () => unknown;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Store adapter configuration for @plyaz/store integration
|
|
98
|
+
*/
|
|
99
|
+
export interface StoreAdapterConfig {
|
|
100
|
+
/** Hook to get root store */
|
|
101
|
+
useRootStore?: () => unknown;
|
|
102
|
+
/** Hook to get errors */
|
|
103
|
+
useErrors?: () => unknown[];
|
|
104
|
+
/** Hook to check stream connection */
|
|
105
|
+
useStreamConnected?: () => boolean;
|
|
106
|
+
/** Hook to get stream messages */
|
|
107
|
+
useStreamMessages?: () => unknown[];
|
|
108
|
+
/** Custom store hooks */
|
|
109
|
+
[key: string]: (() => unknown) | undefined;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* App config adapter for accessing application configuration
|
|
113
|
+
*/
|
|
114
|
+
export interface ConfigAdapterConfig {
|
|
115
|
+
/** Get frontend configuration */
|
|
116
|
+
getFrontendConfig?: () => unknown;
|
|
117
|
+
/** Get environment variables */
|
|
118
|
+
getEnv?: () => Record<string, unknown>;
|
|
119
|
+
/** Get feature flags */
|
|
120
|
+
getFeatureFlags?: () => Record<string, boolean>;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Package export configuration for ExplorerTab
|
|
124
|
+
*/
|
|
125
|
+
export interface PackageExport {
|
|
126
|
+
name: string;
|
|
127
|
+
displayName: string;
|
|
128
|
+
color: string;
|
|
129
|
+
exports: Record<string, unknown>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* App-specific configuration passed to devtools
|
|
133
|
+
* This allows devtools to work generically across different Plyaz apps
|
|
134
|
+
*
|
|
135
|
+
* @template TConfig - The frontend config type (defaults to CorePlyazConfig)
|
|
136
|
+
*/
|
|
137
|
+
export interface DevtoolsAppConfig<TConfig = CorePlyazConfig> {
|
|
138
|
+
/** Frontend configuration object (from app's plyaz.frontend.ts) */
|
|
139
|
+
frontendConfig?: TConfig;
|
|
140
|
+
/** Package exports for ExplorerTab */
|
|
141
|
+
packageExports?: PackageExport[];
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Main DevTools configuration interface
|
|
145
|
+
*/
|
|
146
|
+
export interface DevtoolsConfig {
|
|
147
|
+
/** Whether devtools is enabled */
|
|
148
|
+
enabled?: boolean;
|
|
149
|
+
/** Panel position */
|
|
150
|
+
position?: 'bottom' | 'left' | 'right';
|
|
151
|
+
/** Default panel height (in pixels) */
|
|
152
|
+
defaultHeight?: number;
|
|
153
|
+
/** Default panel width (in pixels, for left/right positions) */
|
|
154
|
+
defaultWidth?: number;
|
|
155
|
+
/** Color theme */
|
|
156
|
+
theme?: 'dark' | 'light';
|
|
157
|
+
/** Tab configuration */
|
|
158
|
+
tabs?: {
|
|
159
|
+
/** Which tabs to enable (use ['*'] for all) */
|
|
160
|
+
enabled?: string[];
|
|
161
|
+
/** Which tabs to explicitly disable */
|
|
162
|
+
disabled?: string[];
|
|
163
|
+
/** Custom tab groups configuration */
|
|
164
|
+
groups?: TabGroupConfig[];
|
|
165
|
+
/** Default pinned/favorite tabs */
|
|
166
|
+
favorites?: string[];
|
|
167
|
+
/** Custom tabs to register */
|
|
168
|
+
custom?: TabPlugin[];
|
|
169
|
+
/** Default active tab */
|
|
170
|
+
defaultTab?: DevtoolsTab;
|
|
171
|
+
};
|
|
172
|
+
/** Storage configuration */
|
|
173
|
+
storage?: {
|
|
174
|
+
/** Storage adapter type or custom implementation */
|
|
175
|
+
adapter?: 'indexeddb' | 'memory' | DevtoolsStorageAdapter;
|
|
176
|
+
/** How many days to retain data */
|
|
177
|
+
retentionDays?: number;
|
|
178
|
+
/** Maximum items to store per category */
|
|
179
|
+
maxItems?: number;
|
|
180
|
+
};
|
|
181
|
+
/** Keyboard shortcuts configuration */
|
|
182
|
+
shortcuts?: {
|
|
183
|
+
/** Toggle devtools shortcut */
|
|
184
|
+
toggle?: string;
|
|
185
|
+
/** Open search shortcut */
|
|
186
|
+
search?: string;
|
|
187
|
+
/** Close shortcut */
|
|
188
|
+
close?: string;
|
|
189
|
+
/** Custom shortcuts */
|
|
190
|
+
custom?: ShortcutConfig[];
|
|
191
|
+
};
|
|
192
|
+
/** Adapter configuration for external dependencies */
|
|
193
|
+
adapters?: {
|
|
194
|
+
core?: CoreAdapterConfig;
|
|
195
|
+
store?: StoreAdapterConfig;
|
|
196
|
+
config?: ConfigAdapterConfig;
|
|
197
|
+
};
|
|
198
|
+
/** App-specific configuration (env, frontendConfig, etc.) */
|
|
199
|
+
appConfig?: DevtoolsAppConfig<CorePlyazConfig>;
|
|
200
|
+
/** Security configuration */
|
|
201
|
+
security?: {
|
|
202
|
+
/** Read-only mode (disable mutations) */
|
|
203
|
+
readOnly?: boolean;
|
|
204
|
+
/** Keys to mask in display (e.g., tokens, passwords) */
|
|
205
|
+
sensitiveKeys?: string[];
|
|
206
|
+
};
|
|
207
|
+
/** Event hooks */
|
|
208
|
+
hooks?: {
|
|
209
|
+
onOpen?: () => void;
|
|
210
|
+
onClose?: () => void;
|
|
211
|
+
onTabChange?: (tab: string) => void;
|
|
212
|
+
onError?: (error: Error) => void;
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Date range filter for data queries
|
|
217
|
+
*/
|
|
218
|
+
export interface DateRange {
|
|
219
|
+
start: number;
|
|
220
|
+
end: number;
|
|
221
|
+
label: string;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Devtools settings persisted to storage
|
|
225
|
+
*/
|
|
226
|
+
export interface DevtoolsSettings {
|
|
227
|
+
isOpen: boolean;
|
|
228
|
+
activeTab: DevtoolsTab;
|
|
229
|
+
position: 'bottom' | 'left' | 'right';
|
|
230
|
+
height: number;
|
|
231
|
+
width: number;
|
|
232
|
+
theme: 'dark' | 'light';
|
|
233
|
+
maxMessages: number;
|
|
234
|
+
hideHeartbeats: boolean;
|
|
235
|
+
pinnedTabs: DevtoolsTab[];
|
|
236
|
+
recentTabs: DevtoolsTab[];
|
|
237
|
+
collapsedGroups: Record<string, boolean>;
|
|
238
|
+
}
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plyaz/types",
|
|
3
|
-
"version": "1.46.
|
|
3
|
+
"version": "1.46.2",
|
|
4
4
|
"author": "Redeemer Pace",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"description": "Provides shared TypeScript types and schema utilities for validation and parsing in the @playz ecosystem.",
|
|
@@ -205,6 +205,11 @@
|
|
|
205
205
|
"import": "./dist/db/index.js",
|
|
206
206
|
"require": "./dist/db/index.cjs"
|
|
207
207
|
},
|
|
208
|
+
"./devtools": {
|
|
209
|
+
"types": "./dist/devtools/index.d.ts",
|
|
210
|
+
"import": "./dist/devtools/index.js",
|
|
211
|
+
"require": "./dist/devtools/index.cjs"
|
|
212
|
+
},
|
|
208
213
|
"./user": {
|
|
209
214
|
"types": "./dist/user/index.d.ts",
|
|
210
215
|
"import": "./dist/user/index.js",
|