[MM-19948] Set version on module file and internal paths (#13186)
* [MM-19948] Set version on module file and internal paths * Fixes after merge * Fix i18n checker error
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
14bcd1f0a1
Коммит
2259b7f2a8
@@ -3,7 +3,7 @@
|
||||
|
||||
package einterfaces
|
||||
|
||||
import "github.com/mattermost/mattermost-server/model"
|
||||
import "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
type AccountMigrationInterface interface {
|
||||
MigrateToLdap(fromAuthService string, forignUserFieldNameToMatch string, force bool, dryRun bool) *model.AppError
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package einterfaces
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type ClusterMessageHandler func(msg *model.ClusterMessage)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package einterfaces
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type ComplianceInterface interface {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package einterfaces
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type DataRetentionInterface interface {
|
||||
|
||||
@@ -6,7 +6,7 @@ package einterfaces
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type ElasticsearchInterface interface {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package jobs
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type DataRetentionJobInterface interface {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package jobs
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type ElasticsearchIndexerInterface interface {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package jobs
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type LdapSyncInterface interface {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package jobs
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type MessageExportJobInterface interface {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package einterfaces
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type LdapInterface interface {
|
||||
|
||||
@@ -6,7 +6,7 @@ package einterfaces
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type MessageExportInterface interface {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package einterfaces
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type MfaInterface interface {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package mocks
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// AccountMigrationInterface is an autogenerated mock type for the AccountMigrationInterface type
|
||||
type AccountMigrationInterface struct {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
package mocks
|
||||
|
||||
import einterfaces "github.com/mattermost/mattermost-server/einterfaces"
|
||||
import einterfaces "github.com/mattermost/mattermost-server/v5/einterfaces"
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// ClusterInterface is an autogenerated mock type for the ClusterInterface type
|
||||
type ClusterInterface struct {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package mocks
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// ComplianceInterface is an autogenerated mock type for the ComplianceInterface type
|
||||
type ComplianceInterface struct {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package mocks
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// DataRetentionInterface is an autogenerated mock type for the DataRetentionInterface type
|
||||
type DataRetentionInterface struct {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package mocks
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// DataRetentionJobInterface is an autogenerated mock type for the DataRetentionJobInterface type
|
||||
type DataRetentionJobInterface struct {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package mocks
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// ElasticsearchAggregatorInterface is an autogenerated mock type for the ElasticsearchAggregatorInterface type
|
||||
type ElasticsearchAggregatorInterface struct {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package mocks
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// ElasticsearchIndexerInterface is an autogenerated mock type for the ElasticsearchIndexerInterface type
|
||||
type ElasticsearchIndexerInterface struct {
|
||||
|
||||
@@ -7,7 +7,7 @@ package mocks
|
||||
import (
|
||||
time "time"
|
||||
|
||||
model "github.com/mattermost/mattermost-server/model"
|
||||
model "github.com/mattermost/mattermost-server/v5/model"
|
||||
mock "github.com/stretchr/testify/mock"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package mocks
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// LdapInterface is an autogenerated mock type for the LdapInterface type
|
||||
type LdapInterface struct {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package mocks
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// LdapSyncInterface is an autogenerated mock type for the LdapSyncInterface type
|
||||
type LdapSyncInterface struct {
|
||||
|
||||
@@ -7,7 +7,7 @@ package mocks
|
||||
import context "context"
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// MessageExportInterface is an autogenerated mock type for the MessageExportInterface type
|
||||
type MessageExportInterface struct {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package mocks
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// MessageExportJobInterface is an autogenerated mock type for the MessageExportJobInterface type
|
||||
type MessageExportJobInterface struct {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package mocks
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// MfaInterface is an autogenerated mock type for the MfaInterface type
|
||||
type MfaInterface struct {
|
||||
|
||||
@@ -6,7 +6,7 @@ package mocks
|
||||
|
||||
import io "io"
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// OauthProvider is an autogenerated mock type for the OauthProvider type
|
||||
type OauthProvider struct {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
package mocks
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
import model "github.com/mattermost/mattermost-server/model"
|
||||
import model "github.com/mattermost/mattermost-server/v5/model"
|
||||
|
||||
// SamlInterface is an autogenerated mock type for the SamlInterface type
|
||||
type SamlInterface struct {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package einterfaces
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type NotificationInterface interface {
|
||||
|
||||
@@ -6,7 +6,7 @@ package einterfaces
|
||||
import (
|
||||
"io"
|
||||
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type OauthProvider interface {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package einterfaces
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
)
|
||||
|
||||
type SamlInterface interface {
|
||||
|
||||
Ссылка в новой задаче
Block a user