Not released yet. PeltyCMS is under development and not released yet; these docs describe the upcoming release and may change.
PeltyCMS Developer docs
User docsDevelopers
v0.1.0

Developer docs/Bundled addons

Event log (test fixture)

addons.desc.integration.eventlog This is a test fixture used by the integration tests; it is not offered in the marketplace.

FieldValue
Addon idintegration-eventlog
Kindintegration
Provideseventlog
Enginewasm
ABI0.2.0
Version0.1.0
AuthorMythicalSystems
Sourceextensions/addons/fixture-events
Permissions (shown at install)none

#Capabilities

CapabilityValue
eventsinvoice.*, fixture.ping
hooks[{"event":"invoice.before_create","priority":200}]
httpnone
kvtrue
secretsnone

#Events and hooks

WhatValue
Listens to (events)invoice.*, fixture.ping
Hooksinvoice.before_create
Emitsnone
Mixinsnone
Scheduled jobsnone

#Settings and secrets

SettingTypeRequired
tokensecretno

Secrets (stored encrypted, never returned by the API): none.

Outbound HTTP allowed to: none. $server is the hostname of the server configured for the product, $setting:<key> the host of that setting.

#addon.json

extensions/addons/fixture-events/addon.jsonJSON
{
  "abi": "0.2.0",
  "author": "MythicalSystems",
  "capabilities": {
    "events": [
      "invoice.*",
      "fixture.ping"
    ],
    "hooks": [
      {
        "event": "invoice.before_create",
        "priority": 200
      }
    ],
    "http": [],
    "kv": true,
    "secrets": []
  },
  "description": "addons.desc.integration.eventlog",
  "engine": "wasm",
  "id": "integration-eventlog",
  "kind": "integration",
  "name": "Event log (test fixture)",
  "permissions": [],
  "provides": "eventlog",
  "settings": [
    {
      "key": "token",
      "kind": "secret",
      "label": "Token"
    }
  ],
  "version": "0.1.0",
  "wasm": "addon.wasm"
}