align plugin with new architecture
Build and Push Docker Image / build (push) Failing after 15s

This commit is contained in:
Worph
2026-09-13 11:54:56 +02:00
parent e1994cbfa8
commit b9e6de6c8b
10 changed files with 544 additions and 404 deletions
+3 -2
View File
@@ -32,13 +32,14 @@ export class MetaCoreClient {
return data.value ?? null;
}
async mergeMetadata(hashId: string, metadata: Record<string, string>): Promise<void> {
/** PATCH (merge). Resolves `true` only when the write was accepted. */
async mergeMetadata(hashId: string, metadata: Record<string, string>): Promise<boolean> {
const response = await this.safeFetch(`${this.baseUrl}/meta/${hashId}`, {
method: 'PATCH',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(metadata),
});
// Silently ignore errors (expected in standalone/test mode)
return !!response && response.ok;
}
async deleteProperty(hashId: string, key: string): Promise<void> {