@piying/view-angular-core 2.1.1 → 2.1.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/index.d.ts +2 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { WritableSignal, Signal, Injector, CreateEffectOptions, EffectRef, CreateSignalOptions, InjectionToken } from '@angular/core';
|
|
2
|
+
import { WritableSignal, Signal, Injector, CreateEffectOptions, EffectRef, CreateSignalOptions, InjectionToken, EnvironmentInjector } from '@angular/core';
|
|
3
3
|
import { UnaryFunction, Observable, BehaviorSubject, OperatorFunction } from 'rxjs';
|
|
4
4
|
import * as v from 'valibot';
|
|
5
5
|
import { BaseSchema, BaseMetadata, ArraySchema, BaseIssue, ErrorMessage, ArrayIssue } from 'valibot';
|
|
@@ -790,6 +790,7 @@ type PiResolvedCommonViewFieldConfig<SelfResolvedFn extends () => any, Define> =
|
|
|
790
790
|
};
|
|
791
791
|
/** 仅用来开发时debug使用 */
|
|
792
792
|
readonly origin: any;
|
|
793
|
+
injector: EnvironmentInjector;
|
|
793
794
|
/** 外部传入引用 */
|
|
794
795
|
readonly context?: any;
|
|
795
796
|
get: (keyPath: KeyPath, aliasNotFoundFn?: (name: string, field: PiResolvedCommonViewFieldConfig<any, any>) => PiResolvedCommonViewFieldConfig<any, any>) => ReturnType<SelfResolvedFn> | undefined;
|