mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
* azure devops logo on white * generated ADO tool docs * generated ADO tool docs * added ADO to registries * ADO workflow triggers * ADO workflow triggers * tool layer for ADO, checks passed and manual verified * ADO workflow triggers * block layer for ADO * ADO icon svg * generated docs for ADO triggers * committing the tests for azure devops tools and blocks * Update apps/sim/triggers/azure_devops/utils.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Update apps/sim/tools/azure_devops/update_work_item.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Update apps/sim/triggers/azure_devops/utils.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * comma syntax error patched * azure devops: validate-integration fixes + manual description - bgColor switched from white to Azure DevOps brand color #0078D4 (block + mdx) - WIQL query_work_items: hydrate ALL matched IDs by chunking through batches of 200 instead of silently truncating; check response.ok on the follow-up fetch and surface a clear error on 4xx/5xx; trim org/project; expose totalMatched in metadata so users can see pre-hydration count - Add MANUAL-CONTENT-START:intro section to the azure_devops.mdx docs page - Update unit tests for new chunking behavior and update-work-item validation Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * azure_devops: second-pass audit fixes + formatter cleanup - Add types barrel export to tools/azure_devops/index.ts - Normalize comment endpoint path casing (/workItems/ -> /workitems/) - Update test assertions to match normalized path - Biome formatter reflow across tools, triggers, registry, and docs icon Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * azure_devops: address PR review comments - Fix bgColor #FFFFFF -> #0078D4 in integrations.json and triggers/azure_devops.mdx - Bump File tool operationCount from 4 to 5 (Read, Fetch, Get, Write, Append) - Apply .trim() to org/project across all 15 remaining tools (consistency with query_work_items) - Fix Found ${data.count} -> Found ${data.count ?? items.length} fallback in list_builds, list_pipelines, list_pipeline_runs content strings Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * idemtpotency * azure_devops: address bugbot review comments - triggers/utils: match build.complete result case-insensitively, accept stopped/cancelled in addition to failed/canceled/partiallySucceeded so PascalCase and legacy Azure DevOps payloads aren't dropped - get_work_items_batch: chunk comma-separated IDs into 200-batch loops with proper status checks (was failing or returning incomplete data on >200 IDs) - Add tests for both behaviors Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * azure_devops: address additional bugbot comments - Block update_work_item now forwards areaPath; the Area Path subblock condition expanded to include update operation - get_build_timeline.failedRecords now also flags partiallySucceeded and succeededWithIssues, normalized case-insensitively. Output description and added a focused test Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * azure_devops: address more bugbot comments - Webhook provider extractIdempotencyId returns null when subscriptionId or notificationId is missing/empty, preventing the literal "azure_devops:undefined:undefined" key from collapsing unrelated deliveries into duplicates - Get Work Items Batch validates that at least one non-empty ID is supplied before issuing the API request, throwing a clear error instead of hitting an empty ids= query - Tests cover both behaviors Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * azure_devops: pin add_comment to documented api-version 7.0-preview.3 Microsoft's Add Comments docs only publish 7.0-preview.3 (the 7.2 view falls back to the 7.0 page). Get Comments stays on the documented 7.2-preview.4. Matches what's strictly in the Azure DevOps REST API reference rather than relying on undocumented version behavior. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Marcus Chandra <mzxchandra@gmail.com> Co-authored-by: mzxchandra <129460234+mzxchandra@users.noreply.github.com> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
441 lines
9.3 KiB
TypeScript
441 lines
9.3 KiB
TypeScript
// Auto-generated file - do not edit manually
|
|
// Generated by scripts/generate-docs.ts
|
|
// Maps block types to their icon component references
|
|
|
|
import type { ComponentType, SVGProps } from 'react'
|
|
import {
|
|
A2AIcon,
|
|
AgentMailIcon,
|
|
AgentPhoneIcon,
|
|
AgiloftIcon,
|
|
AhrefsIcon,
|
|
AirtableIcon,
|
|
AirweaveIcon,
|
|
AlgoliaIcon,
|
|
AmplitudeIcon,
|
|
ApifyIcon,
|
|
ApolloIcon,
|
|
ArxivIcon,
|
|
AsanaIcon,
|
|
AshbyIcon,
|
|
AthenaIcon,
|
|
AttioIcon,
|
|
AzureDevOpsIcon,
|
|
AzureIcon,
|
|
BoxCompanyIcon,
|
|
BrainIcon,
|
|
BrandfetchIcon,
|
|
BrightDataIcon,
|
|
BrowserUseIcon,
|
|
CalComIcon,
|
|
CalendlyIcon,
|
|
CirclebackIcon,
|
|
ClayIcon,
|
|
ClerkIcon,
|
|
CloudFormationIcon,
|
|
CloudflareIcon,
|
|
CloudWatchIcon,
|
|
ConfluenceIcon,
|
|
CrowdStrikeIcon,
|
|
CursorIcon,
|
|
DagsterIcon,
|
|
DatabricksIcon,
|
|
DatadogIcon,
|
|
DevinIcon,
|
|
DiscordIcon,
|
|
DocumentIcon,
|
|
DocuSignIcon,
|
|
DropboxIcon,
|
|
DsPyIcon,
|
|
DubIcon,
|
|
DuckDuckGoIcon,
|
|
DynamoDBIcon,
|
|
ElasticsearchIcon,
|
|
ElevenLabsIcon,
|
|
EmailBisonIcon,
|
|
EnrichSoIcon,
|
|
EvernoteIcon,
|
|
ExaAIIcon,
|
|
ExtendIcon,
|
|
EyeIcon,
|
|
FathomIcon,
|
|
FindymailIcon,
|
|
FirecrawlIcon,
|
|
FirefliesIcon,
|
|
GammaIcon,
|
|
GithubIcon,
|
|
GitLabIcon,
|
|
GmailIcon,
|
|
GongIcon,
|
|
GoogleAdsIcon,
|
|
GoogleBigQueryIcon,
|
|
GoogleBooksIcon,
|
|
GoogleCalendarIcon,
|
|
GoogleContactsIcon,
|
|
GoogleDocsIcon,
|
|
GoogleDriveIcon,
|
|
GoogleFormsIcon,
|
|
GoogleGroupsIcon,
|
|
GoogleIcon,
|
|
GoogleMapsIcon,
|
|
GoogleMeetIcon,
|
|
GooglePagespeedIcon,
|
|
GoogleSheetsIcon,
|
|
GoogleSlidesIcon,
|
|
GoogleTasksIcon,
|
|
GoogleTranslateIcon,
|
|
GoogleVaultIcon,
|
|
GrafanaIcon,
|
|
GrainIcon,
|
|
GranolaIcon,
|
|
GreenhouseIcon,
|
|
GreptileIcon,
|
|
HexIcon,
|
|
HubspotIcon,
|
|
HuggingFaceIcon,
|
|
HunterIOIcon,
|
|
IAMIcon,
|
|
IdentityCenterIcon,
|
|
ImageIcon,
|
|
IncidentioIcon,
|
|
InfisicalIcon,
|
|
IntercomIcon,
|
|
JinaAIIcon,
|
|
JiraIcon,
|
|
JiraServiceManagementIcon,
|
|
KalshiIcon,
|
|
KetchIcon,
|
|
LangsmithIcon,
|
|
LaunchDarklyIcon,
|
|
LemlistIcon,
|
|
LinearIcon,
|
|
LinkedInIcon,
|
|
LinkupIcon,
|
|
LoopsIcon,
|
|
LumaIcon,
|
|
MailchimpIcon,
|
|
MailgunIcon,
|
|
MailServerIcon,
|
|
Mem0Icon,
|
|
MicrosoftDataverseIcon,
|
|
MicrosoftExcelIcon,
|
|
MicrosoftOneDriveIcon,
|
|
MicrosoftPlannerIcon,
|
|
MicrosoftSharepointIcon,
|
|
MicrosoftTeamsIcon,
|
|
MistralIcon,
|
|
MondayIcon,
|
|
MongoDBIcon,
|
|
MySQLIcon,
|
|
Neo4jIcon,
|
|
NotionIcon,
|
|
ObsidianIcon,
|
|
OktaIcon,
|
|
OnePasswordIcon,
|
|
OpenAIIcon,
|
|
OutlookIcon,
|
|
PackageSearchIcon,
|
|
PagerDutyIcon,
|
|
ParallelIcon,
|
|
PeopleDataLabsIcon,
|
|
PerplexityIcon,
|
|
PineconeIcon,
|
|
PipedriveIcon,
|
|
PolymarketIcon,
|
|
PostgresIcon,
|
|
PosthogIcon,
|
|
ProfoundIcon,
|
|
ProspeoIcon,
|
|
PulseIcon,
|
|
QdrantIcon,
|
|
QuiverIcon,
|
|
RDSIcon,
|
|
RedditIcon,
|
|
RedisIcon,
|
|
ReductoIcon,
|
|
ResendIcon,
|
|
RevenueCatIcon,
|
|
RipplingIcon,
|
|
RootlyIcon,
|
|
S3Icon,
|
|
SalesforceIcon,
|
|
SapConcurIcon,
|
|
SapS4HanaIcon,
|
|
SESIcon,
|
|
SearchIcon,
|
|
SecretsManagerIcon,
|
|
SendgridIcon,
|
|
SentryIcon,
|
|
SerperIcon,
|
|
ServiceNowIcon,
|
|
SftpIcon,
|
|
ShopifyIcon,
|
|
SimilarwebIcon,
|
|
SixtyfourIcon,
|
|
SlackIcon,
|
|
SmtpIcon,
|
|
SQSIcon,
|
|
SshIcon,
|
|
STSIcon,
|
|
STTIcon,
|
|
StagehandIcon,
|
|
StripeIcon,
|
|
SupabaseIcon,
|
|
TailscaleIcon,
|
|
TavilyIcon,
|
|
TelegramIcon,
|
|
TextractIcon,
|
|
TinybirdIcon,
|
|
TranslateIcon,
|
|
TrelloIcon,
|
|
TTSIcon,
|
|
TwilioIcon,
|
|
TypeformIcon,
|
|
UpstashIcon,
|
|
VercelIcon,
|
|
VideoIcon,
|
|
WealthboxIcon,
|
|
WebflowIcon,
|
|
WhatsAppIcon,
|
|
WikipediaIcon,
|
|
WizaIcon,
|
|
WordpressIcon,
|
|
WorkdayIcon,
|
|
xIcon,
|
|
YouTubeIcon,
|
|
ZendeskIcon,
|
|
ZepIcon,
|
|
ZoomIcon,
|
|
} from '@/components/icons'
|
|
|
|
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>
|
|
|
|
export const blockTypeToIconMap: Record<string, IconComponent> = {
|
|
a2a: A2AIcon,
|
|
agentmail: AgentMailIcon,
|
|
agentphone: AgentPhoneIcon,
|
|
agiloft: AgiloftIcon,
|
|
ahrefs: AhrefsIcon,
|
|
airtable: AirtableIcon,
|
|
airweave: AirweaveIcon,
|
|
algolia: AlgoliaIcon,
|
|
amplitude: AmplitudeIcon,
|
|
apify: ApifyIcon,
|
|
apollo: ApolloIcon,
|
|
arxiv: ArxivIcon,
|
|
asana: AsanaIcon,
|
|
ashby: AshbyIcon,
|
|
athena: AthenaIcon,
|
|
attio: AttioIcon,
|
|
azure_devops: AzureDevOpsIcon,
|
|
box: BoxCompanyIcon,
|
|
brandfetch: BrandfetchIcon,
|
|
brightdata: BrightDataIcon,
|
|
browser_use: BrowserUseIcon,
|
|
calcom: CalComIcon,
|
|
calendly: CalendlyIcon,
|
|
circleback: CirclebackIcon,
|
|
clay: ClayIcon,
|
|
clerk: ClerkIcon,
|
|
cloudflare: CloudflareIcon,
|
|
cloudformation: CloudFormationIcon,
|
|
cloudwatch: CloudWatchIcon,
|
|
confluence: ConfluenceIcon,
|
|
confluence_v2: ConfluenceIcon,
|
|
crowdstrike: CrowdStrikeIcon,
|
|
cursor: CursorIcon,
|
|
cursor_v2: CursorIcon,
|
|
dagster: DagsterIcon,
|
|
databricks: DatabricksIcon,
|
|
datadog: DatadogIcon,
|
|
devin: DevinIcon,
|
|
discord: DiscordIcon,
|
|
docusign: DocuSignIcon,
|
|
dropbox: DropboxIcon,
|
|
dspy: DsPyIcon,
|
|
dub: DubIcon,
|
|
duckduckgo: DuckDuckGoIcon,
|
|
dynamodb: DynamoDBIcon,
|
|
elasticsearch: ElasticsearchIcon,
|
|
elevenlabs: ElevenLabsIcon,
|
|
emailbison: EmailBisonIcon,
|
|
enrich: EnrichSoIcon,
|
|
evernote: EvernoteIcon,
|
|
exa: ExaAIIcon,
|
|
extend: ExtendIcon,
|
|
extend_v2: ExtendIcon,
|
|
fathom: FathomIcon,
|
|
file: DocumentIcon,
|
|
file_v4: DocumentIcon,
|
|
findymail: FindymailIcon,
|
|
firecrawl: FirecrawlIcon,
|
|
fireflies: FirefliesIcon,
|
|
fireflies_v2: FirefliesIcon,
|
|
gamma: GammaIcon,
|
|
github: GithubIcon,
|
|
github_v2: GithubIcon,
|
|
gitlab: GitLabIcon,
|
|
gmail: GmailIcon,
|
|
gmail_v2: GmailIcon,
|
|
gong: GongIcon,
|
|
google_ads: GoogleAdsIcon,
|
|
google_bigquery: GoogleBigQueryIcon,
|
|
google_books: GoogleBooksIcon,
|
|
google_calendar: GoogleCalendarIcon,
|
|
google_calendar_v2: GoogleCalendarIcon,
|
|
google_contacts: GoogleContactsIcon,
|
|
google_docs: GoogleDocsIcon,
|
|
google_drive: GoogleDriveIcon,
|
|
google_forms: GoogleFormsIcon,
|
|
google_groups: GoogleGroupsIcon,
|
|
google_maps: GoogleMapsIcon,
|
|
google_meet: GoogleMeetIcon,
|
|
google_pagespeed: GooglePagespeedIcon,
|
|
google_search: GoogleIcon,
|
|
google_sheets: GoogleSheetsIcon,
|
|
google_sheets_v2: GoogleSheetsIcon,
|
|
google_slides: GoogleSlidesIcon,
|
|
google_slides_v2: GoogleSlidesIcon,
|
|
google_tasks: GoogleTasksIcon,
|
|
google_translate: GoogleTranslateIcon,
|
|
google_vault: GoogleVaultIcon,
|
|
grafana: GrafanaIcon,
|
|
grain: GrainIcon,
|
|
granola: GranolaIcon,
|
|
greenhouse: GreenhouseIcon,
|
|
greptile: GreptileIcon,
|
|
hex: HexIcon,
|
|
hubspot: HubspotIcon,
|
|
huggingface: HuggingFaceIcon,
|
|
hunter: HunterIOIcon,
|
|
iam: IAMIcon,
|
|
identity_center: IdentityCenterIcon,
|
|
image_generator: ImageIcon,
|
|
imap: MailServerIcon,
|
|
incidentio: IncidentioIcon,
|
|
infisical: InfisicalIcon,
|
|
intercom: IntercomIcon,
|
|
intercom_v2: IntercomIcon,
|
|
jina: JinaAIIcon,
|
|
jira: JiraIcon,
|
|
jira_service_management: JiraServiceManagementIcon,
|
|
kalshi: KalshiIcon,
|
|
kalshi_v2: KalshiIcon,
|
|
ketch: KetchIcon,
|
|
knowledge: PackageSearchIcon,
|
|
langsmith: LangsmithIcon,
|
|
launchdarkly: LaunchDarklyIcon,
|
|
lemlist: LemlistIcon,
|
|
linear: LinearIcon,
|
|
linear_v2: LinearIcon,
|
|
linkedin: LinkedInIcon,
|
|
linkup: LinkupIcon,
|
|
loops: LoopsIcon,
|
|
luma: LumaIcon,
|
|
mailchimp: MailchimpIcon,
|
|
mailgun: MailgunIcon,
|
|
mem0: Mem0Icon,
|
|
memory: BrainIcon,
|
|
microsoft_ad: AzureIcon,
|
|
microsoft_dataverse: MicrosoftDataverseIcon,
|
|
microsoft_excel: MicrosoftExcelIcon,
|
|
microsoft_excel_v2: MicrosoftExcelIcon,
|
|
microsoft_planner: MicrosoftPlannerIcon,
|
|
microsoft_teams: MicrosoftTeamsIcon,
|
|
mistral_parse: MistralIcon,
|
|
mistral_parse_v3: MistralIcon,
|
|
monday: MondayIcon,
|
|
mongodb: MongoDBIcon,
|
|
mysql: MySQLIcon,
|
|
neo4j: Neo4jIcon,
|
|
notion: NotionIcon,
|
|
notion_v2: NotionIcon,
|
|
obsidian: ObsidianIcon,
|
|
okta: OktaIcon,
|
|
onedrive: MicrosoftOneDriveIcon,
|
|
onepassword: OnePasswordIcon,
|
|
openai: OpenAIIcon,
|
|
outlook: OutlookIcon,
|
|
pagerduty: PagerDutyIcon,
|
|
parallel_ai: ParallelIcon,
|
|
peopledatalabs: PeopleDataLabsIcon,
|
|
perplexity: PerplexityIcon,
|
|
pinecone: PineconeIcon,
|
|
pipedrive: PipedriveIcon,
|
|
polymarket: PolymarketIcon,
|
|
postgresql: PostgresIcon,
|
|
posthog: PosthogIcon,
|
|
profound: ProfoundIcon,
|
|
prospeo: ProspeoIcon,
|
|
pulse: PulseIcon,
|
|
pulse_v2: PulseIcon,
|
|
qdrant: QdrantIcon,
|
|
quiver: QuiverIcon,
|
|
rds: RDSIcon,
|
|
reddit: RedditIcon,
|
|
redis: RedisIcon,
|
|
reducto: ReductoIcon,
|
|
reducto_v2: ReductoIcon,
|
|
resend: ResendIcon,
|
|
revenuecat: RevenueCatIcon,
|
|
rippling: RipplingIcon,
|
|
rootly: RootlyIcon,
|
|
s3: S3Icon,
|
|
salesforce: SalesforceIcon,
|
|
sap_concur: SapConcurIcon,
|
|
sap_s4hana: SapS4HanaIcon,
|
|
search: SearchIcon,
|
|
secrets_manager: SecretsManagerIcon,
|
|
sendgrid: SendgridIcon,
|
|
sentry: SentryIcon,
|
|
serper: SerperIcon,
|
|
servicenow: ServiceNowIcon,
|
|
ses: SESIcon,
|
|
sftp: SftpIcon,
|
|
sharepoint: MicrosoftSharepointIcon,
|
|
sharepoint_v2: MicrosoftSharepointIcon,
|
|
shopify: ShopifyIcon,
|
|
similarweb: SimilarwebIcon,
|
|
sixtyfour: SixtyfourIcon,
|
|
slack: SlackIcon,
|
|
smtp: SmtpIcon,
|
|
sqs: SQSIcon,
|
|
ssh: SshIcon,
|
|
stagehand: StagehandIcon,
|
|
stripe: StripeIcon,
|
|
sts: STSIcon,
|
|
stt: STTIcon,
|
|
stt_v2: STTIcon,
|
|
supabase: SupabaseIcon,
|
|
tailscale: TailscaleIcon,
|
|
tavily: TavilyIcon,
|
|
telegram: TelegramIcon,
|
|
textract: TextractIcon,
|
|
textract_v2: TextractIcon,
|
|
tinybird: TinybirdIcon,
|
|
translate: TranslateIcon,
|
|
trello: TrelloIcon,
|
|
tts: TTSIcon,
|
|
twilio_sms: TwilioIcon,
|
|
twilio_voice: TwilioIcon,
|
|
typeform: TypeformIcon,
|
|
upstash: UpstashIcon,
|
|
vercel: VercelIcon,
|
|
video_generator: VideoIcon,
|
|
video_generator_v2: VideoIcon,
|
|
vision: EyeIcon,
|
|
vision_v2: EyeIcon,
|
|
wealthbox: WealthboxIcon,
|
|
webflow: WebflowIcon,
|
|
whatsapp: WhatsAppIcon,
|
|
wikipedia: WikipediaIcon,
|
|
wiza: WizaIcon,
|
|
wordpress: WordpressIcon,
|
|
workday: WorkdayIcon,
|
|
x: xIcon,
|
|
youtube: YouTubeIcon,
|
|
zendesk: ZendeskIcon,
|
|
zep: ZepIcon,
|
|
zoom: ZoomIcon,
|
|
}
|