@platformatic/globals 4.0.0-new-config.2 → 4.0.0-new-config.4
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/lib/index.d.ts +8 -8
- package/lib/index.js +4 -4
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export interface PlatformaticGlobal {
|
|
|
91
91
|
host: string
|
|
92
92
|
port: number
|
|
93
93
|
additionalServerOptions: object
|
|
94
|
-
|
|
94
|
+
tracingConfig: object
|
|
95
95
|
config: object
|
|
96
96
|
runtimeConfig: object
|
|
97
97
|
applicationConfig: object | null
|
|
@@ -157,7 +157,7 @@ export interface PlatformaticGlobal {
|
|
|
157
157
|
sharedContext: SharedContext
|
|
158
158
|
management: Management
|
|
159
159
|
sendHealthSignal (signal: HealthSignal): Promise<void>
|
|
160
|
-
|
|
160
|
+
tracingReady: Promise<void>
|
|
161
161
|
tracerProvider: TracerProvider
|
|
162
162
|
notifyConfig (config: object): void
|
|
163
163
|
}
|
|
@@ -205,9 +205,9 @@ export declare function getPort (options: GlobalGetterOptions): PlatformaticGlob
|
|
|
205
205
|
export declare function getAdditionalServerOptions (options?: RequiredGlobalGetterOptions): PlatformaticGlobal['additionalServerOptions']
|
|
206
206
|
export declare function getAdditionalServerOptions (options: OptionalGlobalGetterOptions): PlatformaticGlobal['additionalServerOptions'] | undefined
|
|
207
207
|
export declare function getAdditionalServerOptions (options: GlobalGetterOptions): PlatformaticGlobal['additionalServerOptions'] | undefined
|
|
208
|
-
export declare function
|
|
209
|
-
export declare function
|
|
210
|
-
export declare function
|
|
208
|
+
export declare function getTracingConfig (options?: RequiredGlobalGetterOptions): PlatformaticGlobal['tracingConfig']
|
|
209
|
+
export declare function getTracingConfig (options: OptionalGlobalGetterOptions): PlatformaticGlobal['tracingConfig'] | undefined
|
|
210
|
+
export declare function getTracingConfig (options: GlobalGetterOptions): PlatformaticGlobal['tracingConfig'] | undefined
|
|
211
211
|
export declare function getConfig (options?: RequiredGlobalGetterOptions): PlatformaticGlobal['config']
|
|
212
212
|
export declare function getConfig (options: OptionalGlobalGetterOptions): PlatformaticGlobal['config'] | undefined
|
|
213
213
|
export declare function getConfig (options: GlobalGetterOptions): PlatformaticGlobal['config'] | undefined
|
|
@@ -319,9 +319,9 @@ export declare function getManagement (options: GlobalGetterOptions): Platformat
|
|
|
319
319
|
export declare function getSendHealthSignal (options?: RequiredGlobalGetterOptions): PlatformaticGlobal['sendHealthSignal']
|
|
320
320
|
export declare function getSendHealthSignal (options: OptionalGlobalGetterOptions): PlatformaticGlobal['sendHealthSignal'] | undefined
|
|
321
321
|
export declare function getSendHealthSignal (options: GlobalGetterOptions): PlatformaticGlobal['sendHealthSignal'] | undefined
|
|
322
|
-
export declare function
|
|
323
|
-
export declare function
|
|
324
|
-
export declare function
|
|
322
|
+
export declare function getTracingReady (options?: RequiredGlobalGetterOptions): PlatformaticGlobal['tracingReady']
|
|
323
|
+
export declare function getTracingReady (options: OptionalGlobalGetterOptions): PlatformaticGlobal['tracingReady'] | undefined
|
|
324
|
+
export declare function getTracingReady (options: GlobalGetterOptions): PlatformaticGlobal['tracingReady'] | undefined
|
|
325
325
|
export declare function getTracerProvider (options?: RequiredGlobalGetterOptions): PlatformaticGlobal['tracerProvider']
|
|
326
326
|
export declare function getTracerProvider (options: OptionalGlobalGetterOptions): PlatformaticGlobal['tracerProvider'] | undefined
|
|
327
327
|
export declare function getTracerProvider (options: GlobalGetterOptions): PlatformaticGlobal['tracerProvider'] | undefined
|
package/lib/index.js
CHANGED
|
@@ -79,8 +79,8 @@ export function getAdditionalServerOptions (options) {
|
|
|
79
79
|
return getField('additionalServerOptions', options)
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
export function
|
|
83
|
-
return getField('
|
|
82
|
+
export function getTracingConfig (options) {
|
|
83
|
+
return getField('tracingConfig', options)
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export function getConfig (options) {
|
|
@@ -247,8 +247,8 @@ export function getSendHealthSignal (options) {
|
|
|
247
247
|
return getField('sendHealthSignal', options)
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
export function
|
|
251
|
-
return getField('
|
|
250
|
+
export function getTracingReady (options) {
|
|
251
|
+
return getField('tracingReady', options)
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
export function getTracerProvider (options) {
|