@component-compass/plugin-core 0.0.3 → 0.0.4
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/diagnostic.d.ts +0 -18
- package/dist/diagnostic.js +6 -14
- package/dist/diagnostic.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/output-types.d.ts +53 -2
- package/dist/scan-types.d.ts +40 -13
- package/dist/scan-types.js.map +1 -1
- package/dist/schema.js +0 -1
- package/dist/schema.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/diagnostic.d.ts
CHANGED
|
@@ -28,18 +28,6 @@ export type Diagnostic = {
|
|
|
28
28
|
filePath: string;
|
|
29
29
|
tagName: string;
|
|
30
30
|
conflictsWith: string;
|
|
31
|
-
} | {
|
|
32
|
-
code: "barrel-unsupported-form";
|
|
33
|
-
severity: "info";
|
|
34
|
-
filePath: string;
|
|
35
|
-
form: string;
|
|
36
|
-
line?: number;
|
|
37
|
-
packageName?: string;
|
|
38
|
-
} | {
|
|
39
|
-
code: "untraceable-barrel";
|
|
40
|
-
severity: "info";
|
|
41
|
-
packageName: string;
|
|
42
|
-
resolvedFile: string;
|
|
43
31
|
} | {
|
|
44
32
|
code: "cycle-detected";
|
|
45
33
|
severity: "warning";
|
|
@@ -53,12 +41,6 @@ export type Diagnostic = {
|
|
|
53
41
|
exportName: string;
|
|
54
42
|
depth: number;
|
|
55
43
|
packageName?: string;
|
|
56
|
-
} | {
|
|
57
|
-
code: "no-deps-match-scopes";
|
|
58
|
-
severity: "info";
|
|
59
|
-
packageScopes: readonly string[];
|
|
60
|
-
packageManager: "yarn" | "npm" | "pnpm" | "unknown";
|
|
61
|
-
workspacePackageCount: number;
|
|
62
44
|
};
|
|
63
45
|
export interface DiagnosticCollector {
|
|
64
46
|
emit(d: Diagnostic): void;
|
package/dist/diagnostic.js
CHANGED
|
@@ -16,14 +16,12 @@ function assertUnreachable(x) {
|
|
|
16
16
|
* (e.g. file + line, or package + resolvedFile) — not the severity or
|
|
17
17
|
* descriptive `detail`/`form` fields.
|
|
18
18
|
*
|
|
19
|
-
* Note on `packageName` omission: for `
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* `untraceable-barrel`, `packageName` IS included — it's the barrel's own
|
|
26
|
-
* package name there, part of the observation identity.
|
|
19
|
+
* Note on `packageName` omission: for `cycle-detected` and `chain-too-deep`,
|
|
20
|
+
* the diagnostic describes a property of the barrel/re-export (file,
|
|
21
|
+
* exportName), not the consumer package that triggered resolution. Including
|
|
22
|
+
* `packageName` (which is the consumer's package) would un-dedup based on
|
|
23
|
+
* consumer attribution and re-introduce the noise pattern this collector
|
|
24
|
+
* exists to suppress (GH issue #12).
|
|
27
25
|
*/
|
|
28
26
|
function dedupKey(d) {
|
|
29
27
|
switch (d.code) {
|
|
@@ -33,16 +31,10 @@ function dedupKey(d) {
|
|
|
33
31
|
return `${d.code}::${d.filePath}::${d.line ?? ""}::${d.column ?? ""}::${d.tagName}`;
|
|
34
32
|
case "local-index-duplicate-tag":
|
|
35
33
|
return `${d.code}::${d.filePath}::${d.tagName}`;
|
|
36
|
-
case "barrel-unsupported-form":
|
|
37
|
-
return `${d.code}::${d.filePath}::${d.line ?? ""}::${d.form}`;
|
|
38
|
-
case "untraceable-barrel":
|
|
39
|
-
return `${d.code}::${d.packageName}::${d.resolvedFile}`;
|
|
40
34
|
case "cycle-detected":
|
|
41
35
|
return `${d.code}::${d.filePath}::${d.exportName}`;
|
|
42
36
|
case "chain-too-deep":
|
|
43
37
|
return `${d.code}::${d.filePath}::${d.exportName}`;
|
|
44
|
-
case "no-deps-match-scopes":
|
|
45
|
-
return `${d.code}::${d.packageScopes.join(",")}::${d.packageManager}`;
|
|
46
38
|
default:
|
|
47
39
|
return assertUnreachable(d);
|
|
48
40
|
}
|
package/dist/diagnostic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnostic.js","sourceRoot":"","sources":["../src/diagnostic.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"diagnostic.js","sourceRoot":"","sources":["../src/diagnostic.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAqDH,SAAS,iBAAiB,CAAC,CAAQ;IACjC,MAAM,IAAI,KAAK,CAAC,8BAA+B,CAAsB,CAAC,IAAI,EAAE,CAAC,CAAC;AAChF,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,SAAS,QAAQ,CAAC,CAAa;IAC7B,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC;QACf,KAAK,uBAAuB;YAC1B,OAAO,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,IAAI,IAAI,EAAE,KAAK,CAAC,CAAC,MAAM,IAAI,EAAE,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC;QACvF,KAAK,wBAAwB;YAC3B,OAAO,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,IAAI,IAAI,EAAE,KAAK,CAAC,CAAC,MAAM,IAAI,EAAE,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC;QACtF,KAAK,2BAA2B;YAC9B,OAAO,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC;QAClD,KAAK,gBAAgB;YACnB,OAAO,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC;QACrD,KAAK,gBAAgB;YACnB,OAAO,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC;QACrD;YACE,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAID,MAAM,UAAU,yBAAyB;IACvC,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,MAAM,OAAO,GAAiB,EAAE,CAAC;IACjC,OAAO;QACL,IAAI,CAAC,CAAC;YACJ,MAAM,GAAG,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;YACxB,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;gBAAE,OAAO;YAC1B,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACd,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;QACD,KAAK;YACH,MAAM,GAAG,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;YAC5B,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,EAAE,CAAC;YACb,OAAO,GAAG,CAAC;QACb,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { validateManifest } from "./validate.js";
|
|
|
4
4
|
export type { ValidationResult } from "./validate.js";
|
|
5
5
|
export { manifestJsonSchema } from "./schema.js";
|
|
6
6
|
export { ManifestBuilder } from "./builder.js";
|
|
7
|
-
export type { TagName, WrapperId, ImportRole, ImportEntry, IndexedComponent, Loc, WarningCode, Warning, ScanConfig, PropUsage, OccurrenceVia, Occurrence, WrapperDef, FileImport, ParseResult, ParseContext, ParserPlugin,
|
|
7
|
+
export type { TagName, WrapperId, ImportRole, ImportEntry, IndexedComponent, Loc, WarningCode, Warning, ScanConfig, PropUsage, OccurrenceVia, Occurrence, WrapperDef, FileImport, ParseResult, ParseContext, ParserPlugin, ScanOutput, ManifestRef, ScanStats, DetectorId, LocalDefinition, LocalDefinitionIndex, ResolveLazyManifest, LookupByTag, LazyResolverHit, CemIndex, CemIndexEntry, } from "./scan-types.js";
|
|
8
8
|
export { asTagName, asWrapperId, emptyLocalIndex } from "./scan-types.js";
|
|
9
9
|
export type { Enrichment, AuthoredLeafPayload, DerivedLeafPayload } from "./enrichment.js";
|
|
10
10
|
export { computeOccurrenceId } from "./occurrence-id.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC3G,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC3G,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAe/C,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAI1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAGzD,cAAc,mBAAmB,CAAC;AAGlC,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC"}
|
package/dist/output-types.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { OccurrenceVia } from "./via-types.js";
|
|
7
7
|
import type { Lifecycle } from "./types.js";
|
|
8
|
-
export type ComponentScope = "
|
|
8
|
+
export type ComponentScope = "external" | "local";
|
|
9
9
|
export type ComponentKindOutput = "custom-element" | "react-component" | "vue-component";
|
|
10
10
|
export type OutputIdentity = {
|
|
11
11
|
scope: ComponentScope;
|
|
@@ -16,6 +16,15 @@ export type OutputIdentity = {
|
|
|
16
16
|
* one. Absent for root-level local files (non-workspace single-package repos).
|
|
17
17
|
*/
|
|
18
18
|
packageName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* For resolver-driven external identities: the file Node's import resolution
|
|
21
|
+
* (and any further chain walking) landed on, relative to the leaf package
|
|
22
|
+
* root, POSIX-normalised. Disambiguates distinct components reached via
|
|
23
|
+
* different subpaths of the same package. Absent for byTag-driven external
|
|
24
|
+
* identities (which disambiguate via `tagName` alone) and for local identities
|
|
25
|
+
* (which use `filePath` instead).
|
|
26
|
+
*/
|
|
27
|
+
modulePath?: string;
|
|
19
28
|
/** For react-component / vue-component. */
|
|
20
29
|
exportName?: string;
|
|
21
30
|
/** For custom-element. */
|
|
@@ -106,7 +115,6 @@ export type CompositionRollup = {
|
|
|
106
115
|
export type OutputComponent = {
|
|
107
116
|
id: string;
|
|
108
117
|
identity: OutputIdentity;
|
|
109
|
-
derivedTags: string[];
|
|
110
118
|
manifest: {
|
|
111
119
|
source: "authored";
|
|
112
120
|
data: AuthoredManifestData;
|
|
@@ -121,6 +129,14 @@ export type OutputComponent = {
|
|
|
121
129
|
props: Record<string, PropDistribution>;
|
|
122
130
|
/** Per-component composition rollup (owner-edge driven). Always emitted. */
|
|
123
131
|
composition?: CompositionRollup;
|
|
132
|
+
/** Package version from package.json or CEM. Null for external packages not versioned at scan time. */
|
|
133
|
+
version: string | null;
|
|
134
|
+
/** Deprecation flag from CEM @deprecated declaration. False if the component's CEM declaration does not carry `@deprecated`; CEM declarations on external packages flow through to this field. */
|
|
135
|
+
deprecated: boolean;
|
|
136
|
+
/** Git-mtime: first commit of the declaring file. ISO 8601 string, or null for external packages. */
|
|
137
|
+
createdAt: string | null;
|
|
138
|
+
/** Git-mtime: last commit of the declaring file. ISO 8601 string, or null for external packages. */
|
|
139
|
+
updatedAt: string | null;
|
|
124
140
|
};
|
|
125
141
|
export type OutputOccurrence = {
|
|
126
142
|
componentId: string;
|
|
@@ -143,3 +159,38 @@ export type OutputOccurrence = {
|
|
|
143
159
|
*/
|
|
144
160
|
ownerComponentId?: string;
|
|
145
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* Top-level metadata block in the scan artifact.
|
|
164
|
+
* Captures repo identity, git state, and scan timing for cross-scan joins and provenance.
|
|
165
|
+
*/
|
|
166
|
+
export type ScanMeta = {
|
|
167
|
+
/** CC version that created this artifact. */
|
|
168
|
+
ccVersion: string;
|
|
169
|
+
/** ULID generated once per scan. Unique across scans; stable within a single run. */
|
|
170
|
+
scanId: string;
|
|
171
|
+
/** ISO 8601 timestamp of the scan. */
|
|
172
|
+
scannedAt: string;
|
|
173
|
+
/** Repository identification and git state. */
|
|
174
|
+
repo: {
|
|
175
|
+
/** Stable repo identifier: git remote basename, config override, or working-directory basename. */
|
|
176
|
+
id: string;
|
|
177
|
+
/** Git remote URL (or null if not configured). For provenance tracking. */
|
|
178
|
+
gitRemote: string | null;
|
|
179
|
+
/** Current HEAD commit SHA. */
|
|
180
|
+
commit: string;
|
|
181
|
+
/** First commit SHA in the repo history. Stable across force-pushes and rebases. Null on shallow clones where git rev-list --max-parents=0 is unavailable. */
|
|
182
|
+
initialCommit: string | null;
|
|
183
|
+
/** Current branch name, or null for detached HEAD / shallow clones where branch is unavailable. */
|
|
184
|
+
branch: string | null;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* The complete scan artifact shape produced by the CLI.
|
|
189
|
+
* Two-grain structure: components (rolled-up identity + manifest + composition) +
|
|
190
|
+
* occurrences (per call-site, linked to components by id).
|
|
191
|
+
*/
|
|
192
|
+
export type ScanArtifact = {
|
|
193
|
+
meta: ScanMeta;
|
|
194
|
+
components: OutputComponent[];
|
|
195
|
+
occurrences: OutputOccurrence[];
|
|
196
|
+
};
|
package/dist/scan-types.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* depend on the CLI package (circular), so every type that crosses the
|
|
6
6
|
* parser ↔ CLI boundary lives here in `plugin-core`.
|
|
7
7
|
*/
|
|
8
|
-
import type { OutputComponent, OutputOccurrence } from "./output-types.js";
|
|
8
|
+
import type { OutputComponent, OutputOccurrence, ScanMeta } from "./output-types.js";
|
|
9
9
|
import type { Diagnostic, DiagnosticCollector } from "./diagnostic.js";
|
|
10
10
|
import type { ComponentId, ManifestComponent, ManifestSource } from "./types.js";
|
|
11
11
|
import type { OccurrenceVia } from "./via-types.js";
|
|
@@ -18,6 +18,24 @@ export type WrapperId = Brand<string, "WrapperId">;
|
|
|
18
18
|
/** Unsafe constructors — use only at the data-ingest boundary. */
|
|
19
19
|
export declare const asTagName: (s: string) => TagName;
|
|
20
20
|
export declare const asWrapperId: (s: string) => WrapperId;
|
|
21
|
+
export type CemIndexEntry = {
|
|
22
|
+
packageName: string;
|
|
23
|
+
manifest: unknown;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Structural interface for the global CEM index built by `buildCemIndex` in
|
|
27
|
+
* the CLI. Defined here as a structural type (not importing from CLI) so
|
|
28
|
+
* parsers can reference it without creating a circular dependency.
|
|
29
|
+
*
|
|
30
|
+
* The actual `CemIndex` implementation lives in
|
|
31
|
+
* `packages/cli/src/scan/cem-index.ts` and satisfies this interface.
|
|
32
|
+
*/
|
|
33
|
+
export type CemIndex = {
|
|
34
|
+
byTag: Map<string, CemIndexEntry>;
|
|
35
|
+
byPackageName: Map<string, {
|
|
36
|
+
manifest: unknown;
|
|
37
|
+
}>;
|
|
38
|
+
};
|
|
21
39
|
export type ImportRole = "native" | "react";
|
|
22
40
|
export type ImportEntry = {
|
|
23
41
|
specifier: string;
|
|
@@ -40,6 +58,8 @@ export type IndexedComponent = (Extract<ManifestComponent, {
|
|
|
40
58
|
*/
|
|
41
59
|
export type LazyResolverHit = {
|
|
42
60
|
leafPackage: string;
|
|
61
|
+
/** Terminal file's path relative to the leaf package root, POSIX-normalised. */
|
|
62
|
+
modulePath: string;
|
|
43
63
|
matched: IndexedComponent | null;
|
|
44
64
|
};
|
|
45
65
|
export type ResolveLazyManifest = (fromFile: string, specifier: string, exportName: string) => LazyResolverHit | null;
|
|
@@ -98,7 +118,6 @@ export type Warning = (WarningBase & {
|
|
|
98
118
|
* parsers decoupled from CLI-specific fields (configPath, output, etc.).
|
|
99
119
|
*/
|
|
100
120
|
export type ScanConfig = {
|
|
101
|
-
packageScopes: string[];
|
|
102
121
|
captureValues: boolean;
|
|
103
122
|
};
|
|
104
123
|
export type PropUsage = {
|
|
@@ -175,24 +194,32 @@ export type ParseContext = {
|
|
|
175
194
|
repoRoot: string;
|
|
176
195
|
/** Shared diagnostic collector for the scan run. */
|
|
177
196
|
collector?: DiagnosticCollector;
|
|
197
|
+
/**
|
|
198
|
+
* Pre-parsed AST for the file. Provided by scan.ts when the single-pass
|
|
199
|
+
* pipeline is active. The type is intentionally `unknown` here — concrete
|
|
200
|
+
* narrowing is plugin-specific. Plugin-core stays free of parser-library deps.
|
|
201
|
+
*
|
|
202
|
+
* For babel-family files (.tsx/.ts/.jsx/.js): oxc Program.
|
|
203
|
+
* For .vue: VueParseWrapper (descriptor + optional scriptProgram).
|
|
204
|
+
* For .html: parse5 Document.
|
|
205
|
+
*/
|
|
206
|
+
ast?: unknown;
|
|
207
|
+
/**
|
|
208
|
+
* Global CEM index built once at scan startup. Maps hyphenated tag names
|
|
209
|
+
* and package names to their manifest entries, enabling parsers to resolve
|
|
210
|
+
* tags like `<pie-link>` unconditionally.
|
|
211
|
+
* Provided by scan.ts; parsers consume it.
|
|
212
|
+
*/
|
|
213
|
+
cemIndex?: CemIndex;
|
|
178
214
|
};
|
|
179
215
|
export interface ParserPlugin {
|
|
180
216
|
name: string;
|
|
181
217
|
extensions: string[];
|
|
182
218
|
parse(file: string, source: string, ctx: ParseContext): ParseResult;
|
|
183
219
|
}
|
|
184
|
-
export type ScanEnvelope = {
|
|
185
|
-
scanId: string;
|
|
186
|
-
repoId: string;
|
|
187
|
-
commitSha: string | null;
|
|
188
|
-
branch: string | null;
|
|
189
|
-
timestamp: string;
|
|
190
|
-
toolVersion: string;
|
|
191
|
-
cwd: string;
|
|
192
|
-
};
|
|
193
220
|
export type ManifestRef = {
|
|
194
221
|
source: ManifestSource;
|
|
195
|
-
|
|
222
|
+
packageName: string;
|
|
196
223
|
path: string;
|
|
197
224
|
version: string | null;
|
|
198
225
|
};
|
|
@@ -204,7 +231,7 @@ export type ScanStats = {
|
|
|
204
231
|
totalOccurrences: number;
|
|
205
232
|
};
|
|
206
233
|
export type ScanOutput = {
|
|
207
|
-
|
|
234
|
+
meta: ScanMeta;
|
|
208
235
|
manifests: ManifestRef[];
|
|
209
236
|
stats: ScanStats;
|
|
210
237
|
components: OutputComponent[];
|
package/dist/scan-types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scan-types.js","sourceRoot":"","sources":["../src/scan-types.ts"],"names":[],"mappings":"AAsBA,kEAAkE;AAClE,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAS,EAAW,EAAE,CAAC,CAAY,CAAC;AAC9D,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAS,EAAa,EAAE,CAAC,CAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"scan-types.js","sourceRoot":"","sources":["../src/scan-types.ts"],"names":[],"mappings":"AAsBA,kEAAkE;AAClE,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAS,EAAW,EAAE,CAAC,CAAY,CAAC;AAC9D,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAS,EAAa,EAAE,CAAC,CAAc,CAAC;AA2GpE,MAAM,CAAC,MAAM,eAAe,GAAyB;IACnD,MAAM,EAAE,IAAI,GAAG,EAAE;IACjB,KAAK,EAAE,IAAI,GAAG,EAAE;CACjB,CAAC"}
|
package/dist/schema.js
CHANGED
package/dist/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,mDAAmD;IACxD,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,eAAe,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,CAAC;IAC9D,oBAAoB,EAAE,IAAI;IAC1B,UAAU,EAAE;QACV,aAAa,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE;QACjC,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE;QACzC,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;QACzC,UAAU,EAAE;YACV,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC;gBACrC,UAAU,EAAE;oBACV,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,CAAC,EAAE;oBACtE,MAAM,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,CAAC,MAAM,CAAC;wBAClB,UAAU,EAAE;4BACV,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE;4BACrC,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;4BACzC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;yBAC3C;wBACD,KAAK,EAAE;4BACL,+FAA+F;4BAC/F,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,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