package
0.1.1-beta.2
Repository: https://github.com/digimakergo/digimaker.git
Documentation: pkg.go.dev

# Packages

Package handlers implements build-in action callbacks.

# Functions

CanLogin check if the username/email and password matches.
Copy data.
Create creates a content(same behavior as Draft&Publish but store published version directly).
CreateVersion creates a new version.It doesn't validate version number is increment.
Delete content by content id.
Delete content, relations and location.Note: this is only for when there is 1 location.
Delete content by location id.
enable or disable user(enable = false means disable)todo: create a user interface.
No description provided by the author
Generate name based on name_pattern from definition.
No description provided by the author
Get operation handler list based on rules defined in operation_handler.json/yamltarget is the real vaule the condition matches totarget should not include 'event' key since it's in the parameter already.
InvokeCallback invokes callbacks based on condition match resultsee content_handler.json/yaml for conditions.
Move moves contents to targetCheck delete&create permission.note: it dosn't check if target can create sub-children(only check if it can create direct children).
No description provided by the author
No description provided by the author
No description provided by the author
Update content.The inputs doesn't need to include all required fields.
No description provided by the author
No description provided by the author
No description provided by the author
Validate validates and returns a validation result.

# Variables

No description provided by the author

# Structs

Callback struct.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
todo: think it might be good to use "struct with callback method" instead of interface.This is a callback based on type.It's used for customzed content type.

# Type aliases

No description provided by the author