@caido/sdk-frontend 0.44.2-beta.7 → 0.44.2-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -8770,9 +8770,11 @@ export type InterceptMessageMetaFragment = InterceptMessageMeta_InterceptRequest
|
|
|
8770
8770
|
export type InterceptOptionsMetaFragment = {
|
|
8771
8771
|
request: {
|
|
8772
8772
|
enabled: boolean;
|
|
8773
|
+
filter?: string | undefined | null;
|
|
8773
8774
|
};
|
|
8774
8775
|
response: {
|
|
8775
8776
|
enabled: boolean;
|
|
8777
|
+
filter?: string | undefined | null;
|
|
8776
8778
|
};
|
|
8777
8779
|
scope?: {
|
|
8778
8780
|
scopeId: string;
|
|
@@ -8780,9 +8782,11 @@ export type InterceptOptionsMetaFragment = {
|
|
|
8780
8782
|
};
|
|
8781
8783
|
export type InterceptRequestOptionsMetaFragment = {
|
|
8782
8784
|
enabled: boolean;
|
|
8785
|
+
filter?: string | undefined | null;
|
|
8783
8786
|
};
|
|
8784
8787
|
export type InterceptResponseOptionsMetaFragment = {
|
|
8785
8788
|
enabled: boolean;
|
|
8789
|
+
filter?: string | undefined | null;
|
|
8786
8790
|
};
|
|
8787
8791
|
export type InterceptScopeOptionsMetaFragment = {
|
|
8788
8792
|
scopeId: string;
|
|
@@ -8812,9 +8816,11 @@ export type SetInterceptOptionsMutation = {
|
|
|
8812
8816
|
options: {
|
|
8813
8817
|
request: {
|
|
8814
8818
|
enabled: boolean;
|
|
8819
|
+
filter?: string | undefined | null;
|
|
8815
8820
|
};
|
|
8816
8821
|
response: {
|
|
8817
8822
|
enabled: boolean;
|
|
8823
|
+
filter?: string | undefined | null;
|
|
8818
8824
|
};
|
|
8819
8825
|
scope?: {
|
|
8820
8826
|
scopeId: string;
|
|
@@ -9021,9 +9027,11 @@ export type InterceptOptionsQuery = {
|
|
|
9021
9027
|
interceptOptions: {
|
|
9022
9028
|
request: {
|
|
9023
9029
|
enabled: boolean;
|
|
9030
|
+
filter?: string | undefined | null;
|
|
9024
9031
|
};
|
|
9025
9032
|
response: {
|
|
9026
9033
|
enabled: boolean;
|
|
9034
|
+
filter?: string | undefined | null;
|
|
9027
9035
|
};
|
|
9028
9036
|
scope?: {
|
|
9029
9037
|
scopeId: string;
|
|
@@ -9135,9 +9143,11 @@ export type UpdatedInterceptOptionsSubscription = {
|
|
|
9135
9143
|
options: {
|
|
9136
9144
|
request: {
|
|
9137
9145
|
enabled: boolean;
|
|
9146
|
+
filter?: string | undefined | null;
|
|
9138
9147
|
};
|
|
9139
9148
|
response: {
|
|
9140
9149
|
enabled: boolean;
|
|
9150
|
+
filter?: string | undefined | null;
|
|
9141
9151
|
};
|
|
9142
9152
|
scope?: {
|
|
9143
9153
|
scopeId: string;
|
|
@@ -15680,8 +15690,8 @@ export declare const HostedFileFullFragmentDoc = "\n fragment hostedFileFull
|
|
|
15680
15690
|
export declare const InterceptRequestMessageMetaFragmentDoc = "\n fragment interceptRequestMessageMeta on InterceptRequestMessage {\n __typename\n id\n request {\n ...requestMeta\n }\n}\n ";
|
|
15681
15691
|
export declare const InterceptResponseMessageMetaFragmentDoc = "\n fragment interceptResponseMessageMeta on InterceptResponseMessage {\n __typename\n id\n response {\n ...responseMeta\n }\n request {\n ...requestMeta\n }\n}\n ";
|
|
15682
15692
|
export declare const InterceptMessageMetaFragmentDoc = "\n fragment interceptMessageMeta on InterceptMessage {\n __typename\n ... on InterceptRequestMessage {\n ...interceptRequestMessageMeta\n }\n ... on InterceptResponseMessage {\n ...interceptResponseMessageMeta\n }\n}\n ";
|
|
15683
|
-
export declare const InterceptRequestOptionsMetaFragmentDoc = "\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n}\n ";
|
|
15684
|
-
export declare const InterceptResponseOptionsMetaFragmentDoc = "\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n}\n ";
|
|
15693
|
+
export declare const InterceptRequestOptionsMetaFragmentDoc = "\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n filter\n}\n ";
|
|
15694
|
+
export declare const InterceptResponseOptionsMetaFragmentDoc = "\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n filter\n}\n ";
|
|
15685
15695
|
export declare const InterceptScopeOptionsMetaFragmentDoc = "\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
|
|
15686
15696
|
export declare const InterceptOptionsMetaFragmentDoc = "\n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n ";
|
|
15687
15697
|
export declare const TamperRuleFullFragmentDoc = "\n fragment tamperRuleFull on TamperRule {\n __typename\n id\n isEnabled\n isRegex\n name\n matchTerm\n replaceTerm\n strategy\n rank\n condition\n collection {\n id\n }\n}\n ";
|
|
@@ -15858,15 +15868,15 @@ export declare const UploadHostedFileDocument = "\n mutation uploadHostedFile
|
|
|
15858
15868
|
export declare const HostedFilesDocument = "\n query hostedFiles {\n hostedFiles {\n ...hostedFileFull\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n updatedAt\n createdAt\n}\n ";
|
|
15859
15869
|
export declare const ForwardInterceptMessageDocument = "\n mutation forwardInterceptMessage($id: ID!, $input: ForwardInterceptMessageInput) {\n forwardInterceptMessage(id: $id, input: $input) {\n forwardedId\n }\n}\n ";
|
|
15860
15870
|
export declare const DropInterceptMesageDocument = "\n mutation dropInterceptMesage($id: ID!) {\n dropInterceptMessage(id: $id) {\n droppedId\n }\n}\n ";
|
|
15861
|
-
export declare const SetInterceptOptionsDocument = "\n mutation setInterceptOptions($input: InterceptOptionsInput!) {\n setInterceptOptions(input: $input) {\n options {\n ...interceptOptionsMeta\n }\n }\n}\n \n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n \n\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n}\n \n\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n}\n \n\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
|
|
15871
|
+
export declare const SetInterceptOptionsDocument = "\n mutation setInterceptOptions($input: InterceptOptionsInput!) {\n setInterceptOptions(input: $input) {\n options {\n ...interceptOptionsMeta\n }\n }\n}\n \n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n \n\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n filter\n}\n \n\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n filter\n}\n \n\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
|
|
15862
15872
|
export declare const PauseInterceptDocument = "\n mutation pauseIntercept {\n pauseIntercept {\n status\n }\n}\n ";
|
|
15863
15873
|
export declare const ResumeInterceptDocument = "\n mutation resumeIntercept {\n resumeIntercept {\n status\n }\n}\n ";
|
|
15864
15874
|
export declare const InterceptRequestMessagesDocument = "\n query interceptRequestMessages($first: Int!) {\n interceptMessages(first: $first, kind: REQUEST) {\n nodes {\n ...interceptMessageMeta\n }\n }\n}\n \n fragment interceptMessageMeta on InterceptMessage {\n __typename\n ... on InterceptRequestMessage {\n ...interceptRequestMessageMeta\n }\n ... on InterceptResponseMessage {\n ...interceptResponseMessageMeta\n }\n}\n \n\n fragment interceptRequestMessageMeta on InterceptRequestMessage {\n __typename\n id\n request {\n ...requestMeta\n }\n}\n \n\n fragment requestMeta on Request {\n __typename\n id\n host\n port\n path\n query\n method\n edited\n isTls\n sni\n length\n alteration\n metadata {\n ...requestMetadataFull\n }\n fileExtension\n source\n createdAt\n response {\n ...responseMeta\n }\n}\n \n\n fragment requestMetadataFull on RequestMetadata {\n __typename\n id\n color\n}\n \n\n fragment responseMeta on Response {\n __typename\n id\n statusCode\n roundtripTime\n length\n createdAt\n alteration\n edited\n}\n \n\n fragment interceptResponseMessageMeta on InterceptResponseMessage {\n __typename\n id\n response {\n ...responseMeta\n }\n request {\n ...requestMeta\n }\n}\n ";
|
|
15865
15875
|
export declare const InterceptResponseMessagesDocument = "\n query interceptResponseMessages($first: Int!) {\n interceptMessages(first: $first, kind: RESPONSE) {\n nodes {\n ...interceptMessageMeta\n }\n }\n}\n \n fragment interceptMessageMeta on InterceptMessage {\n __typename\n ... on InterceptRequestMessage {\n ...interceptRequestMessageMeta\n }\n ... on InterceptResponseMessage {\n ...interceptResponseMessageMeta\n }\n}\n \n\n fragment interceptRequestMessageMeta on InterceptRequestMessage {\n __typename\n id\n request {\n ...requestMeta\n }\n}\n \n\n fragment requestMeta on Request {\n __typename\n id\n host\n port\n path\n query\n method\n edited\n isTls\n sni\n length\n alteration\n metadata {\n ...requestMetadataFull\n }\n fileExtension\n source\n createdAt\n response {\n ...responseMeta\n }\n}\n \n\n fragment requestMetadataFull on RequestMetadata {\n __typename\n id\n color\n}\n \n\n fragment responseMeta on Response {\n __typename\n id\n statusCode\n roundtripTime\n length\n createdAt\n alteration\n edited\n}\n \n\n fragment interceptResponseMessageMeta on InterceptResponseMessage {\n __typename\n id\n response {\n ...responseMeta\n }\n request {\n ...requestMeta\n }\n}\n ";
|
|
15866
|
-
export declare const InterceptOptionsDocument = "\n query interceptOptions {\n interceptOptions {\n ...interceptOptionsMeta\n }\n}\n \n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n \n\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n}\n \n\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n}\n \n\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
|
|
15876
|
+
export declare const InterceptOptionsDocument = "\n query interceptOptions {\n interceptOptions {\n ...interceptOptionsMeta\n }\n}\n \n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n \n\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n filter\n}\n \n\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n filter\n}\n \n\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
|
|
15867
15877
|
export declare const InterceptStatusDocument = "\n query interceptStatus {\n interceptStatus\n}\n ";
|
|
15868
15878
|
export declare const CreatedInterceptMessageDocument = "\n subscription createdInterceptMessage {\n createdInterceptMessage {\n messageEdge {\n node {\n ...interceptMessageMeta\n }\n }\n snapshot\n }\n}\n \n fragment interceptMessageMeta on InterceptMessage {\n __typename\n ... on InterceptRequestMessage {\n ...interceptRequestMessageMeta\n }\n ... on InterceptResponseMessage {\n ...interceptResponseMessageMeta\n }\n}\n \n\n fragment interceptRequestMessageMeta on InterceptRequestMessage {\n __typename\n id\n request {\n ...requestMeta\n }\n}\n \n\n fragment requestMeta on Request {\n __typename\n id\n host\n port\n path\n query\n method\n edited\n isTls\n sni\n length\n alteration\n metadata {\n ...requestMetadataFull\n }\n fileExtension\n source\n createdAt\n response {\n ...responseMeta\n }\n}\n \n\n fragment requestMetadataFull on RequestMetadata {\n __typename\n id\n color\n}\n \n\n fragment responseMeta on Response {\n __typename\n id\n statusCode\n roundtripTime\n length\n createdAt\n alteration\n edited\n}\n \n\n fragment interceptResponseMessageMeta on InterceptResponseMessage {\n __typename\n id\n response {\n ...responseMeta\n }\n request {\n ...requestMeta\n }\n}\n ";
|
|
15869
|
-
export declare const UpdatedInterceptOptionsDocument = "\n subscription updatedInterceptOptions {\n updatedInterceptOptions {\n options {\n ...interceptOptionsMeta\n }\n }\n}\n \n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n \n\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n}\n \n\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n}\n \n\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
|
|
15879
|
+
export declare const UpdatedInterceptOptionsDocument = "\n subscription updatedInterceptOptions {\n updatedInterceptOptions {\n options {\n ...interceptOptionsMeta\n }\n }\n}\n \n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n \n\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n filter\n}\n \n\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n filter\n}\n \n\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
|
|
15870
15880
|
export declare const TamperRuleCollectionsDocument = "\n query tamperRuleCollections {\n tamperRuleCollections {\n nodes {\n ...tamperRuleCollectionFull\n }\n pageInfo {\n ...pageInfoFull\n }\n snapshot\n }\n}\n \n fragment tamperRuleCollectionFull on TamperRuleCollection {\n __typename\n id\n name\n rules {\n ...tamperRuleFull\n }\n}\n \n\n fragment tamperRuleFull on TamperRule {\n __typename\n id\n isEnabled\n isRegex\n name\n matchTerm\n replaceTerm\n strategy\n rank\n condition\n collection {\n id\n }\n}\n \n\n fragment pageInfoFull on PageInfo {\n __typename\n hasPreviousPage\n hasNextPage\n startCursor\n endCursor\n}\n ";
|
|
15871
15881
|
export declare const RenameTamperRuleCollectionDocument = "\n mutation renameTamperRuleCollection($id: ID!, $name: String!) {\n renameTamperRuleCollection(id: $id, name: $name) {\n collection {\n ...tamperRuleCollectionFull\n }\n }\n}\n \n fragment tamperRuleCollectionFull on TamperRuleCollection {\n __typename\n id\n name\n rules {\n ...tamperRuleFull\n }\n}\n \n\n fragment tamperRuleFull on TamperRule {\n __typename\n id\n isEnabled\n isRegex\n name\n matchTerm\n replaceTerm\n strategy\n rank\n condition\n collection {\n id\n }\n}\n ";
|
|
15872
15882
|
export declare const CreateTamperRuleCollectionDocument = "\n mutation createTamperRuleCollection($input: CreateTamperRuleCollectionInput!) {\n createTamperRuleCollection(input: $input) {\n collection {\n ...tamperRuleCollectionFull\n }\n }\n}\n \n fragment tamperRuleCollectionFull on TamperRuleCollection {\n __typename\n id\n name\n rules {\n ...tamperRuleFull\n }\n}\n \n\n fragment tamperRuleFull on TamperRule {\n __typename\n id\n isEnabled\n isRegex\n name\n matchTerm\n replaceTerm\n strategy\n rank\n condition\n collection {\n id\n }\n}\n ";
|
package/src/types/index.d.ts
CHANGED
|
@@ -2,22 +2,22 @@ import type { Sdk as GraphqlSDK } from "./__generated__/graphql-sdk";
|
|
|
2
2
|
import type { BackendEndpoints, BackendEvents, BackendSDK } from "./backend";
|
|
3
3
|
import type { CommandPaletteSDK } from "./commandPalette";
|
|
4
4
|
import type { CommandsSDK } from "./commands";
|
|
5
|
+
import type { EnvironmentSDK } from "./environment";
|
|
6
|
+
import type { FilesSDK } from "./files";
|
|
7
|
+
import type { FiltersSDK } from "./filters";
|
|
5
8
|
import type { FindingsSDK } from "./findings";
|
|
9
|
+
import type { HTTPHistorySDK } from "./httpHistory";
|
|
10
|
+
import type { MatchReplaceSDK } from "./matchReplace";
|
|
6
11
|
import type { MenuSDK } from "./menu";
|
|
7
12
|
import type { NavigationSDK } from "./navigation";
|
|
13
|
+
import type { ReplaySDK } from "./replay";
|
|
8
14
|
import type { ScopesSDK } from "./scopes";
|
|
15
|
+
import type { SearchSDK } from "./search";
|
|
9
16
|
import type { ShortcutsSDK } from "./shortcuts";
|
|
10
17
|
import type { SidebarSDK } from "./sidebar";
|
|
11
18
|
import type { StorageSDK } from "./storage";
|
|
12
19
|
import type { UISDK } from "./ui";
|
|
13
20
|
import type { WindowSDK } from "./window";
|
|
14
|
-
import type { ReplaySDK } from "./replay";
|
|
15
|
-
import type { SearchSDK } from "./search";
|
|
16
|
-
import type { HTTPHistorySDK } from "./httpHistory";
|
|
17
|
-
import type { FilesSDK } from "./files";
|
|
18
|
-
import type { FiltersSDK } from "./filters";
|
|
19
|
-
import type { MatchReplaceSDK } from "./matchReplace";
|
|
20
|
-
import type { EnvironmentSDK } from "./environment";
|
|
21
21
|
export type { CommandContext } from "./commands";
|
|
22
22
|
export type { MenuItem } from "./menu";
|
|
23
23
|
export type { ReplayTab, ReplaySession, ReplayCollection } from "./replay";
|