feat(extension-system): introduce configuration resolvers #1857
Annotations
11 errors
|
Run pnpm build:
src/client/handleOutput.ts#L16
'"../requestPipeline/RequestPipeline.js"' has no exported member named 'RequestPipelineBase'. Did you mean 'RequestPipeline'?
|
Run pnpm build:
src/client/handleOutput.ts#L75
Parameter 'e' implicitly has an 'any' type.
|
Run pnpm build:
src/entrypoints/_Preset.ts#L1
'"../types/configurators/output.js"' has no exported member named 'traditionalGraphqlOutput'. Did you mean 'isOutputTraditionalGraphQLOutput'?
|
Run pnpm build:
src/entrypoints/extensions/opentelemetry/runtime.ts#L1
'"../../../extensions/Opentelemetry/Opentelemetry.js"' has no exported member named 'Opentelemetry'. Did you mean 'OpenTelemetry'?
|
Run pnpm build:
src/entrypoints/utilities-for-generated.ts#L12
Module '"../types/context.js"' has no exported member 'ContextTransports'.
|
Run pnpm build:
src/extension/extension.ts#L61
Type '(transportTypeInput: Transport<string, Configurator<object, object, object, InputResolver<Standard_ShallowMerge$Func<object, object, object>>>, StepDefinition<"pack", Slots, any, any>, StepDefinition<"exchange", Slots, any, any>, StepDefinition<"unpack", Slots, any, any>> | Builder<Transport<string, Configurator<object, object, object, InputResolver<Standard_ShallowMerge$Func<object, object, object>>>, StepDefinition<"pack", Slots, any, any>, StepDefinition<"exchange", Slots, any, any>, StepDefinition<"unpack", Slots, any, any>>>) => Builder<Extension<$Name, undefined, undefined, {}, [], undefined>, { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; }>' is not assignable to type 'Builder_TransportMethod<Extension<$Name, undefined, undefined, {}, [], undefined>, { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; }>'.
|
Run pnpm build:
src/extension/extension.ts#L66
Type '<$RequestInterceptor extends RequestPipeline.BaseInterceptor>(requestInterceptor: BaseInterceptor) => Builder<Extension<$Name, undefined, undefined, {}, [], undefined>, { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; }>' is not assignable to type '<$RequestInterceptor extends RequestPipeline.BaseInterceptor>(requestInterceptor: $RequestInterceptor) => Builder<{ propertiesStatic: {}; propertiesComputed: readonly PropertiesComputer<Context, object, { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; }>[]; propertiesComputedTypeFunctions$: []; constructor: ((parameters: ConstructorParameters<Context, object | undefined>) => { requestInterceptor?: BaseInterceptor | undefined; properties?: object | undefined; }) | undefined; name: $Name; configurator: undefined; noExpandResultDataType: undefined; transport: undefined; requestInterceptor: $RequestInterceptor; }, { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; }>'.
|
Run pnpm build:
src/extension/extension.ts#L70
Type '<$Configurator extends Configurator>() => Builder<Extension<$Name, undefined, undefined, {}, [], undefined>, { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; }>' is not assignable to type '<$Configurator extends Configurator>(input: $Configurator | BuilderProviderCallback<$Configurator> | Builder<$Configurator>) => Builder<{ propertiesStatic: {}; propertiesComputed: readonly PropertiesComputer<Context, object, { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; }>[]; propertiesComputedTypeFunctions$: []; constructor: ((parameters: ConstructorParameters<Context, object | undefined>) => { requestInterceptor?: BaseInterceptor | undefined; properties?: object | undefined; }) | undefined; requestInterceptor: BaseInterceptor | undefined; name: $Name; transport: undefined; configurator: $Configurator; }, undefined extends $Configurator ? { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; } : { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; } & { [_ in $Name]: ConfigurationNam
|
Run pnpm build:
src/extension/extension.ts#L73
Type '<$Properties extends object>(properties: $Properties | PropertiesComputer<Context, $Properties, { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; }>) => Builder<Extension<$Name, undefined, undefined, {}, [], undefined>, { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; }>' is not assignable to type '<$Properties extends object>(constructor: $Properties | PropertiesComputer<Context, $Properties, { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; }>) => Builder<{ propertiesComputed: readonly PropertiesComputer<Context, object, { readonly output: ConfigurationNamespace<Configurator<Input, Normalized, { defaults: { errorChannel: "throw"; }; envelope: { enabled: false; errors: { execution: true; other: false; }; }; errors: { execution: "default"; other: "default"; }; }, InputResolver<InputResolver$Func>>>; readonly check: ConfigurationNamespace<Configurator<Input, Required<Input>, { readonly preflight: true; }, InputResolver<Standard_ShallowMerge$Func<Input, Required<Input>, { readonly preflight: true; }>>>>; readonly schema: ConfigurationNamespace<Configurator<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }, InputResolver<Standard_ShallowMerge$Func<Input, { name: string; map: SchemaDrivenDataMap | undefined; }, { readonly name: "default"; readonly map: undefined; }>>>>; }>[]; constructor: ((parameters: ConstructorParameters<Context, object | undefined>) => { requestInterceptor?: BaseInterceptor | undefined; properties?: object | undefined; }) | undefined; requestInterceptor: BaseInterceptor | undefined; name: $Name; configurator: undefined; noExpandResultDataType: undefined; transport: undefined; propertiesStatic: $Properties extends PropertiesComputerTypeFunction
|
Run pnpm build:
src/extension/extension.ts#L81
Type '() => () => WritableObjectDeep<Extension<string, Configurator<object, object, object, InputResolver<Standard_ShallowMerge$Func<object, object, object>>> | undefined, unknown, object, readonly PropertiesComputerTypeFunction[], Transport<string, Configurator<object, object, object, InputResolver<Standard_ShallowMerge$Func<object, object, object>>>, StepDefinition<"pack", Slots, any, any>, StepDefinition<"exchange", Slots, any, any>, StepDefinition<"unpack", Slots, any, any>> | undefined>>' is not assignable to type '() => () => Extension<$Name, undefined, undefined, {}, [], undefined>'.
|
Loading