docusaurus-theme-openapi-docs 0.0.0-1085 → 0.0.0-1087
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/lib/theme/ApiExplorer/Accept/slice.d.ts +4 -1
- package/lib/theme/ApiExplorer/Authorization/slice.d.ts +144 -2
- package/lib/theme/ApiExplorer/Body/slice.d.ts +1030 -10
- package/lib/theme/ApiExplorer/ContentType/slice.d.ts +4 -1
- package/lib/theme/ApiExplorer/ParamOptions/slice.d.ts +0 -4
- package/lib/theme/ApiExplorer/ParamOptions/slice.js +4 -4
- package/lib/theme/ApiExplorer/Response/slice.d.ts +30 -6
- package/lib/theme/ApiExplorer/Server/slice.d.ts +48 -2
- package/package.json +3 -3
- package/src/theme/ApiExplorer/ParamOptions/slice.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -4,7 +4,10 @@ export interface State {
|
|
|
4
4
|
options: string[];
|
|
5
5
|
}
|
|
6
6
|
export declare const slice: import("@reduxjs/toolkit").Slice<State, {
|
|
7
|
-
setAccept: (state:
|
|
7
|
+
setAccept: (state: {
|
|
8
|
+
value: string;
|
|
9
|
+
options: string[];
|
|
10
|
+
}, action: PayloadAction<string>) => void;
|
|
8
11
|
}, "accept", "accept", import("@reduxjs/toolkit").SliceSelectors<State>>;
|
|
9
12
|
export declare const setAccept: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "accept/setAccept">;
|
|
10
13
|
declare const _default: import("redux").Reducer<State>;
|
|
@@ -24,12 +24,154 @@ export interface AuthState {
|
|
|
24
24
|
selected?: string;
|
|
25
25
|
}
|
|
26
26
|
export declare const slice: import("@reduxjs/toolkit").Slice<AuthState, {
|
|
27
|
-
setAuthData: (state:
|
|
27
|
+
setAuthData: (state: {
|
|
28
|
+
data: {
|
|
29
|
+
[x: string]: {
|
|
30
|
+
[x: string]: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
options: {
|
|
34
|
+
[x: string]: ({
|
|
35
|
+
key: string;
|
|
36
|
+
scopes: string[];
|
|
37
|
+
type: "apiKey";
|
|
38
|
+
description?: string | undefined;
|
|
39
|
+
name: string;
|
|
40
|
+
in: "query" | "header" | "cookie";
|
|
41
|
+
} | {
|
|
42
|
+
key: string;
|
|
43
|
+
scopes: string[];
|
|
44
|
+
type: "http";
|
|
45
|
+
description?: string | undefined;
|
|
46
|
+
scheme: string;
|
|
47
|
+
bearerFormat?: string | undefined;
|
|
48
|
+
name?: string | undefined;
|
|
49
|
+
in?: string | undefined;
|
|
50
|
+
} | {
|
|
51
|
+
key: string;
|
|
52
|
+
scopes: string[];
|
|
53
|
+
type: "oauth2";
|
|
54
|
+
description?: string | undefined;
|
|
55
|
+
flows: {
|
|
56
|
+
implicit?: {
|
|
57
|
+
authorizationUrl?: string | undefined;
|
|
58
|
+
tokenUrl?: string | undefined;
|
|
59
|
+
refreshUrl?: string | undefined;
|
|
60
|
+
scopes: {
|
|
61
|
+
[x: string]: string;
|
|
62
|
+
};
|
|
63
|
+
} | undefined;
|
|
64
|
+
password?: {
|
|
65
|
+
authorizationUrl?: string | undefined;
|
|
66
|
+
tokenUrl?: string | undefined;
|
|
67
|
+
refreshUrl?: string | undefined;
|
|
68
|
+
scopes: {
|
|
69
|
+
[x: string]: string;
|
|
70
|
+
};
|
|
71
|
+
} | undefined;
|
|
72
|
+
clientCredentials?: {
|
|
73
|
+
authorizationUrl?: string | undefined;
|
|
74
|
+
tokenUrl?: string | undefined;
|
|
75
|
+
refreshUrl?: string | undefined;
|
|
76
|
+
scopes: {
|
|
77
|
+
[x: string]: string;
|
|
78
|
+
};
|
|
79
|
+
} | undefined;
|
|
80
|
+
authorizationCode?: {
|
|
81
|
+
authorizationUrl?: string | undefined;
|
|
82
|
+
tokenUrl?: string | undefined;
|
|
83
|
+
refreshUrl?: string | undefined;
|
|
84
|
+
scopes: {
|
|
85
|
+
[x: string]: string;
|
|
86
|
+
};
|
|
87
|
+
} | undefined;
|
|
88
|
+
};
|
|
89
|
+
} | {
|
|
90
|
+
key: string;
|
|
91
|
+
scopes: string[];
|
|
92
|
+
type: "openIdConnect";
|
|
93
|
+
description?: string | undefined;
|
|
94
|
+
openIdConnectUrl: string;
|
|
95
|
+
})[];
|
|
96
|
+
};
|
|
97
|
+
selected?: string | undefined;
|
|
98
|
+
}, action: PayloadAction<{
|
|
28
99
|
scheme: string;
|
|
29
100
|
key: string;
|
|
30
101
|
value?: string;
|
|
31
102
|
}>) => void;
|
|
32
|
-
setSelectedAuth: (state:
|
|
103
|
+
setSelectedAuth: (state: {
|
|
104
|
+
data: {
|
|
105
|
+
[x: string]: {
|
|
106
|
+
[x: string]: string | undefined;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
options: {
|
|
110
|
+
[x: string]: ({
|
|
111
|
+
key: string;
|
|
112
|
+
scopes: string[];
|
|
113
|
+
type: "apiKey";
|
|
114
|
+
description?: string | undefined;
|
|
115
|
+
name: string;
|
|
116
|
+
in: "query" | "header" | "cookie";
|
|
117
|
+
} | {
|
|
118
|
+
key: string;
|
|
119
|
+
scopes: string[];
|
|
120
|
+
type: "http";
|
|
121
|
+
description?: string | undefined;
|
|
122
|
+
scheme: string;
|
|
123
|
+
bearerFormat?: string | undefined;
|
|
124
|
+
name?: string | undefined;
|
|
125
|
+
in?: string | undefined;
|
|
126
|
+
} | {
|
|
127
|
+
key: string;
|
|
128
|
+
scopes: string[];
|
|
129
|
+
type: "oauth2";
|
|
130
|
+
description?: string | undefined;
|
|
131
|
+
flows: {
|
|
132
|
+
implicit?: {
|
|
133
|
+
authorizationUrl?: string | undefined;
|
|
134
|
+
tokenUrl?: string | undefined;
|
|
135
|
+
refreshUrl?: string | undefined;
|
|
136
|
+
scopes: {
|
|
137
|
+
[x: string]: string;
|
|
138
|
+
};
|
|
139
|
+
} | undefined;
|
|
140
|
+
password?: {
|
|
141
|
+
authorizationUrl?: string | undefined;
|
|
142
|
+
tokenUrl?: string | undefined;
|
|
143
|
+
refreshUrl?: string | undefined;
|
|
144
|
+
scopes: {
|
|
145
|
+
[x: string]: string;
|
|
146
|
+
};
|
|
147
|
+
} | undefined;
|
|
148
|
+
clientCredentials?: {
|
|
149
|
+
authorizationUrl?: string | undefined;
|
|
150
|
+
tokenUrl?: string | undefined;
|
|
151
|
+
refreshUrl?: string | undefined;
|
|
152
|
+
scopes: {
|
|
153
|
+
[x: string]: string;
|
|
154
|
+
};
|
|
155
|
+
} | undefined;
|
|
156
|
+
authorizationCode?: {
|
|
157
|
+
authorizationUrl?: string | undefined;
|
|
158
|
+
tokenUrl?: string | undefined;
|
|
159
|
+
refreshUrl?: string | undefined;
|
|
160
|
+
scopes: {
|
|
161
|
+
[x: string]: string;
|
|
162
|
+
};
|
|
163
|
+
} | undefined;
|
|
164
|
+
};
|
|
165
|
+
} | {
|
|
166
|
+
key: string;
|
|
167
|
+
scopes: string[];
|
|
168
|
+
type: "openIdConnect";
|
|
169
|
+
description?: string | undefined;
|
|
170
|
+
openIdConnectUrl: string;
|
|
171
|
+
})[];
|
|
172
|
+
};
|
|
173
|
+
selected?: string | undefined;
|
|
174
|
+
}, action: PayloadAction<string>) => void;
|
|
33
175
|
}, "auth", "auth", import("@reduxjs/toolkit").SliceSelectors<AuthState>>;
|
|
34
176
|
export declare const setAuthData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
35
177
|
scheme: string;
|