@redocly/replay 0.82.2-rc.3 → 0.82.4-rc.1

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/dist/replay.d.ts CHANGED
@@ -66,92 +66,93 @@ declare type FormDataParameter = Parameter & {
66
66
  files: FileList | null;
67
67
  };
68
68
 
69
- declare const globalState: State<{
70
- request: {
71
- method: string;
72
- url: string;
73
- securityType: SecurityTypes;
74
- security: {
75
- "Basic Auth": {
76
- username: string;
77
- password: string;
78
- };
79
- JWT: {
80
- token: string;
81
- };
82
- "API key": {
83
- location: ApiKeyLocation;
84
- name: string;
85
- key: string;
86
- };
87
- "OAuth 2.0": {
88
- documentedOAuth2Types: SecurityFlows[];
89
- grantType: SecurityFlows;
90
- "Client Credentials": {
91
- clientId: string;
92
- clientSecret: string;
93
- tokenUrl: string;
94
- accessToken: string;
95
- };
96
- "Authorization Code": {
97
- clientId: string;
98
- clientSecret: string;
99
- tokenUrl: string;
100
- authorizationUrl: string;
101
- callbackUrl: string;
102
- scopes: string;
103
- codeVerifier: string;
104
- codeChallenge: string;
105
- accessToken: string;
106
- };
107
- Implicit: {
108
- clientId: string;
109
- authorizationUrl: string;
110
- callbackUrl: string;
111
- scopes: string;
112
- accessToken: string;
113
- };
114
- Password: {
115
- username: string;
116
- password: string;
117
- clientId: string;
118
- clientSecret: string;
119
- tokenUrl: string;
120
- accessToken: string;
121
- };
122
- };
123
- };
124
- body: {
125
- type: string;
126
- content: string;
127
- activeExampleName: string;
128
- formData: {
129
- [x: string]: FormDataParameter[];
130
- };
131
- binary: File | null;
132
- };
133
- queryParameters: Parameter[];
134
- headers: Parameter[];
135
- cookies: Parameter[];
136
- };
137
- isProcessingRequest: boolean;
138
- response: Response_2 | null;
139
- requestError: string | null;
140
- history: HistoryItem[];
141
- saved: SavedItem[];
142
- operation: Operation | null;
143
- operationUrl: string | undefined;
144
- isLinked: boolean;
145
- environments: Environment[];
146
- selectedEnvironmentId: string | null;
147
- corsProxyUrl: string | undefined;
148
- mockServer: MockServer | undefined;
149
- jsonBodyStateExtensions: any[];
150
- appsLoadingState: LoadingState;
151
- apps: App[];
152
- apiId: string | undefined;
153
- requestActiveTabIdx: number;
154
- oAuth2RedirectURI: string | null | undefined;
69
+ declare const globalState: State< {
70
+ request: {
71
+ method: string;
72
+ url: string;
73
+ securityType: SecurityTypes;
74
+ security: {
75
+ "Basic Auth": {
76
+ username: string;
77
+ password: string;
78
+ };
79
+ JWT: {
80
+ token: string;
81
+ };
82
+ "API key": {
83
+ location: ApiKeyLocation;
84
+ name: string;
85
+ key: string;
86
+ };
87
+ "OAuth 2.0": {
88
+ documentedOAuth2Types: SecurityFlows[];
89
+ grantType: SecurityFlows;
90
+ "Client Credentials": {
91
+ clientId: string;
92
+ clientSecret: string;
93
+ tokenUrl: string;
94
+ accessToken: string;
95
+ };
96
+ "Authorization Code": {
97
+ clientId: string;
98
+ clientSecret: string;
99
+ tokenUrl: string;
100
+ authorizationUrl: string;
101
+ callbackUrl: string;
102
+ scopes: string;
103
+ codeVerifier: string;
104
+ codeChallenge: string;
105
+ accessToken: string;
106
+ };
107
+ Implicit: {
108
+ clientId: string;
109
+ authorizationUrl: string;
110
+ callbackUrl: string;
111
+ scopes: string;
112
+ accessToken: string;
113
+ };
114
+ Password: {
115
+ username: string;
116
+ password: string;
117
+ clientId: string;
118
+ clientSecret: string;
119
+ tokenUrl: string;
120
+ accessToken: string;
121
+ };
122
+ };
123
+ };
124
+ body: {
125
+ type: string;
126
+ content: string;
127
+ activeExampleName: string;
128
+ formData: {
129
+ [x: string]: FormDataParameter[];
130
+ };
131
+ binary: File | null;
132
+ };
133
+ queryParameters: Parameter[];
134
+ headers: Parameter[];
135
+ cookies: Parameter[];
136
+ };
137
+ isProcessingRequest: boolean;
138
+ response: Response_2 | null;
139
+ requestError: string | null;
140
+ history: HistoryItem[];
141
+ saved: SavedItem[];
142
+ operation: Operation | null;
143
+ operationUrl: string | undefined;
144
+ isLinked: boolean;
145
+ environments: Environment[];
146
+ selectedEnvironmentId: string | null;
147
+ corsProxyUrl: string | undefined;
148
+ mockServer: MockServer | undefined;
149
+ jsonBodyStateExtensions: any[];
150
+ appsLoadingState: LoadingState;
151
+ apps: App[];
152
+ apiId: string | undefined;
153
+ requestActiveTabIdx: number;
154
+ oAuth2RedirectURI: string | null | undefined;
155
+ isRequestEditable: boolean;
155
156
  }, {}>;
156
157
 
157
158
  declare type HistoryItem = {