Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UIbuilderStore ¶
type UIbuilderStore interface { UpsertPage(ctx context.Context, page models.UIPage) error DeletePage(ctx context.Context, accountId, projectTag, pageName string) error ListPages(ctx context.Context, accountId, projectTag string) ([]string, error) ListAllPagesOfUser(ctx context.Context, accountId string) ([]string, error) GetPage(ctx context.Context, accountId, projectTag, pageName string) (models.UIPage, error) SetPageStatus(ctx context.Context, accountId, projectTag, pageName, status string, published, previewed bool) error GetUiInfrastructure(ctx context.Context, accountId, projectTag string) (models.UiInfrastructure, error) UpsertUiInfrastructure(ctx context.Context, uiInfra models.UiInfrastructure) error GetExportablePageByProjectName(ctx context.Context, accountId, projectName string) ([]models.ExportableUIPage, error) // This function deletes all the pages of a project DeleteAllPages(ctx context.Context, accountId, projectTag string) error UpsertGlobalStates(ctx context.Context, globalState models.GlobalState) error GetGlobalStates(ctx context.Context, accountId, projectName string) (globalState models.GlobalState, err error) AddPageHistory(ctx context.Context, pageHistory models.UIPageHistory) error GetPageHistory(ctx context.Context, accountId, projectTag, pageName string) ([]models.UIPageHistory, error) }
func New ¶
func New(db *db.DB) UIbuilderStore
Source Files ¶
- add_page_history.go
- delete_all_pages.go
- delete_page.go
- get_exportable_page_by_project_name.go
- get_global_states.go
- get_page.go
- get_page_history.go
- get_ui_infrastructure.go
- list_all_pages_of_user.go
- list_pages.go
- set_page_status.go
- uibuilder_store.go
- upsert_global_states.go
- upsert_page.go
- upsert_ui_infrastructure.go
Click to show internal directories.
Click to hide internal directories.