-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathecsFeatureGates.ts
More file actions
122 lines (110 loc) · 3.23 KB
/
ecsFeatureGates.ts
File metadata and controls
122 lines (110 loc) · 3.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import { COPILOT_GOVERNANCE_SETTING_NAME, PowerPagesClientName } from './constants';
import { getFeatureConfigs } from './ecsFeatureUtil';
export const {
feature: EnableMultifileVscodeWeb
} = getFeatureConfigs({
teamName: PowerPagesClientName,
description: 'Enable multiple file view in Visual Studio Code Web',
fallback: {
enableMultifileVscodeWeb: false,
},
});
export const {
feature: CopilotDisableList
} = getFeatureConfigs({
teamName: PowerPagesClientName,
description: 'Disable Copilot',
fallback: {
disallowedProDevCopilotTenants: "f25493ae-1c98-41d7-8a33-0be75f5fe603",
disallowedProDevCopilotOrgs: "",
},
});
export const {
feature: EnableProDevCopilot
} = getFeatureConfigs({
teamName: PowerPagesClientName,
description: 'Enable ProDev Copilot',
fallback: {
"capiSupportedProDevCopilotGeoList": "us,au,uk,eu,in",
"unsupportedProDevCopilotGeoList": "ca",
"capiSupportedProDevCopilotGeoWithCrossGeoDataFlow": "eu,se,ch,fr,de,no"
},
});
export const {
feature: EnableProdevCopilotGovernanceCheck
} = getFeatureConfigs({
teamName: PowerPagesClientName,
description: 'Enable Copilot Governance Check for Pro Dev Copilot',
fallback: {
enableProdevCopilotGovernanceCheck: false,
copilotGovernanceSetting: COPILOT_GOVERNANCE_SETTING_NAME
},
});
export const {
feature: EnablePowerPagesGitHubCopilot
} = getFeatureConfigs({
teamName: PowerPagesClientName,
description: 'Enable Power Pages GitHub Copilot',
fallback: {
enablePowerpagesInGithubCopilot: false,
},
});
export const {
feature: EnableSiteRuntimePreview
} = getFeatureConfigs({
teamName: PowerPagesClientName,
description: 'Enable Site Runtime Preview in VS Code Desktop',
fallback: {
enableSiteRuntimePreview: false,
},
});
export const {
feature: EnableActionsHub
} = getFeatureConfigs({
teamName: PowerPagesClientName,
description: 'Enable Actions Hub Panel in VS Code Desktop',
fallback: {
enableActionsHub: true,
},
});
export const {
feature: EnableServerLogicChanges
} = getFeatureConfigs({
teamName: PowerPagesClientName,
description: 'Enable Server Logic Changes in VSCode (web & desktop)',
fallback: {
enableServerLogicChanges: false,
},
})
export const {
feature: EnableCodeQlScan
} = getFeatureConfigs({
teamName: PowerPagesClientName,
description: 'Enable CodeQl Scan in VSCode Desktop',
fallback: {
enableCodeQlScan: false,
}
})
export const {
feature: EnableOpenInDesktop
} = getFeatureConfigs({
teamName: PowerPagesClientName,
description: 'Enable Open in Desktop functionality in VSCode Web',
fallback: {
enableOpenInDesktop: false,
}
});
export const {
feature: EnableDuplicateFileHandling
} = getFeatureConfigs({
teamName: PowerPagesClientName,
description: 'Enable duplicate file handling for webpage folders',
fallback: {
enableDuplicateFileHandling: true,
disallowedDuplicateFileHandlingOrgs: "",
}
});