PSA/ee/docs/schemas/extension-manifest.v2.schema.json
Hermes 284313f908
Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Initial import of AlgaPSA codebase from PSA server
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz

Source: /opt/alga-psa on psa.joliet.tech
2026-06-22 16:12:17 -05:00

118 lines
3.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://alga.example.com/schemas/extension-manifest.v2.schema.json",
"title": "Alga Extension Manifest v2",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"publisher",
"version",
"runtime",
"ui"
],
"properties": {
"name": { "type": "string", "minLength": 1 },
"publisher": { "type": "string", "minLength": 1 },
"version": { "type": "string", "minLength": 1 },
"runtime": { "type": "string", "enum": ["wasm-js@1"] },
"capabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"http.fetch",
"storage.kv",
"secrets.get",
"events.emit",
"events.subscribe",
"log",
"metrics"
]
},
"uniqueItems": true,
"default": []
},
"ui": {
"type": "object",
"additionalProperties": false,
"required": ["type", "entry"],
"properties": {
"type": { "type": "string", "enum": ["iframe"] },
"entry": { "type": "string", "minLength": 1 },
"hooks": {
"type": "object",
"additionalProperties": true,
"properties": {
"appMenu": {
"type": "object",
"additionalProperties": false,
"required": ["label"],
"properties": {
"label": { "type": "string", "minLength": 1 }
}
}
}
},
"routes": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["path", "iframePath"],
"properties": {
"path": { "type": "string", "minLength": 1 },
"iframePath": { "type": "string", "minLength": 1 }
}
}
}
}
},
"events": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["topic", "handler"],
"properties": {
"topic": { "type": "string", "minLength": 1 },
"handler": { "type": "string", "minLength": 1 }
}
}
},
"precompiled": {
"type": "object",
"additionalProperties": { "type": "string" },
"description": "Target-triple to cwasm path map"
},
"api": {
"type": "object",
"additionalProperties": false,
"required": ["endpoints"],
"properties": {
"endpoints": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["method", "path", "handler"],
"properties": {
"method": { "type": "string", "enum": ["GET", "POST", "PUT", "PATCH", "DELETE"] },
"path": { "type": "string", "minLength": 1 },
"handler": { "type": "string", "minLength": 1 }
}
}
}
}
},
"assets": {
"type": "array",
"items": { "type": "string" },
"description": "Glob patterns for UI/static files"
},
"sbom": { "type": "string" }
}
}