prosemirror

package
v0.0.0-...-8cc5058 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentAdd

type CommentAdd struct {
	DocumentVersionID string                 `json:"-"`
	ID                string                 `json:"id"`
	AuthorID          string                 `json:"authorId"`
	Message           string                 `json:"message"`
	Origin            string                 `json:"origin"`
	Done              *timestamp.Timestamp   `json:"done"`
	DoneBy            *nullstring.NullString `json:"doneBy"`
	Archived          *timestamp.Timestamp   `json:"archived"`
	ArchivedBy        *nullstring.NullString `json:"archivedBy"`
	Timestamp         *timestamp.Timestamp   `json:"timestamp"`
}

CommentAdd ...

type CommentDelete

type CommentDelete struct {
	ID        string              `json:"id"`
	UserID    string              `json:"userId"`
	Timestamp timestamp.Timestamp `json:"timestamp"`
}

CommentDelete ...

type CommentDeleteReply

type CommentDeleteReply struct {
	CommentID string              `json:"commentId"`
	ReplyID   string              `json:"replyId"`
	UserID    string              `json:"userId"`
	Timestamp timestamp.Timestamp `json:"timestamp"`
}

CommentDeleteReply ...

type CommentDone

type CommentDone struct {
	ID        string              `json:"id"`
	UserID    string              `json:"userId"`
	Timestamp timestamp.Timestamp `json:"done"`
}

CommentSetDone ...

type CommentReply

type CommentReply struct {
	ReplyID   string              `json:"id"`
	CommentID string              `json:"commentId"`
	AuthorID  string              `json:"authorId"`
	Message   string              `json:"message"`
	Timestamp timestamp.Timestamp `json:"timestamp"`
}

CommentReply ...

type ImageCopy

type ImageCopy struct {
	ImageID    string `json:"imageId"`    // id for the new image
	OriginalID string `json:"originalId"` // id of the original image
}

type Permission

type Permission int

Permission indicates the users permissions on a specific document

const (
	None Permission = iota
	Comment
	Edit
)

initialize available permissions

func (Permission) String

func (p Permission) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL