@arcgis/lumina-compiler 4.33.0-next.106 → 4.33.0-next.108

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,6 +1,6 @@
1
- import { Package } from 'custom-elements-manifest/schema';
2
1
  import { ModulePath } from '../extractor/helpers/resolveType';
3
2
  import { WebTypes } from '../docs/webTypes/types';
3
+ import { ApiJson } from '@arcgis/api-extractor';
4
4
  export type ResolvedDependencyComponents = {
5
5
  readonly packageName: string;
6
6
  readonly type: "@arcgis/lumina" | "stencil" | "unknown";
@@ -53,7 +53,7 @@ export declare function findPackageComponents(packageName: string, cwd?: string)
53
53
  /**
54
54
  * Given the custom element manifest, find custom elements defined in it
55
55
  */
56
- export declare function manifestToDependencyComponents(manifest: Package, dependency: Omit<ModulePath, "moduleName"> & {
56
+ export declare function manifestToDependencyComponents(manifest: Partial<ApiJson>, dependency: Omit<ModulePath, "moduleName"> & {
57
57
  readonly getImportPath: (tagName: string) => string;
58
58
  }): ResolvedDependencyComponents["components"];
59
59
  export declare const webTypesToDependencyComponents: (webTypes: Partial<WebTypes>, dependency: Omit<ModulePath, "moduleName"> & {
@@ -1,4 +1,3 @@
1
- import { ComponentCompilerTypeReferences } from '@stencil/core/internal';
2
1
  import { CompilerContext } from '../context';
3
2
  import { ApiDocsTag } from '@arcgis/api-extractor';
4
3
  /**
@@ -68,6 +67,11 @@ interface ComponentCompilerMethodComplexType {
68
67
  references: ComponentCompilerTypeReferences;
69
68
  return: string;
70
69
  }
70
+ type ComponentCompilerTypeReferences = Record<string, {
71
+ location: "global" | "import" | "local";
72
+ path?: string;
73
+ id: string;
74
+ }>;
71
75
  interface JsonDocsMethod {
72
76
  name: string;
73
77
  docs: string;