mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
Clarify plugin authoring and external dev workflow
This commit is contained in:
parent
cb5d7e76fb
commit
30888759f2
36 changed files with 693 additions and 410 deletions
|
|
@ -61,15 +61,11 @@ const OPERATION_CAPABILITIES: Record<string, readonly PluginCapability[]> = {
|
|||
"activity.get": ["activity.read"],
|
||||
"costs.list": ["costs.read"],
|
||||
"costs.get": ["costs.read"],
|
||||
"assets.list": ["assets.read"],
|
||||
"assets.get": ["assets.read"],
|
||||
|
||||
// Data write operations
|
||||
"issues.create": ["issues.create"],
|
||||
"issues.update": ["issues.update"],
|
||||
"issue.comments.create": ["issue.comments.create"],
|
||||
"assets.upload": ["assets.write"],
|
||||
"assets.delete": ["assets.write"],
|
||||
"activity.log": ["activity.log.write"],
|
||||
"metrics.write": ["metrics.write"],
|
||||
|
||||
|
|
|
|||
|
|
@ -582,17 +582,6 @@ export function buildHostServices(
|
|||
},
|
||||
},
|
||||
|
||||
assets: {
|
||||
async upload(params) {
|
||||
void params;
|
||||
throw new Error("Plugin asset uploads are not supported in this build.");
|
||||
},
|
||||
async getUrl(params) {
|
||||
void params;
|
||||
throw new Error("Plugin asset URLs are not supported in this build.");
|
||||
},
|
||||
},
|
||||
|
||||
activity: {
|
||||
async log(params) {
|
||||
const companyId = ensureCompanyId(params.companyId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue