diff --git a/src/types.ts b/src/types.ts index d9ab7451..5b040109 100644 --- a/src/types.ts +++ b/src/types.ts @@ -161,6 +161,7 @@ export interface Plugin { from_web?: boolean created_at: string updated_at: string + capabilities?: Record } export interface PluginConfig { diff --git a/tests/helpers/plugins.ts b/tests/helpers/plugins.ts index be771a7f..d67ec990 100644 --- a/tests/helpers/plugins.ts +++ b/tests/helpers/plugins.ts @@ -48,6 +48,7 @@ export const plugin60: Plugin = { is_preinstalled: false, created_at: new Date().toISOString(), updated_at: new Date().toISOString(), + capabilities: {}, } export const pluginAttachment1: PluginAttachmentDB = { diff --git a/tests/sql.test.ts b/tests/sql.test.ts index 0f9a5a1e..47e9b8ef 100644 --- a/tests/sql.test.ts +++ b/tests/sql.test.ts @@ -105,6 +105,7 @@ test('getPluginRows', async () => { url: 'https://www.npmjs.com/package/posthog-maxmind-plugin', created_at: expect.anything(), updated_at: expect.anything(), + capabilities: {}, }, ]