Skip to content

Commit

Permalink
ts 4.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc committed Jun 26, 2023
1 parent a7bddb1 commit b4a2f4b
Show file tree
Hide file tree
Showing 136 changed files with 308 additions and 290 deletions.
2 changes: 1 addition & 1 deletion api/build/esm/baggage/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface BaggageEntry {
* Serializable Metadata defined by the W3C baggage specification.
* It currently has no special meaning defined by the OpenTelemetry or W3C.
*/
export declare type BaggageEntryMetadata = {
export type BaggageEntryMetadata = {
toString(): string;
} & {
__TYPE__: typeof baggageEntryMetadataSymbol;
Expand Down
2 changes: 1 addition & 1 deletion api/build/esm/common/Attributes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export interface Attributes {
*
* null or undefined attribute values are invalid and will result in undefined behavior.
*/
export declare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
export type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
//# sourceMappingURL=Attributes.d.ts.map
2 changes: 1 addition & 1 deletion api/build/esm/common/Exception.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ interface ExceptionWithName {
*
* string or an object with one of (message or name or code) and optional stack
*/
export declare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;
export type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;
export {};
//# sourceMappingURL=Exception.d.ts.map
4 changes: 2 additions & 2 deletions api/build/esm/common/Time.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
* HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.
* This is represented in HrTime format as [1609504210, 150000000].
*/
export declare type HrTime = [number, number];
export type HrTime = [number, number];
/**
* Defines TimeInput.
*
* hrtime, epoch milliseconds, performance.now() or Date
*/
export declare type TimeInput = HrTime | number | Date;
export type TimeInput = HrTime | number | Date;
//# sourceMappingURL=Time.d.ts.map
2 changes: 1 addition & 1 deletion api/build/esm/diag/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export declare type DiagLogFunction = (message: string, ...args: unknown[]) => void;
export type DiagLogFunction = (message: string, ...args: unknown[]) => void;
/**
* Defines an internal diagnostic logger interface which is used to log internal diagnostic
* messages, you can set the default diagnostic logger via the {@link DiagAPI} setLogger function.
Expand Down
2 changes: 1 addition & 1 deletion api/build/esm/internal/global-utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { TracerProvider } from '../trace/tracer_provider';
export declare function registerGlobal<Type extends keyof OTelGlobalAPI>(type: Type, instance: OTelGlobalAPI[Type], diag: DiagLogger, allowOverride?: boolean): boolean;
export declare function getGlobal<Type extends keyof OTelGlobalAPI>(type: Type): OTelGlobalAPI[Type] | undefined;
export declare function unregisterGlobal(type: keyof OTelGlobalAPI, diag: DiagLogger): void;
declare type OTelGlobalAPI = {
type OTelGlobalAPI = {
version: string;
diag?: DiagLogger;
trace?: TracerProvider;
Expand Down
14 changes: 7 additions & 7 deletions api/build/esm/metrics/Metric.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,19 @@ export interface Histogram<AttributesTypes extends MetricAttributes = MetricAttr
/**
* @deprecated please use {@link Attributes}
*/
export declare type MetricAttributes = Attributes;
export type MetricAttributes = Attributes;
/**
* @deprecated please use {@link AttributeValue}
*/
export declare type MetricAttributeValue = AttributeValue;
export type MetricAttributeValue = AttributeValue;
/**
* The observable callback for Observable instruments.
*/
export declare type ObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: ObservableResult<AttributesTypes>) => void | Promise<void>;
export type ObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: ObservableResult<AttributesTypes>) => void | Promise<void>;
/**
* The observable callback for a batch of Observable instruments.
*/
export declare type BatchObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: BatchObservableResult<AttributesTypes>) => void | Promise<void>;
export type BatchObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: BatchObservableResult<AttributesTypes>) => void | Promise<void>;
export interface Observable<AttributesTypes extends MetricAttributes = MetricAttributes> {
/**
* Sets up a function that will be called whenever a metric collection is initiated.
Expand All @@ -87,7 +87,7 @@ export interface Observable<AttributesTypes extends MetricAttributes = MetricAtt
*/
removeCallback(callback: ObservableCallback<AttributesTypes>): void;
}
export declare type ObservableCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export declare type ObservableUpDownCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export declare type ObservableGauge<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export type ObservableCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export type ObservableUpDownCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export type ObservableGauge<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
//# sourceMappingURL=Metric.d.ts.map
4 changes: 2 additions & 2 deletions api/build/esm/trace/attributes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { Attributes, AttributeValue } from '../common/Attributes';
/**
* @deprecated please use {@link Attributes}
*/
export declare type SpanAttributes = Attributes;
export type SpanAttributes = Attributes;
/**
* @deprecated please use {@link AttributeValue}
*/
export declare type SpanAttributeValue = AttributeValue;
export type SpanAttributeValue = AttributeValue;
//# sourceMappingURL=attributes.d.ts.map
2 changes: 1 addition & 1 deletion api/build/esnext/baggage/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface BaggageEntry {
* Serializable Metadata defined by the W3C baggage specification.
* It currently has no special meaning defined by the OpenTelemetry or W3C.
*/
export declare type BaggageEntryMetadata = {
export type BaggageEntryMetadata = {
toString(): string;
} & {
__TYPE__: typeof baggageEntryMetadataSymbol;
Expand Down
2 changes: 1 addition & 1 deletion api/build/esnext/common/Attributes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export interface Attributes {
*
* null or undefined attribute values are invalid and will result in undefined behavior.
*/
export declare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
export type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
//# sourceMappingURL=Attributes.d.ts.map
2 changes: 1 addition & 1 deletion api/build/esnext/common/Exception.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ interface ExceptionWithName {
*
* string or an object with one of (message or name or code) and optional stack
*/
export declare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;
export type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;
export {};
//# sourceMappingURL=Exception.d.ts.map
4 changes: 2 additions & 2 deletions api/build/esnext/common/Time.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
* HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.
* This is represented in HrTime format as [1609504210, 150000000].
*/
export declare type HrTime = [number, number];
export type HrTime = [number, number];
/**
* Defines TimeInput.
*
* hrtime, epoch milliseconds, performance.now() or Date
*/
export declare type TimeInput = HrTime | number | Date;
export type TimeInput = HrTime | number | Date;
//# sourceMappingURL=Time.d.ts.map
2 changes: 1 addition & 1 deletion api/build/esnext/diag/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export declare type DiagLogFunction = (message: string, ...args: unknown[]) => void;
export type DiagLogFunction = (message: string, ...args: unknown[]) => void;
/**
* Defines an internal diagnostic logger interface which is used to log internal diagnostic
* messages, you can set the default diagnostic logger via the {@link DiagAPI} setLogger function.
Expand Down
2 changes: 1 addition & 1 deletion api/build/esnext/internal/global-utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { TracerProvider } from '../trace/tracer_provider';
export declare function registerGlobal<Type extends keyof OTelGlobalAPI>(type: Type, instance: OTelGlobalAPI[Type], diag: DiagLogger, allowOverride?: boolean): boolean;
export declare function getGlobal<Type extends keyof OTelGlobalAPI>(type: Type): OTelGlobalAPI[Type] | undefined;
export declare function unregisterGlobal(type: keyof OTelGlobalAPI, diag: DiagLogger): void;
declare type OTelGlobalAPI = {
type OTelGlobalAPI = {
version: string;
diag?: DiagLogger;
trace?: TracerProvider;
Expand Down
14 changes: 7 additions & 7 deletions api/build/esnext/metrics/Metric.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,19 @@ export interface Histogram<AttributesTypes extends MetricAttributes = MetricAttr
/**
* @deprecated please use {@link Attributes}
*/
export declare type MetricAttributes = Attributes;
export type MetricAttributes = Attributes;
/**
* @deprecated please use {@link AttributeValue}
*/
export declare type MetricAttributeValue = AttributeValue;
export type MetricAttributeValue = AttributeValue;
/**
* The observable callback for Observable instruments.
*/
export declare type ObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: ObservableResult<AttributesTypes>) => void | Promise<void>;
export type ObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: ObservableResult<AttributesTypes>) => void | Promise<void>;
/**
* The observable callback for a batch of Observable instruments.
*/
export declare type BatchObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: BatchObservableResult<AttributesTypes>) => void | Promise<void>;
export type BatchObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: BatchObservableResult<AttributesTypes>) => void | Promise<void>;
export interface Observable<AttributesTypes extends MetricAttributes = MetricAttributes> {
/**
* Sets up a function that will be called whenever a metric collection is initiated.
Expand All @@ -87,7 +87,7 @@ export interface Observable<AttributesTypes extends MetricAttributes = MetricAtt
*/
removeCallback(callback: ObservableCallback<AttributesTypes>): void;
}
export declare type ObservableCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export declare type ObservableUpDownCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export declare type ObservableGauge<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export type ObservableCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export type ObservableUpDownCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export type ObservableGauge<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
//# sourceMappingURL=Metric.d.ts.map
4 changes: 2 additions & 2 deletions api/build/esnext/trace/attributes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { Attributes, AttributeValue } from '../common/Attributes';
/**
* @deprecated please use {@link Attributes}
*/
export declare type SpanAttributes = Attributes;
export type SpanAttributes = Attributes;
/**
* @deprecated please use {@link AttributeValue}
*/
export declare type SpanAttributeValue = AttributeValue;
export type SpanAttributeValue = AttributeValue;
//# sourceMappingURL=attributes.d.ts.map
2 changes: 1 addition & 1 deletion api/build/src/baggage/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface BaggageEntry {
* Serializable Metadata defined by the W3C baggage specification.
* It currently has no special meaning defined by the OpenTelemetry or W3C.
*/
export declare type BaggageEntryMetadata = {
export type BaggageEntryMetadata = {
toString(): string;
} & {
__TYPE__: typeof baggageEntryMetadataSymbol;
Expand Down
2 changes: 1 addition & 1 deletion api/build/src/common/Attributes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export interface Attributes {
*
* null or undefined attribute values are invalid and will result in undefined behavior.
*/
export declare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
export type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
//# sourceMappingURL=Attributes.d.ts.map
2 changes: 1 addition & 1 deletion api/build/src/common/Exception.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ interface ExceptionWithName {
*
* string or an object with one of (message or name or code) and optional stack
*/
export declare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;
export type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;
export {};
//# sourceMappingURL=Exception.d.ts.map
4 changes: 2 additions & 2 deletions api/build/src/common/Time.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
* HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.
* This is represented in HrTime format as [1609504210, 150000000].
*/
export declare type HrTime = [number, number];
export type HrTime = [number, number];
/**
* Defines TimeInput.
*
* hrtime, epoch milliseconds, performance.now() or Date
*/
export declare type TimeInput = HrTime | number | Date;
export type TimeInput = HrTime | number | Date;
//# sourceMappingURL=Time.d.ts.map
2 changes: 1 addition & 1 deletion api/build/src/diag/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export declare type DiagLogFunction = (message: string, ...args: unknown[]) => void;
export type DiagLogFunction = (message: string, ...args: unknown[]) => void;
/**
* Defines an internal diagnostic logger interface which is used to log internal diagnostic
* messages, you can set the default diagnostic logger via the {@link DiagAPI} setLogger function.
Expand Down
2 changes: 1 addition & 1 deletion api/build/src/internal/global-utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { TracerProvider } from '../trace/tracer_provider';
export declare function registerGlobal<Type extends keyof OTelGlobalAPI>(type: Type, instance: OTelGlobalAPI[Type], diag: DiagLogger, allowOverride?: boolean): boolean;
export declare function getGlobal<Type extends keyof OTelGlobalAPI>(type: Type): OTelGlobalAPI[Type] | undefined;
export declare function unregisterGlobal(type: keyof OTelGlobalAPI, diag: DiagLogger): void;
declare type OTelGlobalAPI = {
type OTelGlobalAPI = {
version: string;
diag?: DiagLogger;
trace?: TracerProvider;
Expand Down
14 changes: 7 additions & 7 deletions api/build/src/metrics/Metric.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,19 @@ export interface Histogram<AttributesTypes extends MetricAttributes = MetricAttr
/**
* @deprecated please use {@link Attributes}
*/
export declare type MetricAttributes = Attributes;
export type MetricAttributes = Attributes;
/**
* @deprecated please use {@link AttributeValue}
*/
export declare type MetricAttributeValue = AttributeValue;
export type MetricAttributeValue = AttributeValue;
/**
* The observable callback for Observable instruments.
*/
export declare type ObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: ObservableResult<AttributesTypes>) => void | Promise<void>;
export type ObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: ObservableResult<AttributesTypes>) => void | Promise<void>;
/**
* The observable callback for a batch of Observable instruments.
*/
export declare type BatchObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: BatchObservableResult<AttributesTypes>) => void | Promise<void>;
export type BatchObservableCallback<AttributesTypes extends MetricAttributes = MetricAttributes> = (observableResult: BatchObservableResult<AttributesTypes>) => void | Promise<void>;
export interface Observable<AttributesTypes extends MetricAttributes = MetricAttributes> {
/**
* Sets up a function that will be called whenever a metric collection is initiated.
Expand All @@ -87,7 +87,7 @@ export interface Observable<AttributesTypes extends MetricAttributes = MetricAtt
*/
removeCallback(callback: ObservableCallback<AttributesTypes>): void;
}
export declare type ObservableCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export declare type ObservableUpDownCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export declare type ObservableGauge<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export type ObservableCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export type ObservableUpDownCounter<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
export type ObservableGauge<AttributesTypes extends MetricAttributes = MetricAttributes> = Observable<AttributesTypes>;
//# sourceMappingURL=Metric.d.ts.map
4 changes: 2 additions & 2 deletions api/build/src/trace/attributes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { Attributes, AttributeValue } from '../common/Attributes';
/**
* @deprecated please use {@link Attributes}
*/
export declare type SpanAttributes = Attributes;
export type SpanAttributes = Attributes;
/**
* @deprecated please use {@link AttributeValue}
*/
export declare type SpanAttributeValue = AttributeValue;
export type SpanAttributeValue = AttributeValue;
//# sourceMappingURL=attributes.d.ts.map
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { EventEmitterProvider } from '../types/EventEmitterProvider';
export declare const GLOBAL_EVENTS_API_KEY: unique symbol;
declare type Get<T> = (version: number) => T;
type Get<T> = (version: number) => T;
export declare const _global: Partial<{
[GLOBAL_EVENTS_API_KEY]: Get<EventEmitterProvider>;
}>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { EventEmitterProvider } from '../types/EventEmitterProvider';
export declare const GLOBAL_EVENTS_API_KEY: unique symbol;
declare type Get<T> = (version: number) => T;
type Get<T> = (version: number) => T;
export declare const _global: Partial<{
[GLOBAL_EVENTS_API_KEY]: Get<EventEmitterProvider>;
}>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { EventEmitterProvider } from '../types/EventEmitterProvider';
export declare const GLOBAL_EVENTS_API_KEY: unique symbol;
declare type Get<T> = (version: number) => T;
type Get<T> = (version: number) => T;
export declare const _global: Partial<{
[GLOBAL_EVENTS_API_KEY]: Get<EventEmitterProvider>;
}>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { LoggerProvider } from '../types/LoggerProvider';
export declare const GLOBAL_LOGS_API_KEY: unique symbol;
declare type Get<T> = (version: number) => T;
type Get<T> = (version: number) => T;
export declare const _global: Partial<{
[GLOBAL_LOGS_API_KEY]: Get<LoggerProvider>;
}>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AttributeValue, Context } from '@opentelemetry/api';
export declare type LogAttributeValue = AttributeValue | LogAttributes;
export type LogAttributeValue = AttributeValue | LogAttributes;
export interface LogAttributes {
[attributeKey: string]: LogAttributeValue | undefined;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { LoggerProvider } from '../types/LoggerProvider';
export declare const GLOBAL_LOGS_API_KEY: unique symbol;
declare type Get<T> = (version: number) => T;
type Get<T> = (version: number) => T;
export declare const _global: Partial<{
[GLOBAL_LOGS_API_KEY]: Get<LoggerProvider>;
}>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AttributeValue, Context } from '@opentelemetry/api';
export declare type LogAttributeValue = AttributeValue | LogAttributes;
export type LogAttributeValue = AttributeValue | LogAttributes;
export interface LogAttributes {
[attributeKey: string]: LogAttributeValue | undefined;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { LoggerProvider } from '../types/LoggerProvider';
export declare const GLOBAL_LOGS_API_KEY: unique symbol;
declare type Get<T> = (version: number) => T;
type Get<T> = (version: number) => T;
export declare const _global: Partial<{
[GLOBAL_LOGS_API_KEY]: Get<LoggerProvider>;
}>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AttributeValue, Context } from '@opentelemetry/api';
export declare type LogAttributeValue = AttributeValue | LogAttributes;
export type LogAttributeValue = AttributeValue | LogAttributes;
export interface LogAttributes {
[attributeKey: string]: LogAttributeValue | undefined;
}
Expand Down
Loading

0 comments on commit b4a2f4b

Please sign in to comment.