@typespec/compiler 0.63.0-dev.2 → 0.63.0-dev.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/generated-defs/TypeSpec.Prototypes.d.ts +1 -1
- package/dist/generated-defs/TypeSpec.Prototypes.d.ts.map +1 -1
- package/dist/generated-defs/TypeSpec.d.ts +197 -78
- package/dist/generated-defs/TypeSpec.d.ts.map +1 -1
- package/dist/manifest.js +2 -2
- package/dist/src/core/index.d.ts +1 -0
- package/dist/src/core/index.d.ts.map +1 -1
- package/dist/src/core/index.js +1 -0
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/core/logger/logger.js +1 -1
- package/dist/src/core/logger/logger.js.map +1 -1
- package/dist/src/core/messages.d.ts +56 -2
- package/dist/src/core/messages.d.ts.map +1 -1
- package/dist/src/core/messages.js +20 -0
- package/dist/src/core/messages.js.map +1 -1
- package/dist/src/core/visibility/core.d.ts +240 -0
- package/dist/src/core/visibility/core.d.ts.map +1 -0
- package/dist/src/core/visibility/core.js +483 -0
- package/dist/src/core/visibility/core.js.map +1 -0
- package/dist/src/core/visibility/index.d.ts +3 -0
- package/dist/src/core/visibility/index.d.ts.map +1 -0
- package/dist/src/core/visibility/index.js +5 -0
- package/dist/src/core/visibility/index.js.map +1 -0
- package/dist/src/core/visibility/lifecycle.d.ts +28 -0
- package/dist/src/core/visibility/lifecycle.d.ts.map +1 -0
- package/dist/src/core/visibility/lifecycle.js +68 -0
- package/dist/src/core/visibility/lifecycle.js.map +1 -0
- package/dist/src/experimental/mutators.d.ts +4 -0
- package/dist/src/experimental/mutators.d.ts.map +1 -1
- package/dist/src/experimental/mutators.js +17 -0
- package/dist/src/experimental/mutators.js.map +1 -1
- package/dist/src/experimental/typekit/define-kit.js +3 -3
- package/dist/src/experimental/typekit/define-kit.js.map +1 -1
- package/dist/src/experimental/typekit/kits/model-property.d.ts +2 -2
- package/dist/src/experimental/typekit/kits/model-property.d.ts.map +1 -1
- package/dist/src/experimental/typekit/kits/model-property.js +4 -3
- package/dist/src/experimental/typekit/kits/model-property.js.map +1 -1
- package/dist/src/lib/decorators.d.ts +5 -28
- package/dist/src/lib/decorators.d.ts.map +1 -1
- package/dist/src/lib/decorators.js +6 -83
- package/dist/src/lib/decorators.js.map +1 -1
- package/dist/src/lib/key.d.ts +6 -0
- package/dist/src/lib/key.d.ts.map +1 -0
- package/dist/src/lib/key.js +7 -0
- package/dist/src/lib/key.js.map +1 -0
- package/dist/src/lib/tsp-index.d.ts.map +1 -1
- package/dist/src/lib/tsp-index.js +10 -4
- package/dist/src/lib/tsp-index.js.map +1 -1
- package/dist/src/lib/utils.d.ts +9 -1
- package/dist/src/lib/utils.d.ts.map +1 -1
- package/dist/src/lib/utils.js +14 -0
- package/dist/src/lib/utils.js.map +1 -1
- package/dist/src/lib/visibility.d.ts +33 -0
- package/dist/src/lib/visibility.d.ts.map +1 -0
- package/dist/src/lib/visibility.js +367 -0
- package/dist/src/lib/visibility.js.map +1 -0
- package/lib/std/decorators.tsp +0 -99
- package/lib/std/main.tsp +1 -0
- package/lib/std/visibility.tsp +400 -0
- package/package.json +1 -1
- package/templates/__snapshots__/emitter-ts/package.json +2 -1
- package/templates/__snapshots__/library-ts/package.json +2 -1
- package/templates/emitter-ts/package.json +2 -1
- package/templates/library-ts/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DecoratorContext, Type } from "../src/index.js";
|
|
1
|
+
import type { DecoratorContext, Type } from "../src/core/index.js";
|
|
2
2
|
export type GetterDecorator = (context: DecoratorContext, target: Type) => void;
|
|
3
3
|
export type TypeSpecPrototypesDecorators = {
|
|
4
4
|
getter: GetterDecorator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSpec.Prototypes.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.Prototypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TypeSpec.Prototypes.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.Prototypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,KAAK,IAAI,CAAC;AAEhF,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,EAAE,eAAe,CAAC;CACzB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DecoratorContext, Enum, EnumValue, Interface, Model, ModelProperty, Namespace, Numeric, Operation, Scalar, Type, Union, UnionVariant } from "../src/index.js";
|
|
1
|
+
import type { DecoratorContext, Enum, EnumValue, Interface, Model, ModelProperty, Namespace, Numeric, Operation, Scalar, Type, Union, UnionVariant } from "../src/core/index.js";
|
|
2
2
|
export interface ExampleOptions {
|
|
3
3
|
readonly title?: string;
|
|
4
4
|
readonly description?: string;
|
|
@@ -7,6 +7,11 @@ export interface OperationExample {
|
|
|
7
7
|
readonly parameters?: unknown;
|
|
8
8
|
readonly returnType?: unknown;
|
|
9
9
|
}
|
|
10
|
+
export interface VisibilityFilter {
|
|
11
|
+
readonly any?: readonly EnumValue[];
|
|
12
|
+
readonly all?: readonly EnumValue[];
|
|
13
|
+
readonly none?: readonly EnumValue[];
|
|
14
|
+
}
|
|
10
15
|
/**
|
|
11
16
|
* Specify how to encode the target type.
|
|
12
17
|
*
|
|
@@ -72,9 +77,19 @@ export type WithoutDefaultValuesDecorator = (context: DecoratorContext, target:
|
|
|
72
77
|
/**
|
|
73
78
|
* Set the visibility of key properties in a model if not already set.
|
|
74
79
|
*
|
|
75
|
-
*
|
|
80
|
+
* This will set the visibility modifiers of all key properties in the model if the visibility is not already _explicitly_ set,
|
|
81
|
+
* but will not change the visibility of any properties that have visibility set _explicitly_, even if the visibility
|
|
82
|
+
* is the same as the default visibility.
|
|
83
|
+
*
|
|
84
|
+
* Visibility may be explicitly set using any of the following decorators:
|
|
85
|
+
*
|
|
86
|
+
* - `@visibility`
|
|
87
|
+
* - `@removeVisibility`
|
|
88
|
+
* - `@invisible`
|
|
89
|
+
*
|
|
90
|
+
* @param visibility The desired default visibility value. If a key property already has visibility set, it will not be changed.
|
|
76
91
|
*/
|
|
77
|
-
export type WithDefaultKeyVisibilityDecorator = (context: DecoratorContext, target: Model, visibility: string) => void;
|
|
92
|
+
export type WithDefaultKeyVisibilityDecorator = (context: DecoratorContext, target: Model, visibility: string | EnumValue) => void;
|
|
78
93
|
/**
|
|
79
94
|
* Typically a short, single-line description.
|
|
80
95
|
*
|
|
@@ -441,77 +456,6 @@ export type ExampleDecorator = (context: DecoratorContext, target: Model | Enum
|
|
|
441
456
|
* ```
|
|
442
457
|
*/
|
|
443
458
|
export type OpExampleDecorator = (context: DecoratorContext, target: Operation, example: OperationExample, options?: ExampleOptions) => void;
|
|
444
|
-
/**
|
|
445
|
-
* Indicates that a property is only considered to be present or applicable ("visible") with
|
|
446
|
-
* the in the given named contexts ("visibilities"). When a property has no visibilities applied
|
|
447
|
-
* to it, it is implicitly visible always.
|
|
448
|
-
*
|
|
449
|
-
* As far as the TypeSpec core library is concerned, visibilities are open-ended and can be arbitrary
|
|
450
|
-
* strings, but the following visibilities are well-known to standard libraries and should be used
|
|
451
|
-
* with standard emitters that interpret them as follows:
|
|
452
|
-
*
|
|
453
|
-
* - "read": output of any operation.
|
|
454
|
-
* - "create": input to operations that create an entity..
|
|
455
|
-
* - "query": input to operations that read data.
|
|
456
|
-
* - "update": input to operations that update data.
|
|
457
|
-
* - "delete": input to operations that delete data.
|
|
458
|
-
*
|
|
459
|
-
* See also: [Automatic visibility](https://typespec.io/docs/libraries/http/operations#automatic-visibility)
|
|
460
|
-
*
|
|
461
|
-
* @param visibilities List of visibilities which apply to this property.
|
|
462
|
-
* @example
|
|
463
|
-
* ```typespec
|
|
464
|
-
* model Dog {
|
|
465
|
-
* // the service will generate an ID, so you don't need to send it.
|
|
466
|
-
* @visibility("read") id: int32;
|
|
467
|
-
* // the service will store this secret name, but won't ever return it
|
|
468
|
-
* @visibility("create", "update") secretName: string;
|
|
469
|
-
* // the regular name is always present
|
|
470
|
-
* name: string;
|
|
471
|
-
* }
|
|
472
|
-
* ```
|
|
473
|
-
*/
|
|
474
|
-
export type VisibilityDecorator = (context: DecoratorContext, target: ModelProperty, ...visibilities: string[]) => void;
|
|
475
|
-
/**
|
|
476
|
-
* Removes properties that are not considered to be present or applicable
|
|
477
|
-
* ("visible") in the given named contexts ("visibilities"). Can be used
|
|
478
|
-
* together with spread to effectively spread only visible properties into
|
|
479
|
-
* a new model.
|
|
480
|
-
*
|
|
481
|
-
* See also: [Automatic visibility](https://typespec.io/docs/libraries/http/operations#automatic-visibility)
|
|
482
|
-
*
|
|
483
|
-
* When using an emitter that applies visibility automatically, it is generally
|
|
484
|
-
* not necessary to use this decorator.
|
|
485
|
-
*
|
|
486
|
-
* @param visibilities List of visibilities which apply to this property.
|
|
487
|
-
* @example
|
|
488
|
-
* ```typespec
|
|
489
|
-
* model Dog {
|
|
490
|
-
* @visibility("read") id: int32;
|
|
491
|
-
* @visibility("create", "update") secretName: string;
|
|
492
|
-
* name: string;
|
|
493
|
-
* }
|
|
494
|
-
*
|
|
495
|
-
* // The spread operator will copy all the properties of Dog into DogRead,
|
|
496
|
-
* // and @withVisibility will then remove those that are not visible with
|
|
497
|
-
* // create or update visibility.
|
|
498
|
-
* //
|
|
499
|
-
* // In this case, the id property is removed, and the name and secretName
|
|
500
|
-
* // properties are kept.
|
|
501
|
-
* @withVisibility("create", "update")
|
|
502
|
-
* model DogCreateOrUpdate {
|
|
503
|
-
* ...Dog;
|
|
504
|
-
* }
|
|
505
|
-
*
|
|
506
|
-
* // In this case the id and name properties are kept and the secretName property
|
|
507
|
-
* // is removed.
|
|
508
|
-
* @withVisibility("read")
|
|
509
|
-
* model DogRead {
|
|
510
|
-
* ...Dog;
|
|
511
|
-
* }
|
|
512
|
-
* ```
|
|
513
|
-
*/
|
|
514
|
-
export type WithVisibilityDecorator = (context: DecoratorContext, target: Model, ...visibilities: string[]) => void;
|
|
515
459
|
/**
|
|
516
460
|
* Mark this operation as a `list` operation that returns a paginated list of items.
|
|
517
461
|
*/
|
|
@@ -662,18 +606,188 @@ export type InspectTypeDecorator = (context: DecoratorContext, target: Type, tex
|
|
|
662
606
|
* @param text Custom text to log
|
|
663
607
|
*/
|
|
664
608
|
export type InspectTypeNameDecorator = (context: DecoratorContext, target: Type, text: string) => void;
|
|
609
|
+
/**
|
|
610
|
+
* Indicates that a property is only considered to be present or applicable ("visible") with
|
|
611
|
+
* the in the given named contexts ("visibilities"). When a property has no visibilities applied
|
|
612
|
+
* to it, it is implicitly visible always.
|
|
613
|
+
*
|
|
614
|
+
* As far as the TypeSpec core library is concerned, visibilities are open-ended and can be arbitrary
|
|
615
|
+
* strings, but the following visibilities are well-known to standard libraries and should be used
|
|
616
|
+
* with standard emitters that interpret them as follows:
|
|
617
|
+
*
|
|
618
|
+
* - "read": output of any operation.
|
|
619
|
+
* - "create": input to operations that create an entity..
|
|
620
|
+
* - "query": input to operations that read data.
|
|
621
|
+
* - "update": input to operations that update data.
|
|
622
|
+
* - "delete": input to operations that delete data.
|
|
623
|
+
*
|
|
624
|
+
* See also: [Automatic visibility](https://typespec.io/docs/libraries/http/operations#automatic-visibility)
|
|
625
|
+
*
|
|
626
|
+
* @param visibilities List of visibilities which apply to this property.
|
|
627
|
+
* @example
|
|
628
|
+
* ```typespec
|
|
629
|
+
* model Dog {
|
|
630
|
+
* // the service will generate an ID, so you don't need to send it.
|
|
631
|
+
* @visibility(Lifecycle.Read) id: int32;
|
|
632
|
+
* // the service will store this secret name, but won't ever return it
|
|
633
|
+
* @visibility(Lifecycle.Create, Lifecycle.Update) secretName: string;
|
|
634
|
+
* // the regular name is always present
|
|
635
|
+
* name: string;
|
|
636
|
+
* }
|
|
637
|
+
* ```
|
|
638
|
+
*/
|
|
639
|
+
export type VisibilityDecorator = (context: DecoratorContext, target: ModelProperty, ...visibilities: (string | EnumValue)[]) => void;
|
|
640
|
+
/**
|
|
641
|
+
* Indicates that a property is not visible in the given visibility class.
|
|
642
|
+
*
|
|
643
|
+
* This decorator removes all active visibility modifiers from the property within
|
|
644
|
+
* the given visibility class.
|
|
645
|
+
*
|
|
646
|
+
* @param visibilityClass The visibility class to make the property invisible within.
|
|
647
|
+
* @example
|
|
648
|
+
* ```typespec
|
|
649
|
+
* model Example {
|
|
650
|
+
* @invisible(Lifecycle)
|
|
651
|
+
* hidden_property: string;
|
|
652
|
+
* }
|
|
653
|
+
* ```
|
|
654
|
+
*/
|
|
655
|
+
export type InvisibleDecorator = (context: DecoratorContext, target: ModelProperty, visibilityClass: Enum) => void;
|
|
656
|
+
/**
|
|
657
|
+
* Removes visibility modifiers from a property.
|
|
658
|
+
*
|
|
659
|
+
* If the visibility modifiers for a visibility class have not been initialized,
|
|
660
|
+
* this decorator will use the default visibility modifiers for the visibility
|
|
661
|
+
* class as the default modifier set.
|
|
662
|
+
*
|
|
663
|
+
* @param target The property to remove visibility from.
|
|
664
|
+
* @param visibilities The visibility modifiers to remove from the target property.
|
|
665
|
+
* @example
|
|
666
|
+
* ```typespec
|
|
667
|
+
* model Example {
|
|
668
|
+
* // This property will have the Create and Update visibilities, but not the
|
|
669
|
+
* // Read visibility, since it is removed.
|
|
670
|
+
* @removeVisibility(Lifecycle.Read)
|
|
671
|
+
* secret_property: string;
|
|
672
|
+
* }
|
|
673
|
+
* ```
|
|
674
|
+
*/
|
|
675
|
+
export type RemoveVisibilityDecorator = (context: DecoratorContext, target: ModelProperty, ...visibilities: EnumValue[]) => void;
|
|
676
|
+
/**
|
|
677
|
+
* Removes properties that are not considered to be present or applicable
|
|
678
|
+
* ("visible") in the given named contexts ("visibilities"). Can be used
|
|
679
|
+
* together with spread to effectively spread only visible properties into
|
|
680
|
+
* a new model.
|
|
681
|
+
*
|
|
682
|
+
* See also: [Automatic visibility](https://typespec.io/docs/libraries/http/operations#automatic-visibility)
|
|
683
|
+
*
|
|
684
|
+
* When using an emitter that applies visibility automatically, it is generally
|
|
685
|
+
* not necessary to use this decorator.
|
|
686
|
+
*
|
|
687
|
+
* @param visibilities List of visibilities which apply to this property.
|
|
688
|
+
* @example
|
|
689
|
+
* ```typespec
|
|
690
|
+
* model Dog {
|
|
691
|
+
* @visibility("read") id: int32;
|
|
692
|
+
* @visibility("create", "update") secretName: string;
|
|
693
|
+
* name: string;
|
|
694
|
+
* }
|
|
695
|
+
*
|
|
696
|
+
* // The spread operator will copy all the properties of Dog into DogRead,
|
|
697
|
+
* // and @withVisibility will then remove those that are not visible with
|
|
698
|
+
* // create or update visibility.
|
|
699
|
+
* //
|
|
700
|
+
* // In this case, the id property is removed, and the name and secretName
|
|
701
|
+
* // properties are kept.
|
|
702
|
+
* @withVisibility("create", "update")
|
|
703
|
+
* model DogCreateOrUpdate {
|
|
704
|
+
* ...Dog;
|
|
705
|
+
* }
|
|
706
|
+
*
|
|
707
|
+
* // In this case the id and name properties are kept and the secretName property
|
|
708
|
+
* // is removed.
|
|
709
|
+
* @withVisibility("read")
|
|
710
|
+
* model DogRead {
|
|
711
|
+
* ...Dog;
|
|
712
|
+
* }
|
|
713
|
+
* ```
|
|
714
|
+
*/
|
|
715
|
+
export type WithVisibilityDecorator = (context: DecoratorContext, target: Model, ...visibilities: (string | EnumValue)[]) => void;
|
|
665
716
|
/**
|
|
666
717
|
* Sets which visibilities apply to parameters for the given operation.
|
|
667
718
|
*
|
|
668
719
|
* @param visibilities List of visibility strings which apply to this operation.
|
|
669
720
|
*/
|
|
670
|
-
export type ParameterVisibilityDecorator = (context: DecoratorContext, target: Operation, ...visibilities: string[]) => void;
|
|
721
|
+
export type ParameterVisibilityDecorator = (context: DecoratorContext, target: Operation, ...visibilities: (string | EnumValue)[]) => void;
|
|
671
722
|
/**
|
|
672
723
|
* Sets which visibilities apply to the return type for the given operation.
|
|
673
724
|
*
|
|
674
725
|
* @param visibilities List of visibility strings which apply to this operation.
|
|
675
726
|
*/
|
|
676
|
-
export type ReturnTypeVisibilityDecorator = (context: DecoratorContext, target: Operation, ...visibilities: string[]) => void;
|
|
727
|
+
export type ReturnTypeVisibilityDecorator = (context: DecoratorContext, target: Operation, ...visibilities: (string | EnumValue)[]) => void;
|
|
728
|
+
/**
|
|
729
|
+
* Declares the default visibility modifiers for a visibility class.
|
|
730
|
+
*
|
|
731
|
+
* The default modifiers are used when a property does not have any visibility decorators
|
|
732
|
+
* applied to it.
|
|
733
|
+
*
|
|
734
|
+
* The modifiers passed to this decorator _MUST_ be members of the target Enum.
|
|
735
|
+
*
|
|
736
|
+
* @param visibilities the list of modifiers to use as the default visibility modifiers.
|
|
737
|
+
*/
|
|
738
|
+
export type DefaultVisibilityDecorator = (context: DecoratorContext, target: Enum, ...visibilities: EnumValue[]) => void;
|
|
739
|
+
/**
|
|
740
|
+
* Applies the given visibility filter to the properties of the target model.
|
|
741
|
+
*
|
|
742
|
+
* This transformation is recursive, so it will also apply the filter to any nested
|
|
743
|
+
* or referenced models that are the types of any properties in the `target`.
|
|
744
|
+
*
|
|
745
|
+
* @param target The model to apply the visibility filter to.
|
|
746
|
+
* @param filter The visibility filter to apply to the properties of the target model.
|
|
747
|
+
* @example
|
|
748
|
+
* ```typespec
|
|
749
|
+
* model Dog {
|
|
750
|
+
* @visibility(Lifecycle.Read)
|
|
751
|
+
* id: int32;
|
|
752
|
+
*
|
|
753
|
+
* name: string;
|
|
754
|
+
* }
|
|
755
|
+
*
|
|
756
|
+
* @withVisibilityFilter(#{ all: #[Lifecycle.Read] })
|
|
757
|
+
* model DogRead {
|
|
758
|
+
* ...Dog
|
|
759
|
+
* }
|
|
760
|
+
* ```
|
|
761
|
+
*/
|
|
762
|
+
export type WithVisibilityFilterDecorator = (context: DecoratorContext, target: Model, filter: VisibilityFilter) => void;
|
|
763
|
+
/**
|
|
764
|
+
* Transforms the `target` model to include only properties that are visible during the
|
|
765
|
+
* "Update" lifecycle phase.
|
|
766
|
+
*
|
|
767
|
+
* Any nested models of optional properties will be transformed into the "CreateOrUpdate"
|
|
768
|
+
* lifecycle phase instead of the "Update" lifecycle phase, so that nested models may be
|
|
769
|
+
* fully updated.
|
|
770
|
+
*
|
|
771
|
+
* @param target The model to apply the transformation to.
|
|
772
|
+
* @example
|
|
773
|
+
* ```typespec
|
|
774
|
+
* model Dog {
|
|
775
|
+
* @visibility(Lifecycle.Read)
|
|
776
|
+
* id: int32;
|
|
777
|
+
*
|
|
778
|
+
* @visibility(Lifecycle.Create, Lifecycle.Update)
|
|
779
|
+
* secretName: string;
|
|
780
|
+
*
|
|
781
|
+
* name: string;
|
|
782
|
+
* }
|
|
783
|
+
*
|
|
784
|
+
* @withLifecycleUpdate
|
|
785
|
+
* model DogUpdate {
|
|
786
|
+
* ...Dog
|
|
787
|
+
* }
|
|
788
|
+
* ```
|
|
789
|
+
*/
|
|
790
|
+
export type WithLifecycleUpdateDecorator = (context: DecoratorContext, target: Model) => void;
|
|
677
791
|
export type TypeSpecDecorators = {
|
|
678
792
|
encode: EncodeDecorator;
|
|
679
793
|
doc: DocDecorator;
|
|
@@ -710,8 +824,6 @@ export type TypeSpecDecorators = {
|
|
|
710
824
|
discriminator: DiscriminatorDecorator;
|
|
711
825
|
example: ExampleDecorator;
|
|
712
826
|
opExample: OpExampleDecorator;
|
|
713
|
-
visibility: VisibilityDecorator;
|
|
714
|
-
withVisibility: WithVisibilityDecorator;
|
|
715
827
|
list: ListDecorator;
|
|
716
828
|
offset: OffsetDecorator;
|
|
717
829
|
pageIndex: PageIndexDecorator;
|
|
@@ -724,7 +836,14 @@ export type TypeSpecDecorators = {
|
|
|
724
836
|
lastLink: LastLinkDecorator;
|
|
725
837
|
inspectType: InspectTypeDecorator;
|
|
726
838
|
inspectTypeName: InspectTypeNameDecorator;
|
|
839
|
+
visibility: VisibilityDecorator;
|
|
840
|
+
invisible: InvisibleDecorator;
|
|
841
|
+
removeVisibility: RemoveVisibilityDecorator;
|
|
842
|
+
withVisibility: WithVisibilityDecorator;
|
|
727
843
|
parameterVisibility: ParameterVisibilityDecorator;
|
|
728
844
|
returnTypeVisibility: ReturnTypeVisibilityDecorator;
|
|
845
|
+
defaultVisibility: DefaultVisibilityDecorator;
|
|
846
|
+
withVisibilityFilter: WithVisibilityFilterDecorator;
|
|
847
|
+
withLifecycleUpdate: WithLifecycleUpdateDecorator;
|
|
729
848
|
};
|
|
730
849
|
//# sourceMappingURL=TypeSpec.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSpec.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,IAAI,EACJ,SAAS,EACT,SAAS,EACT,KAAK,EACL,aAAa,EACb,SAAS,EACT,OAAO,EACP,SAAS,EACT,MAAM,EACN,IAAI,EACJ,KAAK,EACL,YAAY,EACb,MAAM,
|
|
1
|
+
{"version":3,"file":"TypeSpec.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,IAAI,EACJ,SAAS,EACT,SAAS,EACT,KAAK,EACL,aAAa,EACb,SAAS,EACT,OAAO,EACP,SAAS,EACT,MAAM,EACN,IAAI,EACJ,KAAK,EACL,YAAY,EACb,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,GAAG,CAAC,E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iBAAiB,CAAC;IAC5B,aAAa,EAAE,sBAAsB,CAAC;IACtC,WAAW,EAAE,oBAAoB,CAAC;IAClC,aAAa,EAAE,sBAAsB,CAAC;IACtC,OAAO,EAAE,gBAAgB,CAAC;IAC1B,SAAS,EAAE,kBAAkB,CAAC;IAC9B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,eAAe,CAAC;IACxB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,SAAS,EAAE,kBAAkB,CAAC;IAC9B,iBAAiB,EAAE,0BAA0B,CAAC;IAC9C,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,SAAS,EAAE,kBAAkB,CAAC;IAC9B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,WAAW,EAAE,oBAAoB,CAAC;IAClC,eAAe,EAAE,wBAAwB,CAAC;IAC1C,UAAU,EAAE,mBAAmB,CAAC;IAChC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,gBAAgB,EAAE,yBAAyB,CAAC;IAC5C,cAAc,EAAE,uBAAuB,CAAC;IACxC,mBAAmB,EAAE,4BAA4B,CAAC;IAClD,oBAAoB,EAAE,6BAA6B,CAAC;IACpD,iBAAiB,EAAE,0BAA0B,CAAC;IAC9C,oBAAoB,EAAE,6BAA6B,CAAC;IACpD,mBAAmB,EAAE,4BAA4B,CAAC;CACnD,CAAC"}
|
package/dist/manifest.js
CHANGED
package/dist/src/core/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uCAAuC,CAAC;AACtD,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACL,UAAU,EACV,cAAc,EACd,yBAAyB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wB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uCAAuC,CAAC;AACtD,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACL,UAAU,EACV,cAAc,EACd,yBAAyB,EACzB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,SAAS,GACf,MAAM,kBAAkB,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,EAC7B,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,EAC7B,KAAK,aAAa,GACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,gBAAgB,IAAI,UAAU,EAC9B,qBAAqB,EACrB,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAClD,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC"}
|
package/dist/src/core/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uCAAuC,CAAC;AACtD,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACL,UAAU,EACV,cAAc,EACd,yBAAyB,EACzB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,GAMjB,MAAM,kBAAkB,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,EAC7B,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,GAE9B,MAAM,2BA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AW,EACX,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,EAC7B,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,GAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,gBAAgB,IAAI,UAAU,EAC9B,qBAAqB,EACrB,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAClD,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../../src/core/logger/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../../src/core/logger/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAA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|
983
983
|
};
|
|
984
984
|
};
|
|
985
|
+
readonly "visibility-sealed": {
|
|
986
|
+
readonly severity: "error";
|
|
987
|
+
readonly messages: {
|
|
988
|
+
readonly default: import("./types.js").CallableMessage<["propName"]>;
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
readonly "visibility-mixed-legacy": {
|
|
992
|
+
readonly severity: "error";
|
|
993
|
+
readonly messages: {
|
|
994
|
+
readonly default: "Cannot apply both string (legacy) visibility modifiers and enum-based visibility modifiers to a property.";
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
readonly "default-visibility-not-member": {
|
|
998
|
+
readonly severity: "error";
|
|
999
|
+
readonly messages: {
|
|
1000
|
+
readonly default: "The default visibility modifiers of a class must be members of the class enum.";
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
985
1003
|
readonly "no-compatible-vs-installed": {
|
|
986
1004
|
readonly severity: "error";
|
|
987
1005
|
readonly messages: {
|
|
@@ -1003,7 +1021,7 @@ declare const diagnostics: {
|
|
|
1003
1021
|
};
|
|
1004
1022
|
};
|
|
1005
1023
|
export type CompilerDiagnostics = TypeOfDiagnostics<typeof diagnostics>;
|
|
1006
|
-
export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-expected" | "binary-digit-expected" | "unterminated" | "creating-file" | "invalid-escape-sequence" | "no-new-line-start-triple-quote" | "no-new-line-end-triple-quote" | "triple-quote-indent" | "invalid-character" | "file-not-found" | "file-load" | "init-template-invalid-json" | "init-template-download-failed" | "multiple-blockless-namespace" | "blockless-namespace-first" | "import-first" | "token-expected" | "trailing-token" | "unknown-directive" | "augment-decorator-target" | "duplicate-decorator" | "decorator-conflict" | "reserved-identifier" | "invalid-directive-location" | "invalid-decorator-location" | "invalid-projection" | "default-required" | "invalid-template-argument-name" | "invalid-template-default" | "required-parameter-first" | "rest-parameter-last" | "rest-parameter-required" | "doc-invalid-identifier" | "using-invalid-ref" | "invalid-type-ref" | "invalid-template-args" | "intersect-non-model" | "intersect-invalid-index" | "incompatible-indexer" | "no-array-properties" | "intersect-duplicate-property" | "invalid-decorator" | "invalid-ref" | "duplicate-property" | "override-property-mismatch" | "extend-scalar" | "extend-model" | "is-model" | "is-operation" | "spread-model" | "unsupported-default" | "spread-object" | "expect-value" | "non-callable" | "named-init-required" | "invalid-primitive-init" | "ambiguous-scalar-type" | "unassignable" | "property-unassignable" | "property-required" | "value-in-type" | "no-prop" | "missing-index" | "missing-property" | "unexpected-property" | "extends-interface" | "extends-interface-duplicate" | "interface-duplicate" | "union-duplicate" | "enum-member-duplicate" | "constructor-duplicate" | "spread-enum" | "decorator-fail" | "rest-parameter-array" | "decorator-extern" | "function-extern" | "missing-implementation" | "overload-same-parent" | "shadow" | "invalid-deprecation-argument" | "duplicate-deprecation" | "config-invalid-argument" | "config-circular-variable" | "config-path-absolute" | "config-invalid-name" | "path-unix-style" | "config-path-not-found" | "dynamic-import" | "invalid-import" | "invalid-main" | "import-not-found" | "library-invalid" | "incompatible-library" | "compiler-version-mismatch" | "duplicate-symbol" | "decorator-decl-target" | "projections-are-experimental" | "mixed-string-template" | "non-literal-string-template" | "ambiguous-symbol" | "duplicate-using" | "on-validate-fail" | "invalid-emitter" | "js-error" | "missing-import" | "invalid-rule-ref" | "unknown-rule" | "unknown-rule-set" | "rule-enabled-disabled" | "format-failed" | "decorator-wrong-target" | "invalid-argument" | "invalid-argument-count" | "known-values-invalid-enum" | "invalid-value" | "deprecated" | "no-optional-key" | "invalid-discriminated-union" | "invalid-discriminated-union-variant" | "missing-discriminator-property" | "invalid-discriminator-value" | "invalid-encode" | "invalid-mime-type" | "no-mime-type-suffix" | "encoded-name-conflict" | "incompatible-paging-props" | "invalid-paging-prop" | "duplicate-paging-prop" | "missing-paging-items" | "service-decorator-duplicate" | "list-type-not-model" | "invalid-range" | "add-response" | "add-parameter" | "add-model-property" | "add-model-property-fail" | "add-response-type" | "circular-base-type" | "circular-constraint" | "circular-op-signature" | "circular-alias-type" | "circular-const" | "circular-prop" | "conflict-marker" | "no-compatible-vs-installed" | "vs-extension-windows-only" | "vscode-in-path", M extends keyof {
|
|
1024
|
+
export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-expected" | "binary-digit-expected" | "unterminated" | "creating-file" | "invalid-escape-sequence" | "no-new-line-start-triple-quote" | "no-new-line-end-triple-quote" | "triple-quote-indent" | "invalid-character" | "file-not-found" | "file-load" | "init-template-invalid-json" | "init-template-download-failed" | "multiple-blockless-namespace" | "blockless-namespace-first" | "import-first" | "token-expected" | "trailing-token" | "unknown-directive" | "augment-decorator-target" | "duplicate-decorator" | "decorator-conflict" | "reserved-identifier" | "invalid-directive-location" | "invalid-decorator-location" | "invalid-projection" | "default-required" | "invalid-template-argument-name" | "invalid-template-default" | "required-parameter-first" | "rest-parameter-last" | "rest-parameter-required" | "doc-invalid-identifier" | "using-invalid-ref" | "invalid-type-ref" | "invalid-template-args" | "intersect-non-model" | "intersect-invalid-index" | "incompatible-indexer" | "no-array-properties" | "intersect-duplicate-property" | "invalid-decorator" | "invalid-ref" | "duplicate-property" | "override-property-mismatch" | "extend-scalar" | "extend-model" | "is-model" | "is-operation" | "spread-model" | "unsupported-default" | "spread-object" | "expect-value" | "non-callable" | "named-init-required" | "invalid-primitive-init" | "ambiguous-scalar-type" | "unassignable" | "property-unassignable" | "property-required" | "value-in-type" | "no-prop" | "missing-index" | "missing-property" | "unexpected-property" | "extends-interface" | "extends-interface-duplicate" | "interface-duplicate" | "union-duplicate" | "enum-member-duplicate" | "constructor-duplicate" | "spread-enum" | "decorator-fail" | "rest-parameter-array" | "decorator-extern" | "function-extern" | "missing-implementation" | "overload-same-parent" | "shadow" | "invalid-deprecation-argument" | "duplicate-deprecation" | "config-invalid-argument" | "config-circular-variable" | "config-path-absolute" | "config-invalid-name" | "path-unix-style" | "config-path-not-found" | "dynamic-import" | "invalid-import" | "invalid-main" | "import-not-found" | "library-invalid" | "incompatible-library" | "compiler-version-mismatch" | "duplicate-symbol" | "decorator-decl-target" | "projections-are-experimental" | "mixed-string-template" | "non-literal-string-template" | "ambiguous-symbol" | "duplicate-using" | "on-validate-fail" | "invalid-emitter" | "js-error" | "missing-import" | "invalid-rule-ref" | "unknown-rule" | "unknown-rule-set" | "rule-enabled-disabled" | "format-failed" | "decorator-wrong-target" | "invalid-argument" | "invalid-argument-count" | "known-values-invalid-enum" | "invalid-value" | "deprecated" | "no-optional-key" | "invalid-discriminated-union" | "invalid-discriminated-union-variant" | "missing-discriminator-property" | "invalid-discriminator-value" | "invalid-encode" | "invalid-mime-type" | "no-mime-type-suffix" | "encoded-name-conflict" | "incompatible-paging-props" | "invalid-paging-prop" | "duplicate-paging-prop" | "missing-paging-items" | "service-decorator-duplicate" | "list-type-not-model" | "invalid-range" | "add-response" | "add-parameter" | "add-model-property" | "add-model-property-fail" | "add-response-type" | "circular-base-type" | "circular-constraint" | "circular-op-signature" | "circular-alias-type" | "circular-const" | "circular-prop" | "conflict-marker" | "visibility-sealed" | "visibility-mixed-legacy" | "default-visibility-not-member" | "no-compatible-vs-installed" | "vs-extension-windows-only" | "vscode-in-path", M extends keyof {
|
|
1007
1025
|
"digit-expected": {
|
|
1008
1026
|
readonly default: "Digit expected.";
|
|
1009
1027
|
};
|
|
@@ -1503,6 +1521,15 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
|
|
|
1503
1521
|
"conflict-marker": {
|
|
1504
1522
|
readonly default: "Conflict marker encountered.";
|
|
1505
1523
|
};
|
|
1524
|
+
"visibility-sealed": {
|
|
1525
|
+
readonly default: import("./types.js").CallableMessage<["propName"]>;
|
|
1526
|
+
};
|
|
1527
|
+
"visibility-mixed-legacy": {
|
|
1528
|
+
readonly default: "Cannot apply both string (legacy) visibility modifiers and enum-based visibility modifiers to a property.";
|
|
1529
|
+
};
|
|
1530
|
+
"default-visibility-not-member": {
|
|
1531
|
+
readonly default: "The default visibility modifiers of a class must be members of the class enum.";
|
|
1532
|
+
};
|
|
1506
1533
|
"no-compatible-vs-installed": {
|
|
1507
1534
|
readonly default: "No compatible version of Visual Studio found.";
|
|
1508
1535
|
};
|
|
@@ -2013,6 +2040,15 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
|
|
|
2013
2040
|
"conflict-marker": {
|
|
2014
2041
|
readonly default: "Conflict marker encountered.";
|
|
2015
2042
|
};
|
|
2043
|
+
"visibility-sealed": {
|
|
2044
|
+
readonly default: import("./types.js").CallableMessage<["propName"]>;
|
|
2045
|
+
};
|
|
2046
|
+
"visibility-mixed-legacy": {
|
|
2047
|
+
readonly default: "Cannot apply both string (legacy) visibility modifiers and enum-based visibility modifiers to a property.";
|
|
2048
|
+
};
|
|
2049
|
+
"default-visibility-not-member": {
|
|
2050
|
+
readonly default: "The default visibility modifiers of a class must be members of the class enum.";
|
|
2051
|
+
};
|
|
2016
2052
|
"no-compatible-vs-installed": {
|
|
2017
2053
|
readonly default: "No compatible version of Visual Studio found.";
|
|
2018
2054
|
};
|
|
@@ -2023,7 +2059,7 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
|
|
|
2023
2059
|
readonly default: "Couldn't find VS Code 'code' command in PATH. Make sure you have the VS Code executable added to the system PATH.";
|
|
2024
2060
|
readonly osx: "Couldn't find VS Code 'code' command in PATH. Make sure you have the VS Code executable added to the system PATH.\nSee instruction for Mac OS here https://code.visualstudio.com/docs/setup/mac";
|
|
2025
2061
|
};
|
|
2026
|
-
}, C, M>) => import("./types.js").Diagnostic, reportDiagnostic: <C extends "digit-expected" | "hex-digit-expected" | "binary-digit-expected" | "unterminated" | "creating-file" | "invalid-escape-sequence" | "no-new-line-start-triple-quote" | "no-new-line-end-triple-quote" | "triple-quote-indent" | "invalid-character" | "file-not-found" | "file-load" | "init-template-invalid-json" | "init-template-download-failed" | "multiple-blockless-namespace" | "blockless-namespace-first" | "import-first" | "token-expected" | "trailing-token" | "unknown-directive" | "augment-decorator-target" | "duplicate-decorator" | "decorator-conflict" | "reserved-identifier" | "invalid-directive-location" | "invalid-decorator-location" | "invalid-projection" | "default-required" | "invalid-template-argument-name" | "invalid-template-default" | "required-parameter-first" | "rest-parameter-last" | "rest-parameter-required" | "doc-invalid-identifier" | "using-invalid-ref" | "invalid-type-ref" | "invalid-template-args" | "intersect-non-model" | "intersect-invalid-index" | "incompatible-indexer" | "no-array-properties" | "intersect-duplicate-property" | "invalid-decorator" | "invalid-ref" | "duplicate-property" | "override-property-mismatch" | "extend-scalar" | "extend-model" | "is-model" | "is-operation" | "spread-model" | "unsupported-default" | "spread-object" | "expect-value" | "non-callable" | "named-init-required" | "invalid-primitive-init" | "ambiguous-scalar-type" | "unassignable" | "property-unassignable" | "property-required" | "value-in-type" | "no-prop" | "missing-index" | "missing-property" | "unexpected-property" | "extends-interface" | "extends-interface-duplicate" | "interface-duplicate" | "union-duplicate" | "enum-member-duplicate" | "constructor-duplicate" | "spread-enum" | "decorator-fail" | "rest-parameter-array" | "decorator-extern" | "function-extern" | "missing-implementation" | "overload-same-parent" | "shadow" | "invalid-deprecation-argument" | "duplicate-deprecation" | "config-invalid-argument" | "config-circular-variable" | "config-path-absolute" | "config-invalid-name" | "path-unix-style" | "config-path-not-found" | "dynamic-import" | "invalid-import" | "invalid-main" | "import-not-found" | "library-invalid" | "incompatible-library" | "compiler-version-mismatch" | "duplicate-symbol" | "decorator-decl-target" | "projections-are-experimental" | "mixed-string-template" | "non-literal-string-template" | "ambiguous-symbol" | "duplicate-using" | "on-validate-fail" | "invalid-emitter" | "js-error" | "missing-import" | "invalid-rule-ref" | "unknown-rule" | "unknown-rule-set" | "rule-enabled-disabled" | "format-failed" | "decorator-wrong-target" | "invalid-argument" | "invalid-argument-count" | "known-values-invalid-enum" | "invalid-value" | "deprecated" | "no-optional-key" | "invalid-discriminated-union" | "invalid-discriminated-union-variant" | "missing-discriminator-property" | "invalid-discriminator-value" | "invalid-encode" | "invalid-mime-type" | "no-mime-type-suffix" | "encoded-name-conflict" | "incompatible-paging-props" | "invalid-paging-prop" | "duplicate-paging-prop" | "missing-paging-items" | "service-decorator-duplicate" | "list-type-not-model" | "invalid-range" | "add-response" | "add-parameter" | "add-model-property" | "add-model-property-fail" | "add-response-type" | "circular-base-type" | "circular-constraint" | "circular-op-signature" | "circular-alias-type" | "circular-const" | "circular-prop" | "conflict-marker" | "no-compatible-vs-installed" | "vs-extension-windows-only" | "vscode-in-path", M extends keyof {
|
|
2062
|
+
}, C, M>) => import("./types.js").Diagnostic, reportDiagnostic: <C extends "digit-expected" | "hex-digit-expected" | "binary-digit-expected" | "unterminated" | "creating-file" | "invalid-escape-sequence" | "no-new-line-start-triple-quote" | "no-new-line-end-triple-quote" | "triple-quote-indent" | "invalid-character" | "file-not-found" | "file-load" | "init-template-invalid-json" | "init-template-download-failed" | "multiple-blockless-namespace" | "blockless-namespace-first" | "import-first" | "token-expected" | "trailing-token" | "unknown-directive" | "augment-decorator-target" | "duplicate-decorator" | "decorator-conflict" | "reserved-identifier" | "invalid-directive-location" | "invalid-decorator-location" | "invalid-projection" | "default-required" | "invalid-template-argument-name" | "invalid-template-default" | "required-parameter-first" | "rest-parameter-last" | "rest-parameter-required" | "doc-invalid-identifier" | "using-invalid-ref" | "invalid-type-ref" | "invalid-template-args" | "intersect-non-model" | "intersect-invalid-index" | "incompatible-indexer" | "no-array-properties" | "intersect-duplicate-property" | "invalid-decorator" | "invalid-ref" | "duplicate-property" | "override-property-mismatch" | "extend-scalar" | "extend-model" | "is-model" | "is-operation" | "spread-model" | "unsupported-default" | "spread-object" | "expect-value" | "non-callable" | "named-init-required" | "invalid-primitive-init" | "ambiguous-scalar-type" | "unassignable" | "property-unassignable" | "property-required" | "value-in-type" | "no-prop" | "missing-index" | "missing-property" | "unexpected-property" | "extends-interface" | "extends-interface-duplicate" | "interface-duplicate" | "union-duplicate" | "enum-member-duplicate" | "constructor-duplicate" | "spread-enum" | "decorator-fail" | "rest-parameter-array" | "decorator-extern" | "function-extern" | "missing-implementation" | "overload-same-parent" | "shadow" | "invalid-deprecation-argument" | "duplicate-deprecation" | "config-invalid-argument" | "config-circular-variable" | "config-path-absolute" | "config-invalid-name" | "path-unix-style" | "config-path-not-found" | "dynamic-import" | "invalid-import" | "invalid-main" | "import-not-found" | "library-invalid" | "incompatible-library" | "compiler-version-mismatch" | "duplicate-symbol" | "decorator-decl-target" | "projections-are-experimental" | "mixed-string-template" | "non-literal-string-template" | "ambiguous-symbol" | "duplicate-using" | "on-validate-fail" | "invalid-emitter" | "js-error" | "missing-import" | "invalid-rule-ref" | "unknown-rule" | "unknown-rule-set" | "rule-enabled-disabled" | "format-failed" | "decorator-wrong-target" | "invalid-argument" | "invalid-argument-count" | "known-values-invalid-enum" | "invalid-value" | "deprecated" | "no-optional-key" | "invalid-discriminated-union" | "invalid-discriminated-union-variant" | "missing-discriminator-property" | "invalid-discriminator-value" | "invalid-encode" | "invalid-mime-type" | "no-mime-type-suffix" | "encoded-name-conflict" | "incompatible-paging-props" | "invalid-paging-prop" | "duplicate-paging-prop" | "missing-paging-items" | "service-decorator-duplicate" | "list-type-not-model" | "invalid-range" | "add-response" | "add-parameter" | "add-model-property" | "add-model-property-fail" | "add-response-type" | "circular-base-type" | "circular-constraint" | "circular-op-signature" | "circular-alias-type" | "circular-const" | "circular-prop" | "conflict-marker" | "visibility-sealed" | "visibility-mixed-legacy" | "default-visibility-not-member" | "no-compatible-vs-installed" | "vs-extension-windows-only" | "vscode-in-path", M extends keyof {
|
|
2027
2063
|
"digit-expected": {
|
|
2028
2064
|
readonly default: "Digit expected.";
|
|
2029
2065
|
};
|
|
@@ -2523,6 +2559,15 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
|
|
|
2523
2559
|
"conflict-marker": {
|
|
2524
2560
|
readonly default: "Conflict marker encountered.";
|
|
2525
2561
|
};
|
|
2562
|
+
"visibility-sealed": {
|
|
2563
|
+
readonly default: import("./types.js").CallableMessage<["propName"]>;
|
|
2564
|
+
};
|
|
2565
|
+
"visibility-mixed-legacy": {
|
|
2566
|
+
readonly default: "Cannot apply both string (legacy) visibility modifiers and enum-based visibility modifiers to a property.";
|
|
2567
|
+
};
|
|
2568
|
+
"default-visibility-not-member": {
|
|
2569
|
+
readonly default: "The default visibility modifiers of a class must be members of the class enum.";
|
|
2570
|
+
};
|
|
2526
2571
|
"no-compatible-vs-installed": {
|
|
2527
2572
|
readonly default: "No compatible version of Visual Studio found.";
|
|
2528
2573
|
};
|
|
@@ -3033,6 +3078,15 @@ export declare const createDiagnostic: <C extends "digit-expected" | "hex-digit-
|
|
|
3033
3078
|
"conflict-marker": {
|
|
3034
3079
|
readonly default: "Conflict marker encountered.";
|
|
3035
3080
|
};
|
|
3081
|
+
"visibility-sealed": {
|
|
3082
|
+
readonly default: import("./types.js").CallableMessage<["propName"]>;
|
|
3083
|
+
};
|
|
3084
|
+
"visibility-mixed-legacy": {
|
|
3085
|
+
readonly default: "Cannot apply both string (legacy) visibility modifiers and enum-based visibility modifiers to a property.";
|
|
3086
|
+
};
|
|
3087
|
+
"default-visibility-not-member": {
|
|
3088
|
+
readonly default: "The default visibility modifiers of a class must be members of the class enum.";
|
|
3089
|
+
};
|
|
3036
3090
|
"no-compatible-vs-installed": {
|
|
3037
3091
|
readonly default: "No compatible version of Visual Studio found.";
|
|
3038
3092
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/core/messages.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,QAAA,MAAM,WAAW;IACf;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0EH;;OAEG;;;;;;;;;;;;;IAcH;;OAEG;;;;;;;;;;;;;IAcH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyC,CAAC"}
|
|
@@ -984,6 +984,26 @@ const diagnostics = {
|
|
|
984
984
|
default: "Conflict marker encountered.",
|
|
985
985
|
},
|
|
986
986
|
},
|
|
987
|
+
// #region Visibility
|
|
988
|
+
"visibility-sealed": {
|
|
989
|
+
severity: "error",
|
|
990
|
+
messages: {
|
|
991
|
+
default: paramMessage `Visibility of property '${"propName"}' is sealed and cannot be changed.`,
|
|
992
|
+
},
|
|
993
|
+
},
|
|
994
|
+
"visibility-mixed-legacy": {
|
|
995
|
+
severity: "error",
|
|
996
|
+
messages: {
|
|
997
|
+
default: "Cannot apply both string (legacy) visibility modifiers and enum-based visibility modifiers to a property.",
|
|
998
|
+
},
|
|
999
|
+
},
|
|
1000
|
+
"default-visibility-not-member": {
|
|
1001
|
+
severity: "error",
|
|
1002
|
+
messages: {
|
|
1003
|
+
default: "The default visibility modifiers of a class must be members of the class enum.",
|
|
1004
|
+
},
|
|
1005
|
+
},
|
|
1006
|
+
// #endregion
|
|
987
1007
|
// #region CLI
|
|
988
1008
|
"no-compatible-vs-installed": {
|
|
989
1009
|
severity: "error",
|