@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.
- package/LICENSE +21 -0
- package/README.md +2 -2
- package/index.d.ts +127 -26
- 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/
|
|
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:
|
|
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
|
-
/*
|
|
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
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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]:
|
|
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
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
|
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/
|
|
8
|
+
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/vs-2017.3.host",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"typesPublisherContentHash": "
|
|
10
|
+
"typesPublisherContentHash": "db21dd1cfe78cf8ddb12fdd6e9c26bc982354fd623f0a7794125f14703f5996d",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.5",
|
|
13
13
|
"typeScriptVersion": "2.2"
|
|
14
14
|
}
|