Skip to content

Commit ecf5209

Browse files
Sg312waleedlatif1
andauthored
feat(integration): add spotify (#2347)
* Add spotify * Finish spotify integration * Fix logo * fix build * Rename tools * Fix docs * Fix lint * Fix imports * ran lint --------- Co-authored-by: waleed <[email protected]>
1 parent 132f4bc commit ecf5209

File tree

95 files changed

+10477
-114
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+10477
-114
lines changed

apps/docs/components/icons.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4203,3 +4203,15 @@ export function RssIcon(props: SVGProps<SVGSVGElement>) {
42034203
</svg>
42044204
)
42054205
}
4206+
4207+
export function SpotifyIcon(props: SVGProps<SVGSVGElement>) {
4208+
return (
4209+
<svg {...props} viewBox='0 0 496 512' xmlns='http://www.w3.org/2000/svg'>
4210+
<path
4211+
fill='#1ed760'
4212+
d='M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8Z'
4213+
/>
4214+
<path d='M406.6 231.1c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3zm-31 76.2c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm-26.9 65.6c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4z' />
4215+
</svg>
4216+
)
4217+
}

apps/docs/components/ui/icon-mapping.ts

Lines changed: 93 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ import {
8989
ShopifyIcon,
9090
SlackIcon,
9191
SmtpIcon,
92+
SpotifyIcon,
9293
SQSIcon,
9394
SshIcon,
9495
STTIcon,
@@ -118,115 +119,116 @@ import {
118119
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>
119120

120121
export const blockTypeToIconMap: Record<string, IconComponent> = {
121-
zoom: ZoomIcon,
122-
zep: ZepIcon,
123-
zendesk: ZendeskIcon,
124-
youtube: YouTubeIcon,
125-
x: xIcon,
126-
wordpress: WordpressIcon,
127-
wikipedia: WikipediaIcon,
128-
whatsapp: WhatsAppIcon,
129-
webflow: WebflowIcon,
130-
wealthbox: WealthboxIcon,
131-
vision: EyeIcon,
132-
video_generator: VideoIcon,
133-
typeform: TypeformIcon,
122+
calendly: CalendlyIcon,
123+
mailchimp: MailchimpIcon,
124+
postgresql: PostgresIcon,
134125
twilio_voice: TwilioIcon,
135-
twilio_sms: TwilioIcon,
136-
tts: TTSIcon,
137-
trello: TrelloIcon,
126+
elasticsearch: ElasticsearchIcon,
127+
rds: RDSIcon,
138128
translate: TranslateIcon,
139-
thinking: BrainIcon,
140-
telegram: TelegramIcon,
129+
dynamodb: DynamoDBIcon,
130+
wordpress: WordpressIcon,
141131
tavily: TavilyIcon,
132+
zendesk: ZendeskIcon,
133+
youtube: YouTubeIcon,
142134
supabase: SupabaseIcon,
143-
stt: STTIcon,
144-
stripe: StripeIcon,
145-
stagehand: StagehandIcon,
146-
ssh: SshIcon,
147-
sqs: SQSIcon,
148-
smtp: SmtpIcon,
149-
slack: SlackIcon,
135+
vision: EyeIcon,
136+
zoom: ZoomIcon,
137+
confluence: ConfluenceIcon,
138+
arxiv: ArxivIcon,
139+
webflow: WebflowIcon,
140+
pinecone: PineconeIcon,
141+
apollo: ApolloIcon,
142+
whatsapp: WhatsAppIcon,
143+
typeform: TypeformIcon,
144+
qdrant: QdrantIcon,
150145
shopify: ShopifyIcon,
151-
sharepoint: MicrosoftSharepointIcon,
152-
sftp: SftpIcon,
146+
asana: AsanaIcon,
147+
sqs: SQSIcon,
148+
apify: ApifyIcon,
149+
memory: BrainIcon,
150+
gitlab: GitLabIcon,
151+
polymarket: PolymarketIcon,
153152
serper: SerperIcon,
154-
sentry: SentryIcon,
155-
sendgrid: SendgridIcon,
156-
search: SearchIcon,
153+
linear: LinearIcon,
154+
exa: ExaAIIcon,
155+
telegram: TelegramIcon,
157156
salesforce: SalesforceIcon,
158-
s3: S3Icon,
159-
resend: ResendIcon,
160-
reddit: RedditIcon,
161-
rds: RDSIcon,
162-
qdrant: QdrantIcon,
157+
hubspot: HubspotIcon,
158+
hunter: HunterIOIcon,
159+
linkup: LinkupIcon,
160+
mongodb: MongoDBIcon,
161+
airtable: AirtableIcon,
162+
discord: DiscordIcon,
163+
ahrefs: AhrefsIcon,
164+
neo4j: Neo4jIcon,
165+
tts: TTSIcon,
166+
jina: JinaAIIcon,
167+
google_docs: GoogleDocsIcon,
168+
perplexity: PerplexityIcon,
169+
google_search: GoogleIcon,
170+
x: xIcon,
171+
kalshi: KalshiIcon,
172+
google_calendar: GoogleCalendarIcon,
173+
zep: ZepIcon,
163174
posthog: PosthogIcon,
164-
postgresql: PostgresIcon,
165-
polymarket: PolymarketIcon,
175+
grafana: GrafanaIcon,
176+
google_slides: GoogleSlidesIcon,
177+
microsoft_planner: MicrosoftPlannerIcon,
178+
thinking: BrainIcon,
166179
pipedrive: PipedriveIcon,
167-
pinecone: PineconeIcon,
168-
perplexity: PerplexityIcon,
169-
parallel_ai: ParallelIcon,
170-
outlook: OutlookIcon,
180+
dropbox: DropboxIcon,
181+
stagehand: StagehandIcon,
182+
google_forms: GoogleFormsIcon,
183+
file: DocumentIcon,
184+
mistral_parse: MistralIcon,
185+
gmail: GmailIcon,
171186
openai: OpenAIIcon,
187+
outlook: OutlookIcon,
188+
incidentio: IncidentioIcon,
172189
onedrive: MicrosoftOneDriveIcon,
190+
resend: ResendIcon,
191+
google_vault: GoogleVaultIcon,
192+
sharepoint: MicrosoftSharepointIcon,
193+
huggingface: HuggingFaceIcon,
194+
sendgrid: SendgridIcon,
195+
video_generator: VideoIcon,
196+
smtp: SmtpIcon,
197+
google_groups: GoogleGroupsIcon,
198+
mailgun: MailgunIcon,
199+
clay: ClayIcon,
200+
jira: JiraIcon,
201+
search: SearchIcon,
202+
linkedin: LinkedInIcon,
203+
wealthbox: WealthboxIcon,
173204
notion: NotionIcon,
174-
neo4j: Neo4jIcon,
175-
mysql: MySQLIcon,
176-
mongodb: MongoDBIcon,
177-
mistral_parse: MistralIcon,
205+
elevenlabs: ElevenLabsIcon,
178206
microsoft_teams: MicrosoftTeamsIcon,
179-
microsoft_planner: MicrosoftPlannerIcon,
180-
microsoft_excel: MicrosoftExcelIcon,
181-
memory: BrainIcon,
207+
github: GithubIcon,
208+
sftp: SftpIcon,
209+
ssh: SshIcon,
210+
google_drive: GoogleDriveIcon,
211+
sentry: SentryIcon,
212+
reddit: RedditIcon,
213+
parallel_ai: ParallelIcon,
214+
spotify: SpotifyIcon,
215+
stripe: StripeIcon,
216+
s3: S3Icon,
217+
trello: TrelloIcon,
182218
mem0: Mem0Icon,
183-
mailgun: MailgunIcon,
184-
mailchimp: MailchimpIcon,
185-
linkup: LinkupIcon,
186-
linkedin: LinkedInIcon,
187-
linear: LinearIcon,
188219
knowledge: PackageSearchIcon,
189-
kalshi: KalshiIcon,
190-
jira: JiraIcon,
191-
jina: JinaAIIcon,
192220
intercom: IntercomIcon,
193-
incidentio: IncidentioIcon,
194-
image_generator: ImageIcon,
195-
hunter: HunterIOIcon,
196-
huggingface: HuggingFaceIcon,
197-
hubspot: HubspotIcon,
198-
grafana: GrafanaIcon,
199-
google_vault: GoogleVaultIcon,
200-
google_slides: GoogleSlidesIcon,
201-
google_sheets: GoogleSheetsIcon,
202-
google_groups: GoogleGroupsIcon,
203-
google_forms: GoogleFormsIcon,
204-
google_drive: GoogleDriveIcon,
205-
google_docs: GoogleDocsIcon,
206-
google_calendar: GoogleCalendarIcon,
207-
google_search: GoogleIcon,
208-
gmail: GmailIcon,
209-
gitlab: GitLabIcon,
210-
github: GithubIcon,
211-
firecrawl: FirecrawlIcon,
212-
file: DocumentIcon,
213-
exa: ExaAIIcon,
214-
elevenlabs: ElevenLabsIcon,
215-
elasticsearch: ElasticsearchIcon,
216-
dynamodb: DynamoDBIcon,
221+
twilio_sms: TwilioIcon,
217222
duckduckgo: DuckDuckGoIcon,
218-
dropbox: DropboxIcon,
219-
discord: DiscordIcon,
223+
slack: SlackIcon,
220224
datadog: DatadogIcon,
225+
microsoft_excel: MicrosoftExcelIcon,
226+
image_generator: ImageIcon,
227+
google_sheets: GoogleSheetsIcon,
228+
wikipedia: WikipediaIcon,
221229
cursor: CursorIcon,
222-
confluence: ConfluenceIcon,
223-
clay: ClayIcon,
224-
calendly: CalendlyIcon,
230+
firecrawl: FirecrawlIcon,
231+
mysql: MySQLIcon,
225232
browser_use: BrowserUseIcon,
226-
asana: AsanaIcon,
227-
arxiv: ArxivIcon,
228-
apollo: ApolloIcon,
229-
apify: ApifyIcon,
230-
airtable: AirtableIcon,
231-
ahrefs: AhrefsIcon,
233+
stt: STTIcon,
232234
}

apps/docs/content/docs/en/tools/grafana.mdx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ Create an annotation on a dashboard or as a global annotation
324324
| `organizationId` | string | No | Organization ID for multi-org Grafana instances |
325325
| `text` | string | Yes | The text content of the annotation |
326326
| `tags` | string | No | Comma-separated list of tags |
327-
| `dashboardUid` | string | No | UID of the dashboard to add the annotation to \(optional for global annotations\) |
327+
| `dashboardUid` | string | Yes | UID of the dashboard to add the annotation to |
328328
| `panelId` | number | No | ID of the panel to add the annotation to |
329329
| `time` | number | No | Start time in epoch milliseconds \(defaults to now\) |
330330
| `timeEnd` | number | No | End time in epoch milliseconds \(for range annotations\) |
@@ -349,7 +349,7 @@ Query annotations by time range, dashboard, or tags
349349
| `organizationId` | string | No | Organization ID for multi-org Grafana instances |
350350
| `from` | number | No | Start time in epoch milliseconds |
351351
| `to` | number | No | End time in epoch milliseconds |
352-
| `dashboardUid` | string | No | Filter by dashboard UID |
352+
| `dashboardUid` | string | Yes | Dashboard UID to query annotations from |
353353
| `panelId` | number | No | Filter by panel ID |
354354
| `tags` | string | No | Comma-separated list of tags to filter by |
355355
| `type` | string | No | Filter by type \(alert or annotation\) |
@@ -490,6 +490,16 @@ Create a new folder in Grafana
490490
| `uid` | string | The UID of the created folder |
491491
| `title` | string | The title of the created folder |
492492
| `url` | string | The URL path to the folder |
493+
| `hasAcl` | boolean | Whether the folder has custom ACL permissions |
494+
| `canSave` | boolean | Whether the current user can save the folder |
495+
| `canEdit` | boolean | Whether the current user can edit the folder |
496+
| `canAdmin` | boolean | Whether the current user has admin rights on the folder |
497+
| `canDelete` | boolean | Whether the current user can delete the folder |
498+
| `createdBy` | string | Username of who created the folder |
499+
| `created` | string | Timestamp when the folder was created |
500+
| `updatedBy` | string | Username of who last updated the folder |
501+
| `updated` | string | Timestamp when the folder was last updated |
502+
| `version` | number | Version number of the folder |
493503

494504

495505

apps/docs/content/docs/en/tools/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
"shopify",
8686
"slack",
8787
"smtp",
88+
"spotify",
8889
"sqs",
8990
"ssh",
9091
"stagehand",

0 commit comments

Comments
 (0)