chore: generate
This commit is contained in:
@@ -38,8 +38,7 @@ export const Native = Schema.Struct({
|
|||||||
export const Api = Schema.Union([AISDK, Native]).pipe(Schema.toTaggedUnion("type"))
|
export const Api = Schema.Union([AISDK, Native]).pipe(Schema.toTaggedUnion("type"))
|
||||||
export type Api = typeof Api.Type
|
export type Api = typeof Api.Type
|
||||||
export type MutableApi<T extends Api = Api> = T extends Api
|
export type MutableApi<T extends Api = Api> = T extends Api
|
||||||
? Omit<Types.DeepMutable<T>, "settings"> &
|
? Omit<Types.DeepMutable<T>, "settings"> & (undefined extends T["settings"] ? { settings?: any } : { settings: any })
|
||||||
(undefined extends T["settings"] ? { settings?: any } : { settings: any })
|
|
||||||
: never
|
: never
|
||||||
|
|
||||||
export const Request = Schema.Struct({
|
export const Request = Schema.Struct({
|
||||||
|
|||||||
@@ -61,9 +61,7 @@ describe("ConfigProviderPlugin.Plugin", () => {
|
|||||||
...ConfigProviderPlugin.Plugin,
|
...ConfigProviderPlugin.Plugin,
|
||||||
effect: ConfigProviderPlugin.Plugin.effect(
|
effect: ConfigProviderPlugin.Plugin.effect(
|
||||||
host({ catalog: catalogHost(catalog), integration: integrationHost(integrations) }),
|
host({ catalog: catalogHost(catalog), integration: integrationHost(integrations) }),
|
||||||
).pipe(
|
).pipe(Effect.provideService(Config.Service, config)),
|
||||||
Effect.provideService(Config.Service, config),
|
|
||||||
),
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const model = required(yield* catalog.model.get(providerID, modelID))
|
const model = required(yield* catalog.model.get(providerID, modelID))
|
||||||
@@ -122,9 +120,7 @@ describe("ConfigProviderPlugin.Plugin", () => {
|
|||||||
...ConfigProviderPlugin.Plugin,
|
...ConfigProviderPlugin.Plugin,
|
||||||
effect: ConfigProviderPlugin.Plugin.effect(
|
effect: ConfigProviderPlugin.Plugin.effect(
|
||||||
host({ catalog: catalogHost(catalog), integration: integrationHost(integrations) }),
|
host({ catalog: catalogHost(catalog), integration: integrationHost(integrations) }),
|
||||||
).pipe(
|
).pipe(Effect.provideService(Config.Service, config)),
|
||||||
Effect.provideService(Config.Service, config),
|
|
||||||
),
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const model = required(yield* catalog.model.get(providerID, modelID))
|
const model = required(yield* catalog.model.get(providerID, modelID))
|
||||||
@@ -225,9 +221,7 @@ describe("ConfigProviderPlugin.Plugin", () => {
|
|||||||
...ConfigProviderPlugin.Plugin,
|
...ConfigProviderPlugin.Plugin,
|
||||||
effect: ConfigProviderPlugin.Plugin.effect(
|
effect: ConfigProviderPlugin.Plugin.effect(
|
||||||
host({ catalog: catalogHost(catalog), integration: integrationHost(integrations) }),
|
host({ catalog: catalogHost(catalog), integration: integrationHost(integrations) }),
|
||||||
).pipe(
|
).pipe(Effect.provideService(Config.Service, config)),
|
||||||
Effect.provideService(Config.Service, config),
|
|
||||||
),
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const provider = required(yield* catalog.provider.get(providerID))
|
const provider = required(yield* catalog.provider.get(providerID))
|
||||||
|
|||||||
@@ -255,7 +255,9 @@ function method(value: Integration.Method) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function internalMethod(value: IntegrationOAuthMethod | IntegrationKeyMethod | IntegrationEnvMethod): Integration.Method {
|
function internalMethod(
|
||||||
|
value: IntegrationOAuthMethod | IntegrationKeyMethod | IntegrationEnvMethod,
|
||||||
|
): Integration.Method {
|
||||||
if (value.type === "env") return value
|
if (value.type === "env") return value
|
||||||
if (value.type === "key") return value
|
if (value.type === "key") return value
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -35,7 +35,9 @@ describe("AnthropicPlugin", () => {
|
|||||||
const catalog = yield* Catalog.Service
|
const catalog = yield* Catalog.Service
|
||||||
yield* addPlugin(plugin, AnthropicPlugin)
|
yield* addPlugin(plugin, AnthropicPlugin)
|
||||||
yield* catalog.transform((catalog) => catalog.provider.update(provider("openai").id, () => {}))
|
yield* catalog.transform((catalog) => catalog.provider.update(provider("openai").id, () => {}))
|
||||||
expect(required(yield* catalog.provider.get(ProviderV2.ID.openai)).request.headers["anthropic-beta"]).toBeUndefined()
|
expect(
|
||||||
|
required(yield* catalog.provider.get(ProviderV2.ID.openai)).request.headers["anthropic-beta"],
|
||||||
|
).toBeUndefined()
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -157,7 +157,8 @@ describe("GithubCopilotPlugin", () => {
|
|||||||
catalog.model.update(ProviderV2.ID.make("github-copilot"), ModelV2.ID.make("gpt-5-chat-latest"), () => {})
|
catalog.model.update(ProviderV2.ID.make("github-copilot"), ModelV2.ID.make("gpt-5-chat-latest"), () => {})
|
||||||
})
|
})
|
||||||
expect(
|
expect(
|
||||||
required(yield* catalog.model.get(ProviderV2.ID.make("github-copilot"), ModelV2.ID.make("gpt-5-chat-latest"))).enabled,
|
required(yield* catalog.model.get(ProviderV2.ID.make("github-copilot"), ModelV2.ID.make("gpt-5-chat-latest")))
|
||||||
|
.enabled,
|
||||||
).toBe(false)
|
).toBe(false)
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
@@ -172,7 +173,8 @@ describe("GithubCopilotPlugin", () => {
|
|||||||
catalog.model.update(ProviderV2.ID.make("custom-copilot"), ModelV2.ID.make("gpt-5-chat-latest"), () => {})
|
catalog.model.update(ProviderV2.ID.make("custom-copilot"), ModelV2.ID.make("gpt-5-chat-latest"), () => {})
|
||||||
})
|
})
|
||||||
expect(
|
expect(
|
||||||
required(yield* catalog.model.get(ProviderV2.ID.make("custom-copilot"), ModelV2.ID.make("gpt-5-chat-latest"))).enabled,
|
required(yield* catalog.model.get(ProviderV2.ID.make("custom-copilot"), ModelV2.ID.make("gpt-5-chat-latest")))
|
||||||
|
.enabled,
|
||||||
).toBe(true)
|
).toBe(true)
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ export function addPlugin(plugin: PluginV2.Interface, definition: Plugin<any>) {
|
|||||||
const npm = yield* Effect.serviceOption(Npm.Service)
|
const npm = yield* Effect.serviceOption(Npm.Service)
|
||||||
const effect =
|
const effect =
|
||||||
typeof definition.effect === "function"
|
typeof definition.effect === "function"
|
||||||
? definition.effect(
|
? definition.effect(
|
||||||
host({
|
host({
|
||||||
aisdk: aisdkHost(plugin),
|
aisdk: aisdkHost(plugin),
|
||||||
...(Option.isSome(catalog) ? { catalog: catalogHost(catalog.value) } : {}),
|
...(Option.isSome(catalog) ? { catalog: catalogHost(catalog.value) } : {}),
|
||||||
|
|||||||
@@ -118,7 +118,9 @@ describe("OpenAIPlugin", () => {
|
|||||||
catalog.model.update(item.id, ModelV2.ID.make("gpt-5-chat-latest"), () => {})
|
catalog.model.update(item.id, ModelV2.ID.make("gpt-5-chat-latest"), () => {})
|
||||||
})
|
})
|
||||||
expect(required(yield* catalog.model.get(ProviderV2.ID.openai, ModelV2.ID.make("gpt-5"))).enabled).toBe(true)
|
expect(required(yield* catalog.model.get(ProviderV2.ID.openai, ModelV2.ID.make("gpt-5"))).enabled).toBe(true)
|
||||||
expect(required(yield* catalog.model.get(ProviderV2.ID.openai, ModelV2.ID.make("gpt-5-chat-latest"))).enabled).toBe(false)
|
expect(
|
||||||
|
required(yield* catalog.model.get(ProviderV2.ID.openai, ModelV2.ID.make("gpt-5-chat-latest"))).enabled,
|
||||||
|
).toBe(false)
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -133,7 +135,8 @@ describe("OpenAIPlugin", () => {
|
|||||||
catalog.model.update(item.id, ModelV2.ID.make("gpt-5-chat-latest"), () => {})
|
catalog.model.update(item.id, ModelV2.ID.make("gpt-5-chat-latest"), () => {})
|
||||||
})
|
})
|
||||||
expect(
|
expect(
|
||||||
required(yield* catalog.model.get(ProviderV2.ID.make("custom-openai"), ModelV2.ID.make("gpt-5-chat-latest"))).enabled,
|
required(yield* catalog.model.get(ProviderV2.ID.make("custom-openai"), ModelV2.ID.make("gpt-5-chat-latest")))
|
||||||
|
.enabled,
|
||||||
).toBe(true)
|
).toBe(true)
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -22,9 +22,7 @@ const locationLayer = Layer.succeed(
|
|||||||
|
|
||||||
const pluginWithIntegrations = (catalog: Catalog.Interface, integrations: Integration.Interface) => ({
|
const pluginWithIntegrations = (catalog: Catalog.Interface, integrations: Integration.Interface) => ({
|
||||||
...OpencodePlugin,
|
...OpencodePlugin,
|
||||||
effect: OpencodePlugin.effect(
|
effect: OpencodePlugin.effect(host({ catalog: catalogHost(catalog), integration: integrationHost(integrations) })),
|
||||||
host({ catalog: catalogHost(catalog), integration: integrationHost(integrations) }),
|
|
||||||
),
|
|
||||||
})
|
})
|
||||||
|
|
||||||
describe("OpencodePlugin", () => {
|
describe("OpencodePlugin", () => {
|
||||||
@@ -83,7 +81,9 @@ describe("OpencodePlugin", () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
expect(required(yield* catalog.provider.get(ProviderV2.ID.opencode)).request.body.apiKey).toBe("public")
|
expect(required(yield* catalog.provider.get(ProviderV2.ID.opencode)).request.body.apiKey).toBe("public")
|
||||||
expect(required(yield* catalog.model.get(ProviderV2.ID.opencode, ModelV2.ID.make("output-only"))).enabled).toBe(true)
|
expect(required(yield* catalog.model.get(ProviderV2.ID.opencode, ModelV2.ID.make("output-only"))).enabled).toBe(
|
||||||
|
true,
|
||||||
|
)
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -92,12 +92,15 @@ describe("OpenRouterPlugin", () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
expect(
|
expect(
|
||||||
required(yield* catalog.model.get(ProviderV2.ID.make("openrouter"), ModelV2.ID.make("openai/gpt-5-chat"))).enabled,
|
required(yield* catalog.model.get(ProviderV2.ID.make("openrouter"), ModelV2.ID.make("openai/gpt-5-chat")))
|
||||||
|
.enabled,
|
||||||
).toBe(false)
|
).toBe(false)
|
||||||
expect(
|
expect(
|
||||||
required(yield* catalog.model.get(ProviderV2.ID.make("openrouter"), ModelV2.ID.make("openai/gpt-5"))).enabled,
|
required(yield* catalog.model.get(ProviderV2.ID.make("openrouter"), ModelV2.ID.make("openai/gpt-5"))).enabled,
|
||||||
).toBe(true)
|
).toBe(true)
|
||||||
expect(required(yield* catalog.model.get(ProviderV2.ID.openai, ModelV2.ID.make("openai/gpt-5-chat"))).enabled).toBe(true)
|
expect(
|
||||||
|
required(yield* catalog.model.get(ProviderV2.ID.openai, ModelV2.ID.make("openai/gpt-5-chat"))).enabled,
|
||||||
|
).toBe(true)
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -111,8 +114,9 @@ describe("OpenRouterPlugin", () => {
|
|||||||
catalog.model.update(ProviderV2.ID.make("custom-openrouter"), ModelV2.ID.make("gpt-5-chat-latest"), () => {})
|
catalog.model.update(ProviderV2.ID.make("custom-openrouter"), ModelV2.ID.make("gpt-5-chat-latest"), () => {})
|
||||||
})
|
})
|
||||||
expect(
|
expect(
|
||||||
required(yield* catalog.model.get(ProviderV2.ID.make("custom-openrouter"), ModelV2.ID.make("gpt-5-chat-latest")))
|
required(
|
||||||
.enabled,
|
yield* catalog.model.get(ProviderV2.ID.make("custom-openrouter"), ModelV2.ID.make("gpt-5-chat-latest")),
|
||||||
|
).enabled,
|
||||||
).toBe(true)
|
).toBe(true)
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -44,7 +44,9 @@ describe("VercelPlugin", () => {
|
|||||||
expect(required(yield* catalog.provider.get(ProviderV2.ID.make("vercel"))).request.headers).not.toHaveProperty(
|
expect(required(yield* catalog.provider.get(ProviderV2.ID.make("vercel"))).request.headers).not.toHaveProperty(
|
||||||
"HTTP-Referer",
|
"HTTP-Referer",
|
||||||
)
|
)
|
||||||
expect(required(yield* catalog.provider.get(ProviderV2.ID.make("vercel"))).request.headers).not.toHaveProperty("X-Title")
|
expect(required(yield* catalog.provider.get(ProviderV2.ID.make("vercel"))).request.headers).not.toHaveProperty(
|
||||||
|
"X-Title",
|
||||||
|
)
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -23,10 +23,7 @@ export const V2Command = effectCmd({
|
|||||||
small: Object.fromEntries(
|
small: Object.fromEntries(
|
||||||
yield* Effect.all(
|
yield* Effect.all(
|
||||||
all.map((provider) =>
|
all.map((provider) =>
|
||||||
Effect.map(
|
Effect.map(catalog.model.small(provider.id), (model) => [provider.id, model?.id] as const),
|
||||||
catalog.model.small(provider.id),
|
|
||||||
(model) => [provider.id, model?.id] as const,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
{ concurrency: "unbounded" },
|
{ concurrency: "unbounded" },
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ export type ClientOptions = {
|
|||||||
|
|
||||||
export type Event =
|
export type Event =
|
||||||
| EventModelsDevRefreshed
|
| EventModelsDevRefreshed
|
||||||
| EventPluginAdded
|
|
||||||
| EventIntegrationUpdated
|
| EventIntegrationUpdated
|
||||||
| EventCatalogUpdated
|
| EventCatalogUpdated
|
||||||
| EventSessionCreated
|
| EventSessionCreated
|
||||||
@@ -53,6 +52,7 @@ export type Event =
|
|||||||
| EventInstallationUpdated
|
| EventInstallationUpdated
|
||||||
| EventInstallationUpdateAvailable
|
| EventInstallationUpdateAvailable
|
||||||
| EventFileEdited
|
| EventFileEdited
|
||||||
|
| EventPluginAdded
|
||||||
| EventPermissionV2Asked
|
| EventPermissionV2Asked
|
||||||
| EventPermissionV2Replied
|
| EventPermissionV2Replied
|
||||||
| EventReferenceUpdated
|
| EventReferenceUpdated
|
||||||
@@ -737,13 +737,6 @@ export type GlobalEvent = {
|
|||||||
[key: string]: unknown
|
[key: string]: unknown
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
id: string
|
|
||||||
type: "plugin.added"
|
|
||||||
properties: {
|
|
||||||
id: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
id: string
|
id: string
|
||||||
type: "integration.updated"
|
type: "integration.updated"
|
||||||
@@ -1264,6 +1257,13 @@ export type GlobalEvent = {
|
|||||||
file: string
|
file: string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
| {
|
||||||
|
id: string
|
||||||
|
type: "plugin.added"
|
||||||
|
properties: {
|
||||||
|
id: string
|
||||||
|
}
|
||||||
|
}
|
||||||
| {
|
| {
|
||||||
id: string
|
id: string
|
||||||
type: "permission.v2.asked"
|
type: "permission.v2.asked"
|
||||||
@@ -4003,7 +4003,7 @@ export type ModelV2Info = {
|
|||||||
}
|
}
|
||||||
}>
|
}>
|
||||||
time: {
|
time: {
|
||||||
released: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN"
|
released: number
|
||||||
}
|
}
|
||||||
cost: Array<{
|
cost: Array<{
|
||||||
tier?: {
|
tier?: {
|
||||||
@@ -4228,14 +4228,6 @@ export type EventModelsDevRefreshed = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventPluginAdded = {
|
|
||||||
id: string
|
|
||||||
type: "plugin.added"
|
|
||||||
properties: {
|
|
||||||
id: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventIntegrationUpdated = {
|
export type EventIntegrationUpdated = {
|
||||||
id: string
|
id: string
|
||||||
type: "integration.updated"
|
type: "integration.updated"
|
||||||
@@ -4802,6 +4794,14 @@ export type EventFileEdited = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type EventPluginAdded = {
|
||||||
|
id: string
|
||||||
|
type: "plugin.added"
|
||||||
|
properties: {
|
||||||
|
id: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type EventPermissionV2Asked = {
|
export type EventPermissionV2Asked = {
|
||||||
id: string
|
id: string
|
||||||
type: "permission.v2.asked"
|
type: "permission.v2.asked"
|
||||||
|
|||||||
+54
-74
@@ -14481,9 +14481,6 @@
|
|||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventModels-devRefreshed"
|
"$ref": "#/components/schemas/EventModels-devRefreshed"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/EventPluginAdded"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventIntegrationUpdated"
|
"$ref": "#/components/schemas/EventIntegrationUpdated"
|
||||||
},
|
},
|
||||||
@@ -14622,6 +14619,9 @@
|
|||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventFileEdited"
|
"$ref": "#/components/schemas/EventFileEdited"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/EventPluginAdded"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventPermissionV2Asked"
|
"$ref": "#/components/schemas/EventPermissionV2Asked"
|
||||||
},
|
},
|
||||||
@@ -16645,31 +16645,6 @@
|
|||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string",
|
|
||||||
"pattern": "^evt_"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["plugin.added"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -18453,6 +18428,31 @@
|
|||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^evt_"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["plugin.added"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -26900,27 +26900,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"released": {
|
"released": {
|
||||||
"anyOf": [
|
"type": "number"
|
||||||
{
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["NaN"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["Infinity"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["-Infinity"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["Infinity", "-Infinity", "NaN"]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["released"],
|
"required": ["released"],
|
||||||
@@ -27643,31 +27623,6 @@
|
|||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"EventPluginAdded": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string",
|
|
||||||
"pattern": "^evt_"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["plugin.added"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"EventIntegrationUpdated": {
|
"EventIntegrationUpdated": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -29443,6 +29398,31 @@
|
|||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
"EventPluginAdded": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^evt_"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["plugin.added"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
"EventPermissionV2Asked": {
|
"EventPermissionV2Asked": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|||||||
Reference in New Issue
Block a user