integrations

package
v0.0.0-...-4ae6852 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetIntegrationForm = Type("GetIntegrationForm", func() {
	Description("Get a third-party integration by ID or name.")

	Attribute("id", String, "The ID of the integration to get (refers to a package id).")
	Attribute("name", String, "The name of the integration to get (refers to a package name).")
})
View Source
var GetIntegrationResult = Type("GetIntegrationResult", func() {
	Attribute("integration", Integration)
})
View Source
var Integration = Type("Integration", func() {
	Required("package_id", "package_name", "package_title", "package_summary", "version", "version_created_at", "tool_names")

	Attribute("package_id", String)
	Attribute("package_name", String)
	Attribute("package_title", String)
	Attribute("package_summary", String)
	Attribute("package_description", String)
	Attribute("package_description_raw", String)
	Attribute("package_url", String)
	Attribute("package_keywords", ArrayOf(String))
	Attribute("package_image_asset_id", String)
	Attribute("version", String, "The latest version of the integration")
	Attribute("version_created_at", String, func() {
		Format(FormatDateTime)
	})
	Attribute("tool_names", ArrayOf(String))
	Attribute("versions", ArrayOf(IntegrationVersion))
})
View Source
var IntegrationEntry = Type("IntegrationEntry", func() {
	Required("package_id", "package_name", "version", "version_created_at", "tool_names")

	Attribute("package_id", String)
	Attribute("package_name", String)
	Attribute("package_title", String)
	Attribute("package_summary", String)
	Attribute("package_url", String)
	Attribute("package_keywords", ArrayOf(String))
	Attribute("package_image_asset_id", String)
	Attribute("version", String)
	Attribute("version_created_at", String, func() {
		Format(FormatDateTime)
	})
	Attribute("tool_names", ArrayOf(String))
})
View Source
var IntegrationVersion = Type("IntegrationVersion", func() {
	Required("version", "created_at")
	Attribute("version", String)
	Attribute("created_at", String, func() {
		Format(FormatDateTime)
	})
})
View Source
var ListIntegrationsForm = Type("ListIntegrationsForm", func() {
	Attribute("keywords", ArrayOf(String), "Keywords to filter integrations by", func() {
		Elem(func() {
			MaxLength(20)
		})
	})
})
View Source
var ListIntegrationsResult = Type("ListIntegrationsResult", func() {
	Attribute("integrations", ArrayOf(IntegrationEntry), "List of available third-party integrations")
})

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL