Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat(api): add export destination protos (#21710)

p0nye9e4ab0a22d3
diff --git a/backend/api/mcp/gen/openapi.yaml b/backend/api/mcp/gen/openapi.yaml
index 7503f263ff..034280ca13 100644
--- a/backend/api/mcp/gen/openapi.yaml
+++ b/backend/api/mcp/gen/openapi.yaml
@@ -13464,6 +13464,14 @@ components:
title: ExportAuditLogsResponse
additionalProperties: false
description: Response message for exporting audit logs.
+ bytebase.v1.ExportDestination:
+ type: string
+ title: ExportDestination
+ enum:
+ - EXPORT_DESTINATION_UNSPECIFIED
+ - DOWNLOAD
+ - SHAREPOINT
+ description: Where an export goes. Values are added as destinations are supported.
bytebase.v1.ExportFormat:
type: string
title: ExportFormat
@@ -13533,6 +13541,13 @@ components:
description: |-
Container is the container name to execute the query against, used for
CosmosDB only.
+ destination:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.ExportDestination'
+ title: destination
+ description: |-
+ Where the export goes. A destination the workspace query data policy
+ does not allow is rejected with FAILED_PRECONDITION.
title: ExportRequest
required:
- name
@@ -13552,8 +13567,26 @@ components:
The just-in-time access grant applied to this export, if any.
Format: projects/{project}/accessGrants/{accessGrant}.
Empty when the user was authorized through normal ACL rather than a grant.
+ uri:
+ type: string
+ title: uri
+ description: |-
+ Set when the export was sent to an export destination: the absolute
+ location of the folder or key prefix created for this export, for example
+ https://… for SharePoint or s3://bucket/prefix for S3. content is then empty.
title: ExportResponse
additionalProperties: false
+ bytebase.v1.ExportSetting:
+ type: object
+ properties:
+ sharepoint:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.SharePointSetting'
+ title: sharepoint
+ description: Unset when SharePoint is not configured.
+ title: ExportSetting
+ additionalProperties: false
+ description: ExportSetting holds each export destination provider's credentials.
bytebase.v1.ExportVCSProviderUsersRequest:
type: object
title: ExportVCSProviderUsersRequest
@@ -18153,6 +18186,7 @@ components:
- FEATURE_COMMUNITY_SUPPORT
- FEATURE_EMAIL_SUPPORT
- FEATURE_DEDICATED_SUPPORT_WITH_SLA
+ - FEATURE_SHAREPOINT_EXPORT
description: PlanFeature represents the available features in Bytebase
bytebase.v1.PlanLimitConfig:
type: object
@@ -18544,6 +18578,11 @@ components:
type: boolean
title: allow_last_plan_editor_approval
description: Whether to allow the last Plan editor to approve a database change issue.
+ exportSetting:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.Project.ExportSetting'
+ title: export_setting
+ description: Export configuration for this project.
title: Project
additionalProperties: false
bytebase.v1.Project.ExecutionRetryPolicy:
@@ -18557,6 +18596,17 @@ components:
title: ExecutionRetryPolicy
additionalProperties: false
description: Execution retry policy configuration.
+ bytebase.v1.Project.ExportSetting:
+ type: object
+ properties:
+ sharepoint:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.SharePointDestination'
+ title: sharepoint
+ description: Unset when the project has no SharePoint destination.
+ title: ExportSetting
+ additionalProperties: false
+ description: Destinations offered for this project's exports, at most one per provider.
bytebase.v1.PurchaseBillingMethod:
type: object
properties:
@@ -18693,6 +18743,13 @@ components:
If false,
1. when read-only data source is configured, users're force to use the read-only data source
2. otherwise fallback to use the admin data source.
+ disableDownload:
+ type: boolean
+ title: disable_download
+ description: |-
+ workspace-level policy
+ Disable the Download export destination. Exports can still go to a
+ configured storage destination such as SharePoint.
title: QueryDataPolicy
additionalProperties: false
description: QueryDataPolicy is the policy configuration for querying data in the SQL Editor.
@@ -21460,6 +21517,7 @@ components:
- ENVIRONMENT
- EMAIL
- MCP
+ - EXPORT
bytebase.v1.SettingValue:
type: object
anyOf:
@@ -21498,6 +21556,13 @@ components:
- $ref: '#/components/schemas/bytebase.v1.EnvironmentSetting'
title: environment
title: environment
+ - type: object
+ properties:
+ export:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.ExportSetting'
+ title: export
+ title: export
- type: object
properties:
mcp:
@@ -21540,6 +21605,8 @@ components:
- email
- required:
- environment
+ - required:
+ - export
- required:
- mcp
- required:
@@ -21560,6 +21627,8 @@ components:
- email
- required:
- environment
+ - required:
+ - export
- required:
- mcp
- required:
@@ -21570,6 +21639,45 @@ components:
- workspaceProfile
title: SettingValue
description: The data in setting value.
+ bytebase.v1.SharePointDestination:
+ type: object
+ properties:
+ url:
+ type: string
+ title: url
+ description: |-
+ The URL of the library root or folder. Normalized to its canonical form
+ and resolved with the workspace credentials on save.
+ title: SharePointDestination
+ additionalProperties: false
+ description: A SharePoint document library root or folder that receives exports.
+ bytebase.v1.SharePointSetting:
+ type: object
+ properties:
+ tenantId:
+ type: string
+ title: tenant_id
+ description: The Microsoft Entra tenant (directory) ID.
+ clientId:
+ type: string
+ title: client_id
+ description: The application (client) ID.
+ clientSecret:
+ type: string
+ title: client_secret
+ description: The client secret. It is never returned.
+ writeOnly: true
+ clientSecretSet:
+ type: boolean
+ title: client_secret_set
+ description: Whether a client secret is stored.
+ readOnly: true
+ title: SharePointSetting
+ additionalProperties: false
+ description: |-
+ SharePointSetting is the Microsoft Entra application that uploads exports to
+ SharePoint. It is granted access per library by the customer's SharePoint
+ administrators.
bytebase.v1.Sheet:
type: object
properties:
@@ -25305,10 +25413,15 @@ components:
enum:
- NULL_VALUE
description: |-
- `NullValue` is a singleton enumeration to represent the null value for the
- `Value` type union.
+ Represents a JSON `null`.
+
+ `NullValue` is a sentinel, using an enum with only one value to represent
+ the null value for the `Value` type union.
- The JSON representation for `NullValue` is JSON `null`.
+ A field of type `NullValue` with any value other than `0` is considered
+ invalid. Most ProtoJSON serializers will emit a `Value` with a `null_value`
+ set as a JSON `null` regardless of the integer value, and so will round trip
+ to a `0` value.
google.protobuf.Struct:
type: object
additionalProperties:
diff --git a/backend/api/v1/audit_redact_inventory_test.go b/backend/api/v1/audit_redact_inventory_test.go
index 5e2e9ffc72..b7e5fa6c8b 100644
--- a/backend/api/v1/audit_redact_inventory_test.go
+++ b/backend/api/v1/audit_redact_inventory_test.go
@@ -461,6 +461,7 @@ var auditRecordedFields = []string{
"bytebase.v1.ExportRequest.schema",
"bytebase.v1.ExportRequest.statement",
"bytebase.v1.ExportResponse.applied_access_grant",
+ "bytebase.v1.ExportResponse.uri",
"bytebase.v1.ExtensionMetadata.description",
"bytebase.v1.ExtensionMetadata.name",
"bytebase.v1.ExtensionMetadata.schema",
@@ -914,6 +915,9 @@ var auditRecordedFields = []string{
"bytebase.v1.SetIamPolicyRequest.resource",
"bytebase.v1.SetSavedQueryPolicyRequest.resource",
"bytebase.v1.Setting.name",
+ "bytebase.v1.SharePointDestination.url",
+ "bytebase.v1.SharePointSetting.client_id",
+ "bytebase.v1.SharePointSetting.tenant_id",
"bytebase.v1.Sheet.name",
"bytebase.v1.SignupRequest.email",
"bytebase.v1.SignupRequest.title",
diff --git a/backend/api/v1/setting_service_converter.go b/backend/api/v1/setting_service_converter.go
index 1de6adc1c6..88d2ce56e9 100644
--- a/backend/api/v1/setting_service_converter.go
+++ b/backend/api/v1/setting_service_converter.go
@@ -192,6 +192,8 @@ func convertStoreSettingNameToV1(storeName storepb.SettingName) v1pb.Setting_Set
return v1pb.Setting_MCP
case storepb.SettingName_SYSTEM:
// Backend-only setting, not exposed in v1 API
+ case storepb.SettingName_EXPORT:
+ // Not served until its value conversion exists.
default:
}
return v1pb.Setting_SETTING_NAME_UNSPECIFIED
@@ -221,6 +223,9 @@ func convertV1SettingNameToStore(v1Name v1pb.Setting_SettingName) storepb.Settin
return storepb.SettingName_EMAIL
case v1pb.Setting_MCP:
return storepb.SettingName_MCP
+ case v1pb.Setting_EXPORT:
+ // Not served until its value conversion exists.
+ return storepb.SettingName_SETTING_NAME_UNSPECIFIED
default:
return storepb.SettingName_SETTING_NAME_UNSPECIFIED
}
diff --git a/backend/generated-go/store/policy.pb.go b/backend/generated-go/store/policy.pb.go
index b4e718ec1c..fdc7ef6bd2 100644
--- a/backend/generated-go/store/policy.pb.go
+++ b/backend/generated-go/store/policy.pb.go
@@ -585,6 +585,10 @@ type QueryDataPolicy struct {
// workspace-level policy
// Allow using the admin data source to query in the SQL editor.
AllowAdminDataSource bool `protobuf:"varint,9,opt,name=allow_admin_data_source,json=allowAdminDataSource,proto3" json:"allow_admin_data_source,omitempty"`
+ // workspace-level policy
+ // Disable the Download export destination. Exports can still go to a
+ // configured storage destination such as SharePoint.
+ DisableDownload bool `protobuf:"varint,10,opt,name=disable_download,json=disableDownload,proto3" json:"disable_download,omitempty"`
// ================
// Deprecate following fields.
// Disallow running DDL statements in the SQL editor.
@@ -646,6 +650,13 @@ func (x *QueryDataPolicy) GetAllowAdminDataSource() bool {
return false
}
+func (x *QueryDataPolicy) GetDisableDownload() bool {
+ if x != nil {
+ return x.DisableDownload
+ }
+ return false
+}
+
func (x *QueryDataPolicy) GetDisallowDdl() bool {
if x != nil {
return x.DisallowDdl
@@ -844,11 +855,13 @@ const file_store_policy_proto_rawDesc = "" +
"\amembers\x18\x02 \x03(\tR\amembers\x12/\n" +
"\tcondition\x18\x03 \x01(\v2\x11.google.type.ExprR\tcondition\"@\n" +
"\tIamPolicy\x123\n" +
- "\bbindings\x18\x01 \x03(\v2\x17.bytebase.store.BindingR\bbindings\"\x92\x02\n" +
+ "\bbindings\x18\x01 \x03(\v2\x17.bytebase.store.BindingR\bbindings\"\xbd\x02\n" +
"\x0fQueryDataPolicy\x12.\n" +
"\x13maximum_result_rows\x18\x04 \x01(\x05R\x11maximumResultRows\x12*\n" +
"\x11disable_copy_data\x18\x05 \x01(\bR\x0fdisableCopyData\x125\n" +
- "\x17allow_admin_data_source\x18\t \x01(\bR\x14allowAdminDataSource\x12!\n" +
+ "\x17allow_admin_data_source\x18\t \x01(\bR\x14allowAdminDataSource\x12)\n" +
+ "\x10disable_download\x18\n" +
+ " \x01(\bR\x0fdisableDownload\x12!\n" +
"\fdisallow_ddl\x18\a \x01(\bR\vdisallowDdl\x12!\n" +
"\fdisallow_dml\x18\b \x01(\bR\vdisallowDmlJ\x04\b\x06\x10\aJ\x04\b\x01\x10\x02J\x04\b\x03\x10\x04J\x04\b\x02\x10\x03R\x0edisable_exportB\x8e\x01\n" +
"\x12com.bytebase.storeB\vPolicyProtoP\x01Z\x12generated-go/store\xa2\x02\x03BSX\xaa\x02\x0eBytebase.Store\xca\x02\x0eBytebase\\Store\xe2\x02\x1aBytebase\\Store\\GPBMetadata\xea\x02\x0fBytebase::Storeb\x06proto3"
diff --git a/backend/generated-go/store/policy_equal.pb.go b/backend/generated-go/store/policy_equal.pb.go
index d6be015505..c38f78a778 100644
--- a/backend/generated-go/store/policy_equal.pb.go
+++ b/backend/generated-go/store/policy_equal.pb.go
@@ -232,6 +232,9 @@ func (x *QueryDataPolicy) Equal(y *QueryDataPolicy) bool {
if x.AllowAdminDataSource != y.AllowAdminDataSource {
return false
}
+ if x.DisableDownload != y.DisableDownload {
+ return false
+ }
if x.DisallowDdl != y.DisallowDdl {
return false
}
diff --git a/backend/generated-go/store/project.pb.go b/backend/generated-go/store/project.pb.go
index b12f830435..73ecc77a9e 100644
--- a/backend/generated-go/store/project.pb.go
+++ b/backend/generated-go/store/project.pb.go
@@ -125,8 +125,10 @@ type Project struct {
AllowJustInTimeAccess bool `protobuf:"varint,19,opt,name=allow_just_in_time_access,json=allowJustInTimeAccess,proto3" json:"allow_just_in_time_access,omitempty"`
// Whether to allow the last Plan editor to approve a database change issue.
AllowLastPlanEditorApproval bool `protobuf:"varint,20,opt,name=allow_last_plan_editor_approval,json=allowLastPlanEditorApproval,proto3" json:"allow_last_plan_editor_approval,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ // Destinations offered for this project's exports.
+ ExportSetting *Project_ExportSetting `protobuf:"bytes,21,opt,name=export_setting,json=exportSetting,proto3" json:"export_setting,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *Project) Reset() {
@@ -271,6 +273,13 @@ func (x *Project) GetAllowLastPlanEditorApproval() bool {
return false
}
+func (x *Project) GetExportSetting() *Project_ExportSetting {
+ if x != nil {
+ return x.ExportSetting
+ }
+ return nil
+}
+
// ExecutionRetryPolicy defines retry behavior for failed task executions.
type Project_ExecutionRetryPolicy struct {
state protoimpl.MessageState `protogen:"open.v1"`
@@ -317,6 +326,95 @@ func (x *Project_ExecutionRetryPolicy) GetMaximumRetries() int32 {
return 0
}
+type Project_ExportSetting struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ Sharepoint *Project_SharePointDestination `protobuf:"bytes,1,opt,name=sharepoint,proto3" json:"sharepoint,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *Project_ExportSetting) Reset() {
+ *x = Project_ExportSetting{}
+ mi := &file_store_project_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *Project_ExportSetting) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Project_ExportSetting) ProtoMessage() {}
+
+func (x *Project_ExportSetting) ProtoReflect() protoreflect.Message {
+ mi := &file_store_project_proto_msgTypes[4]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use Project_ExportSetting.ProtoReflect.Descriptor instead.
+func (*Project_ExportSetting) Descriptor() ([]byte, []int) {
+ return file_store_project_proto_rawDescGZIP(), []int{1, 2}
+}
+
+func (x *Project_ExportSetting) GetSharepoint() *Project_SharePointDestination {
+ if x != nil {
+ return x.Sharepoint
+ }
+ return nil
+}
+
+type Project_SharePointDestination struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ // The canonical URL of a SharePoint document library root or folder.
+ Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *Project_SharePointDestination) Reset() {
+ *x = Project_SharePointDestination{}
+ mi := &file_store_project_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *Project_SharePointDestination) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Project_SharePointDestination) ProtoMessage() {}
+
+func (x *Project_SharePointDestination) ProtoReflect() protoreflect.Message {
+ mi := &file_store_project_proto_msgTypes[5]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use Project_SharePointDestination.ProtoReflect.Descriptor instead.
+func (*Project_SharePointDestination) Descriptor() ([]byte, []int) {
+ return file_store_project_proto_rawDescGZIP(), []int{1, 3}
+}
+
+func (x *Project_SharePointDestination) GetUrl() string {
+ if x != nil {
+ return x.Url
+ }
+ return ""
+}
+
var File_store_project_proto protoreflect.FileDescriptor
const file_store_project_proto_rawDesc = "" +
@@ -325,7 +423,8 @@ const file_store_project_proto_rawDesc = "" +
"\x05Label\x12\x14\n" +
"\x05value\x18\x01 \x01(\tR\x05value\x12(\n" +
"\x05color\x18\x02 \x01(\v2\x12.google.type.ColorR\x05color\x12\x14\n" +
- "\x05group\x18\x03 \x01(\tR\x05group\"\xb7\b\n" +
+ "\x05group\x18\x03 \x01(\tR\x05group\"\x90\n" +
+ "\n" +
"\aProject\x128\n" +
"\fissue_labels\x18\x01 \x03(\v2\x15.bytebase.store.LabelR\vissueLabels\x12,\n" +
"\x12force_issue_labels\x18\x02 \x01(\bR\x10forceIssueLabels\x12.\n" +
@@ -343,12 +442,19 @@ const file_store_project_proto_rawDesc = "" +
"\x12allow_request_role\x18\x11 \x01(\bR\x10allowRequestRole\x12A\n" +
"\x1ddata_classification_config_id\x18\x12 \x01(\tR\x1adataClassificationConfigId\x128\n" +
"\x19allow_just_in_time_access\x18\x13 \x01(\bR\x15allowJustInTimeAccess\x12D\n" +
- "\x1fallow_last_plan_editor_approval\x18\x14 \x01(\bR\x1ballowLastPlanEditorApproval\x1a?\n" +
+ "\x1fallow_last_plan_editor_approval\x18\x14 \x01(\bR\x1ballowLastPlanEditorApproval\x12L\n" +
+ "\x0eexport_setting\x18\x15 \x01(\v2%.bytebase.store.Project.ExportSettingR\rexportSetting\x1a?\n" +
"\x14ExecutionRetryPolicy\x12'\n" +
"\x0fmaximum_retries\x18\x01 \x01(\x05R\x0emaximumRetries\x1a9\n" +
"\vLabelsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
- "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01J\x04\b\x03\x10\x05J\x04\b\x06\x10\bB\x8f\x01\n" +
+ "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a^\n" +
+ "\rExportSetting\x12M\n" +
+ "\n" +
+ "sharepoint\x18\x01 \x01(\v2-.bytebase.store.Project.SharePointDestinationR\n" +
+ "sharepoint\x1a)\n" +
+ "\x15SharePointDestination\x12\x10\n" +
+ "\x03url\x18\x01 \x01(\tR\x03urlJ\x04\b\x03\x10\x05J\x04\b\x06\x10\bB\x8f\x01\n" +
"\x12com.bytebase.storeB\fProjectProtoP\x01Z\x12generated-go/store\xa2\x02\x03BSX\xaa\x02\x0eBytebase.Store\xca\x02\x0eBytebase\\Store\xe2\x02\x1aBytebase\\Store\\GPBMetadata\xea\x02\x0fBytebase::Storeb\x06proto3"
var (
@@ -363,24 +469,28 @@ func file_store_project_proto_rawDescGZIP() []byte {
return file_store_project_proto_rawDescData
}
-var file_store_project_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
+var file_store_project_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_store_project_proto_goTypes = []any{
- (*Label)(nil), // 0: bytebase.store.Label
- (*Project)(nil), // 1: bytebase.store.Project
- (*Project_ExecutionRetryPolicy)(nil), // 2: bytebase.store.Project.ExecutionRetryPolicy
- nil, // 3: bytebase.store.Project.LabelsEntry
- (*color.Color)(nil), // 4: google.type.Color
+ (*Label)(nil), // 0: bytebase.store.Label
+ (*Project)(nil), // 1: bytebase.store.Project
+ (*Project_ExecutionRetryPolicy)(nil), // 2: bytebase.store.Project.ExecutionRetryPolicy
+ nil, // 3: bytebase.store.Project.LabelsEntry
+ (*Project_ExportSetting)(nil), // 4: bytebase.store.Project.ExportSetting
+ (*Project_SharePointDestination)(nil), // 5: bytebase.store.Project.SharePointDestination
+ (*color.Color)(nil), // 6: google.type.Color
}
var file_store_project_proto_depIdxs = []int32{
- 4, // 0: bytebase.store.Label.color:type_name -> google.type.Color
+ 6, // 0: bytebase.store.Label.color:type_name -> google.type.Color
0, // 1: bytebase.store.Project.issue_labels:type_name -> bytebase.store.Label
2, // 2: bytebase.store.Project.execution_retry_policy:type_name -> bytebase.store.Project.ExecutionRetryPolicy
3, // 3: bytebase.store.Project.labels:type_name -> bytebase.store.Project.LabelsEntry
- 4, // [4:4] is the sub-list for method output_type
- 4, // [4:4] is the sub-list for method input_type
- 4, // [4:4] is the sub-list for extension type_name
- 4, // [4:4] is the sub-list for extension extendee
- 0, // [0:4] is the sub-list for field type_name
+ 4, // 4: bytebase.store.Project.export_setting:type_name -> bytebase.store.Project.ExportSetting
+ 5, // 5: bytebase.store.Project.ExportSetting.sharepoint:type_name -> bytebase.store.Project.SharePointDestination
+ 6, // [6:6] is the sub-list for method output_type
+ 6, // [6:6] is the sub-list for method input_type
+ 6, // [6:6] is the sub-list for extension type_name
+ 6, // [6:6] is the sub-list for extension extendee
+ 0, // [0:6] is the sub-list for field type_name
}
func init() { file_store_project_proto_init() }
@@ -394,7 +504,7 @@ func file_store_project_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_project_proto_rawDesc), len(file_store_project_proto_rawDesc)),
NumEnums: 0,
- NumMessages: 4,
+ NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
diff --git a/backend/generated-go/store/project_equal.pb.go b/backend/generated-go/store/project_equal.pb.go
index ec8b9e9f6d..409a3485d8 100644
--- a/backend/generated-go/store/project_equal.pb.go
+++ b/backend/generated-go/store/project_equal.pb.go
@@ -42,6 +42,32 @@ func (x *Project_ExecutionRetryPolicy) Equal(y *Project_ExecutionRetryPolicy) bo
return true
}
+func (x *Project_ExportSetting) Equal(y *Project_ExportSetting) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if !x.Sharepoint.Equal(y.Sharepoint) {
+ return false
+ }
+ return true
+}
+
+func (x *Project_SharePointDestination) Equal(y *Project_SharePointDestination) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if x.Url != y.Url {
+ return false
+ }
+ return true
+}
+
func (x *Project) Equal(y *Project) bool {
if x == y {
return true
@@ -111,5 +137,8 @@ func (x *Project) Equal(y *Project) bool {
if x.AllowLastPlanEditorApproval != y.AllowLastPlanEditorApproval {
return false
}
+ if !x.ExportSetting.Equal(y.ExportSetting) {
+ return false
+ }
return true
}
diff --git a/backend/generated-go/store/setting.pb.go b/backend/generated-go/store/setting.pb.go
index 9b210ed482..ad8b903751 100644
--- a/backend/generated-go/store/setting.pb.go
+++ b/backend/generated-go/store/setting.pb.go
@@ -39,6 +39,7 @@ const (
SettingName_ENVIRONMENT SettingName = 8
SettingName_EMAIL SettingName = 9
SettingName_MCP SettingName = 10
+ SettingName_EXPORT SettingName = 11
)
// Enum value maps for SettingName.
@@ -55,6 +56,7 @@ var (
8: "ENVIRONMENT",
9: "EMAIL",
10: "MCP",
+ 11: "EXPORT",
}
SettingName_value = map[string]int32{
"SETTING_NAME_UNSPECIFIED": 0,
@@ -68,6 +70,7 @@ var (
"ENVIRONMENT": 8,
"EMAIL": 9,
"MCP": 10,
+ "EXPORT": 11,
}
)
@@ -147,7 +150,7 @@ func (x WorkspaceProfileSetting_DatabaseChangeMode) Number() protoreflect.EnumNu
// Deprecated: Use WorkspaceProfileSetting_DatabaseChangeMode.Descriptor instead.
func (WorkspaceProfileSetting_DatabaseChangeMode) EnumDescriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{1, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{3, 0}
}
// Capability is the ceiling: a session runs at this level or lower.
@@ -203,7 +206,7 @@ func (x MCPSetting_Capability) Number() protoreflect.EnumNumber {
// Deprecated: Use MCPSetting_Capability.Descriptor instead.
func (MCPSetting_Capability) EnumDescriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{2, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{4, 0}
}
type WorkspaceApprovalSetting_Rule_Source int32
@@ -262,7 +265,7 @@ func (x WorkspaceApprovalSetting_Rule_Source) Number() protoreflect.EnumNumber {
// Deprecated: Use WorkspaceApprovalSetting_Rule_Source.Descriptor instead.
func (WorkspaceApprovalSetting_Rule_Source) EnumDescriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{4, 0, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{6, 0, 0}
}
type Algorithm_InnerOuterMask_MaskType int32
@@ -311,7 +314,7 @@ func (x Algorithm_InnerOuterMask_MaskType) Number() protoreflect.EnumNumber {
// Deprecated: Use Algorithm_InnerOuterMask_MaskType.Descriptor instead.
func (Algorithm_InnerOuterMask_MaskType) EnumDescriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{6, 3, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{8, 3, 0}
}
type AISetting_Provider int32
@@ -366,7 +369,7 @@ func (x AISetting_Provider) Number() protoreflect.EnumNumber {
// Deprecated: Use AISetting_Provider.Descriptor instead.
func (AISetting_Provider) EnumDescriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{9, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{11, 0}
}
type EmailSetting_Type int32
@@ -412,7 +415,7 @@ func (x EmailSetting_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use EmailSetting_Type.Descriptor instead.
func (EmailSetting_Type) EnumDescriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{11, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{13, 0}
}
type EmailSetting_SMTPConfig_Encryption int32
@@ -464,7 +467,7 @@ func (x EmailSetting_SMTPConfig_Encryption) Number() protoreflect.EnumNumber {
// Deprecated: Use EmailSetting_SMTPConfig_Encryption.Descriptor instead.
func (EmailSetting_SMTPConfig_Encryption) EnumDescriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{11, 0, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{13, 0, 0}
}
type EmailSetting_SMTPConfig_Authentication int32
@@ -519,7 +522,114 @@ func (x EmailSetting_SMTPConfig_Authentication) Number() protoreflect.EnumNumber
// Deprecated: Use EmailSetting_SMTPConfig_Authentication.Descriptor instead.
func (EmailSetting_SMTPConfig_Authentication) EnumDescriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{11, 0, 1}
+ return file_store_setting_proto_rawDescGZIP(), []int{13, 0, 1}
+}
+
+// ExportSetting holds each export destination provider's credentials.
+type ExportSetting struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ Sharepoint *SharePointSetting `protobuf:"bytes,1,opt,name=sharepoint,proto3" json:"sharepoint,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *ExportSetting) Reset() {
+ *x = ExportSetting{}
+ mi := &file_store_setting_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *ExportSetting) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ExportSetting) ProtoMessage() {}
+
+func (x *ExportSetting) ProtoReflect() protoreflect.Message {
+ mi := &file_store_setting_proto_msgTypes[0]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ExportSetting.ProtoReflect.Descriptor instead.
+func (*ExportSetting) Descriptor() ([]byte, []int) {
+ return file_store_setting_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *ExportSetting) GetSharepoint() *SharePointSetting {
+ if x != nil {
+ return x.Sharepoint
+ }
+ return nil
+}
+
+// SharePointSetting is the Microsoft Entra application that uploads exports to
+// SharePoint.
+type SharePointSetting struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
+ ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
+ ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *SharePointSetting) Reset() {
+ *x = SharePointSetting{}
+ mi := &file_store_setting_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *SharePointSetting) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SharePointSetting) ProtoMessage() {}
+
+func (x *SharePointSetting) ProtoReflect() protoreflect.Message {
+ mi := &file_store_setting_proto_msgTypes[1]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SharePointSetting.ProtoReflect.Descriptor instead.
+func (*SharePointSetting) Descriptor() ([]byte, []int) {
+ return file_store_setting_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *SharePointSetting) GetTenantId() string {
+ if x != nil {
+ return x.TenantId
+ }
+ return ""
+}
+
+func (x *SharePointSetting) GetClientId() string {
+ if x != nil {
+ return x.ClientId
+ }
+ return ""
+}
+
+func (x *SharePointSetting) GetClientSecret() string {
+ if x != nil {
+ return x.ClientSecret
+ }
+ return ""
}
type SystemSetting struct {
@@ -532,7 +642,7 @@ type SystemSetting struct {
func (x *SystemSetting) Reset() {
*x = SystemSetting{}
- mi := &file_store_setting_proto_msgTypes[0]
+ mi := &file_store_setting_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -544,7 +654,7 @@ func (x *SystemSetting) String() string {
func (*SystemSetting) ProtoMessage() {}
func (x *SystemSetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[0]
+ mi := &file_store_setting_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -557,7 +667,7 @@ func (x *SystemSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use SystemSetting.ProtoReflect.Descriptor instead.
func (*SystemSetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{0}
+ return file_store_setting_proto_rawDescGZIP(), []int{2}
}
func (x *SystemSetting) GetLicense() string {
@@ -632,7 +742,7 @@ type WorkspaceProfileSetting struct {
func (x *WorkspaceProfileSetting) Reset() {
*x = WorkspaceProfileSetting{}
- mi := &file_store_setting_proto_msgTypes[1]
+ mi := &file_store_setting_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -644,7 +754,7 @@ func (x *WorkspaceProfileSetting) String() string {
func (*WorkspaceProfileSetting) ProtoMessage() {}
func (x *WorkspaceProfileSetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[1]
+ mi := &file_store_setting_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -657,7 +767,7 @@ func (x *WorkspaceProfileSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use WorkspaceProfileSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceProfileSetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{1}
+ return file_store_setting_proto_rawDescGZIP(), []int{3}
}
func (x *WorkspaceProfileSetting) GetExternalUrl() string {
@@ -848,7 +958,7 @@ type MCPSetting struct {
func (x *MCPSetting) Reset() {
*x = MCPSetting{}
- mi := &file_store_setting_proto_msgTypes[2]
+ mi := &file_store_setting_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -860,7 +970,7 @@ func (x *MCPSetting) String() string {
func (*MCPSetting) ProtoMessage() {}
func (x *MCPSetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[2]
+ mi := &file_store_setting_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -873,7 +983,7 @@ func (x *MCPSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use MCPSetting.ProtoReflect.Descriptor instead.
func (*MCPSetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{2}
+ return file_store_setting_proto_rawDescGZIP(), []int{4}
}
func (x *MCPSetting) GetCapability() MCPSetting_Capability {
@@ -896,7 +1006,7 @@ type SQLEditorThemeSetting struct {
func (x *SQLEditorThemeSetting) Reset() {
*x = SQLEditorThemeSetting{}
- mi := &file_store_setting_proto_msgTypes[3]
+ mi := &file_store_setting_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -908,7 +1018,7 @@ func (x *SQLEditorThemeSetting) String() string {
func (*SQLEditorThemeSetting) ProtoMessage() {}
func (x *SQLEditorThemeSetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[3]
+ mi := &file_store_setting_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -921,7 +1031,7 @@ func (x *SQLEditorThemeSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use SQLEditorThemeSetting.ProtoReflect.Descriptor instead.
func (*SQLEditorThemeSetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{3}
+ return file_store_setting_proto_rawDescGZIP(), []int{5}
}
func (x *SQLEditorThemeSetting) GetId() string {
@@ -961,7 +1071,7 @@ type WorkspaceApprovalSetting struct {
func (x *WorkspaceApprovalSetting) Reset() {
*x = WorkspaceApprovalSetting{}
- mi := &file_store_setting_proto_msgTypes[4]
+ mi := &file_store_setting_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -973,7 +1083,7 @@ func (x *WorkspaceApprovalSetting) String() string {
func (*WorkspaceApprovalSetting) ProtoMessage() {}
func (x *WorkspaceApprovalSetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[4]
+ mi := &file_store_setting_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -986,7 +1096,7 @@ func (x *WorkspaceApprovalSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use WorkspaceApprovalSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceApprovalSetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{4}
+ return file_store_setting_proto_rawDescGZIP(), []int{6}
}
func (x *WorkspaceApprovalSetting) GetRules() []*WorkspaceApprovalSetting_Rule {
@@ -1005,7 +1115,7 @@ type DataClassificationSetting struct {
func (x *DataClassificationSetting) Reset() {
*x = DataClassificationSetting{}
- mi := &file_store_setting_proto_msgTypes[5]
+ mi := &file_store_setting_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1017,7 +1127,7 @@ func (x *DataClassificationSetting) String() string {
func (*DataClassificationSetting) ProtoMessage() {}
func (x *DataClassificationSetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[5]
+ mi := &file_store_setting_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1030,7 +1140,7 @@ func (x *DataClassificationSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use DataClassificationSetting.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{5}
+ return file_store_setting_proto_rawDescGZIP(), []int{7}
}
func (x *DataClassificationSetting) GetConfigs() []*DataClassificationSetting_DataClassificationConfig {
@@ -1055,7 +1165,7 @@ type Algorithm struct {
func (x *Algorithm) Reset() {
*x = Algorithm{}
- mi := &file_store_setting_proto_msgTypes[6]
+ mi := &file_store_setting_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1067,7 +1177,7 @@ func (x *Algorithm) String() string {
func (*Algorithm) ProtoMessage() {}
func (x *Algorithm) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[6]
+ mi := &file_store_setting_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1080,7 +1190,7 @@ func (x *Algorithm) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm.ProtoReflect.Descriptor instead.
func (*Algorithm) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{6}
+ return file_store_setting_proto_rawDescGZIP(), []int{8}
}
func (x *Algorithm) GetMask() isAlgorithm_Mask {
@@ -1163,7 +1273,7 @@ type SemanticTypeSetting struct {
func (x *SemanticTypeSetting) Reset() {
*x = SemanticTypeSetting{}
- mi := &file_store_setting_proto_msgTypes[7]
+ mi := &file_store_setting_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1175,7 +1285,7 @@ func (x *SemanticTypeSetting) String() string {
func (*SemanticTypeSetting) ProtoMessage() {}
func (x *SemanticTypeSetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[7]
+ mi := &file_store_setting_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1188,7 +1298,7 @@ func (x *SemanticTypeSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use SemanticTypeSetting.ProtoReflect.Descriptor instead.
func (*SemanticTypeSetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{7}
+ return file_store_setting_proto_rawDescGZIP(), []int{9}
}
func (x *SemanticTypeSetting) GetTypes() []*SemanticTypeSetting_SemanticType {
@@ -1207,7 +1317,7 @@ type AppIMSetting struct {
func (x *AppIMSetting) Reset() {
*x = AppIMSetting{}
- mi := &file_store_setting_proto_msgTypes[8]
+ mi := &file_store_setting_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1219,7 +1329,7 @@ func (x *AppIMSetting) String() string {
func (*AppIMSetting) ProtoMessage() {}
func (x *AppIMSetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[8]
+ mi := &file_store_setting_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1232,7 +1342,7 @@ func (x *AppIMSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting.ProtoReflect.Descriptor instead.
func (*AppIMSetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{8}
+ return file_store_setting_proto_rawDescGZIP(), []int{10}
}
func (x *AppIMSetting) GetSettings() []*AppIMSetting_IMSetting {
@@ -1260,7 +1370,7 @@ type AISetting struct {
func (x *AISetting) Reset() {
*x = AISetting{}
- mi := &file_store_setting_proto_msgTypes[9]
+ mi := &file_store_setting_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1272,7 +1382,7 @@ func (x *AISetting) String() string {
func (*AISetting) ProtoMessage() {}
func (x *AISetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[9]
+ mi := &file_store_setting_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1285,7 +1395,7 @@ func (x *AISetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use AISetting.ProtoReflect.Descriptor instead.
func (*AISetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{9}
+ return file_store_setting_proto_rawDescGZIP(), []int{11}
}
func (x *AISetting) GetEnabled() bool {
@@ -1346,7 +1456,7 @@ type EnvironmentSetting struct {
func (x *EnvironmentSetting) Reset() {
*x = EnvironmentSetting{}
- mi := &file_store_setting_proto_msgTypes[10]
+ mi := &file_store_setting_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1358,7 +1468,7 @@ func (x *EnvironmentSetting) String() string {
func (*EnvironmentSetting) ProtoMessage() {}
func (x *EnvironmentSetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[10]
+ mi := &file_store_setting_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1371,7 +1481,7 @@ func (x *EnvironmentSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use EnvironmentSetting.ProtoReflect.Descriptor instead.
func (*EnvironmentSetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{10}
+ return file_store_setting_proto_rawDescGZIP(), []int{12}
}
func (x *EnvironmentSetting) GetEnvironments() []*EnvironmentSetting_Environment {
@@ -1396,7 +1506,7 @@ type EmailSetting struct {
func (x *EmailSetting) Reset() {
*x = EmailSetting{}
- mi := &file_store_setting_proto_msgTypes[11]
+ mi := &file_store_setting_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1408,7 +1518,7 @@ func (x *EmailSetting) String() string {
func (*EmailSetting) ProtoMessage() {}
func (x *EmailSetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[11]
+ mi := &file_store_setting_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1421,7 +1531,7 @@ func (x *EmailSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use EmailSetting.ProtoReflect.Descriptor instead.
func (*EmailSetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{11}
+ return file_store_setting_proto_rawDescGZIP(), []int{13}
}
func (x *EmailSetting) GetFrom() string {
@@ -1486,7 +1596,7 @@ type WorkspaceProfileSetting_Announcement struct {
func (x *WorkspaceProfileSetting_Announcement) Reset() {
*x = WorkspaceProfileSetting_Announcement{}
- mi := &file_store_setting_proto_msgTypes[12]
+ mi := &file_store_setting_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1498,7 +1608,7 @@ func (x *WorkspaceProfileSetting_Announcement) String() string {
func (*WorkspaceProfileSetting_Announcement) ProtoMessage() {}
func (x *WorkspaceProfileSetting_Announcement) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[12]
+ mi := &file_store_setting_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1511,7 +1621,7 @@ func (x *WorkspaceProfileSetting_Announcement) ProtoReflect() protoreflect.Messa
// Deprecated: Use WorkspaceProfileSetting_Announcement.ProtoReflect.Descriptor instead.
func (*WorkspaceProfileSetting_Announcement) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{1, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{3, 0}
}
func (x *WorkspaceProfileSetting_Announcement) GetText() string {
@@ -1557,7 +1667,7 @@ type WorkspaceProfileSetting_PasswordRestriction struct {
func (x *WorkspaceProfileSetting_PasswordRestriction) Reset() {
*x = WorkspaceProfileSetting_PasswordRestriction{}
- mi := &file_store_setting_proto_msgTypes[13]
+ mi := &file_store_setting_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1569,7 +1679,7 @@ func (x *WorkspaceProfileSetting_PasswordRestriction) String() string {
func (*WorkspaceProfileSetting_PasswordRestriction) ProtoMessage() {}
func (x *WorkspaceProfileSetting_PasswordRestriction) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[13]
+ mi := &file_store_setting_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1582,7 +1692,7 @@ func (x *WorkspaceProfileSetting_PasswordRestriction) ProtoReflect() protoreflec
// Deprecated: Use WorkspaceProfileSetting_PasswordRestriction.ProtoReflect.Descriptor instead.
func (*WorkspaceProfileSetting_PasswordRestriction) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{1, 1}
+ return file_store_setting_proto_rawDescGZIP(), []int{3, 1}
}
func (x *WorkspaceProfileSetting_PasswordRestriction) GetMinLength() int32 {
@@ -1644,7 +1754,7 @@ type WorkspaceProfileSetting_Announcement_AnnouncementTheme struct {
func (x *WorkspaceProfileSetting_Announcement_AnnouncementTheme) Reset() {
*x = WorkspaceProfileSetting_Announcement_AnnouncementTheme{}
- mi := &file_store_setting_proto_msgTypes[14]
+ mi := &file_store_setting_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1656,7 +1766,7 @@ func (x *WorkspaceProfileSetting_Announcement_AnnouncementTheme) String() string
func (*WorkspaceProfileSetting_Announcement_AnnouncementTheme) ProtoMessage() {}
func (x *WorkspaceProfileSetting_Announcement_AnnouncementTheme) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[14]
+ mi := &file_store_setting_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1669,7 +1779,7 @@ func (x *WorkspaceProfileSetting_Announcement_AnnouncementTheme) ProtoReflect()
// Deprecated: Use WorkspaceProfileSetting_Announcement_AnnouncementTheme.ProtoReflect.Descriptor instead.
func (*WorkspaceProfileSetting_Announcement_AnnouncementTheme) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{1, 0, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{3, 0, 0}
}
func (x *WorkspaceProfileSetting_Announcement_AnnouncementTheme) GetBackground() *color.Color {
@@ -1697,7 +1807,7 @@ type WorkspaceApprovalSetting_Rule struct {
func (x *WorkspaceApprovalSetting_Rule) Reset() {
*x = WorkspaceApprovalSetting_Rule{}
- mi := &file_store_setting_proto_msgTypes[16]
+ mi := &file_store_setting_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1709,7 +1819,7 @@ func (x *WorkspaceApprovalSetting_Rule) String() string {
func (*WorkspaceApprovalSetting_Rule) ProtoMessage() {}
func (x *WorkspaceApprovalSetting_Rule) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[16]
+ mi := &file_store_setting_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1722,7 +1832,7 @@ func (x *WorkspaceApprovalSetting_Rule) ProtoReflect() protoreflect.Message {
// Deprecated: Use WorkspaceApprovalSetting_Rule.ProtoReflect.Descriptor instead.
func (*WorkspaceApprovalSetting_Rule) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{4, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{6, 0}
}
func (x *WorkspaceApprovalSetting_Rule) GetTemplate() *ApprovalTemplate {
@@ -1763,7 +1873,7 @@ type DataClassificationSetting_DataClassificationConfig struct {
func (x *DataClassificationSetting_DataClassificationConfig) Reset() {
*x = DataClassificationSetting_DataClassificationConfig{}
- mi := &file_store_setting_proto_msgTypes[17]
+ mi := &file_store_setting_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1775,7 +1885,7 @@ func (x *DataClassificationSetting_DataClassificationConfig) String() string {
func (*DataClassificationSetting_DataClassificationConfig) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[17]
+ mi := &file_store_setting_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1788,7 +1898,7 @@ func (x *DataClassificationSetting_DataClassificationConfig) ProtoReflect() prot
// Deprecated: Use DataClassificationSetting_DataClassificationConfig.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting_DataClassificationConfig) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{5, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{7, 0}
}
func (x *DataClassificationSetting_DataClassificationConfig) GetId() string {
@@ -1830,7 +1940,7 @@ type DataClassificationSetting_DataClassificationConfig_Level struct {
func (x *DataClassificationSetting_DataClassificationConfig_Level) Reset() {
*x = DataClassificationSetting_DataClassificationConfig_Level{}
- mi := &file_store_setting_proto_msgTypes[18]
+ mi := &file_store_setting_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1842,7 +1952,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_Level) String() stri
func (*DataClassificationSetting_DataClassificationConfig_Level) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig_Level) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[18]
+ mi := &file_store_setting_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1855,7 +1965,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_Level) ProtoReflect(
// Deprecated: Use DataClassificationSetting_DataClassificationConfig_Level.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting_DataClassificationConfig_Level) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{5, 0, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{7, 0, 0}
}
func (x *DataClassificationSetting_DataClassificationConfig_Level) GetTitle() string {
@@ -1885,7 +1995,7 @@ type DataClassificationSetting_DataClassificationConfig_DataClassification struc
func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) Reset() {
*x = DataClassificationSetting_DataClassificationConfig_DataClassification{}
- mi := &file_store_setting_proto_msgTypes[19]
+ mi := &file_store_setting_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1897,7 +2007,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_DataClassification)
func (*DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[19]
+ mi := &file_store_setting_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1910,7 +2020,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_DataClassification)
// Deprecated: Use DataClassificationSetting_DataClassificationConfig_DataClassification.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting_DataClassificationConfig_DataClassification) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{5, 0, 1}
+ return file_store_setting_proto_rawDescGZIP(), []int{7, 0, 1}
}
func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) GetId() string {
@@ -1945,7 +2055,7 @@ type Algorithm_FullMask struct {
func (x *Algorithm_FullMask) Reset() {
*x = Algorithm_FullMask{}
- mi := &file_store_setting_proto_msgTypes[21]
+ mi := &file_store_setting_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1957,7 +2067,7 @@ func (x *Algorithm_FullMask) String() string {
func (*Algorithm_FullMask) ProtoMessage() {}
func (x *Algorithm_FullMask) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[21]
+ mi := &file_store_setting_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1970,7 +2080,7 @@ func (x *Algorithm_FullMask) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm_FullMask.ProtoReflect.Descriptor instead.
func (*Algorithm_FullMask) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{6, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{8, 0}
}
func (x *Algorithm_FullMask) GetSubstitution() string {
@@ -1991,7 +2101,7 @@ type Algorithm_RangeMask struct {
func (x *Algorithm_RangeMask) Reset() {
*x = Algorithm_RangeMask{}
- mi := &file_store_setting_proto_msgTypes[22]
+ mi := &file_store_setting_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2003,7 +2113,7 @@ func (x *Algorithm_RangeMask) String() string {
func (*Algorithm_RangeMask) ProtoMessage() {}
func (x *Algorithm_RangeMask) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[22]
+ mi := &file_store_setting_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2016,7 +2126,7 @@ func (x *Algorithm_RangeMask) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm_RangeMask.ProtoReflect.Descriptor instead.
func (*Algorithm_RangeMask) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{6, 1}
+ return file_store_setting_proto_rawDescGZIP(), []int{8, 1}
}
func (x *Algorithm_RangeMask) GetSlices() []*Algorithm_RangeMask_Slice {
@@ -2036,7 +2146,7 @@ type Algorithm_MD5Mask struct {
func (x *Algorithm_MD5Mask) Reset() {
*x = Algorithm_MD5Mask{}
- mi := &file_store_setting_proto_msgTypes[23]
+ mi := &file_store_setting_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2048,7 +2158,7 @@ func (x *Algorithm_MD5Mask) String() string {
func (*Algorithm_MD5Mask) ProtoMessage() {}
func (x *Algorithm_MD5Mask) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[23]
+ mi := &file_store_setting_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2061,7 +2171,7 @@ func (x *Algorithm_MD5Mask) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm_MD5Mask.ProtoReflect.Descriptor instead.
func (*Algorithm_MD5Mask) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{6, 2}
+ return file_store_setting_proto_rawDescGZIP(), []int{8, 2}
}
func (x *Algorithm_MD5Mask) GetSalt() string {
@@ -2083,7 +2193,7 @@ type Algorithm_InnerOuterMask struct {
func (x *Algorithm_InnerOuterMask) Reset() {
*x = Algorithm_InnerOuterMask{}
- mi := &file_store_setting_proto_msgTypes[24]
+ mi := &file_store_setting_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2095,7 +2205,7 @@ func (x *Algorithm_InnerOuterMask) String() string {
func (*Algorithm_InnerOuterMask) ProtoMessage() {}
func (x *Algorithm_InnerOuterMask) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[24]
+ mi := &file_store_setting_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2108,7 +2218,7 @@ func (x *Algorithm_InnerOuterMask) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm_InnerOuterMask.ProtoReflect.Descriptor instead.
func (*Algorithm_InnerOuterMask) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{6, 3}
+ return file_store_setting_proto_rawDescGZIP(), []int{8, 3}
}
func (x *Algorithm_InnerOuterMask) GetPrefixLen() int32 {
@@ -2156,7 +2266,7 @@ type Algorithm_RangeMask_Slice struct {
func (x *Algorithm_RangeMask_Slice) Reset() {
*x = Algorithm_RangeMask_Slice{}
- mi := &file_store_setting_proto_msgTypes[25]
+ mi := &file_store_setting_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2168,7 +2278,7 @@ func (x *Algorithm_RangeMask_Slice) String() string {
func (*Algorithm_RangeMask_Slice) ProtoMessage() {}
func (x *Algorithm_RangeMask_Slice) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[25]
+ mi := &file_store_setting_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2181,7 +2291,7 @@ func (x *Algorithm_RangeMask_Slice) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm_RangeMask_Slice.ProtoReflect.Descriptor instead.
func (*Algorithm_RangeMask_Slice) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{6, 1, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{8, 1, 0}
}
func (x *Algorithm_RangeMask_Slice) GetStart() int32 {
@@ -2222,7 +2332,7 @@ type SemanticTypeSetting_SemanticType struct {
func (x *SemanticTypeSetting_SemanticType) Reset() {
*x = SemanticTypeSetting_SemanticType{}
- mi := &file_store_setting_proto_msgTypes[26]
+ mi := &file_store_setting_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2234,7 +2344,7 @@ func (x *SemanticTypeSetting_SemanticType) String() string {
func (*SemanticTypeSetting_SemanticType) ProtoMessage() {}
func (x *SemanticTypeSetting_SemanticType) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[26]
+ mi := &file_store_setting_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2247,7 +2357,7 @@ func (x *SemanticTypeSetting_SemanticType) ProtoReflect() protoreflect.Message {
// Deprecated: Use SemanticTypeSetting_SemanticType.ProtoReflect.Descriptor instead.
func (*SemanticTypeSetting_SemanticType) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{7, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{9, 0}
}
func (x *SemanticTypeSetting_SemanticType) GetId() string {
@@ -2294,7 +2404,7 @@ type AppIMSetting_Slack struct {
func (x *AppIMSetting_Slack) Reset() {
*x = AppIMSetting_Slack{}
- mi := &file_store_setting_proto_msgTypes[27]
+ mi := &file_store_setting_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2306,7 +2416,7 @@ func (x *AppIMSetting_Slack) String() string {
func (*AppIMSetting_Slack) ProtoMessage() {}
func (x *AppIMSetting_Slack) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[27]
+ mi := &file_store_setting_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2319,7 +2429,7 @@ func (x *AppIMSetting_Slack) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_Slack.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Slack) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{8, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{10, 0}
}
func (x *AppIMSetting_Slack) GetToken() string {
@@ -2339,7 +2449,7 @@ type AppIMSetting_Feishu struct {
func (x *AppIMSetting_Feishu) Reset() {
*x = AppIMSetting_Feishu{}
- mi := &file_store_setting_proto_msgTypes[28]
+ mi := &file_store_setting_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2351,7 +2461,7 @@ func (x *AppIMSetting_Feishu) String() string {
func (*AppIMSetting_Feishu) ProtoMessage() {}
func (x *AppIMSetting_Feishu) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[28]
+ mi := &file_store_setting_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2364,7 +2474,7 @@ func (x *AppIMSetting_Feishu) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_Feishu.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Feishu) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{8, 1}
+ return file_store_setting_proto_rawDescGZIP(), []int{10, 1}
}
func (x *AppIMSetting_Feishu) GetAppId() string {
@@ -2392,7 +2502,7 @@ type AppIMSetting_Wecom struct {
func (x *AppIMSetting_Wecom) Reset() {
*x = AppIMSetting_Wecom{}
- mi := &file_store_setting_proto_msgTypes[29]
+ mi := &file_store_setting_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2404,7 +2514,7 @@ func (x *AppIMSetting_Wecom) String() string {
func (*AppIMSetting_Wecom) ProtoMessage() {}
func (x *AppIMSetting_Wecom) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[29]
+ mi := &file_store_setting_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2417,7 +2527,7 @@ func (x *AppIMSetting_Wecom) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_Wecom.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Wecom) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{8, 2}
+ return file_store_setting_proto_rawDescGZIP(), []int{10, 2}
}
func (x *AppIMSetting_Wecom) GetCorpId() string {
@@ -2451,7 +2561,7 @@ type AppIMSetting_Lark struct {
func (x *AppIMSetting_Lark) Reset() {
*x = AppIMSetting_Lark{}
- mi := &file_store_setting_proto_msgTypes[30]
+ mi := &file_store_setting_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2463,7 +2573,7 @@ func (x *AppIMSetting_Lark) String() string {
func (*AppIMSetting_Lark) ProtoMessage() {}
func (x *AppIMSetting_Lark) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[30]
+ mi := &file_store_setting_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2476,7 +2586,7 @@ func (x *AppIMSetting_Lark) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_Lark.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Lark) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{8, 3}
+ return file_store_setting_proto_rawDescGZIP(), []int{10, 3}
}
func (x *AppIMSetting_Lark) GetAppId() string {
@@ -2504,7 +2614,7 @@ type AppIMSetting_DingTalk struct {
func (x *AppIMSetting_DingTalk) Reset() {
*x = AppIMSetting_DingTalk{}
- mi := &file_store_setting_proto_msgTypes[31]
+ mi := &file_store_setting_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2516,7 +2626,7 @@ func (x *AppIMSetting_DingTalk) String() string {
func (*AppIMSetting_DingTalk) ProtoMessage() {}
func (x *AppIMSetting_DingTalk) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[31]
+ mi := &file_store_setting_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2529,7 +2639,7 @@ func (x *AppIMSetting_DingTalk) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_DingTalk.ProtoReflect.Descriptor instead.
func (*AppIMSetting_DingTalk) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{8, 4}
+ return file_store_setting_proto_rawDescGZIP(), []int{10, 4}
}
func (x *AppIMSetting_DingTalk) GetClientId() string {
@@ -2567,7 +2677,7 @@ type AppIMSetting_Teams struct {
func (x *AppIMSetting_Teams) Reset() {
*x = AppIMSetting_Teams{}
- mi := &file_store_setting_proto_msgTypes[32]
+ mi := &file_store_setting_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2579,7 +2689,7 @@ func (x *AppIMSetting_Teams) String() string {
func (*AppIMSetting_Teams) ProtoMessage() {}
func (x *AppIMSetting_Teams) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[32]
+ mi := &file_store_setting_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2592,7 +2702,7 @@ func (x *AppIMSetting_Teams) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_Teams.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Teams) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{8, 5}
+ return file_store_setting_proto_rawDescGZIP(), []int{10, 5}
}
func (x *AppIMSetting_Teams) GetTenantId() string {
@@ -2634,7 +2744,7 @@ type AppIMSetting_IMSetting struct {
func (x *AppIMSetting_IMSetting) Reset() {
*x = AppIMSetting_IMSetting{}
- mi := &file_store_setting_proto_msgTypes[33]
+ mi := &file_store_setting_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2646,7 +2756,7 @@ func (x *AppIMSetting_IMSetting) String() string {
func (*AppIMSetting_IMSetting) ProtoMessage() {}
func (x *AppIMSetting_IMSetting) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[33]
+ mi := &file_store_setting_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2659,7 +2769,7 @@ func (x *AppIMSetting_IMSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_IMSetting.ProtoReflect.Descriptor instead.
func (*AppIMSetting_IMSetting) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{8, 6}
+ return file_store_setting_proto_rawDescGZIP(), []int{10, 6}
}
func (x *AppIMSetting_IMSetting) GetType() WebhookType {
@@ -2787,7 +2897,7 @@ type EnvironmentSetting_Environment struct {
func (x *EnvironmentSetting_Environment) Reset() {
*x = EnvironmentSetting_Environment{}
- mi := &file_store_setting_proto_msgTypes[34]
+ mi := &file_store_setting_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2799,7 +2909,7 @@ func (x *EnvironmentSetting_Environment) String() string {
func (*EnvironmentSetting_Environment) ProtoMessage() {}
func (x *EnvironmentSetting_Environment) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[34]
+ mi := &file_store_setting_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2812,7 +2922,7 @@ func (x *EnvironmentSetting_Environment) ProtoReflect() protoreflect.Message {
// Deprecated: Use EnvironmentSetting_Environment.ProtoReflect.Descriptor instead.
func (*EnvironmentSetting_Environment) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{10, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{12, 0}
}
func (x *EnvironmentSetting_Environment) GetName() string {
@@ -2864,7 +2974,7 @@ type EmailSetting_SMTPConfig struct {
func (x *EmailSetting_SMTPConfig) Reset() {
*x = EmailSetting_SMTPConfig{}
- mi := &file_store_setting_proto_msgTypes[36]
+ mi := &file_store_setting_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2876,7 +2986,7 @@ func (x *EmailSetting_SMTPConfig) String() string {
func (*EmailSetting_SMTPConfig) ProtoMessage() {}
func (x *EmailSetting_SMTPConfig) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[36]
+ mi := &file_store_setting_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2889,7 +2999,7 @@ func (x *EmailSetting_SMTPConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use EmailSetting_SMTPConfig.ProtoReflect.Descriptor instead.
func (*EmailSetting_SMTPConfig) Descriptor() ([]byte, []int) {
- return file_store_setting_proto_rawDescGZIP(), []int{11, 0}
+ return file_store_setting_proto_rawDescGZIP(), []int{13, 0}
}
func (x *EmailSetting_SMTPConfig) GetHost() string {
@@ -2938,7 +3048,15 @@ var File_store_setting_proto protoreflect.FileDescriptor
const file_store_setting_proto_rawDesc = "" +
"\n" +
- "\x13store/setting.proto\x12\x0ebytebase.store\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x17google/type/color.proto\x1a\x16google/type/expr.proto\x1a\x14store/approval.proto\x1a\x12store/common.proto\"P\n" +
+ "\x13store/setting.proto\x12\x0ebytebase.store\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x17google/type/color.proto\x1a\x16google/type/expr.proto\x1a\x14store/approval.proto\x1a\x12store/common.proto\"R\n" +
+ "\rExportSetting\x12A\n" +
+ "\n" +
+ "sharepoint\x18\x01 \x01(\v2!.bytebase.store.SharePointSettingR\n" +
+ "sharepoint\"r\n" +
+ "\x11SharePointSetting\x12\x1b\n" +
+ "\ttenant_id\x18\x01 \x01(\tR\btenantId\x12\x1b\n" +
+ "\tclient_id\x18\x02 \x01(\tR\bclientId\x12#\n" +
+ "\rclient_secret\x18\x03 \x01(\tR\fclientSecret\"P\n" +
"\rSystemSetting\x12\x18\n" +
"\alicense\x18\x03 \x01(\tR\alicenseJ\x04\b\x01\x10\x02J\x04\b\x02\x10\x03R\vauth_secretR\fworkspace_id\"\xa7\x12\n" +
"\x17WorkspaceProfileSetting\x12!\n" +
@@ -3170,7 +3288,7 @@ const file_store_setting_proto_rawDesc = "" +
"\x04Type\x12\x14\n" +
"\x10TYPE_UNSPECIFIED\x10\x00\x12\b\n" +
"\x04SMTP\x10\x01B\b\n" +
- "\x06config*\xcc\x01\n" +
+ "\x06config*\xd8\x01\n" +
"\vSettingName\x12\x1c\n" +
"\x18SETTING_NAME_UNSPECIFIED\x10\x00\x12\n" +
"\n" +
@@ -3185,7 +3303,9 @@ const file_store_setting_proto_rawDesc = "" +
"\vENVIRONMENT\x10\b\x12\t\n" +
"\x05EMAIL\x10\t\x12\a\n" +
"\x03MCP\x10\n" +
- "B\x8f\x01\n" +
+ "\x12\n" +
+ "\n" +
+ "\x06EXPORT\x10\vB\x8f\x01\n" +
"\x12com.bytebase.storeB\fSettingProtoP\x01Z\x12generated-go/store\xa2\x02\x03BSX\xaa\x02\x0eBytebase.Store\xca\x02\x0eBytebase\\Store\xe2\x02\x1aBytebase\\Store\\GPBMetadata\xea\x02\x0fBytebase::Storeb\x06proto3"
var (
@@ -3201,7 +3321,7 @@ func file_store_setting_proto_rawDescGZIP() []byte {
}
var file_store_setting_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
-var file_store_setting_proto_msgTypes = make([]protoimpl.MessageInfo, 37)
+var file_store_setting_proto_msgTypes = make([]protoimpl.MessageInfo, 39)
var file_store_setting_proto_goTypes = []any{
(SettingName)(0), // 0: bytebase.store.SettingName
(WorkspaceProfileSetting_DatabaseChangeMode)(0), // 1: bytebase.store.WorkspaceProfileSetting.DatabaseChangeMode
@@ -3212,104 +3332,107 @@ var file_store_setting_proto_goTypes = []any{
(EmailSetting_Type)(0), // 6: bytebase.store.EmailSetting.Type
(EmailSetting_SMTPConfig_Encryption)(0), // 7: bytebase.store.EmailSetting.SMTPConfig.Encryption
(EmailSetting_SMTPConfig_Authentication)(0), // 8: bytebase.store.EmailSetting.SMTPConfig.Authentication
- (*SystemSetting)(nil), // 9: bytebase.store.SystemSetting
- (*WorkspaceProfileSetting)(nil), // 10: bytebase.store.WorkspaceProfileSetting
- (*MCPSetting)(nil), // 11: bytebase.store.MCPSetting
- (*SQLEditorThemeSetting)(nil), // 12: bytebase.store.SQLEditorThemeSetting
- (*WorkspaceApprovalSetting)(nil), // 13: bytebase.store.WorkspaceApprovalSetting
- (*DataClassificationSetting)(nil), // 14: bytebase.store.DataClassificationSetting
- (*Algorithm)(nil), // 15: bytebase.store.Algorithm
- (*SemanticTypeSetting)(nil), // 16: bytebase.store.SemanticTypeSetting
- (*AppIMSetting)(nil), // 17: bytebase.store.AppIMSetting
- (*AISetting)(nil), // 18: bytebase.store.AISetting
- (*EnvironmentSetting)(nil), // 19: bytebase.store.EnvironmentSetting
- (*EmailSetting)(nil), // 20: bytebase.store.EmailSetting
- (*WorkspaceProfileSetting_Announcement)(nil), // 21: bytebase.store.WorkspaceProfileSetting.Announcement
- (*WorkspaceProfileSetting_PasswordRestriction)(nil), // 22: bytebase.store.WorkspaceProfileSetting.PasswordRestriction
- (*WorkspaceProfileSetting_Announcement_AnnouncementTheme)(nil), // 23: bytebase.store.WorkspaceProfileSetting.Announcement.AnnouncementTheme
- nil, // 24: bytebase.store.SQLEditorThemeSetting.TokensEntry
- (*WorkspaceApprovalSetting_Rule)(nil), // 25: bytebase.store.WorkspaceApprovalSetting.Rule
- (*DataClassificationSetting_DataClassificationConfig)(nil), // 26: bytebase.store.DataClassificationSetting.DataClassificationConfig
- (*DataClassificationSetting_DataClassificationConfig_Level)(nil), // 27: bytebase.store.DataClassificationSetting.DataClassificationConfig.Level
- (*DataClassificationSetting_DataClassificationConfig_DataClassification)(nil), // 28: bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification
- nil, // 29: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
- (*Algorithm_FullMask)(nil), // 30: bytebase.store.Algorithm.FullMask
- (*Algorithm_RangeMask)(nil), // 31: bytebase.store.Algorithm.RangeMask
- (*Algorithm_MD5Mask)(nil), // 32: bytebase.store.Algorithm.MD5Mask
- (*Algorithm_InnerOuterMask)(nil), // 33: bytebase.store.Algorithm.InnerOuterMask
- (*Algorithm_RangeMask_Slice)(nil), // 34: bytebase.store.Algorithm.RangeMask.Slice
- (*SemanticTypeSetting_SemanticType)(nil), // 35: bytebase.store.SemanticTypeSetting.SemanticType
- (*AppIMSetting_Slack)(nil), // 36: bytebase.store.AppIMSetting.Slack
- (*AppIMSetting_Feishu)(nil), // 37: bytebase.store.AppIMSetting.Feishu
- (*AppIMSetting_Wecom)(nil), // 38: bytebase.store.AppIMSetting.Wecom
- (*AppIMSetting_Lark)(nil), // 39: bytebase.store.AppIMSetting.Lark
- (*AppIMSetting_DingTalk)(nil), // 40: bytebase.store.AppIMSetting.DingTalk
- (*AppIMSetting_Teams)(nil), // 41: bytebase.store.AppIMSetting.Teams
- (*AppIMSetting_IMSetting)(nil), // 42: bytebase.store.AppIMSetting.IMSetting
- (*EnvironmentSetting_Environment)(nil), // 43: bytebase.store.EnvironmentSetting.Environment
- nil, // 44: bytebase.store.EnvironmentSetting.Environment.TagsEntry
- (*EmailSetting_SMTPConfig)(nil), // 45: bytebase.store.EmailSetting.SMTPConfig
- (*durationpb.Duration)(nil), // 46: google.protobuf.Duration
- (*color.Color)(nil), // 47: google.type.Color
- (*ApprovalTemplate)(nil), // 48: bytebase.store.ApprovalTemplate
- (*expr.Expr)(nil), // 49: google.type.Expr
- (WebhookType)(0), // 50: bytebase.store.WebhookType
+ (*ExportSetting)(nil), // 9: bytebase.store.ExportSetting
+ (*SharePointSetting)(nil), // 10: bytebase.store.SharePointSetting
+ (*SystemSetting)(nil), // 11: bytebase.store.SystemSetting
+ (*WorkspaceProfileSetting)(nil), // 12: bytebase.store.WorkspaceProfileSetting
+ (*MCPSetting)(nil), // 13: bytebase.store.MCPSetting
+ (*SQLEditorThemeSetting)(nil), // 14: bytebase.store.SQLEditorThemeSetting
+ (*WorkspaceApprovalSetting)(nil), // 15: bytebase.store.WorkspaceApprovalSetting
+ (*DataClassificationSetting)(nil), // 16: bytebase.store.DataClassificationSetting
+ (*Algorithm)(nil), // 17: bytebase.store.Algorithm
+ (*SemanticTypeSetting)(nil), // 18: bytebase.store.SemanticTypeSetting
+ (*AppIMSetting)(nil), // 19: bytebase.store.AppIMSetting
+ (*AISetting)(nil), // 20: bytebase.store.AISetting
+ (*EnvironmentSetting)(nil), // 21: bytebase.store.EnvironmentSetting
+ (*EmailSetting)(nil), // 22: bytebase.store.EmailSetting
+ (*WorkspaceProfileSetting_Announcement)(nil), // 23: bytebase.store.WorkspaceProfileSetting.Announcement
+ (*WorkspaceProfileSetting_PasswordRestriction)(nil), // 24: bytebase.store.WorkspaceProfileSetting.PasswordRestriction
+ (*WorkspaceProfileSetting_Announcement_AnnouncementTheme)(nil), // 25: bytebase.store.WorkspaceProfileSetting.Announcement.AnnouncementTheme
+ nil, // 26: bytebase.store.SQLEditorThemeSetting.TokensEntry
+ (*WorkspaceApprovalSetting_Rule)(nil), // 27: bytebase.store.WorkspaceApprovalSetting.Rule
+ (*DataClassificationSetting_DataClassificationConfig)(nil), // 28: bytebase.store.DataClassificationSetting.DataClassificationConfig
+ (*DataClassificationSetting_DataClassificationConfig_Level)(nil), // 29: bytebase.store.DataClassificationSetting.DataClassificationConfig.Level
+ (*DataClassificationSetting_DataClassificationConfig_DataClassification)(nil), // 30: bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification
+ nil, // 31: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
+ (*Algorithm_FullMask)(nil), // 32: bytebase.store.Algorithm.FullMask
+ (*Algorithm_RangeMask)(nil), // 33: bytebase.store.Algorithm.RangeMask
+ (*Algorithm_MD5Mask)(nil), // 34: bytebase.store.Algorithm.MD5Mask
+ (*Algorithm_InnerOuterMask)(nil), // 35: bytebase.store.Algorithm.InnerOuterMask
+ (*Algorithm_RangeMask_Slice)(nil), // 36: bytebase.store.Algorithm.RangeMask.Slice
+ (*SemanticTypeSetting_SemanticType)(nil), // 37: bytebase.store.SemanticTypeSetting.SemanticType
+ (*AppIMSetting_Slack)(nil), // 38: bytebase.store.AppIMSetting.Slack
+ (*AppIMSetting_Feishu)(nil), // 39: bytebase.store.AppIMSetting.Feishu
+ (*AppIMSetting_Wecom)(nil), // 40: bytebase.store.AppIMSetting.Wecom
+ (*AppIMSetting_Lark)(nil), // 41: bytebase.store.AppIMSetting.Lark
+ (*AppIMSetting_DingTalk)(nil), // 42: bytebase.store.AppIMSetting.DingTalk
+ (*AppIMSetting_Teams)(nil), // 43: bytebase.store.AppIMSetting.Teams
+ (*AppIMSetting_IMSetting)(nil), // 44: bytebase.store.AppIMSetting.IMSetting
+ (*EnvironmentSetting_Environment)(nil), // 45: bytebase.store.EnvironmentSetting.Environment
+ nil, // 46: bytebase.store.EnvironmentSetting.Environment.TagsEntry
+ (*EmailSetting_SMTPConfig)(nil), // 47: bytebase.store.EmailSetting.SMTPConfig
+ (*durationpb.Duration)(nil), // 48: google.protobuf.Duration
+ (*color.Color)(nil), // 49: google.type.Color
+ (*ApprovalTemplate)(nil), // 50: bytebase.store.ApprovalTemplate
+ (*expr.Expr)(nil), // 51: google.type.Expr
+ (WebhookType)(0), // 52: bytebase.store.WebhookType
}
var file_store_setting_proto_depIdxs = []int32{
- 46, // 0: bytebase.store.WorkspaceProfileSetting.refresh_token_duration:type_name -> google.protobuf.Duration
- 21, // 1: bytebase.store.WorkspaceProfileSetting.announcement:type_name -> bytebase.store.WorkspaceProfileSetting.Announcement
- 46, // 2: bytebase.store.WorkspaceProfileSetting.maximum_request_expiration:type_name -> google.protobuf.Duration
- 1, // 3: bytebase.store.WorkspaceProfileSetting.database_change_mode:type_name -> bytebase.store.WorkspaceProfileSetting.DatabaseChangeMode
- 46, // 4: bytebase.store.WorkspaceProfileSetting.inactive_session_timeout:type_name -> google.protobuf.Duration
- 22, // 5: bytebase.store.WorkspaceProfileSetting.password_restriction:type_name -> bytebase.store.WorkspaceProfileSetting.PasswordRestriction
- 46, // 6: bytebase.store.WorkspaceProfileSetting.access_token_duration:type_name -> google.protobuf.Duration
- 46, // 7: bytebase.store.WorkspaceProfileSetting.query_timeout:type_name -> google.protobuf.Duration
- 12, // 8: bytebase.store.WorkspaceProfileSetting.sql_editor_custom_theme:type_name -> bytebase.store.SQLEditorThemeSetting
- 46, // 9: bytebase.store.WorkspaceProfileSetting.maximum_role_expiration:type_name -> google.protobuf.Duration
- 2, // 10: bytebase.store.MCPSetting.capability:type_name -> bytebase.store.MCPSetting.Capability
- 24, // 11: bytebase.store.SQLEditorThemeSetting.tokens:type_name -> bytebase.store.SQLEditorThemeSetting.TokensEntry
- 25, // 12: bytebase.store.WorkspaceApprovalSetting.rules:type_name -> bytebase.store.WorkspaceApprovalSetting.Rule
- 26, // 13: bytebase.store.DataClassificationSetting.configs:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig
- 30, // 14: bytebase.store.Algorithm.full_mask:type_name -> bytebase.store.Algorithm.FullMask
- 31, // 15: bytebase.store.Algorithm.range_mask:type_name -> bytebase.store.Algorithm.RangeMask
- 32, // 16: bytebase.store.Algorithm.md5_mask:type_name -> bytebase.store.Algorithm.MD5Mask
- 33, // 17: bytebase.store.Algorithm.inner_outer_mask:type_name -> bytebase.store.Algorithm.InnerOuterMask
- 35, // 18: bytebase.store.SemanticTypeSetting.types:type_name -> bytebase.store.SemanticTypeSetting.SemanticType
- 42, // 19: bytebase.store.AppIMSetting.settings:type_name -> bytebase.store.AppIMSetting.IMSetting
- 5, // 20: bytebase.store.AISetting.provider:type_name -> bytebase.store.AISetting.Provider
- 43, // 21: bytebase.store.EnvironmentSetting.environments:type_name -> bytebase.store.EnvironmentSetting.Environment
- 6, // 22: bytebase.store.EmailSetting.type:type_name -> bytebase.store.EmailSetting.Type
- 45, // 23: bytebase.store.EmailSetting.smtp:type_name -> bytebase.store.EmailSetting.SMTPConfig
- 23, // 24: bytebase.store.WorkspaceProfileSetting.Announcement.theme:type_name -> bytebase.store.WorkspaceProfileSetting.Announcement.AnnouncementTheme
- 46, // 25: bytebase.store.WorkspaceProfileSetting.PasswordRestriction.password_rotation:type_name -> google.protobuf.Duration
- 47, // 26: bytebase.store.WorkspaceProfileSetting.Announcement.AnnouncementTheme.background:type_name -> google.type.Color
- 47, // 27: bytebase.store.WorkspaceProfileSetting.Announcement.AnnouncementTheme.text:type_name -> google.type.Color
- 47, // 28: bytebase.store.SQLEditorThemeSetting.TokensEntry.value:type_name -> google.type.Color
- 48, // 29: bytebase.store.WorkspaceApprovalSetting.Rule.template:type_name -> bytebase.store.ApprovalTemplate
- 49, // 30: bytebase.store.WorkspaceApprovalSetting.Rule.condition:type_name -> google.type.Expr
- 3, // 31: bytebase.store.WorkspaceApprovalSetting.Rule.source:type_name -> bytebase.store.WorkspaceApprovalSetting.Rule.Source
- 27, // 32: bytebase.store.DataClassificationSetting.DataClassificationConfig.levels:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.Level
- 29, // 33: bytebase.store.DataClassificationSetting.DataClassificationConfig.classification:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
- 28, // 34: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry.value:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification
- 34, // 35: bytebase.store.Algorithm.RangeMask.slices:type_name -> bytebase.store.Algorithm.RangeMask.Slice
- 4, // 36: bytebase.store.Algorithm.InnerOuterMask.type:type_name -> bytebase.store.Algorithm.InnerOuterMask.MaskType
- 15, // 37: bytebase.store.SemanticTypeSetting.SemanticType.algorithm:type_name -> bytebase.store.Algorithm
- 50, // 38: bytebase.store.AppIMSetting.IMSetting.type:type_name -> bytebase.store.WebhookType
- 36, // 39: bytebase.store.AppIMSetting.IMSetting.slack:type_name -> bytebase.store.AppIMSetting.Slack
- 37, // 40: bytebase.store.AppIMSetting.IMSetting.feishu:type_name -> bytebase.store.AppIMSetting.Feishu
- 38, // 41: bytebase.store.AppIMSetting.IMSetting.wecom:type_name -> bytebase.store.AppIMSetting.Wecom
- 39, // 42: bytebase.store.AppIMSetting.IMSetting.lark:type_name -> bytebase.store.AppIMSetting.Lark
- 40, // 43: bytebase.store.AppIMSetting.IMSetting.dingtalk:type_name -> bytebase.store.AppIMSetting.DingTalk
- 41, // 44: bytebase.store.AppIMSetting.IMSetting.teams:type_name -> bytebase.store.AppIMSetting.Teams
- 44, // 45: bytebase.store.EnvironmentSetting.Environment.tags:type_name -> bytebase.store.EnvironmentSetting.Environment.TagsEntry
- 47, // 46: bytebase.store.EnvironmentSetting.Environment.color:type_name -> google.type.Color
- 7, // 47: bytebase.store.EmailSetting.SMTPConfig.encryption:type_name -> bytebase.store.EmailSetting.SMTPConfig.Encryption
- 8, // 48: bytebase.store.EmailSetting.SMTPConfig.authentication:type_name -> bytebase.store.EmailSetting.SMTPConfig.Authentication
- 49, // [49:49] is the sub-list for method output_type
- 49, // [49:49] is the sub-list for method input_type
- 49, // [49:49] is the sub-list for extension type_name
- 49, // [49:49] is the sub-list for extension extendee
- 0, // [0:49] is the sub-list for field type_name
+ 10, // 0: bytebase.store.ExportSetting.sharepoint:type_name -> bytebase.store.SharePointSetting
+ 48, // 1: bytebase.store.WorkspaceProfileSetting.refresh_token_duration:type_name -> google.protobuf.Duration
+ 23, // 2: bytebase.store.WorkspaceProfileSetting.announcement:type_name -> bytebase.store.WorkspaceProfileSetting.Announcement
+ 48, // 3: bytebase.store.WorkspaceProfileSetting.maximum_request_expiration:type_name -> google.protobuf.Duration
+ 1, // 4: bytebase.store.WorkspaceProfileSetting.database_change_mode:type_name -> bytebase.store.WorkspaceProfileSetting.DatabaseChangeMode
+ 48, // 5: bytebase.store.WorkspaceProfileSetting.inactive_session_timeout:type_name -> google.protobuf.Duration
+ 24, // 6: bytebase.store.WorkspaceProfileSetting.password_restriction:type_name -> bytebase.store.WorkspaceProfileSetting.PasswordRestriction
+ 48, // 7: bytebase.store.WorkspaceProfileSetting.access_token_duration:type_name -> google.protobuf.Duration
+ 48, // 8: bytebase.store.WorkspaceProfileSetting.query_timeout:type_name -> google.protobuf.Duration
+ 14, // 9: bytebase.store.WorkspaceProfileSetting.sql_editor_custom_theme:type_name -> bytebase.store.SQLEditorThemeSetting
+ 48, // 10: bytebase.store.WorkspaceProfileSetting.maximum_role_expiration:type_name -> google.protobuf.Duration
+ 2, // 11: bytebase.store.MCPSetting.capability:type_name -> bytebase.store.MCPSetting.Capability
+ 26, // 12: bytebase.store.SQLEditorThemeSetting.tokens:type_name -> bytebase.store.SQLEditorThemeSetting.TokensEntry
+ 27, // 13: bytebase.store.WorkspaceApprovalSetting.rules:type_name -> bytebase.store.WorkspaceApprovalSetting.Rule
+ 28, // 14: bytebase.store.DataClassificationSetting.configs:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig
+ 32, // 15: bytebase.store.Algorithm.full_mask:type_name -> bytebase.store.Algorithm.FullMask
+ 33, // 16: bytebase.store.Algorithm.range_mask:type_name -> bytebase.store.Algorithm.RangeMask
+ 34, // 17: bytebase.store.Algorithm.md5_mask:type_name -> bytebase.store.Algorithm.MD5Mask
+ 35, // 18: bytebase.store.Algorithm.inner_outer_mask:type_name -> bytebase.store.Algorithm.InnerOuterMask
+ 37, // 19: bytebase.store.SemanticTypeSetting.types:type_name -> bytebase.store.SemanticTypeSetting.SemanticType
+ 44, // 20: bytebase.store.AppIMSetting.settings:type_name -> bytebase.store.AppIMSetting.IMSetting
+ 5, // 21: bytebase.store.AISetting.provider:type_name -> bytebase.store.AISetting.Provider
+ 45, // 22: bytebase.store.EnvironmentSetting.environments:type_name -> bytebase.store.EnvironmentSetting.Environment
+ 6, // 23: bytebase.store.EmailSetting.type:type_name -> bytebase.store.EmailSetting.Type
+ 47, // 24: bytebase.store.EmailSetting.smtp:type_name -> bytebase.store.EmailSetting.SMTPConfig
+ 25, // 25: bytebase.store.WorkspaceProfileSetting.Announcement.theme:type_name -> bytebase.store.WorkspaceProfileSetting.Announcement.AnnouncementTheme
+ 48, // 26: bytebase.store.WorkspaceProfileSetting.PasswordRestriction.password_rotation:type_name -> google.protobuf.Duration
+ 49, // 27: bytebase.store.WorkspaceProfileSetting.Announcement.AnnouncementTheme.background:type_name -> google.type.Color
+ 49, // 28: bytebase.store.WorkspaceProfileSetting.Announcement.AnnouncementTheme.text:type_name -> google.type.Color
+ 49, // 29: bytebase.store.SQLEditorThemeSetting.TokensEntry.value:type_name -> google.type.Color
+ 50, // 30: bytebase.store.WorkspaceApprovalSetting.Rule.template:type_name -> bytebase.store.ApprovalTemplate
+ 51, // 31: bytebase.store.WorkspaceApprovalSetting.Rule.condition:type_name -> google.type.Expr
+ 3, // 32: bytebase.store.WorkspaceApprovalSetting.Rule.source:type_name -> bytebase.store.WorkspaceApprovalSetting.Rule.Source
+ 29, // 33: bytebase.store.DataClassificationSetting.DataClassificationConfig.levels:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.Level
+ 31, // 34: bytebase.store.DataClassificationSetting.DataClassificationConfig.classification:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
+ 30, // 35: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry.value:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification
+ 36, // 36: bytebase.store.Algorithm.RangeMask.slices:type_name -> bytebase.store.Algorithm.RangeMask.Slice
+ 4, // 37: bytebase.store.Algorithm.InnerOuterMask.type:type_name -> bytebase.store.Algorithm.InnerOuterMask.MaskType
+ 17, // 38: bytebase.store.SemanticTypeSetting.SemanticType.algorithm:type_name -> bytebase.store.Algorithm
+ 52, // 39: bytebase.store.AppIMSetting.IMSetting.type:type_name -> bytebase.store.WebhookType
+ 38, // 40: bytebase.store.AppIMSetting.IMSetting.slack:type_name -> bytebase.store.AppIMSetting.Slack
+ 39, // 41: bytebase.store.AppIMSetting.IMSetting.feishu:type_name -> bytebase.store.AppIMSetting.Feishu
+ 40, // 42: bytebase.store.AppIMSetting.IMSetting.wecom:type_name -> bytebase.store.AppIMSetting.Wecom
+ 41, // 43: bytebase.store.AppIMSetting.IMSetting.lark:type_name -> bytebase.store.AppIMSetting.Lark
+ 42, // 44: bytebase.store.AppIMSetting.IMSetting.dingtalk:type_name -> bytebase.store.AppIMSetting.DingTalk
+ 43, // 45: bytebase.store.AppIMSetting.IMSetting.teams:type_name -> bytebase.store.AppIMSetting.Teams
+ 46, // 46: bytebase.store.EnvironmentSetting.Environment.tags:type_name -> bytebase.store.EnvironmentSetting.Environment.TagsEntry
+ 49, // 47: bytebase.store.EnvironmentSetting.Environment.color:type_name -> google.type.Color
+ 7, // 48: bytebase.store.EmailSetting.SMTPConfig.encryption:type_name -> bytebase.store.EmailSetting.SMTPConfig.Encryption
+ 8, // 49: bytebase.store.EmailSetting.SMTPConfig.authentication:type_name -> bytebase.store.EmailSetting.SMTPConfig.Authentication
+ 50, // [50:50] is the sub-list for method output_type
+ 50, // [50:50] is the sub-list for method input_type
+ 50, // [50:50] is the sub-list for extension type_name
+ 50, // [50:50] is the sub-list for extension extendee
+ 0, // [0:50] is the sub-list for field type_name
}
func init() { file_store_setting_proto_init() }
@@ -3319,17 +3442,17 @@ func file_store_setting_proto_init() {
}
file_store_approval_proto_init()
file_store_common_proto_init()
- file_store_setting_proto_msgTypes[6].OneofWrappers = []any{
+ file_store_setting_proto_msgTypes[8].OneofWrappers = []any{
(*Algorithm_FullMask_)(nil),
(*Algorithm_RangeMask_)(nil),
(*Algorithm_Md5Mask)(nil),
(*Algorithm_InnerOuterMask_)(nil),
}
- file_store_setting_proto_msgTypes[11].OneofWrappers = []any{
+ file_store_setting_proto_msgTypes[13].OneofWrappers = []any{
(*EmailSetting_Smtp)(nil),
}
- file_store_setting_proto_msgTypes[19].OneofWrappers = []any{}
- file_store_setting_proto_msgTypes[33].OneofWrappers = []any{
+ file_store_setting_proto_msgTypes[21].OneofWrappers = []any{}
+ file_store_setting_proto_msgTypes[35].OneofWrappers = []any{
(*AppIMSetting_IMSetting_Slack)(nil),
(*AppIMSetting_IMSetting_Feishu)(nil),
(*AppIMSetting_IMSetting_Wecom)(nil),
@@ -3343,7 +3466,7 @@ func file_store_setting_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_setting_proto_rawDesc), len(file_store_setting_proto_rawDesc)),
NumEnums: 9,
- NumMessages: 37,
+ NumMessages: 39,
NumExtensions: 0,
NumServices: 0,
},
diff --git a/backend/generated-go/store/setting_equal.pb.go b/backend/generated-go/store/setting_equal.pb.go
index 079cbfc9df..398670d92e 100644
--- a/backend/generated-go/store/setting_equal.pb.go
+++ b/backend/generated-go/store/setting_equal.pb.go
@@ -9,6 +9,38 @@ import (
proto "google.golang.org/protobuf/proto"
)
+func (x *ExportSetting) Equal(y *ExportSetting) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if !x.Sharepoint.Equal(y.Sharepoint) {
+ return false
+ }
+ return true
+}
+
+func (x *SharePointSetting) Equal(y *SharePointSetting) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if x.TenantId != y.TenantId {
+ return false
+ }
+ if x.ClientId != y.ClientId {
+ return false
+ }
+ if x.ClientSecret != y.ClientSecret {
+ return false
+ }
+ return true
+}
+
func (x *SystemSetting) Equal(y *SystemSetting) bool {
if x == y {
return true
diff --git a/backend/generated-go/v1/common.pb.go b/backend/generated-go/v1/common.pb.go
index c0e3534960..9c5a78ccab 100644
--- a/backend/generated-go/v1/common.pb.go
+++ b/backend/generated-go/v1/common.pb.go
@@ -768,6 +768,59 @@ func (StatementType) EnumDescriptor() ([]byte, []int) {
return file_v1_common_proto_rawDescGZIP(), []int{8}
}
+// Where an export goes. Values are added as destinations are supported.
+type ExportDestination int32
+
+const (
+ // Treated as DOWNLOAD.
+ ExportDestination_EXPORT_DESTINATION_UNSPECIFIED ExportDestination = 0
+ // Return the export in the response.
+ ExportDestination_DOWNLOAD ExportDestination = 1
+ // Upload the export to the project's SharePoint export destination.
+ ExportDestination_SHAREPOINT ExportDestination = 2
+)
+
+// Enum value maps for ExportDestination.
+var (
+ ExportDestination_name = map[int32]string{
+ 0: "EXPORT_DESTINATION_UNSPECIFIED",
+ 1: "DOWNLOAD",
+ 2: "SHAREPOINT",
+ }
+ ExportDestination_value = map[string]int32{
+ "EXPORT_DESTINATION_UNSPECIFIED": 0,
+ "DOWNLOAD": 1,
+ "SHAREPOINT": 2,
+ }
+)
+
+func (x ExportDestination) Enum() *ExportDestination {
+ p := new(ExportDestination)
+ *p = x
+ return p
+}
+
+func (x ExportDestination) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (ExportDestination) Descriptor() protoreflect.EnumDescriptor {
+ return file_v1_common_proto_enumTypes[9].Descriptor()
+}
+
+func (ExportDestination) Type() protoreflect.EnumType {
+ return &file_v1_common_proto_enumTypes[9]
+}
+
+func (x ExportDestination) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Use ExportDestination.Descriptor instead.
+func (ExportDestination) EnumDescriptor() ([]byte, []int) {
+ return file_v1_common_proto_rawDescGZIP(), []int{9}
+}
+
// Position in a text expressed as one-based line and one-based column.
// We use 1-based numbering to match the majority of industry standards:
// - Monaco Editor uses 1-based (https://microsoft.github.io/monaco-editor/typedoc/interfaces/IPosition.html)
@@ -1111,7 +1164,12 @@ const file_v1_common_proto_rawDesc = "" +
"\x06UPDATE\x10=\x12\n" +
"\n" +
"\x06DELETE\x10>\x12\t\n" +
- "\x05MERGE\x10?\"\x04\b\r\x10\x13\"\x04\b \x10'\"\x04\b/\x101\"\x04\b8\x10;B\xa1\x01\n" +
+ "\x05MERGE\x10?\"\x04\b\r\x10\x13\"\x04\b \x10'\"\x04\b/\x101\"\x04\b8\x10;*U\n" +
+ "\x11ExportDestination\x12\"\n" +
+ "\x1eEXPORT_DESTINATION_UNSPECIFIED\x10\x00\x12\f\n" +
+ "\bDOWNLOAD\x10\x01\x12\x0e\n" +
+ "\n" +
+ "SHAREPOINT\x10\x02B\xa1\x01\n" +
"\x0fcom.bytebase.v1B\vCommonProtoP\x01Z4github.com/bytebase/bytebase/backend/generated-go/v1\xa2\x02\x03BXX\xaa\x02\vBytebase.V1\xca\x02\vBytebase\\V1\xe2\x02\x17Bytebase\\V1\\GPBMetadata\xea\x02\fBytebase::V1b\x06proto3"
var (
@@ -1126,7 +1184,7 @@ func file_v1_common_proto_rawDescGZIP() []byte {
return file_v1_common_proto_rawDescData
}
-var file_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
+var file_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 10)
var file_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_v1_common_proto_goTypes = []any{
(State)(0), // 0: bytebase.v1.State
@@ -1138,9 +1196,10 @@ var file_v1_common_proto_goTypes = []any{
(RiskLevel)(0), // 6: bytebase.v1.RiskLevel
(WebhookType)(0), // 7: bytebase.v1.WebhookType
(StatementType)(0), // 8: bytebase.v1.StatementType
- (*Position)(nil), // 9: bytebase.v1.Position
- (*Range)(nil), // 10: bytebase.v1.Range
- (*PermissionDeniedDetail)(nil), // 11: bytebase.v1.PermissionDeniedDetail
+ (ExportDestination)(0), // 9: bytebase.v1.ExportDestination
+ (*Position)(nil), // 10: bytebase.v1.Position
+ (*Range)(nil), // 11: bytebase.v1.Range
+ (*PermissionDeniedDetail)(nil), // 12: bytebase.v1.PermissionDeniedDetail
}
var file_v1_common_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
@@ -1160,7 +1219,7 @@ func file_v1_common_proto_init() {
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_common_proto_rawDesc), len(file_v1_common_proto_rawDesc)),
- NumEnums: 9,
+ NumEnums: 10,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
diff --git a/backend/generated-go/v1/org_policy_service.pb.go b/backend/generated-go/v1/org_policy_service.pb.go
index cdf40c0b62..9a0cae0cc4 100644
--- a/backend/generated-go/v1/org_policy_service.pb.go
+++ b/backend/generated-go/v1/org_policy_service.pb.go
@@ -885,8 +885,12 @@ type QueryDataPolicy struct {
// 1. when read-only data source is configured, users're force to use the read-only data source
// 2. otherwise fallback to use the admin data source.
AllowAdminDataSource bool `protobuf:"varint,4,opt,name=allow_admin_data_source,json=allowAdminDataSource,proto3" json:"allow_admin_data_source,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ // workspace-level policy
+ // Disable the Download export destination. Exports can still go to a
+ // configured storage destination such as SharePoint.
+ DisableDownload bool `protobuf:"varint,5,opt,name=disable_download,json=disableDownload,proto3" json:"disable_download,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *QueryDataPolicy) Reset() {
@@ -948,6 +952,13 @@ func (x *QueryDataPolicy) GetAllowAdminDataSource() bool {
return false
}
+func (x *QueryDataPolicy) GetDisableDownload() bool {
+ if x != nil {
+ return x.DisableDownload
+ }
+ return false
+}
+
// MaskingExemptionPolicy is the allowlist of users who can access sensitive data.
type MaskingExemptionPolicy struct {
state protoimpl.MessageState `protogen:"open.v1"`
@@ -1297,12 +1308,13 @@ const file_v1_org_policy_service_proto_rawDesc = "" +
"\acontent\x18\x01 \x01(\tR\acontent\"C\n" +
"\rRolloutPolicy\x12\x1c\n" +
"\tautomatic\x18\x01 \x01(\bR\tautomatic\x12\x14\n" +
- "\x05roles\x18\x02 \x03(\tR\x05roles\"\xcf\x01\n" +
+ "\x05roles\x18\x02 \x03(\tR\x05roles\"\xfa\x01\n" +
"\x0fQueryDataPolicy\x12.\n" +
"\x13maximum_result_rows\x18\x01 \x01(\x05R\x11maximumResultRows\x12)\n" +
"\x0edisable_export\x18\x02 \x01(\bB\x02\x18\x01R\rdisableExport\x12*\n" +
"\x11disable_copy_data\x18\x03 \x01(\bR\x0fdisableCopyData\x125\n" +
- "\x17allow_admin_data_source\x18\x04 \x01(\bR\x14allowAdminDataSource\"\xbf\x01\n" +
+ "\x17allow_admin_data_source\x18\x04 \x01(\bR\x14allowAdminDataSource\x12)\n" +
+ "\x10disable_download\x18\x05 \x01(\bR\x0fdisableDownload\"\xbf\x01\n" +
"\x16MaskingExemptionPolicy\x12M\n" +
"\n" +
"exemptions\x18\x01 \x03(\v2-.bytebase.v1.MaskingExemptionPolicy.ExemptionR\n" +
diff --git a/backend/generated-go/v1/org_policy_service_equal.pb.go b/backend/generated-go/v1/org_policy_service_equal.pb.go
index 924473eefa..711e87ec39 100644
--- a/backend/generated-go/v1/org_policy_service_equal.pb.go
+++ b/backend/generated-go/v1/org_policy_service_equal.pb.go
@@ -231,6 +231,9 @@ func (x *QueryDataPolicy) Equal(y *QueryDataPolicy) bool {
if x.AllowAdminDataSource != y.AllowAdminDataSource {
return false
}
+ if x.DisableDownload != y.DisableDownload {
+ return false
+ }
return true
}
diff --git a/backend/generated-go/v1/project_service.pb.go b/backend/generated-go/v1/project_service.pb.go
index 97676878f4..068dbd8a87 100644
--- a/backend/generated-go/v1/project_service.pb.go
+++ b/backend/generated-go/v1/project_service.pb.go
@@ -92,7 +92,7 @@ func (x Activity_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use Activity_Type.Descriptor instead.
func (Activity_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{20, 0}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{21, 0}
}
type GetProjectRequest struct {
@@ -955,8 +955,10 @@ type Project struct {
AllowJustInTimeAccess bool `protobuf:"varint,23,opt,name=allow_just_in_time_access,json=allowJustInTimeAccess,proto3" json:"allow_just_in_time_access,omitempty"`
// Whether to allow the last Plan editor to approve a database change issue.
AllowLastPlanEditorApproval bool `protobuf:"varint,24,opt,name=allow_last_plan_editor_approval,json=allowLastPlanEditorApproval,proto3" json:"allow_last_plan_editor_approval,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ // Export configuration for this project.
+ ExportSetting *Project_ExportSetting `protobuf:"bytes,25,opt,name=export_setting,json=exportSetting,proto3" json:"export_setting,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *Project) Reset() {
@@ -1129,6 +1131,13 @@ func (x *Project) GetAllowLastPlanEditorApproval() bool {
return false
}
+func (x *Project) GetExportSetting() *Project_ExportSetting {
+ if x != nil {
+ return x.ExportSetting
+ }
+ return nil
+}
+
type AddWebhookRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The name of the project to add the webhook to.
@@ -1397,6 +1406,53 @@ func (x *TestWebhookResponse) GetError() string {
return ""
}
+// A SharePoint document library root or folder that receives exports.
+type SharePointDestination struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ // The URL of the library root or folder. Normalized to its canonical form
+ // and resolved with the workspace credentials on save.
+ Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *SharePointDestination) Reset() {
+ *x = SharePointDestination{}
+ mi := &file_v1_project_service_proto_msgTypes[19]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *SharePointDestination) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SharePointDestination) ProtoMessage() {}
+
+func (x *SharePointDestination) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_project_service_proto_msgTypes[19]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SharePointDestination.ProtoReflect.Descriptor instead.
+func (*SharePointDestination) Descriptor() ([]byte, []int) {
+ return file_v1_project_service_proto_rawDescGZIP(), []int{19}
+}
+
+func (x *SharePointDestination) GetUrl() string {
+ if x != nil {
+ return x.Url
+ }
+ return ""
+}
+
type Webhook struct {
state protoimpl.MessageState `protogen:"open.v1"`
// name is the name of the webhook, generated by the server.
@@ -1447,7 +1503,7 @@ type Webhook struct {
func (x *Webhook) Reset() {
*x = Webhook{}
- mi := &file_v1_project_service_proto_msgTypes[19]
+ mi := &file_v1_project_service_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1459,7 +1515,7 @@ func (x *Webhook) String() string {
func (*Webhook) ProtoMessage() {}
func (x *Webhook) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[19]
+ mi := &file_v1_project_service_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1472,7 +1528,7 @@ func (x *Webhook) ProtoReflect() protoreflect.Message {
// Deprecated: Use Webhook.ProtoReflect.Descriptor instead.
func (*Webhook) Descriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{19}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{20}
}
func (x *Webhook) GetName() string {
@@ -1533,7 +1589,7 @@ type Activity struct {
func (x *Activity) Reset() {
*x = Activity{}
- mi := &file_v1_project_service_proto_msgTypes[20]
+ mi := &file_v1_project_service_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1545,7 +1601,7 @@ func (x *Activity) String() string {
func (*Activity) ProtoMessage() {}
func (x *Activity) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[20]
+ mi := &file_v1_project_service_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1558,7 +1614,7 @@ func (x *Activity) ProtoReflect() protoreflect.Message {
// Deprecated: Use Activity.ProtoReflect.Descriptor instead.
func (*Activity) Descriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{20}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{21}
}
// Execution retry policy configuration.
@@ -1572,7 +1628,7 @@ type Project_ExecutionRetryPolicy struct {
func (x *Project_ExecutionRetryPolicy) Reset() {
*x = Project_ExecutionRetryPolicy{}
- mi := &file_v1_project_service_proto_msgTypes[21]
+ mi := &file_v1_project_service_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1584,7 +1640,7 @@ func (x *Project_ExecutionRetryPolicy) String() string {
func (*Project_ExecutionRetryPolicy) ProtoMessage() {}
func (x *Project_ExecutionRetryPolicy) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[21]
+ mi := &file_v1_project_service_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1607,6 +1663,52 @@ func (x *Project_ExecutionRetryPolicy) GetMaximumRetries() int32 {
return 0
}
+// Destinations offered for this project's exports, at most one per provider.
+type Project_ExportSetting struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ // Unset when the project has no SharePoint destination.
+ Sharepoint *SharePointDestination `protobuf:"bytes,1,opt,name=sharepoint,proto3" json:"sharepoint,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *Project_ExportSetting) Reset() {
+ *x = Project_ExportSetting{}
+ mi := &file_v1_project_service_proto_msgTypes[24]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *Project_ExportSetting) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Project_ExportSetting) ProtoMessage() {}
+
+func (x *Project_ExportSetting) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_project_service_proto_msgTypes[24]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use Project_ExportSetting.ProtoReflect.Descriptor instead.
+func (*Project_ExportSetting) Descriptor() ([]byte, []int) {
+ return file_v1_project_service_proto_rawDescGZIP(), []int{13, 2}
+}
+
+func (x *Project_ExportSetting) GetSharepoint() *SharePointDestination {
+ if x != nil {
+ return x.Sharepoint
+ }
+ return nil
+}
+
var File_v1_project_service_proto protoreflect.FileDescriptor
const file_v1_project_service_proto_rawDesc = "" +
@@ -1663,7 +1765,7 @@ const file_v1_project_service_proto_rawDesc = "" +
"\x05Label\x12\x14\n" +
"\x05value\x18\x01 \x01(\tR\x05value\x12(\n" +
"\x05color\x18\x02 \x01(\v2\x12.google.type.ColorR\x05color\x12\x14\n" +
- "\x05group\x18\x03 \x01(\tR\x05group\"\xed\t\n" +
+ "\x05group\x18\x03 \x01(\tR\x05group\"\x8d\v\n" +
"\aProject\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12(\n" +
"\x05state\x18\x02 \x01(\x0e2\x12.bytebase.v1.StateR\x05state\x12\x1e\n" +
@@ -1685,12 +1787,17 @@ const file_v1_project_service_proto_rawDesc = "" +
"\x1brequire_plan_check_no_error\x18\x15 \x01(\bR\x17requirePlanCheckNoError\x12,\n" +
"\x12allow_request_role\x18\x16 \x01(\bR\x10allowRequestRole\x128\n" +
"\x19allow_just_in_time_access\x18\x17 \x01(\bR\x15allowJustInTimeAccess\x12D\n" +
- "\x1fallow_last_plan_editor_approval\x18\x18 \x01(\bR\x1ballowLastPlanEditorApproval\x1a?\n" +
+ "\x1fallow_last_plan_editor_approval\x18\x18 \x01(\bR\x1ballowLastPlanEditorApproval\x12I\n" +
+ "\x0eexport_setting\x18\x19 \x01(\v2\".bytebase.v1.Project.ExportSettingR\rexportSetting\x1a?\n" +
"\x14ExecutionRetryPolicy\x12'\n" +
"\x0fmaximum_retries\x18\x01 \x01(\x05R\x0emaximumRetries\x1a9\n" +
"\vLabelsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
- "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01:-\xeaA*\n" +
+ "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aS\n" +
+ "\rExportSetting\x12B\n" +
+ "\n" +
+ "sharepoint\x18\x01 \x01(\v2\".bytebase.v1.SharePointDestinationR\n" +
+ "sharepoint:-\xeaA*\n" +
"\x14bytebase.com/Project\x12\x12projects/{project}J\x04\b\b\x10\n" +
"J\x04\b\v\x10\r\"\x80\x01\n" +
"\x11AddWebhookRequest\x126\n" +
@@ -1709,7 +1816,9 @@ const file_v1_project_service_proto_rawDesc = "" +
"\x14bytebase.com/ProjectR\aproject\x123\n" +
"\awebhook\x18\x02 \x01(\v2\x14.bytebase.v1.WebhookB\x03\xe0A\x02R\awebhook\"+\n" +
"\x13TestWebhookResponse\x12\x14\n" +
- "\x05error\x18\x01 \x01(\tR\x05error\"\x83\x03\n" +
+ "\x05error\x18\x01 \x01(\tR\x05error\")\n" +
+ "\x15SharePointDestination\x12\x10\n" +
+ "\x03url\x18\x01 \x01(\tR\x03url\"\x83\x03\n" +
"\aWebhook\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x121\n" +
"\x04type\x18\x02 \x01(\x0e2\x18.bytebase.v1.WebhookTypeB\x03\xe0A\x02R\x04type\x12\x19\n" +
@@ -1762,7 +1871,7 @@ func file_v1_project_service_proto_rawDescGZIP() []byte {
}
var file_v1_project_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
+var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
var file_v1_project_service_proto_goTypes = []any{
(Activity_Type)(0), // 0: bytebase.v1.Activity.Type
(*GetProjectRequest)(nil), // 1: bytebase.v1.GetProjectRequest
@@ -1784,18 +1893,20 @@ var file_v1_project_service_proto_goTypes = []any{
(*RemoveWebhookRequest)(nil), // 17: bytebase.v1.RemoveWebhookRequest
(*TestWebhookRequest)(nil), // 18: bytebase.v1.TestWebhookRequest
(*TestWebhookResponse)(nil), // 19: bytebase.v1.TestWebhookResponse
- (*Webhook)(nil), // 20: bytebase.v1.Webhook
- (*Activity)(nil), // 21: bytebase.v1.Activity
- (*Project_ExecutionRetryPolicy)(nil), // 22: bytebase.v1.Project.ExecutionRetryPolicy
- nil, // 23: bytebase.v1.Project.LabelsEntry
- (*fieldmaskpb.FieldMask)(nil), // 24: google.protobuf.FieldMask
- (*color.Color)(nil), // 25: google.type.Color
- (State)(0), // 26: bytebase.v1.State
- (WebhookType)(0), // 27: bytebase.v1.WebhookType
- (*GetIamPolicyRequest)(nil), // 28: bytebase.v1.GetIamPolicyRequest
- (*SetIamPolicyRequest)(nil), // 29: bytebase.v1.SetIamPolicyRequest
- (*emptypb.Empty)(nil), // 30: google.protobuf.Empty
- (*IamPolicy)(nil), // 31: bytebase.v1.IamPolicy
+ (*SharePointDestination)(nil), // 20: bytebase.v1.SharePointDestination
+ (*Webhook)(nil), // 21: bytebase.v1.Webhook
+ (*Activity)(nil), // 22: bytebase.v1.Activity
+ (*Project_ExecutionRetryPolicy)(nil), // 23: bytebase.v1.Project.ExecutionRetryPolicy
+ nil, // 24: bytebase.v1.Project.LabelsEntry
+ (*Project_ExportSetting)(nil), // 25: bytebase.v1.Project.ExportSetting
+ (*fieldmaskpb.FieldMask)(nil), // 26: google.protobuf.FieldMask
+ (*color.Color)(nil), // 27: google.type.Color
+ (State)(0), // 28: bytebase.v1.State
+ (WebhookType)(0), // 29: bytebase.v1.WebhookType
+ (*GetIamPolicyRequest)(nil), // 30: bytebase.v1.GetIamPolicyRequest
+ (*SetIamPolicyRequest)(nil), // 31: bytebase.v1.SetIamPolicyRequest
+ (*emptypb.Empty)(nil), // 32: google.protobuf.Empty
+ (*IamPolicy)(nil), // 33: bytebase.v1.IamPolicy
}
var file_v1_project_service_proto_depIdxs = []int32{
14, // 0: bytebase.v1.BatchGetProjectsResponse.projects:type_name -> bytebase.v1.Project
@@ -1803,55 +1914,57 @@ var file_v1_project_service_proto_depIdxs = []int32{
14, // 2: bytebase.v1.SearchProjectsResponse.projects:type_name -> bytebase.v1.Project
14, // 3: bytebase.v1.CreateProjectRequest.project:type_name -> bytebase.v1.Project
14, // 4: bytebase.v1.UpdateProjectRequest.project:type_name -> bytebase.v1.Project
- 24, // 5: bytebase.v1.UpdateProjectRequest.update_mask:type_name -> google.protobuf.FieldMask
- 25, // 6: bytebase.v1.Label.color:type_name -> google.type.Color
- 26, // 7: bytebase.v1.Project.state:type_name -> bytebase.v1.State
- 20, // 8: bytebase.v1.Project.webhooks:type_name -> bytebase.v1.Webhook
+ 26, // 5: bytebase.v1.UpdateProjectRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 27, // 6: bytebase.v1.Label.color:type_name -> google.type.Color
+ 28, // 7: bytebase.v1.Project.state:type_name -> bytebase.v1.State
+ 21, // 8: bytebase.v1.Project.webhooks:type_name -> bytebase.v1.Webhook
13, // 9: bytebase.v1.Project.issue_labels:type_name -> bytebase.v1.Label
- 22, // 10: bytebase.v1.Project.execution_retry_policy:type_name -> bytebase.v1.Project.ExecutionRetryPolicy
- 23, // 11: bytebase.v1.Project.labels:type_name -> bytebase.v1.Project.LabelsEntry
- 20, // 12: bytebase.v1.AddWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
- 20, // 13: bytebase.v1.UpdateWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
- 24, // 14: bytebase.v1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask
- 20, // 15: bytebase.v1.RemoveWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
- 20, // 16: bytebase.v1.TestWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
- 27, // 17: bytebase.v1.Webhook.type:type_name -> bytebase.v1.WebhookType
- 0, // 18: bytebase.v1.Webhook.notification_types:type_name -> bytebase.v1.Activity.Type
- 1, // 19: bytebase.v1.ProjectService.GetProject:input_type -> bytebase.v1.GetProjectRequest
- 2, // 20: bytebase.v1.ProjectService.BatchGetProjects:input_type -> bytebase.v1.BatchGetProjectsRequest
- 4, // 21: bytebase.v1.ProjectService.ListProjects:input_type -> bytebase.v1.ListProjectsRequest
- 6, // 22: bytebase.v1.ProjectService.SearchProjects:input_type -> bytebase.v1.SearchProjectsRequest
- 8, // 23: bytebase.v1.ProjectService.CreateProject:input_type -> bytebase.v1.CreateProjectRequest
- 9, // 24: bytebase.v1.ProjectService.UpdateProject:input_type -> bytebase.v1.UpdateProjectRequest
- 10, // 25: bytebase.v1.ProjectService.DeleteProject:input_type -> bytebase.v1.DeleteProjectRequest
- 11, // 26: bytebase.v1.ProjectService.UndeleteProject:input_type -> bytebase.v1.UndeleteProjectRequest
- 12, // 27: bytebase.v1.ProjectService.BatchDeleteProjects:input_type -> bytebase.v1.BatchDeleteProjectsRequest
- 28, // 28: bytebase.v1.ProjectService.GetIamPolicy:input_type -> bytebase.v1.GetIamPolicyRequest
- 29, // 29: bytebase.v1.ProjectService.SetIamPolicy:input_type -> bytebase.v1.SetIamPolicyRequest
- 15, // 30: bytebase.v1.ProjectService.AddWebhook:input_type -> bytebase.v1.AddWebhookRequest
- 16, // 31: bytebase.v1.ProjectService.UpdateWebhook:input_type -> bytebase.v1.UpdateWebhookRequest
- 17, // 32: bytebase.v1.ProjectService.RemoveWebhook:input_type -> bytebase.v1.RemoveWebhookRequest
- 18, // 33: bytebase.v1.ProjectService.TestWebhook:input_type -> bytebase.v1.TestWebhookRequest
- 14, // 34: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project
- 3, // 35: bytebase.v1.ProjectService.BatchGetProjects:output_type -> bytebase.v1.BatchGetProjectsResponse
- 5, // 36: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse
- 7, // 37: bytebase.v1.ProjectService.SearchProjects:output_type -> bytebase.v1.SearchProjectsResponse
- 14, // 38: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project
- 14, // 39: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project
- 30, // 40: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty
- 14, // 41: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project
- 30, // 42: bytebase.v1.ProjectService.BatchDeleteProjects:output_type -> google.protobuf.Empty
- 31, // 43: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy
- 31, // 44: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy
- 14, // 45: bytebase.v1.ProjectService.AddWebhook:output_type -> bytebase.v1.Project
- 14, // 46: bytebase.v1.ProjectService.UpdateWebhook:output_type -> bytebase.v1.Project
- 14, // 47: bytebase.v1.ProjectService.RemoveWebhook:output_type -> bytebase.v1.Project
- 19, // 48: bytebase.v1.ProjectService.TestWebhook:output_type -> bytebase.v1.TestWebhookResponse
- 34, // [34:49] is the sub-list for method output_type
- 19, // [19:34] is the sub-list for method input_type
- 19, // [19:19] is the sub-list for extension type_name
- 19, // [19:19] is the sub-list for extension extendee
- 0, // [0:19] is the sub-list for field type_name
+ 23, // 10: bytebase.v1.Project.execution_retry_policy:type_name -> bytebase.v1.Project.ExecutionRetryPolicy
+ 24, // 11: bytebase.v1.Project.labels:type_name -> bytebase.v1.Project.LabelsEntry
+ 25, // 12: bytebase.v1.Project.export_setting:type_name -> bytebase.v1.Project.ExportSetting
+ 21, // 13: bytebase.v1.AddWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
+ 21, // 14: bytebase.v1.UpdateWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
+ 26, // 15: bytebase.v1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 21, // 16: bytebase.v1.RemoveWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
+ 21, // 17: bytebase.v1.TestWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
+ 29, // 18: bytebase.v1.Webhook.type:type_name -> bytebase.v1.WebhookType
+ 0, // 19: bytebase.v1.Webhook.notification_types:type_name -> bytebase.v1.Activity.Type
+ 20, // 20: bytebase.v1.Project.ExportSetting.sharepoint:type_name -> bytebase.v1.SharePointDestination
+ 1, // 21: bytebase.v1.ProjectService.GetProject:input_type -> bytebase.v1.GetProjectRequest
+ 2, // 22: bytebase.v1.ProjectService.BatchGetProjects:input_type -> bytebase.v1.BatchGetProjectsRequest
+ 4, // 23: bytebase.v1.ProjectService.ListProjects:input_type -> bytebase.v1.ListProjectsRequest
+ 6, // 24: bytebase.v1.ProjectService.SearchProjects:input_type -> bytebase.v1.SearchProjectsRequest
+ 8, // 25: bytebase.v1.ProjectService.CreateProject:input_type -> bytebase.v1.CreateProjectRequest
+ 9, // 26: bytebase.v1.ProjectService.UpdateProject:input_type -> bytebase.v1.UpdateProjectRequest
+ 10, // 27: bytebase.v1.ProjectService.DeleteProject:input_type -> bytebase.v1.DeleteProjectRequest
+ 11, // 28: bytebase.v1.ProjectService.UndeleteProject:input_type -> bytebase.v1.UndeleteProjectRequest
+ 12, // 29: bytebase.v1.ProjectService.BatchDeleteProjects:input_type -> bytebase.v1.BatchDeleteProjectsRequest
+ 30, // 30: bytebase.v1.ProjectService.GetIamPolicy:input_type -> bytebase.v1.GetIamPolicyRequest
+ 31, // 31: bytebase.v1.ProjectService.SetIamPolicy:input_type -> bytebase.v1.SetIamPolicyRequest
+ 15, // 32: bytebase.v1.ProjectService.AddWebhook:input_type -> bytebase.v1.AddWebhookRequest
+ 16, // 33: bytebase.v1.ProjectService.UpdateWebhook:input_type -> bytebase.v1.UpdateWebhookRequest
+ 17, // 34: bytebase.v1.ProjectService.RemoveWebhook:input_type -> bytebase.v1.RemoveWebhookRequest
+ 18, // 35: bytebase.v1.ProjectService.TestWebhook:input_type -> bytebase.v1.TestWebhookRequest
+ 14, // 36: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project
+ 3, // 37: bytebase.v1.ProjectService.BatchGetProjects:output_type -> bytebase.v1.BatchGetProjectsResponse
+ 5, // 38: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse
+ 7, // 39: bytebase.v1.ProjectService.SearchProjects:output_type -> bytebase.v1.SearchProjectsResponse
+ 14, // 40: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project
+ 14, // 41: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project
+ 32, // 42: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty
+ 14, // 43: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project
+ 32, // 44: bytebase.v1.ProjectService.BatchDeleteProjects:output_type -> google.protobuf.Empty
+ 33, // 45: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy
+ 33, // 46: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy
+ 14, // 47: bytebase.v1.ProjectService.AddWebhook:output_type -> bytebase.v1.Project
+ 14, // 48: bytebase.v1.ProjectService.UpdateWebhook:output_type -> bytebase.v1.Project
+ 14, // 49: bytebase.v1.ProjectService.RemoveWebhook:output_type -> bytebase.v1.Project
+ 19, // 50: bytebase.v1.ProjectService.TestWebhook:output_type -> bytebase.v1.TestWebhookResponse
+ 36, // [36:51] is the sub-list for method output_type
+ 21, // [21:36] is the sub-list for method input_type
+ 21, // [21:21] is the sub-list for extension type_name
+ 21, // [21:21] is the sub-list for extension extendee
+ 0, // [0:21] is the sub-list for field type_name
}
func init() { file_v1_project_service_proto_init() }
@@ -1868,7 +1981,7 @@ func file_v1_project_service_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_project_service_proto_rawDesc), len(file_v1_project_service_proto_rawDesc)),
NumEnums: 1,
- NumMessages: 23,
+ NumMessages: 25,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/backend/generated-go/v1/project_service_equal.pb.go b/backend/generated-go/v1/project_service_equal.pb.go
index 81ab6000e8..f2e2d018f0 100644
--- a/backend/generated-go/v1/project_service_equal.pb.go
+++ b/backend/generated-go/v1/project_service_equal.pb.go
@@ -273,6 +273,19 @@ func (x *Project_ExecutionRetryPolicy) Equal(y *Project_ExecutionRetryPolicy) bo
return true
}
+func (x *Project_ExportSetting) Equal(y *Project_ExportSetting) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if !x.Sharepoint.Equal(y.Sharepoint) {
+ return false
+ }
+ return true
+}
+
func (x *Project) Equal(y *Project) bool {
if x == y {
return true
@@ -359,6 +372,9 @@ func (x *Project) Equal(y *Project) bool {
if x.AllowLastPlanEditorApproval != y.AllowLastPlanEditorApproval {
return false
}
+ if !x.ExportSetting.Equal(y.ExportSetting) {
+ return false
+ }
return true
}
@@ -443,6 +459,19 @@ func (x *TestWebhookResponse) Equal(y *TestWebhookResponse) bool {
return true
}
+func (x *SharePointDestination) Equal(y *SharePointDestination) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if x.Url != y.Url {
+ return false
+ }
+ return true
+}
+
func (x *Webhook) Equal(y *Webhook) bool {
if x == y {
return true
diff --git a/backend/generated-go/v1/setting_service.pb.go b/backend/generated-go/v1/setting_service.pb.go
index 4a338dcdc2..03a29fc003 100644
--- a/backend/generated-go/v1/setting_service.pb.go
+++ b/backend/generated-go/v1/setting_service.pb.go
@@ -91,21 +91,23 @@ const (
Setting_ENVIRONMENT Setting_SettingName = 7
Setting_EMAIL Setting_SettingName = 8
Setting_MCP Setting_SettingName = 9
+ Setting_EXPORT Setting_SettingName = 10
)
// Enum value maps for Setting_SettingName.
var (
Setting_SettingName_name = map[int32]string{
- 0: "SETTING_NAME_UNSPECIFIED",
- 1: "WORKSPACE_PROFILE",
- 2: "WORKSPACE_APPROVAL",
- 3: "APP_IM",
- 4: "AI",
- 5: "DATA_CLASSIFICATION",
- 6: "SEMANTIC_TYPES",
- 7: "ENVIRONMENT",
- 8: "EMAIL",
- 9: "MCP",
+ 0: "SETTING_NAME_UNSPECIFIED",
+ 1: "WORKSPACE_PROFILE",
+ 2: "WORKSPACE_APPROVAL",
+ 3: "APP_IM",
+ 4: "AI",
+ 5: "DATA_CLASSIFICATION",
+ 6: "SEMANTIC_TYPES",
+ 7: "ENVIRONMENT",
+ 8: "EMAIL",
+ 9: "MCP",
+ 10: "EXPORT",
}
Setting_SettingName_value = map[string]int32{
"SETTING_NAME_UNSPECIFIED": 0,
@@ -118,6 +120,7 @@ var (
"ENVIRONMENT": 7,
"EMAIL": 8,
"MCP": 9,
+ "EXPORT": 10,
}
)
@@ -207,7 +210,7 @@ func (x MCPSetting_Capability) Number() protoreflect.EnumNumber {
// Deprecated: Use MCPSetting_Capability.Descriptor instead.
func (MCPSetting_Capability) EnumDescriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{11, 0}
}
type WorkspaceApprovalSetting_Rule_Source int32
@@ -262,7 +265,7 @@ func (x WorkspaceApprovalSetting_Rule_Source) Number() protoreflect.EnumNumber {
// Deprecated: Use WorkspaceApprovalSetting_Rule_Source.Descriptor instead.
func (WorkspaceApprovalSetting_Rule_Source) EnumDescriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{12, 0, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 0, 0}
}
type Algorithm_InnerOuterMask_MaskType int32
@@ -311,7 +314,7 @@ func (x Algorithm_InnerOuterMask_MaskType) Number() protoreflect.EnumNumber {
// Deprecated: Use Algorithm_InnerOuterMask_MaskType.Descriptor instead.
func (Algorithm_InnerOuterMask_MaskType) EnumDescriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 3, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 3, 0}
}
type AISetting_Provider int32
@@ -366,7 +369,7 @@ func (x AISetting_Provider) Number() protoreflect.EnumNumber {
// Deprecated: Use AISetting_Provider.Descriptor instead.
func (AISetting_Provider) EnumDescriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{16, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{18, 0}
}
type EmailSetting_Type int32
@@ -412,7 +415,7 @@ func (x EmailSetting_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use EmailSetting_Type.Descriptor instead.
func (EmailSetting_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{18, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{20, 0}
}
type EmailSetting_SMTPConfig_Encryption int32
@@ -464,7 +467,7 @@ func (x EmailSetting_SMTPConfig_Encryption) Number() protoreflect.EnumNumber {
// Deprecated: Use EmailSetting_SMTPConfig_Encryption.Descriptor instead.
func (EmailSetting_SMTPConfig_Encryption) EnumDescriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{18, 0, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{20, 0, 0}
}
type EmailSetting_SMTPConfig_Authentication int32
@@ -519,7 +522,7 @@ func (x EmailSetting_SMTPConfig_Authentication) Number() protoreflect.EnumNumber
// Deprecated: Use EmailSetting_SMTPConfig_Authentication.Descriptor instead.
func (EmailSetting_SMTPConfig_Authentication) EnumDescriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{18, 0, 1}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{20, 0, 1}
}
type ListSettingsRequest struct {
@@ -837,6 +840,7 @@ type SettingValue struct {
// *SettingValue_Environment
// *SettingValue_Email
// *SettingValue_Mcp
+ // *SettingValue_Export
Value isSettingValue_Value `protobuf_oneof:"value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
@@ -960,6 +964,15 @@ func (x *SettingValue) GetMcp() *MCPSetting {
return nil
}
+func (x *SettingValue) GetExport() *ExportSetting {
+ if x != nil {
+ if x, ok := x.Value.(*SettingValue_Export); ok {
+ return x.Export
+ }
+ }
+ return nil
+}
+
type isSettingValue_Value interface {
isSettingValue_Value()
}
@@ -1000,6 +1013,10 @@ type SettingValue_Mcp struct {
Mcp *MCPSetting `protobuf:"bytes,9,opt,name=mcp,proto3,oneof"`
}
+type SettingValue_Export struct {
+ Export *ExportSetting `protobuf:"bytes,10,opt,name=export,proto3,oneof"`
+}
+
func (*SettingValue_AppIm) isSettingValue_Value() {}
func (*SettingValue_WorkspaceProfile) isSettingValue_Value() {}
@@ -1018,6 +1035,129 @@ func (*SettingValue_Email) isSettingValue_Value() {}
func (*SettingValue_Mcp) isSettingValue_Value() {}
+func (*SettingValue_Export) isSettingValue_Value() {}
+
+// ExportSetting holds each export destination provider's credentials.
+type ExportSetting struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ // Unset when SharePoint is not configured.
+ Sharepoint *SharePointSetting `protobuf:"bytes,1,opt,name=sharepoint,proto3" json:"sharepoint,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *ExportSetting) Reset() {
+ *x = ExportSetting{}
+ mi := &file_v1_setting_service_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *ExportSetting) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ExportSetting) ProtoMessage() {}
+
+func (x *ExportSetting) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_setting_service_proto_msgTypes[7]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ExportSetting.ProtoReflect.Descriptor instead.
+func (*ExportSetting) Descriptor() ([]byte, []int) {
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{7}
+}
+
+func (x *ExportSetting) GetSharepoint() *SharePointSetting {
+ if x != nil {
+ return x.Sharepoint
+ }
+ return nil
+}
+
+// SharePointSetting is the Microsoft Entra application that uploads exports to
+// SharePoint. It is granted access per library by the customer's SharePoint
+// administrators.
+type SharePointSetting struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ // The Microsoft Entra tenant (directory) ID.
+ TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
+ // The application (client) ID.
+ ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
+ // The client secret. It is never returned.
+ ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
+ // Whether a client secret is stored.
+ ClientSecretSet bool `protobuf:"varint,4,opt,name=client_secret_set,json=clientSecretSet,proto3" json:"client_secret_set,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *SharePointSetting) Reset() {
+ *x = SharePointSetting{}
+ mi := &file_v1_setting_service_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *SharePointSetting) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SharePointSetting) ProtoMessage() {}
+
+func (x *SharePointSetting) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_setting_service_proto_msgTypes[8]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SharePointSetting.ProtoReflect.Descriptor instead.
+func (*SharePointSetting) Descriptor() ([]byte, []int) {
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{8}
+}
+
+func (x *SharePointSetting) GetTenantId() string {
+ if x != nil {
+ return x.TenantId
+ }
+ return ""
+}
+
+func (x *SharePointSetting) GetClientId() string {
+ if x != nil {
+ return x.ClientId
+ }
+ return ""
+}
+
+func (x *SharePointSetting) GetClientSecret() string {
+ if x != nil {
+ return x.ClientSecret
+ }
+ return ""
+}
+
+func (x *SharePointSetting) GetClientSecretSet() bool {
+ if x != nil {
+ return x.ClientSecretSet
+ }
+ return false
+}
+
type AppIMSetting struct {
state protoimpl.MessageState `protogen:"open.v1"`
Settings []*AppIMSetting_IMSetting `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"`
@@ -1027,7 +1167,7 @@ type AppIMSetting struct {
func (x *AppIMSetting) Reset() {
*x = AppIMSetting{}
- mi := &file_v1_setting_service_proto_msgTypes[7]
+ mi := &file_v1_setting_service_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1039,7 +1179,7 @@ func (x *AppIMSetting) String() string {
func (*AppIMSetting) ProtoMessage() {}
func (x *AppIMSetting) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[7]
+ mi := &file_v1_setting_service_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1052,7 +1192,7 @@ func (x *AppIMSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting.ProtoReflect.Descriptor instead.
func (*AppIMSetting) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{7}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{9}
}
func (x *AppIMSetting) GetSettings() []*AppIMSetting_IMSetting {
@@ -1127,7 +1267,7 @@ type WorkspaceProfileSetting struct {
func (x *WorkspaceProfileSetting) Reset() {
*x = WorkspaceProfileSetting{}
- mi := &file_v1_setting_service_proto_msgTypes[8]
+ mi := &file_v1_setting_service_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1139,7 +1279,7 @@ func (x *WorkspaceProfileSetting) String() string {
func (*WorkspaceProfileSetting) ProtoMessage() {}
func (x *WorkspaceProfileSetting) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[8]
+ mi := &file_v1_setting_service_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1152,7 +1292,7 @@ func (x *WorkspaceProfileSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use WorkspaceProfileSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceProfileSetting) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{8}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{10}
}
func (x *WorkspaceProfileSetting) GetExternalUrl() string {
@@ -1340,7 +1480,7 @@ type MCPSetting struct {
func (x *MCPSetting) Reset() {
*x = MCPSetting{}
- mi := &file_v1_setting_service_proto_msgTypes[9]
+ mi := &file_v1_setting_service_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1352,7 +1492,7 @@ func (x *MCPSetting) String() string {
func (*MCPSetting) ProtoMessage() {}
func (x *MCPSetting) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[9]
+ mi := &file_v1_setting_service_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1365,7 +1505,7 @@ func (x *MCPSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use MCPSetting.ProtoReflect.Descriptor instead.
func (*MCPSetting) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{9}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{11}
}
func (x *MCPSetting) GetCapability() MCPSetting_Capability {
@@ -1388,7 +1528,7 @@ type SQLEditorThemeSetting struct {
func (x *SQLEditorThemeSetting) Reset() {
*x = SQLEditorThemeSetting{}
- mi := &file_v1_setting_service_proto_msgTypes[10]
+ mi := &file_v1_setting_service_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1400,7 +1540,7 @@ func (x *SQLEditorThemeSetting) String() string {
func (*SQLEditorThemeSetting) ProtoMessage() {}
func (x *SQLEditorThemeSetting) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[10]
+ mi := &file_v1_setting_service_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1413,7 +1553,7 @@ func (x *SQLEditorThemeSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use SQLEditorThemeSetting.ProtoReflect.Descriptor instead.
func (*SQLEditorThemeSetting) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{10}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{12}
}
func (x *SQLEditorThemeSetting) GetId() string {
@@ -1459,7 +1599,7 @@ type Announcement struct {
func (x *Announcement) Reset() {
*x = Announcement{}
- mi := &file_v1_setting_service_proto_msgTypes[11]
+ mi := &file_v1_setting_service_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1471,7 +1611,7 @@ func (x *Announcement) String() string {
func (*Announcement) ProtoMessage() {}
func (x *Announcement) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[11]
+ mi := &file_v1_setting_service_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1484,7 +1624,7 @@ func (x *Announcement) ProtoReflect() protoreflect.Message {
// Deprecated: Use Announcement.ProtoReflect.Descriptor instead.
func (*Announcement) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{11}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{13}
}
func (x *Announcement) GetText() string {
@@ -1517,7 +1657,7 @@ type WorkspaceApprovalSetting struct {
func (x *WorkspaceApprovalSetting) Reset() {
*x = WorkspaceApprovalSetting{}
- mi := &file_v1_setting_service_proto_msgTypes[12]
+ mi := &file_v1_setting_service_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1529,7 +1669,7 @@ func (x *WorkspaceApprovalSetting) String() string {
func (*WorkspaceApprovalSetting) ProtoMessage() {}
func (x *WorkspaceApprovalSetting) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[12]
+ mi := &file_v1_setting_service_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1542,7 +1682,7 @@ func (x *WorkspaceApprovalSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use WorkspaceApprovalSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceApprovalSetting) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{12}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{14}
}
func (x *WorkspaceApprovalSetting) GetRules() []*WorkspaceApprovalSetting_Rule {
@@ -1561,7 +1701,7 @@ type DataClassificationSetting struct {
func (x *DataClassificationSetting) Reset() {
*x = DataClassificationSetting{}
- mi := &file_v1_setting_service_proto_msgTypes[13]
+ mi := &file_v1_setting_service_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1573,7 +1713,7 @@ func (x *DataClassificationSetting) String() string {
func (*DataClassificationSetting) ProtoMessage() {}
func (x *DataClassificationSetting) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[13]
+ mi := &file_v1_setting_service_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1586,7 +1726,7 @@ func (x *DataClassificationSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use DataClassificationSetting.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{13}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{15}
}
func (x *DataClassificationSetting) GetConfigs() []*DataClassificationSetting_DataClassificationConfig {
@@ -1605,7 +1745,7 @@ type SemanticTypeSetting struct {
func (x *SemanticTypeSetting) Reset() {
*x = SemanticTypeSetting{}
- mi := &file_v1_setting_service_proto_msgTypes[14]
+ mi := &file_v1_setting_service_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1617,7 +1757,7 @@ func (x *SemanticTypeSetting) String() string {
func (*SemanticTypeSetting) ProtoMessage() {}
func (x *SemanticTypeSetting) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[14]
+ mi := &file_v1_setting_service_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1630,7 +1770,7 @@ func (x *SemanticTypeSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use SemanticTypeSetting.ProtoReflect.Descriptor instead.
func (*SemanticTypeSetting) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{14}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{16}
}
func (x *SemanticTypeSetting) GetTypes() []*SemanticTypeSetting_SemanticType {
@@ -1655,7 +1795,7 @@ type Algorithm struct {
func (x *Algorithm) Reset() {
*x = Algorithm{}
- mi := &file_v1_setting_service_proto_msgTypes[15]
+ mi := &file_v1_setting_service_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1667,7 +1807,7 @@ func (x *Algorithm) String() string {
func (*Algorithm) ProtoMessage() {}
func (x *Algorithm) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[15]
+ mi := &file_v1_setting_service_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1680,7 +1820,7 @@ func (x *Algorithm) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm.ProtoReflect.Descriptor instead.
func (*Algorithm) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{15}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{17}
}
func (x *Algorithm) GetMask() isAlgorithm_Mask {
@@ -1773,7 +1913,7 @@ type AISetting struct {
func (x *AISetting) Reset() {
*x = AISetting{}
- mi := &file_v1_setting_service_proto_msgTypes[16]
+ mi := &file_v1_setting_service_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1785,7 +1925,7 @@ func (x *AISetting) String() string {
func (*AISetting) ProtoMessage() {}
func (x *AISetting) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[16]
+ mi := &file_v1_setting_service_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1798,7 +1938,7 @@ func (x *AISetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use AISetting.ProtoReflect.Descriptor instead.
func (*AISetting) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{16}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{18}
}
func (x *AISetting) GetEnabled() bool {
@@ -1859,7 +1999,7 @@ type EnvironmentSetting struct {
func (x *EnvironmentSetting) Reset() {
*x = EnvironmentSetting{}
- mi := &file_v1_setting_service_proto_msgTypes[17]
+ mi := &file_v1_setting_service_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1871,7 +2011,7 @@ func (x *EnvironmentSetting) String() string {
func (*EnvironmentSetting) ProtoMessage() {}
func (x *EnvironmentSetting) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[17]
+ mi := &file_v1_setting_service_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1884,7 +2024,7 @@ func (x *EnvironmentSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use EnvironmentSetting.ProtoReflect.Descriptor instead.
func (*EnvironmentSetting) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{17}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{19}
}
func (x *EnvironmentSetting) GetEnvironments() []*EnvironmentSetting_Environment {
@@ -1909,7 +2049,7 @@ type EmailSetting struct {
func (x *EmailSetting) Reset() {
*x = EmailSetting{}
- mi := &file_v1_setting_service_proto_msgTypes[18]
+ mi := &file_v1_setting_service_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1921,7 +2061,7 @@ func (x *EmailSetting) String() string {
func (*EmailSetting) ProtoMessage() {}
func (x *EmailSetting) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[18]
+ mi := &file_v1_setting_service_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1934,7 +2074,7 @@ func (x *EmailSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use EmailSetting.ProtoReflect.Descriptor instead.
func (*EmailSetting) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{18}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{20}
}
func (x *EmailSetting) GetFrom() string {
@@ -1995,7 +2135,7 @@ type TestEmailSettingRequest struct {
func (x *TestEmailSettingRequest) Reset() {
*x = TestEmailSettingRequest{}
- mi := &file_v1_setting_service_proto_msgTypes[19]
+ mi := &file_v1_setting_service_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2007,7 +2147,7 @@ func (x *TestEmailSettingRequest) String() string {
func (*TestEmailSettingRequest) ProtoMessage() {}
func (x *TestEmailSettingRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[19]
+ mi := &file_v1_setting_service_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2020,7 +2160,7 @@ func (x *TestEmailSettingRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use TestEmailSettingRequest.ProtoReflect.Descriptor instead.
func (*TestEmailSettingRequest) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{19}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{21}
}
func (x *TestEmailSettingRequest) GetParent() string {
@@ -2054,7 +2194,7 @@ type TestEmailSettingResponse struct {
func (x *TestEmailSettingResponse) Reset() {
*x = TestEmailSettingResponse{}
- mi := &file_v1_setting_service_proto_msgTypes[20]
+ mi := &file_v1_setting_service_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2066,7 +2206,7 @@ func (x *TestEmailSettingResponse) String() string {
func (*TestEmailSettingResponse) ProtoMessage() {}
func (x *TestEmailSettingResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[20]
+ mi := &file_v1_setting_service_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2079,7 +2219,7 @@ func (x *TestEmailSettingResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use TestEmailSettingResponse.ProtoReflect.Descriptor instead.
func (*TestEmailSettingResponse) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{20}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{22}
}
func (x *TestEmailSettingResponse) GetSuccess() bool {
@@ -2105,7 +2245,7 @@ type AppIMSetting_Slack struct {
func (x *AppIMSetting_Slack) Reset() {
*x = AppIMSetting_Slack{}
- mi := &file_v1_setting_service_proto_msgTypes[21]
+ mi := &file_v1_setting_service_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2117,7 +2257,7 @@ func (x *AppIMSetting_Slack) String() string {
func (*AppIMSetting_Slack) ProtoMessage() {}
func (x *AppIMSetting_Slack) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[21]
+ mi := &file_v1_setting_service_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2130,7 +2270,7 @@ func (x *AppIMSetting_Slack) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_Slack.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Slack) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{7, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 0}
}
func (x *AppIMSetting_Slack) GetToken() string {
@@ -2150,7 +2290,7 @@ type AppIMSetting_Feishu struct {
func (x *AppIMSetting_Feishu) Reset() {
*x = AppIMSetting_Feishu{}
- mi := &file_v1_setting_service_proto_msgTypes[22]
+ mi := &file_v1_setting_service_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2162,7 +2302,7 @@ func (x *AppIMSetting_Feishu) String() string {
func (*AppIMSetting_Feishu) ProtoMessage() {}
func (x *AppIMSetting_Feishu) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[22]
+ mi := &file_v1_setting_service_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2175,7 +2315,7 @@ func (x *AppIMSetting_Feishu) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_Feishu.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Feishu) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{7, 1}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 1}
}
func (x *AppIMSetting_Feishu) GetAppId() string {
@@ -2203,7 +2343,7 @@ type AppIMSetting_Wecom struct {
func (x *AppIMSetting_Wecom) Reset() {
*x = AppIMSetting_Wecom{}
- mi := &file_v1_setting_service_proto_msgTypes[23]
+ mi := &file_v1_setting_service_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2215,7 +2355,7 @@ func (x *AppIMSetting_Wecom) String() string {
func (*AppIMSetting_Wecom) ProtoMessage() {}
func (x *AppIMSetting_Wecom) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[23]
+ mi := &file_v1_setting_service_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2228,7 +2368,7 @@ func (x *AppIMSetting_Wecom) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_Wecom.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Wecom) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{7, 2}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 2}
}
func (x *AppIMSetting_Wecom) GetCorpId() string {
@@ -2262,7 +2402,7 @@ type AppIMSetting_Lark struct {
func (x *AppIMSetting_Lark) Reset() {
*x = AppIMSetting_Lark{}
- mi := &file_v1_setting_service_proto_msgTypes[24]
+ mi := &file_v1_setting_service_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2274,7 +2414,7 @@ func (x *AppIMSetting_Lark) String() string {
func (*AppIMSetting_Lark) ProtoMessage() {}
func (x *AppIMSetting_Lark) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[24]
+ mi := &file_v1_setting_service_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2287,7 +2427,7 @@ func (x *AppIMSetting_Lark) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_Lark.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Lark) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{7, 3}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 3}
}
func (x *AppIMSetting_Lark) GetAppId() string {
@@ -2315,7 +2455,7 @@ type AppIMSetting_DingTalk struct {
func (x *AppIMSetting_DingTalk) Reset() {
*x = AppIMSetting_DingTalk{}
- mi := &file_v1_setting_service_proto_msgTypes[25]
+ mi := &file_v1_setting_service_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2327,7 +2467,7 @@ func (x *AppIMSetting_DingTalk) String() string {
func (*AppIMSetting_DingTalk) ProtoMessage() {}
func (x *AppIMSetting_DingTalk) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[25]
+ mi := &file_v1_setting_service_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2340,7 +2480,7 @@ func (x *AppIMSetting_DingTalk) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_DingTalk.ProtoReflect.Descriptor instead.
func (*AppIMSetting_DingTalk) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{7, 4}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 4}
}
func (x *AppIMSetting_DingTalk) GetClientId() string {
@@ -2378,7 +2518,7 @@ type AppIMSetting_Teams struct {
func (x *AppIMSetting_Teams) Reset() {
*x = AppIMSetting_Teams{}
- mi := &file_v1_setting_service_proto_msgTypes[26]
+ mi := &file_v1_setting_service_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2390,7 +2530,7 @@ func (x *AppIMSetting_Teams) String() string {
func (*AppIMSetting_Teams) ProtoMessage() {}
func (x *AppIMSetting_Teams) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[26]
+ mi := &file_v1_setting_service_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2403,7 +2543,7 @@ func (x *AppIMSetting_Teams) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_Teams.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Teams) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{7, 5}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 5}
}
func (x *AppIMSetting_Teams) GetTenantId() string {
@@ -2445,7 +2585,7 @@ type AppIMSetting_IMSetting struct {
func (x *AppIMSetting_IMSetting) Reset() {
*x = AppIMSetting_IMSetting{}
- mi := &file_v1_setting_service_proto_msgTypes[27]
+ mi := &file_v1_setting_service_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2457,7 +2597,7 @@ func (x *AppIMSetting_IMSetting) String() string {
func (*AppIMSetting_IMSetting) ProtoMessage() {}
func (x *AppIMSetting_IMSetting) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[27]
+ mi := &file_v1_setting_service_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2470,7 +2610,7 @@ func (x *AppIMSetting_IMSetting) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppIMSetting_IMSetting.ProtoReflect.Descriptor instead.
func (*AppIMSetting_IMSetting) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{7, 6}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 6}
}
func (x *AppIMSetting_IMSetting) GetType() WebhookType {
@@ -2603,7 +2743,7 @@ type WorkspaceProfileSetting_PasswordRestriction struct {
func (x *WorkspaceProfileSetting_PasswordRestriction) Reset() {
*x = WorkspaceProfileSetting_PasswordRestriction{}
- mi := &file_v1_setting_service_proto_msgTypes[28]
+ mi := &file_v1_setting_service_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2615,7 +2755,7 @@ func (x *WorkspaceProfileSetting_PasswordRestriction) String() string {
func (*WorkspaceProfileSetting_PasswordRestriction) ProtoMessage() {}
func (x *WorkspaceProfileSetting_PasswordRestriction) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[28]
+ mi := &file_v1_setting_service_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2628,7 +2768,7 @@ func (x *WorkspaceProfileSetting_PasswordRestriction) ProtoReflect() protoreflec
// Deprecated: Use WorkspaceProfileSetting_PasswordRestriction.ProtoReflect.Descriptor instead.
func (*WorkspaceProfileSetting_PasswordRestriction) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{8, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{10, 0}
}
func (x *WorkspaceProfileSetting_PasswordRestriction) GetMinLength() int32 {
@@ -2690,7 +2830,7 @@ type Announcement_AnnouncementTheme struct {
func (x *Announcement_AnnouncementTheme) Reset() {
*x = Announcement_AnnouncementTheme{}
- mi := &file_v1_setting_service_proto_msgTypes[30]
+ mi := &file_v1_setting_service_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2702,7 +2842,7 @@ func (x *Announcement_AnnouncementTheme) String() string {
func (*Announcement_AnnouncementTheme) ProtoMessage() {}
func (x *Announcement_AnnouncementTheme) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[30]
+ mi := &file_v1_setting_service_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2715,7 +2855,7 @@ func (x *Announcement_AnnouncementTheme) ProtoReflect() protoreflect.Message {
// Deprecated: Use Announcement_AnnouncementTheme.ProtoReflect.Descriptor instead.
func (*Announcement_AnnouncementTheme) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{11, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{13, 0}
}
func (x *Announcement_AnnouncementTheme) GetBackground() *color.Color {
@@ -2770,7 +2910,7 @@ type WorkspaceApprovalSetting_Rule struct {
func (x *WorkspaceApprovalSetting_Rule) Reset() {
*x = WorkspaceApprovalSetting_Rule{}
- mi := &file_v1_setting_service_proto_msgTypes[31]
+ mi := &file_v1_setting_service_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2782,7 +2922,7 @@ func (x *WorkspaceApprovalSetting_Rule) String() string {
func (*WorkspaceApprovalSetting_Rule) ProtoMessage() {}
func (x *WorkspaceApprovalSetting_Rule) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[31]
+ mi := &file_v1_setting_service_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2795,7 +2935,7 @@ func (x *WorkspaceApprovalSetting_Rule) ProtoReflect() protoreflect.Message {
// Deprecated: Use WorkspaceApprovalSetting_Rule.ProtoReflect.Descriptor instead.
func (*WorkspaceApprovalSetting_Rule) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{12, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 0}
}
func (x *WorkspaceApprovalSetting_Rule) GetTemplate() *ApprovalTemplate {
@@ -2835,7 +2975,7 @@ type DataClassificationSetting_DataClassificationConfig struct {
func (x *DataClassificationSetting_DataClassificationConfig) Reset() {
*x = DataClassificationSetting_DataClassificationConfig{}
- mi := &file_v1_setting_service_proto_msgTypes[32]
+ mi := &file_v1_setting_service_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2847,7 +2987,7 @@ func (x *DataClassificationSetting_DataClassificationConfig) String() string {
func (*DataClassificationSetting_DataClassificationConfig) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[32]
+ mi := &file_v1_setting_service_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2860,7 +3000,7 @@ func (x *DataClassificationSetting_DataClassificationConfig) ProtoReflect() prot
// Deprecated: Use DataClassificationSetting_DataClassificationConfig.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting_DataClassificationConfig) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{13, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 0}
}
func (x *DataClassificationSetting_DataClassificationConfig) GetId() string {
@@ -2902,7 +3042,7 @@ type DataClassificationSetting_DataClassificationConfig_Level struct {
func (x *DataClassificationSetting_DataClassificationConfig_Level) Reset() {
*x = DataClassificationSetting_DataClassificationConfig_Level{}
- mi := &file_v1_setting_service_proto_msgTypes[33]
+ mi := &file_v1_setting_service_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2914,7 +3054,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_Level) String() stri
func (*DataClassificationSetting_DataClassificationConfig_Level) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig_Level) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[33]
+ mi := &file_v1_setting_service_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2927,7 +3067,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_Level) ProtoReflect(
// Deprecated: Use DataClassificationSetting_DataClassificationConfig_Level.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting_DataClassificationConfig_Level) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{13, 0, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 0, 0}
}
func (x *DataClassificationSetting_DataClassificationConfig_Level) GetTitle() string {
@@ -2957,7 +3097,7 @@ type DataClassificationSetting_DataClassificationConfig_DataClassification struc
func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) Reset() {
*x = DataClassificationSetting_DataClassificationConfig_DataClassification{}
- mi := &file_v1_setting_service_proto_msgTypes[34]
+ mi := &file_v1_setting_service_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2969,7 +3109,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_DataClassification)
func (*DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[34]
+ mi := &file_v1_setting_service_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2982,7 +3122,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_DataClassification)
// Deprecated: Use DataClassificationSetting_DataClassificationConfig_DataClassification.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting_DataClassificationConfig_DataClassification) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{13, 0, 1}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 0, 1}
}
func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) GetId() string {
@@ -3023,7 +3163,7 @@ type SemanticTypeSetting_SemanticType struct {
func (x *SemanticTypeSetting_SemanticType) Reset() {
*x = SemanticTypeSetting_SemanticType{}
- mi := &file_v1_setting_service_proto_msgTypes[36]
+ mi := &file_v1_setting_service_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3035,7 +3175,7 @@ func (x *SemanticTypeSetting_SemanticType) String() string {
func (*SemanticTypeSetting_SemanticType) ProtoMessage() {}
func (x *SemanticTypeSetting_SemanticType) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[36]
+ mi := &file_v1_setting_service_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3048,7 +3188,7 @@ func (x *SemanticTypeSetting_SemanticType) ProtoReflect() protoreflect.Message {
// Deprecated: Use SemanticTypeSetting_SemanticType.ProtoReflect.Descriptor instead.
func (*SemanticTypeSetting_SemanticType) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{16, 0}
}
func (x *SemanticTypeSetting_SemanticType) GetId() string {
@@ -3097,7 +3237,7 @@ type Algorithm_FullMask struct {
func (x *Algorithm_FullMask) Reset() {
*x = Algorithm_FullMask{}
- mi := &file_v1_setting_service_proto_msgTypes[37]
+ mi := &file_v1_setting_service_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3109,7 +3249,7 @@ func (x *Algorithm_FullMask) String() string {
func (*Algorithm_FullMask) ProtoMessage() {}
func (x *Algorithm_FullMask) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[37]
+ mi := &file_v1_setting_service_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3122,7 +3262,7 @@ func (x *Algorithm_FullMask) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm_FullMask.ProtoReflect.Descriptor instead.
func (*Algorithm_FullMask) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 0}
}
func (x *Algorithm_FullMask) GetSubstitution() string {
@@ -3143,7 +3283,7 @@ type Algorithm_RangeMask struct {
func (x *Algorithm_RangeMask) Reset() {
*x = Algorithm_RangeMask{}
- mi := &file_v1_setting_service_proto_msgTypes[38]
+ mi := &file_v1_setting_service_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3155,7 +3295,7 @@ func (x *Algorithm_RangeMask) String() string {
func (*Algorithm_RangeMask) ProtoMessage() {}
func (x *Algorithm_RangeMask) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[38]
+ mi := &file_v1_setting_service_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3168,7 +3308,7 @@ func (x *Algorithm_RangeMask) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm_RangeMask.ProtoReflect.Descriptor instead.
func (*Algorithm_RangeMask) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 1}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 1}
}
func (x *Algorithm_RangeMask) GetSlices() []*Algorithm_RangeMask_Slice {
@@ -3188,7 +3328,7 @@ type Algorithm_MD5Mask struct {
func (x *Algorithm_MD5Mask) Reset() {
*x = Algorithm_MD5Mask{}
- mi := &file_v1_setting_service_proto_msgTypes[39]
+ mi := &file_v1_setting_service_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3200,7 +3340,7 @@ func (x *Algorithm_MD5Mask) String() string {
func (*Algorithm_MD5Mask) ProtoMessage() {}
func (x *Algorithm_MD5Mask) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[39]
+ mi := &file_v1_setting_service_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3213,7 +3353,7 @@ func (x *Algorithm_MD5Mask) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm_MD5Mask.ProtoReflect.Descriptor instead.
func (*Algorithm_MD5Mask) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 2}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 2}
}
func (x *Algorithm_MD5Mask) GetSalt() string {
@@ -3235,7 +3375,7 @@ type Algorithm_InnerOuterMask struct {
func (x *Algorithm_InnerOuterMask) Reset() {
*x = Algorithm_InnerOuterMask{}
- mi := &file_v1_setting_service_proto_msgTypes[40]
+ mi := &file_v1_setting_service_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3247,7 +3387,7 @@ func (x *Algorithm_InnerOuterMask) String() string {
func (*Algorithm_InnerOuterMask) ProtoMessage() {}
func (x *Algorithm_InnerOuterMask) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[40]
+ mi := &file_v1_setting_service_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3260,7 +3400,7 @@ func (x *Algorithm_InnerOuterMask) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm_InnerOuterMask.ProtoReflect.Descriptor instead.
func (*Algorithm_InnerOuterMask) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 3}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 3}
}
func (x *Algorithm_InnerOuterMask) GetPrefixLen() int32 {
@@ -3308,7 +3448,7 @@ type Algorithm_RangeMask_Slice struct {
func (x *Algorithm_RangeMask_Slice) Reset() {
*x = Algorithm_RangeMask_Slice{}
- mi := &file_v1_setting_service_proto_msgTypes[41]
+ mi := &file_v1_setting_service_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3320,7 +3460,7 @@ func (x *Algorithm_RangeMask_Slice) String() string {
func (*Algorithm_RangeMask_Slice) ProtoMessage() {}
func (x *Algorithm_RangeMask_Slice) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[41]
+ mi := &file_v1_setting_service_proto_msgTypes[43]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3333,7 +3473,7 @@ func (x *Algorithm_RangeMask_Slice) ProtoReflect() protoreflect.Message {
// Deprecated: Use Algorithm_RangeMask_Slice.ProtoReflect.Descriptor instead.
func (*Algorithm_RangeMask_Slice) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 1, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 1, 0}
}
func (x *Algorithm_RangeMask_Slice) GetStart() int32 {
@@ -3377,7 +3517,7 @@ type EnvironmentSetting_Environment struct {
func (x *EnvironmentSetting_Environment) Reset() {
*x = EnvironmentSetting_Environment{}
- mi := &file_v1_setting_service_proto_msgTypes[42]
+ mi := &file_v1_setting_service_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3389,7 +3529,7 @@ func (x *EnvironmentSetting_Environment) String() string {
func (*EnvironmentSetting_Environment) ProtoMessage() {}
func (x *EnvironmentSetting_Environment) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[42]
+ mi := &file_v1_setting_service_proto_msgTypes[44]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3402,7 +3542,7 @@ func (x *EnvironmentSetting_Environment) ProtoReflect() protoreflect.Message {
// Deprecated: Use EnvironmentSetting_Environment.ProtoReflect.Descriptor instead.
func (*EnvironmentSetting_Environment) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{19, 0}
}
func (x *EnvironmentSetting_Environment) GetName() string {
@@ -3454,7 +3594,7 @@ type EmailSetting_SMTPConfig struct {
func (x *EmailSetting_SMTPConfig) Reset() {
*x = EmailSetting_SMTPConfig{}
- mi := &file_v1_setting_service_proto_msgTypes[44]
+ mi := &file_v1_setting_service_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3466,7 +3606,7 @@ func (x *EmailSetting_SMTPConfig) String() string {
func (*EmailSetting_SMTPConfig) ProtoMessage() {}
func (x *EmailSetting_SMTPConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[44]
+ mi := &file_v1_setting_service_proto_msgTypes[46]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3479,7 +3619,7 @@ func (x *EmailSetting_SMTPConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use EmailSetting_SMTPConfig.ProtoReflect.Descriptor instead.
func (*EmailSetting_SMTPConfig) Descriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{18, 0}
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{20, 0}
}
func (x *EmailSetting_SMTPConfig) GetHost() string {
@@ -3542,10 +3682,10 @@ const file_v1_setting_service_proto_rawDesc = "" +
"\rvalidate_only\x18\x02 \x01(\bR\fvalidateOnly\x12#\n" +
"\rallow_missing\x18\x03 \x01(\bR\fallowMissing\x12;\n" +
"\vupdate_mask\x18\x04 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" +
- "updateMask\"\xca\x02\n" +
+ "updateMask\"\xd6\x02\n" +
"\aSetting\x12\x17\n" +
"\x04name\x18\x01 \x01(\tB\x03\xe0A\bR\x04name\x124\n" +
- "\x05value\x18\x02 \x01(\v2\x19.bytebase.v1.SettingValueB\x03\xe0A\x02R\x05value\"\xc0\x01\n" +
+ "\x05value\x18\x02 \x01(\v2\x19.bytebase.v1.SettingValueB\x03\xe0A\x02R\x05value\"\xcc\x01\n" +
"\vSettingName\x12\x1c\n" +
"\x18SETTING_NAME_UNSPECIFIED\x10\x00\x12\x15\n" +
"\x11WORKSPACE_PROFILE\x10\x01\x12\x16\n" +
@@ -3557,8 +3697,11 @@ const file_v1_setting_service_proto_rawDesc = "" +
"\x0eSEMANTIC_TYPES\x10\x06\x12\x0f\n" +
"\vENVIRONMENT\x10\a\x12\t\n" +
"\x05EMAIL\x10\b\x12\a\n" +
- "\x03MCP\x10\t:-\xeaA*\n" +
- "\x14bytebase.com/Setting\x12\x12settings/{setting}\"\xeb\x04\n" +
+ "\x03MCP\x10\t\x12\n" +
+ "\n" +
+ "\x06EXPORT\x10\n" +
+ ":-\xeaA*\n" +
+ "\x14bytebase.com/Setting\x12\x12settings/{setting}\"\xa1\x05\n" +
"\fSettingValue\x122\n" +
"\x06app_im\x18\x01 \x01(\v2\x19.bytebase.v1.AppIMSettingH\x00R\x05appIm\x12S\n" +
"\x11workspace_profile\x18\x02 \x01(\v2$.bytebase.v1.WorkspaceProfileSettingH\x00R\x10workspaceProfile\x12V\n" +
@@ -3568,8 +3711,19 @@ const file_v1_setting_service_proto_rawDesc = "" +
"\x02ai\x18\x06 \x01(\v2\x16.bytebase.v1.AISettingH\x00R\x02ai\x12C\n" +
"\venvironment\x18\a \x01(\v2\x1f.bytebase.v1.EnvironmentSettingH\x00R\venvironment\x121\n" +
"\x05email\x18\b \x01(\v2\x19.bytebase.v1.EmailSettingH\x00R\x05email\x12+\n" +
- "\x03mcp\x18\t \x01(\v2\x17.bytebase.v1.MCPSettingH\x00R\x03mcpB\a\n" +
- "\x05value\"\x9a\b\n" +
+ "\x03mcp\x18\t \x01(\v2\x17.bytebase.v1.MCPSettingH\x00R\x03mcp\x124\n" +
+ "\x06export\x18\n" +
+ " \x01(\v2\x1a.bytebase.v1.ExportSettingH\x00R\x06exportB\a\n" +
+ "\x05value\"O\n" +
+ "\rExportSetting\x12>\n" +
+ "\n" +
+ "sharepoint\x18\x01 \x01(\v2\x1e.bytebase.v1.SharePointSettingR\n" +
+ "sharepoint\"\xac\x01\n" +
+ "\x11SharePointSetting\x12\x1b\n" +
+ "\ttenant_id\x18\x01 \x01(\tR\btenantId\x12\x1b\n" +
+ "\tclient_id\x18\x02 \x01(\tR\bclientId\x12,\n" +
+ "\rclient_secret\x18\x03 \x01(\tB\a\xe0A\x04\xd0\xea0\x01R\fclientSecret\x12/\n" +
+ "\x11client_secret_set\x18\x04 \x01(\bB\x03\xe0A\x03R\x0fclientSecretSet\"\x9a\b\n" +
"\fAppIMSetting\x12?\n" +
"\bsettings\x18\x01 \x03(\v2#.bytebase.v1.AppIMSetting.IMSettingR\bsettings\x1a&\n" +
"\x05Slack\x12\x1d\n" +
@@ -3827,7 +3981,7 @@ func file_v1_setting_service_proto_rawDescGZIP() []byte {
}
var file_v1_setting_service_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
-var file_v1_setting_service_proto_msgTypes = make([]protoimpl.MessageInfo, 45)
+var file_v1_setting_service_proto_msgTypes = make([]protoimpl.MessageInfo, 47)
var file_v1_setting_service_proto_goTypes = []any{
(DatabaseChangeMode)(0), // 0: bytebase.v1.DatabaseChangeMode
(Setting_SettingName)(0), // 1: bytebase.v1.Setting.SettingName
@@ -3845,129 +3999,133 @@ var file_v1_setting_service_proto_goTypes = []any{
(*UpdateSettingRequest)(nil), // 13: bytebase.v1.UpdateSettingRequest
(*Setting)(nil), // 14: bytebase.v1.Setting
(*SettingValue)(nil), // 15: bytebase.v1.SettingValue
- (*AppIMSetting)(nil), // 16: bytebase.v1.AppIMSetting
- (*WorkspaceProfileSetting)(nil), // 17: bytebase.v1.WorkspaceProfileSetting
- (*MCPSetting)(nil), // 18: bytebase.v1.MCPSetting
- (*SQLEditorThemeSetting)(nil), // 19: bytebase.v1.SQLEditorThemeSetting
- (*Announcement)(nil), // 20: bytebase.v1.Announcement
- (*WorkspaceApprovalSetting)(nil), // 21: bytebase.v1.WorkspaceApprovalSetting
- (*DataClassificationSetting)(nil), // 22: bytebase.v1.DataClassificationSetting
- (*SemanticTypeSetting)(nil), // 23: bytebase.v1.SemanticTypeSetting
- (*Algorithm)(nil), // 24: bytebase.v1.Algorithm
- (*AISetting)(nil), // 25: bytebase.v1.AISetting
- (*EnvironmentSetting)(nil), // 26: bytebase.v1.EnvironmentSetting
- (*EmailSetting)(nil), // 27: bytebase.v1.EmailSetting
- (*TestEmailSettingRequest)(nil), // 28: bytebase.v1.TestEmailSettingRequest
- (*TestEmailSettingResponse)(nil), // 29: bytebase.v1.TestEmailSettingResponse
- (*AppIMSetting_Slack)(nil), // 30: bytebase.v1.AppIMSetting.Slack
- (*AppIMSetting_Feishu)(nil), // 31: bytebase.v1.AppIMSetting.Feishu
- (*AppIMSetting_Wecom)(nil), // 32: bytebase.v1.AppIMSetting.Wecom
- (*AppIMSetting_Lark)(nil), // 33: bytebase.v1.AppIMSetting.Lark
- (*AppIMSetting_DingTalk)(nil), // 34: bytebase.v1.AppIMSetting.DingTalk
- (*AppIMSetting_Teams)(nil), // 35: bytebase.v1.AppIMSetting.Teams
- (*AppIMSetting_IMSetting)(nil), // 36: bytebase.v1.AppIMSetting.IMSetting
- (*WorkspaceProfileSetting_PasswordRestriction)(nil), // 37: bytebase.v1.WorkspaceProfileSetting.PasswordRestriction
- nil, // 38: bytebase.v1.SQLEditorThemeSetting.TokensEntry
- (*Announcement_AnnouncementTheme)(nil), // 39: bytebase.v1.Announcement.AnnouncementTheme
- (*WorkspaceApprovalSetting_Rule)(nil), // 40: bytebase.v1.WorkspaceApprovalSetting.Rule
- (*DataClassificationSetting_DataClassificationConfig)(nil), // 41: bytebase.v1.DataClassificationSetting.DataClassificationConfig
- (*DataClassificationSetting_DataClassificationConfig_Level)(nil), // 42: bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level
- (*DataClassificationSetting_DataClassificationConfig_DataClassification)(nil), // 43: bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification
- nil, // 44: bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
- (*SemanticTypeSetting_SemanticType)(nil), // 45: bytebase.v1.SemanticTypeSetting.SemanticType
- (*Algorithm_FullMask)(nil), // 46: bytebase.v1.Algorithm.FullMask
- (*Algorithm_RangeMask)(nil), // 47: bytebase.v1.Algorithm.RangeMask
- (*Algorithm_MD5Mask)(nil), // 48: bytebase.v1.Algorithm.MD5Mask
- (*Algorithm_InnerOuterMask)(nil), // 49: bytebase.v1.Algorithm.InnerOuterMask
- (*Algorithm_RangeMask_Slice)(nil), // 50: bytebase.v1.Algorithm.RangeMask.Slice
- (*EnvironmentSetting_Environment)(nil), // 51: bytebase.v1.EnvironmentSetting.Environment
- nil, // 52: bytebase.v1.EnvironmentSetting.Environment.TagsEntry
- (*EmailSetting_SMTPConfig)(nil), // 53: bytebase.v1.EmailSetting.SMTPConfig
- (*fieldmaskpb.FieldMask)(nil), // 54: google.protobuf.FieldMask
- (*durationpb.Duration)(nil), // 55: google.protobuf.Duration
- (WebhookType)(0), // 56: bytebase.v1.WebhookType
- (*color.Color)(nil), // 57: google.type.Color
- (*ApprovalTemplate)(nil), // 58: bytebase.v1.ApprovalTemplate
- (*expr.Expr)(nil), // 59: google.type.Expr
+ (*ExportSetting)(nil), // 16: bytebase.v1.ExportSetting
+ (*SharePointSetting)(nil), // 17: bytebase.v1.SharePointSetting
+ (*AppIMSetting)(nil), // 18: bytebase.v1.AppIMSetting
+ (*WorkspaceProfileSetting)(nil), // 19: bytebase.v1.WorkspaceProfileSetting
+ (*MCPSetting)(nil), // 20: bytebase.v1.MCPSetting
+ (*SQLEditorThemeSetting)(nil), // 21: bytebase.v1.SQLEditorThemeSetting
+ (*Announcement)(nil), // 22: bytebase.v1.Announcement
+ (*WorkspaceApprovalSetting)(nil), // 23: bytebase.v1.WorkspaceApprovalSetting
+ (*DataClassificationSetting)(nil), // 24: bytebase.v1.DataClassificationSetting
+ (*SemanticTypeSetting)(nil), // 25: bytebase.v1.SemanticTypeSetting
+ (*Algorithm)(nil), // 26: bytebase.v1.Algorithm
+ (*AISetting)(nil), // 27: bytebase.v1.AISetting
+ (*EnvironmentSetting)(nil), // 28: bytebase.v1.EnvironmentSetting
+ (*EmailSetting)(nil), // 29: bytebase.v1.EmailSetting
+ (*TestEmailSettingRequest)(nil), // 30: bytebase.v1.TestEmailSettingRequest
+ (*TestEmailSettingResponse)(nil), // 31: bytebase.v1.TestEmailSettingResponse
+ (*AppIMSetting_Slack)(nil), // 32: bytebase.v1.AppIMSetting.Slack
+ (*AppIMSetting_Feishu)(nil), // 33: bytebase.v1.AppIMSetting.Feishu
+ (*AppIMSetting_Wecom)(nil), // 34: bytebase.v1.AppIMSetting.Wecom
+ (*AppIMSetting_Lark)(nil), // 35: bytebase.v1.AppIMSetting.Lark
+ (*AppIMSetting_DingTalk)(nil), // 36: bytebase.v1.AppIMSetting.DingTalk
+ (*AppIMSetting_Teams)(nil), // 37: bytebase.v1.AppIMSetting.Teams
+ (*AppIMSetting_IMSetting)(nil), // 38: bytebase.v1.AppIMSetting.IMSetting
+ (*WorkspaceProfileSetting_PasswordRestriction)(nil), // 39: bytebase.v1.WorkspaceProfileSetting.PasswordRestriction
+ nil, // 40: bytebase.v1.SQLEditorThemeSetting.TokensEntry
+ (*Announcement_AnnouncementTheme)(nil), // 41: bytebase.v1.Announcement.AnnouncementTheme
+ (*WorkspaceApprovalSetting_Rule)(nil), // 42: bytebase.v1.WorkspaceApprovalSetting.Rule
+ (*DataClassificationSetting_DataClassificationConfig)(nil), // 43: bytebase.v1.DataClassificationSetting.DataClassificationConfig
+ (*DataClassificationSetting_DataClassificationConfig_Level)(nil), // 44: bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level
+ (*DataClassificationSetting_DataClassificationConfig_DataClassification)(nil), // 45: bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification
+ nil, // 46: bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
+ (*SemanticTypeSetting_SemanticType)(nil), // 47: bytebase.v1.SemanticTypeSetting.SemanticType
+ (*Algorithm_FullMask)(nil), // 48: bytebase.v1.Algorithm.FullMask
+ (*Algorithm_RangeMask)(nil), // 49: bytebase.v1.Algorithm.RangeMask
+ (*Algorithm_MD5Mask)(nil), // 50: bytebase.v1.Algorithm.MD5Mask
+ (*Algorithm_InnerOuterMask)(nil), // 51: bytebase.v1.Algorithm.InnerOuterMask
+ (*Algorithm_RangeMask_Slice)(nil), // 52: bytebase.v1.Algorithm.RangeMask.Slice
+ (*EnvironmentSetting_Environment)(nil), // 53: bytebase.v1.EnvironmentSetting.Environment
+ nil, // 54: bytebase.v1.EnvironmentSetting.Environment.TagsEntry
+ (*EmailSetting_SMTPConfig)(nil), // 55: bytebase.v1.EmailSetting.SMTPConfig
+ (*fieldmaskpb.FieldMask)(nil), // 56: google.protobuf.FieldMask
+ (*durationpb.Duration)(nil), // 57: google.protobuf.Duration
+ (WebhookType)(0), // 58: bytebase.v1.WebhookType
+ (*color.Color)(nil), // 59: google.type.Color
+ (*ApprovalTemplate)(nil), // 60: bytebase.v1.ApprovalTemplate
+ (*expr.Expr)(nil), // 61: google.type.Expr
}
var file_v1_setting_service_proto_depIdxs = []int32{
14, // 0: bytebase.v1.ListSettingsResponse.settings:type_name -> bytebase.v1.Setting
14, // 1: bytebase.v1.GetSettingResponse.setting:type_name -> bytebase.v1.Setting
14, // 2: bytebase.v1.UpdateSettingRequest.setting:type_name -> bytebase.v1.Setting
- 54, // 3: bytebase.v1.UpdateSettingRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 56, // 3: bytebase.v1.UpdateSettingRequest.update_mask:type_name -> google.protobuf.FieldMask
15, // 4: bytebase.v1.Setting.value:type_name -> bytebase.v1.SettingValue
- 16, // 5: bytebase.v1.SettingValue.app_im:type_name -> bytebase.v1.AppIMSetting
- 17, // 6: bytebase.v1.SettingValue.workspace_profile:type_name -> bytebase.v1.WorkspaceProfileSetting
- 21, // 7: bytebase.v1.SettingValue.workspace_approval:type_name -> bytebase.v1.WorkspaceApprovalSetting
- 22, // 8: bytebase.v1.SettingValue.data_classification:type_name -> bytebase.v1.DataClassificationSetting
- 23, // 9: bytebase.v1.SettingValue.semantic_type:type_name -> bytebase.v1.SemanticTypeSetting
- 25, // 10: bytebase.v1.SettingValue.ai:type_name -> bytebase.v1.AISetting
- 26, // 11: bytebase.v1.SettingValue.environment:type_name -> bytebase.v1.EnvironmentSetting
- 27, // 12: bytebase.v1.SettingValue.email:type_name -> bytebase.v1.EmailSetting
- 18, // 13: bytebase.v1.SettingValue.mcp:type_name -> bytebase.v1.MCPSetting
- 36, // 14: bytebase.v1.AppIMSetting.settings:type_name -> bytebase.v1.AppIMSetting.IMSetting
- 55, // 15: bytebase.v1.WorkspaceProfileSetting.refresh_token_duration:type_name -> google.protobuf.Duration
- 20, // 16: bytebase.v1.WorkspaceProfileSetting.announcement:type_name -> bytebase.v1.Announcement
- 55, // 17: bytebase.v1.WorkspaceProfileSetting.maximum_request_expiration:type_name -> google.protobuf.Duration
- 0, // 18: bytebase.v1.WorkspaceProfileSetting.database_change_mode:type_name -> bytebase.v1.DatabaseChangeMode
- 55, // 19: bytebase.v1.WorkspaceProfileSetting.inactive_session_timeout:type_name -> google.protobuf.Duration
- 37, // 20: bytebase.v1.WorkspaceProfileSetting.password_restriction:type_name -> bytebase.v1.WorkspaceProfileSetting.PasswordRestriction
- 55, // 21: bytebase.v1.WorkspaceProfileSetting.access_token_duration:type_name -> google.protobuf.Duration
- 55, // 22: bytebase.v1.WorkspaceProfileSetting.query_timeout:type_name -> google.protobuf.Duration
- 19, // 23: bytebase.v1.WorkspaceProfileSetting.sql_editor_custom_theme:type_name -> bytebase.v1.SQLEditorThemeSetting
- 55, // 24: bytebase.v1.WorkspaceProfileSetting.maximum_role_expiration:type_name -> google.protobuf.Duration
- 2, // 25: bytebase.v1.MCPSetting.capability:type_name -> bytebase.v1.MCPSetting.Capability
- 38, // 26: bytebase.v1.SQLEditorThemeSetting.tokens:type_name -> bytebase.v1.SQLEditorThemeSetting.TokensEntry
- 39, // 27: bytebase.v1.Announcement.theme:type_name -> bytebase.v1.Announcement.AnnouncementTheme
- 40, // 28: bytebase.v1.WorkspaceApprovalSetting.rules:type_name -> bytebase.v1.WorkspaceApprovalSetting.Rule
- 41, // 29: bytebase.v1.DataClassificationSetting.configs:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig
- 45, // 30: bytebase.v1.SemanticTypeSetting.types:type_name -> bytebase.v1.SemanticTypeSetting.SemanticType
- 46, // 31: bytebase.v1.Algorithm.full_mask:type_name -> bytebase.v1.Algorithm.FullMask
- 47, // 32: bytebase.v1.Algorithm.range_mask:type_name -> bytebase.v1.Algorithm.RangeMask
- 48, // 33: bytebase.v1.Algorithm.md5_mask:type_name -> bytebase.v1.Algorithm.MD5Mask
- 49, // 34: bytebase.v1.Algorithm.inner_outer_mask:type_name -> bytebase.v1.Algorithm.InnerOuterMask
- 5, // 35: bytebase.v1.AISetting.provider:type_name -> bytebase.v1.AISetting.Provider
- 51, // 36: bytebase.v1.EnvironmentSetting.environments:type_name -> bytebase.v1.EnvironmentSetting.Environment
- 6, // 37: bytebase.v1.EmailSetting.type:type_name -> bytebase.v1.EmailSetting.Type
- 53, // 38: bytebase.v1.EmailSetting.smtp:type_name -> bytebase.v1.EmailSetting.SMTPConfig
- 27, // 39: bytebase.v1.TestEmailSettingRequest.email_setting:type_name -> bytebase.v1.EmailSetting
- 56, // 40: bytebase.v1.AppIMSetting.IMSetting.type:type_name -> bytebase.v1.WebhookType
- 30, // 41: bytebase.v1.AppIMSetting.IMSetting.slack:type_name -> bytebase.v1.AppIMSetting.Slack
- 31, // 42: bytebase.v1.AppIMSetting.IMSetting.feishu:type_name -> bytebase.v1.AppIMSetting.Feishu
- 32, // 43: bytebase.v1.AppIMSetting.IMSetting.wecom:type_name -> bytebase.v1.AppIMSetting.Wecom
- 33, // 44: bytebase.v1.AppIMSetting.IMSetting.lark:type_name -> bytebase.v1.AppIMSetting.Lark
- 34, // 45: bytebase.v1.AppIMSetting.IMSetting.dingtalk:type_name -> bytebase.v1.AppIMSetting.DingTalk
- 35, // 46: bytebase.v1.AppIMSetting.IMSetting.teams:type_name -> bytebase.v1.AppIMSetting.Teams
- 55, // 47: bytebase.v1.WorkspaceProfileSetting.PasswordRestriction.password_rotation:type_name -> google.protobuf.Duration
- 57, // 48: bytebase.v1.SQLEditorThemeSetting.TokensEntry.value:type_name -> google.type.Color
- 57, // 49: bytebase.v1.Announcement.AnnouncementTheme.background:type_name -> google.type.Color
- 57, // 50: bytebase.v1.Announcement.AnnouncementTheme.text:type_name -> google.type.Color
- 58, // 51: bytebase.v1.WorkspaceApprovalSetting.Rule.template:type_name -> bytebase.v1.ApprovalTemplate
- 59, // 52: bytebase.v1.WorkspaceApprovalSetting.Rule.condition:type_name -> google.type.Expr
- 3, // 53: bytebase.v1.WorkspaceApprovalSetting.Rule.source:type_name -> bytebase.v1.WorkspaceApprovalSetting.Rule.Source
- 42, // 54: bytebase.v1.DataClassificationSetting.DataClassificationConfig.levels:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level
- 44, // 55: bytebase.v1.DataClassificationSetting.DataClassificationConfig.classification:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
- 43, // 56: bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry.value:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification
- 24, // 57: bytebase.v1.SemanticTypeSetting.SemanticType.algorithm:type_name -> bytebase.v1.Algorithm
- 50, // 58: bytebase.v1.Algorithm.RangeMask.slices:type_name -> bytebase.v1.Algorithm.RangeMask.Slice
- 4, // 59: bytebase.v1.Algorithm.InnerOuterMask.type:type_name -> bytebase.v1.Algorithm.InnerOuterMask.MaskType
- 52, // 60: bytebase.v1.EnvironmentSetting.Environment.tags:type_name -> bytebase.v1.EnvironmentSetting.Environment.TagsEntry
- 57, // 61: bytebase.v1.EnvironmentSetting.Environment.color:type_name -> google.type.Color
- 7, // 62: bytebase.v1.EmailSetting.SMTPConfig.encryption:type_name -> bytebase.v1.EmailSetting.SMTPConfig.Encryption
- 8, // 63: bytebase.v1.EmailSetting.SMTPConfig.authentication:type_name -> bytebase.v1.EmailSetting.SMTPConfig.Authentication
- 9, // 64: bytebase.v1.SettingService.ListSettings:input_type -> bytebase.v1.ListSettingsRequest
- 11, // 65: bytebase.v1.SettingService.GetSetting:input_type -> bytebase.v1.GetSettingRequest
- 13, // 66: bytebase.v1.SettingService.UpdateSetting:input_type -> bytebase.v1.UpdateSettingRequest
- 28, // 67: bytebase.v1.SettingService.TestEmailSetting:input_type -> bytebase.v1.TestEmailSettingRequest
- 10, // 68: bytebase.v1.SettingService.ListSettings:output_type -> bytebase.v1.ListSettingsResponse
- 14, // 69: bytebase.v1.SettingService.GetSetting:output_type -> bytebase.v1.Setting
- 14, // 70: bytebase.v1.SettingService.UpdateSetting:output_type -> bytebase.v1.Setting
- 29, // 71: bytebase.v1.SettingService.TestEmailSetting:output_type -> bytebase.v1.TestEmailSettingResponse
- 68, // [68:72] is the sub-list for method output_type
- 64, // [64:68] is the sub-list for method input_type
- 64, // [64:64] is the sub-list for extension type_name
- 64, // [64:64] is the sub-list for extension extendee
- 0, // [0:64] is the sub-list for field type_name
+ 18, // 5: bytebase.v1.SettingValue.app_im:type_name -> bytebase.v1.AppIMSetting
+ 19, // 6: bytebase.v1.SettingValue.workspace_profile:type_name -> bytebase.v1.WorkspaceProfileSetting
+ 23, // 7: bytebase.v1.SettingValue.workspace_approval:type_name -> bytebase.v1.WorkspaceApprovalSetting
+ 24, // 8: bytebase.v1.SettingValue.data_classification:type_name -> bytebase.v1.DataClassificationSetting
+ 25, // 9: bytebase.v1.SettingValue.semantic_type:type_name -> bytebase.v1.SemanticTypeSetting
+ 27, // 10: bytebase.v1.SettingValue.ai:type_name -> bytebase.v1.AISetting
+ 28, // 11: bytebase.v1.SettingValue.environment:type_name -> bytebase.v1.EnvironmentSetting
+ 29, // 12: bytebase.v1.SettingValue.email:type_name -> bytebase.v1.EmailSetting
+ 20, // 13: bytebase.v1.SettingValue.mcp:type_name -> bytebase.v1.MCPSetting
+ 16, // 14: bytebase.v1.SettingValue.export:type_name -> bytebase.v1.ExportSetting
+ 17, // 15: bytebase.v1.ExportSetting.sharepoint:type_name -> bytebase.v1.SharePointSetting
+ 38, // 16: bytebase.v1.AppIMSetting.settings:type_name -> bytebase.v1.AppIMSetting.IMSetting
+ 57, // 17: bytebase.v1.WorkspaceProfileSetting.refresh_token_duration:type_name -> google.protobuf.Duration
+ 22, // 18: bytebase.v1.WorkspaceProfileSetting.announcement:type_name -> bytebase.v1.Announcement
+ 57, // 19: bytebase.v1.WorkspaceProfileSetting.maximum_request_expiration:type_name -> google.protobuf.Duration
+ 0, // 20: bytebase.v1.WorkspaceProfileSetting.database_change_mode:type_name -> bytebase.v1.DatabaseChangeMode
+ 57, // 21: bytebase.v1.WorkspaceProfileSetting.inactive_session_timeout:type_name -> google.protobuf.Duration
+ 39, // 22: bytebase.v1.WorkspaceProfileSetting.password_restriction:type_name -> bytebase.v1.WorkspaceProfileSetting.PasswordRestriction
+ 57, // 23: bytebase.v1.WorkspaceProfileSetting.access_token_duration:type_name -> google.protobuf.Duration
+ 57, // 24: bytebase.v1.WorkspaceProfileSetting.query_timeout:type_name -> google.protobuf.Duration
+ 21, // 25: bytebase.v1.WorkspaceProfileSetting.sql_editor_custom_theme:type_name -> bytebase.v1.SQLEditorThemeSetting
+ 57, // 26: bytebase.v1.WorkspaceProfileSetting.maximum_role_expiration:type_name -> google.protobuf.Duration
+ 2, // 27: bytebase.v1.MCPSetting.capability:type_name -> bytebase.v1.MCPSetting.Capability
+ 40, // 28: bytebase.v1.SQLEditorThemeSetting.tokens:type_name -> bytebase.v1.SQLEditorThemeSetting.TokensEntry
+ 41, // 29: bytebase.v1.Announcement.theme:type_name -> bytebase.v1.Announcement.AnnouncementTheme
+ 42, // 30: bytebase.v1.WorkspaceApprovalSetting.rules:type_name -> bytebase.v1.WorkspaceApprovalSetting.Rule
+ 43, // 31: bytebase.v1.DataClassificationSetting.configs:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig
+ 47, // 32: bytebase.v1.SemanticTypeSetting.types:type_name -> bytebase.v1.SemanticTypeSetting.SemanticType
+ 48, // 33: bytebase.v1.Algorithm.full_mask:type_name -> bytebase.v1.Algorithm.FullMask
+ 49, // 34: bytebase.v1.Algorithm.range_mask:type_name -> bytebase.v1.Algorithm.RangeMask
+ 50, // 35: bytebase.v1.Algorithm.md5_mask:type_name -> bytebase.v1.Algorithm.MD5Mask
+ 51, // 36: bytebase.v1.Algorithm.inner_outer_mask:type_name -> bytebase.v1.Algorithm.InnerOuterMask
+ 5, // 37: bytebase.v1.AISetting.provider:type_name -> bytebase.v1.AISetting.Provider
+ 53, // 38: bytebase.v1.EnvironmentSetting.environments:type_name -> bytebase.v1.EnvironmentSetting.Environment
+ 6, // 39: bytebase.v1.EmailSetting.type:type_name -> bytebase.v1.EmailSetting.Type
+ 55, // 40: bytebase.v1.EmailSetting.smtp:type_name -> bytebase.v1.EmailSetting.SMTPConfig
+ 29, // 41: bytebase.v1.TestEmailSettingRequest.email_setting:type_name -> bytebase.v1.EmailSetting
+ 58, // 42: bytebase.v1.AppIMSetting.IMSetting.type:type_name -> bytebase.v1.WebhookType
+ 32, // 43: bytebase.v1.AppIMSetting.IMSetting.slack:type_name -> bytebase.v1.AppIMSetting.Slack
+ 33, // 44: bytebase.v1.AppIMSetting.IMSetting.feishu:type_name -> bytebase.v1.AppIMSetting.Feishu
+ 34, // 45: bytebase.v1.AppIMSetting.IMSetting.wecom:type_name -> bytebase.v1.AppIMSetting.Wecom
+ 35, // 46: bytebase.v1.AppIMSetting.IMSetting.lark:type_name -> bytebase.v1.AppIMSetting.Lark
+ 36, // 47: bytebase.v1.AppIMSetting.IMSetting.dingtalk:type_name -> bytebase.v1.AppIMSetting.DingTalk
+ 37, // 48: bytebase.v1.AppIMSetting.IMSetting.teams:type_name -> bytebase.v1.AppIMSetting.Teams
+ 57, // 49: bytebase.v1.WorkspaceProfileSetting.PasswordRestriction.password_rotation:type_name -> google.protobuf.Duration
+ 59, // 50: bytebase.v1.SQLEditorThemeSetting.TokensEntry.value:type_name -> google.type.Color
+ 59, // 51: bytebase.v1.Announcement.AnnouncementTheme.background:type_name -> google.type.Color
+ 59, // 52: bytebase.v1.Announcement.AnnouncementTheme.text:type_name -> google.type.Color
+ 60, // 53: bytebase.v1.WorkspaceApprovalSetting.Rule.template:type_name -> bytebase.v1.ApprovalTemplate
+ 61, // 54: bytebase.v1.WorkspaceApprovalSetting.Rule.condition:type_name -> google.type.Expr
+ 3, // 55: bytebase.v1.WorkspaceApprovalSetting.Rule.source:type_name -> bytebase.v1.WorkspaceApprovalSetting.Rule.Source
+ 44, // 56: bytebase.v1.DataClassificationSetting.DataClassificationConfig.levels:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level
+ 46, // 57: bytebase.v1.DataClassificationSetting.DataClassificationConfig.classification:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
+ 45, // 58: bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry.value:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification
+ 26, // 59: bytebase.v1.SemanticTypeSetting.SemanticType.algorithm:type_name -> bytebase.v1.Algorithm
+ 52, // 60: bytebase.v1.Algorithm.RangeMask.slices:type_name -> bytebase.v1.Algorithm.RangeMask.Slice
+ 4, // 61: bytebase.v1.Algorithm.InnerOuterMask.type:type_name -> bytebase.v1.Algorithm.InnerOuterMask.MaskType
+ 54, // 62: bytebase.v1.EnvironmentSetting.Environment.tags:type_name -> bytebase.v1.EnvironmentSetting.Environment.TagsEntry
+ 59, // 63: bytebase.v1.EnvironmentSetting.Environment.color:type_name -> google.type.Color
+ 7, // 64: bytebase.v1.EmailSetting.SMTPConfig.encryption:type_name -> bytebase.v1.EmailSetting.SMTPConfig.Encryption
+ 8, // 65: bytebase.v1.EmailSetting.SMTPConfig.authentication:type_name -> bytebase.v1.EmailSetting.SMTPConfig.Authentication
+ 9, // 66: bytebase.v1.SettingService.ListSettings:input_type -> bytebase.v1.ListSettingsRequest
+ 11, // 67: bytebase.v1.SettingService.GetSetting:input_type -> bytebase.v1.GetSettingRequest
+ 13, // 68: bytebase.v1.SettingService.UpdateSetting:input_type -> bytebase.v1.UpdateSettingRequest
+ 30, // 69: bytebase.v1.SettingService.TestEmailSetting:input_type -> bytebase.v1.TestEmailSettingRequest
+ 10, // 70: bytebase.v1.SettingService.ListSettings:output_type -> bytebase.v1.ListSettingsResponse
+ 14, // 71: bytebase.v1.SettingService.GetSetting:output_type -> bytebase.v1.Setting
+ 14, // 72: bytebase.v1.SettingService.UpdateSetting:output_type -> bytebase.v1.Setting
+ 31, // 73: bytebase.v1.SettingService.TestEmailSetting:output_type -> bytebase.v1.TestEmailSettingResponse
+ 70, // [70:74] is the sub-list for method output_type
+ 66, // [66:70] is the sub-list for method input_type
+ 66, // [66:66] is the sub-list for extension type_name
+ 66, // [66:66] is the sub-list for extension extendee
+ 0, // [0:66] is the sub-list for field type_name
}
func init() { file_v1_setting_service_proto_init() }
@@ -3988,17 +4146,18 @@ func file_v1_setting_service_proto_init() {
(*SettingValue_Environment)(nil),
(*SettingValue_Email)(nil),
(*SettingValue_Mcp)(nil),
+ (*SettingValue_Export)(nil),
}
- file_v1_setting_service_proto_msgTypes[15].OneofWrappers = []any{
+ file_v1_setting_service_proto_msgTypes[17].OneofWrappers = []any{
(*Algorithm_FullMask_)(nil),
(*Algorithm_RangeMask_)(nil),
(*Algorithm_Md5Mask)(nil),
(*Algorithm_InnerOuterMask_)(nil),
}
- file_v1_setting_service_proto_msgTypes[18].OneofWrappers = []any{
+ file_v1_setting_service_proto_msgTypes[20].OneofWrappers = []any{
(*EmailSetting_Smtp)(nil),
}
- file_v1_setting_service_proto_msgTypes[27].OneofWrappers = []any{
+ file_v1_setting_service_proto_msgTypes[29].OneofWrappers = []any{
(*AppIMSetting_IMSetting_Slack)(nil),
(*AppIMSetting_IMSetting_Feishu)(nil),
(*AppIMSetting_IMSetting_Wecom)(nil),
@@ -4006,14 +4165,14 @@ func file_v1_setting_service_proto_init() {
(*AppIMSetting_IMSetting_Dingtalk)(nil),
(*AppIMSetting_IMSetting_Teams)(nil),
}
- file_v1_setting_service_proto_msgTypes[34].OneofWrappers = []any{}
+ file_v1_setting_service_proto_msgTypes[36].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_setting_service_proto_rawDesc), len(file_v1_setting_service_proto_rawDesc)),
NumEnums: 9,
- NumMessages: 45,
+ NumMessages: 47,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/backend/generated-go/v1/setting_service_equal.pb.go b/backend/generated-go/v1/setting_service_equal.pb.go
index da32756ca9..d93b871f95 100644
--- a/backend/generated-go/v1/setting_service_equal.pb.go
+++ b/backend/generated-go/v1/setting_service_equal.pb.go
@@ -140,6 +140,44 @@ func (x *SettingValue) Equal(y *SettingValue) bool {
if !x.GetMcp().Equal(y.GetMcp()) {
return false
}
+ if !x.GetExport().Equal(y.GetExport()) {
+ return false
+ }
+ return true
+}
+
+func (x *ExportSetting) Equal(y *ExportSetting) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if !x.Sharepoint.Equal(y.Sharepoint) {
+ return false
+ }
+ return true
+}
+
+func (x *SharePointSetting) Equal(y *SharePointSetting) bool {
+ if x == y {
+ return true
+ }
+ if x == nil || y == nil {
+ return x == nil && y == nil
+ }
+ if x.TenantId != y.TenantId {
+ return false
+ }
+ if x.ClientId != y.ClientId {
+ return false
+ }
+ if x.ClientSecret != y.ClientSecret {
+ return false
+ }
+ if x.ClientSecretSet != y.ClientSecretSet {
+ return false
+ }
return true
}
diff --git a/backend/generated-go/v1/sql_service.pb.go b/backend/generated-go/v1/sql_service.pb.go
index 8663f829fc..05c8e0b0eb 100644
--- a/backend/generated-go/v1/sql_service.pb.go
+++ b/backend/generated-go/v1/sql_service.pb.go
@@ -1474,7 +1474,10 @@ type ExportRequest struct {
Schema *string `protobuf:"bytes,8,opt,name=schema,proto3,oneof" json:"schema,omitempty"`
// Container is the container name to execute the query against, used for
// CosmosDB only.
- Container *string `protobuf:"bytes,9,opt,name=container,proto3,oneof" json:"container,omitempty"`
+ Container *string `protobuf:"bytes,9,opt,name=container,proto3,oneof" json:"container,omitempty"`
+ // Where the export goes. A destination the workspace query data policy
+ // does not allow is rejected with FAILED_PRECONDITION.
+ Destination ExportDestination `protobuf:"varint,10,opt,name=destination,proto3,enum=bytebase.v1.ExportDestination" json:"destination,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -1572,6 +1575,13 @@ func (x *ExportRequest) GetContainer() string {
return ""
}
+func (x *ExportRequest) GetDestination() ExportDestination {
+ if x != nil {
+ return x.Destination
+ }
+ return ExportDestination_EXPORT_DESTINATION_UNSPECIFIED
+}
+
type ExportResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The export file content.
@@ -1580,8 +1590,12 @@ type ExportResponse struct {
// Format: projects/{project}/accessGrants/{accessGrant}.
// Empty when the user was authorized through normal ACL rather than a grant.
AppliedAccessGrant string `protobuf:"bytes,2,opt,name=applied_access_grant,json=appliedAccessGrant,proto3" json:"applied_access_grant,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ // Set when the export was sent to an export destination: the absolute
+ // location of the folder or key prefix created for this export, for example
+ // https://… for SharePoint or s3://bucket/prefix for S3. content is then empty.
+ Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *ExportResponse) Reset() {
@@ -1628,6 +1642,13 @@ func (x *ExportResponse) GetAppliedAccessGrant() string {
return ""
}
+func (x *ExportResponse) GetUri() string {
+ if x != nil {
+ return x.Uri
+ }
+ return ""
+}
+
// refer https://www.postgresql.org/docs/11/protocol-error-fields.html
// for field description.
type QueryResult_PostgresError struct {
@@ -2314,7 +2335,7 @@ const file_v1_sql_service_proto_rawDesc = "" +
"\x15RULE_TYPE_UNSPECIFIED\x10\x00\x12\x10\n" +
"\fPARSER_BASED\x10\x01\x12\x0e\n" +
"\n" +
- "AI_POWERED\x10\x02\"\xe0\x02\n" +
+ "AI_POWERED\x10\x02\"\xa2\x03\n" +
"\rExportRequest\x121\n" +
"\x04name\x18\x01 \x01(\tB\x1d\xe0A\x02\xfaA\x17\n" +
"\x15bytebase.com/DatabaseR\x04name\x12\x1c\n" +
@@ -2325,13 +2346,16 @@ const file_v1_sql_service_proto_rawDesc = "" +
"\bpassword\x18\x06 \x01(\tB\x04\xd0\xea0\x01R\bpassword\x12$\n" +
"\x0edata_source_id\x18\a \x01(\tR\fdataSourceId\x12\x1b\n" +
"\x06schema\x18\b \x01(\tH\x00R\x06schema\x88\x01\x01\x12!\n" +
- "\tcontainer\x18\t \x01(\tH\x01R\tcontainer\x88\x01\x01B\t\n" +
+ "\tcontainer\x18\t \x01(\tH\x01R\tcontainer\x88\x01\x01\x12@\n" +
+ "\vdestination\x18\n" +
+ " \x01(\x0e2\x1e.bytebase.v1.ExportDestinationR\vdestinationB\t\n" +
"\a_schemaB\f\n" +
"\n" +
- "_container\"b\n" +
+ "_container\"t\n" +
"\x0eExportResponse\x12\x1e\n" +
"\acontent\x18\x01 \x01(\fB\x04\xd0\xea0\x02R\acontent\x120\n" +
- "\x14applied_access_grant\x18\x02 \x01(\tR\x12appliedAccessGrant2\xb4\a\n" +
+ "\x14applied_access_grant\x18\x02 \x01(\tR\x12appliedAccessGrant\x12\x10\n" +
+ "\x03uri\x18\x03 \x01(\tR\x03uri2\xb4\a\n" +
"\n" +
"SQLService\x12\xce\x01\n" +
"\x05Query\x12\x19.bytebase.v1.QueryRequest\x1a\x1a.bytebase.v1.QueryResponse\"\x8d\x01\x8a\xea0\x10bb.databases.get\x90\xea0\x01\x98\xea0\x01\xa0\xea0\x01\x82\xd3\xe4\x93\x02g:\x01*Z8:\x01*\"3/v1/{name=projects/*/instances/*/databases/*}:query\"(/v1/{name=instances/*/databases/*}:query\x12\x91\x01\n" +
@@ -2389,13 +2413,14 @@ var file_v1_sql_service_proto_goTypes = []any{
(*structpb.Value)(nil), // 28: google.protobuf.Value
(*Position)(nil), // 29: bytebase.v1.Position
(ExportFormat)(0), // 30: bytebase.v1.ExportFormat
- (*timestamppb.Timestamp)(nil), // 31: google.protobuf.Timestamp
- (*SearchQueryHistoriesRequest)(nil), // 32: bytebase.v1.SearchQueryHistoriesRequest
- (*ListQueryHistoriesRequest)(nil), // 33: bytebase.v1.ListQueryHistoriesRequest
- (*GetQueryHistoryRequest)(nil), // 34: bytebase.v1.GetQueryHistoryRequest
- (*SearchQueryHistoriesResponse)(nil), // 35: bytebase.v1.SearchQueryHistoriesResponse
- (*ListQueryHistoriesResponse)(nil), // 36: bytebase.v1.ListQueryHistoriesResponse
- (*QueryHistory)(nil), // 37: bytebase.v1.QueryHistory
+ (ExportDestination)(0), // 31: bytebase.v1.ExportDestination
+ (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
+ (*SearchQueryHistoriesRequest)(nil), // 33: bytebase.v1.SearchQueryHistoriesRequest
+ (*ListQueryHistoriesRequest)(nil), // 34: bytebase.v1.ListQueryHistoriesRequest
+ (*GetQueryHistoryRequest)(nil), // 35: bytebase.v1.GetQueryHistoryRequest
+ (*SearchQueryHistoriesResponse)(nil), // 36: bytebase.v1.SearchQueryHistoriesResponse
+ (*ListQueryHistoriesResponse)(nil), // 37: bytebase.v1.ListQueryHistoriesResponse
+ (*QueryHistory)(nil), // 38: bytebase.v1.QueryHistory
}
var file_v1_sql_service_proto_depIdxs = []int32{
11, // 0: bytebase.v1.AdminExecuteResponse.results:type_name -> bytebase.v1.QueryResult
@@ -2422,29 +2447,30 @@ var file_v1_sql_service_proto_depIdxs = []int32{
29, // 21: bytebase.v1.Advice.end_position:type_name -> bytebase.v1.Position
5, // 22: bytebase.v1.Advice.rule_type:type_name -> bytebase.v1.Advice.RuleType
30, // 23: bytebase.v1.ExportRequest.format:type_name -> bytebase.v1.ExportFormat
- 29, // 24: bytebase.v1.QueryResult.SyntaxError.start_position:type_name -> bytebase.v1.Position
- 2, // 25: bytebase.v1.QueryResult.CommandError.command_type:type_name -> bytebase.v1.QueryResult.CommandError.Type
- 3, // 26: bytebase.v1.QueryResult.Message.level:type_name -> bytebase.v1.QueryResult.Message.Level
- 1, // 27: bytebase.v1.QueryResult.QueryPlan.format:type_name -> bytebase.v1.QueryOption.ExplainFormat
- 31, // 28: bytebase.v1.RowValue.Timestamp.google_timestamp:type_name -> google.protobuf.Timestamp
- 31, // 29: bytebase.v1.RowValue.TimestampTZ.google_timestamp:type_name -> google.protobuf.Timestamp
- 8, // 30: bytebase.v1.SQLService.Query:input_type -> bytebase.v1.QueryRequest
- 6, // 31: bytebase.v1.SQLService.AdminExecute:input_type -> bytebase.v1.AdminExecuteRequest
- 32, // 32: bytebase.v1.SQLService.SearchQueryHistories:input_type -> bytebase.v1.SearchQueryHistoriesRequest
- 33, // 33: bytebase.v1.SQLService.ListQueryHistories:input_type -> bytebase.v1.ListQueryHistoriesRequest
- 34, // 34: bytebase.v1.SQLService.GetQueryHistory:input_type -> bytebase.v1.GetQueryHistoryRequest
- 16, // 35: bytebase.v1.SQLService.Export:input_type -> bytebase.v1.ExportRequest
- 9, // 36: bytebase.v1.SQLService.Query:output_type -> bytebase.v1.QueryResponse
- 7, // 37: bytebase.v1.SQLService.AdminExecute:output_type -> bytebase.v1.AdminExecuteResponse
- 35, // 38: bytebase.v1.SQLService.SearchQueryHistories:output_type -> bytebase.v1.SearchQueryHistoriesResponse
- 36, // 39: bytebase.v1.SQLService.ListQueryHistories:output_type -> bytebase.v1.ListQueryHistoriesResponse
- 37, // 40: bytebase.v1.SQLService.GetQueryHistory:output_type -> bytebase.v1.QueryHistory
- 17, // 41: bytebase.v1.SQLService.Export:output_type -> bytebase.v1.ExportResponse
- 36, // [36:42] is the sub-list for method output_type
- 30, // [30:36] is the sub-list for method input_type
- 30, // [30:30] is the sub-list for extension type_name
- 30, // [30:30] is the sub-list for extension extendee
- 0, // [0:30] is the sub-list for field type_name
+ 31, // 24: bytebase.v1.ExportRequest.destination:type_name -> bytebase.v1.ExportDestination
+ 29, // 25: bytebase.v1.QueryResult.SyntaxError.start_position:type_name -> bytebase.v1.Position
+ 2, // 26: bytebase.v1.QueryResult.CommandError.command_type:type_name -> bytebase.v1.QueryResult.CommandError.Type
+ 3, // 27: bytebase.v1.QueryResult.Message.level:type_name -> bytebase.v1.QueryResult.Message.Level
+ 1, // 28: bytebase.v1.QueryResult.QueryPlan.format:type_name -> bytebase.v1.QueryOption.ExplainFormat
+ 32, // 29: bytebase.v1.RowValue.Timestamp.google_timestamp:type_name -> google.protobuf.Timestamp
+ 32, // 30: bytebase.v1.RowValue.TimestampTZ.google_timestamp:type_name -> google.protobuf.Timestamp
+ 8, // 31: bytebase.v1.SQLService.Query:input_type -> bytebase.v1.QueryRequest
+ 6, // 32: bytebase.v1.SQLService.AdminExecute:input_type -> bytebase.v1.AdminExecuteRequest
+ 33, // 33: bytebase.v1.SQLService.SearchQueryHistories:input_type -> bytebase.v1.SearchQueryHistoriesRequest
+ 34, // 34: bytebase.v1.SQLService.ListQueryHistories:input_type -> bytebase.v1.ListQueryHistoriesRequest
+ 35, // 35: bytebase.v1.SQLService.GetQueryHistory:input_type -> bytebase.v1.GetQueryHistoryRequest
+ 16, // 36: bytebase.v1.SQLService.Export:input_type -> bytebase.v1.ExportRequest
+ 9, // 37: bytebase.v1.SQLService.Query:output_type -> bytebase.v1.QueryResponse
+ 7, // 38: bytebase.v1.SQLService.AdminExecute:output_type -> bytebase.v1.AdminExecuteResponse
+ 36, // 39: bytebase.v1.SQLService.SearchQueryHistories:output_type -> bytebase.v1.SearchQueryHistoriesResponse
+ 37, // 40: bytebase.v1.SQLService.ListQueryHistories:output_type -> bytebase.v1.ListQueryHistoriesResponse
+ 38, // 41: bytebase.v1.SQLService.GetQueryHistory:output_type -> bytebase.v1.QueryHistory
+ 17, // 42: bytebase.v1.SQLService.Export:output_type -> bytebase.v1.ExportResponse
+ 37, // [37:43] is the sub-list for method output_type
+ 31, // [31:37] is the sub-list for method input_type
+ 31, // [31:31] is the sub-list for extension type_name
+ 31, // [31:31] is the sub-list for extension extendee
+ 0, // [0:31] is the sub-list for field type_name
}
func init() { file_v1_sql_service_proto_init() }
diff --git a/backend/generated-go/v1/sql_service_equal.pb.go b/backend/generated-go/v1/sql_service_equal.pb.go
index 067f2ea11b..d6eace95ad 100644
--- a/backend/generated-go/v1/sql_service_equal.pb.go
+++ b/backend/generated-go/v1/sql_service_equal.pb.go
@@ -525,6 +525,9 @@ func (x *ExportRequest) Equal(y *ExportRequest) bool {
if p, q := x.Container, y.Container; (p == nil && q != nil) || (p != nil && (q == nil || *p != *q)) {
return false
}
+ if x.Destination != y.Destination {
+ return false
+ }
return true
}
@@ -541,5 +544,8 @@ func (x *ExportResponse) Equal(y *ExportResponse) bool {
if x.AppliedAccessGrant != y.AppliedAccessGrant {
return false
}
+ if x.Uri != y.Uri {
+ return false
+ }
return true
}
diff --git a/backend/generated-go/v1/subscription_service.pb.go b/backend/generated-go/v1/subscription_service.pb.go
index 7693d5d965..c05bb9fac8 100644
--- a/backend/generated-go/v1/subscription_service.pb.go
+++ b/backend/generated-go/v1/subscription_service.pb.go
@@ -209,6 +209,8 @@ const (
PlanFeature_FEATURE_COMMUNITY_SUPPORT PlanFeature = 69
PlanFeature_FEATURE_EMAIL_SUPPORT PlanFeature = 70
PlanFeature_FEATURE_DEDICATED_SUPPORT_WITH_SLA PlanFeature = 71
+ // Upload exports to SharePoint.
+ PlanFeature_FEATURE_SHAREPOINT_EXPORT PlanFeature = 72
)
// Enum value maps for PlanFeature.
@@ -286,6 +288,7 @@ var (
69: "FEATURE_COMMUNITY_SUPPORT",
70: "FEATURE_EMAIL_SUPPORT",
71: "FEATURE_DEDICATED_SUPPORT_WITH_SLA",
+ 72: "FEATURE_SHAREPOINT_EXPORT",
}
PlanFeature_value = map[string]int32{
"FEATURE_UNSPECIFIED": 0,
@@ -360,6 +363,7 @@ var (
"FEATURE_COMMUNITY_SUPPORT": 69,
"FEATURE_EMAIL_SUPPORT": 70,
"FEATURE_DEDICATED_SUPPORT_WITH_SLA": 71,
+ "FEATURE_SHAREPOINT_EXPORT": 72,
}
)
@@ -1817,7 +1821,7 @@ const file_v1_subscription_service_proto_rawDesc = "" +
"\x04FREE\x10\x01\x12\b\n" +
"\x04TEAM\x10\x02\x12\x0e\n" +
"\n" +
- "ENTERPRISE\x10\x03*\xe5\x12\n" +
+ "ENTERPRISE\x10\x03*\x84\x13\n" +
"\vPlanFeature\x12\x17\n" +
"\x13FEATURE_UNSPECIFIED\x10\x00\x12\x1b\n" +
"\x17FEATURE_DATABASE_CHANGE\x10\x01\x12,\n" +
@@ -1891,7 +1895,8 @@ const file_v1_subscription_service_proto_rawDesc = "" +
"\x12FEATURE_CUSTOM_MSA\x10D\x12\x1d\n" +
"\x19FEATURE_COMMUNITY_SUPPORT\x10E\x12\x19\n" +
"\x15FEATURE_EMAIL_SUPPORT\x10F\x12&\n" +
- "\"FEATURE_DEDICATED_SUPPORT_WITH_SLA\x10G2\x8d\r\n" +
+ "\"FEATURE_DEDICATED_SUPPORT_WITH_SLA\x10G\x12\x1d\n" +
+ "\x19FEATURE_SHAREPOINT_EXPORT\x10H2\x8d\r\n" +
"\x13SubscriptionService\x12v\n" +
"\x0fGetSubscription\x12#.bytebase.v1.GetSubscriptionRequest\x1a\x19.bytebase.v1.Subscription\"#\xdaA\x00\xa0\xea0\x04\xa8\xea0\t\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/subscription\x12\xcc\x01\n" +
"\x16ExportVCSProviderUsers\x12*.bytebase.v1.ExportVCSProviderUsersRequest\x1a+.bytebase.v1.ExportVCSProviderUsersResponse\"Y\x8a\xea0\x16bb.subscription.manage\x90\xea0\x01\x98\xea0\x01\xa0\xea0\x04\xa8\xea0\t\x82\xd3\xe4\x93\x02)\x12'/v1/subscription:vcsProviderUsersExport\x12\x9c\x01\n" +
diff --git a/frontend/src/types/proto-es/v1/common_pb.d.ts b/frontend/src/types/proto-es/v1/common_pb.d.ts
index bae8777bf0..3a846ff3f6 100644
--- a/frontend/src/types/proto-es/v1/common_pb.d.ts
+++ b/frontend/src/types/proto-es/v1/common_pb.d.ts
@@ -880,3 +880,36 @@ export enum StatementType {
*/
export declare const StatementTypeSchema: GenEnum<StatementType>;
+/**
+ * Where an export goes. Values are added as destinations are supported.
+ *
+ * @generated from enum bytebase.v1.ExportDestination
+ */
+export enum ExportDestination {
+ /**
+ * Treated as DOWNLOAD.
+ *
+ * @generated from enum value: EXPORT_DESTINATION_UNSPECIFIED = 0;
+ */
+ EXPORT_DESTINATION_UNSPECIFIED = 0,
+
+ /**
+ * Return the export in the response.
+ *
+ * @generated from enum value: DOWNLOAD = 1;
+ */
+ DOWNLOAD = 1,
+
+ /**
+ * Upload the export to the project's SharePoint export destination.
+ *
+ * @generated from enum value: SHAREPOINT = 2;
+ */
+ SHAREPOINT = 2,
+}
+
+/**
+ * Describes the enum bytebase.v1.ExportDestination.
+ */
+export declare const ExportDestinationSchema: GenEnum<ExportDestination>;
+
diff --git a/frontend/src/types/proto-es/v1/common_pb.js b/frontend/src/types/proto-es/v1/common_pb.js
index 4bed96bd22..d0009ddc75 100644
--- a/frontend/src/types/proto-es/v1/common_pb.js
+++ b/frontend/src/types/proto-es/v1/common_pb.js
@@ -8,7 +8,7 @@ import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/code
* Describes the file v1/common.proto.
*/
export const file_v1_common = /*@__PURE__*/
- fileDesc("Cg92MS9jb21tb24ucHJvdG8SC2J5dGViYXNlLnYxIigKCFBvc2l0aW9uEgwKBGxpbmUYASABKAUSDgoGY29sdW1uGAIgASgFIiMKBVJhbmdlEg0KBXN0YXJ0GAEgASgFEgsKA2VuZBgCIAEoBSJZChZQZXJtaXNzaW9uRGVuaWVkRGV0YWlsEg4KBm1ldGhvZBgBIAEoCRIcChRyZXF1aXJlZF9wZXJtaXNzaW9ucxgCIAMoCRIRCglyZXNvdXJjZXMYAyADKAkqNwoFU3RhdGUSFQoRU1RBVEVfVU5TUEVDSUZJRUQQABIKCgZBQ1RJVkUQARILCgdERUxFVEVEEAIq6gIKBkVuZ2luZRIWChJFTkdJTkVfVU5TUEVDSUZJRUQQABIOCgpDTElDS0hPVVNFEAESCQoFTVlTUUwQAhIMCghQT1NUR1JFUxADEg0KCVNOT1dGTEFLRRAEEggKBFRJREIQBhILCgdNT05HT0RCEAcSCQoFUkVESVMQCBIKCgZPUkFDTEUQCRILCgdTUEFOTkVSEAoSCQoFTVNTUUwQCxIMCghSRURTSElGVBAMEgsKB01BUklBREIQDRINCglPQ0VBTkJBU0UQDhINCglTVEFSUk9DS1MQDxIJCgVET1JJUxAQEggKBEhJVkUQERIRCg1FTEFTVElDU0VBUkNIEBISDAoIQklHUVVFUlkQExIMCghEWU5BTU9EQhAUEg4KCkRBVEFCUklDS1MQFRIPCgtDT0NLUk9BQ0hEQhAWEgwKCENPU01PU0RCEBcSCQoFVFJJTk8QGBINCglDQVNTQU5EUkEQGSIECAUQBSpcCgdWQ1NUeXBlEhgKFFZDU19UWVBFX1VOU1BFQ0lGSUVEE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1RZUEUQHxISCg5BTFRFUl9EQVRBQkFTRRAoEg8KC0FMVEVSX1RBQkxFECkSDgoKQUxURVJfVklFVxAqEhIKDkFMVEVSX1NFUVVFTkNFECsSDwoLQUxURVJfRVZFTlQQLBIOCgpBTFRFUl9UWVBFEC0SDwoLQUxURVJfSU5ERVgQLhIMCghUUlVOQ0FURRAyEgoKBlJFTkFNRRAzEhAKDFJFTkFNRV9JTkRFWBA0EhEKDVJFTkFNRV9TQ0hFTUEQNRITCg9SRU5BTUVfU0VRVUVOQ0UQNhILCgdDT01NRU5UEDcSCgoGSU5TRVJUEDwSCgoGVVBEQVRFED0SCgoGREVMRVRFED4SCQoFTUVSR0UQPyIECA0QEyIECCAQJyIECC8QMSIECDgQOypVChFFeHBvcnREZXN0aW5hdGlvbhIiCh5FWFBPUlRfREVTVElOQVRJT05fVU5TUEVDSUZJRUQQABIMCghET1dOTE9BRBABEg4KClNIQVJFUE9JTlQQAkKhAQoPY29tLmJ5dGViYXNlLnYxQgtDb21tb25Qcm90b1ABWjRnaXRodWIuY29tL2J5dGViYXNlL2J5dGViYXNlL2JhY2tlbmQvZ2VuZXJhdGVkLWdvL3YxogIDQlhYqgILQnl0ZWJhc2UuVjHKAgtCeXRlYmFzZVxWMeICF0J5dGViYXNlXFYxXEdQQk1ldGFkYXRh6gIMQnl0ZWJhc2U6OlYxYgZwcm90bzM");
/**
* Describes the message bytebase.v1.Position.
@@ -161,3 +161,17 @@ export const StatementTypeSchema = /*@__PURE__*/
export const StatementType = /*@__PURE__*/
tsEnum(StatementTypeSchema);
+/**
+ * Describes the enum bytebase.v1.ExportDestination.
+ */
+export const ExportDestinationSchema = /*@__PURE__*/
+ enumDesc(file_v1_common, 9);
+
+/**
+ * Where an export goes. Values are added as destinations are supported.
+ *
+ * @generated from enum bytebase.v1.ExportDestination
+ */
+export const ExportDestination = /*@__PURE__*/
+ tsEnum(ExportDestinationSchema);
+
diff --git a/frontend/src/types/proto-es/v1/org_policy_service_pb.d.ts b/frontend/src/types/proto-es/v1/org_policy_service_pb.d.ts
index 29dd539eb2..e6e34bd4a9 100644
--- a/frontend/src/types/proto-es/v1/org_policy_service_pb.d.ts
+++ b/frontend/src/types/proto-es/v1/org_policy_service_pb.d.ts
@@ -396,6 +396,15 @@ export declare type QueryDataPolicy = Message<"bytebase.v1.QueryDataPolicy"> & {
* @generated from field: bool allow_admin_data_source = 4;
*/
allowAdminDataSource: boolean;
+
+ /**
+ * workspace-level policy
+ * Disable the Download export destination. Exports can still go to a
+ * configured storage destination such as SharePoint.
+ *
+ * @generated from field: bool disable_download = 5;
+ */
+ disableDownload: boolean;
};
/**
diff --git a/frontend/src/types/proto-es/v1/org_policy_service_pb.js b/frontend/src/types/proto-es/v1/org_policy_service_pb.js
index 941b779b84..a578c41a42 100644
--- a/frontend/src/types/proto-es/v1/org_policy_service_pb.js
+++ b/frontend/src/types/proto-es/v1/org_policy_service_pb.js
@@ -16,7 +16,7 @@ import { file_v1_review_rule } from "./review_rule_pb";
* Describes the file v1/org_policy_service.proto.
*/
export const file_v1_org_policy_service = /*@__PURE__*/
- fileDesc("Cht2MS9vcmdfcG9saWN5X3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIpMBChNDcmVhdGVQb2xpY3lSZXF1ZXN0EisKBnBhcmVudBgBIAEoCUIb4EEC+kEVEhNieXRlYmFzZS5jb20vUG9saWN5EigKBnBvbGljeRgCIAEoCzITLmJ5dGViYXNlLnYxLlBvbGljeUID4EECEiUKBHR5cGUYAyABKA4yFy5ieXRlYmFzZS52MS5Qb2xpY3lUeXBlIocBChNVcGRhdGVQb2xpY3lSZXF1ZXN0EigKBnBvbGljeRgBIAEoCzITLmJ5dGViYXNlLnYxLlBvbGljeUID4EECEi8KC3VwZGF0ZV9tYXNrGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFzaxIVCg1hbGxvd19taXNzaW5nGAMgASgIIkAKE0RlbGV0ZVBvbGljeVJlcXVlc3QSKQoEbmFtZRgBI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lPXByb2plY3RzLyovcG9saWNpZXMvKn1aJiokL3YxL3tuYW1lPWVudmlyb25tZW50cy8qL3BvbGljaWVzLyp9KiIvdjEve25hbWU9d29ya3NwYWNlcy8qL3BvbGljaWVzLyp9QqsBCg9jb20uYnl0ZWJhc2UudjFCFU9yZ1BvbGljeVNlcnZpY2VQcm90b1ABWjRnaXRodWIuY29tL2J5dGViYXNlL2J5dGViYXNlL2JhY2tlbmQvZ2VuZXJhdGVkLWdvL3YxogIDQlhYqgILQnl0ZWJhc2UuVjHKAgtCeXRlYmFzZVxWMeICF0J5dGViYXNlXFYxXEdQQk1ldGFkYXRh6gIMQnl0ZWJhc2U6OlYxYgZwcm90bzM", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_empty, file_google_protobuf_field_mask, file_google_type_expr, file_v1_annotation, file_v1_review_rule]);
+ fileDesc("Cht2MS9vcmdfcG9saWN5X3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIpMBChNDcmVhdGVQb2xpY3lSZXF1ZXN0EisKBnBhcmVudBgBIAEoCUIb4EEC+kEVEhNieXRlYmFzZS5jb20vUG9saWN5EigKBnBvbGljeRgCIAEoCzITLmJ5dGViYXNlLnYxLlBvbGljeUID4EECEiUKBHR5cGUYAyABKA4yFy5ieXRlYmFzZS52MS5Qb2xpY3lUeXBlIocBChNVcGRhdGVQb2xpY3lSZXF1ZXN0EigKBnBvbGljeRgBIAEoCzITLmJ5dGViYXNlLnYxLlBvbGljeUID4EECEi8KC3VwZGF0ZV9tYXNrGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFzaxIVCg1hbGxvd19taXNzaW5nGAMgASgIIkAKE0RlbGV0ZVBvbGljeVJlcXVlc3QSKQoEbmFtZRgBIAEoCUIb4EEC+kEVChNieXRlYmFzZS5jb20vUG9saWN5Ij0KEEdldFBvbGljeVJlcXVlc3QSKQoEbmFtZRgBIAEoCUIb4EEC+kEVChNieXRlYmFzZ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2VzLyovcG9saWNpZXMvKn1CqwEKD2NvbS5ieXRlYmFzZS52MUIVT3JnUG9saWN5U2VydmljZVByb3RvUAFaNGdpdGh1Yi5jb20vYnl0ZWJhc2UvYnl0ZWJhc2UvYmFja2VuZC9nZW5lcmF0ZWQtZ28vdjGiAgNCWFiqAgtCeXRlYmFzZS5WMcoCC0J5dGViYXNlXFYx4gIXQnl0ZWJhc2VcVjFcR1BCTWV0YWRhdGHqAgxCeXRlYmFzZTo6VjFiBnByb3RvMw", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_empty, file_google_protobuf_field_mask, file_google_type_expr, file_v1_annotation, file_v1_review_rule]);
/**
* Describes the message bytebase.v1.CreatePolicyRequest.
diff --git a/frontend/src/types/proto-es/v1/project_service_pb.d.ts b/frontend/src/types/proto-es/v1/project_service_pb.d.ts
index da8f1f5d92..21d0fc1884 100644
--- a/frontend/src/types/proto-es/v1/project_service_pb.d.ts
+++ b/frontend/src/types/proto-es/v1/project_service_pb.d.ts
@@ -590,6 +590,13 @@ export declare type Project = Message<"bytebase.v1.Project"> & {
* @generated from field: bool allow_last_plan_editor_approval = 24;
*/
allowLastPlanEditorApproval: boolean;
+
+ /**
+ * Export configuration for this project.
+ *
+ * @generated from field: bytebase.v1.Project.ExportSetting export_setting = 25;
+ */
+ exportSetting?: Project_ExportSetting | undefined;
};
/**
@@ -618,6 +625,26 @@ export declare type Project_ExecutionRetryPolicy = Message<"bytebase.v1.Project.
*/
export declare const Project_ExecutionRetryPolicySchema: GenMessage<Project_ExecutionRetryPolicy>;
+/**
+ * Destinations offered for this project's exports, at most one per provider.
+ *
+ * @generated from message bytebase.v1.Project.ExportSetting
+ */
+export declare type Project_ExportSetting = Message<"bytebase.v1.Project.ExportSetting"> & {
+ /**
+ * Unset when the project has no SharePoint destination.
+ *
+ * @generated from field: bytebase.v1.SharePointDestination sharepoint = 1;
+ */
+ sharepoint?: SharePointDestination | undefined;
+};
+
+/**
+ * Describes the message bytebase.v1.Project.ExportSetting.
+ * Use `create(Project_ExportSettingSchema)` to create a new message.
+ */
+export declare const Project_ExportSettingSchema: GenMessage<Project_ExportSetting>;
+
/**
* @generated from message bytebase.v1.AddWebhookRequest
*/
@@ -743,6 +770,27 @@ export declare type TestWebhookResponse = Message<"bytebase.v1.TestWebhookRespon
*/
export declare const TestWebhookResponseSchema: GenMessage<TestWebhookResponse>;
+/**
+ * A SharePoint document library root or folder that receives exports.
+ *
+ * @generated from message bytebase.v1.SharePointDestination
+ */
+export declare type SharePointDestination = Message<"bytebase.v1.SharePointDestination"> & {
+ /**
+ * The URL of the library root or folder. Normalized to its canonical form
+ * and resolved with the workspace credentials on save.
+ *
+ * @generated from field: string url = 1;
+ */
+ url: string;
+};
+
+/**
+ * Describes the message bytebase.v1.SharePointDestination.
+ * Use `create(SharePointDestinationSchema)` to create a new message.
+ */
+export declare const SharePointDestinationSchema: GenMessage<SharePointDestination>;
+
/**
* @generated from message bytebase.v1.Webhook
*/
diff --git a/frontend/src/types/proto-es/v1/project_service_pb.js b/frontend/src/types/proto-es/v1/project_service_pb.js
index 5347b672f8..5f5763e52c 100644
--- a/frontend/src/types/proto-es/v1/project_service_pb.js
+++ b/frontend/src/types/proto-es/v1/project_service_pb.js
@@ -18,7 +18,7 @@ import { file_v1_iam_policy } from "./iam_policy_pb";
* Describes the file v1/project_service.proto.
*/
export const file_v1_project_service = /*@__PURE__*/
- fileDesc("Chh2MS9wcm9qZWN0X3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIj8KEUdldFByb2plY3RSZXF1ZXN0EioKBG5hbWUYASABKAlCHOBBAvpBFgoUYnl0ZWJhc2UuY29tL1Byb2plY3QiRgoXQmF0Y2hHZXRQcm9qZWN0c1JlcXVlc3QSKwoFbmFtZXMYASADKAlCHOBBAvpBFgoUYnl0ZWJhc2UuY29tL1Byb2plY3QiQgoYQmF0Y2hHZXRQcm9qZWN0c1Jlc3BvbnNlEiYKCHByb2plY3RzGAEgA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6jAEqOowCYLT5JMCQToHd2ViaG9vazI2L3YxL3t3ZWJob29rLm5hbWU9cHJvamVjdHMvKi93ZWJob29rcy8qfTp1cGRhdGVXZWJob29rErEBCg1SZW1vdmVXZWJob29rEiEuYnl0ZWJhc2UudjEuUmVtb3ZlV2ViaG9va1JlcXVlc3QaFC5ieXRlYmFzZS52MS5Qcm9qZWN0ImeK6jASYmIucHJvamVjdHMudXBkYXRlkOowAZjqMAGg6jAEqOowCYLT5JMCOzoBKiI2L3YxL3t3ZWJob29rLm5hbWU9cHJvamVjdHMvKi93ZWJob29rcy8qfTpyZW1vdmVXZWJob29rEqMBCgtUZXN0V2ViaG9vaxIfLmJ5dGViYXNlLnYxLlRlc3RXZWJob29rUmVxdWVzdBogLmJ5dGViYXNlLnYxLlRlc3RXZWJob29rUmVzcG9uc2UiUYrqMBJiYi5wcm9qZWN0cy51cGRhdGWQ6jABoOowBKjqMAyC0+STAik6ASoiJC92MS97cHJvamVjdD1wcm9qZWN0cy8qfTp0ZXN0V2ViaG9va0KpAQoPY29tLmJ5dGViYXNlLnYxQhNQcm9qZWN0U2VydmljZVByb3RvUAFaNGdpdGh1Yi5jb20vYnl0ZWJhc2UvYnl0ZWJhc2UvYmFja2VuZC9nZW5lcmF0ZWQtZ28vdjGiAgNCWFiqAgtCeXRlYmFzZS5WMcoCC0J5dGViYXNlXFYx4gIXQnl0ZWJhc2VcVjFcR1BCTWV0YWRhdGHqAgxCeXRlYmFzZTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_empty, file_google_protobuf_field_mask, file_google_type_color, file_v1_annotation, file_v1_common, file_v1_iam_policy]);
+ fileDesc("Chh2MS9wcm9qZWN0X3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIj8KEUdldFByb2plY3RSZXF1ZXN0EioKBG5hbWUYASABKAlCHOBBAvpBFgoUYnl0ZWJhc2UuY29tL1Byb2plY3QiRg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QtZ28vdjGiAgNCWFiqAgtCeXRlYmFzZS5WMcoCC0J5dGViYXNlXFYx4gIXQnl0ZWJhc2VcVjFcR1BCTWV0YWRhdGHqAgxCeXRlYmFzZTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_empty, file_google_protobuf_field_mask, file_google_type_color, file_v1_annotation, file_v1_common, file_v1_iam_policy]);
/**
* Describes the message bytebase.v1.GetProjectRequest.
@@ -125,6 +125,13 @@ export const ProjectSchema = /*@__PURE__*/
export const Project_ExecutionRetryPolicySchema = /*@__PURE__*/
messageDesc(file_v1_project_service, 13, 0);
+/**
+ * Describes the message bytebase.v1.Project.ExportSetting.
+ * Use `create(Project_ExportSettingSchema)` to create a new message.
+ */
+export const Project_ExportSettingSchema = /*@__PURE__*/
+ messageDesc(file_v1_project_service, 13, 1);
+
/**
* Describes the message bytebase.v1.AddWebhookRequest.
* Use `create(AddWebhookRequestSchema)` to create a new message.
@@ -160,25 +167,32 @@ export const TestWebhookRequestSchema = /*@__PURE__*/
export const TestWebhookResponseSchema = /*@__PURE__*/
messageDesc(file_v1_project_service, 18);
+/**
+ * Describes the message bytebase.v1.SharePointDestination.
+ * Use `create(SharePointDestinationSchema)` to create a new message.
+ */
+export const SharePointDestinationSchema = /*@__PURE__*/
+ messageDesc(file_v1_project_service, 19);
+
/**
* Describes the message bytebase.v1.Webhook.
* Use `create(WebhookSchema)` to create a new message.
*/
export const WebhookSchema = /*@__PURE__*/
- messageDesc(file_v1_project_service, 19);
+ messageDesc(file_v1_project_service, 20);
/**
* Describes the message bytebase.v1.Activity.
* Use `create(ActivitySchema)` to create a new message.
*/
export const ActivitySchema = /*@__PURE__*/
- messageDesc(file_v1_project_service, 20);
+ messageDesc(file_v1_project_service, 21);
/**
* Describes the enum bytebase.v1.Activity.Type.
*/
export const Activity_TypeSchema = /*@__PURE__*/
- enumDesc(file_v1_project_service, 20, 0);
+ enumDesc(file_v1_project_service, 21, 0);
/**
* Activity type enumeration.
diff --git a/frontend/src/types/proto-es/v1/setting_service_pb.d.ts b/frontend/src/types/proto-es/v1/setting_service_pb.d.ts
index 7296682d54..6eb418d0df 100644
--- a/frontend/src/types/proto-es/v1/setting_service_pb.d.ts
+++ b/frontend/src/types/proto-es/v1/setting_service_pb.d.ts
@@ -203,6 +203,11 @@ export enum Setting_SettingName {
* @generated from enum value: MCP = 9;
*/
MCP = 9,
+
+ /**
+ * @generated from enum value: EXPORT = 10;
+ */
+ EXPORT = 10,
}
/**
@@ -273,6 +278,12 @@ export declare type SettingValue = Message<"bytebase.v1.SettingValue"> & {
*/
value: MCPSetting;
case: "mcp";
+ } | {
+ /**
+ * @generated from field: bytebase.v1.ExportSetting export = 10;
+ */
+ value: ExportSetting;
+ case: "export";
} | { case: undefined; value?: undefined };
};
@@ -282,6 +293,69 @@ export declare type SettingValue = Message<"bytebase.v1.SettingValue"> & {
*/
export declare const SettingValueSchema: GenMessage<SettingValue>;
+/**
+ * ExportSetting holds each export destination provider's credentials.
+ *
+ * @generated from message bytebase.v1.ExportSetting
+ */
+export declare type ExportSetting = Message<"bytebase.v1.ExportSetting"> & {
+ /**
+ * Unset when SharePoint is not configured.
+ *
+ * @generated from field: bytebase.v1.SharePointSetting sharepoint = 1;
+ */
+ sharepoint?: SharePointSetting | undefined;
+};
+
+/**
+ * Describes the message bytebase.v1.ExportSetting.
+ * Use `create(ExportSettingSchema)` to create a new message.
+ */
+export declare const ExportSettingSchema: GenMessage<ExportSetting>;
+
+/**
+ * SharePointSetting is the Microsoft Entra application that uploads exports to
+ * SharePoint. It is granted access per library by the customer's SharePoint
+ * administrators.
+ *
+ * @generated from message bytebase.v1.SharePointSetting
+ */
+export declare type SharePointSetting = Message<"bytebase.v1.SharePointSetting"> & {
+ /**
+ * The Microsoft Entra tenant (directory) ID.
+ *
+ * @generated from field: string tenant_id = 1;
+ */
+ tenantId: string;
+
+ /**
+ * The application (client) ID.
+ *
+ * @generated from field: string client_id = 2;
+ */
+ clientId: string;
+
+ /**
+ * The client secret. It is never returned.
+ *
+ * @generated from field: string client_secret = 3;
+ */
+ clientSecret: string;
+
+ /**
+ * Whether a client secret is stored.
+ *
+ * @generated from field: bool client_secret_set = 4;
+ */
+ clientSecretSet: boolean;
+};
+
+/**
+ * Describes the message bytebase.v1.SharePointSetting.
+ * Use `create(SharePointSettingSchema)` to create a new message.
+ */
+export declare const SharePointSettingSchema: GenMessage<SharePointSetting>;
+
/**
* @generated from message bytebase.v1.AppIMSetting
*/
diff --git a/frontend/src/types/proto-es/v1/setting_service_pb.js b/frontend/src/types/proto-es/v1/setting_service_pb.js
index 5d388ff6f2..1d33c48627 100644
--- a/frontend/src/types/proto-es/v1/setting_service_pb.js
+++ b/frontend/src/types/proto-es/v1/setting_service_pb.js
@@ -18,7 +18,7 @@ import { file_v1_issue_service } from "./issue_service_pb";
* Describes the file v1/setting_service.proto.
*/
export const file_v1_setting_service = /*@__PURE__*/
- fileDesc("Chh2MS9zZXR0aW5nX3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIhUKE0xpc3RTZXR0aW5nc1JlcXVlc3QiPgoUTGlzdFNldHRpbmdzUmVzcG9uc2USJgoIc2V0dGluZ3MYASADKAsyFC5ieXRlYmFzZS52MS5TZXR0aW5nIj8KEUdldFNldHRpbmdSZXF1ZXN0EioKBG5hbWUYASABKAlCHOBBAvpBFgoUYnl0ZWJhc2UuY29tL1NldHRpbmciOwoSR2V0U2V0dGluZ1Jlc3BvbnNlEiUKB3NldHRpbmcYASABKAsyFC5ieXRlYmFzZS52MS5TZXR0aW5nIqEBChRVcGRhdGVTZXR0aW5nUmVxdWVzdBIqCgdzZXR0aW5nGAEgASgLMhQuYnl0ZWJhc2UudjEuU2V0dGluZ0ID4EECEhUKDXZhbGlkYXRlX29ubHkYAiABKAgSFQoNYWxsb3dfbWlzc2luZxgDIAEoCBIvCgt1cGRhdGVfbWFzaxgEIAEoCzIaLmdvb2dsZS5wcm90b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HRpbmdzLyp9EpsBCg1VcGRhdGVTZXR0aW5nEiEuYnl0ZWJhc2UudjEuVXBkYXRlU2V0dGluZ1JlcXVlc3QaFC5ieXRlYmFzZS52MS5TZXR0aW5nIlGK6jAPYmIuc2V0dGluZ3Muc2V0kOowApjqMAGg6jADqOowB4LT5JMCKDoHc2V0dGluZzIdL3YxL3tzZXR0aW5nLm5hbWU9c2V0dGluZ3MvKn0SuAEKEFRlc3RFbWFpbFNldHRpbmcSJC5ieXRlYmFzZS52MS5UZXN0RW1haWxTZXR0aW5nUmVxdWVzdBolLmJ5dGViYXNlLnYxLlRlc3RFbWFpbFNldHRpbmdSZXNwb25zZSJXiuowD2JiLnNldHRpbmdzLnNldJDqMAGg6jADqOowBoLT5JMCMjoBKiItL3YxL3twYXJlbnQ9d29ya3NwYWNlcy8qfS9zZXR0aW5ncy9FTUFJTDp0ZXN0QqkBCg9jb20uYnl0ZWJhc2UudjFCE1NldHRpbmdTZXJ2aWNlUHJvdG9QAVo0Z2l0aHViLmNvbS9ieXRlYmFzZS9ieXRlYmFzZS9iYWNrZW5kL2dlbmVyYXRlZC1nby92MaICA0JYWKoCC0J5dGViYXNlLlYxygILQnl0ZWJhc2VcVjHiAhdCeXRlYmFzZVxWMVxHUEJNZXRhZGF0YeoCDEJ5dGViYXNlOjpWMWIGcHJvdG8z", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_duration, file_google_protobuf_field_mask, file_google_type_color, file_google_type_expr, file_v1_annotation, file_v1_common, file_v1_issue_service]);
+ fileDesc("Chh2MS9zZXR0aW5nX3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIhUKE0xpc3RTZXR0aW5nc1JlcXVlc3QiPgoUTGlzdFNldHRpbmdzUmVzcG9uc2USJgoIc2V0dGluZ3MYASADKAsyFC5ieXRlYmFzZS52MS5TZXR0aW5nIj8KEUdldFNldHRpbmdSZXF1ZXN0EioKBG5hbWUYASABKAlCHOBBAvpBFgoU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UiV4rqMA9iYi5zZXR0aW5ncy5zZXSQ6jABoOowA6jqMAaC0+STAjI6ASoiLS92MS97cGFyZW50PXdvcmtzcGFjZXMvKn0vc2V0dGluZ3MvRU1BSUw6dGVzdEKpAQoPY29tLmJ5dGViYXNlLnYxQhNTZXR0aW5nU2VydmljZVByb3RvUAFaNGdpdGh1Yi5jb20vYnl0ZWJhc2UvYnl0ZWJhc2UvYmFja2VuZC9nZW5lcmF0ZWQtZ28vdjGiAgNCWFiqAgtCeXRlYmFzZS5WMcoCC0J5dGViYXNlXFYx4gIXQnl0ZWJhc2VcVjFcR1BCTWV0YWRhdGHqAgxCeXRlYmFzZTo6VjFiBnByb3RvMw", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_duration, file_google_protobuf_field_mask, file_google_type_color, file_google_type_expr, file_v1_annotation, file_v1_common, file_v1_issue_service]);
/**
* Describes the message bytebase.v1.ListSettingsRequest.
@@ -81,88 +81,102 @@ export const Setting_SettingName = /*@__PURE__*/
export const SettingValueSchema = /*@__PURE__*/
messageDesc(file_v1_setting_service, 6);
+/**
+ * Describes the message bytebase.v1.ExportSetting.
+ * Use `create(ExportSettingSchema)` to create a new message.
+ */
+export const ExportSettingSchema = /*@__PURE__*/
+ messageDesc(file_v1_setting_service, 7);
+
+/**
+ * Describes the message bytebase.v1.SharePointSetting.
+ * Use `create(SharePointSettingSchema)` to create a new message.
+ */
+export const SharePointSettingSchema = /*@__PURE__*/
+ messageDesc(file_v1_setting_service, 8);
+
/**
* Describes the message bytebase.v1.AppIMSetting.
* Use `create(AppIMSettingSchema)` to create a new message.
*/
export const AppIMSettingSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 7);
+ messageDesc(file_v1_setting_service, 9);
/**
* Describes the message bytebase.v1.AppIMSetting.Slack.
* Use `create(AppIMSetting_SlackSchema)` to create a new message.
*/
export const AppIMSetting_SlackSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 7, 0);
+ messageDesc(file_v1_setting_service, 9, 0);
/**
* Describes the message bytebase.v1.AppIMSetting.Feishu.
* Use `create(AppIMSetting_FeishuSchema)` to create a new message.
*/
export const AppIMSetting_FeishuSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 7, 1);
+ messageDesc(file_v1_setting_service, 9, 1);
/**
* Describes the message bytebase.v1.AppIMSetting.Wecom.
* Use `create(AppIMSetting_WecomSchema)` to create a new message.
*/
export const AppIMSetting_WecomSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 7, 2);
+ messageDesc(file_v1_setting_service, 9, 2);
/**
* Describes the message bytebase.v1.AppIMSetting.Lark.
* Use `create(AppIMSetting_LarkSchema)` to create a new message.
*/
export const AppIMSetting_LarkSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 7, 3);
+ messageDesc(file_v1_setting_service, 9, 3);
/**
* Describes the message bytebase.v1.AppIMSetting.DingTalk.
* Use `create(AppIMSetting_DingTalkSchema)` to create a new message.
*/
export const AppIMSetting_DingTalkSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 7, 4);
+ messageDesc(file_v1_setting_service, 9, 4);
/**
* Describes the message bytebase.v1.AppIMSetting.Teams.
* Use `create(AppIMSetting_TeamsSchema)` to create a new message.
*/
export const AppIMSetting_TeamsSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 7, 5);
+ messageDesc(file_v1_setting_service, 9, 5);
/**
* Describes the message bytebase.v1.AppIMSetting.IMSetting.
* Use `create(AppIMSetting_IMSettingSchema)` to create a new message.
*/
export const AppIMSetting_IMSettingSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 7, 6);
+ messageDesc(file_v1_setting_service, 9, 6);
/**
* Describes the message bytebase.v1.WorkspaceProfileSetting.
* Use `create(WorkspaceProfileSettingSchema)` to create a new message.
*/
export const WorkspaceProfileSettingSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 8);
+ messageDesc(file_v1_setting_service, 10);
/**
* Describes the message bytebase.v1.WorkspaceProfileSetting.PasswordRestriction.
* Use `create(WorkspaceProfileSetting_PasswordRestrictionSchema)` to create a new message.
*/
export const WorkspaceProfileSetting_PasswordRestrictionSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 8, 0);
+ messageDesc(file_v1_setting_service, 10, 0);
/**
* Describes the message bytebase.v1.MCPSetting.
* Use `create(MCPSettingSchema)` to create a new message.
*/
export const MCPSettingSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 9);
+ messageDesc(file_v1_setting_service, 11);
/**
* Describes the enum bytebase.v1.MCPSetting.Capability.
*/
export const MCPSetting_CapabilitySchema = /*@__PURE__*/
- enumDesc(file_v1_setting_service, 9, 0);
+ enumDesc(file_v1_setting_service, 11, 0);
/**
* Capability is the ceiling: a session runs at this level or lower.
@@ -179,41 +193,41 @@ export const MCPSetting_Capability = /*@__PURE__*/
* Use `create(SQLEditorThemeSettingSchema)` to create a new message.
*/
export const SQLEditorThemeSettingSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 10);
+ messageDesc(file_v1_setting_service, 12);
/**
* Describes the message bytebase.v1.Announcement.
* Use `create(AnnouncementSchema)` to create a new message.
*/
export const AnnouncementSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 11);
+ messageDesc(file_v1_setting_service, 13);
/**
* Describes the message bytebase.v1.Announcement.AnnouncementTheme.
* Use `create(Announcement_AnnouncementThemeSchema)` to create a new message.
*/
export const Announcement_AnnouncementThemeSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 11, 0);
+ messageDesc(file_v1_setting_service, 13, 0);
/**
* Describes the message bytebase.v1.WorkspaceApprovalSetting.
* Use `create(WorkspaceApprovalSettingSchema)` to create a new message.
*/
export const WorkspaceApprovalSettingSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 12);
+ messageDesc(file_v1_setting_service, 14);
/**
* Describes the message bytebase.v1.WorkspaceApprovalSetting.Rule.
* Use `create(WorkspaceApprovalSetting_RuleSchema)` to create a new message.
*/
export const WorkspaceApprovalSetting_RuleSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 12, 0);
+ messageDesc(file_v1_setting_service, 14, 0);
/**
* Describes the enum bytebase.v1.WorkspaceApprovalSetting.Rule.Source.
*/
export const WorkspaceApprovalSetting_Rule_SourceSchema = /*@__PURE__*/
- enumDesc(file_v1_setting_service, 12, 0, 0);
+ enumDesc(file_v1_setting_service, 14, 0, 0);
/**
* @generated from enum bytebase.v1.WorkspaceApprovalSetting.Rule.Source
@@ -226,90 +240,90 @@ export const WorkspaceApprovalSetting_Rule_Source = /*@__PURE__*/
* Use `create(DataClassificationSettingSchema)` to create a new message.
*/
export const DataClassificationSettingSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 13);
+ messageDesc(file_v1_setting_service, 15);
/**
* Describes the message bytebase.v1.DataClassificationSetting.DataClassificationConfig.
* Use `create(DataClassificationSetting_DataClassificationConfigSchema)` to create a new message.
*/
export const DataClassificationSetting_DataClassificationConfigSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 13, 0);
+ messageDesc(file_v1_setting_service, 15, 0);
/**
* Describes the message bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level.
* Use `create(DataClassificationSetting_DataClassificationConfig_LevelSchema)` to create a new message.
*/
export const DataClassificationSetting_DataClassificationConfig_LevelSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 13, 0, 0);
+ messageDesc(file_v1_setting_service, 15, 0, 0);
/**
* Describes the message bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification.
* Use `create(DataClassificationSetting_DataClassificationConfig_DataClassificationSchema)` to create a new message.
*/
export const DataClassificationSetting_DataClassificationConfig_DataClassificationSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 13, 0, 1);
+ messageDesc(file_v1_setting_service, 15, 0, 1);
/**
* Describes the message bytebase.v1.SemanticTypeSetting.
* Use `create(SemanticTypeSettingSchema)` to create a new message.
*/
export const SemanticTypeSettingSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 14);
+ messageDesc(file_v1_setting_service, 16);
/**
* Describes the message bytebase.v1.SemanticTypeSetting.SemanticType.
* Use `create(SemanticTypeSetting_SemanticTypeSchema)` to create a new message.
*/
export const SemanticTypeSetting_SemanticTypeSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 14, 0);
+ messageDesc(file_v1_setting_service, 16, 0);
/**
* Describes the message bytebase.v1.Algorithm.
* Use `create(AlgorithmSchema)` to create a new message.
*/
export const AlgorithmSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 15);
+ messageDesc(file_v1_setting_service, 17);
/**
* Describes the message bytebase.v1.Algorithm.FullMask.
* Use `create(Algorithm_FullMaskSchema)` to create a new message.
*/
export const Algorithm_FullMaskSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 15, 0);
+ messageDesc(file_v1_setting_service, 17, 0);
/**
* Describes the message bytebase.v1.Algorithm.RangeMask.
* Use `create(Algorithm_RangeMaskSchema)` to create a new message.
*/
export const Algorithm_RangeMaskSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 15, 1);
+ messageDesc(file_v1_setting_service, 17, 1);
/**
* Describes the message bytebase.v1.Algorithm.RangeMask.Slice.
* Use `create(Algorithm_RangeMask_SliceSchema)` to create a new message.
*/
export const Algorithm_RangeMask_SliceSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 15, 1, 0);
+ messageDesc(file_v1_setting_service, 17, 1, 0);
/**
* Describes the message bytebase.v1.Algorithm.MD5Mask.
* Use `create(Algorithm_MD5MaskSchema)` to create a new message.
*/
export const Algorithm_MD5MaskSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 15, 2);
+ messageDesc(file_v1_setting_service, 17, 2);
/**
* Describes the message bytebase.v1.Algorithm.InnerOuterMask.
* Use `create(Algorithm_InnerOuterMaskSchema)` to create a new message.
*/
export const Algorithm_InnerOuterMaskSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 15, 3);
+ messageDesc(file_v1_setting_service, 17, 3);
/**
* Describes the enum bytebase.v1.Algorithm.InnerOuterMask.MaskType.
*/
export const Algorithm_InnerOuterMask_MaskTypeSchema = /*@__PURE__*/
- enumDesc(file_v1_setting_service, 15, 3, 0);
+ enumDesc(file_v1_setting_service, 17, 3, 0);
/**
* @generated from enum bytebase.v1.Algorithm.InnerOuterMask.MaskType
@@ -322,13 +336,13 @@ export const Algorithm_InnerOuterMask_MaskType = /*@__PURE__*/
* Use `create(AISettingSchema)` to create a new message.
*/
export const AISettingSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 16);
+ messageDesc(file_v1_setting_service, 18);
/**
* Describes the enum bytebase.v1.AISetting.Provider.
*/
export const AISetting_ProviderSchema = /*@__PURE__*/
- enumDesc(file_v1_setting_service, 16, 0);
+ enumDesc(file_v1_setting_service, 18, 0);
/**
* @generated from enum bytebase.v1.AISetting.Provider
@@ -341,34 +355,34 @@ export const AISetting_Provider = /*@__PURE__*/
* Use `create(EnvironmentSettingSchema)` to create a new message.
*/
export const EnvironmentSettingSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 17);
+ messageDesc(file_v1_setting_service, 19);
/**
* Describes the message bytebase.v1.EnvironmentSetting.Environment.
* Use `create(EnvironmentSetting_EnvironmentSchema)` to create a new message.
*/
export const EnvironmentSetting_EnvironmentSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 17, 0);
+ messageDesc(file_v1_setting_service, 19, 0);
/**
* Describes the message bytebase.v1.EmailSetting.
* Use `create(EmailSettingSchema)` to create a new message.
*/
export const EmailSettingSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 18);
+ messageDesc(file_v1_setting_service, 20);
/**
* Describes the message bytebase.v1.EmailSetting.SMTPConfig.
* Use `create(EmailSetting_SMTPConfigSchema)` to create a new message.
*/
export const EmailSetting_SMTPConfigSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 18, 0);
+ messageDesc(file_v1_setting_service, 20, 0);
/**
* Describes the enum bytebase.v1.EmailSetting.SMTPConfig.Encryption.
*/
export const EmailSetting_SMTPConfig_EncryptionSchema = /*@__PURE__*/
- enumDesc(file_v1_setting_service, 18, 0, 0);
+ enumDesc(file_v1_setting_service, 20, 0, 0);
/**
* @generated from enum bytebase.v1.EmailSetting.SMTPConfig.Encryption
@@ -380,7 +394,7 @@ export const EmailSetting_SMTPConfig_Encryption = /*@__PURE__*/
* Describes the enum bytebase.v1.EmailSetting.SMTPConfig.Authentication.
*/
export const EmailSetting_SMTPConfig_AuthenticationSchema = /*@__PURE__*/
- enumDesc(file_v1_setting_service, 18, 0, 1);
+ enumDesc(file_v1_setting_service, 20, 0, 1);
/**
* @generated from enum bytebase.v1.EmailSetting.SMTPConfig.Authentication
@@ -392,7 +406,7 @@ export const EmailSetting_SMTPConfig_Authentication = /*@__PURE__*/
* Describes the enum bytebase.v1.EmailSetting.Type.
*/
export const EmailSetting_TypeSchema = /*@__PURE__*/
- enumDesc(file_v1_setting_service, 18, 0);
+ enumDesc(file_v1_setting_service, 20, 0);
/**
* @generated from enum bytebase.v1.EmailSetting.Type
@@ -405,14 +419,14 @@ export const EmailSetting_Type = /*@__PURE__*/
* Use `create(TestEmailSettingRequestSchema)` to create a new message.
*/
export const TestEmailSettingRequestSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 19);
+ messageDesc(file_v1_setting_service, 21);
/**
* Describes the message bytebase.v1.TestEmailSettingResponse.
* Use `create(TestEmailSettingResponseSchema)` to create a new message.
*/
export const TestEmailSettingResponseSchema = /*@__PURE__*/
- messageDesc(file_v1_setting_service, 20);
+ messageDesc(file_v1_setting_service, 22);
/**
* Describes the enum bytebase.v1.DatabaseChangeMode.
diff --git a/frontend/src/types/proto-es/v1/sql_service_pb.d.ts b/frontend/src/types/proto-es/v1/sql_service_pb.d.ts
index 924e5f7684..58da01f5a2 100644
--- a/frontend/src/types/proto-es/v1/sql_service_pb.d.ts
+++ b/frontend/src/types/proto-es/v1/sql_service_pb.d.ts
@@ -5,7 +5,7 @@
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
import type { Message } from "@bufbuild/protobuf";
import type { Duration, NullValue, Timestamp, Value } from "@bufbuild/protobuf/wkt";
-import type { ExportFormat, PermissionDeniedDetail, Position } from "./common_pb";
+import type { ExportDestination, ExportFormat, PermissionDeniedDetail, Position } from "./common_pb";
import type { GetQueryHistoryRequestSchema, ListQueryHistoriesRequestSchema, ListQueryHistoriesResponseSchema, QueryHistorySchema, SearchQueryHistoriesRequestSchema, SearchQueryHistoriesResponseSchema } from "./query_history_service_pb";
/**
@@ -1143,6 +1143,14 @@ export declare type ExportRequest = Message<"bytebase.v1.ExportRequest"> & {
* @generated from field: optional string container = 9;
*/
container?: string | undefined;
+
+ /**
+ * Where the export goes. A destination the workspace query data policy
+ * does not allow is rejected with FAILED_PRECONDITION.
+ *
+ * @generated from field: bytebase.v1.ExportDestination destination = 10;
+ */
+ destination: ExportDestination;
};
/**
@@ -1170,6 +1178,15 @@ export declare type ExportResponse = Message<"bytebase.v1.ExportResponse"> & {
* @generated from field: string applied_access_grant = 2;
*/
appliedAccessGrant: string;
+
+ /**
+ * Set when the export was sent to an export destination: the absolute
+ * location of the folder or key prefix created for this export, for example
+ * https://… for SharePoint or s3://bucket/prefix for S3. content is then empty.
+ *
+ * @generated from field: string uri = 3;
+ */
+ uri: string;
};
/**
diff --git a/frontend/src/types/proto-es/v1/sql_service_pb.js b/frontend/src/types/proto-es/v1/sql_service_pb.js
index 059efdc8f4..bc68e2a411 100644
--- a/frontend/src/types/proto-es/v1/sql_service_pb.js
+++ b/frontend/src/types/proto-es/v1/sql_service_pb.js
@@ -15,7 +15,7 @@ import { file_v1_query_history_service } from "./query_history_service_pb";
* Describes the file v1/sql_service.proto.
*/
export const file_v1_sql_service = /*@__PURE__*/
- fileDesc("ChR2MS9zcWxfc2VydmljZS5wcm90bxILYnl0ZWJhc2UudjEiqgEKE0FkbWluRXhl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BvcnRSZXF1ZXN0GhsuYnl0ZWJhc2UudjEuRXhwb3J0UmVzcG9uc2UijwGK6jAQYmIuZGF0YWJhc2VzLmdldJDqMAGY6jABoOowAoLT5JMCaToBKlo5OgEqIjQvdjEve25hbWU9cHJvamVjdHMvKi9pbnN0YW5jZXMvKi9kYXRhYmFzZXMvKn06ZXhwb3J0IikvdjEve25hbWU9aW5zdGFuY2VzLyovZGF0YWJhc2VzLyp9OmV4cG9ydEKlAQoPY29tLmJ5dGViYXNlLnYxQg9TcWxTZXJ2aWNlUHJvdG9QAVo0Z2l0aHViLmNvbS9ieXRlYmFzZS9ieXRlYmFzZS9iYWNrZW5kL2dlbmVyYXRlZC1nby92MaICA0JYWKoCC0J5dGViYXNlLlYxygILQnl0ZWJhc2VcVjHiAhdCeXRlYmFzZVxWMVxHUEJNZXRhZGF0YeoCDEJ5dGViYXNlOjpWMWIGcHJvdG8z", [file_google_api_annotations, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_timestamp, file_v1_annotation, file_v1_common, file_v1_query_history_service]);
+ fileDesc("ChR2MS9zcWxfc2VydmljZS5wcm90bxILYnl0ZWJhc2UudjEiqgEKE0FkbWluRXhlY3V0ZVJlcXVlc3QSKwoEbmFtZRgBIAEoCUId4EEC+kEXChVieXRlYmFzZS5jb20vRGF0YWJhc2USEQoJc3RhdGVtZW50GAIgASgJEg0KBWxpbWl0GAMgASgFEhMKBnNjaGVtYRgEIAEoCUgAiAEBEhYKCWNvbnRhaW5lchgFIAEoCUgBiAEBQgkKB19zY2hlbWFCDAoKX2NvbnRhaW5lciJBChRBZG1pbkV4ZWN1dGVSZXNwb25zZRIpCgdyZXN1bHRzGAEgAygLMhguYnl0ZWJhc2UudjEuUXVlcnlSZXN1bHQi/AEKDFF1ZXJ5UmVxdWVzdBIrCgRuYW1lGAEgASgJQh3gQQL6QRcKFWJ5dGViYXNlLmNvbS9EYXRhYmFzZRIRCglzdGF0ZW1lbnQ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NvbS9ieXRlYmFzZS9ieXRlYmFzZS9iYWNrZW5kL2dlbmVyYXRlZC1nby92MaICA0JYWKoCC0J5dGViYXNlLlYxygILQnl0ZWJhc2VcVjHiAhdCeXRlYmFzZVxWMVxHUEJNZXRhZGF0YeoCDEJ5dGViYXNlOjpWMWIGcHJvdG8z", [file_google_api_annotations, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_timestamp, file_v1_annotation, file_v1_common, file_v1_query_history_service]);
/**
* Describes the message bytebase.v1.AdminExecuteRequest.
diff --git a/frontend/src/types/proto-es/v1/subscription_service_pb.d.ts b/frontend/src/types/proto-es/v1/subscription_service_pb.d.ts
index 96e83bd50a..17c3bc0216 100644
--- a/frontend/src/types/proto-es/v1/subscription_service_pb.d.ts
+++ b/frontend/src/types/proto-es/v1/subscription_service_pb.d.ts
@@ -1041,6 +1041,13 @@ export enum PlanFeature {
* @generated from enum value: FEATURE_DEDICATED_SUPPORT_WITH_SLA = 71;
*/
FEATURE_DEDICATED_SUPPORT_WITH_SLA = 71,
+
+ /**
+ * Upload exports to SharePoint.
+ *
+ * @generated from enum value: FEATURE_SHAREPOINT_EXPORT = 72;
+ */
+ FEATURE_SHAREPOINT_EXPORT = 72,
}
/**
diff --git a/frontend/src/types/proto-es/v1/subscription_service_pb.js b/frontend/src/types/proto-es/v1/subscription_service_pb.js
index 15dba829e5..924b8a3772 100644
--- a/frontend/src/types/proto-es/v1/subscription_service_pb.js
+++ b/frontend/src/types/proto-es/v1/subscription_service_pb.js
@@ -13,7 +13,7 @@ import { file_v1_annotation } from "./annotation_pb";
* Describes the file v1/subscription_service.proto.
*/
export const file_v1_subscription_service = /*@__PURE__*/
- fileDesc("Ch12MS9zdWJzY3JpcHRpb25fc2VydmljZS5wcm90bxILYnl0ZWJhc2UudjEiGAoWR2V0U3Vic2NyaXB0aW9uUmVxdWVzdCIfCh1FeHBvcnRWQ1NQcm92aWRlclVzZXJzUmVxdWVzdCI3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Y2hhc2VQbGFuc1Jlc3BvbnNlIiag6jAEqOowCYLT5JMCGBIWL3YxL3N1YnNjcmlwdGlvbi9wbGFuc0KuAQoPY29tLmJ5dGViYXNlLnYxQhhTdWJzY3JpcHRpb25TZXJ2aWNlUHJvdG9QAVo0Z2l0aHViLmNvbS9ieXRlYmFzZS9ieXRlYmFzZS9iYWNrZW5kL2dlbmVyYXRlZC1nby92MaICA0JYWKoCC0J5dGViYXNlLlYxygILQnl0ZWJhc2VcVjHiAhdCeXRlYmFzZVxWMVxHUEJNZXRhZGF0YeoCDEJ5dGViYXNlOjpWMWIGcHJvdG8z", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_protobuf_timestamp, file_v1_annotation]);
+ fileDesc("Ch12MS9zdWJzY3JpcHRpb25fc2VydmljZS5wcm90bxILYnl0ZWJhc2UudjEiGAoWR2V0U3Vic2NyaXB0aW9uUmVxdWVzdCIfCh1FeHBvcnRWQ1NQcm92aWRlclVzZXJzUmVxdWVzdCI3Ch5FeHBvcnRWQ1NQcm92aWRlclVzZXJzUmVzcG9uc2USFQoHY29udGVudBgBIAEoDEIE0OowAiItChRVcGxvYWRMaWNlbnNlUmVxdWVzdBIVCgdsaWNlbnNlGAEgASgJQgTQ6jABInsKFUNyZWF0ZVB1cmNoYXNlUmVxdWVzdBIjCgRwbGFuGAEgASgOMhUuYnl0ZWJhc2UudjEuUGxhblR5cGUSLgoIaW50ZXJ2YWwYAiABKA4yHC5ieXRlYmFzZS52MS5CaWxsaW5nSW50ZXJ2YWwSDQoFc2VhdHMYAyABKAUiRwoQUHVyY2hhc2VSZXNwb25zZRIZCgtwYXltZW50X3VybBgBIAEoCUIE0OowARIYCgpzZXNzaW9uX2lkGAIgASgJQgTQ6jABIjgKHFZlcmlmeUNoZWNrb3V0U2Vzc2lvblJlcXVlc3QSGAoKc2Vzc2lvbl9pZBgBIAEoCUIE0OowASIvCh1WZXJpZnlDaGVja291dFNlc3Npb25SZXNwb25zZRIOCgZzdGF0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dldFBheW1lbnRJbmZvEiIuYnl0ZWJhc2UudjEuR2V0UGF5bWVudEluZm9SZXF1ZXN0GhguYnl0ZWJhc2UudjEuUGF5bWVudEluZm8iSorqMBZiYi5zdWJzY3JpcHRpb24ubWFuYWdlkOowAaDqMASo6jAJgtPkkwIeEhwvdjEvc3Vic2NyaXB0aW9uL3BheW1lbnRJbmZvEssBChVWZXJpZnlDaGVja291dFNlc3Npb24SKS5ieXRlYmFzZS52MS5WZXJpZnlDaGVja291dFNlc3Npb25SZXF1ZXN0GiouYnl0ZWJhc2UudjEuVmVyaWZ5Q2hlY2tvdXRTZXNzaW9uUmVzcG9uc2UiW4rqMBZiYi5zdWJzY3JpcHRpb24ubWFuYWdlkOowAaDqMASo6jAJgtPkkwIvEi0vdjEvc3Vic2NyaXB0aW9uL2NoZWNrb3V0U2Vzc2lvbi97c2Vzc2lvbl9pZH0SigEKEUxpc3RQdXJjaGFzZVBsYW5zEiUuYnl0ZWJhc2UudjEuTGlzdFB1cmNoYXNlUGxhbnNSZXF1ZXN0GiYuYnl0ZWJhc2UudjEuTGlzdFB1cmNoYXNlUGxhbnNSZXNwb25zZSImoOowBKjqMAmC0+STAhgSFi92MS9zdWJzY3JpcHRpb24vcGxhbnNCrgEKD2NvbS5ieXRlYmFzZS52MUIYU3Vic2NyaXB0aW9uU2VydmljZVByb3RvUAFaNGdpdGh1Yi5jb20vYnl0ZWJhc2UvYnl0ZWJhc2UvYmFja2VuZC9nZW5lcmF0ZWQtZ28vdjGiAgNCWFiqAgtCeXRlYmFzZS5WMcoCC0J5dGViYXNlXFYx4gIXQnl0ZWJhc2VcVjFcR1BCTWV0YWRhdGHqAgxCeXRlYmFzZTo6VjFiBnByb3RvMw", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_protobuf_timestamp, file_v1_annotation]);
/**
* Describes the message bytebase.v1.GetSubscriptionRequest.
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index aa77113f8c..841b8593d5 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -4826,6 +4826,13 @@ paths:
description: |-
Container is the container name to execute the query against, used for
CosmosDB only.
+ destination:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.ExportDestination'
+ title: destination
+ description: |-
+ Where the export goes. A destination the workspace query data policy
+ does not allow is rejected with FAILED_PRECONDITION.
title: ExportRequest
additionalProperties: false
required: true
@@ -10149,6 +10156,13 @@ paths:
description: |-
Container is the container name to execute the query against, used for
CosmosDB only.
+ destination:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.ExportDestination'
+ title: destination
+ description: |-
+ Where the export goes. A destination the workspace query data policy
+ does not allow is rejected with FAILED_PRECONDITION.
title: ExportRequest
additionalProperties: false
required: true
@@ -20949,6 +20963,14 @@ components:
title: ExportAuditLogsResponse
additionalProperties: false
description: Response message for exporting audit logs.
+ bytebase.v1.ExportDestination:
+ type: string
+ title: ExportDestination
+ enum:
+ - EXPORT_DESTINATION_UNSPECIFIED
+ - DOWNLOAD
+ - SHAREPOINT
+ description: Where an export goes. Values are added as destinations are supported.
bytebase.v1.ExportFormat:
type: string
title: ExportFormat
@@ -21018,6 +21040,13 @@ components:
description: |-
Container is the container name to execute the query against, used for
CosmosDB only.
+ destination:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.ExportDestination'
+ title: destination
+ description: |-
+ Where the export goes. A destination the workspace query data policy
+ does not allow is rejected with FAILED_PRECONDITION.
title: ExportRequest
required:
- name
@@ -21037,8 +21066,26 @@ components:
The just-in-time access grant applied to this export, if any.
Format: projects/{project}/accessGrants/{accessGrant}.
Empty when the user was authorized through normal ACL rather than a grant.
+ uri:
+ type: string
+ title: uri
+ description: |-
+ Set when the export was sent to an export destination: the absolute
+ location of the folder or key prefix created for this export, for example
+ https://… for SharePoint or s3://bucket/prefix for S3. content is then empty.
title: ExportResponse
additionalProperties: false
+ bytebase.v1.ExportSetting:
+ type: object
+ properties:
+ sharepoint:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.SharePointSetting'
+ title: sharepoint
+ description: Unset when SharePoint is not configured.
+ title: ExportSetting
+ additionalProperties: false
+ description: ExportSetting holds each export destination provider's credentials.
bytebase.v1.ExportVCSProviderUsersRequest:
type: object
title: ExportVCSProviderUsersRequest
@@ -25638,6 +25685,7 @@ components:
- FEATURE_COMMUNITY_SUPPORT
- FEATURE_EMAIL_SUPPORT
- FEATURE_DEDICATED_SUPPORT_WITH_SLA
+ - FEATURE_SHAREPOINT_EXPORT
description: PlanFeature represents the available features in Bytebase
bytebase.v1.PlanLimitConfig:
type: object
@@ -26029,6 +26077,11 @@ components:
type: boolean
title: allow_last_plan_editor_approval
description: Whether to allow the last Plan editor to approve a database change issue.
+ exportSetting:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.Project.ExportSetting'
+ title: export_setting
+ description: Export configuration for this project.
title: Project
additionalProperties: false
bytebase.v1.Project.ExecutionRetryPolicy:
@@ -26042,6 +26095,17 @@ components:
title: ExecutionRetryPolicy
additionalProperties: false
description: Execution retry policy configuration.
+ bytebase.v1.Project.ExportSetting:
+ type: object
+ properties:
+ sharepoint:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.SharePointDestination'
+ title: sharepoint
+ description: Unset when the project has no SharePoint destination.
+ title: ExportSetting
+ additionalProperties: false
+ description: Destinations offered for this project's exports, at most one per provider.
bytebase.v1.PurchaseBillingMethod:
type: object
properties:
@@ -26178,6 +26242,13 @@ components:
If false,
1. when read-only data source is configured, users're force to use the read-only data source
2. otherwise fallback to use the admin data source.
+ disableDownload:
+ type: boolean
+ title: disable_download
+ description: |-
+ workspace-level policy
+ Disable the Download export destination. Exports can still go to a
+ configured storage destination such as SharePoint.
title: QueryDataPolicy
additionalProperties: false
description: QueryDataPolicy is the policy configuration for querying data in the SQL Editor.
@@ -28945,6 +29016,7 @@ components:
- ENVIRONMENT
- EMAIL
- MCP
+ - EXPORT
bytebase.v1.SettingValue:
type: object
anyOf:
@@ -28983,6 +29055,13 @@ components:
- $ref: '#/components/schemas/bytebase.v1.EnvironmentSetting'
title: environment
title: environment
+ - type: object
+ properties:
+ export:
+ allOf:
+ - $ref: '#/components/schemas/bytebase.v1.ExportSetting'
+ title: export
+ title: export
- type: object
properties:
mcp:
@@ -29025,6 +29104,8 @@ components:
- email
- required:
- environment
+ - required:
+ - export
- required:
- mcp
- required:
@@ -29045,6 +29126,8 @@ components:
- email
- required:
- environment
+ - required:
+ - export
- required:
- mcp
- required:
@@ -29055,6 +29138,45 @@ components:
- workspaceProfile
title: SettingValue
description: The data in setting value.
+ bytebase.v1.SharePointDestination:
+ type: object
+ properties:
+ url:
+ type: string
+ title: url
+ description: |-
+ The URL of the library root or folder. Normalized to its canonical form
+ and resolved with the workspace credentials on save.
+ title: SharePointDestination
+ additionalProperties: false
+ description: A SharePoint document library root or folder that receives exports.
+ bytebase.v1.SharePointSetting:
+ type: object
+ properties:
+ tenantId:
+ type: string
+ title: tenant_id
+ description: The Microsoft Entra tenant (directory) ID.
+ clientId:
+ type: string
+ title: client_id
+ description: The application (client) ID.
+ clientSecret:
+ type: string
+ title: client_secret
+ description: The client secret. It is never returned.
+ writeOnly: true
+ clientSecretSet:
+ type: boolean
+ title: client_secret_set
+ description: Whether a client secret is stored.
+ readOnly: true
+ title: SharePointSetting
+ additionalProperties: false
+ description: |-
+ SharePointSetting is the Microsoft Entra application that uploads exports to
+ SharePoint. It is granted access per library by the customer's SharePoint
+ administrators.
bytebase.v1.Sheet:
type: object
properties:
@@ -32790,10 +32912,15 @@ components:
enum:
- NULL_VALUE
description: |-
- `NullValue` is a singleton enumeration to represent the null value for the
- `Value` type union.
+ Represents a JSON `null`.
+
+ `NullValue` is a sentinel, using an enum with only one value to represent
+ the null value for the `Value` type union.
- The JSON representation for `NullValue` is JSON `null`.
+ A field of type `NullValue` with any value other than `0` is considered
+ invalid. Most ProtoJSON serializers will emit a `Value` with a `null_value`
+ set as a JSON `null` regardless of the integer value, and so will round trip
+ to a `0` value.
google.protobuf.Struct:
type: object
additionalProperties:
diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.md
index 1e5cebeb26..75b2d64910 100644
--- a/proto/gen/grpc-doc/store/README.md
+++ b/proto/gen/grpc-doc/store/README.md
@@ -182,7 +182,9 @@
- [Label](#bytebase-store-Label)
- [Project](#bytebase-store-Project)
- [Project.ExecutionRetryPolicy](#bytebase-store-Project-ExecutionRetryPolicy)
+ - [Project.ExportSetting](#bytebase-store-Project-ExportSetting)
- [Project.LabelsEntry](#bytebase-store-Project-LabelsEntry)
+ - [Project.SharePointDestination](#bytebase-store-Project-SharePointDestination)
- [store/project_webhook.proto](#store_project_webhook-proto)
- [Activity](#bytebase-store-Activity)
@@ -257,11 +259,13 @@
- [EnvironmentSetting](#bytebase-store-EnvironmentSetting)
- [EnvironmentSetting.Environment](#bytebase-store-EnvironmentSetting-Environment)
- [EnvironmentSetting.Environment.TagsEntry](#bytebase-store-EnvironmentSetting-Environment-TagsEntry)
+ - [ExportSetting](#bytebase-store-ExportSetting)
- [MCPSetting](#bytebase-store-MCPSetting)
- [SQLEditorThemeSetting](#bytebase-store-SQLEditorThemeSetting)
- [SQLEditorThemeSetting.TokensEntry](#bytebase-store-SQLEditorThemeSetting-TokensEntry)
- [SemanticTypeSetting](#bytebase-store-SemanticTypeSetting)
- [SemanticTypeSetting.SemanticType](#bytebase-store-SemanticTypeSetting-SemanticType)
+ - [SharePointSetting](#bytebase-store-SharePointSetting)
- [SystemSetting](#bytebase-store-SystemSetting)
- [WorkspaceApprovalSetting](#bytebase-store-WorkspaceApprovalSetting)
- [WorkspaceApprovalSetting.Rule](#bytebase-store-WorkspaceApprovalSetting-Rule)
@@ -2739,6 +2743,7 @@ QueryDataPolicy is the policy configuration for querying data in the SQL Editor.
| maximum_result_rows | [int32](#int32) | | Support both project-level and workspace-level. The maximum number of rows to return in the SQL editor. The default value &lt;= 0, means no limit. |
| disable_copy_data | [bool](#bool) | | workspace-level policy Disable copying data. |
| allow_admin_data_source | [bool](#bool) | | workspace-level policy Allow using the admin data source to query in the SQL editor. |
+| disable_download | [bool](#bool) | | workspace-level policy Disable the Download export destination. Exports can still go to a configured storage destination such as SharePoint. |
| disallow_ddl | [bool](#bool) | | ================ Deprecate following fields. Disallow running DDL statements in the SQL editor. |
| disallow_dml | [bool](#bool) | | Disallow running DML statements in the SQL editor. |
@@ -2918,6 +2923,7 @@ Project contains settings and configuration for a Bytebase project.
| data_classification_config_id | [string](#string) | | The data classification configuration ID for the project. |
| allow_just_in_time_access | [bool](#bool) | | Once enabled, users can request and use the just-in-time access in the SQL Editor. |
| allow_last_plan_editor_approval | [bool](#bool) | | Whether to allow the last Plan editor to approve a database change issue. |
+| export_setting | [Project.ExportSetting](#bytebase-store-Project-ExportSetting) | | Destinations offered for this project&#39;s exports. |
@@ -2939,6 +2945,21 @@ ExecutionRetryPolicy defines retry behavior for failed task executions.
+<a name="bytebase-store-Project-ExportSetting"></a>
+
+### Project.ExportSetting
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| sharepoint | [Project.SharePointDestination](#bytebase-store-Project-SharePointDestination) | | |
+
+
+
+
+
+
<a name="bytebase-store-Project-LabelsEntry"></a>
### Project.LabelsEntry
@@ -2954,6 +2975,21 @@ ExecutionRetryPolicy defines retry behavior for failed task executions.
+
+<a name="bytebase-store-Project-SharePointDestination"></a>
+
+### Project.SharePointDestination
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| url | [string](#string) | | The canonical URL of a SharePoint document library root or folder. |
+
+
+
+
+
@@ -4065,6 +4101,21 @@ All other settings live in per-workspace WORKSPACE_PROFILE.
+<a name="bytebase-store-ExportSetting"></a>
+
+### ExportSetting
+ExportSetting holds each export destination provider&#39;s credentials.
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| sharepoint | [SharePointSetting](#bytebase-store-SharePointSetting) | | |
+
+
+
+
+
+
<a name="bytebase-store-MCPSetting"></a>
### MCPSetting
@@ -4152,6 +4203,24 @@ sign-in configuration.
+<a name="bytebase-store-SharePointSetting"></a>
+
+### SharePointSetting
+SharePointSetting is the Microsoft Entra application that uploads exports to
+SharePoint.
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| tenant_id | [string](#string) | | |
+| client_id | [string](#string) | | |
+| client_secret | [string](#string) | | |
+
+
+
+
+
+
<a name="bytebase-store-SystemSetting"></a>
### SystemSetting
@@ -4394,6 +4463,7 @@ Capability is the ceiling: a session runs at this level or lower.
| ENVIRONMENT | 8 | |
| EMAIL | 9 | |
| MCP | 10 | |
+| EXPORT | 11 | |
diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.html
index b93beeda15..8f4a4f20aa 100644
--- a/proto/gen/grpc-doc/store/index.html
+++ b/proto/gen/grpc-doc/store/index.html
@@ -891,10 +891,18 @@
<a href="#bytebase.store.Project.ExecutionRetryPolicy"><span class="badge">M</span>Project.ExecutionRetryPolicy</a>
</li>
+ <li>
+ <a href="#bytebase.store.Project.ExportSetting"><span class="badge">M</span>Project.ExportSetting</a>
+ </li>
+
<li>
<a href="#bytebase.store.Project.LabelsEntry"><span class="badge">M</span>Project.LabelsEntry</a>
</li>
+ <li>
+ <a href="#bytebase.store.Project.SharePointDestination"><span class="badge">M</span>Project.SharePointDestination</a>
+ </li>
+
@@ -1209,6 +1217,10 @@
<a href="#bytebase.store.EnvironmentSetting.Environment.TagsEntry"><span class="badge">M</span>EnvironmentSetting.Environment.TagsEntry</a>
</li>
+ <li>
+ <a href="#bytebase.store.ExportSetting"><span class="badge">M</span>ExportSetting</a>
+ </li>
+
<li>
<a href="#bytebase.store.MCPSetting"><span class="badge">M</span>MCPSetting</a>
</li>
@@ -1229,6 +1241,10 @@
<a href="#bytebase.store.SemanticTypeSetting.SemanticType"><span class="badge">M</span>SemanticTypeSetting.SemanticType</a>
</li>
+ <li>
+ <a href="#bytebase.store.SharePointSetting"><span class="badge">M</span>SharePointSetting</a>
+ </li>
+
<li>
<a href="#bytebase.store.SystemSetting"><span class="badge">M</span>SystemSetting</a>
</li>
@@ -7465,6 +7481,15 @@ Disable copying data. </p></td>
Allow using the admin data source to query in the SQL editor. </p></td>
</tr>
+ <tr>
+ <td>disable_download</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p>workspace-level policy
+Disable the Download export destination. Exports can still go to a
+configured storage destination such as SharePoint. </p></td>
+ </tr>
+
<tr>
<td>disallow_ddl</td>
<td><a href="#bool">bool</a></td>
@@ -7902,6 +7927,13 @@ If enabled, issues cannot be created when SQL review finds errors. </p></td>
<td><p>Whether to allow the last Plan editor to approve a database change issue. </p></td>
</tr>
+ <tr>
+ <td>export_setting</td>
+ <td><a href="#bytebase.store.Project.ExportSetting">Project.ExportSetting</a></td>
+ <td></td>
+ <td><p>Destinations offered for this project&#39;s exports. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -7933,6 +7965,30 @@ If enabled, issues cannot be created when SQL review finds errors. </p></td>
+ <h3 id="bytebase.store.Project.ExportSetting">Project.ExportSetting</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>sharepoint</td>
+ <td><a href="#bytebase.store.Project.SharePointDestination">Project.SharePointDestination</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.store.Project.LabelsEntry">Project.LabelsEntry</h3>
<p></p>
@@ -7964,6 +8020,30 @@ If enabled, issues cannot be created when SQL review finds errors. </p></td>
+ <h3 id="bytebase.store.Project.SharePointDestination">Project.SharePointDestination</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>url</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The canonical URL of a SharePoint document library root or folder. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
@@ -10600,6 +10680,30 @@ are /[a-z][0-9]-/. </p></td>
+ <h3 id="bytebase.store.ExportSetting">ExportSetting</h3>
+ <p>ExportSetting holds each export destination provider's credentials.</p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>sharepoint</td>
+ <td><a href="#bytebase.store.SharePointSetting">SharePointSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.store.MCPSetting">MCPSetting</h3>
<p>MCPSetting is what an MCP (Model Context Protocol) session may do in this</p><p>workspace. It is its own setting rather than a field of the workspace profile</p><p>because the set grows, and because the /mcp kill switch reads it on every</p><p>request and should not share a row — or a parse failure — with branding and</p><p>sign-in configuration.</p>
@@ -10781,6 +10885,44 @@ it only reads. </p></td>
+ <h3 id="bytebase.store.SharePointSetting">SharePointSetting</h3>
+ <p>SharePointSetting is the Microsoft Entra application that uploads exports to</p><p>SharePoint.</p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>tenant_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>client_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>client_secret</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.store.SystemSetting">SystemSetting</h3>
<p></p>
@@ -11477,6 +11619,12 @@ frontend-only concept that seeds these colors; the store only holds them. </p></
<td><p></p></td>
</tr>
+ <tr>
+ <td>EXPORT</td>
+ <td>11</td>
+ <td><p></p></td>
+ </tr>
+
</tbody>
</table>
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 63cf4eb1bd..33b6c46e57 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -39,6 +39,7 @@
- [ApprovalStatus](#bytebase-v1-ApprovalStatus)
- [Engine](#bytebase-v1-Engine)
+ - [ExportDestination](#bytebase-v1-ExportDestination)
- [ExportFormat](#bytebase-v1-ExportFormat)
- [IssueStatus](#bytebase-v1-IssueStatus)
- [RiskLevel](#bytebase-v1-RiskLevel)
@@ -245,6 +246,7 @@
- [EnvironmentSetting](#bytebase-v1-EnvironmentSetting)
- [EnvironmentSetting.Environment](#bytebase-v1-EnvironmentSetting-Environment)
- [EnvironmentSetting.Environment.TagsEntry](#bytebase-v1-EnvironmentSetting-Environment-TagsEntry)
+ - [ExportSetting](#bytebase-v1-ExportSetting)
- [GetSettingRequest](#bytebase-v1-GetSettingRequest)
- [GetSettingResponse](#bytebase-v1-GetSettingResponse)
- [ListSettingsRequest](#bytebase-v1-ListSettingsRequest)
@@ -256,6 +258,7 @@
- [SemanticTypeSetting.SemanticType](#bytebase-v1-SemanticTypeSetting-SemanticType)
- [Setting](#bytebase-v1-Setting)
- [SettingValue](#bytebase-v1-SettingValue)
+ - [SharePointSetting](#bytebase-v1-SharePointSetting)
- [TestEmailSettingRequest](#bytebase-v1-TestEmailSettingRequest)
- [TestEmailSettingResponse](#bytebase-v1-TestEmailSettingResponse)
- [UpdateSettingRequest](#bytebase-v1-UpdateSettingRequest)
@@ -630,10 +633,12 @@
- [ListProjectsResponse](#bytebase-v1-ListProjectsResponse)
- [Project](#bytebase-v1-Project)
- [Project.ExecutionRetryPolicy](#bytebase-v1-Project-ExecutionRetryPolicy)
+ - [Project.ExportSetting](#bytebase-v1-Project-ExportSetting)
- [Project.LabelsEntry](#bytebase-v1-Project-LabelsEntry)
- [RemoveWebhookRequest](#bytebase-v1-RemoveWebhookRequest)
- [SearchProjectsRequest](#bytebase-v1-SearchProjectsRequest)
- [SearchProjectsResponse](#bytebase-v1-SearchProjectsResponse)
+ - [SharePointDestination](#bytebase-v1-SharePointDestination)
- [TestWebhookRequest](#bytebase-v1-TestWebhookRequest)
- [TestWebhookResponse](#bytebase-v1-TestWebhookResponse)
- [UndeleteProjectRequest](#bytebase-v1-UndeleteProjectRequest)
@@ -1289,6 +1294,19 @@ Database engine type.
+<a name="bytebase-v1-ExportDestination"></a>
+
+### ExportDestination
+Where an export goes. Values are added as destinations are supported.
+
+| Name | Number | Description |
+| ---- | ------ | ----------- |
+| EXPORT_DESTINATION_UNSPECIFIED | 0 | Treated as DOWNLOAD. |
+| DOWNLOAD | 1 | Return the export in the response. |
+| SHAREPOINT | 2 | Upload the export to the project&#39;s SharePoint export destination. |
+
+
+
<a name="bytebase-v1-ExportFormat"></a>
### ExportFormat
@@ -2525,6 +2543,7 @@ QueryHistoryService manages query history records of SQL Editor queries and expo
| data_source_id | [string](#string) | | The id of data source. If omitted, Export resolves the data source server-side by using the single read-only data source when exactly one exists, or the admin data source otherwise. It can also be set explicitly to export from the admin data source or a specific read-only data source. |
| schema | [string](#string) | optional | The default schema to search objects. Equals to the current schema in Oracle and search path in Postgres. |
| container | [string](#string) | optional | Container is the container name to execute the query against, used for CosmosDB only. |
+| destination | [ExportDestination](#bytebase-v1-ExportDestination) | | Where the export goes. A destination the workspace query data policy does not allow is rejected with FAILED_PRECONDITION. |
@@ -2541,6 +2560,7 @@ QueryHistoryService manages query history records of SQL Editor queries and expo
| ----- | ---- | ----- | ----------- |
| content | [bytes](#bytes) | | The export file content. |
| applied_access_grant | [string](#string) | | The just-in-time access grant applied to this export, if any. Format: projects/{project}/accessGrants/{accessGrant}. Empty when the user was authorized through normal ACL rather than a grant. |
+| uri | [string](#string) | | Set when the export was sent to an export destination: the absolute location of the folder or key prefix created for this export, for example https://… for SharePoint or s3://bucket/prefix for S3. content is then empty. |
@@ -4577,6 +4597,21 @@ IssueService manages issues for tracking database changes and tasks.
+<a name="bytebase-v1-ExportSetting"></a>
+
+### ExportSetting
+ExportSetting holds each export destination provider&#39;s credentials.
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| sharepoint | [SharePointSetting](#bytebase-v1-SharePointSetting) | | Unset when SharePoint is not configured. |
+
+
+
+
+
+
<a name="bytebase-v1-GetSettingRequest"></a>
### GetSettingRequest
@@ -4749,6 +4784,27 @@ The data in setting value.
| environment | [EnvironmentSetting](#bytebase-v1-EnvironmentSetting) | | |
| email | [EmailSetting](#bytebase-v1-EmailSetting) | | |
| mcp | [MCPSetting](#bytebase-v1-MCPSetting) | | |
+| export | [ExportSetting](#bytebase-v1-ExportSetting) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-SharePointSetting"></a>
+
+### SharePointSetting
+SharePointSetting is the Microsoft Entra application that uploads exports to
+SharePoint. It is granted access per library by the customer&#39;s SharePoint
+administrators.
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| tenant_id | [string](#string) | | The Microsoft Entra tenant (directory) ID. |
+| client_id | [string](#string) | | The application (client) ID. |
+| client_secret | [string](#string) | | The client secret. It is never returned. |
+| client_secret_set | [bool](#bool) | | Whether a client secret is stored. |
@@ -5022,6 +5078,7 @@ value.mcp.capability out of the update mask, is rejected.
| ENVIRONMENT | 7 | |
| EMAIL | 8 | |
| MCP | 9 | |
+| EXPORT | 10 | |
@@ -10079,6 +10136,7 @@ QueryDataPolicy is the policy configuration for querying data in the SQL Editor.
| disable_export | [bool](#bool) | | **Deprecated.** Deprecated: export is controlled by the bb.sql.export permission. Always false; setting it to true is rejected. |
| disable_copy_data | [bool](#bool) | | workspace-level policy Disable copying query results in the SQL editor. |
| allow_admin_data_source | [bool](#bool) | | workspace-level policy Allow using the admin data source to query in the SQL editor. If true, users can select the admin data source or read-only data source If false, 1. when read-only data source is configured, users&#39;re force to use the read-only data source 2. otherwise fallback to use the admin data source. |
+| disable_download | [bool](#bool) | | workspace-level policy Disable the Download export destination. Exports can still go to a configured storage destination such as SharePoint. |
@@ -10459,6 +10517,7 @@ When paginating, all other parameters provided to `ListProjects` must match the
| allow_request_role | [bool](#bool) | | |
| allow_just_in_time_access | [bool](#bool) | | Once enabled, users can request and use the just-in-time access in the SQL Editor. |
| allow_last_plan_editor_approval | [bool](#bool) | | Whether to allow the last Plan editor to approve a database change issue. |
+| export_setting | [Project.ExportSetting](#bytebase-v1-Project-ExportSetting) | | Export configuration for this project. |
@@ -10480,6 +10539,21 @@ Execution retry policy configuration.
+<a name="bytebase-v1-Project-ExportSetting"></a>
+
+### Project.ExportSetting
+Destinations offered for this project&#39;s exports, at most one per provider.
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| sharepoint | [SharePointDestination](#bytebase-v1-SharePointDestination) | | Unset when the project has no SharePoint destination. |
+
+
+
+
+
+
<a name="bytebase-v1-Project-LabelsEntry"></a>
### Project.LabelsEntry
@@ -10552,6 +10626,21 @@ When paginating, all other parameters provided to `SearchProjects` must match th
+<a name="bytebase-v1-SharePointDestination"></a>
+
+### SharePointDestination
+A SharePoint document library root or folder that receives exports.
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| url | [string](#string) | | The URL of the library root or folder. Normalized to its canonical form and resolved with the workspace credentials on save. |
+
+
+
+
+
+
<a name="bytebase-v1-TestWebhookRequest"></a>
### TestWebhookRequest
@@ -12847,6 +12936,7 @@ PlanFeature represents the available features in Bytebase
| FEATURE_COMMUNITY_SUPPORT | 69 | |
| FEATURE_EMAIL_SUPPORT | 70 | |
| FEATURE_DEDICATED_SUPPORT_WITH_SLA | 71 | |
+| FEATURE_SHAREPOINT_EXPORT | 72 | Upload exports to SharePoint. |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index 31418e6e87..b76f1a0f8e 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -309,6 +309,10 @@
<a href="#bytebase.v1.Engine"><span class="badge">E</span>Engine</a>
</li>
+ <li>
+ <a href="#bytebase.v1.ExportDestination"><span class="badge">E</span>ExportDestination</a>
+ </li>
+
<li>
<a href="#bytebase.v1.ExportFormat"><span class="badge">E</span>ExportFormat</a>
</li>
@@ -1113,6 +1117,10 @@
<a href="#bytebase.v1.EnvironmentSetting.Environment.TagsEntry"><span class="badge">M</span>EnvironmentSetting.Environment.TagsEntry</a>
</li>
+ <li>
+ <a href="#bytebase.v1.ExportSetting"><span class="badge">M</span>ExportSetting</a>
+ </li>
+
<li>
<a href="#bytebase.v1.GetSettingRequest"><span class="badge">M</span>GetSettingRequest</a>
</li>
@@ -1157,6 +1165,10 @@
<a href="#bytebase.v1.SettingValue"><span class="badge">M</span>SettingValue</a>
</li>
+ <li>
+ <a href="#bytebase.v1.SharePointSetting"><span class="badge">M</span>SharePointSetting</a>
+ </li>
+
<li>
<a href="#bytebase.v1.TestEmailSettingRequest"><span class="badge">M</span>TestEmailSettingRequest</a>
</li>
@@ -2592,6 +2604,10 @@
<a href="#bytebase.v1.Project.ExecutionRetryPolicy"><span class="badge">M</span>Project.ExecutionRetryPolicy</a>
</li>
+ <li>
+ <a href="#bytebase.v1.Project.ExportSetting"><span class="badge">M</span>Project.ExportSetting</a>
+ </li>
+
<li>
<a href="#bytebase.v1.Project.LabelsEntry"><span class="badge">M</span>Project.LabelsEntry</a>
</li>
@@ -2608,6 +2624,10 @@
<a href="#bytebase.v1.SearchProjectsResponse"><span class="badge">M</span>SearchProjectsResponse</a>
</li>
+ <li>
+ <a href="#bytebase.v1.SharePointDestination"><span class="badge">M</span>SharePointDestination</a>
+ </li>
+
<li>
<a href="#bytebase.v1.TestWebhookRequest"><span class="badge">M</span>TestWebhookRequest</a>
</li>
@@ -4622,6 +4642,35 @@ Examples:
</tbody>
</table>
+ <h3 id="bytebase.v1.ExportDestination">ExportDestination</h3>
+ <p>Where an export goes. Values are added as destinations are supported.</p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>EXPORT_DESTINATION_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p>Treated as DOWNLOAD.</p></td>
+ </tr>
+
+ <tr>
+ <td>DOWNLOAD</td>
+ <td>1</td>
+ <td><p>Return the export in the response.</p></td>
+ </tr>
+
+ <tr>
+ <td>SHAREPOINT</td>
+ <td>2</td>
+ <td><p>Upload the export to the project&#39;s SharePoint export destination.</p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
<h3 id="bytebase.v1.ExportFormat">ExportFormat</h3>
<p>Data export format.</p>
<table class="enum-table">
@@ -8001,6 +8050,14 @@ Oracle and search path in Postgres. </p></td>
CosmosDB only. </p></td>
</tr>
+ <tr>
+ <td>destination</td>
+ <td><a href="#bytebase.v1.ExportDestination">ExportDestination</a></td>
+ <td></td>
+ <td><p>Where the export goes. A destination the workspace query data policy
+does not allow is rejected with FAILED_PRECONDITION. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -8034,6 +8091,15 @@ Format: projects/{project}/accessGrants/{accessGrant}.
Empty when the user was authorized through normal ACL rather than a grant. </p></td>
</tr>
+ <tr>
+ <td>uri</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>Set when the export was sent to an export destination: the absolute
+location of the folder or key prefix created for this export, for example
+https://… for SharePoint or s3://bucket/prefix for S3. content is then empty. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -13526,6 +13592,30 @@ are /[a-z][0-9]-/. </p></td>
+ <h3 id="bytebase.v1.ExportSetting">ExportSetting</h3>
+ <p>ExportSetting holds each export destination provider's credentials.</p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>sharepoint</td>
+ <td><a href="#bytebase.v1.SharePointSetting">SharePointSetting</a></td>
+ <td></td>
+ <td><p>Unset when SharePoint is not configured. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.v1.GetSettingRequest">GetSettingRequest</h3>
<p>The request message for getting a setting.</p>
@@ -13892,6 +13982,58 @@ Example: &#34;settings/SEMANTIC_TYPES&#34; </p></td>
<td><p> </p></td>
</tr>
+ <tr>
+ <td>export</td>
+ <td><a href="#bytebase.v1.ExportSetting">ExportSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.SharePointSetting">SharePointSetting</h3>
+ <p>SharePointSetting is the Microsoft Entra application that uploads exports to</p><p>SharePoint. It is granted access per library by the customer's SharePoint</p><p>administrators.</p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>tenant_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The Microsoft Entra tenant (directory) ID. </p></td>
+ </tr>
+
+ <tr>
+ <td>client_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The application (client) ID. </p></td>
+ </tr>
+
+ <tr>
+ <td>client_secret</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The client secret. It is never returned. </p></td>
+ </tr>
+
+ <tr>
+ <td>client_secret_set</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p>Whether a client secret is stored. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -14670,6 +14812,12 @@ database session is opened read-only as well.</p></td>
<td><p></p></td>
</tr>
+ <tr>
+ <td>EXPORT</td>
+ <td>10</td>
+ <td><p></p></td>
+ </tr>
+
</tbody>
</table>
@@ -28790,6 +28938,15 @@ If false,
2. otherwise fallback to use the admin data source. </p></td>
</tr>
+ <tr>
+ <td>disable_download</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p>workspace-level policy
+Disable the Download export destination. Exports can still go to a
+configured storage destination such as SharePoint. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -29809,6 +29966,13 @@ If enabled, issues cannot be created when SQL review finds errors. </p></td>
<td><p>Whether to allow the last Plan editor to approve a database change issue. </p></td>
</tr>
+ <tr>
+ <td>export_setting</td>
+ <td><a href="#bytebase.v1.Project.ExportSetting">Project.ExportSetting</a></td>
+ <td></td>
+ <td><p>Export configuration for this project. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -29840,6 +30004,30 @@ If enabled, issues cannot be created when SQL review finds errors. </p></td>
+ <h3 id="bytebase.v1.Project.ExportSetting">Project.ExportSetting</h3>
+ <p>Destinations offered for this project's exports, at most one per provider.</p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>sharepoint</td>
+ <td><a href="#bytebase.v1.SharePointDestination">SharePointDestination</a></td>
+ <td></td>
+ <td><p>Unset when the project has no SharePoint destination. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.v1.Project.LabelsEntry">Project.LabelsEntry</h3>
<p></p>
@@ -30014,6 +30202,31 @@ If this field is omitted, there are no subsequent pages. </p></td>
+ <h3 id="bytebase.v1.SharePointDestination">SharePointDestination</h3>
+ <p>A SharePoint document library root or folder that receives exports.</p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>url</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The URL of the library root or folder. Normalized to its canonical form
+and resolved with the workspace credentials on save. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.v1.TestWebhookRequest">TestWebhookRequest</h3>
<p></p>
@@ -36530,6 +36743,12 @@ the response that produced it was redacted. </p></td>
<td><p></p></td>
</tr>
+ <tr>
+ <td>FEATURE_SHAREPOINT_EXPORT</td>
+ <td>72</td>
+ <td><p>Upload exports to SharePoint.</p></td>
+ </tr>
+
</tbody>
</table>
diff --git a/proto/store/store/policy.proto b/proto/store/store/policy.proto
index 8a3d460814..ba80255b59 100644
--- a/proto/store/store/policy.proto
+++ b/proto/store/store/policy.proto
@@ -137,6 +137,11 @@ message QueryDataPolicy {
// Allow using the admin data source to query in the SQL editor.
bool allow_admin_data_source = 9;
+ // workspace-level policy
+ // Disable the Download export destination. Exports can still go to a
+ // configured storage destination such as SharePoint.
+ bool disable_download = 10;
+
// ================
// Deprecate following fields.
// Disallow running DDL statements in the SQL editor.
diff --git a/proto/store/store/project.proto b/proto/store/store/project.proto
index 9bfb10d7b9..cf2c704565 100644
--- a/proto/store/store/project.proto
+++ b/proto/store/store/project.proto
@@ -75,4 +75,16 @@ message Project {
// Whether to allow the last Plan editor to approve a database change issue.
bool allow_last_plan_editor_approval = 20;
+
+ // Destinations offered for this project's exports.
+ ExportSetting export_setting = 21;
+
+ message ExportSetting {
+ SharePointDestination sharepoint = 1;
+ }
+
+ message SharePointDestination {
+ // The canonical URL of a SharePoint document library root or folder.
+ string url = 1;
+ }
}
diff --git a/proto/store/store/setting.proto b/proto/store/store/setting.proto
index 7d8c1ae025..643b09208b 100644
--- a/proto/store/store/setting.proto
+++ b/proto/store/store/setting.proto
@@ -23,6 +23,20 @@ enum SettingName {
ENVIRONMENT = 8;
EMAIL = 9;
MCP = 10;
+ EXPORT = 11;
+}
+
+// ExportSetting holds each export destination provider's credentials.
+message ExportSetting {
+ SharePointSetting sharepoint = 1;
+}
+
+// SharePointSetting is the Microsoft Entra application that uploads exports to
+// SharePoint.
+message SharePointSetting {
+ string tenant_id = 1;
+ string client_id = 2;
+ string client_secret = 3;
}
message SystemSetting {
diff --git a/proto/v1/v1/common.proto b/proto/v1/v1/common.proto
index 25fbfdb2b6..5690eb7705 100644
--- a/proto/v1/v1/common.proto
+++ b/proto/v1/v1/common.proto
@@ -269,3 +269,13 @@ message PermissionDeniedDetail {
// The resources the user was trying to access.
repeated string resources = 3;
}
+
+// Where an export goes. Values are added as destinations are supported.
+enum ExportDestination {
+ // Treated as DOWNLOAD.
+ EXPORT_DESTINATION_UNSPECIFIED = 0;
+ // Return the export in the response.
+ DOWNLOAD = 1;
+ // Upload the export to the project's SharePoint export destination.
+ SHAREPOINT = 2;
+}
diff --git a/proto/v1/v1/org_policy_service.proto b/proto/v1/v1/org_policy_service.proto
index a972ddb100..b1e66b28e5 100644
--- a/proto/v1/v1/org_policy_service.proto
+++ b/proto/v1/v1/org_policy_service.proto
@@ -313,6 +313,11 @@ message QueryDataPolicy {
// 1. when read-only data source is configured, users're force to use the read-only data source
// 2. otherwise fallback to use the admin data source.
bool allow_admin_data_source = 4;
+
+ // workspace-level policy
+ // Disable the Download export destination. Exports can still go to a
+ // configured storage destination such as SharePoint.
+ bool disable_download = 5;
}
// MaskingExemptionPolicy is the allowlist of users who can access sensitive data.
diff --git a/proto/v1/v1/project_service.proto b/proto/v1/v1/project_service.proto
index eb1e2b0bae..edf24c4064 100644
--- a/proto/v1/v1/project_service.proto
+++ b/proto/v1/v1/project_service.proto
@@ -495,6 +495,15 @@ message Project {
// Whether to allow the last Plan editor to approve a database change issue.
bool allow_last_plan_editor_approval = 24;
+
+ // Export configuration for this project.
+ ExportSetting export_setting = 25;
+
+ // Destinations offered for this project's exports, at most one per provider.
+ message ExportSetting {
+ // Unset when the project has no SharePoint destination.
+ SharePointDestination sharepoint = 1;
+ }
}
message AddWebhookRequest {
@@ -547,6 +556,13 @@ message TestWebhookResponse {
string error = 1;
}
+// A SharePoint document library root or folder that receives exports.
+message SharePointDestination {
+ // The URL of the library root or folder. Normalized to its canonical form
+ // and resolved with the workspace credentials on save.
+ string url = 1;
+}
+
message Webhook {
option (google.api.resource) = {
type: "bytebase.com/Webhook"
diff --git a/proto/v1/v1/setting_service.proto b/proto/v1/v1/setting_service.proto
index 9815daead9..c147078b74 100644
--- a/proto/v1/v1/setting_service.proto
+++ b/proto/v1/v1/setting_service.proto
@@ -121,6 +121,7 @@ message Setting {
ENVIRONMENT = 7;
EMAIL = 8;
MCP = 9;
+ EXPORT = 10;
}
// The resource name of the setting.
@@ -144,9 +145,36 @@ message SettingValue {
EnvironmentSetting environment = 7;
EmailSetting email = 8;
MCPSetting mcp = 9;
+ ExportSetting export = 10;
}
}
+// ExportSetting holds each export destination provider's credentials.
+message ExportSetting {
+ // Unset when SharePoint is not configured.
+ SharePointSetting sharepoint = 1;
+}
+
+// SharePointSetting is the Microsoft Entra application that uploads exports to
+// SharePoint. It is granted access per library by the customer's SharePoint
+// administrators.
+message SharePointSetting {
+ // The Microsoft Entra tenant (directory) ID.
+ string tenant_id = 1;
+
+ // The application (client) ID.
+ string client_id = 2;
+
+ // The client secret. It is never returned.
+ string client_secret = 3 [
+ (google.api.field_behavior) = INPUT_ONLY,
+ (bytebase.v1.audit_behavior) = SENSITIVE
+ ];
+
+ // Whether a client secret is stored.
+ bool client_secret_set = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
message AppIMSetting {
message Slack {
string token = 1 [
diff --git a/proto/v1/v1/sql_service.proto b/proto/v1/v1/sql_service.proto
index 1ea82669d9..00505f8231 100644
--- a/proto/v1/v1/sql_service.proto
+++ b/proto/v1/v1/sql_service.proto
@@ -496,6 +496,10 @@ message ExportRequest {
// Container is the container name to execute the query against, used for
// CosmosDB only.
optional string container = 9;
+
+ // Where the export goes. A destination the workspace query data policy
+ // does not allow is rejected with FAILED_PRECONDITION.
+ ExportDestination destination = 10;
}
message ExportResponse {
@@ -506,4 +510,9 @@ message ExportResponse {
// Format: projects/{project}/accessGrants/{accessGrant}.
// Empty when the user was authorized through normal ACL rather than a grant.
string applied_access_grant = 2;
+
+ // Set when the export was sent to an export destination: the absolute
+ // location of the folder or key prefix created for this export, for example
+ // https://… for SharePoint or s3://bucket/prefix for S3. content is then empty.
+ string uri = 3;
}
diff --git a/proto/v1/v1/subscription_service.proto b/proto/v1/v1/subscription_service.proto
index eb34a0f24c..23d633812e 100644
--- a/proto/v1/v1/subscription_service.proto
+++ b/proto/v1/v1/subscription_service.proto
@@ -371,6 +371,8 @@ enum PlanFeature {
FEATURE_COMMUNITY_SUPPORT = 69;
FEATURE_EMAIL_SUPPORT = 70;
FEATURE_DEDICATED_SUPPORT_WITH_SLA = 71;
+ // Upload exports to SharePoint.
+ FEATURE_SHAREPOINT_EXPORT = 72;
}
// PlanConfig represents the configuration for all plans loaded from plan.yaml