api-client/store/state.js

39 lines
723 B
JavaScript
Raw Normal View History

2019-11-02 19:50:40 +00:00
export default () => ({
2019-10-24 23:28:08 +00:00
request: {
2019-11-28 15:11:52 +00:00
method: "GET",
2020-02-05 17:34:46 +00:00
url: "https://httpbin.org",
path: "/get",
2019-11-28 15:11:52 +00:00
label: "",
auth: "None",
httpUser: "",
httpPassword: "",
passwordFieldType: "password",
bearerToken: "",
2019-10-24 23:28:08 +00:00
headers: [],
params: [],
bodyParams: [],
2019-11-28 15:11:52 +00:00
rawParams: "",
2019-10-24 23:28:08 +00:00
rawInput: false,
2019-11-28 15:11:52 +00:00
requestType: "",
contentType: ""
2019-11-21 05:00:15 +00:00
},
gql: {
2019-11-28 15:11:52 +00:00
url: "https://rickandmortyapi.com/graphql",
2019-11-26 20:43:06 +00:00
headers: [],
variablesJSONString: "{}",
2019-11-26 20:43:06 +00:00
query: ""
2020-01-06 05:51:47 +00:00
},
oauth2: {
2020-01-06 09:17:50 +00:00
tokens: [],
2020-01-07 09:46:16 +00:00
tokenReqs: [],
tokenReqSelect: "",
tokenReqName: "",
2020-01-06 05:51:47 +00:00
accessTokenName: "",
oidcDiscoveryUrl: "",
authUrl: "",
accessTokenUrl: "",
clientId: "",
2020-01-06 06:06:50 +00:00
scope: ""
2019-10-24 23:28:08 +00:00
}
2019-11-02 19:50:40 +00:00
});