@absolutejs/absolute 0.19.0-beta.856 → 0.19.0-beta.857

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.
@@ -1,4 +1,5 @@
1
1
  import ts from 'typescript';
2
+ import type { AngularEntityKind } from './resolveOwningComponents';
2
3
  export type FastHmrFallbackReason = 'file-not-found' | 'class-not-found' | 'no-component-decorator' | 'unsupported-decorator-args' | 'not-standalone' | 'inherits-decorated-class' | 'multiple-decorators-on-class' | 'template-parse-error' | 'template-resource-not-found' | 'style-resource-not-found' | 'structural-change' | 'unexpected-error';
3
4
  export type ComponentFingerprint = {
4
5
  className: string;
@@ -29,5 +30,6 @@ export type TryFastHmrParams = {
29
30
  componentFilePath: string;
30
31
  className: string;
31
32
  projectRoot?: string;
33
+ kind?: AngularEntityKind;
32
34
  };
33
35
  export declare const tryFastHmr: (params: TryFastHmrParams) => Promise<FastHmrResult>;
@@ -1,8 +1,11 @@
1
- export type OwningComponent = {
1
+ export type AngularEntityKind = 'component' | 'directive' | 'pipe' | 'service';
2
+ export type AffectedEntity = {
2
3
  componentFilePath: string;
3
4
  className: string;
5
+ kind: AngularEntityKind;
4
6
  };
7
+ export type OwningComponent = AffectedEntity;
5
8
  export declare const resolveOwningComponents: (params: {
6
9
  changedFilePath: string;
7
10
  userAngularRoot: string;
8
- }) => OwningComponent[];
11
+ }) => AffectedEntity[];
package/package.json CHANGED
@@ -384,5 +384,5 @@
384
384
  ]
385
385
  }
386
386
  },
387
- "version": "0.19.0-beta.856"
387
+ "version": "0.19.0-beta.857"
388
388
  }