Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export interface Plugin {
from_web?: boolean
created_at: string
updated_at: string
capabilities?: Record<string, any>
}

export interface PluginConfig {
Expand Down
1 change: 1 addition & 0 deletions tests/helpers/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
1 change: 1 addition & 0 deletions tests/sql.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {},
},
]

Expand Down