@component-compass/plugin-core 0.1.9 → 0.1.10
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/dist/output-types.d.ts +13 -0
- package/package.json +1 -1
package/dist/output-types.d.ts
CHANGED
|
@@ -181,6 +181,16 @@ export type CompositionRollup = {
|
|
|
181
181
|
export type EventDistribution = {
|
|
182
182
|
boundCount: number;
|
|
183
183
|
};
|
|
184
|
+
/**
|
|
185
|
+
* Entry/wrapper package through which this repo reached the component
|
|
186
|
+
* (#331). Scan-observational provenance — how the repo imported it — not
|
|
187
|
+
* identity. `version` is the entry package's installed version, null when
|
|
188
|
+
* its package.json is unreadable or unversioned.
|
|
189
|
+
*/
|
|
190
|
+
export type EntryPackageRef = {
|
|
191
|
+
package: string;
|
|
192
|
+
version: string | null;
|
|
193
|
+
};
|
|
184
194
|
export type OutputComponent = {
|
|
185
195
|
id: string;
|
|
186
196
|
identity: OutputIdentity;
|
|
@@ -200,6 +210,9 @@ export type OutputComponent = {
|
|
|
200
210
|
/** Source-derived declared prop API. Local components only; absent when the
|
|
201
211
|
* declaration site is unreadable. Orthogonal to `manifest`. */
|
|
202
212
|
declared?: DeclaredPropApi;
|
|
213
|
+
/** Entry/wrapper packages this repo reached the component through (#331).
|
|
214
|
+
* Deduped by {package, version}, sorted. Present only when non-empty. */
|
|
215
|
+
entryPackages?: EntryPackageRef[];
|
|
203
216
|
/** Package version from package.json or CEM. Null for external packages not versioned at scan time. */
|
|
204
217
|
version: string | null;
|
|
205
218
|
/** Git-mtime: first commit of the declaring file. ISO 8601 string, or null for external packages. */
|