Skip to content

Commit 6ab80de

Browse files
authored
Merge pull request #17749 from Budibase/chore/rocket-chat-base-url
Remove Rocket.Chat REST template and logo
2 parents 7efc3d6 + 6459627 commit 6ab80de

File tree

3 files changed

+0
-153
lines changed

3 files changed

+0
-153
lines changed

packages/builder/assets/rest-template-icons/rocketchat.svg

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/builder/src/stores/builder/restTemplates.ts

Lines changed: 0 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ import PodiumLogo from "assets/rest-template-icons/podium.svg"
6565
import RemoteLogo from "assets/rest-template-icons/remote.svg"
6666
import ResendLogo from "assets/rest-template-icons/resend.svg"
6767
import RiveryLogo from "assets/rest-template-icons/rivery.svg"
68-
import RocketChatLogo from "assets/rest-template-icons/rocketchat.svg"
6968
import SageLogo from "assets/rest-template-icons/sage.svg"
7069
import SecodaLogo from "assets/rest-template-icons/secoda.svg"
7170
import ShipengineLogo from "assets/rest-template-icons/shipengine.svg"
@@ -549,134 +548,6 @@ const microsoftSharepointRestTemplateGroup: RestTemplateGroup<"Microsoft SharePo
549548
},
550549
],
551550
}
552-
const rocketChatRestTemplateGroup: RestTemplateGroup<"Rocket.Chat"> = {
553-
name: "Rocket.Chat",
554-
icon: RocketChatLogo,
555-
verified: true,
556-
description: "Open source team chat and omnichannel messaging platform APIs.",
557-
templates: [
558-
{
559-
name: "Rocket.Chat Authentication",
560-
description: "Login, user auth, and session management endpoints.",
561-
specs: [
562-
{
563-
version: "1.0.0",
564-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/authentication.yaml",
565-
},
566-
],
567-
},
568-
{
569-
name: "Rocket.Chat Content Management",
570-
description: "Content management and moderation endpoints.",
571-
specs: [
572-
{
573-
version: "1.0.0",
574-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/content-management.yaml",
575-
},
576-
],
577-
},
578-
{
579-
name: "Rocket.Chat Integrations",
580-
description: "Incoming and outgoing integrations and webhooks.",
581-
specs: [
582-
{
583-
version: "1.0.0",
584-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/integrations.yaml",
585-
},
586-
],
587-
},
588-
{
589-
name: "Rocket.Chat Marketplace Apps",
590-
description: "Marketplace app discovery, install, and management.",
591-
specs: [
592-
{
593-
version: "1.0.0",
594-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/marketplace-apps.yaml",
595-
},
596-
],
597-
},
598-
{
599-
name: "Rocket.Chat Messaging",
600-
description: "Messages, threads, reactions, and uploads.",
601-
specs: [
602-
{
603-
version: "1.0.0",
604-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/messaging.yaml",
605-
},
606-
],
607-
},
608-
{
609-
name: "Rocket.Chat Miscellaneous",
610-
description: "Utility and miscellaneous endpoints.",
611-
specs: [
612-
{
613-
version: "1.0.0",
614-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/miscellaneous.yaml",
615-
},
616-
],
617-
},
618-
{
619-
name: "Rocket.Chat Notifications",
620-
description: "Push, email, and notification endpoints.",
621-
specs: [
622-
{
623-
version: "1.0.0",
624-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/notifications.yaml",
625-
},
626-
],
627-
},
628-
{
629-
name: "Rocket.Chat Omnichannel",
630-
description: "Livechat, visitor, and omnichannel routing endpoints.",
631-
specs: [
632-
{
633-
version: "1.0.0",
634-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/omnichannel.yaml",
635-
},
636-
],
637-
},
638-
{
639-
name: "Rocket.Chat Rooms",
640-
description: "Rooms, channels, and groups management endpoints.",
641-
specs: [
642-
{
643-
version: "1.0.0",
644-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/rooms.yaml",
645-
},
646-
],
647-
},
648-
{
649-
name: "Rocket.Chat Settings",
650-
description: "Server settings and configuration endpoints.",
651-
specs: [
652-
{
653-
version: "1.0.0",
654-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/settings.yaml",
655-
},
656-
],
657-
},
658-
{
659-
name: "Rocket.Chat Statistics",
660-
description: "Analytics and usage reporting endpoints.",
661-
specs: [
662-
{
663-
version: "1.0.0",
664-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/statistics.yaml",
665-
},
666-
],
667-
},
668-
{
669-
name: "Rocket.Chat User Management",
670-
description: "User, role, and permission management endpoints.",
671-
specs: [
672-
{
673-
version: "1.0.0",
674-
url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/user-management.yaml",
675-
},
676-
],
677-
},
678-
],
679-
}
680551

681552
const INITIAL_REST_TEMPLATES_STATE: RestTemplatesState = {
682553
templates: [
@@ -1603,7 +1474,6 @@ const INITIAL_REST_TEMPLATES_STATE: RestTemplatesState = {
16031474
],
16041475
templateGroups: [
16051476
microsoftSharepointRestTemplateGroup,
1606-
rocketChatRestTemplateGroup,
16071477
twilioRestTemplateGroup,
16081478
zendeskRestTemplateGroup,
16091479
],

packages/types/src/ui/rest.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,16 @@ export type RestTemplateName =
8787
| MicrosoftSharepointRestTemplateName
8888
| TwilioRestTemplateName
8989
| ZendeskRestTemplateName
90-
| RocketChatRestTemplateName
9190

9291
export type RestTemplateGroupName =
9392
| "Microsoft SharePoint"
94-
| "Rocket.Chat"
9593
| "Twilio"
9694
| "Zendesk"
9795

9896
export type RestTemplateGroups = {
9997
"Microsoft SharePoint": MicrosoftSharepointRestTemplateName
10098
Twilio: TwilioRestTemplateName
10199
Zendesk: ZendeskRestTemplateName
102-
"Rocket.Chat": RocketChatRestTemplateName
103100
}
104101

105102
export type TwilioRestTemplateName =
@@ -149,20 +146,6 @@ export type MicrosoftSharepointRestTemplateName =
149146
| "SharePoint Shares"
150147
| "SharePoint Sites"
151148

152-
export type RocketChatRestTemplateName =
153-
| "Rocket.Chat Authentication"
154-
| "Rocket.Chat Content Management"
155-
| "Rocket.Chat Integrations"
156-
| "Rocket.Chat Marketplace Apps"
157-
| "Rocket.Chat Messaging"
158-
| "Rocket.Chat Miscellaneous"
159-
| "Rocket.Chat Notifications"
160-
| "Rocket.Chat Omnichannel"
161-
| "Rocket.Chat Rooms"
162-
| "Rocket.Chat Settings"
163-
| "Rocket.Chat Statistics"
164-
| "Rocket.Chat User Management"
165-
166149
export interface RestTemplate {
167150
name: RestTemplateName
168151
description: string

0 commit comments

Comments
 (0)