document

package
v1.0.0-main.54 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChapterValues

type ChapterValues struct {
	Name      string          `firestore:"name"`
	Sections  []SectionValues `firestore:"sections"`
	CreatedAt time.Time       `firestore:"createdAt"`
	UpdatedAt time.Time       `firestore:"updatedAt"`
}

type GraphChildValues

type GraphChildValues struct {
	Name       string             `firestore:"name"`
	Relation   string             `firestore:"relation"`
	Descrition string             `firestore:"description"`
	Children   []GraphChildValues `firestore:"children"`
}

type GraphValues

type GraphValues struct {
	Paragraph string             `firestore:"paragraph"`
	Children  []GraphChildValues `firestore:"children"`
	CreatedAt time.Time          `firestore:"createdAt"`
	UpdatedAt time.Time          `firestore:"updatedAt"`
}

type PaperValues

type PaperValues struct {
	Content   string    `firestore:"content"`
	CreatedAt time.Time `firestore:"createdAt"`
	UpdatedAt time.Time `firestore:"updatedAt"`
}

type ProjectValues

type ProjectValues struct {
	Name        string    `firestore:"name"`
	Description string    `firestore:"description,omitempty"`
	ChapterIds  []string  `firestore:"chapterIds,omitempty"`
	UserId      string    `firestore:"userId"`
	CreatedAt   time.Time `firestore:"createdAt"`
	UpdatedAt   time.Time `firestore:"updatedAt"`
}

type SectionValues

type SectionValues struct {
	Id   string `firestore:"id"`
	Name string `firestore:"name"`
}

Jump to

Keyboard shortcuts

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