mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-19 00:41:31 +00:00
add feedback policies integration with copilot (#1745)
* add feedback policies integration with copilot * remove teaching bubble and welcome modal * force prod phoenix endpoint in MPAC * force prod phoenix endpoint in MPAC
This commit is contained in:
@@ -53,6 +53,21 @@ interface FabricContext {
|
||||
isReadOnly: boolean;
|
||||
}
|
||||
|
||||
export type AdminFeedbackControlPolicy =
|
||||
| "connectedExperiences"
|
||||
| "policyAllowFeedback"
|
||||
| "policyAllowSurvey"
|
||||
| "policyAllowScreenshot"
|
||||
| "policyAllowContact"
|
||||
| "policyAllowContent"
|
||||
| "policyEmailCollectionDefault"
|
||||
| "policyScreenshotDefault"
|
||||
| "policyContentSamplesDefault";
|
||||
|
||||
export type AdminFeedbackPolicySettings = {
|
||||
[key in AdminFeedbackControlPolicy]: boolean;
|
||||
};
|
||||
|
||||
interface UserContext {
|
||||
readonly fabricContext?: FabricContext;
|
||||
readonly authType?: AuthType;
|
||||
@@ -84,6 +99,7 @@ interface UserContext {
|
||||
collectionCreationDefaults: CollectionCreationDefaults;
|
||||
sampleDataConnectionInfo?: ParsedResourceTokenConnectionString;
|
||||
readonly vcoreMongoConnectionParams?: VCoreMongoConnectionParams;
|
||||
readonly feedbackPolicies?: AdminFeedbackPolicySettings;
|
||||
}
|
||||
|
||||
export type ApiType = "SQL" | "Mongo" | "Gremlin" | "Tables" | "Cassandra" | "Postgres" | "VCoreMongo";
|
||||
|
||||
Reference in New Issue
Block a user