api-client/store/state.js

50 lines
897 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: {
method: "GET",
2020-02-26 03:36:14 +00:00
uri: "",
url: "https://httpbin.org",
path: "/get",
label: "",
auth: "None",
httpUser: "",
httpPassword: "",
passwordFieldType: "password",
bearerToken: "",
2019-10-24 23:28:08 +00:00
headers: [],
params: [],
bodyParams: [],
rawParams: "",
2019-10-24 23:28:08 +00:00
rawInput: false,
requestType: "",
contentType: "",
2019-11-21 05:00:15 +00:00
},
gql: {
url: "https://rickandmortyapi.com/graphql",
2019-11-26 20:43:06 +00:00
headers: [],
schema: "",
2020-02-29 16:42:12 +00:00
variablesJSONString: '{ "id": "1" }',
2020-02-29 16:51:38 +00:00
query: `query charcter($id: ID) {
character(id: $id) {
2020-02-29 16:42:12 +00:00
id
name
}
}`,
response: "",
},
theme: {
collapsedSections: [],
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: "",
accessTokenName: "",
oidcDiscoveryUrl: "",
authUrl: "",
accessTokenUrl: "",
clientId: "",
scope: "",
2020-02-24 18:44:50 +00:00
},
})