Skip to content

Commit 47f5ed8

Browse files
committed
removed tyoes
1 parent 6065942 commit 47f5ed8

File tree

2 files changed

+0
-66
lines changed

2 files changed

+0
-66
lines changed

apps/sim/tools/confluence/types.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,6 @@ export const URL_OUTPUT: OutputProperty = {
495495
description: 'URL to view in Confluence',
496496
}
497497

498-
// Page operations
499498
export interface ConfluenceRetrieveParams {
500499
accessToken: string
501500
pageId: string
@@ -573,7 +572,6 @@ export interface ConfluenceDeletePageResponse extends ToolResponse {
573572
}
574573
}
575574

576-
// Search operations
577575
export interface ConfluenceSearchParams {
578576
accessToken: string
579577
domain: string
@@ -595,7 +593,6 @@ export interface ConfluenceSearchResponse extends ToolResponse {
595593
}
596594
}
597595

598-
// Comment operations
599596
export interface ConfluenceCommentParams {
600597
accessToken: string
601598
domain: string
@@ -612,7 +609,6 @@ export interface ConfluenceCommentResponse extends ToolResponse {
612609
}
613610
}
614611

615-
// Attachment operations
616612
export interface ConfluenceAttachmentParams {
617613
accessToken: string
618614
domain: string
@@ -659,7 +655,6 @@ export interface ConfluenceUploadAttachmentResponse extends ToolResponse {
659655
}
660656
}
661657

662-
// Label operations
663658
export interface ConfluenceLabelParams {
664659
accessToken: string
665660
domain: string
@@ -683,7 +678,6 @@ export interface ConfluenceLabelResponse extends ToolResponse {
683678
}
684679
}
685680

686-
// Space operations
687681
export interface ConfluenceSpaceParams {
688682
accessToken: string
689683
domain: string

apps/sim/tools/jsm/types.ts

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import type { ToolResponse } from '@/tools/types'
22

3-
// ---------------------------------------------------------------------------
4-
// Shared output property constants for JSM tools (following Confluence pattern)
5-
// ---------------------------------------------------------------------------
6-
73
/** Reusable date output properties with ISO 8601, friendly, and epoch formats */
84
export const DATE_OUTPUT_PROPERTIES = {
95
iso8601: { type: 'string', description: 'ISO 8601 formatted date' },
@@ -260,10 +256,6 @@ export const ISSUE_FORM_PROPERTIES = {
260256
},
261257
} as const
262258

263-
// ---------------------------------------------------------------------------
264-
// Data model interfaces
265-
// ---------------------------------------------------------------------------
266-
267259
/** Common parameters for all JSM API calls */
268260
export interface JsmBaseParams {
269261
accessToken: string
@@ -427,10 +419,6 @@ export interface JsmRequestTypeField {
427419
jiraSchema: { type: string; system?: string; custom?: string; customId?: number }
428420
}
429421

430-
// ---------------------------------------------------------------------------
431-
// Params interfaces
432-
// ---------------------------------------------------------------------------
433-
434422
export interface JsmGetServiceDesksParams extends JsmBaseParams {
435423
expand?: string
436424
start?: number
@@ -570,10 +558,6 @@ export interface JsmGetRequestTypeFieldsParams extends JsmBaseParams {
570558
requestTypeId: string
571559
}
572560

573-
// ---------------------------------------------------------------------------
574-
// Response interfaces
575-
// ---------------------------------------------------------------------------
576-
577561
export interface JsmGetServiceDesksResponse extends ToolResponse {
578562
output: {
579563
ts: string
@@ -899,10 +883,6 @@ export interface JsmGetIssueFormsResponse extends ToolResponse {
899883
}
900884
}
901885

902-
// ---------------------------------------------------------------------------
903-
// Attach Form
904-
// ---------------------------------------------------------------------------
905-
906886
export interface JsmAttachFormParams extends JsmBaseParams {
907887
issueIdOrKey: string
908888
formTemplateId: string
@@ -922,10 +902,6 @@ export interface JsmAttachFormResponse extends ToolResponse {
922902
}
923903
}
924904

925-
// ---------------------------------------------------------------------------
926-
// Save Form Answers
927-
// ---------------------------------------------------------------------------
928-
929905
export interface JsmSaveFormAnswersParams extends JsmBaseParams {
930906
issueIdOrKey: string
931907
formId: string
@@ -942,10 +918,6 @@ export interface JsmSaveFormAnswersResponse extends ToolResponse {
942918
}
943919
}
944920

945-
// ---------------------------------------------------------------------------
946-
// Submit Form
947-
// ---------------------------------------------------------------------------
948-
949921
export interface JsmSubmitFormParams extends JsmBaseParams {
950922
issueIdOrKey: string
951923
formId: string
@@ -960,10 +932,6 @@ export interface JsmSubmitFormResponse extends ToolResponse {
960932
}
961933
}
962934

963-
// ---------------------------------------------------------------------------
964-
// Get Form (single full form)
965-
// ---------------------------------------------------------------------------
966-
967935
export interface JsmGetFormParams extends JsmBaseParams {
968936
issueIdOrKey: string
969937
formId: string
@@ -984,10 +952,6 @@ export interface JsmGetFormResponse extends ToolResponse {
984952
}
985953
}
986954

987-
// ---------------------------------------------------------------------------
988-
// Delete Form
989-
// ---------------------------------------------------------------------------
990-
991955
export interface JsmDeleteFormParams extends JsmBaseParams {
992956
issueIdOrKey: string
993957
formId: string
@@ -1002,10 +966,6 @@ export interface JsmDeleteFormResponse extends ToolResponse {
1002966
}
1003967
}
1004968

1005-
// ---------------------------------------------------------------------------
1006-
// Externalise Form
1007-
// ---------------------------------------------------------------------------
1008-
1009969
export interface JsmExternaliseFormParams extends JsmBaseParams {
1010970
issueIdOrKey: string
1011971
formId: string
@@ -1020,10 +980,6 @@ export interface JsmExternaliseFormResponse extends ToolResponse {
1020980
}
1021981
}
1022982

1023-
// ---------------------------------------------------------------------------
1024-
// Internalise Form
1025-
// ---------------------------------------------------------------------------
1026-
1027983
export interface JsmInternaliseFormParams extends JsmBaseParams {
1028984
issueIdOrKey: string
1029985
formId: string
@@ -1038,10 +994,6 @@ export interface JsmInternaliseFormResponse extends ToolResponse {
1038994
}
1039995
}
1040996

1041-
// ---------------------------------------------------------------------------
1042-
// Copy Forms
1043-
// ---------------------------------------------------------------------------
1044-
1045997
export interface JsmCopyFormsParams extends JsmBaseParams {
1046998
sourceIssueIdOrKey: string
1047999
targetIssueIdOrKey: string
@@ -1058,10 +1010,6 @@ export interface JsmCopyFormsResponse extends ToolResponse {
10581010
}
10591011
}
10601012

1061-
// ---------------------------------------------------------------------------
1062-
// Get Form Answers
1063-
// ---------------------------------------------------------------------------
1064-
10651013
export interface JsmGetFormAnswersParams extends JsmBaseParams {
10661014
issueIdOrKey: string
10671015
formId: string
@@ -1076,10 +1024,6 @@ export interface JsmGetFormAnswersResponse extends ToolResponse {
10761024
}
10771025
}
10781026

1079-
// ---------------------------------------------------------------------------
1080-
// Reopen Form
1081-
// ---------------------------------------------------------------------------
1082-
10831027
export interface JsmReopenFormParams extends JsmBaseParams {
10841028
issueIdOrKey: string
10851029
formId: string
@@ -1094,10 +1038,6 @@ export interface JsmReopenFormResponse extends ToolResponse {
10941038
}
10951039
}
10961040

1097-
// ---------------------------------------------------------------------------
1098-
// Union type for all JSM responses
1099-
// ---------------------------------------------------------------------------
1100-
11011041
/** Union type for all JSM responses */
11021042
export type JsmResponse =
11031043
| JsmGetServiceDesksResponse

0 commit comments

Comments
 (0)