@schemastore/vs-2017.3.host 0.0.3 → 0.0.5

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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2 -2
  3. package/index.d.ts +127 -26
  4. package/package.json +4 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Florian Imdahl. All rights reserved.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
package/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
  This package contains type definitions for vs-2017.3.host.
6
6
 
7
7
  ## Details
8
- Files were exported from https://github.com/ffflorian/schemastore-updater/tree/master/schemas/vs-2017.3.host.
8
+ Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/vs-2017.3.host.
9
9
 
10
10
  ## Additional Details
11
- * Last updated: Thu, Jul 25, 2019, 17:59:05 GMT
11
+ * Last updated: Fri, Feb 24, 2023, 11:23:42 GMT
12
12
  * Dependencies: none
package/index.d.ts CHANGED
@@ -1,11 +1,40 @@
1
- /* tslint:disable */
1
+ /* eslint-disable */
2
2
  /**
3
3
  * This file was automatically generated by json-schema-to-typescript.
4
4
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
- export interface JSONSchemaForVisualStudioTemplateHostFiles {
8
+ export type JSONSchemaForIDETemplateHostFiles = JSONSchemaForIDETemplateHostFiles1;
9
+ export type SymbolInfo = OverrideInfo & {
10
+ /**
11
+ * Should be shown in the IDE. If not specified, defaults value is the value specified by defaultSymbolVisibility.
12
+ */
13
+ isVisible?: boolean;
14
+ /**
15
+ * If the referenced symbol should be shown in the IDE.
16
+ */
17
+ invertBoolean?: boolean;
18
+ /**
19
+ * Overrides the default value specified for the
20
+ */
21
+ defaultValue?: string;
22
+ /**
23
+ * Determines if the user entered value should be persisted and used the next time a template is selected. Default value is the value specified by defaultSymbolVisibility Used starting in Visual Studio 2022 17.3
24
+ */
25
+ persistenceScope?: "none" | "templateGroup" | "shared";
26
+ /**
27
+ * Specifies the scope name of the persisted template option. To avoid conflicts with other templates, treat this like a namespace. Used starting in Visual Studio 2022 17.3
28
+ */
29
+ persistenceScopeName?: string;
30
+ /**
31
+ * Specifies the name and description overrides for individual choice parameters
32
+ */
33
+ choices?: OverrideInfo[];
34
+ [k: string]: unknown;
35
+ };
36
+
37
+ export interface JSONSchemaForIDETemplateHostFiles1 {
9
38
  /**
10
39
  * Name of the template
11
40
  */
@@ -22,39 +51,111 @@ export interface JSONSchemaForVisualStudioTemplateHostFiles {
22
51
  * The relative file name of the icon to show in the New Project dialog
23
52
  */
24
53
  icon?: string;
25
- /**
26
- * A link to a webpage containing information about the template
27
- */
28
- learnMoreLink?: string;
29
- uiFilters?: ("oneaspnet" | string)[];
30
54
  /**
31
55
  * Determines if the checkbox for adding Docker support in the New Project dialog should be visible
32
56
  */
33
57
  supportsDocker?: boolean;
34
- isApi?: boolean;
35
- isOidc?: boolean;
36
- legacyTemplateIdentity?: string;
37
- supportedAuthentications?: Authentication[];
38
- includeLaunchSettings?: boolean;
39
- azureReplyUrlPortName?: string;
40
- ports?: Port[];
41
- [k: string]: any;
58
+ /**
59
+ * The symbol in the template.json which when set, would cause the template to generate non-https ports and settings
60
+ */
61
+ disableHttpsSymbol?: string;
62
+ /**
63
+ * Sets the default isVisible for a symbolInfo if not explictly specified. Controls if the parameter is displayed in the IDE. Defaults to false if not specified
64
+ */
65
+ defaultSymbolVisibility?: boolean;
66
+ /**
67
+ * The dafault value for a symbolInfo if not explictly specified. Determines if the user entered value should be persisted and used the next time a template is selected. Used starting in Visual Studio 2022 17.3
68
+ */
69
+ defaultPersistenceScope?: "none" | "templateGroup" | "shared";
70
+ /**
71
+ * The dafault value for a symbolInfo if not explictly specified. Specifies the scope name of the persisted template option. To avoid conflicts with other templates, treat this like a namespace. Used starting in Visual Studio 2022 17.3
72
+ */
73
+ defaultPersistenceScopeName?: string;
74
+ /**
75
+ * Controls display characteristics of symbols declared in template.json
76
+ */
77
+ symbolInfo?: SymbolInfo[];
78
+ /**
79
+ * Modifigy the project and platform tags displayed in the IDE
80
+ */
81
+ tags?: Tags[];
82
+ /**
83
+ * Unsuppored Hosts. This can be used to supress the template from being displayed in the new project dialog in Visual Studio.
84
+ */
85
+ unsupportedHosts?: UnsupportedHost[];
86
+ /**
87
+ * Required components in order to display this template.
88
+ */
89
+ requiredComponents?: RequiredComponent[];
90
+ [k: string]: unknown;
42
91
  }
43
92
  export interface Text {
44
93
  text: string;
45
94
  package?: string;
46
95
  id?: string;
47
- [k: string]: any;
96
+ [k: string]: unknown;
97
+ }
98
+ export interface OverrideInfo {
99
+ /**
100
+ * The id of the symbol from the template.json.
101
+ */
102
+ id: string;
103
+ /**
104
+ * Overrides the name specified in the template.json
105
+ */
106
+ name?: Text;
107
+ /**
108
+ * Overrides the name specified in the template.json
109
+ */
110
+ description?: Text;
111
+ [k: string]: unknown;
112
+ }
113
+ export interface Tags {
114
+ /**
115
+ * The tag to modify
116
+ */
117
+ type: "platform" | "projectType";
118
+ /**
119
+ * Tags to add
120
+ */
121
+ add?: string[];
122
+ /**
123
+ * Tags to remove. * can be specified to remove all tags specified in template.json
124
+ */
125
+ remove?: string[];
126
+ [k: string]: unknown;
48
127
  }
49
- export interface Authentication {
50
- auth: "None" | "Individual" | "SingleOrg" | "MultiOrg" | "Windows";
51
- authenticationType: "NoAuth" | "IndividualAuth" | "OrgAuth" | "WindowsAuth";
52
- orgAuthenticationOptions?: "SSO" | "MultiOrg";
53
- b2cAuthenticationOptions?: "Local" | "CloudExisting";
54
- [k: string]: any;
128
+ export interface UnsupportedHost {
129
+ /**
130
+ * The host identifier.
131
+ */
132
+ id: "vs";
133
+ /**
134
+ * A version range specifying the unsupported host versions. This uses the nuget package format.
135
+ */
136
+ version?: {
137
+ [k: string]: unknown;
138
+ };
139
+ [k: string]: unknown;
55
140
  }
56
- export interface Port {
57
- name: string;
58
- useHttps: boolean;
59
- [k: string]: any;
141
+ /**
142
+ * To require a particular host version specify the hostId and optionally version only. To require a particular SetupComponent or Extension, specify the ID and set the componentType appropriately. Version range is optional.
143
+ */
144
+ export interface RequiredComponent {
145
+ /**
146
+ * The id of the component
147
+ */
148
+ id?: string;
149
+ /**
150
+ * The host id that the component applies to
151
+ */
152
+ hostId: "vs";
153
+ componentType?: "setupComponent" | "extension";
154
+ /**
155
+ * A version range specifying the required version range. This uses the nuget package format.
156
+ */
157
+ version?: {
158
+ [k: string]: unknown;
159
+ };
160
+ [k: string]: unknown;
60
161
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
- "author": "Florian Keller <github@floriankeller.de>",
2
+ "author": "Florian Imdahl <git@ffflorian.de>",
3
3
  "dependencies": {},
4
4
  "description": "TypeScript definitions for vs-2017.3.host.",
5
5
  "license": "MIT",
6
6
  "main": "index.d.ts",
7
7
  "name": "@schemastore/vs-2017.3.host",
8
- "repository": "https://github.com/ffflorian/schemastore-updater/tree/master/schemas/vs-2017.3.host",
8
+ "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/vs-2017.3.host",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "e46bdf556074586d3b0a39871f3456e24a29805709c60805739d7f5a3a4a411b",
10
+ "typesPublisherContentHash": "db21dd1cfe78cf8ddb12fdd6e9c26bc982354fd623f0a7794125f14703f5996d",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.3",
12
+ "version": "0.0.5",
13
13
  "typeScriptVersion": "2.2"
14
14
  }