mirror of
https://github.com/usememos/memos.git
synced 2024-11-11 17:28:12 +08:00
66e65e4dc1
* refactor: user api v1 * refactor: system setting to apiv1 * chore: remove unused definition * chore: update * chore: refactor: system setting * chore: update * refactor: migrate tag * feat: migrate activity store * refactor: migrate shortcut apiv1 * chore: update
18 lines
353 B
Go
18 lines
353 B
Go
package v1
|
|
|
|
// UnknownID is the ID for unknowns.
|
|
const UnknownID = -1
|
|
|
|
// RowStatus is the status for a row.
|
|
type RowStatus string
|
|
|
|
const (
|
|
// Normal is the status for a normal row.
|
|
Normal RowStatus = "NORMAL"
|
|
// Archived is the status for an archived row.
|
|
Archived RowStatus = "ARCHIVED"
|
|
)
|
|
|
|
func (r RowStatus) String() string {
|
|
return string(r)
|
|
}
|