feat: oauth config init

This commit is contained in:
yessenia
2025-09-16 16:56:23 +08:00
parent a173dc5c9d
commit 814b0e1fe8
23 changed files with 949 additions and 303 deletions

View File

@ -1,4 +1,4 @@
import type { PluginMeta } from '../../plugins/types'
import type { PluginMeta, SupportedCreationMethods } from '../../plugins/types'
import type { Collection, Trigger } from '../../tools/types'
import type { TypeWithI18N } from '../../base/form/types'
@ -151,6 +151,7 @@ export type TriggerProviderApiEntity = {
tags: string[]
plugin_id?: string
plugin_unique_identifier: string
supported_creation_methods: SupportedCreationMethods[]
credentials_schema: TriggerCredentialField[]
oauth_client_schema: TriggerCredentialField[]
subscription_schema: TriggerSubscriptionSchema