Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

1.2 KB
Raw Blame
// SiYuan - https://github.com/siyuan-note/siyuan
// Copyright (c) 2020-present, b3log.org
// SPDX-License-Identifier: AGPL-3.0-or-later

package apicontract

type CloudReminderRequest struct {
	ID      string `json:"id"`
	Timed   string `json:"timed"`
	Content string `json:"content"`
}

type CloudBackup struct {
	Size    int64  `json:"size"`
	HSize   string `json:"hSize"`
	Updated string `json:"updated"`
	SaveDir string `json:"saveDir"`
}

type CloudSync struct {
	Size      int64  `json:"size"`
	HSize     string `json:"hSize"`
	Updated   string `json:"updated"`
	CloudName string `json:"cloudName"`
	SaveDir   string `json:"saveDir"`
}

type CloudSpaceData struct {
	Sync                 *CloudSync   `json:"sync"`
	Backup               *CloudBackup `json:"backup"`
	HAssetSize           string       `json:"hAssetSize"`
	HSize                string       `json:"hSize"`
	HTotalSize           string       `json:"hTotalSize"`
	HExchangeSize        string       `json:"hExchangeSize"`
	HTrafficUploadSize   string       `json:"hTrafficUploadSize"`
	HTrafficDownloadSize string       `json:"hTrafficDownloadSize"`
	HTrafficAPIGet       string       `json:"hTrafficAPIGet"`
	HTrafficAPIPut       string       `json:"hTrafficAPIPut"`
}