svelte-docinfo 0.10.1 → 0.11.0
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/README.md +2 -2
- package/dist/analyze-core.d.ts +44 -42
- package/dist/analyze-core.d.ts.map +1 -1
- package/dist/declaration-helpers.d.ts +7 -1
- package/dist/declaration-helpers.d.ts.map +1 -1
- package/dist/declaration-helpers.js +7 -1
- package/dist/session.d.ts +2 -1
- package/dist/session.d.ts.map +1 -1
- package/dist/source.d.ts +13 -3
- package/dist/source.d.ts.map +1 -1
- package/dist/source.js +13 -3
- package/dist/svelte.d.ts.map +1 -1
- package/dist/svelte.js +74 -39
- package/dist/types.d.ts +167 -104
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +46 -27
- package/dist/typescript-alias-registry.d.ts.map +1 -1
- package/dist/typescript-alias-registry.js +4 -3
- package/dist/typescript-extract-shared.d.ts +13 -1
- package/dist/typescript-extract-shared.d.ts.map +1 -1
- package/dist/typescript-extract-shared.js +23 -5
- package/dist/typescript-extract-type-json.d.ts +54 -15
- package/dist/typescript-extract-type-json.d.ts.map +1 -1
- package/dist/typescript-extract-type-json.js +342 -43
- package/dist/typescript-program.d.ts +67 -1
- package/dist/typescript-program.d.ts.map +1 -1
- package/dist/typescript-program.js +118 -8
- package/dist/vite.d.ts +18 -0
- package/dist/vite.d.ts.map +1 -1
- package/dist/vite.js +18 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -336,8 +336,8 @@ See the [API docs](https://svelte-docinfo.fuz.dev/docs/api) for the full referen
|
|
|
336
336
|
- **TSDoc/JSDoc parsing**: the common doc tags (`@param`, `@returns`, `@throws`, `@example`, `@deprecated`, `@internal`, `@see`, `@since`, `@default`) plus `@nodocs`, `@mutates`, and `@module` for file-level comments; divergent spellings parse as synonyms (`@return`, `@defaultValue`). `@internal` marks unstable API (`internalMessage`) but stays documented — `@nodocs` is the exclusion. Dotted `@param obj.prop` tags fill `propertyDescriptions`, and inline `{@link}` survives in extracted text
|
|
337
337
|
- **Alias-lost name recovery**: TypeScript drops the name of an alias over an indexed access or conditional (`type Foo = z.infer<typeof S>`) and expands its structure at every use. `typeInfo` recovers it as `{kind: 'reference', name}`, from the written annotation where there is one and otherwise from a registry of the project's exported aliases (those references also carry `module` for exact linking). Losses nothing recovers surface as `alias_lost` warnings
|
|
338
338
|
- **Merged value+type symbols**: `export const Foo = z.strictObject({...})` + `export type Foo = z.infer<typeof Foo>` documents the type meaning (structure and members), with `mergedValue: true` marking the name as also a runtime value; JSDoc falls back to the const's docs, and `generateImport` emits a value import
|
|
339
|
-
- **Svelte 5 component props**: extracts prop types, descriptions, defaults, and bindability via svelte2tsx, in source order; generic components carry `genericParams`, and JS components (no `lang="ts"`) are supported — props come from the JSDoc `@type` on `$props()` or are inferred from untyped destructuring
|
|
340
|
-
- **External types**: props and members contributed by external packages (e.g. `HTMLButtonAttributes`) are filtered out and named in `externalTypes` — on components, type aliases, interfaces, and classes, including bags reached through local base types
|
|
339
|
+
- **Svelte 5 component props**: extracts prop types, descriptions, defaults, and bindability via svelte2tsx, in source order (destructured external props follow, in destructuring order); generic components carry `genericParams`, and JS components (no `lang="ts"`) are supported — props come from the JSDoc `@type` on `$props()` or are inferred from untyped destructuring
|
|
340
|
+
- **External types**: props and members contributed by external packages (e.g. `HTMLButtonAttributes`) are filtered out and named in `externalTypes` — on components, type aliases, interfaces, and classes, including bags reached through local base types. A component prop named in the `$props()` destructuring (`let {type = 'button', ...rest} = $props()`) is documented anyway, since the component handles it
|
|
341
341
|
- **Svelte 5 snippets**: `kind: 'snippet'` for template snippets (with structured parameters), `acceptsChildren` on components
|
|
342
342
|
- **Svelte 5 reactivity runes**: detects `$state`, `$state.raw`, `$derived`, `$derived.by` on variables and class fields (`reactivity` field) — syntactic detection, surfaces wherever the rune pattern appears
|
|
343
343
|
- **Class members**: public + protected fields, methods, constructors, getters/setters, generics; private (`private` and `#field`) excluded
|
package/dist/analyze-core.d.ts
CHANGED
|
@@ -130,8 +130,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
130
130
|
module: z.ZodString;
|
|
131
131
|
name: z.ZodString;
|
|
132
132
|
}, z.core.$strict>>;
|
|
133
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
134
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
135
133
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
136
134
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
137
135
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -141,6 +139,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
141
139
|
description: z.ZodString;
|
|
142
140
|
}, z.core.$strict>>>;
|
|
143
141
|
since: z.ZodOptional<z.ZodString>;
|
|
142
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
143
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
144
144
|
name: z.ZodString;
|
|
145
145
|
docComment: z.ZodOptional<z.ZodString>;
|
|
146
146
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -204,8 +204,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
204
204
|
docComment: z.ZodOptional<z.ZodString>;
|
|
205
205
|
returnDescription: z.ZodOptional<z.ZodString>;
|
|
206
206
|
}, z.core.$strict>>>;
|
|
207
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
208
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
209
207
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
210
208
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
211
209
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -215,6 +213,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
215
213
|
description: z.ZodString;
|
|
216
214
|
}, z.core.$strict>>>;
|
|
217
215
|
since: z.ZodOptional<z.ZodString>;
|
|
216
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
217
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
218
218
|
docComment: z.ZodOptional<z.ZodString>;
|
|
219
219
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
220
220
|
modifiers: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -243,8 +243,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
243
243
|
}>>;
|
|
244
244
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
245
245
|
typeInfo: z.ZodOptional<z.ZodType<import("./types.js").TypeJson, import("./types.js").TypeJson, z.core.$ZodTypeInternals<import("./types.js").TypeJson, import("./types.js").TypeJson>>>;
|
|
246
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
247
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
248
246
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
249
247
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
250
248
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -254,6 +252,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
254
252
|
description: z.ZodString;
|
|
255
253
|
}, z.core.$strict>>>;
|
|
256
254
|
since: z.ZodOptional<z.ZodString>;
|
|
255
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
256
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
257
257
|
name: z.ZodString;
|
|
258
258
|
docComment: z.ZodOptional<z.ZodString>;
|
|
259
259
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -307,8 +307,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
307
307
|
docComment: z.ZodOptional<z.ZodString>;
|
|
308
308
|
returnDescription: z.ZodOptional<z.ZodString>;
|
|
309
309
|
}, z.core.$strict>>>;
|
|
310
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
311
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
312
310
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
313
311
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
314
312
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -318,6 +316,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
318
316
|
description: z.ZodString;
|
|
319
317
|
}, z.core.$strict>>>;
|
|
320
318
|
since: z.ZodOptional<z.ZodString>;
|
|
319
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
320
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
321
321
|
docComment: z.ZodOptional<z.ZodString>;
|
|
322
322
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
323
323
|
modifiers: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -341,8 +341,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
341
341
|
module: z.ZodString;
|
|
342
342
|
name: z.ZodString;
|
|
343
343
|
}, z.core.$strict>>;
|
|
344
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
345
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
346
344
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
347
345
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
348
346
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -352,6 +350,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
352
350
|
description: z.ZodString;
|
|
353
351
|
}, z.core.$strict>>>;
|
|
354
352
|
since: z.ZodOptional<z.ZodString>;
|
|
353
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
354
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
355
355
|
name: z.ZodString;
|
|
356
356
|
docComment: z.ZodOptional<z.ZodString>;
|
|
357
357
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -414,8 +414,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
414
414
|
docComment: z.ZodOptional<z.ZodString>;
|
|
415
415
|
returnDescription: z.ZodOptional<z.ZodString>;
|
|
416
416
|
}, z.core.$strict>>>;
|
|
417
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
418
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
419
417
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
420
418
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
421
419
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -425,6 +423,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
425
423
|
description: z.ZodString;
|
|
426
424
|
}, z.core.$strict>>>;
|
|
427
425
|
since: z.ZodOptional<z.ZodString>;
|
|
426
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
427
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
428
428
|
docComment: z.ZodOptional<z.ZodString>;
|
|
429
429
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
430
430
|
modifiers: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -453,8 +453,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
453
453
|
}>>;
|
|
454
454
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
455
455
|
typeInfo: z.ZodOptional<z.ZodType<import("./types.js").TypeJson, import("./types.js").TypeJson, z.core.$ZodTypeInternals<import("./types.js").TypeJson, import("./types.js").TypeJson>>>;
|
|
456
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
457
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
458
456
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
459
457
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
460
458
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -464,6 +462,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
464
462
|
description: z.ZodString;
|
|
465
463
|
}, z.core.$strict>>>;
|
|
466
464
|
since: z.ZodOptional<z.ZodString>;
|
|
465
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
466
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
467
467
|
name: z.ZodString;
|
|
468
468
|
docComment: z.ZodOptional<z.ZodString>;
|
|
469
469
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -517,8 +517,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
517
517
|
docComment: z.ZodOptional<z.ZodString>;
|
|
518
518
|
returnDescription: z.ZodOptional<z.ZodString>;
|
|
519
519
|
}, z.core.$strict>>>;
|
|
520
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
521
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
522
520
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
523
521
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
524
522
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -528,6 +526,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
528
526
|
description: z.ZodString;
|
|
529
527
|
}, z.core.$strict>>>;
|
|
530
528
|
since: z.ZodOptional<z.ZodString>;
|
|
529
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
530
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
531
531
|
docComment: z.ZodOptional<z.ZodString>;
|
|
532
532
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
533
533
|
modifiers: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -552,8 +552,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
552
552
|
module: z.ZodString;
|
|
553
553
|
name: z.ZodString;
|
|
554
554
|
}, z.core.$strict>>;
|
|
555
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
556
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
557
555
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
558
556
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
559
557
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -563,6 +561,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
563
561
|
description: z.ZodString;
|
|
564
562
|
}, z.core.$strict>>>;
|
|
565
563
|
since: z.ZodOptional<z.ZodString>;
|
|
564
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
565
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
566
566
|
name: z.ZodString;
|
|
567
567
|
docComment: z.ZodOptional<z.ZodString>;
|
|
568
568
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -625,8 +625,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
625
625
|
docComment: z.ZodOptional<z.ZodString>;
|
|
626
626
|
returnDescription: z.ZodOptional<z.ZodString>;
|
|
627
627
|
}, z.core.$strict>>>;
|
|
628
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
629
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
630
628
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
631
629
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
632
630
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -636,6 +634,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
636
634
|
description: z.ZodString;
|
|
637
635
|
}, z.core.$strict>>>;
|
|
638
636
|
since: z.ZodOptional<z.ZodString>;
|
|
637
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
638
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
639
639
|
docComment: z.ZodOptional<z.ZodString>;
|
|
640
640
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
641
641
|
modifiers: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -664,8 +664,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
664
664
|
}>>;
|
|
665
665
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
666
666
|
typeInfo: z.ZodOptional<z.ZodType<import("./types.js").TypeJson, import("./types.js").TypeJson, z.core.$ZodTypeInternals<import("./types.js").TypeJson, import("./types.js").TypeJson>>>;
|
|
667
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
668
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
669
667
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
670
668
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
671
669
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -675,6 +673,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
675
673
|
description: z.ZodString;
|
|
676
674
|
}, z.core.$strict>>>;
|
|
677
675
|
since: z.ZodOptional<z.ZodString>;
|
|
676
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
677
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
678
678
|
name: z.ZodString;
|
|
679
679
|
docComment: z.ZodOptional<z.ZodString>;
|
|
680
680
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -728,8 +728,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
728
728
|
docComment: z.ZodOptional<z.ZodString>;
|
|
729
729
|
returnDescription: z.ZodOptional<z.ZodString>;
|
|
730
730
|
}, z.core.$strict>>>;
|
|
731
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
732
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
733
731
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
734
732
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
735
733
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -739,6 +737,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
739
737
|
description: z.ZodString;
|
|
740
738
|
}, z.core.$strict>>>;
|
|
741
739
|
since: z.ZodOptional<z.ZodString>;
|
|
740
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
741
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
742
742
|
docComment: z.ZodOptional<z.ZodString>;
|
|
743
743
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
744
744
|
modifiers: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -763,8 +763,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
763
763
|
module: z.ZodString;
|
|
764
764
|
name: z.ZodString;
|
|
765
765
|
}, z.core.$strict>>;
|
|
766
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
767
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
768
766
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
769
767
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
770
768
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -774,6 +772,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
774
772
|
description: z.ZodString;
|
|
775
773
|
}, z.core.$strict>>>;
|
|
776
774
|
since: z.ZodOptional<z.ZodString>;
|
|
775
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
776
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
777
777
|
name: z.ZodString;
|
|
778
778
|
docComment: z.ZodOptional<z.ZodString>;
|
|
779
779
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -807,8 +807,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
807
807
|
module: z.ZodString;
|
|
808
808
|
name: z.ZodString;
|
|
809
809
|
}, z.core.$strict>>;
|
|
810
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
811
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
812
810
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
813
811
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
814
812
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -818,6 +816,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
818
816
|
description: z.ZodString;
|
|
819
817
|
}, z.core.$strict>>>;
|
|
820
818
|
since: z.ZodOptional<z.ZodString>;
|
|
819
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
820
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
821
821
|
name: z.ZodString;
|
|
822
822
|
docComment: z.ZodOptional<z.ZodString>;
|
|
823
823
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -878,8 +878,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
878
878
|
docComment: z.ZodOptional<z.ZodString>;
|
|
879
879
|
returnDescription: z.ZodOptional<z.ZodString>;
|
|
880
880
|
}, z.core.$strict>>>;
|
|
881
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
882
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
883
881
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
884
882
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
885
883
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -889,6 +887,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
889
887
|
description: z.ZodString;
|
|
890
888
|
}, z.core.$strict>>>;
|
|
891
889
|
since: z.ZodOptional<z.ZodString>;
|
|
890
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
891
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
892
892
|
docComment: z.ZodOptional<z.ZodString>;
|
|
893
893
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
894
894
|
modifiers: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -917,8 +917,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
917
917
|
}>>;
|
|
918
918
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
919
919
|
typeInfo: z.ZodOptional<z.ZodType<import("./types.js").TypeJson, import("./types.js").TypeJson, z.core.$ZodTypeInternals<import("./types.js").TypeJson, import("./types.js").TypeJson>>>;
|
|
920
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
921
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
922
920
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
923
921
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
924
922
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -928,6 +926,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
928
926
|
description: z.ZodString;
|
|
929
927
|
}, z.core.$strict>>>;
|
|
930
928
|
since: z.ZodOptional<z.ZodString>;
|
|
929
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
930
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
931
931
|
name: z.ZodString;
|
|
932
932
|
docComment: z.ZodOptional<z.ZodString>;
|
|
933
933
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -981,8 +981,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
981
981
|
docComment: z.ZodOptional<z.ZodString>;
|
|
982
982
|
returnDescription: z.ZodOptional<z.ZodString>;
|
|
983
983
|
}, z.core.$strict>>>;
|
|
984
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
985
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
986
984
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
987
985
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
988
986
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -992,6 +990,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
992
990
|
description: z.ZodString;
|
|
993
991
|
}, z.core.$strict>>>;
|
|
994
992
|
since: z.ZodOptional<z.ZodString>;
|
|
993
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
994
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
995
995
|
docComment: z.ZodOptional<z.ZodString>;
|
|
996
996
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
997
997
|
modifiers: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -1015,8 +1015,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
1015
1015
|
module: z.ZodString;
|
|
1016
1016
|
name: z.ZodString;
|
|
1017
1017
|
}, z.core.$strict>>;
|
|
1018
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
1019
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1020
1018
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
1021
1019
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1022
1020
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1026,6 +1024,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
1026
1024
|
description: z.ZodString;
|
|
1027
1025
|
}, z.core.$strict>>>;
|
|
1028
1026
|
since: z.ZodOptional<z.ZodString>;
|
|
1027
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
1028
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1029
1029
|
name: z.ZodString;
|
|
1030
1030
|
docComment: z.ZodOptional<z.ZodString>;
|
|
1031
1031
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -1056,6 +1056,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
1056
1056
|
description: z.ZodString;
|
|
1057
1057
|
}, z.core.$strict>>>;
|
|
1058
1058
|
since: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1059
1061
|
name: z.ZodString;
|
|
1060
1062
|
type: z.ZodString;
|
|
1061
1063
|
typeInfo: z.ZodOptional<z.ZodType<import("./types.js").TypeJson, import("./types.js").TypeJson, z.core.$ZodTypeInternals<import("./types.js").TypeJson, import("./types.js").TypeJson>>>;
|
|
@@ -1083,8 +1085,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
1083
1085
|
module: z.ZodString;
|
|
1084
1086
|
name: z.ZodString;
|
|
1085
1087
|
}, z.core.$strict>>;
|
|
1086
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
1087
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1088
1088
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
1089
1089
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1090
1090
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1094,6 +1094,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
1094
1094
|
description: z.ZodString;
|
|
1095
1095
|
}, z.core.$strict>>>;
|
|
1096
1096
|
since: z.ZodOptional<z.ZodString>;
|
|
1097
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
1098
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1097
1099
|
name: z.ZodString;
|
|
1098
1100
|
docComment: z.ZodOptional<z.ZodString>;
|
|
1099
1101
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -1129,8 +1131,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
1129
1131
|
module: z.ZodString;
|
|
1130
1132
|
name: z.ZodString;
|
|
1131
1133
|
}, z.core.$strict>>;
|
|
1132
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
1133
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1134
1134
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
1135
1135
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1136
1136
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1140,6 +1140,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
1140
1140
|
description: z.ZodString;
|
|
1141
1141
|
}, z.core.$strict>>>;
|
|
1142
1142
|
since: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1143
1145
|
name: z.ZodString;
|
|
1144
1146
|
docComment: z.ZodOptional<z.ZodString>;
|
|
1145
1147
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -1166,8 +1168,6 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
1166
1168
|
module: z.ZodString;
|
|
1167
1169
|
name: z.ZodString;
|
|
1168
1170
|
}, z.core.$strict>>;
|
|
1169
|
-
internalMessage: z.ZodOptional<z.ZodString>;
|
|
1170
|
-
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1171
1171
|
partial: z.ZodDefault<z.ZodBoolean>;
|
|
1172
1172
|
examples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1173
1173
|
deprecatedMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1177,6 +1177,8 @@ export declare const AnalyzeResultJson: z.ZodObject<{
|
|
|
1177
1177
|
description: z.ZodString;
|
|
1178
1178
|
}, z.core.$strict>>>;
|
|
1179
1179
|
since: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
internalMessage: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
mutates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1180
1182
|
name: z.ZodString;
|
|
1181
1183
|
docComment: z.ZodOptional<z.ZodString>;
|
|
1182
1184
|
typeSignature: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyze-core.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/analyze-core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAGH,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAE9D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAGN,KAAK,iBAAiB,EACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EAGN,KAAK,cAAc,EAEnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,KAAK,mBAAmB,EAAoC,MAAM,oBAAoB,CAAC;AAGhG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAavE;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,YAAY,GAAG,YAAY,GAAG,MAAM,GAAG,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AAU,CAAC,EAC9B,SAAS;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAA;CAAE,KAC1E,IAKF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,wBAAwB,GACpC,aAAa,KAAK,CAAC,UAAU,CAAC,EAC9B,aAAa,MAAM,KACjB,IAuBF,CAAC;AAiPF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,2BAA2B,GACvC,SAAS,KAAK,CAAC,UAAU,CAAC,EAC1B,SAAS,mBAAmB,EAC5B,SAAS,EAAE,CAAC,OAAO,KACjB,IAKF,CAAC"}
|
|
@@ -139,6 +139,10 @@ export type TypeJsonToken = {
|
|
|
139
139
|
* API docs and syntax-highlights `code` tokens; a CLI might print them all
|
|
140
140
|
* plainly. Adjacent punctuation merges into single `text` tokens.
|
|
141
141
|
*
|
|
142
|
+
* Union members render in the tree's order — written order where the tree
|
|
143
|
+
* recovered it (see `TypeJson`) — so the result can list them in a different
|
|
144
|
+
* order from the flat string beside the tree, which prints in the checker's.
|
|
145
|
+
*
|
|
142
146
|
* @param node - the `TypeJson` tree to flatten (a `typeInfo`/`returnTypeInfo` field)
|
|
143
147
|
* @returns tokens in source order; concatenating their text yields the printed type
|
|
144
148
|
*
|
|
@@ -157,7 +161,9 @@ export declare const typeJsonToTokens: (node: TypeJson) => Array<TypeJsonToken>;
|
|
|
157
161
|
/**
|
|
158
162
|
* The plain-text printed form of a `TypeJson` tree — `typeJsonToTokens`
|
|
159
163
|
* concatenated. For consumers with no linkification or highlighting surface
|
|
160
|
-
* (CLI output, markdown code spans, log lines) and for test assertions.
|
|
164
|
+
* (CLI output, markdown code spans, log lines) and for test assertions. Not a
|
|
165
|
+
* reprint of the flat string: union members keep the tree's order (see
|
|
166
|
+
* `typeJsonToTokens`).
|
|
161
167
|
*
|
|
162
168
|
* @example
|
|
163
169
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declaration-helpers.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/declaration-helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EACX,eAAe,EACf,UAAU,EACV,eAAe,EACf,UAAU,EAEV,QAAQ,EACR,MAAM,YAAY,CAAC;AAIpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,eAAO,MAAM,eAAe,GAAI,KAAK,MAAM,EAAE,OAAO,OAAO,KAAG,OAGrD,CAAC;AAIV;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,cAAc,GAAI,aAAa,eAAe,GAAG,UAAU,KAAG,MAS1E,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,cAAc,GAC1B,aAAa,eAAe,EAC5B,YAAY,MAAM,EAClB,aAAa,MAAM,KACjB,MA2BF,CAAC;AAYF;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,aAAa,GACtB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC9B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAmIlC
|
|
1
|
+
{"version":3,"file":"declaration-helpers.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/declaration-helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EACX,eAAe,EACf,UAAU,EACV,eAAe,EACf,UAAU,EAEV,QAAQ,EACR,MAAM,YAAY,CAAC;AAIpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,eAAO,MAAM,eAAe,GAAI,KAAK,MAAM,EAAE,OAAO,OAAO,KAAG,OAGrD,CAAC;AAIV;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,cAAc,GAAI,aAAa,eAAe,GAAG,UAAU,KAAG,MAS1E,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,cAAc,GAC1B,aAAa,eAAe,EAC5B,YAAY,MAAM,EAClB,aAAa,MAAM,KACjB,MA2BF,CAAC;AAYF;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,aAAa,GACtB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC9B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAmIlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,gBAAgB,GAAI,MAAM,QAAQ,KAAG,KAAK,CAAC,aAAa,CAIpE,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,cAAc,GAAI,MAAM,QAAQ,KAAG,MAGrC,CAAC;AAIZ;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,eAAe,GAAG,UAAU,EAC5D,aAAa,eAAe,GAAG,UAAU,EACzC,MAAM,CAAC,KACL,WAAW,IAAI,OAAO,CAAC,eAAe,GAAG,UAAU,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CAA8B,CAAC"}
|
|
@@ -277,6 +277,10 @@ const pushNode = (tokens, node) => {
|
|
|
277
277
|
* API docs and syntax-highlights `code` tokens; a CLI might print them all
|
|
278
278
|
* plainly. Adjacent punctuation merges into single `text` tokens.
|
|
279
279
|
*
|
|
280
|
+
* Union members render in the tree's order — written order where the tree
|
|
281
|
+
* recovered it (see `TypeJson`) — so the result can list them in a different
|
|
282
|
+
* order from the flat string beside the tree, which prints in the checker's.
|
|
283
|
+
*
|
|
280
284
|
* @param node - the `TypeJson` tree to flatten (a `typeInfo`/`returnTypeInfo` field)
|
|
281
285
|
* @returns tokens in source order; concatenating their text yields the printed type
|
|
282
286
|
*
|
|
@@ -299,7 +303,9 @@ export const typeJsonToTokens = (node) => {
|
|
|
299
303
|
/**
|
|
300
304
|
* The plain-text printed form of a `TypeJson` tree — `typeJsonToTokens`
|
|
301
305
|
* concatenated. For consumers with no linkification or highlighting surface
|
|
302
|
-
* (CLI output, markdown code spans, log lines) and for test assertions.
|
|
306
|
+
* (CLI output, markdown code spans, log lines) and for test assertions. Not a
|
|
307
|
+
* reprint of the flat string: union members keep the tree's order (see
|
|
308
|
+
* `typeJsonToTokens`).
|
|
303
309
|
*
|
|
304
310
|
* @example
|
|
305
311
|
* ```ts
|
package/dist/session.d.ts
CHANGED
|
@@ -175,7 +175,8 @@ export interface QueryOptions {
|
|
|
175
175
|
* origin (`z.enum` members, literal unions) in type-creation order, which
|
|
176
176
|
* follows the order the checker first visits files; root order matters
|
|
177
177
|
* because it sets the merge order of `declare global`, module augmentations,
|
|
178
|
-
* and interface merging. Two limits remain, both from type-creation order
|
|
178
|
+
* and interface merging. Two limits remain, both from type-creation order, for
|
|
179
|
+
* flat strings and for `typeInfo` unions with no written form (see `TypeJson`):
|
|
179
180
|
* an edit to an unrelated file can still reorder such a union's members,
|
|
180
181
|
* since it can change which file first creates a member type, and checker
|
|
181
182
|
* work done through `getProgram()` before the first `query()` on a fresh
|
package/dist/session.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/session.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BAAqB,GAAI,SAAS,sBAAsB,KAAG,eAozBvE,CAAC"}
|
package/dist/source.d.ts
CHANGED
|
@@ -144,10 +144,20 @@ export declare const scrubVirtualSuffixes: (text: string) => string;
|
|
|
144
144
|
export declare const SVELTE_COMPONENT_ALIAS_SUFFIX = "__SvelteComponent_";
|
|
145
145
|
/**
|
|
146
146
|
* Whether a symbol name is an internal svelte2tsx identifier — a generated
|
|
147
|
-
* name that
|
|
148
|
-
*
|
|
149
|
-
*
|
|
147
|
+
* name that never documents as a declaration: `$$ComponentProps`, `$$render`,
|
|
148
|
+
* `__sveltets_Render`, and the synthesized component class/type alias
|
|
149
|
+
* `<ComponentName>__SvelteComponent_`. Building block for
|
|
150
150
|
* `isSvelte2tsxGeneratedExport`, which adds the `default` slot.
|
|
151
|
+
*
|
|
152
|
+
* Beyond export filtering, the `TypeJson` builder treats an alias with one of
|
|
153
|
+
* these names declared in a Svelte virtual or svelte2tsx's shims as no alias
|
|
154
|
+
* at all (`linkableAliasSymbol` in `typescript-extract-type-json.ts`), so
|
|
155
|
+
* `$$ComponentProps` and `__sveltets_2_PropsWithChildren` never reach a tree
|
|
156
|
+
* and don't mask a project alias over them. Flat type strings are the
|
|
157
|
+
* checker's rendering and still carry these names
|
|
158
|
+
* (`Component<$$ComponentProps, {}, "">`,
|
|
159
|
+
* `__sveltets_2_IsomorphicComponent<…>`), as do terminal `text` nodes nested
|
|
160
|
+
* in them and the generic-component interface `$$IsomorphicComponent`.
|
|
151
161
|
*/
|
|
152
162
|
export declare const isSvelte2tsxInternal: (name: string) => boolean;
|
|
153
163
|
/**
|
package/dist/source.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/source.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,GAAG,YAAY,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC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,KAAG,OAGP,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B,GAAI,MAAM,MAAM,KAAG,OACV,CAAC"}
|
package/dist/source.js
CHANGED
|
@@ -82,10 +82,20 @@ export const scrubVirtualSuffixes = (text) => text.includes(SVELTE_VIRTUAL_SUFFI
|
|
|
82
82
|
export const SVELTE_COMPONENT_ALIAS_SUFFIX = '__SvelteComponent_';
|
|
83
83
|
/**
|
|
84
84
|
* Whether a symbol name is an internal svelte2tsx identifier — a generated
|
|
85
|
-
* name that
|
|
86
|
-
*
|
|
87
|
-
*
|
|
85
|
+
* name that never documents as a declaration: `$$ComponentProps`, `$$render`,
|
|
86
|
+
* `__sveltets_Render`, and the synthesized component class/type alias
|
|
87
|
+
* `<ComponentName>__SvelteComponent_`. Building block for
|
|
88
88
|
* `isSvelte2tsxGeneratedExport`, which adds the `default` slot.
|
|
89
|
+
*
|
|
90
|
+
* Beyond export filtering, the `TypeJson` builder treats an alias with one of
|
|
91
|
+
* these names declared in a Svelte virtual or svelte2tsx's shims as no alias
|
|
92
|
+
* at all (`linkableAliasSymbol` in `typescript-extract-type-json.ts`), so
|
|
93
|
+
* `$$ComponentProps` and `__sveltets_2_PropsWithChildren` never reach a tree
|
|
94
|
+
* and don't mask a project alias over them. Flat type strings are the
|
|
95
|
+
* checker's rendering and still carry these names
|
|
96
|
+
* (`Component<$$ComponentProps, {}, "">`,
|
|
97
|
+
* `__sveltets_2_IsomorphicComponent<…>`), as do terminal `text` nodes nested
|
|
98
|
+
* in them and the generic-component interface `$$IsomorphicComponent`.
|
|
89
99
|
*/
|
|
90
100
|
export const isSvelte2tsxInternal = (name) => name.startsWith('$$') ||
|
|
91
101
|
name.startsWith('__sveltets_') ||
|
package/dist/svelte.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/svelte.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;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