Mono repo -> Master (#22553)
Combines the following repositories into one: https://github.com/mattermost/mattermost-server https://github.com/mattermost/mattermost-webapp https://github.com/mattermost/focalboard https://github.com/mattermost/mattermost-plugin-playbooks
Этот коммит содержится в:
27
server/boards/model/cloud.go
Обычный файл
27
server/boards/model/cloud.go
Обычный файл
@@ -0,0 +1,27 @@
|
||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
||||
// See LICENSE.txt for license information.
|
||||
|
||||
package model
|
||||
|
||||
const LimitUnlimited = 0
|
||||
|
||||
// BoardsCloudLimits is the representation of the limits for the
|
||||
// Boards server
|
||||
// swagger:model
|
||||
type BoardsCloudLimits struct {
|
||||
// The maximum number of cards on the server
|
||||
// required: true
|
||||
Cards int `json:"cards"`
|
||||
|
||||
// The current number of cards on the server
|
||||
// required: true
|
||||
UsedCards int `json:"used_cards"`
|
||||
|
||||
// The updated_at timestamp of the limit card
|
||||
// required: true
|
||||
CardLimitTimestamp int64 `json:"card_limit_timestamp"`
|
||||
|
||||
// The maximum number of views for each board
|
||||
// required: true
|
||||
Views int `json:"views"`
|
||||
}
|
||||
Ссылка в новой задаче
Block a user