@magnet-cms/plugin-sentry 1.0.0

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.
@@ -0,0 +1,21 @@
1
+ export { MagnetSentryCron, SENTRY_OPTIONS, SentryClientConfig, SentryPlugin, SentryPluginConfig, SentrySpan, initSentryInstrumentation, withSentrySpan } from '../index.cjs';
2
+ export { SentryCron } from '@sentry/nestjs';
3
+ import '@magnet-cms/common';
4
+
5
+ /**
6
+ * Sentry Plugin NestJS Module
7
+ *
8
+ * Registered automatically when SentryPlugin is added to MagnetModule.forRoot().
9
+ * The plugin system imports this class directly (via the module factory in @Plugin),
10
+ * so ALL providers and controllers MUST be declared in the @Module({}) decorator —
11
+ * not in a static forFeature() method. NestJS reads the @Module({}) metadata
12
+ * directly and does not call any static methods.
13
+ *
14
+ * useFactory for SENTRY_OPTIONS enables lazy resolution — the factory is called
15
+ * during DI resolution (after forRoot() has set SentryPlugin._resolvedConfig),
16
+ * not at class-definition time.
17
+ */
18
+ declare class SentryModule {
19
+ }
20
+
21
+ export { SentryModule };
@@ -0,0 +1,21 @@
1
+ export { MagnetSentryCron, SENTRY_OPTIONS, SentryClientConfig, SentryPlugin, SentryPluginConfig, SentrySpan, initSentryInstrumentation, withSentrySpan } from '../index.js';
2
+ export { SentryCron } from '@sentry/nestjs';
3
+ import '@magnet-cms/common';
4
+
5
+ /**
6
+ * Sentry Plugin NestJS Module
7
+ *
8
+ * Registered automatically when SentryPlugin is added to MagnetModule.forRoot().
9
+ * The plugin system imports this class directly (via the module factory in @Plugin),
10
+ * so ALL providers and controllers MUST be declared in the @Module({}) decorator —
11
+ * not in a static forFeature() method. NestJS reads the @Module({}) metadata
12
+ * directly and does not call any static methods.
13
+ *
14
+ * useFactory for SENTRY_OPTIONS enables lazy resolution — the factory is called
15
+ * during DI resolution (after forRoot() has set SentryPlugin._resolvedConfig),
16
+ * not at class-definition time.
17
+ */
18
+ declare class SentryModule {
19
+ }
20
+
21
+ export { SentryModule };
@@ -0,0 +1,7 @@
1
+ import { init_plugin, init_sentry_module, init_constants } from '../chunk-NDBQHOLK.js';
2
+ export { MagnetSentryCron, SENTRY_OPTIONS, SentryCron, SentryModule, SentryPlugin, SentrySpan, initSentryInstrumentation, withSentrySpan } from '../chunk-NDBQHOLK.js';
3
+
4
+ // src/backend/index.ts
5
+ init_plugin();
6
+ init_sentry_module();
7
+ init_constants();